去除多余的搜索建议和低质量搜索结果,2024/1/23 21:51:58
// ==UserScript== // @name 必应净化 // @namespace [email protected] // @match https://www.bing.com/search* // @match https://www*.bing.com/search* // @match https://cn.bing.com/search?* // @run-at document-start // @version 2.0.0 // @author 魂祈梦 // @description 去除多余的搜索建议和低质量搜索结果,2024/1/23 21:51:58 // @icon https://s11.ax1x.com/2024/01/24/pFetIiR.png // @grant GM_registerMenuCommand // @grant GM_addStyle // @grant GM_getValue // @grant GM_setValue // @noframes // @license GPL-3.0-or-later // ==/UserScript== (function() { 'use strict'; // 添加全局样式 GM_addStyle(String.raw`@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--un-bg-opacity:100%;--un-text-opacity:100%;--un-border-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-opacity:100%;--un-ring-opacity:100%;--un-ease:initial}::backdrop{--un-bg-opacity:100%;--un-text-opacity:100%;--un-border-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-opacity:100%;--un-ring-opacity:100%;--un-ease:initial}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-ring-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-inset-ring-color{syntax:"*";inherits:false}@property --un-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow-color{syntax:"*";inherits:false}@property --un-ring-color{syntax:"*";inherits:false}@property --un-ring-inset{syntax:"*";inherits:false}@property --un-ring-offset-color{syntax:"*";inherits:false}@property --un-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --un-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow-color{syntax:"*";inherits:false}@property --un-ease{syntax:"*";inherits:false}@property --un-backdrop-blur{syntax:"*";inherits:false}@property --un-backdrop-brightness{syntax:"*";inherits:false}@property --un-backdrop-contrast{syntax:"*";inherits:false}@property --un-backdrop-grayscale{syntax:"*";inherits:false}@property --un-backdrop-hue-rotate{syntax:"*";inherits:false}@property --un-backdrop-invert{syntax:"*";inherits:false}@property --un-backdrop-opacity{syntax:"*";inherits:false}@property --un-backdrop-saturate{syntax:"*";inherits:false}@property --un-backdrop-sepia{syntax:"*";inherits:false}@property --un-divide-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-style{syntax:"*";inherits:false;initial-value:solid}@property --un-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}:root,:host{--font-sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono);--spacing:.25rem;--radius-DEFAULT:.25rem;--default-transition-timingFunction:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--fontWeight-medium:500;--radius-md:.375rem;--colors-gray-500:#6a7282;--colors-white:#fff;--colors-gray-200:#e5e7eb;--colors-gray-800:#1e2939;--colors-blue-100:#dbeafe;--colors-blue-700:#1447e6;--colors-red-100:#ffe2e2;--colors-red-700:#bf000f;--colors-blue-200:#bedbff;--colors-blue-50:#eff6ff;--colors-blue-800:#193cb8;--colors-gray-300:#d1d5dc;--colors-gray-700:#364153;--colors-blue-500:#3080ff;--colors-green-200:#b9f8cf;--colors-green-50:#f0fdf4;--colors-green-800:#016630;--colors-green-500:#00c758;--text-xs-fontSize:.75rem;--text-xs-lineHeight:1rem;--text-lg-fontSize:1.125rem;--text-lg-lineHeight:1.75rem;--text-sm-fontSize:.875rem;--text-sm-lineHeight:1.25rem;--colors-gray-600:#4a5565;--colors-gray-50:#f9fafb;--colors-red-200:#ffcaca;--colors-blue-600:#155dfc;--colors-green-600:#00a544;--colors-black:#000;--container-md:28rem;--radius-lg:.5rem;--fontWeight-bold:700;--ease-in-out:cubic-bezier(.4,0,.2,1);--colors-gray-400:#99a1af;--colors-red-500:#fb2c36}@supports (color:color(display-p3 0 0 0)){:root,:host{--colors-gray-500:color(display-p3 .421287 .446085 .504784);--colors-gray-200:color(display-p3 .899787 .906171 .92106);--colors-gray-800:color(display-p3 .125854 .159497 .216835);--colors-blue-100:color(display-p3 .869214 .915931 .989622);--colors-blue-700:color(display-p3 .1379 .274983 .867624);--colors-red-100:color(display-p3 .980386 .889727 .887779);--colors-red-700:color(display-p3 .692737 .116232 .104679);--colors-blue-200:color(display-p3 .76688 .855207 .987483);--colors-blue-50:color(display-p3 .941826 .963151 .995385);--colors-blue-800:color(display-p3 .134023 .230647 .695537);--colors-gray-300:color(display-p3 .822033 .835264 .858521);--colors-gray-700:color(display-p3 .219968 .253721 .318679);--colors-blue-500:color(display-p3 .266422 .491219 .988624);--colors-green-200:color(display-p3 .776442 .964383 .823412);--colors-green-50:color(display-p3 .950677 .990571 .959366);--colors-green-800:color(display-p3 .168568 .395123 .211217);--colors-green-500:color(display-p3 .308734 .774754 .374307);--colors-gray-600:color(display-p3 .297358 .332176 .39043);--colors-gray-50:color(display-p3 .977213 .98084 .985102);--colors-red-200:color(display-p3 .969562 .798149 .794299);--colors-blue-600:color(display-p3 .174493 .358974 .950247);--colors-green-600:color(display-p3 .243882 .640824 .294808);--colors-gray-400:color(display-p3 .605734 .630385 .680158);--colors-red-500:color(display-p3 .903738 .262579 .253307)}}@supports (color:lab(0% 0 0)){:root,:host{--colors-gray-500:lab(47.7841% -.393212 -10.0268);--colors-gray-200:lab(91.6229% -.159085 -2.26791);--colors-gray-800:lab(16.1051% -1.18239 -11.7533);--colors-blue-100:lab(92.0301% -2.24757 -11.6453);--colors-blue-700:lab(36.9089% 35.0961 -85.6872);--colors-red-100:lab(92.243% 10.2865 3.83865);--colors-red-700:lab(40.4273% 67.2623 53.7441);--colors-blue-200:lab(86.15% -4.04379 -21.0797);--colors-blue-50:lab(96.492% -1.14647 -5.11479);--colors-blue-800:lab(30.2514% 27.7854 -70.2699);--colors-gray-300:lab(85.1236% -.612259 -3.7138);--colors-gray-700:lab(27.1134% -.956401 -12.3224);--colors-blue-500:lab(54.1736% 13.3368 -74.6839);--colors-green-200:lab(92.4222% -26.4702 12.9427);--colors-green-50:lab(98.1563% -5.60117 2.75913);--colors-green-800:lab(37.4616% -36.7971 22.9692);--colors-green-500:lab(70.5521% -66.5147 45.8072);--colors-gray-600:lab(35.6337% -1.58697 -10.8425);--colors-gray-50:lab(98.2596% -.247031 -.706708);--colors-red-200:lab(86.017% 19.8815 7.75869);--colors-blue-600:lab(44.0605% 29.0279 -86.0352);--colors-green-600:lab(59.0978% -58.6621 41.2579);--colors-gray-400:lab(65.9269% -.832707 -8.17474);--colors-red-500:lab(55.4814% 75.0732 48.8528)}}*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-monoFont-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-monoFont-featureSettings,normal);font-variation-settings:var(--default-monoFont-variationSettings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::-webkit-file-upload-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:-moz-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:-moz-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;-moz-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.text-lg{font-size:var(--text-lg-fontSize);line-height:var(--un-leading,var(--text-lg-lineHeight))}.text-sm{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.text-blue-700{color:color-mix(in srgb,var(--colors-blue-700)var(--un-text-opacity),transparent)}.text-blue-800{color:color-mix(in srgb,var(--colors-blue-800)var(--un-text-opacity),transparent)}.text-gray-400{color:color-mix(in srgb,var(--colors-gray-400)var(--un-text-opacity),transparent)}.text-gray-500{color:color-mix(in srgb,var(--colors-gray-500)var(--un-text-opacity),transparent)}.text-gray-700{color:color-mix(in srgb,var(--colors-gray-700)var(--un-text-opacity),transparent)}.text-gray-800{color:color-mix(in srgb,var(--colors-gray-800)var(--un-text-opacity),transparent)}.text-green-800{color:color-mix(in srgb,var(--colors-green-800)var(--un-text-opacity),transparent)}.text-red-700{color:color-mix(in srgb,var(--colors-red-700)var(--un-text-opacity),transparent)}.text-white{color:color-mix(in srgb,var(--colors-white)var(--un-text-opacity),transparent)}.hover\:text-gray-600:hover{color:color-mix(in srgb,var(--colors-gray-600)var(--un-text-opacity),transparent)}.font-bold{--un-font-weight:var(--fontWeight-bold);font-weight:var(--fontWeight-bold)}.font-medium{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2px{margin-left:2px}.mr-10px{margin-right:10px}.mr-4px{margin-right:4px}.mt-2{margin-top:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2px{padding-block-start:2px;padding-block-end:2px}.text-center{text-align:center}.align-middle{vertical-align:middle}.focus\:outline-none:focus{--un-outline-style:none;outline-style:none}.border{border-width:1px}.border-b-2{border-bottom-width:2px}.border-black\/25{border-color:color-mix(in srgb,var(--colors-black)25%,transparent)}.border-blue-200{border-color:color-mix(in srgb,var(--colors-blue-200)var(--un-border-opacity),transparent)}.border-gray-200{border-color:color-mix(in srgb,var(--colors-gray-200)var(--un-border-opacity),transparent)}.border-gray-300{border-color:color-mix(in srgb,var(--colors-gray-300)var(--un-border-opacity),transparent)}.border-green-200{border-color:color-mix(in srgb,var(--colors-green-200)var(--un-border-opacity),transparent)}.rounded{border-radius:var(--radius-DEFAULT)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.bg-black\/50{background-color:color-mix(in srgb,var(--colors-black)50%,transparent)}.bg-blue-100{background-color:color-mix(in srgb,var(--colors-blue-100)var(--un-bg-opacity),transparent)}.bg-blue-50{background-color:color-mix(in srgb,var(--colors-blue-50)var(--un-bg-opacity),transparent)}.bg-blue-500{background-color:color-mix(in srgb,var(--colors-blue-500)var(--un-bg-opacity),transparent)}.bg-gray-200{background-color:color-mix(in srgb,var(--colors-gray-200)var(--un-bg-opacity),transparent)}.bg-gray-500{background-color:color-mix(in srgb,var(--colors-gray-500)var(--un-bg-opacity),transparent)}.bg-green-50{background-color:color-mix(in srgb,var(--colors-green-50)var(--un-bg-opacity),transparent)}.bg-green-500{background-color:color-mix(in srgb,var(--colors-green-500)var(--un-bg-opacity),transparent)}.bg-red-100{background-color:color-mix(in srgb,var(--colors-red-100)var(--un-bg-opacity),transparent)}.bg-red-500{background-color:color-mix(in srgb,var(--colors-red-500)var(--un-bg-opacity),transparent)}.bg-white{background-color:color-mix(in srgb,var(--colors-white)var(--un-bg-opacity),transparent)}.hover\:bg-blue-200:hover{background-color:color-mix(in srgb,var(--colors-blue-200)var(--un-bg-opacity),transparent)}.hover\:bg-blue-600:hover{background-color:color-mix(in srgb,var(--colors-blue-600)var(--un-bg-opacity),transparent)}.hover\:bg-gray-300:hover{background-color:color-mix(in srgb,var(--colors-gray-300)var(--un-bg-opacity),transparent)}.hover\:bg-gray-50:hover{background-color:color-mix(in srgb,var(--colors-gray-50)var(--un-bg-opacity),transparent)}.hover\:bg-gray-600:hover{background-color:color-mix(in srgb,var(--colors-gray-600)var(--un-bg-opacity),transparent)}.hover\:bg-green-600:hover{background-color:color-mix(in srgb,var(--colors-green-600)var(--un-bg-opacity),transparent)}.hover\:bg-red-200:hover{background-color:color-mix(in srgb,var(--colors-red-200)var(--un-bg-opacity),transparent)}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.h-40px{height:40px}.h-5{height:calc(var(--spacing)*5)}.max-h-60{max-height:calc(var(--spacing)*60)}.max-w-md{max-width:var(--container-md)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.inline-block{display:inline-block}.focus\:ring-2:focus{--un-ring-shadow:var(--un-ring-inset,)0 0 0 calc(2px + var(--un-ring-offset-width))var(--un-ring-color,currentColor);box-shadow:var(--un-inset-shadow),var(--un-inset-ring-shadow),var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-blue-500:focus{--un-ring-color:color-mix(in srgb,var(--colors-blue-500)var(--un-ring-opacity),transparent)}.shadow-lg{--un-shadow:0 10px 15px -3px var(--un-shadow-color,#0000001a),0 4px 6px -4px var(--un-shadow-color,#0000001a);box-shadow:var(--un-inset-shadow),var(--un-inset-ring-shadow),var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:0 20px 25px -5px var(--un-shadow-color,#0000001a),0 8px 10px -6px var(--un-shadow-color,#0000001a);box-shadow:var(--un-inset-shadow),var(--un-inset-ring-shadow),var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.transform{transform:var(--un-rotate-x)var(--un-rotate-y)var(--un-rotate-z)var(--un-skew-x)var(--un-skew-y)}.transition-all{transition-property:all;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration))}.duration-300{--un-duration:.3s;transition-duration:.3s}.ease-in-out{--un-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.items-center{align-items:center}.inset-0{inset:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.top-4{top:calc(var(--spacing)*4)}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.z-10{z-index:10}.z-50{z-index:50}.overflow-y-auto{overflow-y:auto}.backdrop-blur-sm{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur,)var(--un-backdrop-brightness,)var(--un-backdrop-contrast,)var(--un-backdrop-grayscale,)var(--un-backdrop-hue-rotate,)var(--un-backdrop-invert,)var(--un-backdrop-opacity,)var(--un-backdrop-saturate,)var(--un-backdrop-sepia,);backdrop-filter:var(--un-backdrop-blur,)var(--un-backdrop-brightness,)var(--un-backdrop-contrast,)var(--un-backdrop-grayscale,)var(--un-backdrop-hue-rotate,)var(--un-backdrop-invert,)var(--un-backdrop-opacity,)var(--un-backdrop-saturate,)var(--un-backdrop-sepia,)}.divide-gray-200>:not(:last-child){border-color:color-mix(in srgb,var(--colors-gray-200)var(--un-divide-opacity),transparent)}.divide-y>:not(:last-child){--un-divide-y-reverse:0;border-top-width:calc(1px*var(--un-divide-y-reverse));border-top-style:var(--un-border-style);border-bottom-width:calc(1px*calc(1 - var(--un-divide-y-reverse)));border-bottom-style:var(--un-border-style)}@supports (color:color-mix(in lab, red, red)){.text-blue-700{color:color-mix(in oklab,var(--colors-blue-700)var(--un-text-opacity),transparent)}.text-blue-800{color:color-mix(in oklab,var(--colors-blue-800)var(--un-text-opacity),transparent)}.text-gray-400{color:color-mix(in oklab,var(--colors-gray-400)var(--un-text-opacity),transparent)}.text-gray-500{color:color-mix(in oklab,var(--colors-gray-500)var(--un-text-opacity),transparent)}.text-gray-700{color:color-mix(in oklab,var(--colors-gray-700)var(--un-text-opacity),transparent)}.text-gray-800{color:color-mix(in oklab,var(--colors-gray-800)var(--un-text-opacity),transparent)}.text-green-800{color:color-mix(in oklab,var(--colors-green-800)var(--un-text-opacity),transparent)}.text-red-700{color:color-mix(in oklab,var(--colors-red-700)var(--un-text-opacity),transparent)}.text-white{color:color-mix(in oklab,var(--colors-white)var(--un-text-opacity),transparent)}.hover\:text-gray-600:hover{color:color-mix(in oklab,var(--colors-gray-600)var(--un-text-opacity),transparent)}.border-black\/25{border-color:color-mix(in oklab,var(--colors-black)25%,transparent)}.border-blue-200{border-color:color-mix(in oklab,var(--colors-blue-200)var(--un-border-opacity),transparent)}.border-gray-200{border-color:color-mix(in oklab,var(--colors-gray-200)var(--un-border-opacity),transparent)}.border-gray-300{border-color:color-mix(in oklab,var(--colors-gray-300)var(--un-border-opacity),transparent)}.border-green-200{border-color:color-mix(in oklab,var(--colors-green-200)var(--un-border-opacity),transparent)}.bg-black\/50{background-color:color-mix(in oklab,var(--colors-black)50%,transparent)}.bg-blue-100{background-color:color-mix(in oklab,var(--colors-blue-100)var(--un-bg-opacity),transparent)}.bg-blue-50{background-color:color-mix(in oklab,var(--colors-blue-50)var(--un-bg-opacity),transparent)}.bg-blue-500{background-color:color-mix(in oklab,var(--colors-blue-500)var(--un-bg-opacity),transparent)}.bg-gray-200{background-color:color-mix(in oklab,var(--colors-gray-200)var(--un-bg-opacity),transparent)}.bg-gray-500{background-color:color-mix(in oklab,var(--colors-gray-500)var(--un-bg-opacity),transparent)}.bg-green-50{background-color:color-mix(in oklab,var(--colors-green-50)var(--un-bg-opacity),transparent)}.bg-green-500{background-color:color-mix(in oklab,var(--colors-green-500)var(--un-bg-opacity),transparent)}.bg-red-100{background-color:color-mix(in oklab,var(--colors-red-100)var(--un-bg-opacity),transparent)}.bg-red-500{background-color:color-mix(in oklab,var(--colors-red-500)var(--un-bg-opacity),transparent)}.bg-white{background-color:color-mix(in oklab,var(--colors-white)var(--un-bg-opacity),transparent)}.hover\:bg-blue-200:hover{background-color:color-mix(in oklab,var(--colors-blue-200)var(--un-bg-opacity),transparent)}.hover\:bg-blue-600:hover{background-color:color-mix(in oklab,var(--colors-blue-600)var(--un-bg-opacity),transparent)}.hover\:bg-gray-300:hover{background-color:color-mix(in oklab,var(--colors-gray-300)var(--un-bg-opacity),transparent)}.hover\:bg-gray-50:hover{background-color:color-mix(in oklab,var(--colors-gray-50)var(--un-bg-opacity),transparent)}.hover\:bg-gray-600:hover{background-color:color-mix(in oklab,var(--colors-gray-600)var(--un-bg-opacity),transparent)}.hover\:bg-green-600:hover{background-color:color-mix(in oklab,var(--colors-green-600)var(--un-bg-opacity),transparent)}.hover\:bg-red-200:hover{background-color:color-mix(in oklab,var(--colors-red-200)var(--un-bg-opacity),transparent)}.focus\:ring-blue-500:focus{--un-ring-color:color-mix(in oklab,var(--colors-blue-500)var(--un-ring-opacity),transparent)}}li.b_ans.b_vidAns,.b_inline_ajax_rs,li.b_pag:not(:last-child){display:none}div.b_tpcn{justify-content:space-between}.tilk{min-width:0}aside{display:none} `); "use strict";(self.webpackChunkbing_purifier=self.webpackChunkbing_purifier||[]).push([["568"],{676:function(){},266:function(e,t,n){let r;n.d(t,{$W:()=>m,F3:()=>w,GW:()=>b,LM:()=>P,Py:()=>y,Zw:()=>S,di:()=>q,ei:()=>x,gQ:()=>v,nf:()=>A,so:()=>g,vH:()=>l});let l={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}};function o(e){let t=String(e),n=t.length-1;return l.context.id+(n?String.fromCharCode(96+n):"")+t}Symbol("solid-proxy"),Symbol("solid-track"),Symbol("solid-dev-component");let s={equals:(e,t)=>e===t},u=V,i={owned:null,cleanups:null,context:null,owner:null};var f=null;let a=null,c=null,d=null,h=null,p=0;function g(e,t){let n=c,r=f,l=0===e.length,o=void 0===t?r:t,s=l?i:{owned:null,cleanups:null,context:o?o.context:null,owner:o},u=l?e:()=>e(()=>S(()=>B(s)));f=s,c=null;try{return H(u,!0)}finally{c=n,f=r}}function v(e,t){let n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},s,t):s).equals||void 0};return[C.bind(n),e=>("function"==typeof e&&(e=e(a&&a.running&&a.sources.has(n)?n.tValue:n.value)),O(n,e))]}function w(e,t,n){N(T(e,t,!1,1))}function b(e,t,n){var l;let o;u=_;let s=T(e,t,!1,1),i=r&&(l=r,f&&f.context&&void 0!==(o=f.context[l.id])?o:l.defaultValue);i&&(s.suspense=i),n&&n.render||(s.user=!0),h?h.push(s):N(s)}function y(e,t,n){n=n?Object.assign({},s,n):s;let r=T(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,N(r),C.bind(r)}function S(e){if(null===c)return e();let t=c;c=null;try{return e()}finally{c=t}}function m(e){return null===f||(null===f.cleanups?f.cleanups=[e]:f.cleanups.push(e)),e}function x(){return f}function A(e,t){let n=f,r=c;f=e,c=null;try{return H(t,!0)}catch(e){M(e)}finally{f=n,c=r}}let[,$]=v(!1);function C(){let e=a&&a.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===1)N(this);else{let e=d;d=null,H(()=>j(this),!1),d=e}if(c){let e=this.observers?this.observers.length:0;c.sources?(c.sources.push(this),c.sourceSlots.push(e)):(c.sources=[this],c.sourceSlots=[e]),this.observers?(this.observers.push(c),this.observerSlots.push(c.sources.length-1)):(this.observers=[c],this.observerSlots=[c.sources.length-1])}return e&&a.sources.has(this)?this.tValue:this.value}function O(e,t,n){let r=a&&a.running&&a.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(a){let r=a.running;(r||!n&&a.sources.has(e))&&(a.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&H(()=>{for(let t=0;t<e.observers.length;t+=1){let n=e.observers[t],r=a&&a.running;r&&a.disposed.has(n)||((r?n.tState:n.state)||(n.pure?d.push(n):h.push(n),n.observers&&function e(t){let n=a&&a.running;for(let r=0;r<t.observers.length;r+=1){let l=t.observers[r];(n?l.tState:l.state)||(n?l.tState=2:l.state=2,l.pure?d.push(l):h.push(l),l.observers&&e(l))}}(n)),r?n.tState=1:n.state=1)}if(d.length>1e6)throw d=[],Error()},!1)}return t}function N(e){if(!e.fn)return;B(e);let t=p;E(e,a&&a.running&&a.sources.has(e)?e.tValue:e.value,t),a&&!a.running&&a.sources.has(e)&&queueMicrotask(()=>{H(()=>{a&&(a.running=!0),c=f=e,E(e,e.tValue,t),c=f=null},!1)})}function E(e,t,n){let r,l=f,o=c;c=f=e;try{r=e.fn(t)}catch(t){return e.pure&&(a&&a.running?(e.tState=1,e.tOwned&&e.tOwned.forEach(B),e.tOwned=void 0):(e.state=1,e.owned&&e.owned.forEach(B),e.owned=null)),e.updatedAt=n+1,M(t)}finally{c=o,f=l}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?O(e,r,!0):a&&a.running&&e.pure?(a.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function T(e,t,n,r=1,l){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:f,context:f?f.context:null,pure:n};return a&&a.running&&(o.state=0,o.tState=r),null===f||f!==i&&(a&&a.running&&f.pure?f.tOwned?f.tOwned.push(o):f.tOwned=[o]:f.owned?f.owned.push(o):f.owned=[o]),o}function k(e){let t=a&&a.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===2)return j(e);if(e.suspense&&S(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<p);){if(t&&a.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,l=n[r+1];for(;(t=t.owner)&&t!==l;)if(a.disposed.has(t))return}if((t?e.tState:e.state)===1)N(e);else if((t?e.tState:e.state)===2){let t=d;d=null,H(()=>j(e,n[0]),!1),d=t}}}function H(e,t){if(d)return e();let n=!1;t||(d=[]),h?n=!0:h=[],p++;try{let t=e();return function(e){let t;if(d&&(V(d),d=null),e)return;if(a)if(a.promises.size||a.queue.size){if(a.running){a.running=!1,a.effects.push.apply(a.effects,h),h=null,$(!0);return}}else{let e=a.sources,n=a.disposed;for(let e of(h.push.apply(h,a.effects),t=a.resolve,h))"tState"in e&&(e.state=e.tState),delete e.tState;a=null,H(()=>{for(let e of n)B(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)B(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}$(!1)},!1)}let n=h;h=null,n.length&&H(()=>u(n),!1),t&&t()}(n),t}catch(e){n||(h=null),d=null,M(e)}}function V(e){for(let t=0;t<e.length;t++)k(e[t])}function _(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:k(r)}if(l.context){if(l.count){l.effects||(l.effects=[]),l.effects.push(...e.slice(0,n));return}l.context=void 0}for(l.effects&&(l.done||!l.count)&&(e=[...l.effects,...e],n+=l.effects.length,delete l.effects),t=0;t<n;t++)k(e[t])}function j(e,t){let n=a&&a.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){let l=e.sources[r];if(l.sources){let e=n?l.tState:l.state;1===e?l!==t&&(!l.updatedAt||l.updatedAt<p)&&k(l):2===e&&j(l,t)}}}function B(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){let e=r.pop(),l=t.observerSlots.pop();n<r.length&&(e.sourceSlots[l]=n,r[n]=e,t.observerSlots[n]=l)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)B(e.tOwned[t]);delete e.tOwned}if(a&&a.running&&e.pure)!function e(t,n){if(n||(t.tState=0,a.disposed.add(t)),t.owned)for(let n=0;n<t.owned.length;n++)e(t.owned[n])}(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)B(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}a&&a.running?e.tState=0:e.state=0}function L(e,t,n){try{for(let n of t)n(e)}catch(e){M(e,n&&n.owner||null)}}function M(e,t=f){let n=e instanceof Error?e:Error("string"==typeof e?e:"Unknown error",{cause:e});!0;throw n}function P(e,t){return S(()=>e(t||{}))}function q(e){let t=e.keyed,n=y(()=>e.when,void 0,void 0),r=t?n:y(n,void 0,{equals:(e,t)=>!e==!t});return y(()=>{let l=r();if(l){let o=e.children;return"function"==typeof o&&o.length>0?S(()=>o(t?l:()=>{if(!S(r))throw"Stale read from <Show>.";return n()})):o}return e.fallback},void 0,void 0)}Symbol("fallback")},206:function(e,t,n){n.d(t,{$T:()=>c,Oo:()=>a,Qj:()=>i,X$:()=>l,XK:()=>u,h_:()=>w,ok:()=>f,sY:()=>s});var r=n(266);Object.create(null),Object.create(null);let l=e=>(0,r.Py)(()=>e()),o="_$DX_DELEGATE";function s(e,t,n,l={}){let o;return(0,r.so)(r=>{o=r,t===document?e():c(t,e(),t.firstChild?null:void 0,n)},l.owner),()=>{o(),t.textContent=""}}function u(e,t,n,l){let o,s=()=>{let t=l?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return t.innerHTML=e,n?t.content.firstChild.firstChild:l?t.firstChild:t.content.firstChild},u=t?()=>(0,r.Zw)(()=>document.importNode(o||(o=s()),!0)):()=>(o||(o=s())).cloneNode(!0);return u.cloneNode=u,u}function i(e,t=window.document){let n=t[o]||(t[o]=new Set);for(let r=0,l=e.length;r<l;r++){let l=e[r];n.has(l)||(n.add(l),t.addEventListener(l,h))}}function f(e,t){d(e)||(null==t?e.removeAttribute("class"):e.className=t)}function a(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}function c(e,t,n,l){if(void 0===n||l||(l=[]),"function"!=typeof t)return p(e,t,l,n);(0,r.F3)(r=>p(e,t(),r,n),l)}function d(e){return!!r.vH.context&&!r.vH.done&&(!e||e.isConnected)}function h(e){if(r.vH.registry&&r.vH.events&&r.vH.events.find(([t,n])=>n===e))return;let t=e.target,n=`$$${e.type}`,l=e.target,o=e.currentTarget,s=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),u=()=>{let r=t[n];if(r&&!t.disabled){let l=t[`${n}Data`];if(void 0!==l?r.call(t,l,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&s(t.host),!0},i=()=>{for(;u()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),r.vH.registry&&!r.vH.done&&(r.vH.done=_$HY.done=!0),e.composedPath){let n=e.composedPath();s(n[0]);for(let e=0;e<n.length-2&&(t=n[e],u());e++){if(t._$host){t=t._$host,i();break}if(t.parentNode===o)break}}else i();s(l)}function p(e,t,n,l,o){let s=d(e);if(s){n||(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){let r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;let u=typeof t,i=void 0!==l;if(e=i&&n[0]&&n[0].parentNode||e,"string"===u||"number"===u){if(s||"number"===u&&(t=t.toString())===n)return n;if(i){let r=n[0];r&&3===r.nodeType?r.data!==t&&(r.data=t):r=document.createTextNode(t),n=v(e,n,l,r)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===u){if(s)return n;n=v(e,n,l)}else if("function"===u)return(0,r.F3)(()=>{let r=t();for(;"function"==typeof r;)r=r();n=p(e,r,n,l)}),()=>n;else if(Array.isArray(t)){let u=[],f=n&&Array.isArray(n);if(function e(t,n,r,l){let o=!1;for(let s=0,u=n.length;s<u;s++){let u=n[s],i=r&&r[t.length],f;if(null==u||!0===u||!1===u);else if("object"==(f=typeof u)&&u.nodeType)t.push(u);else if(Array.isArray(u))o=e(t,u,i)||o;else if("function"===f)if(l){for(;"function"==typeof u;)u=u();o=e(t,Array.isArray(u)?u:[u],Array.isArray(i)?i:[i])||o}else t.push(u),o=!0;else{let e=String(u);i&&3===i.nodeType&&i.data===e?t.push(i):t.push(document.createTextNode(e))}}return o}(u,t,n,o))return(0,r.F3)(()=>n=p(e,u,n,l,!0)),()=>n;if(s){if(!u.length)return n;if(void 0===l)return n=[...e.childNodes];let t=u[0];if(t.parentNode!==e)return n;let r=[t];for(;(t=t.nextSibling)!==l;)r.push(t);return n=r}if(0===u.length){if(n=v(e,n,l),i)return n}else f?0===n.length?g(e,u,l):function(e,t,n){let r=n.length,l=t.length,o=r,s=0,u=0,i=t[l-1].nextSibling,f=null;for(;s<l||u<o;){if(t[s]===n[u]){s++,u++;continue}for(;t[l-1]===n[o-1];)l--,o--;if(l===s){let t=o<r?u?n[u-1].nextSibling:n[o-u]:i;for(;u<o;)e.insertBefore(n[u++],t)}else if(o===u)for(;s<l;)f&&f.has(t[s])||t[s].remove(),s++;else if(t[s]===n[o-1]&&n[u]===t[l-1]){let r=t[--l].nextSibling;e.insertBefore(n[u++],t[s++].nextSibling),e.insertBefore(n[--o],r),t[l]=n[o]}else{if(!f){f=new Map;let e=u;for(;e<o;)f.set(n[e],e++)}let r=f.get(t[s]);if(null!=r)if(u<r&&r<o){let i=s,a=1,c;for(;++i<l&&i<o&&null!=(c=f.get(t[i]))&&c===r+a;)a++;if(a>r-u){let l=t[s];for(;u<r;)e.insertBefore(n[u++],l)}else e.replaceChild(n[u++],t[s++])}else s++;else t[s++].remove()}}}(e,n,u):(n&&v(e),g(e,u));n=u}else if(t.nodeType){if(s&&t.parentNode)return n=i?[t]:t;if(Array.isArray(n)){if(i)return n=v(e,n,l,t);v(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}return n}function g(e,t,n=null){for(let r=0,l=t.length;r<l;r++)e.insertBefore(t[r],n)}function v(e,t,n,r){if(void 0===n)return e.textContent="";let l=r||document.createTextNode("");if(t.length){let r=!1;for(let o=t.length-1;o>=0;o--){let s=t[o];if(l!==s){let t=s.parentNode===e;r||o?t&&s.remove():t?e.replaceChild(l,s):e.insertBefore(l,n)}else r=!0}}else e.insertBefore(l,n);return[l]}function w(e){let t,{useShadow:n}=e,l=document.createTextNode(""),o=(0,r.ei)(),s=!!r.vH.context;return(0,r.GW)(()=>{s&&((0,r.ei)().user=s=!1),t||(t=(0,r.nf)(o,()=>(0,r.Py)(()=>e.children)));let u=e.mount||document.body;if(u instanceof HTMLHeadElement){let[e,n]=(0,r.gQ)(!1);(0,r.so)(n=>c(u,()=>e()?n():t(),null)),(0,r.$W)(()=>n(!0))}else{let o=function(e,t=!1){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.isSVG?"g":"div",e.isSVG),s=n&&o.attachShadow?o.attachShadow({mode:"open"}):o;Object.defineProperty(o,"_$host",{get:()=>l.parentNode,configurable:!0}),c(s,t),u.appendChild(o),e.ref&&e.ref(o),(0,r.$W)(()=>u.removeChild(o))}},void 0,{render:!s}),l}Symbol()}}]); (()=>{var e={746:function(){document.addEventListener("DOMContentLoaded",function(){"use strict";let e=new URL(window.location.href),t=e.origin+e.pathname,r=1;e.searchParams.has("first")&&(isNaN(r=parseInt(e.searchParams.get("first"),10))||r<0)&&(r=1);let n=r+10,l=[];for(let e=0;e<4;e++)l.push(n+10*e);e.searchParams.delete("first");let o=e.searchParams.toString(),i=document.getElementById("b_results");if(!i)return void console.error("无法找到当前页面 ID 为 b_results 的元素.");!async function(){console.log(`\u{5F00}\u{59CB}\u{4F7F}\u{7528} iframe \u{4E32}\u{884C}\u{83B7}\u{53D6} ${l.length} \u{4E2A}\u{989D}\u{5916}\u{9875}\u{9762}\u{7684}\u{641C}\u{7D22}\u{7ED3}\u{679C}...`);for(let e=0;e<l.length;e++){let r=l[e],n=document.createElement("div");n.id=`loading-indicator-${r}`,n.style.cssText="margin: 20px 0; border-top: 2px dashed #ccc; padding-top: 10px; text-align: center; color: #999;",n.innerHTML=`<h2>--- \u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C}... ---</h2>`,i.appendChild(n);let u=await function(e){return new Promise(r=>{let n=`${t}?${o}&first=${e}`,l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l),l.onload=function(){try{let e=l.contentDocument||l.contentWindow.document;if(!e){console.error("无法访问 iframe 的文档内容 (可能是跨域限制或加载失败)"),r(null);return}let t=e.getElementById("b_results");if(t){let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.firstChild);r(e)}else console.warn(`iframe \u{52A0}\u{8F7D}\u{7684}\u{8FDC}\u{7A0B}\u{9875}\u{9762}\u{672A}\u{627E}\u{5230} ID \u{4E3A} b_results \u{7684}\u{5143}\u{7D20}: ${n}`),r(null)}catch(e){console.error("在 iframe 中访问 DOM 时发生同源策略错误:",e),r(null)}finally{l.remove()}},l.src=n})}(r),s=document.getElementById(`loading-indicator-${r}`);if(u){s&&s.remove();let t=document.createElement("div");t.style.cssText="margin: 20px 0; border-top: 2px solid #0078d4; padding-top: 10px;",t.innerHTML=`<h2>--- \u{5DF2}\u{5408}\u{5E76}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C} ---</h2>`,i.appendChild(t),i.appendChild(u),console.log(`[Iframe \u{6210}\u{529F}] first=${r} \u{7684}\u{7ED3}\u{679C}\u{5DF2}\u{6DFB}\u{52A0}\u{5230}\u{9875}\u{9762}\u{3002}`)}else s&&(s.style.cssText="margin: 20px 0; border-top: 2px dashed #ff0000; padding-top: 10px; text-align: center; color: #ff0000;",s.innerHTML=`<h2>--- [Iframe \u{5931}\u{8D25}] \u{52A0}\u{8F7D}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C} ---</h2>`)}console.log("所有后续页面结果加载完成。")}()})},622:function(e,t,r){"use strict";var n=r(206),l=r(266);r(676);var o=(0,n.XK)('<div class="mb-4 text-lg font-bold border-b-2 border-black/25">'),i=(0,n.XK)(`<div class="fixed inset-0 z-50 flex items-center justify-center overflow-y-auto"><div class="fixed inset-0 bg-black/50 backdrop-blur-sm"></div><div class="relative z-10 w-full max-w-md rounded-lg bg-white p-6 shadow-xl"><div class=relative></div><button class="absolute right-4 top-4 text-gray-400 hover:text-gray-600"><svg class="h-5 w-5"aria-label=\u{5173}\u{95ED}\u{5BF9}\u{8BDD}\u{6846} fill=none stroke=currentColor viewBox="0 0 24 24"><path stroke-linecap=round stroke-linejoin=round stroke-width=2 d="M6 18L18 6M6 6l12 12">`);let u=e=>{let t=t=>{t.target===t.currentTarget&&e.onClose()};return(0,l.LM)(l.di,{get when(){return e.isOpen},get children(){return(0,l.LM)(n.h_,{get children(){var r=i(),u=r.firstChild.nextSibling,s=u.firstChild,a=s.nextSibling;return r.$$pointerdown=t,(0,n.$T)(u,(0,l.LM)(l.di,{get when(){return e.title},get children(){var c=o();return(0,n.$T)(c,()=>e.title),c}}),s),(0,n.$T)(s,()=>e.children),(0,n.Oo)(a,"click",e.onClose,!0),r}})}})};(0,n.Qj)(["pointerdown","click"]),r(746);var s=(0,n.XK)('<div class="fixed top-4 right-4 z-50 flex items-center justify-center"><div style="animation:fadeInOut 2s ease-in-out;">'),a=(0,n.XK)(`<style> @keyframes fadeInOut { 0% { opacity: 0; transform: translateY(-20px); } 10% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } } `);let[c,d]=(0,l.gQ)(!1),[b,g]=(0,l.gQ)(""),[f,m]=(0,l.gQ)("info");function p(e){let{message:t,duration:r=2e3,type:n="info"}=e;g(t),m(n),d(!0);let l=setTimeout(()=>{d(!1)},r);return()=>clearTimeout(l)}let h=()=>(0,l.LM)(l.di,{get when(){return c()},get children(){return(0,l.LM)(n.h_,{get children(){var e,t;return[(t=(e=s()).firstChild,(0,n.$T)(t,b),(0,l.F3)(()=>(0,n.ok)(t,`px-4 py-2 rounded-md shadow-lg transform transition-all duration-300 ${(()=>{switch(f()){case"success":return"bg-green-500 text-white";case"error":return"bg-red-500 text-white";default:return"bg-blue-500 text-white"}})()}`)),e),a()]}})}});var x=(0,n.XK)(`<button class="ds-block-btn ml-2px px-2 py-1 text-xs bg-gray-500 text-white rounded hover:bg-gray-600 transition-colors">\u{5C4F}\u{853D}\u{5F53}\u{524D}\u{7AD9}\u{70B9}`),v=(0,n.XK)(`<button class="ds-block-edit-btn ml-2px px-2 py-1 text-xs bg-gray-500 text-white rounded hover:bg-gray-600 transition-colors">\u{7F16}\u{8F91}\u{6DFB}\u{52A0}`),y=(0,n.XK)(`<div class="p-4 border border-blue-200 bg-blue-50 rounded-md"><h4 class="text-md font-medium mb-2 text-blue-800">\u{7F16}\u{8F91}\u{7AD9}\u{70B9}</h4><div class="flex flex-col gap-2"><input type=text class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"><div class="flex justify-end gap-2 mt-2"><button class="px-3 py-1 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition-colors">\u{53D6}\u{6D88}</button><button class="px-3 py-1 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors">\u{4FDD}\u{5B58}`),w=(0,n.XK)(`<div class="flex flex-col gap-4"><div class=mb-4><h3 class="text-lg font-medium mb-2">\u{5DF2}\u{5C4F}\u{853D}\u{7AD9}\u{70B9}\u{5217}\u{8868}</h3><div class="max-h-60 overflow-y-auto border border-gray-200 rounded-md"></div></div><div class="p-4 border border-green-200 bg-green-50 rounded-md"><h4 class="text-md font-medium mb-2 text-green-800">\u{6DFB}\u{52A0}\u{65B0}\u{7AD9}\u{70B9}</h4><div class="flex flex-col gap-2"><input type=text placeholder="\u{4F8B}\u{5982}: example.com"class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"><div class="flex justify-end mt-2"><button class="px-4 py-2 bg-green-500 text-white rounded-md hover:bg-green-600 transition-colors">\u{6DFB}\u{52A0}`),k=(0,n.XK)(`<div class="p-4 text-center text-gray-500">\u{6682}\u{65E0}\u{5C4F}\u{853D}\u{7AD9}\u{70B9}`),C=(0,n.XK)('<ul class="divide-y divide-gray-200">'),$=(0,n.XK)(`<li class="p-3 flex justify-between items-center hover:bg-gray-50"><span class=text-gray-800></span><div class="flex gap-2"><button class="px-2 py-1 text-sm bg-blue-100 text-blue-700 rounded hover:bg-blue-200 transition-colors">\u{7F16}\u{8F91}</button><button class="px-2 py-1 text-sm bg-red-100 text-red-700 rounded hover:bg-red-200 transition-colors">\u{5220}\u{9664}`),D=(0,n.XK)(`<div class="ds-script flex py-2px"><button class="px-3 py-1 bg-blue-500 text-white hover:bg-blue-600 rounded-md transition-colors">\u{7AD9}\u{70B9}\u{7BA1}\u{7406}`),L=(0,n.XK)(`<button type=button class="inline-block align-middle h-40px mr-4px px-3 py-1 bg-blue-500 text-white hover:bg-blue-600 rounded-md transition-colors">b\u{7AD9}\u{641C}\u{7D22}`),F=(0,n.XK)('<button type=button class="inline-block align-middle h-40px mr-10px px-3 py-1 bg-blue-500 text-white hover:bg-blue-600 rounded-md transition-colors">google');let E=GM_getValue("config",{filterList:[{name:"csdn",domain:"csdn.net",enabled:!0},{name:"抖音",domain:"www.douyin.com",enabled:!0}],blockList:["/shouji.baidu/","/lightapp.baidu/","/author.baidu/","/ubs.baidu/","/m2.baidu/","/baijiahao.baidu/"]}),S=0,[B,_]=(0,l.gQ)(!1),[A,M]=(0,l.gQ)([]),[O,T]=(0,l.gQ)(""),q=()=>{let[e,t]=(0,l.gQ)(-1),[r,o]=(0,l.gQ)("");return E.blockList||(E.blockList=[]),M(E.blockList||[]),[(0,l.LM)(u,{get isOpen(){return B()},onClose:()=>{_(!1)},title:"站点管理",get children(){var i,s=w(),a=s.firstChild,c=a.firstChild.nextSibling,d=a.nextSibling,b=d.firstChild.nextSibling.firstChild,g=b.nextSibling.firstChild;return(0,n.$T)(c,(i=(0,n.X$)(()=>0===A().length),()=>{var e;return i()?k():(e=C(),(0,n.$T)(e,()=>A().map((e,r)=>{var l,i,u,s;return s=(u=(i=(l=$()).firstChild).nextSibling.firstChild).nextSibling,(0,n.$T)(i,e),u.$$click=()=>{t(r),o(e)},s.$$click=()=>{var e;null==(e=E.blockList)||e.splice(r,1),GM_setValue("config",E),M([...E.blockList||[]]),p({message:"删除成功",type:"success"})},l})),e)})),(0,n.$T)(s,(0,l.LM)(l.di,{get when(){return -1!==e()},get children(){var f=y(),m=f.firstChild.nextSibling.firstChild,x=m.nextSibling.firstChild,v=x.nextSibling;return m.addEventListener("change",e=>o(e.target.value)),x.$$click=()=>{t(-1),o("")},v.$$click=()=>{r().trim()&&E.blockList&&(E.blockList[e()]=r().trim(),GM_setValue("config",E),M([...E.blockList]),t(-1),o(""),p({message:"更新成功",type:"success"}))},(0,l.F3)(()=>m.value=r()),f}}),d),b.addEventListener("change",e=>T(e.target.value)),g.$$click=()=>{if(O().trim()){var e;null==(e=E.blockList)||e.push(O().trim()),GM_setValue("config",E),M([...E.blockList||[]]),T(""),p({message:"添加成功",type:"success"})}},(0,l.F3)(()=>b.value=O()),s}}),(0,l.LM)(h,{})]},X=()=>{var e;return(e=D()).firstChild.$$click=()=>{_(!0)},(0,n.$T)(e,(0,l.LM)(q,{}),null),e},j=()=>{var e,t;return[((e=L()).$$click=()=>{let e=document.querySelector(".b_searchbox").value,t=`https://search.bilibili.com/all?keyword=${encodeURIComponent(e)}`;window.open(t,"_blank")},e),((t=F()).$$click=()=>{let e=document.querySelector(".b_searchbox").value,t=`https://www.google.com.hk/search?q=${encodeURIComponent(e)}`;window.open(t,"_blank")},t)]},K=()=>{let e=window.location.href.match(/^https:\/\/cn.bing.com/);function t(){e?function(e){let t=e.map(e=>new RegExp(e));for(let e of Array.from(document.querySelectorAll("#b_results .b_algo"))){let r;if(null===e.querySelector(".b_tpcn")){e.remove(),S++;continue}let n=e.querySelector(".tilk");for(let l of(r=n?n.href:"",t))l.test(r)&&(e.remove(),S++,console.log("已去除:"+r))}}(E.blockList||[]):function(e){let t=e.map(e=>new RegExp(e));for(let e of Array.from(document.querySelectorAll("cite")))for(let r of t)if(r.test(e.textContent)){let t=e.closest(".b_algo");if(!t)return;t.style.display="none",S++,console.log("已去除:"+e.textContent)}}(E.blockList||[]),document.querySelectorAll(".b_ans").forEach(e=>{e.style.display="none",S++})}t(),function(){let e=document.querySelector("main"),r=null,l=new MutationObserver(e=>{clearTimeout(r),r=setTimeout(()=>{document.querySelectorAll("#b_results .b_algo").length>0&&(t(),document.querySelectorAll(".tilk").forEach(e=>{var t;let r=new URL(e.href).hostname,l=e.parentElement;if(null==l?void 0:l.querySelector(".ds-block-btn"))return;(0,n.sY)(()=>{var e;return(e=x()).$$click=()=>{var e,t;(null==(e=E.blockList)?void 0:e.includes("/"+r))||(null==(t=E.blockList)||t.push("/"+r),GM_setValue("config",E),M([...E.blockList||[]]),p({message:"添加成功",type:"success"}))},e},l);let o=null==l||null==(t=l.parentElement)?void 0:t.querySelector(".b_caption");o&&(0,n.sY)(()=>{var e;return(e=v()).$$click=()=>{_(!0),T("/"+r)},e},o)}))},300)});e&&l.observe(e,{childList:!0,subtree:!0})}();let r=document.querySelector("#b_tween")||document.querySelector("#ScopeRow");r&&(0,n.sY)(()=>(0,l.LM)(X,{}),r);let o=document.querySelector(".b_searchboxForm");o&&(0,n.sY)(()=>(0,l.LM)(j,{}),o),document.removeEventListener("DOMContentLoaded",K)};!function(){if(!E.filterList)return;let e=new URL(window.location.href),t="";if(E.filterList.forEach(e=>{e.enabled&&(t+=` -site:${e.domain}`)}),e.searchParams.has("dreamsoulmodified"))console.log("URL已经包含了修改的查询参数,不再进行修改。");else{let r=e.searchParams.get("q");e.searchParams.set("q",r+t),e.searchParams.set("dreamsoulmodified","true"),history.replaceState({},"",e.toString()),window.location.reload()}}(),document.addEventListener("DOMContentLoaded",K),(0,n.Qj)(["click"])}},t={};function r(n){var l=t[n];if(void 0!==l)return l.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=[];r.O=(t,n,l,o)=>{if(n){o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[n,l,o];return}for(var u=1/0,i=0;i<e.length;i++){for(var[n,l,o]=e[i],s=!0,a=0;a<n.length;a++)(!1&o||u>=o)&&Object.keys(r.O).every(e=>r.O[e](n[a]))?n.splice(a--,1):(s=!1,o<u&&(u=o));if(s){e.splice(i--,1);var c=l();void 0!==c&&(t=c)}}return t}})(),(()=>{var e={980:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var l,o,[i,u,s]=n,a=0;if(i.some(t=>0!==e[t])){for(l in u)r.o(u,l)&&(r.m[l]=u[l]);if(s)var c=s(r)}for(t&&t(n);a<i.length;a++)o=i[a],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=self.webpackChunkbing_purifier=self.webpackChunkbing_purifier||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var n=r.O(void 0,["568"],function(){return r(622)});n=r.O(n)})(); })();