// ==UserScript== // @name 必应净化 // @namespace oldsaltfish@foxmail.com // @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 // @downloadURL none // ==/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:"";inherits:false;initial-value:100%}@property --un-border-opacity{syntax:"";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"";inherits:false;initial-value:100%}@property --un-ring-opacity{syntax:"";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:"";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:"";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;--ease-in-out:cubic-bezier(.4,0,.2,1);--colors-black:#000;--container-md:28rem;--radius-lg:.5rem;--fontWeight-bold:700;--colors-red-500:#fb2c36;--colors-gray-400:#99a1af}@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-red-500:color(display-p3 .903738 .262579 .253307);--colors-gray-400:color(display-p3 .605734 .630385 .680158)}}@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-red-500:lab(55.4814% 75.0732 48.8528);--colors-gray-400:lab(65.9269% -.832707 -8.17474)}}*,: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)}} `); "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;t1e6)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=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;eu(n),!1),t&&t()}(n),t}catch(e){n||(h=null),d=null,M(e)}}function V(e){for(let t=0;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=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 .";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;rr.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{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;sn=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(;sr-u){let l=t[s];for(;u=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--- \u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C}... ---`,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=`

--- \u{5DF2}\u{5408}\u{5E76}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C} ---

`,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=`

--- [Iframe \u{5931}\u{8D25}] \u{52A0}\u{8F7D}\u{7B2C} ${e+2} \u{9875} (first=${r}) \u{7ED3}\u{679C} ---

`)}console.log("所有后续页面结果加载完成。")}()})},869:function(e,t,r){"use strict";var n=r(206),l=r(266);r(676);var o=(0,n.XK)('
'),i=(0,n.XK)(`