PageSourceSearch

https://monribot-plomberie.fr/_assets/index-BV9Ak2hm.js

js monribot-plomberie.fr collected 2026-10-06 12:28:55 UTC 7,779 bytes, 1 lines download raw bytes

1var W=r=>{throw TypeError(r)};var H=(r,s,e)=>s.has(r)||W("Cannot "+e);var m=(r,s,e)=>(H(r,s,"read from private field"),e?e.call(r):s.get(r)),J=(r,s,e)=>s.has(r)?W("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(r):s.set(r,e),q=(r,s,e,t)=>(H(r,s,"write to private field"),t?t.call(r,e):s.set(r,e),e);import{r as a,_ as T,j as g,a9 as X,aa as z}from"./vendor-BqXCF-s4.js";var ne=Object.defineProperty,d=(r,s)=>ne(r,"name",{value:s,configurable:!0});function oe(r){const s=r+"CollectionProvider",[e,t]=X(s),[o,n]=e(s,{collectionRef:{current:null},itemMap:new Map}),i=d(h=>{const{scope:p,children:M}=h,P=a.useRef(null),c=a.useRef(new Map).current;return g.jsx(o,{scope:p,itemMap:c,collectionRef:P,children:M})},"CollectionProvider");i.displayName=s;const l=r+"CollectionSlot",x=z(l),R=a.forwardRef((h,p)=>{const{scope:M,children:P}=h,c=n(l,M),u=T(p,c.collectionRef);return g.jsx(x,{ref:u,children:P})});R.displayName=l;const D=r+"CollectionItemSlot",v="data-radix-collection-item",E=z(D),w=a.forwardRef((h,p)=>{const{scope:M,children:P,...c}=h,u=a.useRef(null),N=T(p,u),O=n(D,M);return a.useEffect(()=>(O.itemMap.set(u,{ref:u,...c}),()=>void O.itemMap.delete(u))),g.jsx(E,{[v]:"",ref:N,children:P})});w.displayName=D;function C(h){const p=n(r+"CollectionConsumer",h);return a.useCallback(()=>{const P=p.collectionRef.current;if(!P)return[];const c=Array.from(P.querySelectorAll(`[${v}]`));return Array.from(p.itemMap.values()).sort((O,S)=>c.indexOf(O.ref.current)-c.indexOf(S.ref.current))},[p.collectionRef,p.itemMap])}return d(C,"useCollection"),[{Provider:i,Slot:R,ItemSlot:w},C,t]}d(oe,"createCollection");var Q=new WeakMap,f,y,$=(y=class extends Map{constructor(e){super(e);J(this,f);q(this,f,[...super.keys()]),Q.set(this,!0)}set(e,t){return Q.get(this)&&(this.has(e)?m(this,f)[m(this,f).indexOf(e)]=e:m(this,f).push(e)),super.set(e,t),this}insert(e,t,o){const n=this.has(t),i=m(this,f).length,l=F(e);let x=l>=0?l:i+l;const R=x<0||x>=i?-1:x;if(R===this.size||n&&R===this.size-1||R===-1)return this.set(t,o),this;const D=this.size+(n?0:1);l<0&&x++;const v=[...m(this,f)];let E,w=!1;for(let C=x;C<D;C++)if(x===C){let h=v[C];v[C]===t&&(h=v[C+1]),n&&this.delete(t),E=this.get(h),this.set(t,o)}else{!w&&v[C-1]===t&&(w=!0);const h=v[w?C:C-1],p=E;E=this.get(h),this.delete(h),this.set(h,p)}return this}with(e,t,o){const n=new y(this);return n.insert(e,t,o),n}before(e){const t=m(this,f).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,o){const n=m(this,f).indexOf(e);return n===-1?this:this.insert(n,t,o)}after(e){let t=m(this,f).indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,o){const n=m(this,f).indexOf(e);return n===-1?this:this.insert(n+1,t,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return q(this,f,[]),super.clear()}delete(e){const t=super.delete(e);return t&&m(this,f).splice(m(this,f).indexOf(e),1),t}deleteAt(e){const t=this.keyAt(e);return t!==void 0?this.delete(t):!1}at(e){const t=b(m(this,f),e);if(t!==void 0)return this.get(t)}entryAt(e){const t=b(m(this,f),e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return m(this,f).indexOf(e)}keyAt(e){return b(m(this,f),e)}from(e,t){const o=this.indexOf(e);if(o===-1)return;let n=o+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){const o=this.indexOf(e);if(o===-1)return;let n=o+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let o=0;for(const n of this){if(Reflect.apply(e,t,[n,o,this]))return n;o++}}findIndex(e,t){let o=0;for(const n of this){if(Reflect.apply(e,t,[n,o,this]))return o;o++}return-1}filter(e,t){const o=[];let n=0;for(const i of this)Reflect.apply(e,t,[i,n,this])&&o.push(i),n++;return new y(o)}map(e,t){const o=[];let n=0;for(const i of this)o.push([i[0],Reflect.apply(e,t,[i,n,this])]),n++;return new y(o)}reduce(...e){const[t,o]=e;let n=0,i=o??this.at(0);for(const l of this)n===0&&e.length===1?i=l:i=Reflect.apply(t,this,[i,l,n,this]),n++;return i}reduceRight(...e){const[t,o]=e;let n=o??this.at(-1);for(let i=this.size-1;i>=0;i--){const l=this.at(i);i===this.size-1&&e.length===1?n=l:n=Reflect.apply(t,this,[n,l,i,this])}return n}toSorted(e){const t=[...this.entries()].sort(e);return new y(t)}toReversed(){const e=new y;for(let t=this.size-1;t>=0;t--){const o=this.keyAt(t),n=this.get(o);e.set(o,n)}return e}toSpliced(...e){const t=[...this.entries()];return t.splice(...e),new y(t)}slice(e,t){const o=new y;let n=this.size-1;if(e===void 0)return o;e<0&&(e=e+this.size),t!==void 0&&t>0&&(n=t-1);for(let i=e;i<=n;i++){const l=this.keyAt(i),x=this.get(l);o.set(l,x)}return o}every(e,t){let o=0;for(const n of this){if(!Reflect.apply(e,t,[n,o,this]))return!1;o++}return!0}some(e,t){let o=0;for(const n of this){if(Reflect.apply(e,t,[n,o,this]))return!0;o++}return!1}},f=new WeakMap,d(y,"OrderedDict"),y);function b(r,s){if("at"in Array.prototype)return Array.prototype.at.call(r,s);const e=Y(r,s);return e===-1?void 0:r[e]}d(b,"at");function Y(r,s){const e=r.length,t=F(s),o=t>=0?t:e+t;return o<0||o>=e?-1:o}d(Y,"toSafeIndex");function F(r){return r!==r||r===0?0:Math.trunc(r)}d(F,"toSafeInteger");
1function re(r){const s=r+"CollectionProvider",[e,t]=X(s),[o,n]=e(s,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new $,setItemMap:d(()=>{},"setItemMap")}),i=d(({state:c,...u})=>c?g.jsx(x,{...u,state:c}):g.jsx(l,{...u}),"CollectionProvider");i.displayName=s;const l=d(c=>{const u=p();return g.jsx(x,{...c,state:u})},"CollectionInit");l.displayName=s+"Init";const x=d(c=>{const{scope:u,children:N,state:O}=c,S=a.useRef(null),[j,I]=a.useState(null),k=T(S,I),[L,V]=O;return a.useEffect(()=>{if(!j)return;const _=te(()=>{});return _.observe(j,{childList:!0,subtree:!0}),()=>{_.disconnect()}},[j]),g.jsx(o,{scope:u,itemMap:L,setItemMap:V,collectionRef:k,collectionRefObject:S,collectionElement:j,children:N})},"CollectionProviderImpl");x.displayName=s+"Impl";const R=r+"CollectionSlot",D=z(R),v=a.forwardRef((c,u)=>{const{scope:N,children:O}=c,S=n(R,N),j=T(u,S.collectionRef);return g.jsx(D,{ref:j,children:O})});v.displayName=R;const E=r+"CollectionItemSlot",w="data-radix-collection-item",C=z(E),h=a.forwardRef((c,u)=>{const{scope:N,children:O,...S}=c,j=a.useRef(null),[I,k]=a.useState(null),L=T(u,j,k),V=n(E,N),{setItemMap:_}=V,B=a.useRef(S);Z(B.current,S)||(B.current=S);const G=B.current;return a.useEffect(()=>{const U=G;return _(A=>I?A.has(I)?A.set(I,{...U,element:I}).toSorted(K):(A.set(I,{...U,element:I}),A.toSorted(K)):A),()=>{_(A=>!I||!A.has(I)?A:(A.delete(I),new $(A)))}},[I,G,_]),g.jsx(C,{[w]:"",ref:L,children:O})});h.displayName=E;function p(){return a.useState(new $)}d(p,"useInitCollection");function M(c){const{itemMap:u}=n(r+"CollectionConsumer",c);return u}return d(M,"useCollection"),[{Provider:i,Slot:v,ItemSlot:h},{createCollectionScope:t,useCollection:M,useInitCollection:p}]}d(re,"createCollection");function Z(r,s){if(r===s)return!0;if(typeof r!="object"||typeof s!="object"||r==null||s==null)return!1;const e=Object.keys(r),t=Object.keys(s);if(e.length!==t.length)return!1;for(const o of e)if(!Object.prototype.hasOwnProperty.call(s,o)||r[o]!==s[o])return!1;return!0}d(Z,"shallowEqual");function ee(r,s){return!!(s.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING)}d(ee,"isElementPreceding");function K(r,s){return!r[1].element||!s[1].element?0:ee(r[1].element,s[1].element)?-1:1}d(K,"sortByDocumentPosition");function te(r){return new MutationObserver(e=>{for(const t of e)if(t.type==="childList"){r();return}})}d(te,"getChildListObserver");var se=Object.defineProperty,ie=(r,s)=>se(r,"name",{value:s,configurable:!0}),ce=a.createContext(void 0);function le(r){const s=a.useContext(ce);return r||s||"ltr"}ie(le,"useDirection");export{oe as c,le as u};

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.