1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9854],{1933:(e,t,r)=>{r.d(t,{jH:()=>n});var i=r(12115);r(95155);var l=Object.defineProperty,s=i.createContext(void 0);function n(e){let t=i.useContext(s);return e||t||"ltr"}l(n,"name",{value:"useDirection",configurable:!0})},76094:(e,t,r)=>{r.d(t,{N:()=>c});var i=r(12115),l=r(68599),s=r(47527),n=r(42442),o=r(95155),u=Object.defineProperty,f=(e,t)=>u(e,"name",{value:t,configurable:!0});function c(e){let t=e+"CollectionProvider",[r,u]=(0,l.A)(t),[c,h]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=f(e=>{let{scope:t,children:r}=e,l=i.useRef(null),s=i.useRef(new Map).current;return(0,o.jsx)(c,{scope:t,itemMap:s,collectionRef:l,children:r})},"CollectionProvider");a.displayName=t;let d=e+"CollectionSlot",p=(0,n.TL)(d),y=i.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=h(d,r),n=(0,s.s)(t,l.collectionRef);return(0,o.jsx)(p,{ref:n,children:i})});y.displayName=d;let m=e+"CollectionItemSlot",k="data-radix-collection-item",R=(0,n.TL)(m),v=i.forwardRef((e,t)=>{let{scope:r,children:l,...n}=e,u=i.useRef(null),f=(0,s.s)(t,u),c=h(m,r);return i.useEffect(()=>(c.itemMap.set(u,{ref:u,...n}),()=>void c.itemMap.delete(u))),(0,o.jsx)(R,{...{[k]:""},ref:f,children:l})});function x(t){let r=h(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${k}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return v.displayName=m,f(x,"useCollection"),[{Provider:a,Slot:y,ItemSlot:v},x,u]}f(c,"createCollection");var h=new WeakMap,a=class e extends Map{static{f(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],h.set(this,!0)}set(e,t){return h.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let i,l=this.has(t),s=this.#e.length,n=y(e),o=n>=0?n:s+n,u=o<0||o>=s?-1:o;if(u===this.size||l&&u===this.size-1||-1===u)return this.set(t,r),this;let f=this.size+ +!l;n<0&&o++;let c=[...this.#e],h=!1;for(let e=o;e<f;e++)if(o===e){let s=c[e];c[e]===t&&(s=c[e+1]),l&&this.delete(t),i=this.get(s),this.set(t,r)}else{h||c[e-1]!==t||(h=!0);let r=c[h?e:e-1],l=i;i=this.get(r),this.delete(r),this.set(r,l)}return this}with(t,r,i){let l=new e(this);return l.insert(t,r,i),l}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&i.push(e),l++;return new e(i)}map(t,r){let i=[],l=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(i)}reduce(...e){let[t,r]=e,i=0,l=r??this.at(0);for(let r of this)l=0===i&&1===e.length?r:Reflect.apply(t,this,[l,r,i,this]),i++;return l}reduceRight(...e){let[t,r]=e,i=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let l=this.at(r);i=r===this.size-1&&1===e.length?l:Reflect.apply(t,this,[i,l,r,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let i=new e,l=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}};function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=p(e,t);return -1===r?void 0:e[r]}function p(e,t){let r=e.length,i=y(t),l=i>=0?i:r+i;return l<0||l>=r?-1:l}function y(e){return e!=e||0===e?0:Math.trunc(e)}function m(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(let i of r)if(!Object.prototype.hasOwnProperty.call(t,i)||e[i]!==t[i])return!1;return!0}function k(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function R(e,t){return e[1].element&&t[1].element?k(e[1].element,t[1].element)?-1:1:0}function v(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}f(d,"at"),f(p,"toSafeIndex"),f(y,"toSafeInteger"),f(function(e){let t=e+"CollectionProvider",[r,u]=(0,l.A)(t),[c,h]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new a,setItemMap:f(()=>void 0,"setItemMap")}),d=f(({state:e,...t})=>e?(0,o.jsx)(y,{...t,state:e}):(0,o.jsx)(p,{...t}),"CollectionProvider");d.displayName=t;let p=f(e=>{let t=g();return(0,o.jsx)(y,{...e,state:t})},"CollectionInit");p.displayName=t+"Init";let y=f(e=>{let{scope:t,children:r,state:l}=e,n=i.useRef(null),[u,f]=i.useState(null),h=(0,s.s)(n,f),[a,d]=l;return i.useEffect(()=>{if(!u)return;let e=v(()=>{});return e.observe(u,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[u]),(0,o.jsx)(c,{scope:t,itemMap:a,setItemMap:d,collectionRef:h,collectionRefObject:n,collectionElement:u,children:r})},"CollectionProviderImpl");y.displayName=t+"Impl";let k=e+"CollectionSlot",x=(0,n.TL)(k),C=i.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=h(k,r),n=(0,s.s)(t,l.collectionRef);return(0,o.jsx)(x,{ref:n,children:i})});C.displayName=k;let O=e+"CollectionItemSlot",w=(0,n.TL)(O),b=i.forwardRef((e,t)=>{let{scope:r,children:l,...n}=e,u=i.useRef(null),[f,c]=i.useState(null),d=(0,s.s)(t,u,c),{setItemMap:p}=h(O,r),y=i.useRef(n);m(y.current,n)||(y.current=n);let k=y.current;return i.useEffect(()=>(p(e=>f?e.has(f)?e.set(f,{...k,element:f}).toSorted(R):(e.set(f,{...k,element:f}),e.toSorted(R)):e),()=>{p(e=>f&&e.has(f)?(e.delete(f),new a(e)):e)}),[f,k,p]),(0,o.jsx)(w,{"data-radix-collection-item":"",ref:d,children:l})});function g(){return i.useState(new a)}function j(t){let{itemMap:r}=h(e+"CollectionConsumer",t);return r}return b.displayName=O,f(g,"useInitCollection"),f(j,"useCollection"),[{Provider:d,Slot:C,ItemSlot:b},{createCollectionScope:u,useCollection:j,useInitCollection:g}]},"createCollection"),f(m,"shallowEqual"),f(k,"isElementPreceding"),f(R,"sortByDocumentPosition"),f(v,"getChildListObserver")}}]); 2//# sourceMappingURL=9854-0142cb080faa10d1.js.map
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.