PageSourceSearch

https://www.adverfly.com/_next/static/chunks/7151-da3df995b74e6634.js

js adverfly.com collected 2026-10-02 00:30:00 UTC 16,005 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7151],{99422:function(e,t,n){n.d(t,{Z:function(){return o}});let o=(0,n(31134).Z)("mouse-pointer-click",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]])},83865:function(e,t,n){let o,i,l,r;n.d(t,{Ri:function(){return eb},Y4:function(){return ed},wt:function(){return ev},O_:function(){return ep},Xe:function(){return ef}});var a=n(22944),s=n(18419),u=n(67294),d=n(73935),c=n(65448);function p(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}var v=n(89327),f=n(81857),b=n(11854),x=n(5655),m=n(29408),O=n(68354),S=n(80157),g=n(57110),h=n(39438),E=n(54555),y=n(382),R=n(99523),T=n(91034),I=n(99915),L=n(40947),P=n(48802),k=n(42970),M=n(2015),z=n(14872),C=n(95086),w=n(23701),D=n(80099),_=n(1365),A=n(67257),V=n(19540),F=n(47122),N=n(58766),Q=n(22983),B=n(16116),U=n(23233),Z=n(83619),G=n(29138),K=n(71237),H=n(60862),j=n(23811),X=((o=X||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),q=((i=q||{})[i.Single=0]="Single",i[i.Multi=1]="Multi",i),J=((l=J||{})[l.Pointer=0]="Pointer",l[l.Other=1]="Other",l),Y=((r=Y||{})[r.OpenListbox=0]="OpenListbox",r[r.CloseListbox=1]="CloseListbox",r[r.GoToOption=2]="GoToOption",r[r.Search=3]="Search",r[r.ClearSearch=4]="ClearSearch",r[r.RegisterOption=5]="RegisterOption",r[r.UnregisterOption=6]="UnregisterOption",r[r.SetButtonElement=7]="SetButtonElement",r[r.SetOptionsElement=8]="SetOptionsElement",r);function W(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,N.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return -1===i&&(i=null),{options:o,activeOptionIndex:i}}let $={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,o=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==o&&(t=o),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,o,i,l,r;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===V.T.Nothing)return{...a,activeOptionIndex:null};if(t.focus===V.T.Specific)return{...a,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===V.T.Previous){let n=e.activeOptionIndex;if(null!==n){let l=e.options[n].dataRef.current.domRef,r=(0,V.d)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==r){let t=e.options[r].dataRef.current.domRef;if((null==(o=l.current)?void 0:o.previousElementSibling)===t.current||(null==(i=t.current)?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:r}}}}else if(t.focus===V.T.Next){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,i=(0,V.d)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.options[i].dataRef.current.domRef;if((null==(l=o.current)?void 0:l.nextElementSibling)===t.current||(null==(r=t.current)?void 0:r.nextElementSibling)===null)return{...a,activeOptionIndex:i}}}}let s=W(e),u=(0,V.d)(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...a,...s,activeOptionIndex:u}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,o=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(o))}),l=i?e.options.indexOf(i):-1;return -1===l||l===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:l,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},o=W(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(n)),{...e,...o}},6:(e,t)=>{let n=W(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>
1e.optionsElement===t.element?e:{...e,optionsElement:t.element}},ee=(0,u.createContext)(null);function et(e){let t=(0,u.useContext)(ee);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,et),t}return t}ee.displayName="ListboxActionsContext";let en=(0,u.createContext)(null);function eo(e){let t=(0,u.useContext)(en);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eo),t}return t}function ei(e,t){return(0,B.E)(t.type,$,e,t)}en.displayName="ListboxDataContext";let el=u.Fragment,er=(0,u.createContext)(!1),ea=Z.VN.RenderStrategy|Z.VN.Static,es=u.Fragment,eu=(0,Z.yV)(function(e,t){var n;let o=(0,z.B)(),{value:i,defaultValue:l,form:r,name:a,onChange:s,by:d,invalid:c=!1,disabled:b=o||!1,horizontal:m=!1,multiple:S=!1,__demoMode:h=!1,...E}=e,R=m?"horizontal":"vertical",T=(0,L.T)(t),I=(0,f.L)(l),[P=S?[]:void 0,k]=(0,v.q)(i,s,I),[M,D]=(0,u.useReducer)(ei,{dataRef:(0,u.createRef)(),listboxState:h?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:h}),A=(0,u.useRef)({static:!1,hold:!1}),F=(0,u.useRef)(new Map),Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return(0,u.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}(d),U=(0,u.useCallback)(e=>(0,B.E)(G.mode,{1:()=>P.some(t=>Q(t,e)),0:()=>Q(P,e)}),[P]),G=(0,u.useMemo)(()=>({...M,value:P,disabled:b,invalid:c,mode:S?1:0,orientation:R,compare:Q,isSelected:U,optionsPropsRef:A,listRef:F}),[P,b,c,S,M,F]);(0,g.e)(()=>{M.dataRef.current=G},[G]);let K=0===G.listboxState;(0,y.O)(K,[G.buttonElement,G.optionsElement],(e,t)=>{var n;D({type:1}),(0,N.sP)(t,N.tJ.Loose)||(e.preventDefault(),null==(n=G.buttonElement)||n.focus())});let j=(0,u.useMemo)(()=>({open:0===G.listboxState,disabled:b,invalid:c,value:P}),[G,b,P,c]),X=(0,O.z)(e=>{let t=G.options.find(t=>t.id===e);t&&eo(t.dataRef.current.value)}),q=(0,O.z)(()=>
1{if(null!==G.activeOptionIndex){let{dataRef:e,id:t}=G.options[G.activeOptionIndex];eo(e.current.value),D({type:2,focus:V.T.Specific,id:t})}}),J=(0,O.z)(()=>D({type:0})),Y=(0,O.z)(()=>D({type:1})),W=(0,x.G)(),$=(0,O.z)((e,t,n)=>{W.dispose(),W.microTask(()=>e===V.T.Specific?D({type:2,focus:V.T.Specific,id:t,trigger:n}):D({type:2,focus:e,trigger:n}))}),et=(0,O.z)((e,t)=>(D({type:5,id:e,dataRef:t}),()=>D({type:6,id:e}))),eo=(0,O.z)(e=>(0,B.E)(G.mode,{0:()=>null==k?void 0:k(e),1(){let t=G.value.slice(),n=t.findIndex(t=>Q(t,e));return -1===n?t.push(e):t.splice(n,1),null==k?void 0:k(t)}})),er=(0,O.z)(e=>D({type:3,value:e})),ea=(0,O.z)(()=>D({type:4})),es=(0,O.z)(e=>{D({type:7,element:e})}),eu=(0,O.z)(e=>{D({type:8,element:e})}),ed=(0,u.useMemo)(()=>({onChange:eo,registerOption:et,goToOption:$,closeListbox:Y,openListbox:J,selectActiveOption:q,selectOption:X,search:er,clearSearch:ea,setButtonElement:es,setOptionsElement:eu}),[]),[ec,ep]=(0,H.bE)({inherit:!0}),ev=(0,u.useCallback)(()=>{if(void 0!==I)return null==k?void 0:k(I)},[k,I]),ef=(0,Z.L6)();return u.createElement(ep,{value:ec,props:{htmlFor:null==(n=G.buttonElement)?void 0:n.id},slot:{open:0===G.listboxState,disabled:b}},u.createElement(C.HO,null,u.createElement(ee.Provider,{value:ed},u.createElement(en.Provider,{value:G},u.createElement(_.up,{value:(0,B.E)(G.listboxState,{0:_.ZM.Open,1:_.ZM.Closed})},null!=a&&null!=P&&u.createElement(w.Mt,{disabled:b,data:{[a]:P},form:r,onReset:ev}),ef({ourProps:{ref:T},theirProps:E,slot:j,defaultTag:el,name:"Listbox"}))))))}),ed=(0,Z.yV)(function(e,t){var n;let o=eo("Listbox.Button"),i=et("Listbox.Button"),l=(0,u.useId)(),r=(0,D.Q)(),{id:p=r||"headlessui-listbox-button-".concat(l),disabled:v=o.disabled||!1,autoFocus:f=!1,...b}=e,x=(0,L.T)(t,(0,C.AZ)(),i.setButtonElement),m=(0,C.L)(),S=(0,O.z)(e=>{switch(e.key){case K.R.Enter:(0,Q.g)(e.currentTarget);break;case K.R.Space:case K.R.ArrowDown:e.preventDefault(),(0,d.flushSync)(()=>i.openListbox()),o.value||i.goToOption(V.T.First);break;case K.R.ArrowUp:e.preventDefault(),(0,d.flushSync)(()=>i.openListbox()),o.value||i.goToOption(V.T.Last)}}),g=(0,O.z)(e=>{e.key===K.R.Space&&e.preventDefault()}),h=(0,O.z)(e=>{var t;if((0,A.P)(e.currentTarget))return e.preventDefault();0===o.listboxState?((0,d.flushSync)(()=>i.closeListbox()),null==(t=o.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),i.openListbox())}),E=(0,O.z)(e=>e.preventDefault()),y=(0,H.wp)([p]),R=(0,G.zH)(),{isFocusVisible:I,focusProps:P}=(0,a.F)({autoFocus:f}),{isHovered:k,hoverProps:M}=(0,s.X)({isDisabled:v}),{pressed:z,pressProps:w}=(0,c.x)({disabled:v}),_=(0,u.useMemo)(()=>({open:0===o.listboxState,active:z||0===o.listboxState,disabled:v,invalid:o.invalid,value:o.value,hover:k,focus:I,autofocus:f}),[o.listboxState,o.value,v,k,I,z,o.invalid,f]),F=(0,Z.dG)(m(),{ref:x,id:p,type:(0,T.f)(e,o.buttonElement),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsElement)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":y,"aria-describedby":R,disabled:v||void 0,autoFocus:f,onKeyDown:S,onKeyUp:g,onKeyPress:E,onClick:h},P,M,w);return(0,Z.L6)()({ourProps:F,theirProps:b,slot:_,defaultTag:"button",name:"Listbox.Button"})}),ec=H.__,ep=(0,Z.yV)(function(e,t){var n,o;let i=(0,u.useId)(),{id:l="headlessui-listbox-options-".concat(i),anchor:r,portal:a=!1,modal:s=!0,transition:c=!1,...p}=e,v=(0,C.Vy)(r),[f,g]=(0,u.useState)(null);v&&(a=!0);let h=eo("Listbox.Options"),y=et("Listbox.Options"),T=(0,R.i)(h.optionsElement),P=(0,_.oJ)(),[k,z]=(0,M.Y)(c,f,null!==P?(P&_.ZM.Open)===_.ZM.Open:0===h.listboxState);(0,E.m)(k,h.buttonElement,y.closeListbox);let w=!h.__demoMode&&s&&0===h.listboxState;(0,I.P)(w,T);let D=!h.__demoMode&&s&&0===h.listboxState;(0,S.s)(D,{allowed:(0,u.useCallback)(()=>[h.buttonElement,h.optionsElement],[h.buttonElement,h.optionsElement])});let A=0!==h.listboxState,F=!(0,b.C)(A,h.buttonElement)&&k,Q=function(e,t){let[n,o]=(0,u.useState)(t);return e||n===t||o(t),e?n:t}(k&&1===h.listboxState,h.value),G=(0,O.z)(e=>h.compare(Q,e)),H=(0,u.useMemo)(()=>{var e;if(null==v||!(null!=(e=null==v?void 0:v.to)&&e.includes("selection")))return null;let t=h.options.findIndex(e=>G(e.dataRef.current.value));return -1===t&&(t=0),t},[v,h.options]),X=(()=>
1{if(null==v)return;if(null===H)return{...v,inner:void 0};let e=Array.from(h.listRef.current.values());return{...v,inner:{listRef:{current:e},index:H}}})(),[q,J]=(0,C.ES)(X),Y=(0,C.U8)(),W=(0,L.T)(t,v?q:null,y.setOptionsElement,g),$=(0,x.G)();(0,u.useEffect)(()=>{var e;let t=h.optionsElement;t&&0===h.listboxState&&t!==(null==(e=(0,U.r)(t))?void 0:e.activeElement)&&(null==t||t.focus({preventScroll:!0}))},[h.listboxState,h.optionsElement]);let ee=(0,O.z)(e=>{var t,n;switch($.dispose(),e.key){case K.R.Space:if(""!==h.searchQuery)return e.preventDefault(),e.stopPropagation(),y.search(e.key);case K.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==h.activeOptionIndex){let{dataRef:e}=h.options[h.activeOptionIndex];y.onChange(e.current.value)}0===h.mode&&((0,d.flushSync)(()=>y.closeListbox()),null==(t=h.buttonElement)||t.focus({preventScroll:!0}));break;case(0,B.E)(h.orientation,{vertical:K.R.ArrowDown,horizontal:K.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),y.goToOption(V.T.Next);case(0,B.E)(h.orientation,{vertical:K.R.ArrowUp,horizontal:K.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),y.goToOption(V.T.Previous);case K.R.Home:case K.R.PageUp:return e.preventDefault(),e.stopPropagation(),y.goToOption(V.T.First);case K.R.End:case K.R.PageDown:return e.preventDefault(),e.stopPropagation(),y.goToOption(V.T.Last);case K.R.Escape:e.preventDefault(),e.stopPropagation(),(0,d.flushSync)(()=>y.closeListbox()),null==(n=h.buttonElement)||n.focus({preventScroll:!0});return;case K.R.Tab:e.preventDefault(),e.stopPropagation(),(0,d.flushSync)(()=>y.closeListbox()),(0,N.EO)(h.buttonElement,e.shiftKey?N.TO.Previous:N.TO.Next);break;default:1===e.key.length&&(y.search(e.key),$.setTimeout(()=>y.clearSearch(),350))}}),ei=null==(n=h.buttonElement)?void 0:n.id,el=(0,u.useMemo)(()=>({open:0===h.listboxState}),[h.listboxState]),er=(0,Z.dG)(v?Y():{},{id:l,ref:W,"aria-activedescendant":null===h.activeOptionIndex||null==(o=h.options[h.activeOptionIndex])?void 0:o.id,"aria-multiselectable":1===h.mode||void 0,"aria-labelledby":ei,"aria-orientation":h.orientation,onKeyDown:ee,role:"listbox",tabIndex:0===h.listboxState?0:void 0,style:{...p.style,...J,"--button-width":(0,m.h)(h.buttonElement,!0).width},...(0,M.X)(z)}),es=(0,Z.L6)();return u.createElement(j.h_,{enabled:!!a&&(e.static||k)},u.createElement(en.Provider,{value:1===h.mode?h:{...h,isSelected:G}},es({ourProps:er,theirProps:p,slot:el,defaultTag:"div",features:ea,visible:F,name:"Listbox.Options"}
1)))}),ev=(0,Z.yV)(function(e,t){let n=(0,u.useId)(),{id:o="headlessui-listbox-option-".concat(n),disabled:i=!1,value:l,...r}=e,a=!0===(0,u.useContext)(er),s=eo("Listbox.Option"),c=et("Listbox.Option"),p=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===o,v=s.isSelected(l),f=(0,u.useRef)(null),b=(0,P.x)(f),x=(0,h.E)({disabled:i,value:l,domRef:f,get textValue(){return b()}}),m=(0,L.T)(t,f,e=>{e?s.listRef.current.set(o,e):s.listRef.current.delete(o)});(0,g.e)(()=>{if(!s.__demoMode&&0===s.listboxState&&p&&0!==s.activationTrigger)return(0,F.k)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[f,p,s.__demoMode,s.listboxState,s.activationTrigger,s.activeOptionIndex]),(0,g.e)(()=>{if(!a)return c.registerOption(o,x)},[x,o,a]);let S=(0,O.z)(e=>{var t;if(i)return e.preventDefault();c.onChange(l),0===s.mode&&((0,d.flushSync)(()=>c.closeListbox()),null==(t=s.buttonElement)||t.focus({preventScroll:!0}))}),E=(0,O.z)(()=>{if(i)return c.goToOption(V.T.Nothing);c.goToOption(V.T.Specific,o)}),y=(0,k.g)(),R=(0,O.z)(e=>{y.update(e),!i&&(p||c.goToOption(V.T.Specific,o,0))}),T=(0,O.z)(e=>{y.wasMoved(e)&&(i||p||c.goToOption(V.T.Specific,o,0))}),I=(0,O.z)(e=>{y.wasMoved(e)&&(i||p&&c.goToOption(V.T.Nothing))}),M=(0,u.useMemo)(()=>({active:p,focus:p,selected:v,disabled:i,selectedOption:v&&a}),[p,v,i,a]),z=a?{}:{id:o,ref:m,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":v,disabled:void 0,onClick:S,onFocus:E,onPointerEnter:R,onMouseEnter:R,onPointerMove:T,onMouseMove:T,onPointerLeave:I,onMouseLeave:I},C=(0,Z.L6)();return!v&&a?null:C({ourProps:z,theirProps:r,slot:M,defaultTag:"div",name:"Listbox.Option"})}),ef=(0,Z.yV)(function(e,t){let{options:n,placeholder:o,...i}=e,l={ref:(0,L.T)(t)},r=eo("ListboxSelectedOption"),a=(0,u.useMemo)(()=>({}),[]),s=void 0===r.value||null===r.value||1===r.mode&&Array.isArray(r.value)&&0===r.value.length,d=(0,Z.L6)();return u.createElement(er.Provider,{value:!0},d({ourProps:l,theirProps:{...i,children:u.createElement(u.Fragment,null,o&&s?o:n)},slot:a,defaultTag:es,name:"ListboxSelectedOption"}))}),eb=Object.assign(eu,{Button:ed,Label:ec,Options:ep,Option:ev,SelectedOption:ef})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.