PageSourceSearch

https://www.connect-events.fr/_next/static/chunks/pages/_app-da0834144249b46a.js

js connect-events.fr collected 2026-10-02 00:02:21 UTC 2,835,955 bytes, 28 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{291:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},539:(e,t,n)=>{"use strict";n.d(t,{Tr:()=>h,Yd:()=>p,ay:()=>f,cd:()=>w,gw:()=>m,oU:()=>s,tR:()=>g,uB:()=>b,xe:()=>v,yP:()=>y});var r=n(8544),i=n(43408),a=n(1715),o=n(51907);function s(e){return e=y(e,new(0,a.FG)),l((0,a.LA)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function l(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,o.Xj)())return -6e4*new Date(e).getTimezoneOffset();let{year:n,month:r,day:i,hour:a,minute:s,second:u}=d(e,t);return l(n,r,i,a,s,u,0)-1e3*Math.floor(e/1e3)}let c=new Map;function d(e,t){let n=c.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),c.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)"literal"!==e.type&&(i[e.type]=e.value);return{year:"BC"===i.era||"B"===i.era?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:"24"===i.hour?0:+i.hour,minute:+i.minute,second:+i.second}}function h(e,t,n="compatible"){var r,i,l;let c=g(e);if("UTC"===t)return s(c);if(t===(0,o.Xj)()&&"compatible"===n){c=y(c,new(0,a.FG));let e=new Date,t=(0,a.LA)(c.era,c.year);return e.setFullYear(t,c.month-1,c.day),e.setHours(c.hour,c.minute,c.second,c.millisecond),e.getTime()}let f=s(c),p=u(f-864e5,t),m=u(f+864e5,t),v=(r=c,((i=f-p)==(l=f-m)?[i]:[i,l]).filter(e=>{var n;let i;return n=r,i=d(e,t),n.year===i.year&&n.month===i.month&&n.day===i.day&&n.hour===i.hour&&n.minute===i.minute&&n.second===i.second}));if(1===v.length)return v[0];if(v.length>1)switch(n){case"compatible":case"earlier":return v[0];case"later":return v[v.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(f-p,f-m);case"compatible":case"later":return Math.max(f-p,f-m);case"reject":throw RangeError("No such absolute time found")}}function f(e,t,n="compatible"){return new Date(h(e,t,n))}function p(e,t){let n=u(e,t),i=new Date(e+n),a=i.getUTCFullYear(),o=i.getUTCMonth()+1,s=i.getUTCDate(),l=i.getUTCHours(),c=i.getUTCMinutes(),d=i.getUTCSeconds(),h=i.getUTCMilliseconds();return new(0,r.Ip)(a<1?"BC":"AD",a<1?-a+1:a,o,s,t,n,l,c,d,h)}function m(e){return new(0,r.ng)(e.calendar,e.era,e.year,e.month,e.day)}function g(e,t){let n=0,i=0,a=0,o=0;if("timeZone"in e)({hour:n,minute:i,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:i,second:a,millisecond:o}=t),new(0,r._l)(e.calendar,e.era,e.year,e.month,e.day,n,i,a,o)}function v(e){return new(0,r.gX)(e.hour,e.minute,e.second,e.millisecond)}function y(e,t){if((0,o.Jg)(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,(0,i.AU)(r),r}function b(e,t,n){if(e instanceof r.Ip){var i,a;return e.timeZone===t?e:(i=e,a=t,y(p(s(i)-i.offset,a),i.calendar))}return p(h(e,t,n),t)}function w(e){return new Date(s(e)-e.offset)}},620:(e,t,n)=>{var r=n(11229),i=n(16999),a=n(41016),o=n(62220),s=n(47508);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},749:(e,t,n)=>{"use strict";n.d(t,{R:()=>s,m:()=>o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),o=r.forwardRef((e,t)=>
1r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="InfoIcon";let s=o},831:(e,t,n)=>{var r=n(68988),i=n(22180);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},1278:(e,t,n)=>{var r=n(54703);e.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},1660:(e,t,n)=>{"use strict";n.d(t,{f$:()=>u,Gc:()=>B,u2:()=>x,Y_:()=>C,PS:()=>c,lF:()=>A,Jh:()=>L,bT:()=>N,E8:()=>M,Hi:()=>D,kZ:()=>V,e_:()=>U});var r=n(6029),i=n(21841),a=n(831),o=n.n(a),s=n(55729);let l=(0,s.createContext)({}),u=e=>{let{children:t,ws:n,app:a,messages:u}=e,[c,f]=(0,s.useState)(!1),[p,m]=(0,s.useState)(!0),[g,v]=(0,s.useState)(!1),{isConnected:y,sendMessage:b,subscribe:w}=n,[x,C]=(0,s.useState)([d,...u]);return(0,s.useEffect)(()=>{C([d,...u])},[u]),(0,s.useEffect)(()=>{if(!y)return;let e=w("new-chatbot-message",e=>{C(t=>o()([...t,{...e,state:i.y8Z.sent}],"id")),v(!1)});return()=>{e()}},[w,y]),(0,r.jsx)(l.Provider,{value:{setShowWindow:f,showWindow:c,showWidget:p,setShowWidget:m,isBotWriting:g,messages:x,sendMessage:e=>{let t={id:h(),content:e,app:a,createdAt:new Date,knowledgeBaseUsed:!1};C(e=>[...e,{...t,state:i.y8Z.sending,from:i.FxE.user}]),v(!0),b("new-chatbot-message",t,e=>{"error"===e.status?(C(e=>e.filter(e=>e.id!==t.id)),console.error("Error sending message to WebSocket")):C(n=>n.map(n=>n.id===t.id?{...n,id:e.data.id,state:i.y8Z.sent,from:i.FxE.user}:n))})}},children:t})},c=()=>{let e=s.useContext(l);if(!e)throw Error("useChatbot must be used within a ChatbotProvider");return e},d={id:h(),content:"Comment puis-je vous aider aujourd'hui?",createdAt:new Date,state:i.y8Z.sent,from:i.FxE.bot,knowledgeBaseUsed:!1};function h(){return Date.now().toString()}var f=n(73492);let p="guest_cart_v1",m=function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}(),g=()=>void 0!==window.localStorage?{getItem:e=>window.localStorage.getItem(e),setItem:(e,t)=>window.localStorage.setItem(e,t),removeItem:e=>window.localStorage.removeItem(e)}:null,v=e=>e.filter(e=>e.quantity>0),y=()=>{let e=g();if(!e)return{};let t=e.getItem(p);if(!t)return{};try{let e=JSON.parse(t);if(!e||"object"!=typeof e)return{};return e}catch(e){return{}}},b=e=>{var t;return v(null!=(t=y()[e])?t:[])},w=(e,t)=>{let n=y(),r=v(t);return 0===r.length?delete n[e]:n[e]=r,(e=>{let t=g();t&&(t.setItem(p,JSON.stringify(e)),m.emit("change",e))})(n),r},x=e=>{w(e,[])},C=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",t=b(e);if(0===t.length)return!1;let n=t.map(e=>({buyableItem:e.buyableItem,quantity:e.quantity}));return await (0,f.IPk)({items:n},e),x(e),!0};var E=n(74312),S=n.n(E);let A=e=>{let[t,n]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=()=>{let t=S()();return n(t),setTimeout(e,(60-t.second())*1e3-t.millisecond()+50)},t=e();return()=>clearTimeout(t)},[]);let{daysDiff:r,hoursDiff:i,minutesDiff:a}=(0,s.useMemo)(()=>t?((e,t)=>{let n=S()(e),r=n.diff(t,"day"),i=n.diff(t,"hour")-24*r,a=n.diff(t,"minute")-24*r*60-60*i;return{daysDiff:r,hoursDiff:i,minutesDiff:a}})(e,t):{daysDiff:0,hoursDiff:0,minutesDiff:0},[e,t]);return{daysDiff:r,hoursDiff:i,minutesDiff:a,now:t}};var k=n(17325);let N=e=>{let{event:t,type:n=["ticket","badge","activity"],isProfessional:r,additionalUserTypes:i=[]}=e,a=(0,s.useCallback)(e=>!!r||"visitor"===e.userType||"all"===e.userType||null!==e.userType&&i.includes(e.userType),[r,i]),[o,l]=(0,s.useMemo)(()=>{var e;return null!=(e=null==t?void 0:t.ticketTypes.reduce((e,t)=>(null===t.activityId?e[0].push(t):e[1].push(t),e),[[],[]]))?e:[[],[]]},[t]),u=(0,s.useMemo)(()=>{var e;return null!=(e=null==t?void 0:t.badgeTypes.filter(e=>(null==t?void 0:t.areBadgesOnline)||"visitor"!==e.userType))?e:[]},[t]),{availableTicketTypes:c,availableBadgeTypes:d,availableActivityTicketTypes:h}=(0,s.useMemo)(()=>({availableTicketTypes:o.filter(a),availableBadgeTypes:u.filter(a),availableActivityTicketTypes:l.filter(a)}),[l,u,a,o]),f=(0,s.useMemo)(()=>t?{id:t.id,name:t.name}:void 0,[t]);return{ticketTypes:o,activityTicketTypes:l,badgeTypes:u,availableEntries:(0,s.useMemo)(()=>{let e=n.includes("badge")?d.map(e=>({buyableItem:(0,k.AV6)({buyableType:"badge",badgeType:{id:e.id,name:e.name,quantityLeft:e.quantityLeft,groupMinSize:e.groupMinSize,event:f}}),pricing:e.pricing})):[];return[...e,...n.includes("ticket")?c.map(e=>({buyableItem:(0,k.AV6)({buyableType:"ticket",ticketType:{id:e.id,name:e.name,quantityLeft:e.quantityLeft,groupMinSize:e.groupMinSize,event:f}}),pricing:e.pricing})):[],...n.includes("activity")?h.map(e=>({buyableItem:(0,k.AV6)({buyableType:"ticket",ticketType:{id:e.id,name:e.name,quantityLeft:e.quantityLeft,groupMinSize:e.groupMinSize,event:f}}),pricing:e.pricing})):[]]},[d,c,h,n,f]),availableTicketTypes:c,availableBadgeTypes:d,availableActivityTicketTypes:h}};var P=n(26194),I=n.n(P);let T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.filter(e=>e.quantity>0);if(0===n.length)return{total:0,exclTaxesTotal:0,discount:0,discountExclTaxes:0};let r=(0,k.J5Q)(n.map(e=>({pricing:e.pricing,quantity:e.quantity,appliedDiscountCodes:t})));return{items:r.items,total:(0,k.KBx)(r.finalPrice),exclTaxesTotal:(0,k.KBx)(r.finalExclTaxesPrice),discount:(0,k.KBx)(r.degressiveDiscountAmount+r.codeDiscountAmount),degressiveDiscount:(0,k.KBx)(r.degressiveDiscountAmount),co
1deDiscount:(0,k.KBx)(r.codeDiscountAmount),discountExclTaxes:(0,k.KBx)(r.degressiveDiscountAmountExclTaxes+r.codeDiscountAmountExclTaxes)}},O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],[r,i]=(0,s.useState)({}),a=(0,s.useMemo)(()=>{let n={};return e.forEach(e=>{let i=(0,k.GaV)(e.buyableItem),a=r[i]||0,o=t[i]||0;n[i]=a+o}),n},[e,r,t]),l=(0,s.useMemo)(()=>I()(o()(e.map(e=>{let t=(0,k.GaV)(e.buyableItem);return{...e,key:t,quantity:a[t]||0}}),"key"),e=>e.key),[e,a]),u=(0,s.useMemo)(()=>o()(e.map(e=>{let n=(0,k.GaV)(e.buyableItem);return{...e,key:n,quantity:t[n]||0}}),e=>e.key),[e,t]),c=(0,s.useMemo)(()=>o()(e.map(e=>{let t=(0,k.GaV)(e.buyableItem);return{...e,key:t,quantity:r[t]||0}}),e=>e.key),[e,r]),d=(0,s.useMemo)(()=>T(l,n),[l,n]),h=(0,s.useMemo)(()=>T(u,n),[u,n]),f=(0,s.useMemo)(()=>({total:d.total-h.total,exclTaxesTotal:d.exclTaxesTotal-h.exclTaxesTotal,discount:d.discount-h.discount,discountExclTaxes:d.discountExclTaxes-h.discountExclTaxes}),[d,h]),p=(0,s.useCallback)((e,t)=>{i(n=>({...n,[e]:t}))},[]),m=(0,s.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;i(n=>({...n,[e]:(n[e]||0)+t}))},[]),g=(0,s.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;i(n=>({...n,[e]:(n[e]||0)-t}))},[]),v=(0,s.useCallback)(e=>{i(t=>Object.fromEntries(Object.entries(t).map(t=>{let[n,r]=t;return[n,r-(e[n]||0)]})))},[]),y=(0,s.useCallback)(e=>t[e]||0,[t]),b=(0,s.useCallback)(e=>{let t=-y(e);p(e,t)},[p,y]),w=(0,s.useCallback)(()=>{i({})},[]),x=(0,s.useCallback)(e=>r[e]||0,[r]),C=(0,s.useCallback)(e=>a[e]||0,[a]),E=(0,s.useCallback)(e=>{var t,n;let r=null==(t=l.find(t=>t.key===e))?void 0:t.pricing;return null==(n=d.items)?void 0:n.find(e=>e.pricingId===(null==r?void 0:r.id))},[l,d.items]);return{cartItems:l,baseCartItems:u,localCartItems:c,totalPricing:d,basePricing:h,localPricing:f,localQuantities:r,baseQuantities:t,totalQuantities:a,setQuantity:p,incrementItem:m,decrementItem:g,decrementItems:v,removeItem:b,resetCart:w,getLocalQuantity:x,getBaseQuantity:y,getTotalQuantity:C,getItemFinalPricing:E}},L=e=>{let{event:t,additionalUserTypes:n=["group","exhibitor"]}=e,{availableEntries:r,availableTicketTypes:i,availableBadgeTypes:a,availableActivityTicketTypes:o}=N({event:t,isProfessional:!1,additionalUserTypes:n}),l=O(r),u=(0,s.useMemo)(()=>i.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"ticket",ticketType:{id:e.id}})})),[i]);return{localCart:l,buyableTicketTypes:u,buyableBadgeTypes:(0,s.useMemo)(()=>a.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"badge",badgeType:{id:e.id}})})),[a]),buyableActivityTicketTypes:(0,s.useMemo)(()=>o.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"ticket",ticketType:{id:e.id}})})),[o]),availableTicketTypes:i,availableBadgeTypes:a,availableActivityTicketTypes:o}},M=e=>{let{eventId:t,eventSlug:n,hasPassword:r,storage:i}=e,a=(0,s.useMemo)(()=>n?"".concat("event-token-").concat(n):null,[n]),[o,l]=(0,s.useState)(()=>!r||!!a&&!!i&&!!i.getItem(a));(0,s.useEffect)(()=>r?a&&i?void l(!!i.getItem(a)):void l(!1):void l(!0),[r,i,a]);let{mutateAsync:u,isPending:c}=(0,f.ZyR)();return{isAuthenticated:o,shouldAskPassword:!!r&&!o,isVerifyingPassword:c,verifyPassword:(0,s.useCallback)(async e=>{if(!t)throw Error("EVENT_ID_MISSING");let{token:n}=await u({eventId:t,password:e});return a&&i&&i.setItem(a,n),l(!0),n},[t,u,i,a])}},D=(e,t)=>{(0,s.useEffect)(()=>{if(!e)return;let n=setInterval(()=>{t()},k.aNY);return()=>clearInterval(n)},[e,t])};var j=n(93251),_=n(83817),R=n.n(_),F=n(59018),z=n.n(F);let B="order_redirect",V=e=>{var t;let{basketType:n,isAuthenticated:r}=e,i=(0,j.jE)(),[a,o]=(0,s.useState)(()=>r?[]:b(n)),{data:l,isLoading:u,refetch:c}=(0,f.bP)(n),{mutate:d,isPending:h}=(0,f.Imk)(n),p=r||(null!=(t=null==l?void 0:l.basketItem.length)?t:0)>0,g=(0,s.useMemo)(()=>p&&l?(e=>(null==e?void 0:e.itemBreakdowns)?e.itemBreakdowns.map(e=>({buyableItem:e.buyableItem,pricing:e.basePricing})):[])(l):a.map(e=>({buyableItem:e.buyableItem,pricing:e.pricing})),[l,a,p]),v=(0,s.useMemo)(()=>p&&l?(e=>{if(!(null==e?void 0:e.basketItem))return{};let t={};
1return e.basketItem.forEach(e=>{let n=(0,k.GaV)(e.buyableItem);t[n]=(t[n]||0)+1}),t})(l):(e=>{let t={};return e.forEach(e=>{t[e.key]=(t[e.key]||0)+e.quantity}),t})(a),[l,a,p]),y=O(g,v,(0,s.useMemo)(()=>{var e;return null!=(e=null==l?void 0:l.appliedDiscountCodes)?e:[]},[l])),{totalQuantities:x,localQuantities:C,cartItems:E}=y,S=(0,s.useMemo)(()=>{var e,t;return null!=(t=null==l||null==(e=l.basketItem)?void 0:e.some(e=>null!==e.error))&&t},[null==l?void 0:l.basketItem]),A=(0,s.useMemo)(()=>!r||R()(x,v),[v,r,x]),N=(0,s.useCallback)(e=>{var t,n;let r=(0,k._iL)(null!=(t=null==l?void 0:l.basketItem)?t:[]);return z()((null!=(n=r[e])?n:[]).map(e=>e.error).filter(e=>null!==e))},[null==l?void 0:l.basketItem]),P=(0,s.useCallback)(e=>{if(!A||!r){if(!r){o(w(n,E.map(e=>({key:e.key,buyableItem:e.buyableItem,pricing:e.pricing,quantity:e.quantity})))),y.decrementItems(C);return}d({type:n,items:E.map(e=>({buyableItem:e.buyableItem,quantity:e.quantity}))},{...e,onSuccess:function(t){for(var r,a=arguments.length,o=Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];null==e||null==(r=e.onSuccess)||r.call(e,t,...o),i.setQueryData(f.f9K.get(n),()=>t.basket),y.decrementItems(C)},onError:function(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==e||null==(t=e.onError)||t.call(e,...r),y.decrementItems(C)}})}},[n,E,r,A,y,C,d,i]),I=function(e,t){let{delay:n,flushOnUnmount:r,leading:i}={delay:400,flushOnUnmount:!1,leading:!1},a=function(e){let t=(0,s.useRef)(e);return(0,s.useEffect)(()=>{t.current=e}),(0,s.useMemo)(()=>(...e)=>t.current?.(...e),[])}(e),o=(0,s.useRef)(0),l=(0,s.useMemo)(()=>{let e=Object.assign((...t)=>{window.clearTimeout(o.current);let r=e._isFirstCall;function s(){window.clearTimeout(o.current),o.current=0,e._isFirstCall=!0}if(e._isFirstCall=!1,i&&r){a(...t),e.flush=()=>{0!==o.current&&(s(),a(...t))},e.cancel=()=>{s()},o.current=window.setTimeout(()=>{s()},n);return}if(i&&!r){e.flush=()=>{0!==o.current&&(s(),a(...t))},e.cancel=()=>{s()},o.current=window.setTimeout(()=>{s()},n);return}let l=()=>{0!==o.current&&(s(),a(...t))};e.flush=l,e.cancel=()=>{s()},o.current=window.setTimeout(l,n)},{flush:()=>{},cancel:()=>{},_isFirstCall:!0});return e},[a,n,i]);return(0,s.useEffect)(()=>()=>{r?l.flush():l.cancel()},[l,r]),l}(P,400);(0,s.useEffect)(()=>{Object.values(C).some(e=>0!==e)&&!h&&I()},[C,I,A,h]);let T=(0,s.useMemo)(()=>l?new Map(l.basketItem.map(e=>[e.id,e])):null,[null==l?void 0:l.basketItem]),L=(0,s.useMemo)(()=>r?(null==l?void 0:l.basketItem)&&(null==l?void 0:l.basketItem.length)>0:E.some(e=>e.quantity>0),[null==l?void 0:l.basketItem,E,r]);return(0,s.useEffect)(()=>{r||o(b(n))},[n,r]),(0,s.useEffect)(()=>{if(r)return;let e=()=>{o(b(n))};return m.on("change",e),()=>{m.off("change",e)}},[n,r]),{cart:l,basketItemMap:T,baseCartHasError:S,getErrors:N,isLoading:u||h,isMutating:h,isSynced:A,hasItems:L,getOrderRedirect:()=>{let e=localStorage.getItem(B);return localStorage.removeItem(B),null!=e?e:"/"},setOrderRedirect:e=>{localStorage.setItem(B,e)},forceMutate:P,mutateCart:P,refetchCart:c,...y}},U=e=>{let{onAddToCartMutationSuccess:t,onAddToCartMutationError:n,ticketTypes:r=[],badgeTypes:i=[],activityTicketTypes:a=[],availableEntries:o,basketType:l,isAuthenticated:u,onItemValidationError:c}
1=e,[d,h]=(0,s.useState)(""),{localCart:p,mutateCart:m,...g}=(e=>{let{basketType:t,availableBuyableItems:n,isAuthenticated:r,onAddToCartMutationSuccess:i,onAddToCartMutationError:a}=e,{data:o,isLoading:l}=(0,f.bP)(t),{mutate:u,isPending:c}=(0,f.m9u)(t,{onSuccess:i,onError:a}),d=(0,s.useMemo)(()=>r?[]:b(t),[t,r]),h=(0,s.useMemo)(()=>{let e=n.map(e=>(0,k.GaV)(e.buyableItem));return o?((e,t)=>{if(!e.basketItem)return{};let n={};return e.basketItem.forEach(e=>{let r=(0,k.GaV)(e.buyableItem);t.includes(r)&&(n[r]=(n[r]||0)+1)}),n})(o,e):{}},[o,n]),p=(0,s.useMemo)(()=>{if(r||0===d.length)return{};let e=new Set(n.map(e=>(0,k.GaV)(e.buyableItem))),t={};return d.forEach(n=>{e.has(n.key)&&(t[n.key]=(t[n.key]||0)+n.quantity)}),t},[n,d,r]),m=O(n,r?h:p),{localCartItems:g}=m;return{localCart:m,mutateCart:(0,s.useCallback)(e=>{var n,a;let o=g.filter(e=>e.quantity>0);if(0===o.length){let t={items:[]},r={};null==e||null==(n=e.onSuccess)||n.call(e,void 0,t,void 0,r),null==i||i(void 0,t,void 0,r);return}let s=o.map(e=>({buyableItem:e.buyableItem,quantity:e.quantity}));if(!r){console.log("[HydratedLocalCart] No access token, saving to guest cart",o.length,"items"),((e,t)=>{let n=b(e),r=new Map;return n.forEach(e=>r.set(e.key,e)),t.forEach(e=>{var t;let n=r.get(e.key),i=(null!=(t=null==n?void 0:n.quantity)?t:0)+e.quantity;r.set(e.key,{...e,quantity:i})}
1),w(e,Array.from(r.values()))})(t,o.map(e=>({key:e.key,buyableItem:e.buyableItem,pricing:e.pricing,quantity:e.quantity})));let n={items:s},r={};null==e||null==(a=e.onSuccess)||a.call(e,void 0,n,void 0,r),null==i||i(void 0,n,void 0,r);return}u({items:s},e)},[t,r,g,u,i]),isPending:c,isLoading:l}})({basketType:l,availableBuyableItems:o,isAuthenticated:u,onAddToCartMutationSuccess:t,onAddToCartMutationError:n}),{localCartItems:v,cartItems:y,resetCart:x}=p,C=v.filter(e=>e.quantity>0),E=y.filter(e=>e.quantity>0),S=C.some(e=>"badge"===e.buyableItem.buyableType),A=C.some(e=>"ticket"===e.buyableItem.buyableType),N=S?A?"Billets et badges":"Badges":"Billets",P=(0,s.useMemo)(()=>r.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"ticket",ticketType:{id:e.id}})})),[r]);return{error:d,localCart:p,handleAddToCart:()=>{(()=>{for(let t of E.filter(e=>"ticket"===e.buyableItem.buyableType)){var e;let n=null==(e=t.buyableItem.ticketType)?void 0:e.id;if(!n)throw Error("Ticket type ID is required");let i=[...r,...a].find(e=>e.id===n);if(!i)throw Error("Ticket type not found");let o=t.quantity;if(i&&null!==i.groupMinSize&&o<i.groupMinSize){let e="Le nombre de ".concat(N.toLowerCase()," pour ").concat(i.name," doit \xeatre d'au moins ").concat(i.groupMinSize,".");return null==c||c(e),h(e),!1}}return!0})()&&(h(""),m({onSuccess:()=>{x()}}))},buyableTicketTypes:P,buyableActivityTicketTypes:(0,s.useMemo)(()=>a.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"ticket",ticketType:{id:e.id}})})),[a]),buyableBadgeTypes:(0,s.useMemo)(()=>i.map(e=>({entryType:e,itemKey:(0,k.GaV)({buyableType:"badge",badgeType:{id:e.id}})})),[i]),...g}}},1715:(e,t,n)=>{"use strict";n.d(t,{FG:()=>u,LA:()=>s});var r=n(8544);function i(e,t){return e-t*Math.floor(e/t)}function a(e,t,n,r){let i=(t=s(e,t))-1,a=-2;return n<=2?a=0:o(t)&&(a=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function o(e){return e%4==0&&(e%100!=0||e%400==0)}function s(e,t){return"BC"===e?1-t:t}let l={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class u{fromJulianDay(e){var t;let n,s=e-1721426,l=Math.floor(s/146097),u=i(s,146097),c=Math.floor(u/36524),d=i(u,36524),h=Math.floor(d/1461),f=Math.floor(i(d,1461)/365),[p,m]=(n="AD",(t=400*l+100*c+4*h+f+ +(4!==c&&4!==f))<=0&&(n="BC",t=1-t),[n,t]),g=e-a(p,m,1,1),v=2;e<a(p,m,3,1)?v=0:o(m)&&(v=1);let y=Math.floor(((g+v)*12+373)/367),b=e-a(p,m,y,1)+1;return new(0,r.ng)(p,m,y,b)}toJulianDay(e){return a(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return l[o(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return o(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}},1853:e=>{"use strict";e.exports
vendor: 8,767 bytes, line 1
1=JSON.parse('[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKK","983","ISO 3166-2:XK"]]')}
1,1864:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},1909:(e,t,n)=>{"use strict";n.d(t,{FH:()=>P,Gb:()=>O,Jt:()=>m,Op:()=>C,as:()=>I,hZ:()=>g,jz:()=>ey,mN:()=>eb,xI:()=>T,xW:()=>x});var r=n(55729),i=e=>e instanceof Date,a=e=>null==e,o=e=>!a(e)&&!Array.isArray(e)&&"object"==typeof e&&!i(e),s=e=>o(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,l=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),u="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function c(e){let t,n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(!(!(u&&(e instanceof Blob||r))&&(n||o(e))))return e;else if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||(e=>{let t=e.constructor&&e.constructor.prototype;return o(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=c(e[n]));else t=e;return t}var d=e=>/^\w*$/.test(e),h=e=>void 0===e,f=e=>Array.isArray(e)?e.filter(Boolean):[],p=e=>f(e.replace(/["|']|\]/g,"").split(/\.|\[/)),m=(e,t,n)=>{if(!t||!o(e))return n;let r=(d(t)?[t]:p(t)).reduce((e,t)=>a(e)?e:e[t],e);return h(r)||r===e?h(e[t])?n:e[t]:r},g=(e,t,n)=>{let r=-1,i=d(t)?[t]:p(t),a=i.length,s=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==s){let n=e[t];a=o(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let v={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},y={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},b={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},w=r.createContext(null);w.displayName="HookFormContext";let x=()=>r.useContext(w),C=e=>{let{children:t,...n}=e;return r.createElement(w.Provider,{value:n},t)};var E=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>(t._proxyFormState[a]!==y.all&&(t._proxyFormState[a]=!r||y.all),n&&(n[a]=!0),e[a])});return i};let S="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var A=(e,t,n,r,i)=>"string"==typeof e?(r&&t.watch.add(e),m(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),m(n,e))):(r&&(t.watchAll=!0),n),k=e=>a(e)||"object"!=typeof e;function N(e,t,n=new WeakSet){if(k(e)||k(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;if(n.has(e)||n.has(t))return!0;for(let s of(n.add(e),n.add(t),r)){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||o(r)&&o(e)||Array.isArray(r)&&Array.isArray(e)?!N(r,e,n):r!==e)return!1}}return!0}function P(e){let t=x(),{control:n=t.control,name:i,defaultValue:a,disabled:o,exact:s,compute:l}=e||{},u=r.useRef(a),c=r.useRef(l),d=r.useRef(void 0);c.current=l;let h=r.useMemo(()=>n._getWatch(i,u.current),[n,i]),[f,p]=r.useState(c.current?c.current(h):h);return S(()=>n._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{if(!o){let t=A(i,n._names,e.values||n._formValues,!1,u.current);if(c.current){let e=c.current(t);N(e,d.current)||(p(e),d.current=e)}else p(t)}}}),[n,o,i,s]),r.useEffect(()=>n._removeUnmounted()),f}function I(e){let t=x(),{name:n,disabled:i,control:a=t.control,shouldUnregister:o,defaultValue:u}=e,d=l(a._names.array,n),f=r.useMemo(()=>m(a._formValues,n,m(a._defaultValues,n,u)),[a,n,u]),p=P({control:a,name:n,defaultValue:f,exact:!0}),y=function(e){let t=x(),{control:n=t.control,disabled:i,name:a,exact:o}=e||{},[s,l]=r.useState(n._formState),u=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return S(()=>n._subscribe({name:a,formState:u.current,exact:o,callback:e=>{i||l({...n._formState,...e})}}),[a,i,o]),r.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>E(s,n,u.current,!1),[s,n])}({control:a,name:n,exact:!0}),b=r.useRef(e),w=r.useRef(a.register(n,{...e.rules,value:p,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));b.current=e;let C=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!m(y.errors,n)},isDirty:{enumerable:!0,get:()=>!!m(y.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!m(y.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!m(y.validatingFields,n)},error:{enumerable:!0,get:()=>m(y.errors,n)}}),[y,n]),A=r.useCallback(e=>w.current.onChange({target:{value:s(e),name:n},type:v.CHANGE}),[n]),k=r.useCallback(()=>w.current.onBlur({target:{value:m(a._formValues,n),name:n},type:v.BLUR}),[n,a._formValues]),N=r.useCallback(e=>{let t=m(a._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[a._fields,n]),I=r.useMemo(()=>({name:n,value:p,..."boolean"==typeof i||y.disabled?{disabled:y.disabled||i}:{},onChange:A,onBlur:k,ref:N}),[n,i,y.disabled,A,k,N,p]);return r.useEffect(()=>{let e=a._options.shouldUnregister||o;a.register(n,{...b.current.rules,..."boolean"==typeof b.current.disabled?{disabled:b.current.disabled}:{}});let t=(e,t)=>{let n=m(a._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=c(m(a._options.defaultValues,n));g(a._defaultValues,n,e),h(m(a._formValues,n))&&g(a._formValues,n,e)}return d||a.register(n),()=>{(d?e&&!a._state.action:e)?a.unregister(n):t(n,!1)}},[n,a,d,o]),r.useEffect(()=>{a._setDisabledField({disabled:i,name:n})},[i,n,a]),r.useMemo(()=>({field:I,formState:y,fieldState:C}),[I,y,C])}let T=e=>e.render(I(e));var O=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},L=e=>Array.isArray(e)?e:[e],M=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},D=e=>o(e)&&!Object.keys(e).length,j=e=>"function"==typeof e,_=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},R=e=>_(e)&&e.isConnected;function F(e,t){let n=Array.isArray(t)?t:d(t)?[t]:p(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=h(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(o(r)&&D(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!h(e[t]))return!1;return!0}(r))&&F(e,n.slice(0,-1)),e}var z=e=>{for(let t in e)if(j(e[t]))return!0;return!1};function B(e,t={}){let n=Array.isArray(e);if(o(e)||n)for(let n in e)Array.isArray(e[n])||o(e[n])&&!z(e[n])?(t[n]=Array.isArray(e[n])?[]:{}
1,B(e[n],t[n])):a(e[n])||(t[n]=!0);return t}var V=(e,t)=>(function e(t,n,r){let i=Array.isArray(t);if(o(t)||i)for(let i in t)Array.isArray(t[i])||o(t[i])&&!z(t[i])?h(n)||k(r[i])?r[i]=Array.isArray(t[i])?B(t[i],[]):{...B(t[i])}:e(t[i],a(n)?{}:n[i],r[i]):r[i]=!N(t[i],n[i]);return r})(e,t,B(t));let U={value:!1,isValid:!1},q={value:!0,isValid:!0};var H=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!h(e[0].attributes.value)?h(e[0].value)||""===e[0].value?q:{value:e[0].value,isValid:!0}:q:U}return U},Z=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>h(e)?e:t?""===e?NaN:e?+e:e:n&&"string"==typeof e?new Date(e):r?r(e):e;let W={isValid:!1,value:null};var G=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,W):W;function $(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?G(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?H(e.refs).value:Z(h(t.value)?e.ref.value:t.value,e)}var K=e=>h(e)?e:e instanceof RegExp?e.source:o(e)?e.value instanceof RegExp?e.value.source:e.value:e,Y=e=>({isOnSubmit:!e||e===y.onSubmit,isOnBlur:e===y.onBlur,isOnChange:e===y.onChange,isOnAll:e===y.all,isOnTouch:e===y.onTouched});let X="AsyncFunction";var Q=e=>!!e&&!!e.validate&&!!(j(e.validate)&&e.validate.constructor.name===X||o(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===X)),J=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let ee=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=m(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;else if(e.ref&&t(e.ref,e.name)&&!r)return!0;else if(ee(a,t))break}else if(o(a)&&ee(a,t))break}}};function et(e,t,n){let r=m(e,n);if(r||d(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),a=m(t,r),o=m(e,r);if(a&&!Array.isArray(a)&&n!==r)break;if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var en=(e,t,n)=>{let r=L(m(e,n));return g(r,"root",t[n]),g(e,n,r),e},er=e=>"string"==typeof e;function ei(e,t,n="validate"){if(er(e)||Array.isArray(e)&&e.every(er)||"boolean"==typeof e&&!e)return{type:n,message:er(e)?e:"",ref:t}}var ea=e=>!o(e)||e instanceof RegExp?{value:e,message:""}:e,eo=async(e,t,n,r,i,s)=>{let{ref:l,refs:u,required:c,maxLength:d,minLength:f,min:p,max:g,pattern:v,validate:y,name:w,valueAsNumber:x,mount:C}=e._f,E=m(n,w);if(!C||t.has(w))return{};let S=u?u[0]:l,A=e=>{i&&S.reportValidity&&(S.setCustomValidity("boolean"==typeof e?"":e||""),S.reportValidity())},k={},N="radio"===l.type,P="checkbox"===l.type,I=(x||"file"===l.type)&&h(l.value)&&h(E)||_(l)&&""===l.value||""===E||Array.isArray(E)&&!E.length,T=O.bind(null,w,r,k),L=(e,t,n,r=b.maxLength,i=b.minLength)=>{let a=e?t:n;k[w]={type:e?r:i,message:a,ref:l,...T(e?r:i,a)}};if(s?!Array.isArray(E)||!E.length:c&&(!(N||P)&&(I||a(E))||"boolean"==typeof E&&!E||P&&!H(u).isValid||N&&!G(u).isValid)){let{value:e,message:t}=er(c)?{value:!!c,message:c}:ea(c);if(e&&(k[w]={type:b.required,message:t,ref:S,...T(b.required,t)},!r))return A(t),k}if(!I&&(!a(p)||!a(g))){let e,t,n=ea(g),i=ea(p);if(a(E)||isNaN(E)){let r=l.valueAsDate||new Date(E),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,s="week"==l.type;"string"==typeof n.value&&E&&(e=o?a(E)>a(n.value):s?E>n.value:r>new Date(n.value)),"string"==typeof i.value&&E&&(t=o?a(E)<a(i.value):s?E<i.value:r<new Date(i.value))}else{let r=l.valueAsNumber||(E?+E:E);a(n.value)||(e=r>n.value),a(i.value)||(t=r<i.value)}if((e||t)&&(L(!!e,n.message,i.message,b.max,b.min),!r))return A(k[w].message),k}if((d||f)&&!I&&("string"==typeof E||s&&Array.isArray(E))){let e=ea(d),t=ea(f),n=!a(e.value)&&E.length>+e.value,i=!a(t.value)&&E.length<+t.value;if((n||i)&&(L(n,e.message,t.message),!r))return A(k[w].message),k}if(v&&!I&&"string"==typeof E){let{value:e,message:t}=ea(v);if(e instanceof RegExp&&!E.match(e)&&(k[w]={type:b.pattern,message:t,ref:l,...T(b.pattern,t)},!r))return A(t),k}if(y){if(j(y)){let e=ei(await y(E,n),S);if(e&&(k[w]={...e,...T(b.validate,e.message)},!r))return A(e.message),k}else if(o(y)){let e={};for(let t in y){if(!D(e)&&!r)break;let i=ei(await y[t](E,n),S,t);
1i&&(e={...i,...T(t,i.message)},A(i.message),r&&(k[w]=e))}if(!D(e)&&(k[w]={ref:S,...e},!r))return k}}return A(!0),k};let es={mode:y.onSubmit,reValidateMode:y.onChange,shouldFocusError:!0};var el=()=>{if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID();let e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},eu=(e,t,n={})=>n.shouldFocus||h(n.shouldFocus)?n.focusName||`${e}.${h(n.focusIndex)?t:n.focusIndex}.`:"",ec=(e,t)=>[...e,...L(t)],ed=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function eh(e,t,n){return[...e.slice(0,t),...L(n),...e.slice(t)]}var ef=(e,t,n)=>Array.isArray(e)?(h(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],ep=(e,t)=>[...L(t),...L(e)],em=(e,t)=>h(t)?[]:function(e,t){let n=0,r=[...e];for(let e of t)r.splice(e-n,1),n++;return f(r).length?r:[]}(e,L(t).sort((e,t)=>e-t)),eg=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},ev=(e,t,n)=>(e[t]=n,e);function ey(e){let t=x(),{control:n=t.control,name:i,keyName:a="id",shouldUnregister:o,rules:s}=e,[l,u]=r.useState(n._getFieldArray(i)),d=r.useRef(n._getFieldArray(i).map(el)),h=r.useRef(l),f=r.useRef(!1);h.current=l,n._names.array.add(i),r.useMemo(()=>s&&n.register(i,s),[n,s,i]),S(()=>n._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===i||!t){let t=m(e,i);Array.isArray(t)&&(u(t),d.current=t.map(el))}}}).unsubscribe,[n,i]);let p=r.useCallback(e=>{f.current=!0,n._setFieldArray(i,e)},[n,i]);return r.useEffect(()=>{if(n._state.action=!1,J(i,n._names)&&n._subjects.state.next({...n._formState}),f.current&&(!Y(n._options.mode).isOnSubmit||n._formState.isSubmitted)&&!Y(n._options.reValidateMode).isOnSubmit)if(n._options.resolver)n._runSchema([i]).then(e=>{let t=m(e.errors,i),r=m(n._formState.errors,i);(r?!t&&r.type||t&&(r.type!==t.type||r.message!==t.message):t&&t.type)&&(t?g(n._formState.errors,i,t):F(n._formState.errors,i),n._subjects.state.next({errors:n._formState.errors}))});else{let e=m(n._fields,i);e&&e._f&&!(Y(n._options.reValidateMode).isOnSubmit&&Y(n._options.mode).isOnSubmit)&&eo(e,n._names.disabled,n._formValues,n._options.criteriaMode===y.all,n._options.shouldUseNativeValidation,!0).then(e=>!D(e)&&n._subjects.state.next({errors:en(n._formState.errors,e,i)}))}n._subjects.state.next({name:i,values:c(n._formValues)}),n._names.focus&&ee(n._fields,(e,t)=>{if(n._names.focus&&t.startsWith(n._names.focus)&&e.focus)return e.focus(),1}),n._names.focus="",n._setValid(),f.current=!1},[l,i,n]),r.useEffect(()=>(m(n._formValues,i)||n._setFieldArray(i),()=>{n._options.shouldUnregister||o?n.unregister(i):((e,t)=>{let r=m(n._fields,e);r&&r._f&&(r._f.mount=t)})(i,!1)}),[i,n,a,o]),{swap:r.useCallback((e,t)=>{let r=n._getFieldArray(i);eg(r,e,t),eg(d.current,e,t),p(r),u(r),n._setFieldArray(i,r,eg,{argA:e,argB:t},!1)},[p,i,n]),move:r.useCallback((e,t)=>{let r=n._getFieldArray(i);ef(r,e,t),ef(d.current,e,t),p(r),u(r),n._setFieldArray(i,r,ef,{argA:e,argB:t},!1)},[p,i,n]),prepend:r.useCallback((e,t)=>{let r=L(c(e)),a=ep(n._getFieldArray(i),r);n._names.focus=eu(i,0,t),d.current=ep(d.current,r.map(el)),p(a),u(a),n._setFieldArray(i,a,ep,{argA:ed(e)})},[p,i,n]),append:r.useCallback((e,t)=>{let r=L(c(e)),a=ec(n._getFieldArray(i),r);n._names.focus=eu(i,a.length-1,t),d.current=ec(d.current,r.map(el)),p(a),u(a),n._setFieldArray(i,a,ec,{argA:ed(e)})},[p,i,n]),remove:r.useCallback(e=>{let t=em(n._getFieldArray(i),e);d.current=em(d.current,e),p(t),u(t),Array.isArray(m(n._fields,i))||g(n._fields,i,void 0),n._setFieldArray(i,t,em,{argA:e})},[p,i,n]),insert:r.useCallback((e,t,r)=>{let a=L(c(t)),o=eh(n._getFieldArray(i),e,a);n._names.focus=eu(i,e,r),d.current=eh(d.current,e,a.map(el)),p(o),u(o),n._setFieldArray(i,o,eh,{argA:e,argB:ed(t)})},[p,i,n]),update:r.useCallback((e,t)=>{let r=c(t),a=ev(n._getFieldArray(i),e,r);d.current=[...a].map((t,n)=>t&&n!==e?d.current[n]:el()),p(a),u([...a]),n._setFieldArray(i,a,ev,{argA:e,argB:r},!0,!1)},[p,i,n]),replace:r.useCallback(e=>{let t=L(c(e));d.current=t.map(el),p([...t]),u([...t]),n._setFieldArray(i,[...t],e=>e,{},!0,!1)},[p,i,n]),fields:r.useMemo(()=>l.map((e,t)=>({...e,[a]:d.current[t]||el()})),[l,a])}}function eb(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[d,p]=r.useState({isDirty:!1,isValidating:!1,isLoading:j(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:j(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:d},e.defaultValues&&!j(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=function(e={}){let t,n={...es,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:j(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},d={},p=(o(n.defaultValues)||o(n.values))&&c(n.defaultValues||n.values)||{},b=n.shouldUnregister?{}:c(p),w={action:!1,mount:!1,watch:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},C=0,E={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},S={...E},k={array:M(),state:M()},P=n.criteriaMode===y.all,I=async e=>{if(!n.disabled&&(E.isValid||S.isValid||e)){let e=n.resolver?D((await B()).errors):await q(d,!0);e!==r.isValid&&k.state.next({isValid:e})}},T=(e,t)=>
1{!n.disabled&&(E.isValidating||E.validatingFields||S.isValidating||S.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?g(r.validatingFields,e,t):F(r.validatingFields,e))}),k.state.next({validatingFields:r.validatingFields,isValidating:!D(r.validatingFields)}))},O=(e,t,n,r)=>{let i=m(d,e);if(i){let a=m(b,e,h(n)?m(p,e):n);h(a)||r&&r.defaultChecked||t?g(b,e,t?a:$(i._f)):G(e,a),w.mount&&I()}},z=(e,t,i,a,o)=>{let s=!1,l=!1,u={name:e};if(!n.disabled){if(!i||a){(E.isDirty||S.isDirty)&&(l=r.isDirty,r.isDirty=u.isDirty=H(),s=l!==u.isDirty);let n=N(m(p,e),t);l=!!m(r.dirtyFields,e),n?F(r.dirtyFields,e):g(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,s=s||(E.dirtyFields||S.dirtyFields)&&!n!==l}if(i){let t=m(r.touchedFields,e);t||(g(r.touchedFields,e,i),u.touchedFields=r.touchedFields,s=s||(E.touchedFields||S.touchedFields)&&t!==i)}s&&o&&k.state.next(u)}return s?u:{}},B=async e=>{T(e,!0);let t=await n.resolver(b,n.context,((e,t,n,r)=>{let i={};for(let n of e){let e=m(t,n);e&&g(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||x.mount,d,n.criteriaMode,n.shouldUseNativeValidation));return T(e),t},U=async e=>{let{errors:t}=await B(e);if(e)for(let n of e){let e=m(t,n);e?g(r.errors,n,e):F(r.errors,n)}else r.errors=t;return t},q=async(e,t,i={valid:!0})=>{for(let a in e){let o=e[a];if(o){let{_f:e,...s}=o;if(e){let s=x.array.has(e.name),l=o._f&&Q(o._f);l&&E.validatingFields&&T([a],!0);let u=await eo(o,x.disabled,b,P,n.shouldUseNativeValidation&&!t,s);if(l&&E.validatingFields&&T([a]),u[e.name]&&(i.valid=!1,t))break;t||(m(u,e.name)?s?en(r.errors,u,e.name):g(r.errors,e.name,u[e.name]):F(r.errors,e.name))}D(s)||await q(s,t,i)}}return i.valid},H=(e,t)=>!n.disabled&&(e&&t&&g(b,e,t),!N(eu(),p)),W=(e,t,n)=>A(e,x,{...w.mount?b:h(t)?p:"string"==typeof e?{[e]:t}:t},n,t),G=(e,t,n={})=>{let r=m(d,e),i=t;if(r){let n=r._f;n&&(n.disabled||g(b,e,Z(t,n)),i=_(n.ref)&&a(t)?"":t,"select-multiple"===n.ref.type?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?"checkbox"===n.ref.type?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find(t=>t===e.value):e.checked=i===e.value||!!i)}):n.refs.forEach(e=>e.checked=e.value===i):"file"===n.ref.type?n.ref.value="":(n.ref.value=i,n.ref.type||k.state.next({name:e,values:c(b)})))}(n.shouldDirty||n.shouldTouch)&&z(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&el(e)},X=(e,t,n)=>{for(let r in t){if(!t.hasOwnProperty(r))return;let a=t[r],s=e+"."+r,l=m(d,s);(x.array.has(e)||o(a)||l&&!l._f)&&!i(a)?X(s,a,n):G(s,a,n)}},er=(e,t,n={})=>{let i=m(d,e),o=x.array.has(e),s=c(t);g(b,e,s),o?(k.array.next({name:e,values:c(b)}),(E.isDirty||E.dirtyFields||S.isDirty||S.dirtyFields)&&n.shouldDirty&&k.state.next({name:e,dirtyFields:V(p,b),isDirty:H(e,s)})):!i||i._f||a(s)?G(e,s,n):X(e,s,n),J(e,x)&&k.state.next({...r,name:e}),k.state.next({name:w.mount?e:void 0,values:c(b)})},ei=async e=>{w.mount=!0;let a=e.target,o=a.name,l=!0,u=m(d,o),h=e=>{l=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||N(e,m(b,o,e))},f=Y(n.mode),p=Y(n.reValidateMode);if(u){let i,w,V,U=a.type?$(u._f):s(e),H=e.type===v.BLUR||e.type===v.FOCUS_OUT,Z=!((V=u._f).mount&&(V.required||V.min||V.max||V.maxLength||V.minLength||V.pattern||V.validate))&&!n.resolver&&!m(r.errors,o)&&!u._f.deps||(y=H,A=m(r.touchedFields,o),O=r.isSubmitted,L=p,!(M=f).isOnAll&&(!O&&M.isOnTouch?!(A||y):(O?L.isOnBlur:M.isOnBlur)?!y:(O?!L.isOnChange:!M.isOnChange)||y)),W=J(o,x,H);g(b,o,U),H?a&&a.readOnly||(u._f.onBlur&&u._f.onBlur(e),t&&t(0)):u._f.onChange&&u._f.onChange(e);let G=z(o,U,H),K=!D(G)||W;if(H||k.state.next({name:o,type:e.type,values:c(b)}),Z)return(E.isValid||S.isValid)&&("onBlur"===n.mode?H&&I():H||I()),K&&k.state.next({name:o,...W?{}:G});if(!H&&W&&k.state.next({...r}),n.resolver){let{errors:e}=await B([o]);if(h(U),l){let t=et(r.errors,d,o),n=et(e,d,t.name||o);i=n.error,o=n.name,w=D(e)}}else T([o],!0),i=(await eo(u,x.disabled,b,P,n.shouldUseNativeValidation))[o],T([o]),h(U),l&&(i?w=!1:(E.isValid||S.isValid)&&(w=await q(d,!0)));if(l){u._f.deps&&el(u._f.deps);var y,A,O,L,M,j=o,_=w,R=i;let e=m(r.errors,j),a=(E.isValid||S.isValid)&&"boolean"==typeof _&&r.isValid!==_;if(n.delayError&&R){let e;e=()=>{g(r.errors,j,R),k.state.next({errors:r.errors})},(t=t=>{clearTimeout(C),C=setTimeout(e,t)})(n.delayError)}else clearTimeout(C),t=null,R?g(r.errors,j,R):F(r.errors,j);if((R?!N(e,R):e)||!D(G)||a){let e={...G,...a&&"boolean"==typeof _?{isValid:_}:{},errors:r.errors,name:j};r={...r,...e},k.state.next(e)}}}},ea=(e,t)=>{if(m(r.errors,t)&&e.focus)return e.focus(),1},el=async(e,t={})=>{let i,a,o=L(e);if(n.resolver){let t=await U(h(e)?e:o);i=D(t),a=e?!o.some(e=>m(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=m(d,e);return await q(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&I():a=i=await q(d);return k.state.next({..."string"!=typeof e||(E.isValid||S.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&ee(d,ea,e?o:x.mount),a},eu=e=>{let t={...w.mount?b:p};return h(e)?t:"string"==typeof e?m(t,e):e.map(e=>m(t,e))},ec=(e,t)=>({invalid:!!m((t||r).errors,e),isDirty:!!m((t||r).dirtyFields,e),error:m((t||r).errors,e),isValidating:!!m(r.validatingFields,e),isTouched:!!m((t||r).touchedFields,e)}),ed=(e,t,n)=>{let i=(m(d,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:s,...l}=m(r.errors,e)||{};g(r.errors,e,{...l,...t,ref:i}),k.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()}
1,eh=e=>k.state.subscribe({next:t=>{let n,i,a;n=e.name,i=t.name,a=e.exact,(!n||!i||n===i||L(n).some(e=>e&&(a?e===i:e.startsWith(i)||i.startsWith(e))))&&((e,t,n,r)=>{n(e);let{name:i,...a}=e;return D(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||y.all))})(t,e.formState||E,ew,e.reRenderRoot)&&e.callback({values:{...b},...r,...t,defaultValues:p})}}).unsubscribe,ef=(e,t={})=>{for(let i of e?L(e):x.mount)x.mount.delete(i),x.array.delete(i),t.keepValue||(F(d,i),F(b,i)),t.keepError||F(r.errors,i),t.keepDirty||F(r.dirtyFields,i),t.keepTouched||F(r.touchedFields,i),t.keepIsValidating||F(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||F(p,i);k.state.next({values:c(b)}),k.state.next({...r,...!t.keepDirty?{}:{isDirty:H()}}),t.keepIsValid||I()},ep=({disabled:e,name:t})=>{("boolean"==typeof e&&w.mount||e||x.disabled.has(t))&&(e?x.disabled.add(t):x.disabled.delete(t))},em=(e,t={})=>{let r=m(d,e),i="boolean"==typeof t.disabled||"boolean"==typeof n.disabled;return(g(d,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),r)?ep({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):O(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:K(t.min),max:K(t.max),minLength:K(t.minLength),maxLength:K(t.maxLength),pattern:K(t.pattern)}:{},name:e,onChange:ei,onBlur:ei,ref:i=>{if(i){let n;em(e,t),r=m(d,e);let a=h(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o="radio"===(n=a).type||"checkbox"===n.type,s=r._f.refs||[];(o?s.find(e=>e===a):a===r._f.ref)||(g(d,e,{_f:{...r._f,...o?{refs:[...s.filter(R),a,...Array.isArray(m(p,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),O(e,!1,void 0,a))}else(r=m(d,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(l(x.array,e)&&w.action)&&x.unMount.add(e)}}},eg=()=>n.shouldFocusError&&ee(d,ea,x.mount),ev=(e,t)=>
1async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=c(b);if(k.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await B();r.errors=e,o=c(t)}else await q(d);if(x.disabled.size)for(let e of x.disabled)F(o,e);if(F(r.errors,"root"),D(r.errors)){k.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...r.errors},i),eg(),setTimeout(eg);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:D(r.errors)&&!a,submitCount:r.submitCount+1,errors:r.errors}),a)throw a},ey=(e,t={})=>{let i=e?c(e):p,a=c(i),o=D(e),s=o?p:a;if(t.keepDefaultValues||(p=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(V(p,b))])))m(r.dirtyFields,e)?g(s,e,m(b,e)):er(e,m(s,e));else{if(u&&h(e))for(let e of x.mount){let t=m(d,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(_(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of x.mount)er(e,m(s,e));else d={}}b=n.shouldUnregister?t.keepDefaultValues?c(p):{}:c(s),k.array.next({values:{...s}}),k.state.next({values:{...s}})}x={mount:t.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},w.mount=!E.isValid||!!t.keepIsValid||!!t.keepDirtyValues,w.watch=!!n.shouldUnregister,k.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!N(e,p))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&b?V(p,b):r.dirtyFields:t.keepDefaultValues&&e?V(p,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:p})},eb=(e,t)=>ey(j(e)?e(b):e,t),ew=e=>{r={...r,...e}},ex={control:{register:em,unregister:ef,getFieldState:ec,handleSubmit:ev,setError:ed,_subscribe:eh,_runSchema:B,_focusError:eg,_getWatch:W,_getDirty:H,_setValid:I,_setFieldArray:(e,t=[],i,a,o=!0,s=!0)=>{if(a&&i&&!n.disabled){if(w.action=!0,s&&Array.isArray(m(d,e))){let t=i(m(d,e),a.argA,a.argB);o&&g(d,e,t)}if(s&&Array.isArray(m(r.errors,e))){let t,n=i(m(r.errors,e),a.argA,a.argB);o&&g(r.errors,e,n),f(m(t=r.errors,e)).length||F(t,e)}if((E.touchedFields||S.touchedFields)&&s&&Array.isArray(m(r.touchedFields,e))){let t=i(m(r.touchedFields,e),a.argA,a.argB);o&&g(r.touchedFields,e,t)}(E.dirtyFields||S.dirtyFields)&&(r.dirtyFields=V(p,b)),k.state.next({name:e,isDirty:H(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else g(b,e,t)},_setDisabledField:ep,_setErrors:e=>{r.errors=e,k.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>f(m(w.mount?b:p,e,n.shouldUnregister?m(p,e,[]):[])),_reset:ey,_resetDefaultValues:()=>j(n.defaultValues)&&n.defaultValues().then(e=>{eb(e,n.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of x.unMount){let t=m(d,e);t&&(t._f.refs?t._f.refs.every(e=>!R(e)):!R(t._f.ref))&&ef(e)}x.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(k.state.next({disabled:e}),ee(d,(t,n)=>{let r=m(d,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:k,_proxyFormState:E,get _fields(){return d},get _formValues(){return b},get _state(){return w},set _state(value){w=value},get _defaultValues(){return p},get _names(){return x},set _names(value){x=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(w.mount=!0,S={...S,...e.formState},eh({...e,formState:S})),trigger:el,register:em,handleSubmit:ev,watch:(e,t)=>j(e)?k.state.subscribe({next:n=>"values"in n&&e(W(void 0,t),n)}):W(e,t,!0),setValue:er,getValues:eu,reset:eb,resetField:(e,t={})=>{m(d,e)&&(h(t.defaultValue)?er(e,c(m(p,e))):(er(e,t.defaultValue),g(p,e,c(t.defaultValue))),t.keepTouched||F(r.touchedFields,e),t.keepDirty||(F(r.dirtyFields,e),r.isDirty=t.defaultValue?H(e,c(m(p,e))):H()),!t.keepError&&(F(r.errors,e),E.isValid&&I()),k.state.next({...r}))},clearErrors:e=>
1{e&&L(e).forEach(e=>F(r.errors,e)),k.state.next({errors:e?r.errors:{}})},unregister:ef,setError:ed,setFocus:(e,t={})=>{let n=m(d,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&j(e.select)&&e.select())}},getFieldState:ec};return{...ex,formControl:ex}}(e);t.current={...r,formState:d}}let b=t.current.control;return b._options=e,S(()=>{let e=b._subscribe({formState:b._proxyFormState,callback:()=>p({...b._formState}),reRenderRoot:!0});return p(e=>({...e,isReady:!0})),b._formState.isReady=!0,e},[b]),r.useEffect(()=>b._disableForm(e.disabled),[b,e.disabled]),r.useEffect(()=>{e.mode&&(b._options.mode=e.mode),e.reValidateMode&&(b._options.reValidateMode=e.reValidateMode)},[b,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(b._setErrors(e.errors),b._focusError())},[b,e.errors]),r.useEffect(()=>{e.shouldUnregister&&b._subjects.state.next({values:b._getWatch()})},[b,e.shouldUnregister]),r.useEffect(()=>{if(b._proxyFormState.isDirty){let e=b._getDirty();e!==d.isDirty&&b._subjects.state.next({isDirty:e})}},[b,d.isDirty]),r.useEffect(()=>{e.values&&!N(e.values,n.current)?(b._reset(e.values,{keepFieldsRef:!0,...b._options.resetOptions}),n.current=e.values,p(e=>({...e}))):b._resetDefaultValues()},[b,e.values]),r.useEffect(()=>{b._state.mount||(b._setValid(),b._state.mount=!0),b._state.watch&&(b._state.watch=!1,b._subjects.state.next({...b._formState})),b._removeUnmounted()}),t.current.formState=E(d,b),t.current}},2193:(e,t,n)=>{var r=n(3128),i=n(29090),a=n(31835),o=n(96024),s=n(53140),l=n(91544),u=n(9541),c=n(43562),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?h:s(e),x=b?h:s(t);w=w==d?f:w,x=x==d?f:x;var C=w==f,E=x==f,S=w==x;if(S&&u(e)){if(!u(t))return!1;y=!0,C=!1}if(S&&!C)return v||(v=new r),y||c(e)?i(e,t,n,m,g,v):a(e,t,w,n,m,g,v);if(!(1&n)){var A=C&&p.call(e,"__wrapped__"),k=E&&p.call(t,"__wrapped__");
1if(A||k){var N=A?e.value():e,P=k?t.value():t;return v||(v=new r),g(N,P,n,m,v)}}return!!S&&(v||(v=new r),o(e,t,n,m,g,v))}},2197:(e,t,n)=>{"use strict";n.d(t,{g:()=>l,n:()=>c});var r=n(6029),i=n(17325),a=n(93520),o=n(55729);let s=(0,o.createContext)({isLoaded:!1}),l=()=>(0,o.useContext)(s),u=["places"],c=e=>{let{children:t}=e,{isLoaded:n}=(0,a.KD)({googleMapsApiKey:i.f42,id:"google-map-script",libraries:u,language:"fr"});return(0,r.jsx)(s.Provider,{value:{isLoaded:n},children:t})}},2363:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(99034);function i(e,t,n){let[i,a]=(0,r.x)(null==n?void 0:n.in,e,t);return i.getFullYear()===a.getFullYear()&&i.getMonth()===a.getMonth()}},2663:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(24090),i=n(4308),a=new class extends r.Q{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!i.S$&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}}},2882:e=>{e.exports=function(e){return e!=e}},3128:(e,t,n)=>{var r=n(4650),i=n(95345),a=n(291),o=n(46468),s=n(36704),l=n(22344);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=s,u.prototype.set=l,e.exports=u},3540:e=>{e.exports=function(e){return function(t){return e(t)}}},3619:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3632:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},o=(e,t,n)=>t.has(e)?(e=>{throw TypeError(e)})("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),s={};a(s,{Decimal:()=>te,Public:()=>l,getRuntime:()=>O,makeStrictEnum:()=>E,objectEnumValues:()=>w}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),s);var l={};function u(){return e=>e}a(l,{validator:()=>u});var c,d=Symbol(),h=new WeakMap,f=class{constructor(e){e===d?h.set(this,"Prisma.".concat(this._getName())):h.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return h.get(this)}},p=class extends f{_getNamespace(){return"NullTypes"}},m=class extends p{constructor(){super(...arguments),o(this,c)}};c=new WeakMap,x(m,"DbNull");var g,v=class extends p{constructor(){super(...arguments),o(this,g)}};g=new WeakMap,x(v,"JsonNull");var y,b=class extends p{constructor(){super(...arguments),o(this,y)}};y=new WeakMap,x(b,"AnyNull");var w={classes:{DbNull:m,JsonNull:v,AnyNull:b},instances:{DbNull:new m(d),JsonNull:new v(d),AnyNull:new b(d)}};function x(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var C=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function E(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!C.has(t))throw TypeError("Invalid enum value: ".concat(String(t)))}})}var S=()=>{var e,t;return(null==(t=null==(e=globalThis.process)?void 0:e.release)?void 0:t.name)==="node"},A=()=>{var e,t;return!!globalThis.Bun||!!(null!=(t=null==(e=globalThis.process)?void 0:e.versions)&&t.bun)},k=()=>!!globalThis.Deno,N=()=>"object"==typeof globalThis.Netlify,P=()=>"object"==typeof globalThis.EdgeRuntime,I=()=>{var e;return(null==(e=globalThis.navigator)?void 0:e.userAgent)==="Cloudflare-Workers"},T={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Edge Runtime (Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)"};function O(){var e;let t=null!=(e=[[N,"netlify"],[P,"edge-light"],[I,"workerd"],[k,"deno"],[A,"bun"],[S,"node"]].flatMap(e=>e[0]()?[e[1]]:[]).at(0))?e:"";return{id:t,prettyName:T[t]||t,isEdge:["workerd","deno","netlify","edge-light"].includes(t)}}var L,M,D="0123456789abcdef",j="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",_="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823
1066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",R={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},F=!0,z="[DecimalError] ",B=z+"Invalid argument: ",V=z+"Precision limit exceeded",U=z+"crypto unavailable",q="[object Decimal]",H=Math.floor,Z=Math.pow,W=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,G=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,$=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,K=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=j.length-1,X=_.length-1,Q={toStringTag:q};function J(e){var t,n,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(a+=ec(n)),a+=r;(n=7-(r=(o=e[t])+"").length)&&(a+=ec(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function ee(e,t,n){if(e!==~~e||e<t||e>n)throw Error(B+e)}function et(e,t,n,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),a=Z(10,7-t),s=e[i]%a|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),o=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):o=(n<4&&s+1==a||n>3&&s+1==a/2)&&(e[i+1]/a/100|0)==Z(10,t-2)-1||(s==a/2||0==s)&&(e[i+1]/a/100|0)==0:t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),o=(r||n<4)&&9999==s||!r&&n>3&&4999==s):o=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==Z(10,t-3)-1,o}function en(e,t,n){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=t;for(a[0]+=D.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>n-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/n|0,a[r]%=n)}return a.reverse()}Q.absoluteValue=Q.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),ei(e)},Q.ceil=function(){return ei(new this.constructor(this),this.e+1,2)},Q.clampedTo=Q.clamp=function(e,t){var n=this.constructor;if(e=new n(e),t=new n(t),!e.s||!t.s)return new n(NaN);if(e.gt(t))throw Error(B+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new n(this)},Q.comparedTo=Q.cmp=function(e){var t,n,r,i,a=this.d,o=(e=new this.constructor(e)).d,s=this.s,l=e.s;if(!a||!o)return s&&l?s!==l?s:a===o?0:!a^s<0?1:-1:NaN;if(!a[0]||!o[0])return a[0]?s:o[0]?-l:0;if(s!==l)return s;if(this.e!==e.e)return this.e>e.e^s<0?1:-1;for(r=a.length,i=o.length,t=0,n=r<i?r:i;t<n;++t)if(a[t]!==o[t])return a[t]>o[t]^s<0?1:-1;return r===i?0:r>i^s<0?1:-1},Q.cosine=Q.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;(r=t.d.length)<32?i=(1/eb(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=ey(e,1,t.times(i),new e(1));for(var a=n;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=n,t}(r,ew(r,n)),r.precision=e,r.rounding=t,ei(2==M||3==M?n.neg():n,e,t,!0)):new r(1):new r(NaN)},Q.cubeRoot=Q.cbrt=function(){var e,t,n,r,i,a,o,s,l,u,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(F=!1,(a=this.s*Z(this.s*this,1/3))&&Math.abs(a)!=1/0?r=new c(a.toString()):(n=J(this.d),(a=((e=this.e)-n.length+1)%3)&&(n+=1==a||-2==a?"0":"00"),a=Z(n,1/3),e=H((e+1)/3)-(e%3==(e<0?-1:2)),(r=new c(n=a==1/0?"5e"+e:(n=a.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=this.s),o=(e=c.precision)+3;;)if(r=er((u=(l=(s=r).times(s).times(s)).plus(this)).plus(this).times(s),u.plus(l),o+2,1),J(s.d).slice(0,o)===(n=J(r.d)).slice(0,o))if("9999"!=(n=n.slice(o-3,o+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(ei(r,e+1,1),t=!r.times(r).times(r).eq(this));break}else{if(!i&&(ei(s,e+1,0),s.times(s).times(s).eq(this))){r=s;break}o+=4,i=1}return F=!0,ei(r,e,c.rounding,t)},Q.decimalPlaces=Q.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-H(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},Q.dividedBy=Q.div=function(e){return er(this,new this.constructor(e))},Q.dividedToIntegerBy=Q.divToInt=function(e){var t=this.constructor;return ei(er(this,new t(e),0,1,1),t.precision,t.rounding)},Q.equals=Q.eq=function(e){return 0===this.cmp(e)},Q.floor=function(){return ei(new this.constructor(this),this.e+1,3)},Q.greaterThan=Q.gt=function(e){return this.cmp(e)>0},Q.greaterThanOrEqualTo=Q.gte=function(e){var t=this.cmp(e);return 1==t||0===t},Q.hyperbolicCosine=Q.cosh=function(){var e,t,n,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;n=o.precision,r=o.rounding,o.precision=n+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?t=(1/eb(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),a=ey(o,1,a.times(t),new o(1),!0);for(var l,u=e,c=new o(8);u--;)l=a.times(a),a=s.minus(l.times(c.minus(l.times(c))));return ei(a,o.precision=n,o.rounding=r,!0)},Q.hyperbolicSine=Q.sinh=function(){var e,t,n,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);
1if(t=a.precision,n=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=ey(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=ey(a,2,i=i.times(1/eb(5,e)),i,!0);for(var o,s=new a(5),l=new a(16),u=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(l.times(o).plus(u))))}return a.precision=t,a.rounding=n,ei(i,t,n,!0)},Q.hyperbolicTangent=Q.tanh=function(){var e,t,n=this.constructor;return this.isFinite()?this.isZero()?new n(this):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,er(this.sinh(),this.cosh(),n.precision=e,n.rounding=t)):new n(this.s)},Q.inverseCosine=Q.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),r=t.precision,i=t.rounding;return -1!==n?0===n?e.isNeg()?el(t,r,i):new t(0):new t(NaN):e.isZero()?el(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=r,t.rounding=i,e.times(2))},Q.inverseHyperbolicCosine=Q.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,F=!1,n=n.times(n).minus(1).sqrt().plus(n),F=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},Q.inverseHyperbolicSine=Q.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,F=!1,n=n.times(n).plus(1).sqrt().plus(n),F=!0,r.precision=e,r.rounding=t,n.ln())},Q.inverseHyperbolicTangent=Q.atanh=function(){var e,t,n,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,Math.max(r=i.sd(),e)<-(2*i.e)-1?ei(new a(i),e,t,!0):(a.precision=n=r-i.e,i=er(i.plus(1),new a(1).minus(i),n+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5))):new a(NaN)},Q.inverseSine=Q.asin=function(){var e,t,n,r,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),n=a.precision,r=a.rounding,-1!==t?0===t?((e=el(a,n+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=n+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,i.times(2)))},Q.inverseTangent=Q.atan=function(){var e,t,n,r,i,a,o,s,l,u=this,c=u.constructor,d=c.precision,h=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&d+4<=X)return(o=el(c,d+4,h).times(.25)).s=u.s,o}else{if(!u.s)return new c(NaN);if(d+4<=X)return(o=el(c,d+4,h).times(.5)).s=u.s,o}for(c.precision=s=d+10,c.rounding=1,e=n=Math.min(28,s/7+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(F=!1,t=Math.ceil(s/7),r=1,l=u.times(u),o=new c(u),i=u;-1!==e;)if(i=i.times(l),a=o.minus(i.div(r+=2)),i=i.times(l),void 0!==(o=a.plus(i.div(r+=2))).d[t])for(e=t;o.d[e]===a.d[e]&&e--;);return n&&(o=o.times(2<<n-1)),F=!0,ei(o,c.precision=d,c.rounding=h,!0)},Q.isFinite=function(){return!!this.d},Q.isInteger=Q.isInt=function(){return!!this.d&&H(this.e/7)>this.d.length-2},Q.isNaN=function(){return!this.s},Q.isNegative=Q.isNeg=function(){return this.s<0},Q.isPositive=Q.isPos=function(){return this.s>0},Q.isZero=function(){return!!this.d&&0===this.d[0]},Q.lessThan=Q.lt=function(e){return 0>this.cmp(e)},Q.lessThanOrEqualTo=Q.lte=function(e){return 1>this.cmp(e)},Q.logarithm=Q.log=function(e){var t,n,r,i,a,o,s,l=this.constructor,u=l.precision,c=l.rounding;if(null==e)e=new l(10),t=!0;else{if(n=(e=new l(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new l(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new l(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t)if(n.length>1)i=!0;else{for(r=n[0];r%10==0;)r/=10;i=1!==r}if(F=!1,et((s=er(a=em(this,o=u+5),t?es(l,o+10):em(e,o),o,1)).d,r=u,c))do if(o+=10,s=er(a=em(this,o),t?es(l,o+10):em(e,o),o,1),!i){+J(s.d).slice(r+1,r+15)+1==1e14&&(s=ei(s,u+1,0));break}while(et(s.d,r+=10,c));return F=!0,ei(s,u,c)},Q.minus=Q.sub=function(e){var t,n,r,i,a,o,s,l,u,c,d,h,f=this.constructor;if(e=new f(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new f(e.d||this.s!==e.s?this:NaN):e=new f(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);
1if(u=this.d,h=e.d,s=f.precision,l=f.rounding,!u[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!u[0])return new f(3===l?-0:0);e=new f(this)}return F?ei(e,s,l):e}if(n=H(e.e/7),c=H(this.e/7),u=u.slice(),a=c-n){for((d=a<0)?(t=u,a=-a,o=h.length):(t=h,n=c,o=u.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for((d=(r=u.length)<(o=h.length))&&(o=r),r=0;r<o;r++)if(u[r]!=h[r]){d=u[r]<h[r];break}a=0}for(d&&(t=u,u=h,h=t,e.s=-e.s),o=u.length,r=h.length-o;r>0;--r)u[o++]=0;for(r=h.length;r>a;){if(u[--r]<h[r]){for(i=r;i&&0===u[--i];)u[i]=1e7-1;--u[i],u[r]+=1e7}u[r]-=h[r]}for(;0===u[--o];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=eo(u,n),F?ei(e,s,l):e):new f(3===l?-0:0)},Q.modulo=Q.mod=function(e){var t,n=this.constructor;return e=new n(e),this.d&&e.s&&(!e.d||e.d[0])?e.d&&(!this.d||this.d[0])?(F=!1,9==n.modulo?(t=er(this,e.abs(),0,3,1),t.s*=e.s):t=er(this,e,0,n.modulo,1),t=t.times(e),F=!0,this.minus(t)):ei(new n(this),n.precision,n.rounding):new n(NaN)},Q.naturalExponential=Q.exp=function(){return ep(this)},Q.naturalLogarithm=Q.ln=function(){return em(this)},Q.negated=Q.neg=function(){var e=new this.constructor(this);return e.s=-e.s,ei(e)},Q.plus=Q.add=function(e){var t,n,r,i,a,o,s,l,u,c,d=this.constructor;if(e=new d(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new d(e.d||this.s===e.s?this:NaN)):e=new d(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(u=this.d,c=e.d,s=d.precision,l=d.rounding,!u[0]||!c[0])return c[0]||(e=new d(this)),F?ei(e,s,l):e;if(a=H(this.e/7),r=H(e.e/7),u=u.slice(),i=a-r){for(i<0?(n=u,i=-i,o=c.length):(n=c,r=a,o=u.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((o=u.length)-(i=c.length)<0&&(i=o,n=c,c=u,u=n),t=0;i;)t=(u[--i]=u[i]+c[i]+t)/1e7|0,u[i]%=1e7;for(t&&(u.unshift(t),++r),o=u.length;0==u[--o];)u.pop();return e.d=u,e.e=eo(u,r),F?ei(e,s,l):e},Q.precision=Q.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(B+e);return this.d?(t=eu(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},Q.round=function(){var e=this.constructor;return ei(new e(this),this.e+1,e.rounding)},Q.sine=Q.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:ey(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=ey(e,2,t=t.times(1/eb(5,n)),t);for(var i,a=new e(5),o=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(s))));return t}(r,ew(r,n)),r.precision=e,r.rounding=t,ei(M>2?n.neg():n,e,t,!0)):new r(NaN)},Q.squareRoot=Q.sqrt=function(){var e,t,n,r,i,a,o=this.d,s=this.e,l=this.s,u=this.constructor;if(1!==l||!o||!o[0])return new u(!l||l<0&&(!o||o[0])?NaN:o?this:1/0);for(F=!1,0==(l=Math.sqrt(+this))||l==1/0?(((t=J(o)).length+s)%2==0&&(t+="0"),l=Math.sqrt(t),s=H((s+1)/2)-(s<0||s%2),r=new u(t=l==1/0?"5e"+s:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+s)):r=new u(l.toString()),n=(s=u.precision)+3;;)if(r=(a=r).plus(er(this,a,n+2,1)).times(.5),J(a.d).slice(0,n)===(t=J(r.d)).slice(0,n))if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(ei(r,s+1,1),e=!r.times(r).eq(this));break}else{if(!i&&(ei(a,s+1,0),a.times(a).eq(this))){r=a;break}n+=4,i=1}return F=!0,ei(r,s,u.rounding,e)},Q.tangent=Q.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=er(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,ei(2==M||4==M?n.neg():n,e,t,!0)):new r(NaN)},Q.times=Q.mul=function(e){var t,n,r,i,a,o,s,l,u,c=this.constructor,d=this.d,h=(e=new c(e)).d;if(e.s*=this.s,!d||!d[0]||!h||!h[0])return new c(!e.s||d&&!d[0]&&!h||h&&!h[0]&&!d?NaN:!d||!h?e.s/0:0*e.s);for(n=H(this.e/7)+H(e.e/7),(l=d.length)<(u=h.length)&&(a=d,d=h,h=a,o=l,l=u,u=o),a=[],r=o=l+u;r--;)a.push(0);for(r=u;--r>=0;){for(t=0,i=l+r;i>r;)s=a[i]+h[r]*d[i-r-1]+t,a[i--]=s%1e7|0,t=s/1e7|0;a[i]=(a[i]+t)%1e7|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=eo(a,n),F?ei(e,c.precision,c.rounding):e},Q.toBinary=function(e,t){return ex(this,2,e,t)},Q.toDecimalPlaces=Q.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(ee(e,0,1e9),void 0===t?t=r.rounding:ee(t,0,8),ei(n,e+n.e+1,t))},Q.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=ea(r,!0):(ee(e,0,1e9),void 0===t?t=i.rounding:ee(t,0,8),n=ea(r=ei(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},Q.toFixed=function(e,t){var n,r,i=this.constructor;return void 0===e?n=ea(this):(ee(e,0,1e9),void 0===t?t=i.rounding:ee(t,0,8),n=ea(r=ei(new i(this),e+this.e+1,t),!1,e+r.e+1)),this.isNeg()&&!this.isZero()?"-"+n:n},Q.toFraction=function(e){var t,n,r,i,a,o,s,l,u,c,d,h,f=this.d,p=this.constructor;if(!f)return new p(this);if(u=n=new p(1),r=l=new p(0),o=(a=(t=new p(r)).e=eu(f)-this.e-1)%7,t.d[0]=Z(10,o<0?7+o:o),null==e)e=a>0?t:u;else{if(!(s=new p(e)).isInt()||s.lt(u))throw Error(B+s);e=s.gt(t)?a>0?t:u:s}for(F=!1,s=new p(J(f)),c=p.precision,p.precision=a=7*f.length*2;d=er(s,t,0,1,1),1!=(i=n.plus(d.times(r))).cmp(e);)n=r,r=i,i=u,u=l.plus(d.times(i)),l=i,i=t,t=s.minus(d.times(i)),s=i;return i=er(e.minus(n),r,0,1,1),l=l.plus(i.times(u)),n=n.plus(i.times(r)),l.s=u.s=this.s,h=1>er(u,r,a,1).minus(this).abs().cmp(er(l,n,a,1).minus(this).abs())?[u,r]:[l,n],p.precision=c,F=!0,h},Q.toHexadecimal=Q.toHex=function(e,t){return ex(this,16,e,t)},Q.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:ee(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(F=!1,n=er(n,e,0,t,1).times(e),F=!0,ei(n)):(e.s=n.s,n=e),n},Q.toNumber=function(){return+this},Q.toOctal=function(e,t){return ex(this,8,e,t)},Q.toPower=Q.pow=function(e){var t,n,r,i,a,o,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(Z(+s,u));if((s=new l(s)).eq(1))return s;if(r=l.precision,a=l.rounding,e.eq(1))return ei(s,r,a);if((t=H(e.e/7))>=e.d.length-1&&(n=u<0?-u:u)<=0x1fffffffffffff)return i=ed(l,s,n,r),e.s<0?new l(1).div(i):ei(i,r,a);if((o=s.s)<0){if(t<e.d.length-1)return new l(NaN);if((1&e.d[t])==0&&(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(t=0!=(n=Z(+s,u))&&isFinite(n)?new l(n+"").e:H(u*(Math.log("0."+J(s.d))/Math.LN10+s.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?o/0:0):(F=!1,l.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=ep(e.times(em(s,r+n)),r)).d&&et((i=ei(i,r+5,1)).d,r,a)&&(t=r
1+10,+J((i=ei(ep(e.times(em(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=ei(i,r+1,0))),i.s=o,F=!0,l.rounding=a,ei(i,r,a))},Q.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=ea(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(ee(e,1,1e9),void 0===t?t=i.rounding:ee(t,0,8),n=ea(r=ei(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},Q.toSignificantDigits=Q.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(ee(e,1,1e9),void 0===t?t=n.rounding:ee(t,0,8)),ei(new n(this),e,t)},Q.toString=function(){var e=this.constructor,t=ea(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},Q.truncated=Q.trunc=function(){return ei(new this.constructor(this),this.e+1,1)},Q.valueOf=Q.toJSON=function(){var e=this.constructor,t=ea(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var er=function(){function e(e,t,n){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*t+i,e[a]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=+(e[n]<t[n]),e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,a,o,s,l){var u,c,d,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k,N,P,I=r.constructor,T=r.s==i.s?1:-1,O=r.d,M=i.d;if(!O||!O[0]||!M||!M[0])return new I(!r.s||!i.s||(O?M&&O[0]==M[0]:!M)?NaN:O&&0==O[0]||!M?0*T:T/0);for(l?(f=1,c=r.e-i.e):(l=1e7,f=7,c=H(r.e/f)-H(i.e/f)),N=M.length,A=O.length,y=(v=new I(T)).d=[],d=0;M[d]==(O[d]||0);d++);if(M[d]>(O[d]||0)&&c--,null==a?(C=a=I.precision,o=I.rounding):C=s?a+(r.e-i.e)+1:a,C<0)y.push(1),p=!0;else{if(C=C/f+2|0,d=0,1==N){for(h=0,M=M[0],C++;(d<A||h)&&C--;d++)E=h*l+(O[d]||0),y[d]=E/M|0,h=E%M|0;p=h||d<A}else{for((h=l/(M[0]+1)|0)>1&&(M=e(M,h,l),O=e(O,h,l),N=M.length,A=O.length),S=N,w=(b=O.slice(0,N)).length;w<N;)b[w++]=0;(P=M.slice()).unshift(0),k=M[0],M[1]>=l/2&&++k;do h=0,(u=t(M,b,N,w))<0?(x=b[0],N!=w&&(x=x*l+(b[1]||0)),(h=x/k|0)>1?(h>=l&&(h=l-1),g=(m=e(M,h,l)).length,w=b.length,1==(u=t(m,b,g,w))&&(h--,n(m,N<g?P:M,g,l))):(0==h&&(u=h=1),m=M.slice()),(g=m.length)<w&&m.unshift(0),n(b,m,w,l),-1==u&&(w=b.length,(u=t(M,b,N,w))<1&&(h++,n(b,N<w?P:M,w,l))),w=b.length):0===u&&(h++,b=[0]),y[d++]=h,u&&b[0]?b[w++]=O[S]||0:(b=[O[S]],w=1);while((S++<A||void 0!==b[0])&&C--);p=void 0!==b[0]}y[0]||y.shift()}if(1==f)v.e=c,L=p;else{for(d=1,h=y[0];h>=10;h/=10)d++;v.e=d+c*f-1,ei(v,s?a+v.e+1:a,o,p)}return v}}();function ei(e,t,n,r){var i,a,o,s,l,u,c,d,h,f=e.constructor;e:if(null!=t){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((a=t-i)<0)a+=7,o=t,l=(c=d[h=0])/Z(10,i-o-1)%10|0;else if((h=Math.ceil((a+1)/7))>=(s=d.length))if(r){for(;s++<=h;)d.push(0);c=l=0,i=1,a%=7,o=a-7+1}else break e;else{for(c=s=d[h],i=1;s>=10;s/=10)i++;a%=7,l=(o=a-7+i)<0?0:c/Z(10,i-o-1)%10|0}if(r=r||t<0||void 0!==d[h+1]||(o<0?c:c%Z(10,i-o-1)),u=n<4?(l||r)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(a>0?o>0?c/Z(10,i-o):0:d[h-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,u?(t-=e.e+1,d[0]=Z(10,(7-t%7)%7),e.e=-t||0):d[0]=e.e=0,e;if(0==a?(d.length=h,s=1,h--):(d.length=h+1,s=Z(10,7-a),d[h]=o>0?(c/Z(10,i-o)%Z(10,o)|0)*s:0),u)for(;;)if(0==h){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,1e7==d[0]&&(d[0]=1));break}else{if(d[h]+=s,1e7!=d[h])break;d[h--]=0,s=1}for(a=d.length;0===d[--a];)d.pop()}return F&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function ea(e,t,n){if(!e.isFinite())return eg(e);var r,i=e.e,a=J(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+"."+a.slice(1)+ec(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+ec(-i-1)+a,n&&(r=n-o)>0&&(a+=ec(r))):i>=o?(a+=ec(i+1-o),n&&(r=n-i-1)>0&&(a=a+"."+ec(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+="."),a+=ec(r))),a}function eo(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}
vendor: 6,880 bytes, line 1
1function es(e,t,n){if(t>Y)throw F=!0,n&&(e.precision=n),Error(V);return ei(new e(j),t,1,!0)}function el(e,t,n){if(t>X)throw Error(V);return ei(new e(_),t,n,!0)}function eu(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function ec(e){for(var t="";e--;)t+="0";return t}function ed(e,t,n,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(F=!1;;){if(n%2&&eC((a=a.times(t)).d,o)&&(i=!0),0===(n=H(n/2))){n=a.d.length-1,i&&0===a.d[n]&&++a.d[n];break}eC((t=t.times(t)).d,o)}return F=!0,a}function eh(e){return 1&e.d[e.d.length-1]}function ef(e,t,n){for(var r,i,a=new e(t[0]),o=0;++o<t.length;){if(!(i=new e(t[o])).s){a=i;break}((r=a.cmp(i))===n||0===r&&a.s===n)&&(a=i)}return a}function ep(e,t){var n,r,i,a,o,s,l,u=0,c=0,d=0,h=e.constructor,f=h.rounding,p=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(F=!1,l=p):l=t,s=new h(.03125);e.e>-2;)e=e.times(s),d+=5;for(l+=r=Math.log(Z(2,d))/Math.LN10*2+5|0,n=a=o=new h(1),h.precision=l;;){if(a=ei(a.times(e),l,1),n=n.times(++c),J((s=o.plus(er(a,n,l,1))).d).slice(0,l)===J(o.d).slice(0,l)){for(i=d;i--;)o=ei(o.times(o),l,1);if(null!=t)return h.precision=p,o;if(!(u<3&&et(o.d,l-r,f,u)))return ei(o,h.precision=p,f,F=!0);h.precision=l+=10,n=a=s=new h(1),c=0,u++}o=s}}function em(e,t){var n,r,i,a,o,s,l,u,c,d,h,f=1,p=e,m=p.d,g=p.constructor,v=g.rounding,y=g.precision;if(p.s<0||!m||!m[0]||!p.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=p.s?NaN:m?0:p);if(null==t?(F=!1,c=y):c=t,g.precision=c+=10,r=(n=J(m)).charAt(0),!(15e14>Math.abs(a=p.e)))return u=es(g,c+2,y).times(a+""),p=em(new g(r+"."+n.slice(1)),c-10).plus(u),g.precision=y,null==t?ei(p,y,v,F=!0):p;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=J((p=p.times(e)).d)).charAt(0),f++;for(a=p.e,r>1?(p=new g("0."+n),a++):p=new g(r+"."+n.slice(1)),d=p,l=o=p=er(p.minus(1),p.plus(1),c,1),h=ei(p.times(p),c,1),i=3;;){if(o=ei(o.times(h),c,1),J((u=l.plus(er(o,new g(i),c,1))).d).slice(0,c)===J(l.d).slice(0,c))if(l=l.times(2),0!==a&&(l=l.plus(es(g,c+2,y).times(a+""))),l=er(l,new g(f),c,1),null!=t)return g.precision=y,l;else{if(!et(l.d,c-10,v,s))return ei(l,g.precision=y,v,F=!0);g.precision=c+=10,u=o=p=er(d.minus(1),d.plus(1),c,1),h=ei(p.times(p),c,1),i=s=1}l=u,i+=2}}function eg(e){return String(e.s*e.s/0)}function ev(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";e.d.push(+t),F&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function ey(e,t,n,r,i){var a,o,s,l,u=e.precision,c=Math.ceil(u/7);for(F=!1,l=n.times(n),s=new e(r);;){if(o=er(s.times(l),new e(t++*t++),u,1),s=i?r.plus(o):r.minus(o),r=er(o.times(l),new e(t++*t++),u,1),void 0!==(o=s.plus(r)).d[c]){for(a=c;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return F=!0,o.d.length=c+1,o}function eb(e,t){for(var n=e;--t;)n*=e;return n}function ew(e,t){var n,r=t.s<0,i=el(e,e.precision,1),a=i.times(.5);if((t=t.abs()).lte(a))return M=r?4:1,t;if((n=t.divToInt(i)).isZero())M=r?3:2;else{if((t=t.minus(n.times(i))).lte(a))return M=eh(n)?r?2:3:r?4:1,t;M=eh(n)?r?1:4:r?3:2}return t.minus(i).abs()}function ex(e,t,n,r){var i,a,o,s,l,u,c,d,h,f=e.constructor,p=void 0!==n;if(p?(ee(n,1,1e9),void 0===r?r=f.rounding:ee(r,0,8)):(n=f.precision,r=f.rounding),e.isFinite()){for(o=(c=ea(e)).indexOf("."),p?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,o>=0&&(c=c.replace(".",""),(h=new f(1)).e=c.length-o,h.d=en(ea(h),10,i),h.e=h.d.length),a=l=(d=en(c,10,i)).length;0==d[--l];)d.pop();if(d[0]){if(o<0?a--:((e=new f(e)).d=d,e.e=a,d=(e=er(e,h,n,r,0,i)).d,a=e.e,u=L),o=d[n],s=i/2,u=u||void 0!==d[n+1],u=r<4?(void 0!==o||u)&&(0===r||r===(e.s<0?3:2)):o>s||o===s&&(4===r||u||6===r&&1&d[n-1]||r===(e.s<0?8:7)),d.length=n,u)for(;++d[--n]>i-1;)d[n]=0,n||(++a,d.unshift(1));for(l=d.length;!d[l-1];--l);for(o=0,c="";o<l;o++)c+=D.charAt(d[o]);if(p){if(l>1)if(16==t||8==t){for(o=16==t?4:3,--l;l%o;l++)c+="0";for(l=(d=en(c,i,t)).length;!d[l-1];--l);for(o=1,c="1.";o<l;o++)c+=D.charAt(d[o])}else c=c.charAt(0)+"."+c.slice(1);c=c+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)c="0"+c;c="0."+c}else if(++a>l)for(a-=l;a--;)c+="0";else a<l&&(c=c.slice(0,a)+"."+c.slice(a))}else c=p?"0p+0":"0";c=(16==t?"0x":2==t?"0b":8==t?"0o":"")+c}else c=eg(e);return e.s<0?"-"+c:c}function eC(e,t){if(e.length>t)return e.length=t,!0}function eE(e){return new this(e).abs()}function eS(e){return new this(e).acos()}function eA(e){return new this(e).acosh()}function ek(e,t){return new this(e).plus(t)}function eN(e){return new this(e).asin()}function eP(e){return new this(e).asinh()}function eI(e){return new this(e).atan()}function eT(e){return new this(e).atanh()}function eO(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,a=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?el(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=el(this,a,1).times(.5)).s=e.s:t.s<0?(this.precision=a,this.rounding=1,n=this.atan(er(e,t,a,1)),t=el(this,a,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(er(e,t,a,1)):(n=el(this,a,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function eL(e){return new this(e).cbrt()}function eM(e){return ei(e=new this(e),e.e+1,2)}function eD(e,t,n){return new this(e).clamp(t,n)}function ej(e){if(!e||"object"!=typeof e)throw Error(z+"Object expected");var t,n,r,i=!0===e.defaults,a=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(n=a[t],i&&(this[n]=R[n]),void 0!==(r=e[n]))if(H(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(B+n+": "+r);if(n="crypto",i&&(this[n]=R[n]),void 0!==(r=e[n]))if(!0===r||!1===r||0===r||1===r)if(r)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(U);else this[n]=!1;else throw Error(B+n+": "+r);return this}function e_(e){return new this(e).cos()}function eR(e){return new this(e).cosh()}function eF(e,t){return new this(e).div(t)}function ez(e){return new this(e).exp()}function eB(e){return ei(e=new this(e),e.e+1,3)}function eV(){var e,t,n=new this(0);for(F=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return F=!0,new this(1/0);n=t}return F=!0,n.sqrt()}function eU(e){return e instanceof e7||e&&e.toStringTag===q||!1}function eq(e){return new this(e).ln()}function eH(e,t){return new this(e).log(t)}function eZ(e){return new this(e).log(2)}function eW(e){return new this(e).log(10)}function eG(){return ef(this,arguments,-1)}
1function e$(){return ef(this,arguments,1)}function eK(e,t){return new this(e).mod(t)}function eY(e,t){return new this(e).mul(t)}function eX(e,t){return new this(e).pow(t)}function eQ(e){var t,n,r,i,a=0,o=new this(1),s=[];if(void 0===e?e=this.precision:ee(e,1,1e9),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=t[a])>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(r*=4);a<r;)(i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((127&t[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(i%1e7),a+=4);a=r/4}else throw Error(U);else for(;a<r;)s[a++]=1e7*Math.random()|0;for(r=s[--a],e%=7,r&&e&&(i=Z(10,7-e),s[a]=(r/i|0)*i);0===s[a];a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;0===s[0];n-=7)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<7&&(n-=7-r)}return o.e=n,o.d=s,o}function eJ(e){return ei(e=new this(e),e.e+1,this.rounding)}function e0(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function e1(e){return new this(e).sin()}function e2(e){return new this(e).sinh()}function e5(e){return new this(e).sqrt()}function e4(e,t){return new this(e).sub(t)}function e3(){var e=0,t=arguments,n=new this(t[0]);for(F=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return F=!0,ei(n,this.precision,this.rounding)}function e6(e){return new this(e).tan()}function e8(e){return new this(e).tanh()}function e9(e){return ei(e=new this(e),e.e+1,1)}Q[Symbol.for("nodejs.util.inspect.custom")]=Q.toString,Q[Symbol.toStringTag]="Decimal";var e7=Q.constructor=function e(t){var n,r,i;function a(e){var t,n,r;if(!(this instanceof a))return new a(e);if(this.constructor=a,eU(e)){this.s=e.s,F?!e.d||e.e>a.maxE?(this.e=NaN,this.d=null):e.e<a.minE?(this.e=0,this.d=[0]):(this.e=e.e,this.d=e.d.slice()):(this.e=e.e,this.d=e.d?e.d.slice():e.d);return}if("number"==(r=typeof e)){if(0===e){this.s=1/e<0?-1:1,this.e=0,this.d=[0];return}if(e<0?(e=-e,this.s=-1):this.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;F?t>a.maxE?(this.e=NaN,this.d=null):t<a.minE?(this.e=0,this.d=[0]):(this.e=t,this.d=[e]):(this.e=t,this.d=[e]);return}if(0*e!=0){e||(this.s=NaN),this.e=NaN,this.d=null;return}return ev(this,e.toString())}if("string"===r)return 45===(n=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===n&&(e=e.slice(1)),this.s=1),K.test(e)?ev(this,e):function(e,t){var n,r,i,a,o,s,l,u,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),K.test(t))return ev(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(G.test(t))n=16,t=t.toLowerCase();else if(W.test(t))n=2;else if($.test(t))n=8;else throw Error(B+t);for((a=t.search(/p/i))>0?(l=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),o=(a=t.indexOf("."))>=0,r=e.constructor,o&&(a=(s=(t=t.replace(".","")).length)-a,i=ed(r,new r(n),a,2*a)),a=c=(u=en(t,n,1e7)).length-1;0===u[a];--a)u.pop();return a<0?new r(0*e.s):(e.e=eo(u,c),e.d=u,F=!1,o&&(e=er(e,i,4*s)),l&&(e=e.times(54>Math.abs(l)?Z(2,l):e7.pow(2,l))),F=!0,e)}(this,e);if("bigint"===r)return e<0?(e=-e,this.s=-1):this.s=1,ev(this,e.toString());throw Error(B+e)}if(a.prototype=Q,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=ej,a.clone=e,a.isDecimal=eU,a.abs=eE,a.acos=eS,a.acosh=eA,a.add=ek,a.asin=eN,a.asinh=eP,a.atan=eI,a.atanh=eT,a.atan2=eO,a.cbrt=eL,a.ceil=eM,a.clamp=eD,a.cos=e_,a.cosh=eR,a.div=eF,a.exp=ez,a.floor=eB,a.hypot=eV,a.ln=eq,a.log=eH,a.log10=eW,a.log2=eZ,a.max=eG,a.min=e$,a.mod=eK,a.mul=eY,a.pow=eX,a.random=eQ,a.round=eJ,a.sign=e0,a.sin=e1,a.sinh=e2,a.sqrt=e5,a.sub=e4,a.sum=e3,a.tan=e6,a.tanh=e8,a.trunc=e9,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return a.config(t),a}(R);j=new e7(j),_=new e7(_);var te=e7},3789:(e,t,n)=>{"use strict";n.d(t,{Zq:()=>a,zs:()=>i});var r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#r=r;#i=!1;setTimeoutProvider(e){this.#r=e}setTimeout(e,t){return this.#r.setTimeout(e,t)}clearTimeout(e){this.#r.clearTimeout(e)}setInterval(e,t){return this.#r.setInterval(e,t)}clearInterval(e){this.#r.clearInterval(e)}};function a(e){setTimeout(e,0)}},4140:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4308:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>m,EN:()=>p,Eh:()=>c,F$:()=>f,GU:()=>N,MK:()=>d,S$:()=>i,ZM:()=>k,ZZ:()=>S,Zw:()=>o,d2:()=>u,f8:()=>v,gn:()=>s,hT:()=>A,j3:()=>l,lQ:()=>a,nJ:()=>h,pl:()=>C,y9:()=>E,yy:()=>x});var r=n(3789),i="undefined"==typeof window||"Deno"in globalThis;function a(){}function o(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t){return"function"==typeof e?e(t):e}function c(e,t){return"function"==typeof e?e(t):e}function d(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==f(o,t.options))return!1}else if(!m(t.queryKey,o))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function h(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(p(t.options.mutationKey)!==p(a))return!1}else if(!m(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function f(e,t){return(t?.queryKeyHashFn||p)(e)}function p(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function m(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>m(e[n],t[n]))}var g=Object.prototype.hasOwnProperty;function v(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return new Promise(t=>{r.zs.setTimeout(t,e)})}
1function C(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n){if(t===n)return t;let r=y(t)&&y(n);if(!r&&!(b(t)&&b(n)))return n;let i=(r?t:Object.keys(t)).length,a=r?n:Object.keys(n),o=a.length,s=r?Array(o):{},l=0;for(let u=0;u<o;u++){let o=r?u:a[u],c=t[o],d=n[o];if(c===d){s[o]=c,(r?u<i:g.call(t,o))&&l++;continue}if(null===c||null===d||"object"!=typeof c||"object"!=typeof d){s[o]=d;continue}let h=e(c,d);s[o]=h,h===c&&l++}return i===o&&l===i?t:s}(e,t):t}function E(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function S(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var A=Symbol();function k(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==A?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function N(e,t){return"function"==typeof e?e(...t):!!e}},4516:(e,t,n)=>{"use strict";n.d(t,{A6:()=>W,fl:()=>Q,UH:()=>C,XF:()=>el,eC:()=>L,wb:()=>g,gy:()=>en,cM:()=>h,Cb:()=>eo,BF:()=>$,u6:()=>p,mW:()=>ee,L6:()=>F,ag:()=>S,zw:()=>Y,C3:()=>y,L_:()=>B,wu:()=>c,sR:()=>w,Kf:()=>P,yB:()=>l,GY:()=>k,cF:()=>_,li:()=>ei,Jm:()=>U,b9:()=>o,qy:()=>D,uc:()=>T,ny:()=>H});var r=n(6029),i=n(67733);n(55729),i.W;let a=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M30 19H24.9438C24.9807 18.668 24.9994 18.3341 25 18C25 15.6131 24.0518 13.3239 22.364 11.6361C20.6761 9.94824 18.3869 9.00003 16 9.00003C13.6131 9.00003 11.3239 9.94824 9.63604 11.6361C7.94821 13.3239 7 15.6131 7 18C7.00056 18.3341 7.01934 18.668 7.05625 19H2C1.73478 19 1.48043 19.1054 1.29289 19.2929C1.10536 19.4805 1 19.7348 1 20C1 20.2652 1.10536 20.5196 1.29289 20.7071C1.48043 20.8947 1.73478 21 2 21H30C30.2652 21 30.5196 20.8947 30.7071 20.7071C30.8946 20.5196 31 20.2652 31 20C31 19.7348 30.8946 19.4805 30.7071 19.2929C30.5196 19.1054 30.2652 19 30 19ZM9 18C8.99816 17.0374 9.19489 16.0848 9.57788 15.2016C9.96087 14.3185 10.5219 13.5238 11.2259 12.8673C11.9299 12.2108 12.7618 11.7065 13.6695 11.386C14.5772 11.0655 15.5412 10.9357 16.5013 11.0047C17.4615 11.0736 18.3971 11.3398 19.2497 11.7867C20.1023 12.2336 20.8536 12.8516 21.4565 13.6019C22.0595 14.3523 22.5012 15.219 22.7541 16.1478C23.007 17.0766 23.0656 18.0476 22.9263 19H9.07375C9.02535 18.6689 9.0007 18.3347 9 18ZM27 25C27 25.2652 26.8946 25.5196 26.7071 25.7071C26.5196 25.8947 26.2652 26 26 26H6C5.73478 26 5.48043 25.8947 5.29289 25.7071C5.10536 25.5196 5 25.2652 5 25C5 24.7348 5.10536 24.4805 5.29289 24.2929C5.48043 24.1054 5.73478 24 6 24H26C26.2652 24 26.5196 24.1054 26.7071 24.2929C26.8946 24.4805 27 24.7348 27 25ZM9.105 5.44753C8.98632 5.21016 8.96679 4.93537 9.05071 4.6836C9.13463 4.43183 9.31513 4.22372 9.5525 4.10503C9.78987 3.98635 10.0647 3.96682 10.3164 4.05074C10.5682 4.13466 10.7763 4.31516 10.895 4.55253L11.895 6.55253C11.9538 6.67006 11.9888 6.79802 11.9981 6.9291C12.0074 7.06017 11.9908 7.1918 11.9493 7.31646C11.9077 7.44112 11.842 7.55638 11.7559 7.65565C11.6698 7.75492 11.565 7.83626 11.4475 7.89503C11.33 7.9538 11.202 7.98884 11.0709 7.99815C10.9399 8.00747 10.8082 7.99088 10.6836 7.94932C10.5589 7.90777 10.4436 7.84207 10.3444 7.75597C10.2451 7.66987 10.1638 7.56506 10.105 7.44753L9.105 5.44753ZM2.105 11.5525C2.16381 11.435 2.2452 11.3303 2.34451 11.2443C2.44382 11.1583 2.55911 11.0927 2.68378 11.0512C2.80846 11.0098 2.94008 10.9933 3.07112 11.0028C3.20216 11.0122 3.33006 11.0474 3.4475 11.1063L5.4475 12.1063C5.6847 12.225 5.86504 12.433 5.94885 12.6847C6.03265 12.9363 6.01306 13.211 5.89437 13.4482C5.77569 13.6854 5.56764 13.8657 5.31599 13.9495C5.06434 14.0333 4.7897 14.0137 4.5525 13.895L2.5525 12.895C2.43491 12.8363 2.33004 12.755 2.2439 12.6558C2.15775 12.5565 2.09202 12.4412 2.05046 12.3165C2.0089 12.1919 1.99232 12.0602 2.00168 11.9291C2.01104 11.798 2.04615 11.67 2.105 11.5525ZM26.105 13.4475C25.9865 13.2103 25.9671 12.9358 26.051 12.6843C26.135 12.4327 26.3153 12.2248 26.5525 12.1063L28.5525 11.1063C28.67 11.0475 28.7978 11.0125 28.9288 11.0031C29.0598 10.9938 29.1914 11.0103 29.316 11.0518C29.4406 11.0933 29.5
1558 11.1589 29.655 11.245C29.7543 11.331 29.8356 11.4357 29.8944 11.5532C29.9531 11.6706 29.9882 11.7985 29.9975 11.9295C30.0069 12.0605 29.9903 12.192 29.9488 12.3166C29.9074 12.4412 29.8417 12.5565 29.7557 12.6557C29.6697 12.7549 29.565 12.8363 29.4475 12.895L27.4475 13.895C27.33 13.9539 27.202 13.989 27.0709 13.9984C26.9398 14.0077 26.8082 13.9911 26.6835 13.9496C26.5588 13.908 26.4435 13.8423 26.3443 13.7561C26.245 13.67 26.1637 13.5651 26.105 13.4475ZM20.105 6.55253L21.105 4.55253C21.2237 4.31516 21.4318 4.13466 21.6836 4.05074C21.9353 3.96682 22.2101 3.98635 22.4475 4.10503C22.6849 4.22372 22.8654 4.43183 22.9493 4.6836C23.0332 4.93537 23.0137 5.21016 22.895 5.44753L21.895 7.44753C21.7763 7.6849 21.5682 7.8654 21.3164 7.94932C21.0647 8.03324 20.7899 8.01372 20.5525 7.89503C20.3151 7.77635 20.1346 7.56823 20.0507 7.31646C19.9668 7.06469 19.9863 6.7899 20.105 6.55253Z"})})};a.propTypes=i.W;let o=a,s=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M16 11C15.0111 11 14.0444 11.2932 13.2221 11.8427C12.3999 12.3921 11.759 13.173 11.3806 14.0866C11.0022 15.0002 10.9031 16.0055 11.0961 16.9755C11.289 17.9454 11.7652 18.8363 12.4645 19.5355C13.1637 20.2348 14.0546 20.711 15.0245 20.9039C15.9945 21.0969 16.9998 20.9978 17.9134 20.6194C18.827 20.241 19.6079 19.6001 20.1573 18.7779C20.7068 17.9556 21 16.9889 21 16C21 14.6739 20.4732 13.4021 19.5355 12.4645C18.5979 11.5268 17.3261 11 16 11ZM16 19C15.4067 19 14.8266 18.8241 14.3333 18.4944C13.8399 18.1648 13.4554 17.6962 13.2284 17.1481C13.0013 16.5999 12.9419 15.9967 13.0576 15.4147C13.1734 14.8328 13.4591 14.2982 13.8787 13.8787C14.2982 13.4591 14.8328 13.1734 15.4147 13.0576C15.9967 12.9419 16.5999 13.0013 17.1481 13.2284C17.6962 13.4554 18.1648 13.8399 18.4944 14.3333C18.8241 14.8266 19 15.4067 19 16C19 16.7956 18.6839 17.5587 18.1213 18.1213C17.5587 18.6839 16.7956 19 16 19ZM30 7H2C1.73478 7 1.48043 7.10536 1.29289 7.29289C1.10536 7.48043 1 7.73478 1 8V24C1 24.2652 1.10536 24.5196 1.29289 24.7071C1.48043 24.8946 1.73478 25 2 25H30C30.2652 25 30.5196 24.8946 30.7071 24.7071C30.8946 24.5196 31 24.2652 31 24V8C31 7.73478 30.8946 7.48043 30.7071 7.29289C30.5196 7.10536 30.2652 7 30 7ZM24.2062 23H7.79375C7.45801 21.8645 6.84351 20.8311 6.00623 19.9938C5.16895 19.1565 4.1355 18.542 3 18.2062V13.7937C4.1355 13.458 5.16895 12.8435 6.00623 12.0062C6.84351 11.1689 7.45801 10.1355 7.79375 9H24.2062C24.542 10.1355 25.1565 11.1689 25.9938 12.0062C26.8311 12.8435 27.8645 13.458 29 13.7937V18.2062C27.8645 18.542 26.8311 19.1565 25.9938 19.9938C25.1565 20.8311 24.542 21.8645 24.2062 23ZM29 11.6713C27.8005 11.1555 26.8445 10.1995 26.3288 9H29V11.6713ZM5.67125 9C5.15549 10.1995 4.19945 11.1555 3 11.6713V9H5.67125ZM3 20.3288C4.19945 20.8445 5.15549 21.8005 5.67125 23H3V20.3288ZM26.3288 23C26.8445 21.8005 27.8005 20.8445 29 20.3288V23H26.3288Z"})})};s.propTypes=i.W;let l=s,u=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M20.7075 11.2925C20.8005 11.3854 20.8742 11.4957 20.9246 11.6171C20.9749 11.7385 21.0008 11.8686 21.0008 12C21.0008 12.1314 20.9749 12.2616 20.9246 12.383C20.8742 12.5044 20.8005 12.6146 20.7075 12.7075L12.7075 20.7075C12.6146 20.8004 12.5043 20.8741 12.3829 20.9244C12.2615 20.9747 12.1314 21.0006 12 21.0006C11.8686 21.0006 11.7385 20.9747 11.6171 20.9244C11.4957 20.8741 11.3854 20.8004 11.2925 20.7075C11.1996 20.6146 11.1259 20.5043 11.0756 20.3829C11.0253 20.2615 10.9994 20.1314 10.9994 20C10.9994 19.8686 11.0253 19.7385 11.0756 19.6171C11.1259 19.4957 11.1996 19.3854 11.2925 19.2925L19.2925 11.2925C19.3854 11.1995 19.4957 11.1258 19.6171 11.0755C19.7384 11.0251 19.8686 10.9992 20 10.9992C20.1314 10.9992 20.2615 11.0251 20.3829 11.0755C20.5043 11.1258 20.6146 11.1995 20.7075 11.2925ZM26.95 5.05002C26.3 4.39993 25.5283 3.88425 24.6789 3.53242C23.8296 3.1806 22.9193 2.99951 22 2.99951C21.0807 2.99951 20.1704 3.1806 19.321 3.53242C18.4717 3.88425 17.7 4.39993 17.05 5.05002L13.2925 8.80627C13.1048 8.99391 12.9994 9.2484 12.9994 9.51377C12.9994 9.77913 13.1048 10.
10336 13.2925 10.2213C13.4801 10.4089 13.7346 10.5143 14 10.5143C14.2654 10.5143 14.5198 10.4089 14.7075 10.2213L18.465 6.47127C19.4061 5.55083 20.6722 5.03866 21.9886 5.04591C23.305 5.05316 24.5654 5.57924 25.4963 6.50999C26.4272 7.44074 26.9535 8.70105 26.961 10.0174C26.9685 11.3338 26.4565 12.6 25.5362 13.5413L21.7775 17.2988C21.5898 17.4862 21.4844 17.7406 21.4843 18.0058C21.4841 18.2711 21.5894 18.5255 21.7769 18.7131C21.9643 18.9008 22.2187 19.0063 22.4839 19.0064C22.7492 19.0065 23.0036 18.9012 23.1912 18.7138L26.95 14.95C27.6001 14.3 28.1158 13.5283 28.4676 12.679C28.8194 11.8296 29.0005 10.9193 29.0005 10C29.0005 9.0807 28.8194 8.17039 28.4676 7.32107C28.1158 6.47174 27.6001 5.70004 26.95 5.05002ZM17.2925 21.7775L13.535 25.535C13.0726 26.0078 12.521 26.3842 11.9121 26.6423C11.3033 26.9004 10.6493 27.0352 9.98796 27.0389C9.32665 27.0425 8.67119 26.9149 8.05953 26.6635C7.44787 26.4121 6.89216 26.0418 6.42458 25.5742C5.95699 25.1065 5.58683 24.5507 5.33552 23.939C5.08421 23.3273 4.95674 22.6718 4.9605 22.0105C4.96426 21.3492 5.09917 20.6952 5.35742 20.0864C5.61567 19.4776 5.99212 18.9261 6.46499 18.4638L10.2212 14.7075C10.4089 14.5199 10.5143 14.2654 10.5143 14C10.5143 13.7347 10.4089 13.4802 10.2212 13.2925C10.0336 13.1049 9.77911 12.9995 9.51374 12.9995C9.24838 12.9995 8.99388 13.1049 8.80624 13.2925L5.04999 17.05C3.73717 18.3628 2.99963 20.1434 2.99963 22C2.99963 23.8566 3.73717 25.6372 5.04999 26.95C6.36281 28.2628 8.14338 29.0004 9.99999 29.0004C11.8566 29.0004 13.6372 28.2628 14.95 26.95L18.7075 23.1913C18.895 23.0036 19.0002 22.7492 19.0001 22.4839C19 22.2187 18.8945 21.9644 18.7069 21.7769C18.5192 21.5894 18.2648 21.4842 17.9995 21.4843C17.7343 21.4844 17.48 21.5899 17.2925 21.7775Z"})})};u.propTypes=i.W;let c=u;i.W,i.W,i.W,i.W,i.W;let d=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M15.9999 3C13.7555 2.99951 11.5492 3.58011 9.59572 4.68529C7.64227 5.79046 6.00822 7.38256 4.85262 9.30662C3.69703 11.2307 3.05926 13.4212 3.00139 15.6648C2.94353 17.9085 3.46753 20.1289 4.52241 22.11L3.10366 26.3662C2.98614 26.7186 2.96908 27.0968 3.05441 27.4583C3.13973 27.8199 3.32405 28.1505 3.58672 28.4132C3.84939 28.6759 4.18003 28.8602 4.54157 28.9455C4.90311 29.0308 5.28127 29.0138 5.63366 28.8962L9.88991 27.4775C11.6334 28.4048 13.5652 28.9228 15.5387 28.992C17.5122 29.0613 19.4756 28.68 21.2797 27.8772C23.0839 27.0743 24.6815 25.871 25.9512 24.3586C27.2209 22.8462 28.1293 21.0644 28.6076 19.1484C29.0858 17.2325 29.1213 15.2328 28.7113 13.301C28.3013 11.3693 27.4567 9.55642 26.2414 7.9999C25.0262 6.44337 23.4723 5.18415 21.6978 4.31782C19.9232 3.45149 17.9746 3.00081 15.9999 3ZM15.9999 27C14.0661 27.0013 12.1663 26.4921 10.4924 25.5238C10.3699 25.4527 10.2336 25.4085 10.0927 25.394C9.95172 25.3796 9.80933 25.3953 9.67491 25.44L4.99991 27L6.55866 22.325C6.60359 22.1907 6.61947 22.0483 6.60525 21.9074C6.59103 21.7665 6.54702 21.6301 6.47616 21.5075C5.26362 19.4111 4.77679 16.9732 5.09119 14.572C5.40559 12.1707 6.50365 9.94027 8.21502 8.22674C9.92639 6.51321 12.1554 5.41234 14.5563 5.0949C16.9572 4.77747 19.3957 5.26122 21.4936 6.47111C23.5915 7.68099 25.2314 9.54939 26.1591 11.7864C27.0868 14.0235 27.2502 16.5042 26.6242 18.8436C25.9981 21.1831 24.6176 23.2505 22.6966 24.7253C20.7756 26.2 18.4217 26.9996 15.9999 27Z"})})};d.propTypes=i.W;let h=d,f=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28 6H4C3.73478 6 3.48043 6.10536 3.29289 6.29289C3.10536 6.48043 3 6.73478 3 7V24C3 24.5304 3.21071 25.0391 3.58579 25.4142C3.96086 25.7893 4.46957 26 5 26H27C27.5304 26 28.0391 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V7C29 6.73478 28.8946 6.48043 28.7071 6.29289C28.5196 6.10536 28.2652 6 28 6ZM16 16.6437L6.57125 8H25.4287L16 16.6437ZM12.3387 16L5 22.7262V9.27375L12.3387 16ZM13.8188 17.3563L15.3188 18.7375C15.5032 18.9069 15.7446 19.0008 15.995 19.0008C16.2454 19.0008 16.4868 18.9069 16.6712 18.7375L18.1712 17.3563L25.4212 24H6.57125L13.8188 17.3563ZM19.6612 16L27 9.2725V22.7275L19.6612 16Z"})})};f.propTypes=i.W;let p=f;i.W,i.W;let m=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M25 3H24C23.4696 3 22.9609 3.21071 22.5858 3.58579C22.2107 3.96086 22 4.46957 22 5V7H18.5V5C18.5 4.46957 18.2893 3.96086 17.9142 3.58579C17.5392 3.21071 17.0304 3 16.5 3H15.5C14.9696 3 14.4609 3.21071 14.0858 3.58579C13.7107 3.96086 13.5 4.46957 13.5 5V7H10V5C10 4.46957 9.7893 3.96086 9.41422 3.58579C9.03915 3.21071 8.53044 3 8.00001 3H7.00001C6.46958 3 5.96087 3.21071 5.5858 3.58579C5.21072 3.96086 5.00001 4.46957 5.00001 5V10.5863C4.99917 10.849 5.05057 11.1093 5.
115121 11.352C5.25185 11.5947 5.39973 11.815 5.58626 12L7.00001 13.4137V27C7.00001 27.5304 7.21072 28.0391 7.5858 28.4142C7.96087 28.7893 8.46958 29 9.00001 29H23C23.5304 29 24.0392 28.7893 24.4142 28.4142C24.7893 28.0391 25 27.5304 25 27V13.4137L26.4138 12C26.6003 11.815 26.7482 11.5947 26.8488 11.352C26.9495 11.1093 27.0008 10.849 27 10.5863V5C27 4.46957 26.7893 3.96086 26.4142 3.58579C26.0392 3.21071 25.5304 3 25 3ZM19 27H13V19C13 18.2044 13.3161 17.4413 13.8787 16.8787C14.4413 16.3161 15.2044 16 16 16C16.7957 16 17.5587 16.3161 18.1213 16.8787C18.6839 17.4413 19 18.2044 19 19V27Z"})})};m.propTypes=i.W;let g=m,v=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M22.25 4C19.6688 4 17.4088 5.11 16 6.98625C14.5912 5.11 12.3313 4 9.75 4C7.69528 4.00232 5.72539 4.81958 4.27248 6.27248C2.81958 7.72539 2.00232 9.69528 2 11.75C2 20.5 14.9738 27.5825 15.5262 27.875C15.6719 27.9533 15.8346 27.9943 16 27.9943C16.1654 27.9943 16.3281 27.9533 16.4737 27.875C17.0262 27.5825 30 20.5 30 11.75C29.9977 9.69528 29.1804 7.72539 27.7275 6.27248C26.2746 4.81958 24.3047 4.00232 22.25 4ZM16 25.85C13.7175 24.52 4 18.4613 4 11.75C4.00198 10.2256 4.60842 8.76423 5.68633 7.68633C6.76423 6.60842 8.22561 6.00198 9.75 6C12.1812 6 14.2225 7.295 15.075 9.375C15.1503 9.55841 15.2785 9.71528 15.4432 9.82569C15.6079 9.93609 15.8017 9.99503 16 9.99503C16.1983 9.99503 16.3921 9.93609 16.5568 9.82569C16.7215 9.71528 16.8497 9.55841 16.925 9.375C17.7775 7.29125 19.8188 6 22.25 6C23.7744 6.00198 25.2358 6.60842 26.3137 7.68633C27.3916 8.76423 27.998 10.2256 28 11.75C28 18.4513 18.28 24.5188 16 25.85Z"})})};v.propTypes=i.W;let y=v,b=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M16 8C15.0111 8 14.0444 8.29325 13.2221 8.84265C12.3999 9.39206 11.759 10.173 11.3806 11.0866C11.0022 12.0002 10.9031 13.0055 11.0961 13.9755C11.289 14.9454 11.7652 15.8363 12.4645 16.5355C13.1637 17.2348 14.0546 17.711 15.0245 17.9039C15.9945 18.0969 16.9998 17.9978 17.9134 17.6194C18.827 17.241 19.6079 16.6001 20.1573 15.7779C20.7068 14.9556 21 13.9889 21 13C21 11.6739 20.4732 10.4021 19.5355 9.46447C18.5979 8.52678 17.3261 8 16 8ZM16 16C15.4067 16 14.8266 15.8241 14.3333 15.4944C13.8399 15.1648 13.4554 14.6962 13.2284 14.1481C13.0013 13.5999 12.9419 12.9967 13.0576 12.4147C13.1734 11.8328 13.4591 11.2982 13.8787 10.8787C14.2982 10.4591 14.8328 10.1734 15.4147 10.0576C15.9967 9.94189 16.5999 10.0013 17.1481 10.2284C17.6962 10.4554 18.1648 10.8399 18.4944 11.3333C18.8241 11.8266 19 12.4067 19 13C19 13.7956 18.6839 14.5587 18.1213 15.1213C17.5587 15.6839 16.7956 16 16 16ZM16 2C13.0836 2.00331 10.2877 3.1633 8.22548 5.22548C6.1633 7.28766 5.00331 10.0836 5 13C5 16.925 6.81375 21.085 10.25 25.0312C11.794 26.8145 13.5318 28.4202 15.4312 29.8188C15.5994 29.9365 15.7997 29.9997 16.005 29.9997C16.2103 29.9997 16.4106 29.9365 16.5788 29.8188C18.4747 28.4196 20.2091 26.8139 21.75 25.0312C25.1812 21.085 27 16.925 27 13C26.9967 10.0836 25.8367 7.28766 23.7745 5.22548C21.7123 3.1633 18.9164 2.00331 16 2ZM16 27.75C13.9338 26.125 7 20.1562 7 13C7 10.6131 7.94821 8.32387 9.63604 6.63604C11.3239 4.94821 13.6131 4 16 4C18.3869 4 20.6761 4.94821 22.364 6.63604C24.0518 8.32387 25 10.6131 25 13C25 20.1537 18.0662 26.125 16 27.75Z"})})};b.propTypes=i.W;let w=b,x=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27 8H22C22 6.4087 21.3679 4.88258 20.2426 3.75736C19.1174 2.63214 17.5913 2 16 2C14.4087 2 12.8826 2.63214 11.7574 3.75736C10.6321 4.88258 10 6.4087 10 8H5C4.46957 8 3.96086 8.21071 3.58579 8.58579C3.21071 8.96086 3 9.46957 3 10V25C3 25.5304 3.21071 26.0391 3.58579 26.4142C3.96086 26.7893 4.46957 27 5 27H27C27.5304 27 28.0391 26.7893 28.4142 26.4142C28.7893 26.0391 29 25.5304 29 25V10C29 9.46957 28.7893 8.96086 28.4142 8.58579C28.0391 8.21071 27.5304 8 27 8ZM16 4C17.0609 4 18.0783 4.42143 18.8284 5.17157C19.5786 5.92172 20 6.93913 20 8H12C12 6.93913 12.4214 5.92172 13.1716 5.17157C13.9217 4.42143 14.9391 4 16 4ZM27 25H5V10H10V12C10 12.2652 10.1054 12.5196 10.2929 12.7071C10.4804 12.8946 10.7348 13 
111 13C11.2652 13 11.5196 12.8946 11.7071 12.7071C11.8946 12.5196 12 12.2652 12 12V10H20V12C20 12.2652 20.1054 12.5196 20.2929 12.7071C20.4804 12.8946 20.7348 13 21 13C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12V10H27V25Z"})})};x.propTypes=i.W;let C=x;i.W;let E=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27 7V14.5C27 14.6326 26.9473 14.7598 26.8536 14.8536C26.7598 14.9473 26.6326 15 26.5 15H17V5.5C17 5.36739 17.0527 5.24021 17.1464 5.14645C17.2402 5.05268 17.3674 5 17.5 5H25C25.5304 5 26.0391 5.21071 26.4142 5.58579C26.7893 5.96086 27 6.46957 27 7ZM14.5 5H7C6.46957 5 5.96086 5.21071 5.58579 5.58579C5.21071 5.96086 5 6.46957 5 7V14.5C5 14.6326 5.05268 14.7598 5.14645 14.8536C5.24021 14.9473 5.36739 15 5.5 15H15V5.5C15 5.36739 14.9473 5.24021 14.8536 5.14645C14.7598 5.05268 14.6326 5 14.5 5ZM26.5 17H17V26.5C17 26.6326 17.0527 26.7598 17.1464 26.8536C17.2402 26.9473 17.3674 27 17.5 27H25C25.5304 27 26.0391 26.7893 26.4142 26.4142C26.7893 26.0391 27 25.5304 27 25V17.5C27 17.3674 26.9473 17.2402 26.8536 17.1464C26.7598 17.0527 26.6326 17 26.5 17ZM5 17.5V25C5 25.5304 5.21071 26.0391 5.58579 26.4142C5.96086 26.7893 6.46957 27 7 27H14.5C14.6326 27 14.7598 26.9473 14.8536 26.8536C14.9473 26.7598 15 26.6326 15 26.5V17H5.5C5.36739 17 5.24021 17.0527 5.14645 17.1464C5.05268 17.2402 5 17.3674 5 17.5Z"})})};E.propTypes=i.W;let S=E,A=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M16 3C13.4288 3 10.9154 3.76244 8.77759 5.1909C6.63975 6.61935 4.97351 8.64968 3.98957 11.0251C3.00563 13.4006 2.74819 16.0144 3.2498 18.5362C3.75141 21.0579 4.98953 23.3743 6.80762 25.1924C8.6257 27.0105 10.9421 28.2486 13.4638 28.7502C15.9856 29.2518 18.5995 28.9944 20.9749 28.0104C23.3503 27.0265 25.3807 25.3603 26.8091 23.2224C28.2376 21.0846 29 18.5712 29 16C28.9964 12.5533 27.6256 9.24882 25.1884 6.81163C22.7512 4.37445 19.4467 3.00364 16 3ZM16 27C13.8244 27 11.6977 26.3549 9.88873 25.1462C8.07979 23.9375 6.66989 22.2195 5.83733 20.2095C5.00477 18.1995 4.78693 15.9878 5.21137 13.854C5.63581 11.7202 6.68345 9.7602 8.22183 8.22183C9.76021 6.68345 11.7202 5.6358 13.854 5.21136C15.9878 4.78692 18.1995 5.00476 20.2095 5.83733C22.2195 6.66989 23.9375 8.07979 25.1462 9.88873C26.3549 11.6977 27 13.8244 27 16C26.9967 18.9164 25.8367 21.7123 23.7745 23.7745C21.7123 25.8367 18.9164 26.9967 16 27ZM22 16C22 16.2652 21.8946 16.5196 21.7071 16.7071C21.5196 16.8946 21.2652 17 21 17H17V21C17 21.2652 16.8946 21.5196 16.7071 21.7071C16.5196 21.8946 16.2652 22 16 22C15.7348 22 15.4804 21.8946 15.2929 21.7071C15.1054 21.5196 15 21.2652 15 21V17H11C10.7348 17 10.4804 16.8946 10.2929 16.7071C10.1054 16.5196 10 16.2652 10 16C10 15.7348 10.1054 15.4804 10.2929 15.2929C10.4804 15.1054 10.7348 15 11 15H15V11C15 10.7348 15.1054 10.4804 15.2929 10.2929C15.4804 10.1054 15.7348 10 16 10C16.2652 10 16.5196 10.1054 16.7071 10.2929C16.8946 10.4804 17 10.7348 17 11V15H21C21.2652 15 21.5196 15.1054 21.7071 15.2929C21.8946 15.4804 22 15.7348 22 16Z"})})};A.propTypes=i.W;let k=A,N=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M22 16C22 16.2652 21.8946 16.5196 21.7071 16.7071C21.5196 16.8946 21.2652 17 21 17H11C10.7348 17 10.4804 16.8946 10.2929 16.7071C10.1054 16.5196 10 16.2652 10 16C10 15.7348 10.1054 15.4804 10.2929 15.2929C10.4804 15.1054 10.7348 15 11 15H21C21.2652 15 21.5196 15.1054 21.7071 15.2929C21.8946 15.4804 22 15.7348 22 16ZM29 16C29 18.5712 28.2376 21.0846 26.8091 23.2224C25.3807 25.3603 23.3503 27.0265 20.9749 28.0104C18.5995 28.9944 15.9856 29.2518 13.4638 28.7502C10.9421 28.2486 8.6257 27.0105 6.80762 25.1924C4.98953 23.3743 3.75141 21.0579 3.2498 18.5362C2.74819 16.0144 3.00563 13.4006 3.98957 11.0251C4.97351 8.64968 6.63975 6.61935 8.77759 5.1909C10.9154 3.76244 13.4288 3 16 3C19.4467 3.00364 22.7512 4.37445 25.1884 6.81163C27.6256 9.24882 28.99
164 12.5533 29 16ZM27 16C27 13.8244 26.3549 11.6977 25.1462 9.88873C23.9375 8.07979 22.2195 6.66989 20.2095 5.83733C18.1995 5.00476 15.9878 4.78692 13.854 5.21136C11.7202 5.6358 9.76021 6.68345 8.22183 8.22183C6.68345 9.7602 5.63581 11.7202 5.21137 13.854C4.78693 15.9878 5.00477 18.1995 5.83733 20.2095C6.66989 22.2195 8.07979 23.9375 9.88873 25.1462C11.6977 26.3549 13.8244 27 16 27C18.9164 26.9967 21.7123 25.8367 23.7745 23.7745C25.8367 21.7123 26.9967 18.9164 27 16Z"})})};N.propTypes=i.W;let P=N,I=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27 6H22V5C22 4.20435 21.6839 3.44129 21.1213 2.87868C20.5587 2.31607 19.7956 2 19 2H13C12.2044 2 11.4413 2.31607 10.8787 2.87868C10.3161 3.44129 10 4.20435 10 5V6H5C4.73478 6 4.48043 6.10536 4.29289 6.29289C4.10536 6.48043 4 6.73478 4 7C4 7.26522 4.10536 7.51957 4.29289 7.70711C4.48043 7.89464 4.73478 8 5 8H6V26C6 26.5304 6.21071 27.0391 6.58579 27.4142C6.96086 27.7893 7.46957 28 8 28H24C24.5304 28 25.0391 27.7893 25.4142 27.4142C25.7893 27.0391 26 26.5304 26 26V8H27C27.2652 8 27.5196 7.89464 27.7071 7.70711C27.8946 7.51957 28 7.26522 28 7C28 6.73478 27.8946 6.48043 27.7071 6.29289C27.5196 6.10536 27.2652 6 27 6ZM12 5C12 4.73478 12.1054 4.48043 12.2929 4.29289C12.4804 4.10536 12.7348 4 13 4H19C19.2652 4 19.5196 4.10536 19.7071 4.29289C19.8946 4.48043 20 4.73478 20 5V6H12V5ZM24 26H8V8H24V26ZM14 13V21C14 21.2652 13.8946 21.5196 13.7071 21.7071C13.5196 21.8946 13.2652 22 13 22C12.7348 22 12.4804 21.8946 12.2929 21.7071C12.1054 21.5196 12 21.2652 12 21V13C12 12.7348 12.1054 12.4804 12.2929 12.2929C12.4804 12.1054 12.7348 12 13 12C13.2652 12 13.5196 12.1054 13.7071 12.2929C13.8946 12.4804 14 12.7348 14 13ZM20 13V21C20 21.2652 19.8946 21.5196 19.7071 21.7071C19.5196 21.8946 19.2652 22 19 22C18.7348 22 18.4804 21.8946 18.2929 21.7071C18.1054 21.5196 18 21.2652 18 21V13C18 12.7348 18.1054 12.4804 18.2929 12.2929C18.4804 12.1054 18.7348 12 19 12C19.2652 12 19.5196 12.1054 19.7071 12.2929C19.8946 12.4804 20 12.7348 20 13Z"})})};I.propTypes=i.W;let T=I;n(54052);let O=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M20.7075 25.2926C20.8004 25.3855 20.8741 25.4958 20.9244 25.6172C20.9747 25.7386 21.0006 25.8687 21.0006 26.0001C21.0006 26.1315 20.9747 26.2616 20.9244 26.383C20.8741 26.5044 20.8004 26.6147 20.7075 26.7076C20.6146 26.8005 20.5043 26.8742 20.3829 26.9245C20.2615 26.9747 20.1314 27.0006 20 27.0006C19.8686 27.0006 19.7385 26.9747 19.6171 26.9245C19.4957 26.8742 19.3854 26.8005 19.2925 26.7076L9.29249 16.7076C9.19952 16.6147 9.12576 16.5044 9.07543 16.383C9.02511 16.2616 8.99921 16.1315 8.99921 16.0001C8.99921 15.8687 9.02511 15.7385 9.07543 15.6171C9.12576 15.4957 9.19952 15.3854 9.29249 15.2926L19.2925 5.29257C19.4801 5.10493 19.7346 4.99951 20 4.99951C20.2654 4.99951 20.5199 5.10493 20.7075 5.29257C20.8951 5.48021 21.0006 5.7347 21.0006 6.00007C21.0006 6.26543 20.8951 6.51993 20.7075 6.70757L11.4137 16.0001L20.7075 25.2926Z"})})};O.propTypes=i.W;let L=O;i.W;let M=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28.3988 13.06C28.8505 12.9681 29.2567 12.7229 29.5484 12.366C29.8402 12.009 29.9997 11.5623 30 11.1012V8C30 7.46957 29.7893 6.96086 29.4142 6.58579C29.0391 6.21071 28.5304 6 28 6H4C3.46957 6 2.96086 6.21071 2.58579 6.58579C2.21071 6.96086 2 7.46957 2 8V11.1012C2.00025 11.5623 2.15977 12.009 2.45156 12.366C2.74334 12.7229 3.14948 12.9681 3.60125 13.06C4.27676 13.2001 4.88334 13.5687 5.31882 14.1038C5.75431 14.6388 5.99208 15.3076 5.99208 15.9975C5.99208 16.6874 5.75431 17.3562 5.31882 17.8912C4.88334 18.4263 4.27676 18.7949 3.60125 18.935C3.14864 19.0271 2.74186 19.273 2.44997 19.631C2.15809 19.9889 1.9991 20.4369 2 20.8988V24C2 24.5304 2.21071 25.0391 2.58579 25.4142C2.96086 25.7893 3.46957 26 4 26H28C28.5304 26 29.0391 25.7893 29.4142 25.4142C29.7893 25.0391 30 24.5304 30 24V20.8988C29.9997 20.4377 29.8402 19.9909 29.5484 19.634C29.2567 19.2771 28.8505 19.0319 28.3988 18.94C27.7232 18.7999 27.1167 18.4313 26.6812 17.8962C26.2457 17.3612 26.0079 16.6924 26.0079 16.0025C26.0079 15.3126 26.2457 14.6438 26.6812 14.1088C27.1167 13.5737 27.7232 
113.2051 28.3988 13.065V13.06ZM4 20.9C5.12962 20.6699 6.14501 20.0565 6.8743 19.1637C7.60358 18.2708 8.00194 17.1534 8.00194 16.0006C8.00194 14.8478 7.60358 13.7304 6.8743 12.8376C6.14501 11.9448 5.12962 11.3314 4 11.1012V8H11V24H4V20.9ZM28 20.9V24H13V8H28V11.1C26.8704 11.3301 25.855 11.9435 25.1257 12.8363C24.3964 13.7292 23.9981 14.8466 23.9981 15.9994C23.9981 17.1522 24.3964 18.2696 25.1257 19.1624C25.855 20.0552 26.8704 20.6686 28 20.8988V20.9Z"})})};M.propTypes=i.W;let D=M,j=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27 5H17V3C17 2.73478 16.8946 2.48043 16.7071 2.29289C16.5196 2.10536 16.2652 2 16 2C15.7348 2 15.4804 2.10536 15.2929 2.29289C15.1054 2.48043 15 2.73478 15 3V5H5C4.46957 5 3.96086 5.21071 3.58579 5.58579C3.21071 5.96086 3 6.46957 3 7V22C3 22.5304 3.21071 23.0391 3.58579 23.4142C3.96086 23.7893 4.46957 24 5 24H9.92L7.21875 27.375C7.05299 27.5822 6.97633 27.8468 7.00563 28.1105C7.03493 28.3742 7.1678 28.6155 7.375 28.7812C7.5822 28.947 7.84676 29.0237 8.11049 28.9944C8.37421 28.9651 8.61549 28.8322 8.78125 28.625L12.48 24H19.52L23.2188 28.625C23.3008 28.7276 23.4023 28.813 23.5174 28.8764C23.6325 28.9398 23.7589 28.9799 23.8895 28.9944C24.0201 29.0089 24.1523 28.9975 24.2785 28.961C24.4046 28.9244 24.5224 28.8633 24.625 28.7812C24.7276 28.6992 24.813 28.5977 24.8764 28.4826C24.9398 28.3675 24.9799 28.2411 24.9944 28.1105C25.0089 27.9799 24.9975 27.8477 24.961 27.7215C24.9244 27.5954 24.8633 27.4776 24.7812 27.375L22.08 24H27C27.5304 24 28.0391 23.7893 28.4142 23.4142C28.7893 23.0391 29 22.5304 29 22V7C29 6.46957 28.7893 5.96086 28.4142 5.58579C28.0391 5.21071 27.5304 5 27 5ZM27 22H5V7H27V22Z"})})};j.propTypes=i.W;let _=j,R=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M16 10C14.8133 10 13.6533 10.3519 12.6666 11.0112C11.6799 11.6705 10.9108 12.6075 10.4567 13.7039C10.0026 14.8003 9.88377 16.0067 10.1153 17.1705C10.3468 18.3344 10.9182 19.4035 11.7574 20.2426C12.5965 21.0818 13.6656 21.6532 14.8295 21.8847C15.9933 22.1162 17.1997 21.9974 18.2961 21.5433C19.3925 21.0891 20.3295 20.3201 20.9888 19.3334C21.6481 18.3467 22 17.1867 22 16C21.9983 14.4092 21.3657 12.884 20.2408 11.7592C19.116 10.6343 17.5908 10.0017 16 10ZM16 20C15.2089 20 14.4355 19.7654 13.7777 19.3259C13.1199 18.8863 12.6072 18.2616 12.3045 17.5307C12.0017 16.7998 11.9225 15.9956 12.0769 15.2196C12.2312 14.4437 12.6122 13.731 13.1716 13.1716C13.731 12.6122 14.4437 12.2312 15.2196 12.0769C15.9956 11.9225 16.7998 12.0017 17.5307 12.3045C18.2616 12.6072 18.8863 13.1199 19.3259 13.7777C19.7654 14.4355 20 15.2089 20 16C20 17.0609 19.5786 18.0783 18.8284 18.8284C18.0783 19.5786 17.0609 20 16 20ZM27 16.27C27.005 16.09 27.005 15.91 27 15.73L28.865 13.4C28.9628 13.2777 29.0305 13.1341 29.0626 12.9808C29.0947 12.8275 29.0904 12.6688 29.05 12.5175C28.7443 11.3682 28.2869 10.2648 27.69 9.23625C27.6118 9.10164 27.5033 8.98714 27.3731 8.90186C27.2429 8.81658 27.0946 8.76286 26.94 8.745L23.975 8.415C23.8517 8.285 23.7267 8.16 23.6 8.04L23.25 5.0675C23.232 4.91276 23.1781 4.76437 23.0926 4.63416C23.0071 4.50395 22.8923 4.39551 22.7575 4.3175C21.7285 3.72168 20.6252 3.26479 19.4762 2.95875C19.3248 2.91849 19.1661 2.91438 19.0128 2.94673C18.8595 2.97908 18.716 3.04699 18.5937 3.145L16.27 5C16.09 5 15.91 5 15.73 5L13.4 3.13875C13.2777 3.04096 13.1341 2.97327 12.9808 2.94114C12.8275 2.909 12.6688 2.91332 12.5175 2.95375C11.3684 3.26003 10.2651 3.71735 9.23625 4.31375C9.10164 4.3919 8.98714 4.5004 8.90186 4.63061C8.81658 4.76081 8.76286 4.90913 8.745 5.06375L8.415 8.03375C8.285 8.15791 8.16 8.28291 8.04 8.40875L5.0675 8.75C4.91276 8.768 4.76437 8.8219 4.63416 8.90741C4.50395 8.99291 4.39551 9.10766 4.3175 9.2425C3.72168 10.2715 3.26479 11.3748 2.95875 12.5237C2.91849 12.6752 2.91438 12.8339 2.94673 12.9872C2.97908 13.1405 3.04699 13.284 3.145 13.4062L5 15.73C5 15.91 5 16.09 5 16.27L3.13875 18.6C3.04096 18.7223 2.97327 18.8659 2.94114 19.0192C2.909 19.1725 2.91332 19.3312 2.95375 19.4825C3.25948 20.6317 3.71683 21.7352 4.31375 22.7637C4.3919 22.8983 4.5004 23.0128 4.63061 23.0981C4.76081 23.1834 4.90913 23.2371 5.06375 23.255L8.02875 23.585C8.15291 23.715 8.27791 23.84 8.40375 23.96L8.75 26.9325C8.768 27.0872 8.8219 27.2356 8.90741 27.3658C8.99291 27.496 9.10766 27.6045 9.2425 27.6825C10.2715 28.2783 11.3748 28.7352 12.5237 29.0412C12.6752 29.0815 12.8339 29.0856 12.9872 29.0533C13.1405 29.0209 13.284 28.953 13.4062 28.855L15.73 27C15.91 27.005 16.09 27.005 16.27 27L18.6 28.865C18.7223 28.9628 18.8659 29.0305 19.0192 29.0626C19.1725 29.0947 19.3312 29.0904 19.4825 29.05C20.6317 28.7443 21.7352 28.2869 22.7637 27.69C22.8983 27.6118 23.0128 27.5033 23.0981 27.3731C23.1834 27.2429 23.2371 27.0946 23.255 26.94L23.585 23.975C23.715 23.8517 23.84 23.7267 23.96 23.6L26.9325 23.25C27.0872 23.232 27.2356 23.1781 27.3658 23.0926C27.496 23.0071 27.6045 22.8923 27.6825 22.7575C28.2783 21.7285 28.7352 20.6252 29.0412 19.4762C29.0815 19.3248 29.0856 19.1661 29.0533 19.0128C29.0209 18.8595 28.953 18.716 28.855 18.5937L27 16.27ZM24.9875 15.4575C25.0087 15.8189 25.0087 16.1811 24.9875 16.5425C24.9726 16.7899 25.0501 17.034 25.205 17.2275L26.9787 19.4437C26.7752 20.0906 26.5146 20.718 26.2 21.3187L23.375 21.6387C23.129 21.6661 22.9018 21.7836 22.7375 21.9687C22.4969 22.2394 22.2406 22.4956 21.97 22.7362C21.7849 22.9006 21.6673 23.1277 21.64 23.3737L21.3262 26.1962C20.7256 26.511 20.0981 26.7716 19.4512 26.975L17.2337 25.2012C17.0563 25.0595 16.8359 24.9823 16.6087 24.9825H16.5487C16.1874 25.0037 15.8251 25.0037 15.4637 24.9825C15.2163 24.9676 14.9722 25.0451 14.7787 25.2L12.5562 26.975C11.9094 26.7715 11.2819 26.5109 10.6812 26.1962L10.3612 23.375C10.3339 23.129 10.2164 22.9018 10.0312 22.7375C9.76063 22.4969 9.50436 22.2406 9.26375 21.97C9.09941 21.7849 8.87226 21.6673 8.62625 21.64L5.80375 21.325C5.48899 20.7244 5.22837 20.0969 5.025 19.45L6.79875 17.2325C6.95363 17.039 7.03114 16.7949 7.01625 16.5475C6.995 16.1861 6.995 15.8239 7.01625 15.4625C7.03114 15.2151 6.95363 14.971 6.79875 14.7775L5.025 12.5562C5.22853 11.9094 5.48914 11.2819 5.80375 10.6812L8.625 10.3612C8.87101 10.3339 9.09816 10.2164 9.2625 10.0312C9.50311 9.76063 9.75938 9.50436 10.03 9.26375C10.2158 9.09931 10.3339 8.87164 10.3612 8.625L10.675 5.80375C11.2756 5.48899 11.9031 5.22837 12.55 5.025L14.7675 6.79875C14.961 6.95363 15.2051 7.03114 15.4525 7.01625C15.8139 6.995 16.1761 6.995 16.5375 7.01625C16.7849 7.03114 17.029 6.95363 17.2225 6.79875L19.4437 5.025C20.0906 5.22853 20.718 5.48914 21.3187 5.80375L21.6387 8.625C21.6661 8.87101 21.7836 9.09816 21.9687 9.2625C22.2394 9.50311 22.4956 9.75938 22.7362 10.03C22.9006 10.2151 23.1277 10.3327 23.3737 10.36L26.1962 10.6737C26.511 11.2744 26.7716 11.9019 26.975 12.5487L25.2012 14.7662C25.0449 14.9614 24.9673 15.208 24.9837 15.4575H24.9875Z"})})};R.propTypes=i.W;let F=R,z=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M16 3C13.4288 3 10.9154 3.76244 8.77759 5.1909C6.63975 6.61935 4.97351 8.64968 3.98957 11.0251C3.00563 13.4006 2.74819 16.0144 3.2498 18.5362C3.75141 21.0579 4.98953 23.3743 6.80762 25.1924C8.6257 27.0105 10.9421 28.2486 13.4638 28.7502C15.9856 29.2518 18.5995 28.9944 20.9749 28.0104C23.3503 27.0265 25.3807 25.3603 26.8091 23.2224C28.2376 21.0846 29 18.5712 29 16C28.9964 12.5533 27.6256 9.24882 25.1884 6.81163C22.7512 4.37445 19.4467 3.00364 16 3ZM20.8875 19.4737C21.611 18.4599 21.9999 17.2455 21.9999 16C21.9999 14.7545 21.611 13.5401 20.8875 12.5262L24.45 8.965C26.0976 10.939 27.0001 13.4287 27.0001 16C27.0001 18.5713 26.0976 21.061 24.45 23.035L20.8875 19.4737ZM12 16C12 15.2089 12.2346 14.4355 12.6741 13.7777C13.1137 13.1199 13.7384 12.6072 14.4693 12.3045C15.2002 12.0017 16.0044 11.9225 16.7804 12.0769C17.5563 12.2312 18.269 12.6122 18.8284 13.1716C19.3878 13.731 19.7688 14.4437 19.9231 15.2196C20.0775 15.9956 19.9983 16.7998 19.6955 17.5307C19.3928 18.2616 18.8801 18.8864 18.2223 19.3259C17.5645 19.7654 16.7911 20 16 20C14.9391 20 13.9217 19.5786 13.1716 18.8284C12.4214 18.0783 12 17.0609 12 16ZM23.035 7.55L19.4738 11.1125C18.4599 10.389 17.2455 10.0001 16 10.0001C14.7545 10.0001 13.5401 10.389 12.5263 11.1125L8.96501 7.55C10.939 5.9
10237 13.4287 4.99988 16 4.99988C18.5713 4.99988 21.061 5.90237 23.035 7.55ZM7.55001 8.965L11.1125 12.5262C10.389 13.5401 10.0001 14.7545 10.0001 16C10.0001 17.2455 10.389 18.4599 11.1125 19.4737L7.55001 23.035C5.90238 21.061 4.99988 18.5713 4.99988 16C4.99988 13.4287 5.90238 10.939 7.55001 8.965ZM8.96501 24.45L12.5263 20.8875C13.5401 21.611 14.7545 21.9999 16 21.9999C17.2455 21.9999 18.4599 21.611 19.4738 20.8875L23.035 24.45C21.061 26.0976 18.5713 27.0001 16 27.0001C13.4287 27.0001 10.939 26.0976 8.96501 24.45Z"})})};z.propTypes=i.W;let B=z,V=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M14 27C14 27.2652 13.8946 27.5196 13.7071 27.7071C13.5196 27.8946 13.2652 28 13 28H6C5.46957 28 4.96086 27.7893 4.58579 27.4142C4.21071 27.0391 4 26.5304 4 26V6C4 5.46957 4.21071 4.96086 4.58579 4.58579C4.96086 4.21071 5.46957 4 6 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5C14 5.26522 13.8946 5.51957 13.7071 5.70711C13.5196 5.89464 13.2652 6 13 6H6V26H13C13.2652 26 13.5196 26.1054 13.7071 26.2929C13.8946 26.4804 14 26.7348 14 27ZM27.7075 15.2925L22.7075 10.2925C22.5199 10.1049 22.2654 9.99944 22 9.99944C21.7346 9.99944 21.4801 10.1049 21.2925 10.2925C21.1049 10.4801 20.9994 10.7346 20.9994 11C20.9994 11.2654 21.1049 11.5199 21.2925 11.7075L24.5863 15H13C12.7348 15 12.4804 15.1054 12.2929 15.2929C12.1054 15.4804 12 15.7348 12 16C12 16.2652 12.1054 16.5196 12.2929 16.7071C12.4804 16.8946 12.7348 17 13 17H24.5863L21.2925 20.2925C21.1049 20.4801 20.9994 20.7346 20.9994 21C20.9994 21.2654 21.1049 21.5199 21.2925 21.7075C21.4801 21.8951 21.7346 22.0006 22 22.0006C22.2654 22.0006 22.5199 21.8951 22.7075 21.7075L27.7075 16.7075C27.8005 16.6146 27.8742 16.5043 27.9246 16.3829C27.9749 16.2615 28.0008 16.1314 28.0008 16C28.0008 15.8686 27.9749 15.7385 27.9246 15.6171C27.8742 15.4957 27.8005 15.3854 27.7075 15.2925Z"})})};V.propTypes=i.W;let U=V,q=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28.865 26.5C26.9612 23.2087 24.0275 20.8487 20.6037 19.73C22.2973 18.7218 23.613 17.1856 24.349 15.3572C25.0849 13.5289 25.2004 11.5095 24.6775 9.60918C24.1547 7.70887 23.0226 6.03272 21.4549 4.83814C19.8873 3.64355 17.9709 2.99658 16 2.99658C14.0291 2.99658 12.1126 3.64355 10.545 4.83814C8.97737 6.03272 7.84522 7.70887 7.3224 9.60918C6.79958 11.5095 6.91501 13.5289 7.65096 15.3572C8.38691 17.1856 9.70268 18.7218 11.3962 19.73C7.97247 20.8475 5.03872 23.2075 3.13497 26.5C3.06516 26.6138 3.01885 26.7405 2.99878 26.8725C2.97872 27.0045 2.98529 27.1392 3.01813 27.2687C3.05096 27.3981 3.10939 27.5197 3.18996 27.6262C3.27053 27.7326 3.37162 27.8219 3.48725 27.8887C3.60289 27.9555 3.73073 27.9985 3.86323 28.015C3.99574 28.0316 4.13022 28.0215 4.25875 27.9853C4.38728 27.949 4.50725 27.8874 4.61158 27.8041C4.71592 27.7207 4.8025 27.6173 4.86622 27.5C7.22122 23.43 11.3837 21 16 21C20.6162 21 24.7787 23.43 27.1337 27.5C27.1974 27.6173 27.284 27.7207 27.3884 27.8041C27.4927 27.8874 27.6127 27.949 27.7412 27.9853C27.8697 28.0215 28.0042 28.0316 28.1367 28.015C28.2692 27.9985 28.3971 27.9555 28.5127 27.8887C28.6283 27.8219 28.7294 27.7326 28.81 27.6262C28.8906 27.5197 28.949 27.3981 28.9818 27.2687C29.0147 27.1392 29.0212 27.0045 29.0012 26.8725C28.9811 26.7405 28.9348 26.6138 28.865 26.5ZM8.99997 12C8.99997 10.6155 9.41051 9.26214 10.1797 8.11099C10.9489 6.95985 12.0421 6.06264 13.3212 5.53283C14.6003 5.00301 16.0077 4.86439 17.3656 5.13449C18.7235 5.40458 19.9708 6.07127 20.9497 7.05023C21.9287 8.0292 22.5954 9.27648 22.8655 10.6344C23.1356 11.9922 22.9969 13.3997 22.4671 14.6788C21.9373 15.9578 21.0401 17.0511 19.889 17.8203C18.7378 18.5894 17.3844 19 16 19C14.1441 18.998 12.3647 18.2599 11.0524 16.9475C9.74009 15.6352 9.00196 13.8559 8.99997 12Z"})})};q.propTypes=i.W;let H=q,Z=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28 15.9999C28 16.2652 27.8946 16.5195 27.7071 16.7071C27.5196 16.8946 27.2652 16.9999 27 16.9999H7.41374L14.7075 24.2924C14.8004 24.3854 14.8741 24.4957 14.9244 24.6171C14.9747 24.7384 15.0005 24.8686 15.0005 24.9999C15.0005 25.1313 14.9747 25.2614 14.9244 25.3828C14.8741 25.5042 14.8004 25.6145 14.7075 25.7074C14.6146 25.8004 14.5043 25.8741 14.3829 25.9243C14.2615 25.9746 14.1314 26.0005 14 26.0005C13.8686 26.0005 13.7385 25.9746 13.6171 25.9243C13.4957 25.8741 13.3854 25.8004 13.2925 25.7074L4.29249 16.7074C4.19952 16.6146 4.12576 16.5043 4.07543 16.3829C4.02511 16.2615 3.99921 16.1314 3.99921 15.9999C3.99921 15.8685 4.02511 15.7384 4.07543 15.617C4.12576 15.4956 4.19952 15.3853 4.29249 15.2924L13.2925 6.29245C13.4801 6.1048 13.7346 5.99939 14 5.99939C14.2654 5.99939 14.5199 6.1048 14.7075 6.29245C14.8951 6.48009 15.0005 6.73458 15.0005 6.99995C15.0005 7.26531 14.8951 7.5198 14.7075 7.70745L7.41374 14.9999H27C27.2652 14.9999 27.5196 15.1053 27.7071 15.2928C27.8946 15.4804 28 15.7347 28 15.9999Z"})})};Z.propTypes=i.W;let W=Z,G=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28 6H4C3.46957 6 2.96086 6.21071 2.58579 6.58579C2.21071 6.96086 2 7.46957 2 8V24C2 24.5304 2.21071 25.0391 2.58579 25.4142C2.96086 25.7893 3.46957 26 4 26H28C28.5304 26 29.0391 25.7893 29.4142 25.4142C29.7893 25.0391 30 24.5304 30 24V8C30 7.46957 29.7893 6.96086 29.4142 6.58579C29.0391 6.21071 28.5304 6 28 6ZM28 8V11H4V8H28ZM28 24H4V13H28V24ZM26 21C26 21.2652 25.8946 21.5196 25.7071 21.7071C25.5196 21.8946 25.2652 22 25 22H21C20.7348 22 20.4804 21.8946 20.2929 21.7071C20.1054 21.5196 20 21.2652 20 21C20 20.7348 20.1054 20.4804 20.2929 20.2929C20.4804 20.1054 20.7348 20 21 20H25C25.2652 20 25.5196 20.1054 25.7071 20.2929C25.8946 20.4804 26 20.7348 26 21ZM18 21C18 21.2652 17.8946 21.5196 17.7071 21.7071C17.5196 21.8946 17.2652 22 17 22H15C14.7348 22 14.4804 21.8946 14.2929 21.7071C14.1054 21.5196 14 21.2652 14 21C14 20.7348 14.1054 20.4804 14.2929 20.2929C14.4804 20.1054 14.7348 20 15 20H17C17.2652 20 17.5196 20.1054 17.7071 20.2929C17.8946 20.4804 18 20.7348 18 21Z"})})};G.propTypes=i.W;let $=G;i.W;let K=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M30 11.75C30 20.5 17.0262 27.5825 16.4737 27.875C16.3281 27.9533 16.1654 27.9943 16 27.9943C15.8346 27.9943 15.6719 27.9533 15.5262 27.875C14.9738 27.5825 2 20.5 2 11.75C2.00232 9.69528 2.81958 7.72539 4.27248 6.27248C5.72539 4.81958 7.69528 4.00232 9.75 4C12.3313 4 14.5912 5.11 16 6.98625C17.4088 5.11 19.6688 4 22.25 4C24.3047 4.00232 26.2746 4.81958 27.7275 6.27248C29.1804 7.72539 29.9977 9.69528 30 11.75Z"})})};K.propTypes=i.W;let Y=K,X=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27.7075 16.7075L18.7075 25.7075C18.5199 25.8951 18.2654 26.0006 18 26.0006C17.7346 26.0006 17.4801 25.8951 17.2925 25.7075C17.1049 25.5199 16.9994 25.2654 16.9994 25C16.9994 24.7346 17.1049 24.4801 17.2925 24.2925L24.5863 17H5C4.73478 17 4.48043 16.8947 4.29289 16.7071C4.10536 16.5196 4 16.2652 4 16C4 15.7348 4.10536 15.4804 4.29289 15.2929C4.48043 15.1054 4.73478 15 5 15H24.5863L17.2925 7.70751C17.1049 7.51987 16.9994 7.26537 16.9994 7.00001C16.9994 6.73464 17.1049 6.48015 17.2925 6.29251C17.4801 6.10487 17.7346 5.99945 18 5.99945C18.2654 5.99945 18.5199 6.10487 18.7075 6.29251L27.7075 15.2925C27.8005 15.3854 27.8742 15.4957 27.9246 15.6171C27.9749 15.7385 28.0008 15.8686 28.0008 16C28.0008 16.1314 27.9749 16.2615 27.9246 16.3829C27.8742 16.5043 27.8005 16.6146 27.7075 16.7075Z"})})};X.propTypes=i.W;let Q=X,J=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M28.825 6.19125C28.6711 5.83564 28.416 5.53312 28.0915 5.32132C27.7671 5.10952 27.3875 4.99778 27 5H5C4.61291 5.00076 4.23436 5.11384 3.91028 5.32551C3.58619 5.53718 3.3305 5.83835 3.17421 6.19248C3.01792 6.54661 2.96775 6.93849 3.0298 7.32057C3.09184 7.70265 3.26343 8.05852 3.52375 8.345L3.53375 8.35625L12 17.3963V27C11.9999 27.362 12.0981 27.7172 12.284 28.0278C12.4699 28.3383 12.7366 28.5926 13.0557 28.7635C13.3748 28.9344 13.7343 29.0155 14.0959 28.9982C14.4574 28.9808 14.8075 28.8657 15.1087 28.665L19.1087 25.9975C19.383 25.8149 19.6078 25.5673 
119.7633 25.2768C19.9188 24.9864 20.0001 24.662 20 24.3325V17.3963L28.4675 8.35625L28.4775 8.345C28.7406 8.05983 28.9138 7.70349 28.9756 7.32046C29.0374 6.93744 28.985 6.54469 28.825 6.19125ZM18.5425 16.035C18.1951 16.4032 18.0011 16.89 18 17.3963V24.3325L14 27V17.3963C14.0012 16.8882 13.808 16.3989 13.46 16.0288L5 7H27L18.5425 16.035Z"})})};J.propTypes=i.W;let ee=J;i.W,i.W;let et=e=>{let{fill:t="",width:n=20,height:i=20,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M9.99993 0.25C8.31662 0.249633 6.66188 0.685083 5.19679 1.51396C3.7317 2.34285 2.50616 3.53692 1.63947 4.97997C0.772772 6.42301 0.294445 8.06587 0.251045 9.74862C0.207644 11.4314 0.600649 13.0967 1.39181 14.5825L0.327743 17.7747C0.239604 18.039 0.226813 18.3226 0.290804 18.5938C0.354795 18.8649 0.493039 19.1129 0.690042 19.3099C0.887044 19.5069 1.13502 19.6451 1.40618 19.7091C1.67733 19.7731 1.96095 19.7603 2.22524 19.6722L5.41743 18.6081C6.72503 19.3036 8.17388 19.6921 9.65402 19.744C11.1342 19.7959 12.6067 19.51 13.9598 18.9079C15.3129 18.3057 16.5111 17.4033 17.4634 16.269C18.4156 15.1346 19.097 13.7983 19.4557 12.3613C19.8144 10.9244 19.841 9.42456 19.5335 7.97578C19.226 6.52701 18.5925 5.16732 17.6811 3.99992C16.7697 2.83253 15.6043 1.88811 14.2733 1.23836C12.9424 0.588614 11.481 0.250608 9.99993 0.25ZM9.99993 18.25C8.5496 18.251 7.12471 17.8691 5.86931 17.1428C5.77739 17.0895 5.6752 17.0563 5.56949 17.0455C5.46379 17.0347 5.357 17.0464 5.25618 17.08L1.74993 18.25L2.91899 14.7438C2.95269 14.643 2.9646 14.5362 2.95394 14.4305C2.94327 14.3248 2.91027 14.2226 2.85712 14.1306C1.94772 12.5584 1.5826 10.7299 1.8184 8.92896C2.0542 7.12801 2.87774 5.4552 4.16126 4.17006C5.44479 2.88491 7.11655 2.05925 8.91721 1.82118C10.7179 1.5831 12.5468 1.94591 14.1202 2.85333C15.6936 3.76074 16.9236 5.16204 17.6193 6.83983C18.3151 8.51762 18.4377 10.3781 17.9681 12.1327C17.4986 13.8873 16.4632 15.4379 15.0224 16.5439C13.5817 17.65 11.8163 18.2497 9.99993 18.25Z",fill:"#CBD6FF"})})};et.propTypes=i.W;let en=et,er=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M13.25 5C13.25 5.19891 13.171 5.38968 13.0303 5.53033C12.8897 5.67098 12.6989 5.75 12.5 5.75C12.3011 5.75 12.1103 5.67098 11.9697 5.53033C11.829 5.38968 11.75 5.19891 11.75 5V2.8125L8.03063 6.53187C7.88973 6.67277 7.69863 6.75193 7.49938 6.75193C7.30012 6.75193 7.10902 6.67277 6.96812 6.53187C6.82723 6.39098 6.74807 6.19988 6.74807 6.00063C6.74807 5.80137 6.82723 5.61027 6.96812 5.46938L10.6875 1.75H8.5C8.30109 1.75 8.11032 1.67098 7.96967 1.53033C7.82902 1.38968 7.75 1.19891 7.75 1C7.75 0.801088 7.82902 0.610322 7.96967 0.46967C8.11032 0.329018 8.30109 0.25 8.5 0.25H12.5C12.6989 0.25 12.8897 0.329018 13.0303 0.46967C13.171 0.610322 13.25 0.801088 13.25 1V5ZM10.5 6.5C10.3011 6.5 10.1103 6.57902 9.96967 6.71967C9.82902 6.86032 9.75 7.05109 9.75 7.25V11.25H2.25V3.75H6.25C6.44891 3.75 6.63968 3.67098 6.78033 3.53033C6.92098 3.38968 7 3.19891 7 3C7 2.80109 6.92098 2.61032 6.78033 2.46967C6.63968 2.32902 6.44891 2.25 6.25 2.25H2C1.66848 2.25 1.35054 2.3817 1.11612 2.61612C0.881696 2.85054 0.75 3.16848 0.75 3.5V11.5C0.75 11.8315 0.881696 12.1495 1.11612 12.3839C1.35054 12.6183 1.66848 12.75 2 12.75H10C10.3315 12.75 10.6495 12.6183 10.8839 12.3839C11.1183 12.1495 11.25 11.8315 11.25 11.5V7.25C11.25 7.05109 11.171 6.86032 11.0303 6.71967C10.8897 6.57902 10.6989 6.5 10.5 6.5Z",fill:"#287BB9"})})};er.propTypes=i.W;let ei=er,ea=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M10.2738 11.8188C10.7351 11.367 11.0515 10.7881 11.1825 10.1558C11.3134 9.52351 11.2531 8.86655 11.0091 8.2687C10.7652 7.67085 10.3487 7.15922 9.81273 6.79907C9.27679 6.43892 8.64572 6.24658 8.00001 6.24658C7.35431 6.24658 6.72323 6.43892 6.1873 6.79907C5.65136 7.15922 5.23485 7.67085 4.99089 8.2687C4.74694 8.86655 4.6866 9.52351 4.81757 10.1558C4.94855 10.7881 5.26489 11.367 5.72626 11.8188C4.94511 12.234 4.29564 12.8594 3.85126 13.6244C3.7561 13.7964 3.73224 13.9988 3.78482 14.1882C3.8374 14.3776 3.96221 14.5387 4.13242 14.637C4.30262 14.7353 4.5046 14.7629 4.69491 14.7137C4.88522 14.6646 5.04864 14.5428 5.15001 14.3744C5.44308 13.8792 5.86008 13.4689 6.35993 13.184C6.85978 12.899 7.42525 12.7491 8.00064 12.7491C8.57603 12.7491 9.1415 12.899 9.64135 13.184C10.1412 13.4689 10.5582 13.8792 10.8513 14.3744C10.8995 14.4616 10.9646 14.5383 11.0429 14.6C11.1211 14.6617 11.2108 14.7072 11.3068 14.7339C11.4028 14.7606 11.5032 14.7678 11.6021 14.7553C11.7009 14.7427 11.7963 14.7106 11.8825 14.6607C11.9688 14.6109 12.0443 14.5444 12.1046 14.465C12.1649 14.3857 12.2088 14.2951 12.2337 14.1987C12.2586 14.1022 12.264 14.0017 12.2496 13.9031C12.2353 13.8045 12.2014 13.7098 12.15 13.6244C11.7053 12.8593 11.0554 12.2338 10.2738 11.8188ZM6.25001 9.50002C6.25001 9.1539 6.35265 8.81556 6.54494 8.52777C6.73723 8.23998 7.01055 8.01568 7.33032 7.88323C7.65009 7.75078 8.00195 7.71612 8.34142 7.78364C8.68089 7.85117 8.99271 8.01784 9.23745 8.26258C9.48219 8.50732 9.64886 8.81914 9.71639 9.15861C9.7839
11 9.49808 9.74926 9.84994 9.6168 10.1697C9.48435 10.4895 9.26005 10.7628 8.97226 10.9551C8.68447 11.1474 8.34613 11.25 8.00001 11.25C7.53588 11.25 7.09076 11.0656 6.76258 10.7375C6.43439 10.4093 6.25001 9.96415 6.25001 9.50002ZM15.4506 10.0994C15.3719 10.1586 15.2822 10.2017 15.1867 10.2263C15.0913 10.2508 14.9919 10.2563 14.8944 10.2425C14.7968 10.2286 14.7029 10.1956 14.6181 10.1454C14.5333 10.0953 14.4592 10.0289 14.4 9.95002C13.8794 9.25689 13.1594 8.72564 12.5669 8.59752C12.4093 8.56344 12.267 8.47952 12.1609 8.35818C12.0547 8.23684 11.9906 8.08454 11.9778 7.92386C11.965 7.76318 12.0044 7.60266 12.09 7.46609C12.1756 7.32952 12.3029 7.22416 12.4531 7.16564C12.6401 7.09265 12.8068 6.9757 12.939 6.82467C13.0713 6.67365 13.1652 6.493 13.2129 6.29801C13.2605 6.10302 13.2605 5.89941 13.2129 5.70442C13.1652 5.50942 13.0713 5.32878 12.939 5.17775C12.8068 5.02673 12.6401 4.90978 12.4531 4.83679C12.2661 4.76379 12.0643 4.73691 11.8647 4.7584C11.6652 4.7799 11.4737 4.84914 11.3065 4.96028C11.1394 5.07142 11.0014 5.22118 10.9044 5.39689C10.8584 5.48594 10.795 5.56486 10.7179 5.62898C10.6409 5.69311 10.5518 5.74114 10.4558 5.77024C10.3599 5.79934 10.2591 5.80891 10.1595 5.7984C10.0598 5.78789 9.96322 5.7575 9.87548 5.70904C9.78774 5.66057 9.7106 5.59501 9.64863 5.51623C9.58666 5.43744 9.54111 5.34704 9.51467 5.25035C9.48824 5.15366 9.48145 5.05266 9.49471 4.9533C9.50797 4.85395 9.54102 4.75826 9.59189 4.67189C9.77747 4.34374 10.0286 4.05724 10.3295 3.83021C10.6305 3.60317 10.9749 3.44045 11.3415 3.35214C11.708 3.26383 12.0887 3.25183 12.4601 3.31687C12.8314 3.38192 13.1854 3.52262 13.5001 3.73025C13.8148 3.93787 14.0834 4.20798 14.2893 4.52379C14.4952 4.83961 14.6339 5.19438 14.6969 5.56608C14.7599 5.93778 14.7458 6.31847 14.6555 6.68449C14.5652 7.05051 14.4006 7.39405 14.1719 7.69377C14.7222 8.06034 15.2053 8.51891 15.6 9.04939C15.7194 9.20845 15.7708 9.40842 15.7428 9.60533C15.7148 9.80223 15.6097 9.97995 15.4506 10.0994ZM3.43314 8.59939C2.84064 8.72752 2.12064 9.25877 1.60001 9.95252C1.48025 10.1116 1.30221 10.2165 1.10507 10.2443C0.907918 10.2721 0.70781 10.2204 0.548763 10.1006C0.389716 9.98088 0.284759 9.80284 0.25698 9.6057C0.229201 9.40855 0.280876 9.20844 0.400638 9.04939C0.795537 8.51907 1.2786 8.06053 1.82876 7.69377C1.60008 7.39405 1.43546 7.05051 1.34514 6.68449C1.25481 6.31847 1.24071 5.93778 1.30372 5.56608C1.36672 5.19438 1.50547 4.83961 1.71136 4.52379C1.91725 4.20798 2.18587 3.93787 2.50055 3.73025C2.81523 3.52262 3.16924 3.38192 3.54058 3.31687C3.91193 3.25183 4.29269 3.26383 4.6592 3.35214C5.02571 3.44045 5.37015 3.60317 5.67113 3.83021C5.9721 4.05724 6.22318 4.34374 6.40876 4.67189C6.45964 4.75826 6.49268 4.85395 6.50594 4.9533C6.5192 5.05266 6.51242 5.15366 6.48598 5.25035C6.45954 5.34704 6.41399 5.43744 6.35202 5.51623C6.29005 5.59501 6.21291 5.66057 6.12517 5.70904C6.03743 5.7575 5.94087 5.78789 5.84119 5.7984C5.7415 5.80891 5.64072 5.79934 5.5448 5.77024C5.44888 5.74114 5.35977 5.69311 5.28273 5.62898C5.20569 5.56486 5.14229 5.48594 5.
109626 5.39689C4.99922 5.22118 4.86128 5.07142 4.69412 4.96028C4.52696 4.84914 4.33549 4.7799 4.13591 4.7584C3.93633 4.73691 3.73451 4.76379 3.54751 4.83679C3.36052 4.90978 3.19386 5.02673 3.06162 5.17775C2.92938 5.32878 2.83546 5.50942 2.7878 5.70442C2.74014 5.89941 2.74014 6.10302 2.7878 6.29801C2.83546 6.493 2.92938 6.67365 3.06162 6.82467C3.19386 6.9757 3.36052 7.09265 3.54751 7.16564C3.6977 7.22416 3.82505 7.32952 3.91067 7.46609C3.99628 7.60266 4.03563 7.76318 4.02286 7.92386C4.0101 8.08454 3.9459 8.23684 3.8398 8.35818C3.73369 8.47952 3.59131 8.56344 3.43376 8.59752L3.43314 8.59939Z",fill:"#287BB9"})})};ea.propTypes=i.W;let eo=ea,es=e=>{let{fill:t="#343330",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M27.725 21.9925C27.0313 20.7975 26 17.4163 26 13C26 10.3478 24.9464 7.8043 23.0711 5.92893C21.1957 4.05357 18.6522 3 16 3C13.3479 3 10.8043 4.05357 8.92895 5.92893C7.05358 7.8043 6.00002 10.3478 6.00002 13C6.00002 17.4175 4.96752 20.7975 4.27377 21.9925C4.0966 22.2963 4.00268 22.6415 4.00148 22.9931C4.00027 23.3448 4.09182 23.6906 4.26689 23.9956C4.44196 24.3006 4.69437 24.5541 4.99865 24.7304C5.30293 24.9068 5.64833 24.9997 6.00002 25H11.1013C11.332 26.1289 11.9455 27.1436 12.8382 27.8722C13.7308 28.6009 14.8477 28.9989 16 28.9989C17.1523 28.9989 18.2692 28.6009 19.1618 27.8722C20.0545 27.1436 20.6681 26.1289 20.8988 25H26C26.3516 24.9995 26.6968 24.9064 27.0009 24.73C27.3051 24.5535 27.5573 24.3 27.7322 23.9951C27.9071 23.6901 27.9986 23.3444 27.9973 22.9928C27.996 22.6412 27.9021 22.2962 27.725 21.9925ZM16 27C15.3798 26.9998 14.7749 26.8074 14.2685 26.4492C13.7622 26.0911 13.3793 25.5848 13.1725 25H18.8275C18.6208 25.5848 18.2379 26.0911 17.7315 26.4492C17.2252 26.8074 16.6202 26.9998 16 27ZM6.00002 23C6.96252 21.345 8.00002 17.51 8.00002 13C8.00002 10.8783 8.84287 8.84344 10.3432 7.34315C11.8435 5.84285 13.8783 5 16 5C18.1217 5 20.1566 5.84285 21.6569 7.34315C23.1572 8.84344 24 10.8783 24 13C24 17.5063 25.035 21.3412 26 23H6.00002Z"})})};es.propTypes=i.W;let el=es;i.W},4650:(e,t,n)=>{var r=n(21895),i=n(15917),a=n(52182),o=n(5514),s=n(92786);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},5001:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var r=n(29652),i=n(55729),a=n(34142),o=n(30062),s=n(71182);function l(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:l,onFocusWithinChange:u}=e,c=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:h}=(0,a.A)(),f=(0,i.useCallback)(e=>{e.currentTarget.contains(e.target)&&c.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(c.current.isFocusWithin=!1,h(),n&&n(e),u&&u(!1))},[n,u,c,h]),p=(0,r.yB)(f),m=(0,i.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,o.TW)(e.target),n=(0,s.bq)(t);if(!c.current.isFocusWithin&&n===(0,s.wt)(e.nativeEvent)){l&&l(e),u&&u(!0),c.current.isFocusWithin=!0,p(e);let n=e.currentTarget;d(t,"focus",e=>{if(c.current.isFocusWithin&&!(0,s.sD)(n,e.target)){let i=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,r.o1)(i,n),f((0,r.eg)(i))}},{capture:!0})}},[l,u,p,d,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:f}}}},5251:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},5461:(e,t,n)=>{var r=n(30147),i=n(63912),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(e){return null==e?[]:r(o(e=Object(e)),function(t){return a.call(e,t)})}:i},5514:(e,t,n)=>{var r=n(36592);e.exports=function(e){return r(this.__data__,e)>-1}},5549:e=>{e.exports=function(e){return e}},6109:(e,t,n)=>{"use strict";n.d(t,{eu:()=>E,q5:()=>A,BK:()=>S});var r=n(6029),i=n(55729),a=n(99829),o=n(9613),s=n(35896),l=n(19639),u=n(27133);function c(){return()=>{}}
1var d="Avatar",[h,f]=(0,a.A)(d),[p,m]=h(d),g=i.forwardRef((e,t)=>{let{__scopeAvatar:n,...a}=e,[o,s]=i.useState("idle");return(0,r.jsx)(p,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:(0,r.jsx)(l.sG.span,{...a,ref:t})})});g.displayName=d;var v="AvatarImage",y=i.forwardRef((e,t)=>{let{__scopeAvatar:n,src:a,onLoadingStatusChange:d=()=>{},...h}=e,f=m(v,n),p=function(e,{referrerPolicy:t,crossOrigin:n}){let r=(0,u.useSyncExternalStore)(c,()=>!0,()=>!1),a=i.useRef(null),o=r?(a.current||(a.current=new window.Image),a.current):null,[l,d]=i.useState(()=>x(o,e));return(0,s.N)(()=>{d(x(o,e))},[o,e]),(0,s.N)(()=>{let e=e=>()=>{d(e)};if(!o)return;let r=e("loaded"),i=e("error");return o.addEventListener("load",r),o.addEventListener("error",i),t&&(o.referrerPolicy=t),"string"==typeof n&&(o.crossOrigin=n),()=>{o.removeEventListener("load",r),o.removeEventListener("error",i)}},[o,n,t]),l}(a,h),g=(0,o.c)(e=>{d(e),f.onImageLoadingStatusChange(e)});return(0,s.N)(()=>{"idle"!==p&&g(p)},[p,g]),"loaded"===p?(0,r.jsx)(l.sG.img,{...h,ref:t,src:a}):null});y.displayName=v;var b="AvatarFallback",w=i.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:a,...o}=e,s=m(b,n),[u,c]=i.useState(void 0===a);return i.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>c(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==s.imageLoadingStatus?(0,r.jsx)(l.sG.span,{...o,ref:t}):null});function x(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}w.displayName=b;var C=n(39794);let E=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(g,{ref:t,className:(0,C.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",n),...i})});E.displayName=g.displayName;let S=i.forwardRef((e,t)=>{let{className:n,...a}=e,[o,s]=i.useState(!1);return(0,r.jsx)(y,{ref:t,className:(0,C.cn)("aspect-square h-full w-full transition-opacity duration-300",o?"opacity-100":"opacity-0",n),onLoad:()=>s(!0),loading:"lazy",...a})});S.displayName=y.displayName;let A=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(w,{ref:t,className:(0,C.cn)("bg-muted flex h-full w-full items-center justify-center rounded-full",n),...i})});A.displayName=w.displayName},6382:(e,t,n)=>{"use strict";n.d(t,{f:()=>s,h:()=>u});var r=n(6029),i=n(34245),a=n(55729);let o=(0,a.createContext)({location:null,isLoading:!0}),s=()=>(0,a.useContext)(o),l={latitude:"latitude",longitude:"longitude"},u=e=>{let{children:t}=e,{toast:n}=(0,i.dj)(),[s,u]=(0,a.useState)(null),[c,d]=(0,a.useState)(!0),h=(0,a.useCallback)(e=>{localStorage.setItem(l.latitude,e.coords.latitude.toString()),localStorage.setItem(l.longitude,e.coords.longitude.toString()),u({latitude:e.coords.latitude,longitude:e.coords.longitude}),d(!1)},[]),f=(0,a.useCallback)(()=>{let e=localStorage.getItem(l.latitude),t=localStorage.getItem(l.longitude);return e&&t?{latitude:parseFloat(e),longitude:parseFloat(t)}:null},[]);return(0,a.useEffect)(()=>{let e=f();if(null!==e){u(e),d(!1);return}if(navigator.geolocation){let e=setTimeout(()=>{d(!1)},1e3);navigator.geolocation.getCurrentPosition(t=>{clearTimeout(e),h(t)},t=>{clearTimeout(e);let r=t.message;t.code===t.PERMISSION_DENIED?r="L'utilisateur a refus\xe9 la demande de permission":t.code===t.POSITION_UNAVAILABLE?r="Position non disponible":t.code===t.TIMEOUT&&(r="Le temps imparti pour obtenir la position a expir\xe9"),n({title:"Erreur",description:"Impossible de trouver votre position. ".concat(r)}),d(!1)})}else d(!1)},[f,h,u,n]),(0,r.jsx)(o.Provider,{value:{location:s,isLoading:c},children:t})}},6730:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(25739),i=n(65436);function a(e,t){var n,a,o,s,l,u,c,d;let h=(0,r.q)(),f=null!=(d=null!=(c=null!=(u=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(a=t.locale)||null==(n=a.options)?void 0:n.weekStartsOn)?u:h.weekStartsOn)?c:null==(s=h.locale)||null==(o=s.options)?void 0:o.weekStartsOn)?d:0,p=(0,i.a)(e,null==t?void 0:t.in),m=p.getDay();return p.setDate(p.getDate()-(7*(m<f)+m-f)),p.setHours(0,0,0,0),p}},6802:(e,t,n)=>{var r=n(3128),i=n(7855);e.exports=function(e,t,n,a){var o=n.length,s=o,l=!a;if(null==e)return!s;for(e=Object(e);o--;){var u=n[o];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<s;){var c=(u=n[o])[0],d=e[c],h=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var f=new r;if(a)var p=a(d,h,c,e,t,f);if(!(void 0===p?i(h,d,3,a,f):p))return!1}}return!0}},7018:e=>{e.exports=function(){return!1}},7026:(e,t,n)=>{"use strict";n.d(t,{M:()=>u,_:()=>c});var r=n(6029),i=n(55729),a=n(93251),o=n(73492),s=n(27002);let l=(0,i.createContext)({notifications:void 0,fetchNextPage:()=>void 0,hasNextPage:!1,isLoading:!1}),u=()=>(0,i.useContext)(l),c=e=>{let{children:t}=e,{subscribe:n,socket:u}=(0,s.h)(),c=(0,a.jE)(),{data:d,fetchNextPage:h,hasNextPage:f,isFetching:p}=(0,o.oxY)();return(0,i.useEffect)(()=>{let e=n("shouldRefetchNotifications",()=>{c.invalidateQueries({queryKey:["notifications"]})});return()=>{e()}},[c,u,n]),(0,r.jsx)(l.Provider,{value:{notifications:d,fetchNextPage:h,hasNextPage:f,isLoading:p},children:t})}},7131:(e,t,n)=>{e.exports=n(33946)(Object.keys,Object)}
1,7148:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);let i=r.forwardRef((e,t)=>{let{alt:n,color:i="currentColor",size:a="1em",weight:o="regular",mirrored:s=!1,children:l,weights:u,...c}=e;return r.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,fill:i,viewBox:"0 0 256 256",transform:s?"scale(-1, 1)":void 0,...c},!!n&&r.createElement("title",null,n),l,u.get(o))});i.displayName="SSRBase"},7855:(e,t,n)=>{var r=n(2193),i=n(3619);e.exports=function e(t,n,a,o,s){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,a,o,e,s):t!=t&&n!=n)}},7885:(e,t,n)=>{"use strict";n.d(t,{K:()=>er,A:()=>ei});var r=n(6029),i=n(14117),a=n(749),o=n(55729),s=n(11211);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),u=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:l}));u.displayName="MinusCircleIcon";let c=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm52-84a12,12,0,0,1-12,12H140v28a12,12,0,0,1-24,0V140H88a12,12,0,0,1,0-24h28V88a12,12,0,0,1,24,0v28h28A12,12,0,0,1,180,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32A8,8,0,0,1,176,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm40,112H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32a8,8,0,0,1,0,16Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm46-90a6,6,0,0,1-6,6H134v34a6,6,0,0,1-12,0V134H88a6,6,0,0,1,0-12h34V88a6,6,0,0,1,12,0v34h34A6,6,0,0,1,174,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32A8,8,0,0,1,176,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm44-92a4,4,0,0,1-4,4H132v36a4,4,0,0,1-8,0V132H88a4,4,0,0,1,0-8h36V88a4,4,0,0,1,8,0v36h36A4,4,0,0,1,172,128Z"}))]]),d=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:c}));d.displayName="PlusCircleIcon";let h=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V2
116a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"}),o.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"}))]]),f=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:h}));f.displayName="CopyIcon";var p=n(77153);let m=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,116h-4.72A100.21,100.21,0,0,0,140,28.72V24a12,12,0,0,0-24,0v4.72A100.21,100.21,0,0,0,28.72,116H24a12,12,0,0,0,0,24h4.72A100.21,100.21,0,0,0,116,227.28V232a12,12,0,0,0,24,0v-4.72A100.21,100.21,0,0,0,227.28,140H232a12,12,0,0,0,0-24Zm-92,87v-3a12,12,0,0,0-24,0v3a76.15,76.15,0,0,1-63-63h3a12,12,0,0,0,0-24H53a76.15,76.15,0,0,1,63-63v3a12,12,0,0,0,24,0V53a76.15,76.15,0,0,1,63,63h-3a12,12,0,0,0,0,24h3A76.15,76.15,0,0,1,140,203ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z",opacity:"0.2"}),o.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-32,16h7.6A80.15,80.15,0,0,1,136,207.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16Zm-32-8a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,122H221.8A94.13,94.13,0,0,0,134,34.2V24a6,6,0,0,0-12,0V34.2A94.13,94.13,0,0,0,34.2,122H24a6,6,0,0,0,0,12H34.2A94.13,94.13,0,0,0,122,221.8V232a6,6,0,0,0,12,0V221.8A94.13,94.13,0,0,0,221.8,134H232a6,6,0,0,0,0-12Zm-98,87.76V200a6,6,0,0,0-12,0v9.76A82.09,82.09,0,0,1,46.24,134H56a6,6,0,0,0,0-12H46.24A82.09,82.09,0,0,1,122,46.24V56a6,6,0,0,0,12,0V46.24A82.09,82.09,0,0,1,209.76,122H200a6,6,0,0,0,0,12h9.76A82.09,82.09,0,0,1,134,209.76ZM128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,124H219.91A92.13,92.13,0,0,0,132,36.09V24a4,4,0,0,0-8,0V36.09A92.13,92.13,0,0,0,36.09,124H24a4,4,0,0,0,0,8H36.09A92.13,92.13,0,0,0,124,219.91V232a4,4,0,0,0,8,0V219.91A92.13,92.13,0,0,0,219.91,132H232a4,4,0,0,0,0-8ZM132,211.9V200a4,4,0,0,0-8,0v11.9A84.11,84.11,0,0,1,44.1,132H56a4,4,0,0,0,0-8H44.1A84.11,84.11,0,0,1,124,44.1V56a4,4,0,0,0,8,0V44.1A84.11,84.11,0,0,1,211.9,124H200a4,4,0,0,0,0,8h11.9A84.11,84.11,0,0,1,132,211.9ZM128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Z"}))]]),g=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:m}));g.displayName="CrosshairIcon";var v=n(72902);let y=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M236,144a68.07,68.07,0,0,1-68,68H80a12,12,0,0,1,0-24h88a44,44,0,0,0,0-88H61l27.52,27.51a12,12,0,0,1-17,17l-48-48a12,12,0,0,1,0-17l48-48a12,12,0,1,1,17,17L61,76H168A68.08,68.08,0,0,1,236,144Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M80,40v96L32,88Z",opacity:"0.2"}),o.createElement("path",{d:"M168,80H88V40a8,8,0,0,0-13.66-5.66l-48,48a8,8,0,0,0,0,11.32l48,48A8,8,0,0,0,88,136V96h80a48,48,0,0,1,0,96H80a8,8,0,0,0,0,16h88a64,64,0,0,0,0-128ZM72,116.69,43.31,88,72,59.31Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,144a64.07,64.07,0,0,1-64,64H80a8,8,0,0,1,0-16h88a48,48,0,0,0,0-96H88v40a8,8,0,0,1-13.66,5.66l-48-48a8,8,0,0,1,0-11.32l48-48A8,8,0,0,1,88,40V80h80A64.07,64.07,0,0,1,232,144Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M230,144a62.07,62.07,0,0,1-62,62H80a6,6,0,0,1,0-12h88a50,50,0,0,0,0-100H46.49l37.75,37.76a6,6,0,1,1-8.48,8.48l-48-48a6,6,0,0,1,0-8.48l48-48a6,6,0,0,1,8.48,8.48L46.49,82H168A62.07,62.07,0,0,1,230,144Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,144a64.07,64.07,0,0,1-64,64H80a8,8,0,0,1,0-16h88a48,48,0,0,0,0-96H51.31l34.35,34.34a8,8,0,0,1-11.32,11.32l-48-48a8,8,0,0,1,0-11.32l48-48A8,8,0,0,1,85.66,45.66L51.31,80H168A64.07,64.07,0,0,1,232,144Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M228,144a60.07,60.07,0,0,1-60,60H80a4,4,0,0,1,0-8h88a52,52,0,0,0,0-104H41.66l41.17,41.17a4,4,0,0,1-5.66,5.66l-48-48a4,4,0,0,1,0-5.66l48-48a4,4,0,0,1,5.66,5.66L41.66,84H168A60.07,60.07,0,0,1,228,144Z"}))]]),b=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:y}));b.displayName="ArrowUUpLeftIcon";let w=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"}),o.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"}))]]),x=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:w}));x.displayName="ArrowSquareOutIcon";var C=n(86496),E=n(75282),S=n(30616),A=n(91625);let k=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M71.51,88.49a12,12,0,0,1,17-17L116,99V24a12,12,0,0,1,24,0V99l27.51-27.52a12,12,0,0,1,17,17l-48,48a12,12,0,0,1-17,0ZM224,116H188a12,12,0,0,0,0,24h32v56H36V140H68a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116Zm-20,52a16,16,0,1,0-16,16A16,16,0,0,0,204,168Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"}),o.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M74.34,85.66A8,8,0,0,1,85.66,74.34L120,108.69V24a8,8,0,0,1,16,0v84.69l34.34-34.35a8,8,0,0,1,11.32,11.32l-48,48a8,8,0,0,1-11.32,0ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H84.4a4,4,0,0,1,2.83,1.17L111,145A24,24,0,0,0,145,145l23.8-23.8A4,4,0,0,1,171.6,120H224A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H72a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H184a6,6,0,0,1,0-12h40A14,14,0,0,1,238,136Zm-114.24-3.76a6,6,0,0,0,8.48,0l48-48a6,6,0,0,0-8.48-8.48L134,113.51V24a6,6,0,0,0-12,0v89.51L84.24,75.76a6,6,0,0,0-8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H72a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H184a4,4,0,0,1,0-8h40A12,12,0,0,1,236,136Zm-110.83-5.17a4,4,0,0,0,5.66,0l48-48a4,4,0,1,0-5.66-5.66L132,118.34V24a4,4,0,0,0-8,0v94.34L82.83,77.17a4,4,0,0,0-5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"}))]]),N=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:k}));N.displayName="DownloadIcon";let P=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm60-80v56a12,12,0,0,1-24,0V143.32a12,12,0,0,1-9.37-22l16-8A12,12,0,0,1,112,124Zm61.49,33.88L163.9,168H168a12,12,0,0,1,0,24H136a12,12,0,0,1-8.71-20.25L155.45,142a4,4,0,0,0,.55-2,4,4,0,0,0-7.47-2,12,12,0,0,1-20.78-12A28,28,0,0,1,180,140a27.77,27.77,0,0,1-5.64,16.86A10.63,10.63,0,0,1,173.49,157.88Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-98-90v64a6,6,0,0,1-12,0V129.71l-7.32,3.66a6,6,0,1,1-5.36-10.74l16-8A6,6,0,0,1,110,120Zm59.57,29.25L148,178h20a6,6,0,0,1,0,12H136a6,6,0,0,1-4.8-9.6L160,142a10,10,0,1,0-16.65-11A6,6,0,1,1,133,125a22,22,0,1,1,36.62,24.26Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212ZM108,120v64a4,4,0,0,1-8,0V126.47l-10.21,5.11a4,4,0,0,1-3.58-7.16l16-8A4,4,0,0,1,108,120Zm60,28-24,32h24a4,4,0,0,1,0,8H136a4,4,0,0,1-3.2-6.4l28.78-38.37A11.88,11.88,0,0,0,164,136a12,12,0,0,0-22.4-6,4,4,0,0,1-6.92-4A20,20,0,0,1,172,136,19.79,19.79,0,0,1,168,148Z"}))]]),I=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:P}));I.displayName="CalendarIcon";let T=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),O=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:T}));O.displayName="CalendarBlankIcon";let L=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm84,108a83.6,83.6,0,0,1-16.75,50.28L77.72,60.75A84,84,0,0,1,212,128ZM44,128A83.6,83.6,0,0,1,60.75,77.72L178.28,195.25A84,84,0,0,1,44,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.56,87.56,0,0,1-20.41,56.28L71.72,60.4A88,88,0,0,1,216,128ZM40,128A87.56,87.56,0,0,1,60.41,71.72L184.28,195.6A88,88,0,0,1,40,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M200,128a71.69,71.69,0,0,1-15.78,44.91L83.09,71.78A71.95,71.95,0,0,1,200,128ZM56,128a71.95,71.95,0,0,0,116.91,56.22L71.78,83.09A71.69,71.69,0,0,0,56,128Zm180,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-20,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm90,102a89.6,89.6,0,0,1-22.29,59.22L68.78,60.29A89.95,89.95,0,0,1,218,128ZM38,128A89.6,89.6,0,0,1,60.29,68.78L187.22,195.71A89.95,89.95,0,0,1,38,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.56,87.56,0,0,1-20.41,56.28L71.72,60.4A88,88,0,0,1,216,128ZM40,128A87.56,87.56,0,0,1,60.41,71.72L184.28,195.6A88,88,0,0,1,40,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm92,100a91.67,91.67,0,0,1-24.21,62.13L65.87,60.21A92,92,0,0,1,220,128ZM36,128A91.67,91.67,0,0,1,60.21,65.87L190.13,195.79A92,92,0,0,1,36,128Z"}))]]),M=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:L}));M.displayName="ProhibitIcon";let D=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),o.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),j=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:D}));j.displayName="PencilSimpleIcon";let _=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M230.15,70.54,185.46,25.86a20,20,0,0,0-28.28,0L33.86,149.17A19.86,19.86,0,0,0,28,163.31V208a20,20,0,0,0,20,20H216a12,12,0,0,0,0-24H125L230.15,98.83A20,20,0,0,0,230.15,70.54ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),o.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM48,163.31l88-88L180.69,120l-88,88H48Zm144-54.62L147.32,64l24-24L216,84.69Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM192,108.69,147.32,64l24-24L216,84.69Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M225.91,74.79,181.22,30.1a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H216a6,6,0,0,0,0-12H110.49L225.91,94.59A14,14,0,0,0,225.91,74.79ZM93.52,210H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.49,183.52,120ZM217.42,86.1,192,111.52,144.49,64,169.9,38.59a2,2,0,0,1,2.83,0l44.69,44.68A2,2,0,0,1,217.42,86.1Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.69,147.32,64l24-24L216,84.69Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.51,154.83A12,12,0,0,0,36,163.31V208a12,12,0,0,0,12,12H216a4,4,0,0,0,0-8H105.66L224.49,93.17A12,12,0,0,0,224.49,76.2ZM94.34,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.82L136,69.66,186.35,120ZM218.83,87.51,192,114.34,141.66,64l26.83-26.83a4,4,0,0,1,5.66,0l44.68,44.69A4,4,0,0,1,218.83,87.51Z"}))]]),R=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:_}));R.displayName="PencilSimpleLineIcon";let F=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M40,92H70.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24H137.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24Zm64-24A12,12,0,1,1,92,80,12,12,0,0,1,104,68Zm112,96H201.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24h94.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24Zm-48,24a12,12,0,1,1,12-12A12,12,0,0,1,168,188Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,80a24,24,0,1,1-24-24A24,24,0,0,1,128,80Zm40,72a24,24,0,1,0,24,24A24,24,0,0,0,168,152Z",opacity:"0.2"}),o.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M40,86H74.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12H133.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12Zm64-24A18,18,0,1,1,86,80,18,18,0,0,1,104,62ZM216,170H197.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12h98.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12Zm-48,24a18,18,0,1,1,18-18A18,18,0,0,1,168,194Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M40,84H76.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8H131.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8Zm64-24A20,20,0,1,1,84,80,20,20,0,0,1,104,60ZM216,172H195.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8H140.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8Zm-48,24a20,20,0,1,1,20-20A20,20,0,0,1,168,196Z"}))]]),z=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:F}));z.displayName="SlidersHorizontalIcon";let B=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm44.25,135.28a51.89,51.89,0,0,0,0-54.56l23-23a83.84,83.84,0,0,1,0,100.56ZM100,128a28,28,0,1,1,28,28A28,28,0,0,1,100,128Zm78.28-67.25-23,23a51.89,51.89,0,0,0-54.56,0l-23-23a83.84,83.84,0,0,1,100.56,0Zm-117.53,17,23,23a51.89,51.89,0,0,0,0,54.56l-23,23a83.84,83.84,0,0,1,0-100.56Zm17,117.53,23-23a51.89,51.89,0,0,0,54.56,0l23,23a83.84,83.84,0,0,1-100.56,0Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M195.88,195.88l-39.6-39.6a40,40,0,0,0,0-56.56l39.6-39.6A96,96,0,0,1,195.88,195.88ZM60.12,60.12a96,96,0,0,0,0,135.76l39.6-39.6a40,40,0,0,1,0-56.56Z",opacity:"0.2"}),o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm39.1,131.79a47.84,47.84,0,0,0,0-55.58l28.5-28.49a87.83,87.83,0,0,1,0,112.56ZM96,128a32,32,0,1,1,32,32A32,32,0,0,1,96,128Zm88.28-67.6L155.79,88.9a47.84,47.84,0,0,0-55.58,0L71.72,60.4a87.83,87.83,0,0,1,112.56,0ZM60.4,71.72l28.5,28.49a47.84,47.84,0,0,0,0,55.58L60.4,184.28a87.83,87.83,0,0,1,0-112.56ZM71.72,195.6l28.49-28.5a47.84,47.84,0,0,0,55.58,0l28.49,28.5a87.83,87.83,0,0,1-112.56,0Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM96,128a32,32,0,1,1,32,32A32,32,0,0,1,96,128Zm88.28-67.6L155.79,88.9a47.84,47.84,0,0,0-55.58,0L71.72,60.4a87.83,87.83,0,0,1,112.56,0ZM71.72,195.6l28.49-28.5a47.84,47.84,0,0,0,55.58,0l28.49,28.5a87.83,87.83,0,0,1-112.56,0Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm36.47,130a45.87,45.87,0,0,0,0-56l31.24-31.23a89.81,89.81,0,0,1,0,118.44ZM94,128a34,34,0,1,1,34,34A34,34,0,0,1,94,128Zm93.22-67.71L156,91.53a45.87,45.87,0,0,0-56,0L68.78,60.29a89.81,89.81,0,0,1,118.44,0ZM60.29,68.78,91.53,100a45.87,45.87,0,0,0,0,56L60.29,187.22a89.81,89.81,0,0,1,0-118.44Zm8.49,126.93L100,164.47a45.87,45.87,0,0,0,56,0l31.23,31.24a89.81,89.81,0,0,1-118.44,0Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm39.1,131.79a47.84,47.84,0,0,0,0-55.58l28.5-28.49a87.83,87.83,0,0,1,0,112.56ZM96,128a32,32,0,1,1,32,32A32,32,0,0,1,96,128Zm88.28-67.6L155.79,88.9a47.84,47.84,0,0,0-55.58,0L71.72,60.4a87.83,87.83,0,0,1,112.56,0ZM60.4,71.72l28.5,28.49a47.84,47.84,0,0,0,0,55.58L60.4,184.28a87.83,87.83,0,0,1,0-112.56ZM71.72,195.6l28.49-28.5a47.84,47.84,0,0,0,55.58,0l28.49,28.5a87.83,87.83,0,0,1-112.56,0Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm67.79,162.13-34-34a43.92,43.92,0,0,0,0-56.28l34-34a91.83,91.83,0,0,1,0,124.26ZM92,128a36,36,0,1,1,36,36A36,36,0,0,1,92,128Zm98.13-67.79-34,34a43.92,43.92,0,0,0-56.28,0l-34-34a91.83,91.83,0,0,1,124.26,0ZM60.21,65.87l34,34a43.92,43.92,0,0,0,0,56.28l-34,34a91.83,91.83,0,0,1,0-124.26Zm5.66,129.92,34-34a43.92,43.92,0,0,0,56.28,0l34,34a91.83,91.83,0,0,1-124.26,0Z"}))]]),V=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:B}));V.displayName="LifebuoyIcon";let U=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M231.38,46.54a12,12,0,0,0-10.29-2.18L161.4,59.28l-60-30a12,12,0,0,0-8.28-.91l-64,16A12,12,0,0,0,20,56V200a12,12,0,0,0,14.91,11.64L94.6,196.72l60,30a12,12,0,0,0,8.28.91l64-16A12,12,0,0,0,236,200V56A12,12,0,0,0,231.38,46.54ZM108,59.42l40,20V196.58l-40-20Zm-64,6,40-10V174.63l-40,10ZM212,190.63l-40,10V81.37l40-10Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M160,72V216L96,184V40Z",opacity:"0.2"}),o.createElement("path",{d:"M228.92,49.69a8,8,0,0,0-6.86-1.45L160.93,63.52,99.58,32.84a8,8,0,0,0-5.52-.6l-64,16A8,8,0,0,0,24,56V200a8,8,0,0,0,9.94,7.76l61.13-15.28,61.35,30.68A8.15,8.15,0,0,0,160,224a8,8,0,0,0,1.94-.24l64-16A8,8,0,0,0,232,200V56A8,8,0,0,0,228.92,49.69ZM104,52.94l48,24V203.06l-48-24ZM40,62.25l48-12v127.5l-48,12Zm176,131.5-48,12V78.25l48-12Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M228.92,49.69a8,8,0,0,0-6.86-1.45L160.93,63.52,99.58,32.84a8,8,0,0,0-5.52-.6l-64,16A8,8,0,0,0,24,56V200a8,8,0,0,0,9.94,7.76l61.13-15.28,61.35,30.68A8.15,8.15,0,0,0,160,224a8,8,0,0,0,1.94-.24l64-16A8,8,0,0,0,232,200V56A8,8,0,0,0,228.92,49.69ZM96,176a8,8,0,0,0-1.94.24L40,189.75V62.25L95.07,48.48l.93.46Zm120,17.75-55.07,13.77-.93-.46V80a8,8,0,0,0,1.94-.23L216,66.25Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M227.69,51.27a6,6,0,0,0-5.15-1.09L160.7,65.64l-62-31a6,6,0,0,0-4.14-.45l-64,16A6,6,0,0,0,26,56V200a6,6,0,0,0,7.46,5.82L95.3,190.36l62,31a6,6,0,0,0,4.14.45l64-16A6,6,0,0,0,230,200V56A6,6,0,0,0,227.69,51.27ZM102,49.71l52,26V206.29l-52-26Zm-64,11,52-13V179.32l-52,13ZM218,195.32l-52,13V76.68l52-13Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M228.92,49.69a8,8,0,0,0-6.86-1.45L160.93,63.52,99.58,32.84a8,8,0,0,0-5.52-.6l-64,16A8,8,0,0,0,24,56V200a8,8,0,0,0,9.94,7.76l61.13-15.28,61.35,30.68A8.15,8.15,0,0,0,160,224a8,8,0,0,0,1.94-.24l64-16A8,8,0,0,0,232,200V56A8,8,0,0,0,228.92,49.69ZM104,52.94l48,24V203.06l-48-24ZM40,62.25l48-12v127.5l-48,12Zm176,131.5-48,12V78.25l48-12Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M226.46,52.85a4,4,0,0,0-3.43-.73L160.47,67.76,97.79,36.42a4,4,0,0,0-2.76-.3l-64,16A4,4,0,0,0,28,56V200a4,4,0,0,0,5,3.88l62.56-15.64,62.68,31.34a4,4,0,0,0,2.76.3l64-16a4,4,0,0,0,3-3.88V56A4,4,0,0,0,226.46,52.85ZM100,46.47l56,28V209.53l-56-28ZM36,59.12l56-14V180.88l-56,14ZM220,196.88l-56,14V75.12l56-14Z"}))]]),q=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:U}));q.displayName="MapTrifoldIcon";let H=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M124,216a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V40A12,12,0,0,1,48,28h64a12,12,0,0,1,0,24H60V204h52A12,12,0,0,1,124,216Zm108.49-96.49-40-40a12,12,0,0,0-17,17L195,116H112a12,12,0,0,0,0,24h83l-19.52,19.51a12,12,0,0,0,17,17l40-40A12,12,0,0,0,232.49,119.51Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,56V200a16,16,0,0,1-16,16H48V40H208A16,16,0,0,1,224,56Z",opacity:"0.2"}),o.createElement("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40A8,8,0,0,0,176,88v32H112a8,8,0,0,0,0,16h64v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,229.66,122.34Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M118,216a6,6,0,0,1-6,6H48a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H54V210h58A6,6,0,0,1,118,216Zm110.24-92.24-40-40a6,6,0,0,0-8.48,8.48L209.51,122H112a6,6,0,0,0,0,12h97.51l-29.75,29.76a6,6,0,1,0,8.48,8.48l40-40A6,6,0,0,0,228.24,123.76Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M116,216a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H52V212h60A4,4,0,0,1,116,216Zm110.83-90.83-40-40a4,4,0,0,0-5.66,5.66L214.34,124H112a4,4,0,0,0,0,8H214.34l-33.17,33.17a4,4,0,0,0,5.66,5.66l40-40A4,4,0,0,0,226.83,125.17Z"}))]]),Z=o.forwardRef((e,t)=>o.createElement(s.A,{ref:t,...e,weights:H}));Z.displayName="SignOutIcon";let W=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M152,80a12,12,0,0,1,12-12h80a12,12,0,0,1,0,24H164A12,12,0,0,1,152,80Zm92,36H164a12,12,0,0,0,0,24h80a12,12,0,0,0,0-24Zm0,48H188a12,12,0,0,0,0,24h56a12,12,0,0,0,0-24Zm-88.38,25a12,12,0,1,1-23.24,6c-5.72-22.23-28.24-39-52.38-39s-46.66,16.76-52.38,39a12,12,0,1,1-23.24-6c5.38-20.9,20.09-38.16,39.11-48a52,52,0,1,1,73,0C135.53,150.85,150.24,168.11,155.62,189ZM80,132a28,28,0,1,0-28-28A28,28,0,0,0,80,132Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M120,104A40,40,0,1,1,80,64,40,40,0,0,1,120,104Z",opacity:"0.2"}),o.createElement("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM109.29,142a48,48,0,1,0-58.58,0c-20.62,8.73-36.87,26.3-42.46,48A8,8,0,0,0,16,200H144a8,8,0,0,0,7.75-10C146.16,168.29,129.91,150.72,109.29,142Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M154,80a6,6,0,0,1,6-6h88a6,6,0,0,1,0,12H160A6,6,0,0,1,154,80Zm94,42H160a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12Zm0,48H184a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm-98.19,20.5a6,6,0,1,1-11.62,3C131.7,168.29,107.23,150,80,150s-51.7,18.29-58.19,43.49a6,6,0,1,1-11.62-3c5.74-22.28,23-40.07,44.67-48a46,46,0,1,1,50.28,0C126.79,150.43,144.08,168.22,149.81,190.5ZM80,138a34,34,0,1,0-34-34A34,34,0,0,0,80,138Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M156,80a4,4,0,0,1,4-4h88a4,4,0,0,1,0,8H160A4,4,0,0,1,156,80Zm92,44H160a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8Zm0,48H184a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM147.87,191a4,4,0,0,1-2.87,4.87,3.87,3.87,0,0,1-1,.13,4,4,0,0,1-3.87-3c-6.71-26.08-32-45-60.13-45s-53.41,18.92-60.13,45a4,4,0,1,1-7.74-2c5.92-23,24.57-41.14,47.52-48a44,44,0,1,1,40.7,0C123.3,149.86,142,168,147.87,191ZM80,140a36,36,0,1,0-36-36A36,36,0,0,0,80,140Z"}))]]),G=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:W}));G.displayName="UserListIcon";let $=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96Zm4,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-60,76V148a12,12,0,0,1,24,0v24a12,12,0,0,1-24,0Zm84-8a12,12,0,0,1-12,12H196v32a12,12,0,0,1-12,12H148a12,12,0,0,1,0-24h24V148a12,12,0,0,1,24,0v4h12A12,12,0,0,1,220,164Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm-8,88H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96-96H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Z",opacity:"0.2"}),o.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm-16,80H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96-96H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40ZM144,184a8,8,0,0,0,8-8V144a8,8,0,0,0-16,0v32A8,8,0,0,0,144,184Zm64-32H184v-8a8,8,0,0,0-16,0v56H144a8,8,0,0,0,0,16h32a8,8,0,0,0,8-8V168h24a8,8,0,0,0,0-16Zm0,32a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V192A8,8,0,0,0,208,184Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-2,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2ZM200,42H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-64,72V144a6,6,0,0,1,12,0v32a6,6,0,0,1-12,0Zm76-16a6,6,0,0,1-6,6H182v42a6,6,0,0,1-6,6H144a6,6,0,0,1,0-12h26V144a6,6,0,0,1,12,0v10h26A6,6,0,0,1,214,160Zm0,32v16a6,6,0,0,1-12,0V192a6,6,0,0,1,12,0Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-4,36H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM200,44H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-64,72V144a4,4,0,0,1,8,0v32a4,4,0,0,1-8,0Zm72-16a4,4,0,0,1-4,4H180v44a4,4,0,0,1-4,4H144a4,4,0,0,1,0-8h28V144a4,4,0,0,1,8,0v12h28A4,4,0,0,1,212,160Zm0,32v16a4,4,0,0,1-8,0V192a4,4,0,0,1,8,0Z"}))]]),K=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:$}));K.displayName="QrCodeIcon";let Y=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M213,174.26A12,12,0,0,0,196.24,177q-1.47,2.06-3.05,4a76,76,0,0,0-30-28.37,48,48,0,1,0-70.28.08,76.8,76.8,0,0,0-30.06,28.25,83.62,83.62,0,0,1-18.3-43.55,12,12,0,0,0,16-17.88l-20-20a12,12,0,0,0-17,0l-20,20a12,12,0,0,0,16.83,17.1,107.88,107.88,0,0,0,37.72,73.61,12.33,12.33,0,0,0,1.88,1.57,107.82,107.82,0,0,0,136.47-.26,13.09,13.09,0,0,0,1.28-1.06,107.66,107.66,0,0,0,18-19.46A12,12,0,0,0,213,174.26ZM128,96a24,24,0,1,1-24,24A24,24,0,0,1,128,96Zm0,116a83.52,83.52,0,0,1-46.94-14.37,52,52,0,0,1,93.88,0A84.07,84.07,0,0,1,128,212Zm124.49-75.51-20,20a12,12,0,0,1-17,0l-20-20a12,12,0,0,1,16-17.88A84,84,0,0,0,59.74,79,12,12,0,1,1,40.26,65a108,108,0,0,1,195.4,54.4,12,12,0,0,1,16.83,17.1Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M253.66,133.66l-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L216,132.69V128A88,88,0,0,0,56.49,76.67a8,8,0,0,1-13-9.34A104,104,0,0,1,232,128v4.69l10.34-10.35a8,8,0,0,1,11.32,11.32Zm-41.18,55A104,104,0,0,1,24,128v-4.69L13.66,133.66A8,8,0,0,1,2.34,122.34l24-24a8,8,0,0,1,11.32,0l24,24a8,8,0,0,1-11.32,11.32L40,123.31V128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.59,79.59,0,0,1,36.08,28.78,89.68,89.68,0,0,0,5.71-7.11,8,8,0,0,1,13,9.34ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a88.2,88.2,0,0,0,53.92-18.49,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M84,120a44,44,0,1,1,44,44A44,44,0,0,1,84,120Zm126.16,57.18a8.21,8.21,0,0,0-10.86,2.41,87.42,87.42,0,0,1-5.52,6.85A79.76,79.76,0,0,0,172,165.1a4,4,0,0,0-4.84.32,59.8,59.8,0,0,1-78.26,0A4,4,0,0,0,84,165.1a79.71,79.71,0,0,0-21.79,21.31A87.66,87.66,0,0,1,40.37,136h15.4a8.2,8.2,0,0,0,6.69-3.28,8,8,0,0,0-.8-10.38l-24-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0-.8,10.38A8.2,8.2,0,0,0,8.23,136H24.3a104,104,0,0,0,188.18,52.67A8,8,0,0,0,210.16,177.18Zm45.23-52.24A8,8,0,0,0,248,120H231.7A104,104,0,0,0,43.52,67.33a8,8,0,0,0,13,9.34A88,88,0,0,1,215.63,120H200a8,8,0,0,0-5.66,13.66l24,24a8,8,0,0,0,11.32,0l24-24A8,8,0,0,0,255.39,124.94Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M252.24,132.24l-24,24a6,6,0,0,1-8.48,0l-24-24a6,6,0,1,1,8.48-8.48L218,137.51V128A90,90,0,0,0,54.87,75.5a6,6,0,1,1-9.74-7A102,102,0,0,1,230,128v9.51l13.76-13.75a6,6,0,1,1,8.48,8.48ZM210.85,187.5A102,102,0,0,1,26,128v-9.51L12.24,132.24a6,6,0,0,1-8.48-8.48l24-24a6,6,0,0,1,8.48,0l24,24a6,6,0,1,1-8.48,8.48L38,118.49V128a89.65,89.65,0,0,0,24.49,61.64,77.53,77.53,0,0,1,40-31.38,46,46,0,1,1,51,0,77.49,77.49,0,0,1,40,31.41,89.35,89.35,0,0,0,7.58-9.17,6,6,0,1,1,9.74,7ZM128,154a34,34,0,1,0-34-34A34,34,0,0,0,128,154Zm0,64a90.24,90.24,0,0,0,56.57-20,66,66,0,0,0-113.13,0A89.58,89.58,0,0,0,128,218Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M253.66,133.66l-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L216,132.69V128A88,88,0,0,0,56.49,76.67a8,8,0,0,1-13-9.34A104,104,0,0,1,232,128v4.69l10.34-10.35a8,8,0,0,1,11.32,11.32Zm-41.18,55A104,104,0,0,1,24,128v-4.69L13.66,133.66A8,8,0,0,1,2.34,122.34l24-24a8,8,0,0,1,11.32,0l24,24a8,8,0,0,1-11.32,11.32L40,123.31V128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.59,79.59,0,0,1,36.08,28.78,89.68,89.68,0,0,0,5.71-7.11,8,8,0,0,1,13,9.34ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a88.2,88.2,0,0,0,53.92-18.49,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M250.83,130.83l-24,24a4,4,0,0,1-5.66,0l-24-24a4,4,0,1,1,5.66-5.66L220,142.34V128A92,92,0,0,0,53.25,74.34a4,4,0,0,1-6.5-4.68A100,100,0,0,1,228,128v14.34l17.17-17.17a4,4,0,1,1,5.66,5.66Zm-41.6,55.51A100,100,0,0,1,28,128V113.66L10.83,130.83a4,4,0,0,1-5.66-5.66l24-24a4,4,0,0,1,5.66,0l24,24a4,4,0,0,1-5.66,5.66L36,113.66V128a91.69,91.69,0,0,0,26.83,64.87,75.61,75.61,0,0,1,44.51-34,44,44,0,1,1,41.32,0,75.57,75.57,0,0,1,44.52,34.07,91.34,91.34,0,0,0,9.56-11.24,4,4,0,1,1,6.49,4.68ZM128,156a36,36,0,1,0-36-36A36,36,0,0,0,128,156Zm0,64a92.23,92.23,0,0,0,59.14-21.57,68,68,0,0,0-118.27,0A91.56,91.56,0,0,0,128,220Z"}))]]),X=o.forwardRef((e,t)=>
1o.createElement(s.A,{ref:t,...e,weights:Y}));X.displayName="UserSwitchIcon";var Q=n(37511);let J=(0,n(58309).A)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);var ee=n(39794),et=n(65403);let en={x:i.X,info:a.R,minusCircle:u,plusCircle:d,copy:f,trash:p.l,crosshair:g,arrowLeft:v.n,arrowUUpLeft:b,arrowSquareOut:x,export:x,funnel:C.r,check:E.J,chatCircle:S.x,paperPlaneTilt:A.M,download:N,calendar:I,calendarBlank:O,prohibit:M,forbidden:M,pencilSimple:j,pencilSimpleLine:R,slidersHorizontal:z,lifeBuoy:V,mapTrifold:q,signOut:Z,userList:G,qrCode:K,userSwitch:X,cart:J,archive:Q.T},er=(0,o.forwardRef)((e,t)=>{let{className:n,labelClassName:i,svgType:a,svgProps:o,label:s,variant:l="transparent",children:u,...c}=e,d=en[a];return s=u||s,(0,r.jsxs)(et.$,{ref:t,size:"icon",className:(0,ee.cn)("flex w-fit items-center px-1",{"gap-1.5 px-2":s},n),variant:l,...c,children:[(0,r.jsx)("div",{children:(0,r.jsx)(d,{size:24,...o})}),s&&(0,r.jsx)("div",{className:(0,ee.cn)("text-base font-semibold",i),children:s})]})});er.displayName="IconButton";let ei=er},8544:(e,t,n)=>{"use strict";n.d(t,{ng:()=>f,_l:()=>v,gX:()=>m,Ip:()=>b});var r=n(43408),i=n(51907),a=n(539),o=n(1715);function s(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function l(e){let t,n=(0,a.yP)(e,new(0,o.FG));return t="BC"===n.era?1===n.year?"0000":"-"+String(Math.abs(1-n.year)).padStart(6,"00"):String(n.year).padStart(4,"0"),`${t}-${String(n.month).padStart(2,"0")}-${String(n.day).padStart(2,"0")}`}function u(e){return`${l(e)}T${s(e)}`}var c=n(22758);function d(e){let t,n="object"==typeof e[0]?e.shift():new(0,o.FG);if("string"==typeof e[0])t=e.shift();else{let e=n.getEras();t=e[e.length-1]}return[n,t,e.shift(),e.shift(),e.shift()]}var h=new WeakMap;class f{copy(){return this.era?new f(this.calendar,this.era,this.year,this.month,this.day):new f(this.calendar,this.year,this.month,this.day)}add(e){return(0,r.WQ)(this,e)}subtract(e){return(0,r.Re)(this,e)}set(e){return(0,r.hZ)(this,e)}cycle(e,t,n){return(0,r.xy)(this,e,t,n)}toDate(e){return(0,a.ay)(this,e)}toString(){return l(this)}compare(e){return(0,i.SE)(this,e)}constructor(...e){(0,c._)(this,h,{writable:!0,value:void 0});let[t,n,i,a,o]=d(e);this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,(0,r.AU)(this)}}var p=new WeakMap;class m{copy(){return new m(this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.tY)(this,e)}subtract(e){return(0,r.YP)(this,e)}set(e){return(0,r.ib)(this,e)}cycle(e,t,n){return(0,r.gt)(this,e,t,n)}toString(){return s(this)}compare(e){return(0,i.Nu)(this,e)}constructor(e=0,t=0,n=0,i=0){(0,c._)(this,p,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=i,(0,r.Rb)(this)}}var g=new WeakMap;class v{copy(){return this.era?new v(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new v(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.WQ)(this,e)}subtract(e){return(0,r.Re)(this,e)}set(e){return(0,r.hZ)((0,r.ib)(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return(0,r.xy)(this,e,t,n);default:return(0,r.gt)(this,e,t,n)}}toDate(e,t){return(0,a.ay)(this,e,t)}toString(){return u(this)}compare(e){let t=(0,i.SE)(this,e);return 0===t?(0,i.Nu)(this,(0,a.tR)(e)):t}constructor(...e){(0,c._)(this,g,{writable:!0,value:void 0});let[t,n,i,a,o]=d(e);this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.AU)(this)}}var y=new WeakMap;class b{copy(){return this.era?new b(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new b(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.E0)(this,e)}subtract(e){return(0,r.d_)(this,e)}set(e,t){return(0,r.D8)(this,e,t)}cycle(e,t,n){return(0,r.XH)(this,e,t,n)}toDate(){return(0,a.cd)(this)}toString(){var e;let t,n,r;return`${u(this)}${t=0>Math.sign(e=this.offset)?"-":"+",n=Math.floor((e=Math.abs(e))/36e5),r=e%36e5/6e4,`${t}
1${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}[${this.timeZone}]`}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,a.uB)(e,this.timeZone).toDate().getTime()}constructor(...e){(0,c._)(this,y,{writable:!0,value:void 0});let[t,n,i,a,o]=d(e),s=e.shift(),l=e.shift();this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,this.timeZone=s,this.offset=l,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.AU)(this)}}},8546:(e,t,n)=>{var r=n(92812),i=n(23183);e.exports=function(e,t){return null!=e&&i(e,t,r)}},8588:(e,t,n)=>{e.exports=n(69194)},8947:(e,t,n)=>{var r=n(81597),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;e.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)}),t})},9321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let r=n(30758)._(n(55729)),i=n(57827),a=[],o=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function l(){if(!a){let t=new u(e,n);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!s){let e=n.webpack&&1?n.webpack():n.modules;e&&o.push(t=>{for(let n of e)if(t.includes(n))return l()})}function c(e,t){l();let o=r.default.useContext(i.LoadableContext);o&&Array.isArray(n.modules)&&n.modules.forEach(e=>{o(e)});let s=r.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),r.default.useMemo(()=>{var t;return s.loading||s.error?r.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:a.retry}):s.loaded?r.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>l(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(l,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());d(o,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let h=c},9541:(e,t,n)=>{e=n.nmd(e);var r=n(45516),i=n(7018),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},9613:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(55729);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},9929:(e,t,n)=>{e.exports=n(54703)(n(45516),"Promise")},10656:(e,t,n)=>{var r=n(16799);
1e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var a=n.length,o=t?a:-1,s=Object(n);(t?o--:++o<a)&&!1!==i(s[o],o,s););return n}}},10798:(e,t,n)=>{"use strict";var r=n(15362),i=n(57388),a=n(98145),o=n(47352),s=n(74059),l=n(5251),u=n(34359),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK||(this.header=new u,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=a.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw)&&(n=r.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw Error(s[n])}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,l,u,d,h=this.strm,f=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?h.input=a.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(f),h.next_out=0,h.avail_out=f),(n=r.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(n=r.inflateSetDictionary(this.strm,p)),n===o.Z_BUF_ERROR&&!0===m&&(n=o.Z_OK,m=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0===h.avail_out||n===o.Z_STREAM_END||0===h.avail_in&&(s===o.Z_FINISH||s===o.Z_SYNC_FLUSH))&&("string"===this.options.to?(l=a.utf8border(h.output,h.next_out),u=h.next_out-l,d=a.buf2string(h.output,l),h.next_out=u,h.avail_out=f-u,u&&i.arraySet(h.output,h.output,l,u,0),this.onData(d)):this.onData(i.shrinkBuf(h.output,h.next_out))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((h.avail_in>0||0===h.avail_out)&&n!==o.Z_STREAM_END);return(n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH)?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):(s===o.Z_SYNC_FLUSH&&(this.onEnd(o.Z_OK),h.avail_out=0),!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=d,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},10931:(e,t,n)=>{var r=n(7855),i=n(60449),a=n(8546),o=n(25907),s=n(28617),l=n(20764),u=n(43092);e.exports=function(e,t){return o(e)&&s(t)?l(u(e),t):function(n){var o=i(n,e);return void 0===o&&o===t?a(n,e):r(t,o,3)}}},11083:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(58309).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},11211:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55729);let i=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),a=r.forwardRef((e,t)=>{let{alt:n,color:a,size:o,weight:s,mirrored:l,children:u,weights:c,...d}=e,{color:h="currentColor",size:f,weight:p="regular",mirrored:m=!1,...g}=r.useContext(i);return r.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=o?o:f,height:null!=o?o:f,fill:null!=a?a:h,viewBox:"0 0 256 256",transform:l||m?"scale(-1, 1)":void 0,...g,...d},!!n&&r.createElement("title",null,n),u,c.get(null!=s?s:p))});a.displayName="IconBase"},11229:(e,t,n)=>{var r=n(81707);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},11636:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(6029),i=n(23319),a=n(58718),o=n(32337),s=n(62883);function l(e){let{question:t,control:n,index:i,isReadOnly:l=!1}=e;if(l)return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(s.J,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)(o.p,{placeholder:"Votre r\xe9ponse...",className:"bg-gray-50"})]});if(!n||void 0===i)throw Error("control and index are required when not in read-only mode");return(0,r.jsx)(a.Z,{control:n,name:"answers.".concat(i,".answer"),label:"".concat(t.theme," : ").concat(t.question),placeholder:"Votre r\xe9ponse...",hasMessage:!0,maxLength:128},t.id)}var u=n(44072),c=n(41813);function d(e){let{question:t,control:n,index:i,isReadOnly:a=!1}=e;if(a)return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(s.J,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)(c.T,{placeholder:"Votre r\xe9ponse...",className:"bg-gray-50",rows:4})]});if(!n||void 0===i)throw Error("control and index are required when not in read-only mode");return(0,r.jsx)(u.h,{control:n,name:"answers.".concat(i,".answer"),className:"bg-white",label:"".concat(t.theme," : ").concat(t.question),placeholder:"Votre r\xe9ponse...",hasMessage:!0,maxLength:256},t.id)}var h=n(90198),f=n(64713);function p(e){let{question:t,control:n,index:i,isReadOnly:a=!1}=e;if(a)return(0,r.jsxs)("div",{className:"space-y-[6px]",children:[(0,r.jsxs)(s.J,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)("div",{className:"grid grid-cols-3 gap-2 rounded-xl bg-gray-50 p-4",children:t.options.map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(h.S,{className:"data-[state=checked]:border-primary-blue data-[state=checked]:bg-primary-blue flex size-5 items-center justify-center rounded-[6px] border-gray-300 bg-white text-white"}),(0,r.jsx)(s.J,{className:"min-w-0 break-words text-sm font-bold text-gray-500",children:e.label})]},e.label))})]});if(!n||void 0===i)throw Error("control and index are required when not in read-only mode");return(0,r.jsx)(f.zB,{control:n,name:"answers.".concat(i,".answerList"),render:e=>{let{field:n,fieldState:i}=e;return(0,r.jsxs)(f.eI,{children:[(0,r.jsxs)("div",{className:"space-y-[6px]",children:[(0,r.jsxs)(f.lR,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)("div",{className:"grid grid-cols-3 gap-2 rounded-xl bg-gray-50 p-4",children:t.options.map(e=>{var t;let i=(null==(t=n.value)?void 0:t.includes(e.label))||!1;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(h.S,{checked:i,onCheckedChange:t=>{let r=n.value||[];t?n.onChange([...r,e.label]):n.onChange(r.filter(t=>t!==e.label))},className:"data-[state=checked]:border-primary-blue data-[state=checked]:bg-primary-blue flex size-5 items-center justify-center rounded-[6px] border-gray-300 bg-white text-white"}),(0,r.jsx)("label",{className:"min-w-0 break-words text-sm font-bold text-gray-500",children:e.label})]},e.label)})})]}),i.error&&(0,r.jsx)(f.C5,{children:i.error.message})]})}},t.id)}var m=n(26807),g=n(78573);function v(e){let{question:t,control:n,index:i,isReadOnly:a=!1}=e;if(a)return(0,r.jsxs)("div",{className:"space-y-[6px]",children:[(0,r.jsxs)(s.J,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)(g.z,{className:"grid grid-cols-3 gap-2 rounded-xl bg-gray-50 p-4",children:t.options.map(e=>(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(g.C,{value:e.label,id:e.label}),(0,r.jsx)(s.J,{htmlFor:e.label,className:"text-sm font-bold text-gray-500",children:e.label})]},e.label))})]});if(!n||void 0===i)throw Error("control and index are required when not in read-only mode");return(0,r.jsxs)("div",{className:"space-y-[6px]",children:[(0,r.jsxs)("label",{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)(m.M,{control:n,name:"answers.".concat(i,".answer"),radioItems:t.options.map(e=>({label:e.label,value:e.label}
1)),containerClassName:"grid grid-cols-3 gap-2 rounded-xl bg-gray-50 p-4",labelClassName:"text-sm font-bold text-gray-500"})]},t.id)}var y=n(76710),b=n(52278);function w(e){let{question:t,control:n,index:i,isReadOnly:a=!1}=e;if(a)return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(s.J,{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsxs)(b.l6,{children:[(0,r.jsx)(b.bq,{className:"bg-gray-50",children:(0,r.jsx)(b.yv,{placeholder:"S\xe9lectionnez une option..."})}),(0,r.jsx)(b.gC,{children:t.options.map(e=>(0,r.jsx)(b.eb,{value:e.label,children:(0,r.jsx)("span",{className:"truncate break-words",children:e.label})},e.label))})]})]});if(!n||void 0===i)throw Error("control and index are required when not in read-only mode");return(0,r.jsx)(y.F,{control:n,name:"answers.".concat(i,".answer"),label:"".concat(t.theme," : ").concat(t.question),placeholder:"S\xe9lectionnez une option...",items:t.options.map(e=>({label:(0,r.jsx)("span",{className:"max-w-xs truncate break-words",children:e.label}),value:e.label})),hasMessage:!0},t.id)}function x(e){let{eventFormQuestionsOnEvent:t,control:n,isReadOnly:a=!1,fieldIndices:o}=e;return(0,r.jsx)("div",{className:"space-y-4",children:t.map((e,t)=>{let s=e.question,u=o?o[t]:t;switch(s.answerType){case i.EventFormQuestionAnswerType.short_text:return(0,r.jsx)(l,{question:s,control:n,index:u,isReadOnly:a},s.id);case i.EventFormQuestionAnswerType.long_text:return(0,r.jsx)(d,{question:s,control:n,index:u,isReadOnly:a},s.id);case i.EventFormQuestionAnswerType.multiple_choice:return(0,r.jsx)(p,{question:s,control:n,index:u,isReadOnly:a},s.id);case i.EventFormQuestionAnswerType.checkbox:return(0,r.jsx)(v,{question:s,control:n,index:u,isReadOnly:a},s.id);case i.EventFormQuestionAnswerType.list:return(0,r.jsx)(w,{question:s,control:n,index:u,isReadOnly:a},s.id);default:return null}})})}},11720:(e,t,n)=>{var r=n(86414);e.exports=function(e){return r(this,e).get(e)}},12342:(e,t,n)=>{var r=n(25080),i=n(42209),a=n(91544),o=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||i(e)||!!(o&&e&&e[o])}},12383:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var r=n(88846),i=n(65436);function a(e,t,n){let a=(0,i.a)(e,null==n?void 0:n.in);return isNaN(t)?(0,r.w)((null==n?void 0:n.in)||e,NaN):(t&&a.setDate(a.getDate()+t),a)}},13448:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,s:()=>o});var r=n(95913),i=n(77332),a=n(43064),o=class extends i.k{#a;#o;#s;#l;constructor(e){super(),this.#a=e.client,this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#o=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#o.includes(e)||(this.#o.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#o=this.#o.filter(t=>t!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#o.length||("pending"===this.state.status?this.scheduleGc():this.#s.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#u({type:"continue"})},n={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=(0,a.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});let r="pending"===this.state.status,i=!this.#l.canStart();try{if(r)t();else{this.#u({type:"pending",variables:e,isPaused:i}),await this.#s.config.onMutate?.(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#u({type:"pending",context:t,variables:e,isPaused:i})}let a=await this.#l.start();return await this.#s.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#s.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#u({type:"success",data:a}),a}catch(t){try{throw await this.#s.config.onError?.(t,e,this.state.context,this,n),await this.options.onError?.(t,e,this.state.context,n),await this.#s.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,t,e,this.state.context,n),t}finally{this.#u({type:"error",error:t})}}finally{this.#s.runNext(this)}}#u(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.jG.batch(()=>{this.#o.forEach(t=>{t.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},13471:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6029),i=n(39794);let a=e=>{let{className:t,alt:n,...a}=e;return(0,r.jsx)("img",{...a,className:(0,i.cn)("absolute inset-0 h-full w-full object-cover text-transparent",t),alt:n})}},13574:(e,t,n)=>{var r=n(25080),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}},13731:(e,t,n)=>{var r=n(53325),i=n(25725),a=Object.prototype.hasOwnProperty;e.exports=i(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])})},13829:(e,t,n)=>{"use strict";n.d(t,{C6:()=>i,Cl:()=>a,Tt:()=>o,fX:()=>s});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function s(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},13917:e=>{e.exports=function(e,t){return e<t}},13920:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},14117:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),o=r.forwardRef((e,t)=>
1r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="XIcon";let s=o},14690:(e,t,n)=>{"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{c:()=>r})},15051:(e,t,n)=>{var r=n(29794),i=n(5461),a=n(87567);e.exports=function(e){return r(e,a,i)}},15362:(e,t,n)=>{"use strict";var r,i,a=n(57388),o=n(72452),s=n(33138),l=n(50172),u=n(71503);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function d(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new a.Buf32(852),t.distcode=t.distdyn=new a.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,h(e)):-2}function p(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,f(e)):-2}function m(e,t){var n,r;return e?(e.state=r=new d,r.window=null,0!==(n=p(e,t))&&(e.state=null),n):-2}var g=!0;function v(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new a.Buf8(o.wsize)),r>=o.wsize?(a.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),a.arraySet(o.window,t,n-r,i,o.wnext),(r-=i)?(a.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}t.inflateReset=f,t.inflateReset2=p,t.inflateResetKeep=h,t.inflateInit=function(e){return m(e,15)},t.inflateInit2=m,t.inflate=function(e,t){var n,d,h,f,p,m,y,b,w,x,C,E,S,A,k,N,P,I,T,O,L,M,D,j,_=0,R=new a.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return -2;12===(n=e.state).mode&&(n.mode=13),p=e.next_out,h=e.output,y=e.avail_out,f=e.next_in,d=e.input,m=e.avail_in,b=n.hold,w=n.bits,x=m,C=y,M=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(2&n.wrap&&35615===b){n.check=0,R[0]=255&b,R[1]=b>>>8&255,n.check=s(n.check,R,2,0),b=0,w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&b)!=8){e.msg="unknown compression method",n.mode=30;break}if(b>>>=4,w-=4,L=(15&b)+8,0===n.wbits)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<L,e.adler=n.check=1,n.mode=512&b?10:12,b=0,w=0;break;case 2:for(;w<16;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(n.flags=b,(255&n.flags)!=8){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=s(n.check,R,2,0)),b=0,w=0,n.mode=3;case 3:for(;w<32;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.head&&(n.head.time=b),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,R[2]=b>>>16&255,R[3]=b>>>24&255,n.check=s(n.check,R,4,0)),b=0,w=0,n.mode=4;case 4:for(;w<16;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=s(n.check,R,2,0)),b=0,w=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=s(n.check,R,2,0)),b=0,w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((E=n.length)>m&&(E=m),E&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),a.arraySet(n.head.extra,d,f,E,L)),512&n.flags&&(n.check=s(n.check,d,E,f)),m-=E,f+=E,n.length-=E),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===m)break t;E=0;do L=d[f+E++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L));while(L&&E<m);if(512&n.flags&&(n.check=s(n.check,d,E,f)),m-=E,f+=E,L)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===m)break t;E=0;do L=d[f+E++],n.head&&L&&n.length<65536&&(n.head.comment+=String.fromCharCode(L));while(L&&E<m);if(512&n.flags&&(n.check=s(n.check,d,E,f)),m-=E,f+=E,L)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(b!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}b=0,w=0}
vendor: 4,543 bytes, line 1
1n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}e.adler=n.check=c(b),b=0,w=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=p,e.avail_out=y,e.next_in=f,e.avail_in=m,n.hold=b,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break t;case 13:if(n.last){b>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}switch(n.last=1&b,w-=1,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(!function(e){if(g){var t;for(r=new a.Buf32(512),i=new a.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(u(1,e.lens,0,288,r,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;u(2,e.lens,0,32,i,0,e.work,{bits:5}),g=!1}e.lencode=r,e.lenbits=9,e.distcode=i,e.distbits=5}(n),n.mode=20,6===t){b>>>=2,w-=2;break t}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,w-=2;break;case 14:for(b>>>=7&w,w-=7&w;w<32;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if((65535&b)!=(b>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,b=0,w=0,n.mode=15,6===t)break t;case 15:n.mode=16;case 16:if(E=n.length){if(E>m&&(E=m),E>y&&(E=y),0===E)break t;a.arraySet(h,d,f,E,p),m-=E,f+=E,y-=E,p+=E,n.length-=E;break}n.mode=12;break;case 17:for(;w<14;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(n.nlen=(31&b)+257,w-=5,n.ndist=(31&(b>>>=5))+1,w-=5,n.ncode=(15&(b>>>=5))+4,b>>>=4,w-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.lens[F[n.have++]]=7&b,b>>>=3,w-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,D={bits:n.lenbits},M=u(0,n.lens,0,19,n.lencode,0,n.work,D),n.lenbits=D.bits,M){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(_=n.lencode[b&(1<<n.lenbits)-1])>>>24,N=_>>>16&255,P=65535&_,!(k<=w);){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(P<16)b>>>=k,w-=k,n.lens[n.have++]=P;else{if(16===P){for(j=k+2;w<j;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(b>>>=k,w-=k,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],E=3+(3&b),b>>>=2,w-=2}else if(17===P){for(j=k+3;w<j;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}b>>>=k,w-=k,L=0,E=3+(7&b),b>>>=3,w-=3}else{for(j=k+7;w<j;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}b>>>=k,w-=k,L=0,E=11+(127&b),b>>>=7,w-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=L}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,D={bits:n.lenbits},M=u(1,n.lens,0,n.nlen,n.lencode,0,n.work,D),n.lenbits=D.bits,M){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,D={bits:n.distbits},M=u(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,D),n.distbits=D.bits,M){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break t;case 20:n.mode=21;case 21:if(m>=6&&y>=258){e.next_out=p,e.avail_out=y,e.next_in=f,e.avail_in=m,n.hold=b,n.bits=w,l(e,C),p=e.next_out,h=e.output,y=e.avail_out,f=e.next_in,d=e.input,m=e.avail_in,b=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(_=n.lencode[b&(1<<n.lenbits)-1])>>>24,N=_>>>16&255,P=65535&_,!(k<=w);){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(N&&(240&N)==0){for(I=k,T=N,O=P;k=(_=n.lencode[O+((b&(1<<I+T)-1)>>I)])>>>24,N=_>>>16&255,P=65535&_,!(I+k<=w);){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}b>>>=I,w-=I,n.back+=I}if(b>>>=k,w-=k,n.back+=k,n.length=P,0===N){n.mode=26;break}if(32&N){n.back=-1,n.mode=12;break}if(64&N){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&N,n.mode=22;case 22:if(n.extra){for(j=n.extra;w<j;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(_=n.distcode[b&(1<<n.distbits)-1])>>>24,N=_>>>16&255,P=65535&_,!(k<=w);){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if((240&N)==0){for(I=k,T=N,O=P;k=(_=n.distcode[O+((b&(1<<I+T)-1)>>I)])>>>24,N=_>>>16&255,P=65535&_,!(I+k<=w);){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}b>>>=I,w-=I,n.back+=I}if(b>>>=k,w-=k,n.back+=k,64&N){e.msg="invalid distance code",n.mode=30;break}n.offset=P,n.extra=15&N,n.mode=24;case 24:if(n.extra){for(j=n.extra;w<j;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>
1n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break t;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}E>n.wnext?(E-=n.wnext,S=n.wsize-E):S=n.wnext-E,E>n.length&&(E=n.length),A=n.window}else A=h,S=p-n.offset,E=n.length;E>y&&(E=y),y-=E,n.length-=E;do h[p++]=A[S++];while(--E);0===n.length&&(n.mode=21);break;case 26:if(0===y)break t;h[p++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===m)break t;m--,b|=d[f++]<<w,w+=8}if(C-=y,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?s(n.check,h,C,p-C):o(n.check,h,C,p-C)),C=y,(n.flags?b:c(b))!==n.check){e.msg="incorrect data check",n.mode=30;break}b=0,w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===m)break t;m--,b+=d[f++]<<w,w+=8}if(b!==(0|n.total)){e.msg="incorrect length check",n.mode=30;break}b=0,w=0}n.mode=29;case 29:M=1;break t;case 30:M=-3;break t;case 31:return -4;default:return -2}return(e.next_out=p,e.avail_out=y,e.next_in=f,e.avail_in=m,n.hold=b,n.bits=w,(n.wsize||C!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&v(e,e.output,e.next_out,C-e.avail_out))?(n.mode=31,-4):(x-=e.avail_in,C-=e.avail_out,e.total_in+=x,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?s(n.check,h,C,e.next_out-C):o(n.check,h,C,e.next_out-C)),e.data_type=n.bits+64*!!n.last+128*(12===n.mode)+256*(20===n.mode||15===n.mode),(0===x&&0===C||4===t)&&0===M&&(M=-5),M)},t.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var n;return e&&e.state&&(2&(n=e.state).wrap)!=0?(n.head=t,t.done=!1,0):-2},t.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state&&(0===(n=e.state).wrap||11===n.mode)?11===n.mode&&o(1,t,r,0)!==n.check?-3:v(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},t.inflateInfo="pako inflate (from Nodeca project)"},15733:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ew});var r=n(82606),i=n(46963),a=n(24782),o=n(88846),s=n(89546),l=n(65436);class u{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends u{validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}}class d extends u{set(e,t){return t.timestampIsSet?e:(0,o.w)(e,function(e,t){var n,r;let i="function"==typeof(n=t)&&(null==(r=n.prototype)?void 0:r.constructor)===n?new t(0):(0,o.w)(t,0);return i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i}(e,this.context))}constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,o.w)(t,e))}}class h{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new c(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}class f extends h{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var p=n(70238);let m={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},g={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2}
1)|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function v(e,t){return e?{value:t(e.value),rest:e.rest}:e}function y(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function b(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(i*p.s0+a*p.Cg+o*p._m),rest:t.slice(n[0].length)}}function w(e){return y(m.anyDigitsSigned,e)}function x(e,t){switch(e){case 1:return y(m.singleDigit,t);case 2:return y(m.twoDigits,t);case 3:return y(m.threeDigits,t);case 4:return y(m.fourDigits,t);default:return y(RegExp("^\\d{1,"+e+"}"),t)}}function C(e,t){switch(e){case 1:return y(m.singleDigitSigned,t);case 2:return y(m.twoDigitsSigned,t);case 3:return y(m.threeDigitsSigned,t);case 4:return y(m.fourDigitsSigned,t);default:return y(RegExp("^-?\\d{1,"+e+"}"),t)}}function E(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function S(e,t){let n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{let t=i+50;n=e+100*Math.trunc(t/100)-100*(e>=t%100)}return r?n:1-n}function A(e){return e%400==0||e%4==0&&e%100!=0}class k extends h{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return v(x(4,e),r);case"yo":return v(n.ordinalNumber(e,{unit:"year"}),r);default:return v(x(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=S(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var N=n(88606),P=n(6730);class I extends h{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return v(x(4,e),r);case"Yo":return v(n.ordinalNumber(e,{unit:"year"}),r);default:return v(x(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=(0,N.h)(e,r);if(n.isTwoDigitYear){let t=S(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,P.k)(e,r)}let a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,P.k)(e,r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var T=n(98051);class O extends h{parse(e,t){return"R"===t?C(4,e):C(t.length,e)}set(e,t,n){let r=(0,o.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,T.b)(r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class L extends h{parse(e,t){return"u"===t?C(4,e):C(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class M extends h{parse(e,t,n){switch(t){case"Q":case"QQ":return x(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class D extends h{parse(e,t,n){switch(t){case"q":case"qq":return x(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class j extends h{parse(e,t,n){let r=e=>e-1;switch(t){case"M":return v(y(m.month,e),r);case"MM":return v(x(2,e),r);case"Mo":return v(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class _ extends h{parse(e,t,n){let r=e=>e-1;switch(t){case"L":return v(y(m.month,e),r);case"LL":return v(x(2,e),r);case"Lo":return v(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var R=n(75397);class F extends h{parse(e,t,n){switch(t){case"w":return y(m.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return x(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,P.k)(function(e,t,n){let r=(0,l.a)(e,null==n?void 0:n.in),i=(0,R.N)(r,n)-t;return r.setDate(r.getDate()-7*i),(0,l.a)(r,null==n?void 0:n.in)}(e,n,r),r)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var z=n(46726);class B extends h{parse(e,t,n){switch(t){case"I":return y(m.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return x(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,T.b)(function(e,t,n){let r=(0,l.a)(e,void 0),i=(0,z.s)(r,void 0)-t;return r.setDate(r.getDate()-7*i),r}(e,n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let V=[31,28,31,30,31,30,31,31,30,31,30,31],U=[31,29,31,30,31,30,31,31,30,31,30,31];class q extends h{parse(e,t,n){switch(t){case"d":return y(m.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return x(t.length,e)}}validate(e,t){let n=A(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=U[r]:t>=1&&t<=V[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class H extends h{parse(e,t,n){switch(t){case"D":case"DD":return y(m.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return x(t.length,e)}}validate(e,t){return A(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}var Z=n(25739),W=n(12383);function G(e,t,n){var r,i,a,o,s,u,c,d;let h=(0,Z.q)(),f=null!=(d=null!=(c=null!=(u=null!=(s=null==n?void 0:n.weekStartsOn)?s:null==n||null==(i=n.locale)||null==(r=i.options)?void 0:r.weekStartsOn)?u:h.weekStartsOn)?c:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?d:0,p=(0,l.a)(e,null==n?void 0:n.in),m=p.getDay(),g=7-f,v=t<0||t>6?t-(m+g)%7:((t%7+7)%7+g)%7-(m+g)%7;return(0,W.f)(p,v,n)}class $ extends h{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class K extends h{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return v(x(t.length,e),i);case"eo":return v(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class Y extends h{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return v(x(t.length,e),i);case"co":return v(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class X extends h{parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return x(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return v(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return v(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return v(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return v(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t,n){let r=(0,l.a)(e,void 0),i=function(e,t){let n=(0,l.a)(e,null==t?void 0:t.in).getDay();return 0===n?7:n}(r,void 0);return(0,W.f)(r,t-i,n)}
1(e,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class Q extends h{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class J extends h{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class ee extends h{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class et extends h{parse(e,t,n){switch(t){case"h":return y(m.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class en extends h{parse(e,t,n){switch(t){case"H":return y(m.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class er extends h{parse(e,t,n){switch(t){case"K":return y(m.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class ei extends h{parse(e,t,n){switch(t){case"k":return y(m.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return x(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class ea extends h{parse(e,t,n){switch(t){case"m":return y(m.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return x(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class eo extends h{parse(e,t,n){switch(t){case"s":return y(m.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return x(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class es extends h{parse(e,t){return v(x(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var el=n(70979);class eu extends h{parse(e,t){switch(t){case"X":return b(g.basicOptionalMinutes,e);case"XX":return b(g.basic,e);case"XXXX":return b(g.basicOptionalSeconds,e);case"XXXXX":return b(g.extendedOptionalSeconds,e);default:return b(g.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,o.w)(e,e.getTime()-(0,el.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class ec extends h{parse(e,t){switch(t){case"x":return b(g.basicOptionalMinutes,e);case"xx":return b(g.basic,e);case"xxxx":return b(g.basicOptionalSeconds,e);case"xxxxx":return b(g.extendedOptionalSeconds,e);default:return b(g.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,o.w)(e,e.getTime()-(0,el.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class ed extends h{parse(e){return w(e)}set(e,t,n){return[(0,o.w)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class eh extends h{parse(e){return w(e)}set(e,t,n){return[(0,o.w)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let ef={G:new f,y:new k,Y:new I,R:new O,u:new L,Q:new M,q:new D,M:new j,L:new _,w:new F,I:new B,d:new q,D:new H,E:new $,e:new K,c:new Y,i:new X,a:new Q,b:new J,B:new ee,h:new et,H:new en,K:new er,k:new ei,m:new ea,s:new eo,S:new es,X:new eu,x:new ec,t:new ed,T:new eh},ep=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,em=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eg=/^'([^]*?)'?$/,ev=/''/g,ey=/\S/,eb=/[a-zA-Z]/;function ew(e,t,n,u){var c,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k,N,P;let I=()=>(0,o.w)((null==u?void 0:u.in)||n,NaN),T=(0,s.q)(),O=null!=(w=null!=(b=null==u?void 0:u.locale)?b:T.locale)?w:r.c,L=null!=(S=null!=(E=null!=(C=null!=(x=null==u?void 0:u.firstWeekContainsDate)?x:null==u||null==(h=u.locale)||null==(c=h.options)?void 0:c.firstWeekContainsDate)?C:T.firstWeekContainsDate)?E:null==(p=T.locale)||null==(f=p.options)?void 0:f.firstWeekContainsDate)?S:1,M=null!=(P=null!=(N=null!=(k=null!=(A=null==u?void 0:u.weekStartsOn)?A:null==u||null==(g=u.locale)||null==(m
1=g.options)?void 0:m.weekStartsOn)?k:T.weekStartsOn)?N:null==(y=T.locale)||null==(v=y.options)?void 0:v.weekStartsOn)?P:0;if(!t)return e?I():(0,l.a)(n,null==u?void 0:u.in);let D={firstWeekContainsDate:L,weekStartsOn:M,locale:O},j=[new d(null==u?void 0:u.in,n)],_=t.match(em).map(e=>{let t=e[0];return t in i.m?(0,i.m[t])(e,O.formatLong):e}).join("").match(ep),R=[];for(let n of _){!(null==u?void 0:u.useAdditionalWeekYearTokens)&&(0,a.xM)(n)&&(0,a.Ss)(n,t,e),!(null==u?void 0:u.useAdditionalDayOfYearTokens)&&(0,a.ef)(n)&&(0,a.Ss)(n,t,e);let r=n[0],i=ef[r];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=R.find(e=>t.includes(e.token)||e.token===r);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(n,"` at the same time"))}else if("*"===i.incompatibleTokens&&R.length>0)throw RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"));R.push({token:r,fullToken:n});let a=i.run(e,n,O.match,D);if(!a)return I();j.push(a.setter),e=a.rest}else{if(r.match(eb))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(eg)[1].replace(ev,"'")),0!==e.indexOf(n))return I();e=e.slice(n.length)}}if(e.length>0&&ey.test(e))return I();let F=j.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>j.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),z=(0,l.a)(n,null==u?void 0:u.in);if(isNaN(+z))return I();let B={};for(let e of F){if(!e.validate(z,D))return I();let t=e.set(z,B,D);Array.isArray(t)?(z=t[0],Object.assign(B,t[1])):z=t}return z}},15917:(e,t,n)=>{var r=n(36592),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},16153:(e,t,n)=>{var r=n(25080),i=n(88601),a=n(91544),o=n(50515),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},16697:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,i=n(55729),a=n(35896),o=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||a.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[a,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),a=i.useRef(n),s=i.useRef(t);return o(()=>{s.current=t},[t]),i.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:a;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},16799:(e,t,n)=>{var r=n(98499),i=n(48039);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},16932:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var r=n(55729),i=n(13448),a=n(95913),o=n(24090),s=n(4308),l=class extends o.Q{#a;#c=void 0;#d;#h;constructor(e,t){super(),this.#a=e,this.setOptions(t),this.bindMethods(),this.#f()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#a.defaultMutationOptions(e),(0,s.f8)(this.options,t)||this.#a.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#d,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.EN)(t.mutationKey)!==(0,s.EN)(this.options.mutationKey)?this.reset():this.#d?.state.status==="pending"&&this.#d.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#d?.removeObserver(this)}onMutationUpdate(e){this.#f(),this.#p(e)}getCurrentResult(){return this.#c}reset(){this.#d?.removeObserver(this),this.#d=void 0,this.#f(),this.#p()}mutate(e,t){return this.#h=t,this.#d?.removeObserver(this),this.#d=this.#a.getMutationCache().build(this.#a,this.options),this.#d.addObserver(this),this.#d.execute(e)}#f(){let e=this.#d?.state??(0,i.$)();this.#c={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#p(e){a.jG.batch(()=>
1{if(this.#h&&this.hasListeners()){let t=this.#c.variables,n=this.#c.context,r={client:this.#a,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#h.onSuccess?.(e.data,t,n,r),this.#h.onSettled?.(e.data,null,t,n,r)):e?.type==="error"&&(this.#h.onError?.(e.error,t,n,r),this.#h.onSettled?.(void 0,e.error,t,n,r))}this.listeners.forEach(e=>{e(this.#c)})})}},u=n(93251);function c(e,t){let n=(0,u.jE)(t),[i]=r.useState(()=>new l(n,e));r.useEffect(()=>{i.setOptions(e)},[i,e]);let o=r.useSyncExternalStore(r.useCallback(e=>i.subscribe(a.jG.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=r.useCallback((e,t)=>{i.mutate(e,t).catch(s.lQ)},[i]);if(o.error&&(0,s.GU)(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:c,mutateAsync:o.mutate}}},16972:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var r=n(6029),i=n(55729),a=n(19639),o="horizontal",s=["horizontal","vertical"],l=i.forwardRef((e,t)=>{var n;let{decorative:i,orientation:l=o,...u}=e,c=(n=l,s.includes(n))?l:o;return(0,r.jsx)(a.sG.div,{"data-orientation":c,...i?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});l.displayName="Separator";var u=n(39794);let c=i.forwardRef((e,t)=>{let{className:n,orientation:i="horizontal",decorative:a=!0,...o}=e;return(0,r.jsx)(l,{ref:t,decorative:a,orientation:i,className:(0,u.cn)("bg-border shrink-0","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",n),...o})});c.displayName=l.displayName},16999:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},17085:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},17325:(e,t,n)=>{"use strict";let r,i,a,o,s;function l(e){if(!e)return"";let t="";return e.name&&(t+=e.name+" "),e.address?t+=e.address+" ":(e.zipCode&&(t+=e.zipCode+" "),e.city&&(t+=e.city)),t}function u(e){return e.address?"https://maps.google.com/?q=".concat(encodeURI(e.address)):e.lat&&e.long?"https://maps.google.com/?q=".concat(encodeURI(e.lat+","+e.long)):e.zipCode&&e.city?"https://maps.google.com/?q=".concat(encodeURI(e.address+","+e.zipCode+" "+e.city)):"".concat(e.address||"",", ").concat(e.zipCode||""," ").concat(e.city||"")}function c(e){return 9===e.length?e.replace(/(\d{3})(\d{3})(\d{3})/,"$1 $2 $3"):e.replace(/(\d{3})(\d{3})(\d{3})(\d{5})/,"$1 $2 $3 $4")}if(n.d(t,{f42:()=>W,aOS:()=>G,chK:()=>tS,Pc2:()=>K,m1N:()=>tN,aNY:()=>$,w91:()=>th,fwl:()=>e5,KBx:()=>tl,J5Q:()=>fi,XrR:()=>er,$TD:()=>en,AV6:()=>Z,vO7:()=>e3,QIF:()=>e$,Z5V:()=>ta,tXX:()=>eQ,fRs:()=>e2,cA3:()=>e1,bIG:()=>h7,$gu:()=>ts,oF5:()=>eU,qDl:()=>fl,Smb:()=>e4,kB2:()=>ti,jKi:()=>e8,Z2L:()=>l,GaV:()=>H,RuJ:()=>et,qQz:()=>ee,bIe:()=>te,lQ:()=>tt,u1b:()=>tv,wU6:()=>e0,ftU:()=>tx,XDG:()=>tC,Rrw:()=>eJ,XAZ:()=>tE,bcc:()=>eG,cjS:()=>eW,Lwl:()=>u,mG7:()=>fu,Tdo:()=>tA,$dm:()=>tI,d9G:()=>fc,_7y:()=>tn,_iL:()=>q,mmp:()=>eK,OqE:()=>ty,Pek:()=>eV,uyv:()=>eB,SY3:()=>tw,aHQ:()=>tb,Oe6:()=>h,lQu:()=>to,_OA:()=>tg,H3Y:()=>tP,qrl:()=>fe,Ek_:()=>tu,Cd:()=>fa,Fdg:()=>fo,LqN:()=>tk,UwG:()=>e6,LFN:()=>d}),"123 456 789 00012"!==c("12345678900012"))throw Error('formatSiret is broken with siret : formatSiret("12345678900012") === "'.concat(c("12345678900012"),'"'));if("123 456 789"!==c("123456789"))throw Error('formatSiret is broken with siren : formatSiret("123456789") === "'.concat(c("123456789"),'"'));let d=(e,t)=>e.includes(t)?e.filter(e=>e!==t):[...e,t],h=(e,t)=>{var n;if(0===t.length)return!0;if(!e.businessSectorId)return!1;let r=t.includes(e.businessSectorId),i=null!=(n=e.businessSectorRelation)&&!!n.parentId&&t.includes(e.businessSectorRelation.parentId);return r||i};var f,p,m,g,v,y,b,w,x,C,E,S,A,k,N,P,I,T,O,L,M,D,j,_,R,F,z,B=n(21841),V=n(13731),U=n.n(V);let q=e=>U()(e,e=>H(e.buyableItem)),H=e=>B.eJ_[e.buyableType].getGroupKey(e),Z=e=>{if(!(e=>{let t=B.eJ_[e.buyableType];if(!t)return!1;try{return t.isValid(e)}catch(e){return!1}})(e))throw Error("createPartialCompleteBuyableItem: Invalid item");return e},W="AIzaSyCxbfclKEm9lCTGAhErthdjtC0r4KoxQ7E",G="00000000-0000-0000-0000-000000000001",$=Math.floor(18e5),K=100;var Y=n(95747);let X=JSON.parse('{"locale":"fr","countries":{"AF":"Afghanistan","AL":"Albanie","DZ":"Alg\xe9rie","AS":"Samoa am\xe9ricaines","AD":"Andorre","AO":"Angola","AI":"Anguilla","AQ":"Antarctique","AG":"Antigua-et-Barbuda","AR":"Argentine","AM":"Arm\xe9nie","AW":"Aruba","AU":"Australie","AT":"Autriche","AZ":"Azerba\xefdjan","BS":"Bahamas","BH":"Bahre\xefn","BD":"Bangladesh","BB":"Barbade","BY":"Bi\xe9lorussie","BE":"Belgique","BZ":"Belize","BJ":"B\xe9nin","BM":"Bermudes","BT":"Bhoutan","BO":"Bolivie","BA":"Bosnie-Herz\xe9govine","BW":"Botswana","BV":"\xcele Bouvet","BR":"Br\xe9sil","IO":"Oc\xe9an Indien Britannique","BN":"Brunei Darussalam","BG":"Bulgarie","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodge","CM":"Cameroun","CA":"Canada","CV":"Cap-Vert","KY":"\xceles Ca\xefmans","CF":"R\xe9publique Centrafricaine","TD":"Tchad","CL":"Chili","CN":"Chine","CX":"\xcele Christmas","CC":"\xceles Cocos","CO":"Colombie","KM":"Comores","CG":"R\xe9publique du Congo","CD":"R\xe9publique d\xe9mocratique du Congo","CK":"\xceles Cook","CR":"Costa Rica","CI":"C\xf4te-d\'Ivoire","HR":"Croatie","CU":"Cuba","CY":"Chypre","CZ":"R\xe9publique Tch\xe8que","DK":"Danemark","DJ":"Djibouti","DM":"Dominique","DO":"R\xe9publique Dominicaine","EC":"\xc9quateur","EG":"\xc9gypte","SV":"El Salvador","GQ":"Guin\xe9e \xe9quatoriale","ER":"\xc9rythr\xe9e","EE":"Estonie","ET":"\xc9thiopie","FK":"\xceles Malouines","FO":"\xceles F\xe9ro\xe9","FJ":"Fidji","FI":"Finlande","FR":"France","GF":"Guyane fran\xe7aise","PF":"Polyn\xe9sie fran\xe7aise","TF":"Terres australes fran\xe7aises","GA":"Gabon","GM":"Gambie","GE":"G\xe9orgie","DE":"Allemagne","GH":"Ghana","GI":"Gibraltar","GR":"Gr\xe8ce","GL":"Groenland","GD":"Grenade","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guin\xe9e","GW":"Guin\xe9e-Bissau","GY":"Guyana","HT":"Ha\xefti","HM":"\xceles Heard-et-MacDonald","VA":"Saint-Si\xe8ge (Vatican)","HN":"Honduras","HK":"Hong Kong","HU":"Hongrie","IS":"Islande","IN":"Inde","ID":"Indon\xe9sie","IR":"Iran","IQ":"Irak","IE":"Irlande","IL":"Isra\xebl","IT":"Italie","JM":"Jama\xefque","JP":"Japon","JO":"Jordanie","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"Cor\xe9e du Nord","KR":"Cor\xe9e du Sud","KW":"Kowe\xeft","KG":"Kirghizistan","LA":"La
1os","LV":"Lettonie","LB":"Liban","LS":"Lesotho","LR":"Lib\xe9ria","LY":"Libye","LI":"Liechtenstein","LT":"Lituanie","LU":"Luxembourg","MO":"Macao","MK":"Mac\xe9doine du Nord","MG":"Madagascar","MW":"Malawi","MY":"Malaisie","MV":"Maldives","ML":"Mali","MT":"Malte","MH":"\xceles Marshall","MQ":"Martinique","MR":"Mauritanie","MU":"Maurice","YT":"Mayotte","MX":"Mexique","FM":"Micron\xe9sie","MD":"Moldavie","MC":"Monaco","MN":"Mongolie","MS":"Montserrat","MA":"Maroc","MZ":"Mozambique","MM":"Myanmar","NA":"Namibie","NR":"Nauru","NP":"N\xe9pal","NL":"Pays-Bas","NC":"Nouvelle-Cal\xe9donie","NZ":"Nouvelle-Z\xe9lande","NI":"Nicaragua","NE":"Niger","NG":"Nig\xe9ria","NU":"Niu\xe9","NF":"\xcele Norfolk","MP":"\xceles Mariannes du Nord","NO":"Norv\xe8ge","OM":"Oman","PK":"Pakistan","PW":"Palaos","PS":"Palestine","PA":"Panama","PG":"Papouasie-Nouvelle-Guin\xe9e","PY":"Paraguay","PE":"P\xe9rou","PH":"Philippines","PN":"\xceles Pitcairn","PL":"Pologne","PT":"Portugal","PR":"Porto Rico","QA":"Qatar","RE":"R\xe9union","RO":"Roumanie","RU":"Russie","RW":"Rwanda","SH":"Sainte-H\xe9l\xe8ne","KN":"Saint-Christophe-et-Ni\xe9v\xe8s","LC":"Sainte-Lucie","PM":"Saint-Pierre-et-Miquelon","VC":"Saint-Vincent-et-les-Grenadines","WS":"Samoa","SM":"Saint-Marin","ST":"S\xe3o Tom\xe9-et-Principe","SA":"Arabie Saoudite","SN":"S\xe9n\xe9gal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapour","SK":"Slovaquie","SI":"Slov\xe9nie","SB":"\xceles Salomon","SO":"Somalie","ZA":"Afrique du Sud","GS":"G\xe9orgie du Sud-et-les \xceles Sandwich du Sud","ES":"Espagne","LK":"Sri Lanka","SD":"Soudan","SR":"Suriname","SJ":"Svalbard et \xcele Jan Mayen","SZ":"Royaume d\'Eswatini","SE":"Su\xe8de","CH":"Suisse","SY":"Syrie","TW":"Ta\xefwan","TJ":"Tadjikistan","TZ":"R\xe9publique unie de Tanzanie","TH":"Tha\xeflande","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinit\xe9-et-Tobago","TN":"Tunisie","TR":"Turquie","TM":"Turkm\xe9nistan","TC":"\xceles Turques-et-Ca\xefques","TV":"Tuvalu","UG":"Ouganda","UA":"Ukraine","AE":"\xc9mirats Arabes Unis","GB":"Royaume-Uni","US":"\xc9tats-Unis d\'Am\xe9rique","UM":"\xceles mineures \xe9loign\xe9es des \xc9tats-Unis","UY":"Uruguay","UZ":"Ouzb\xe9kistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"\xceles vierges britanniques","VI":"\xceles vierges am\xe9ricaines","WF":"Wallis-et-Futuna","EH":"Sahara occidental","YE":"Y\xe9men","ZM":"Zambie","ZW":"Zimbabwe","AX":"\xc5land","BQ":"Bonaire, Saint-Eustache et Saba","CW":"Cura\xe7ao","GG":"Guernesey","IM":"\xcele de Man","JE":"Jersey","ME":"Mont\xe9n\xe9gro","BL":"Saint-Barth\xe9lemy","MF":"Saint-Martin (partie fran\xe7aise)","RS":"Serbie","SX":"Saint-Martin (partie n\xe9erlandaise)","SS":"Soudan du Sud","XK":"Kosovo"}}'),Q=JSON.parse('{"locale":"en","countries":{"AF":"Afghanistan","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":["People\'s Republic of China","China"],"CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":["Republic of the Congo","Congo"],"CD":["Democratic Republic of the Congo","Congo"],"CK":"Cook Islands","CR":"Costa Rica","CI":["Cote d\'Ivoire","C\xf4te d\'Ivoire","Ivory Coast"],"HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":["Czech Republic","Czechia"],"DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":["Republic of The Gambia","The Gambia","Gambia"],"GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":["Islamic Republic of Iran","Iran"],"IQ":"Iraq","IE":"Ireland","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"North Korea","KR":["South Korea","Korea, Republic of","Republic of Korea"],"KW":"Kuwait","KG":"Kyrgyzstan","LA":"La
1o People\'s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States of","MD":"Moldova, Republic of","MC":"Monaco","MN":"Mongolia","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],"NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MK":["The Republic of North Macedonia","North Macedonia"],"MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":["State of Palestine","Palestine"],"PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":["Pitcairn","Pitcairn Islands"],"PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":["Russian Federation","Russia"],"RW":"Rwanda","SH":"Saint Helena","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome and Principe","SA":"Saudi Arabia","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and the South Sandwich Islands","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard and Jan Mayen","SZ":"Eswatini","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":["Taiwan, Province of China","Taiwan"],"TJ":"Tajikistan","TZ":["United Republic of Tanzania","Tanzania"],"TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":["T\xfcrkiye","Turkey"],"TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":["United Arab Emirates","UAE"],"GB":["United Kingdom","UK","Great Britain"],"US":["United States of America","United States","USA","U.S.A.","US","U.S."],"UM":"United States Minor Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis and Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe","AX":["\xc5land Islands","Aland Islands"],"BQ":"Bonaire, Sint Eustatius and Saba","CW":"Cura\xe7ao","GG":"Guernsey","IM":"Isle of Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barth\xe9lemy","MF":"Saint Martin (French part)","RS":"Serbia","SX":"Sint Maarten (Dutch part)","SS":"South Sudan","XK":"Kosovo"}}');(0,Y.registerLocale)(X),(0,Y.registerLocale)(Q);let J=["fr","en"];function ee(e,t){if(!e)return null;if(t){var n;return null!=(n=(0,Y.getName)(e,t))?n:e}for(let t of J){let n=(0,Y.getName)(e,t);if(n)return n}return e}function et(e,t){if(!e)return null;if(t){var n;return null!=(n=(0,Y.getAlpha2Code)(e,t))?n:e}for(let t of J){let n=(0,Y.getAlpha2Code)(e,t);if(n)return n}return e}let en=[{name:"Afghanistan","alpha-2":"AF","country-code":"004"},{name:"\xc5land Islands","alpha-2":"AX","country-code":"248"},{name:"Albania","alpha-2":"AL","country-code":"008"},{name:"Algeria","alpha-2":"DZ","country-code":"012"},{name:"American Samoa","alpha-2":"AS","country-code":"016"},{name:"Andorra","alpha-2":"AD","country-code":"020"},{name:"Angola","alpha-2":"AO","country-code":"024"},{name:"Anguilla","alpha-2":"AI","country-code":"660"},{name:"Antarctica","alpha-2":"AQ","country-code":"010"},{name:"Antigua and Barbuda","alpha-2":"AG","country-code":"028"},{name:"Argentina","alpha-2":"AR","country-code":"032"},{name:"Armenia","alpha-2":"AM","country-code":"051"},{name:"Aruba","alpha-2":"AW","country-code":"533"},{name:"Australia","alpha-2":"AU","country-code":"036"},{name:"Austria","alpha-2":"AT","country-code":"040"},{name:"Azerbaijan","alpha-2":"AZ","country-code":"031"},{name:"Bahamas","alpha-2":"BS","country-code":"044"},{name:"Bahrain","alpha-2":"BH","country-code":"048"},{name:"Bangladesh","alpha-2":"BD","country-code":"050"},{name:"Barbados","alpha-2":"BB","country-code":"052"},{name:"Belarus","alpha-2":"BY","country-code":"112"},{name:"Belgium","alpha-2":"BE","country-code":"056"},{name:"Belize","alpha-2":"BZ","country-code":"084"},{name:"Benin","alpha-2":"BJ","country-code":"204"},{name:"Bermuda","alpha-2":"BM","country-code":"060"},{name:"Bhutan","alpha-2":"BT","country-code":"064"},{name:"Bolivia, Plurinational State of","alpha-2":"BO","country-code":"068"},{name:"Bonaire, Sint Eustatius and Saba","alpha-2":"BQ","country-code":"535"},{name:"Bosnia and Herzegovina","alpha-2":"BA","country-code":"070"},{name:"Botswana","alpha-2":"BW","country-code":"072"},{name:"Bouvet Island","alpha-2":"BV","country-code":"074"},{name:"Brazil","alpha-2":"BR","country-code":"076"},{name:"British Indian Ocean Territory","alpha-2":"IO","country-code":"086"},{name:"Brunei Darussalam","alpha-2":"BN","country-code":"096"},{name:"Bulgaria","alpha-2":"BG","country-code":"100"},{name:"Burkina Faso","alpha-2":"BF","country-code":"854"},{name:"Burundi","alpha-2":"BI","country-code":"108"},{name:"Cabo Verde","alpha-2":"CV","country-code":"132"},{name:"Cambodia","alpha-2":"KH","country-code":"116"},{name:"Cameroon","alpha-2":"CM","country-code":"120"},{name:"Canada","alpha-2":"CA","country-code":"124"},{name:"Cayman Islands","alpha-2":"KY","country-code":"136"},{name:"Central African Republic","alpha-2":"CF","country-code":"140"},{name:"Chad","alpha-2":"TD","country-code":"148"},{name:"Chile","alpha-2":"CL","country-code":"152"},{name:"China","alpha-2":"CN","country-code":"156"},{name:"Christmas Island","alpha-2":"CX","country-code":"162"},{name:"Cocos (Keeling) Islands","alpha-2":"CC","country-code":"166"},{name:"Colombia","alpha-2":"CO","country-code":"170"},{name:"Comoros","alpha-2":"KM","country-code":"174"},{name:"Congo","alpha-2":"CG","country-code":"178"},{name:"Congo, Democratic Republic of the","alpha-2":"CD","country-code":"180"},{name:"Cook Islands","alpha-2":"CK","country-code":"184"},{name:"Costa Rica","alpha-2":"CR","country-code":"188"},{name:"C\xf4te d'Ivoire","alpha-2":"CI","country-code":"384"},{name:"Croatia","alpha-2":"HR","country-code":"191"},{name:"Cuba","alpha-2":"CU","country-code":"192"},{name:"Cura\xe7ao","alpha-2":"CW","country-code":"531"},{name:"Cyprus","alpha-2":"CY","country-code":"196"},{name:"Czechia","alpha-2":"CZ","country-code":"203"},{name:"Denmark","alpha-2":"DK","country-code":"208"},{name:"Djibouti","alpha-2":"DJ","country-code":"262"},{name:"Dominica","alpha-2":"DM","country-code":"212"},{name:"Dominican Republic","alpha-2":"DO","country-code":"214"},{name:"Ecuador","alpha-2":"EC","country-code":"218"},{name:"Egypt","alpha-2":"EG","country-code":"818"},{name:"El Salvador","alpha-2":"SV","country-code":"222"},{name:"Equatorial Guinea","alpha-2":"GQ","country-code":"226"},{name:"Eritrea","alpha-2":"ER","country-code":"232"},{name:"Estonia","alpha-2":"EE","country-code":"233"},{name:"Eswatini","alpha-2":"SZ","country-code":"748"},{name:"Ethiopia","alpha-2":"ET","country-code":"231"},{name:"Falkland Islands (Malvinas)","alpha-2":"FK","country-code":"238"},{name:"Faroe Islands","alpha-2":"FO","country-code":"234"},{name:"Fiji","alpha-2":"FJ","country-code":"242"},{name:"Finland","alpha-2":"FI","country-code":"246"},{name:"France","alpha-2":"FR","country-code":"250"},{name:"French Guiana","alpha-2":"GF","country-code":"254"},{name:"French Polynesia","alpha-2":"PF","country-code":"258"},{name:"French Southern Territories","alpha-2":"TF","country-code":"260"},{name:"Gabon","alpha-2":"GA","country-code":"266"},{name:"Gambia","alpha-2":"GM","country-code":"270"},{name:"Georgia","alpha-2":"GE","country-code":"268"},{name:"Germany","alpha-2":"DE","country-code":"276"},{name:"Ghana","alpha-2":"GH","country-code":"288"},{name:"Gibraltar","alpha-2":"GI","country-code":"292"},{name:"Greece","alpha-2":"GR","country-code":"300"},{name:"Greenland","alpha-2":"GL","country-code":"304"},{name:"Grenada","alpha-2":"GD","country-code":"308"},{name:"Guadeloupe","alpha-2":"GP","country-code":"312"},{name:"Guam","alpha-2":"GU","country-code":"316"},{name:"Guatemala","alpha-2":"GT","country-code":"320"},{name:"Guernsey","alpha-2":"GG","country-code":"831"},{name:"Guinea","alpha-2":"GN","country-code":"324"},{name:"Guinea-Bissau","alpha-2":"GW","country-code":"624"},{name:"Guyana","alpha-2":"GY","country-code":"328"},{name:"Haiti","alpha-2":"HT","country-code":"332"},{name:"Heard Island and McDonald Islands","alpha-2":"HM","country-code":"334"},{name:"Holy See","alpha-2":"VA","country-code":"336"},{name:"Honduras","alpha-2":"HN","country-code":"340"},{name:"Hong Kong","alpha-2":"HK","country-code":"344"},{name:"Hungary","alpha-2":"HU","country-code":"348"},{name:"Iceland","alpha-2":"IS","country-code":"352"},{name:"India","alpha-2":"IN","country-code":"356"},{name:"Indonesia","alpha-2":"ID","country-code":"360"}
1,{name:"Iran, Islamic Republic of","alpha-2":"IR","country-code":"364"},{name:"Iraq","alpha-2":"IQ","country-code":"368"},{name:"Ireland","alpha-2":"IE","country-code":"372"},{name:"Isle of Man","alpha-2":"IM","country-code":"833"},{name:"Israel","alpha-2":"IL","country-code":"376"},{name:"Italy","alpha-2":"IT","country-code":"380"},{name:"Jamaica","alpha-2":"JM","country-code":"388"},{name:"Japan","alpha-2":"JP","country-code":"392"},{name:"Jersey","alpha-2":"JE","country-code":"832"},{name:"Jordan","alpha-2":"JO","country-code":"400"},{name:"Kazakhstan","alpha-2":"KZ","country-code":"398"},{name:"Kenya","alpha-2":"KE","country-code":"404"},{name:"Kiribati","alpha-2":"KI","country-code":"296"},{name:"Korea, Democratic People's Republic of","alpha-2":"KP","country-code":"408"},{name:"Korea, Republic of","alpha-2":"KR","country-code":"410"},{name:"Kuwait","alpha-2":"KW","country-code":"414"},{name:"Kyrgyzstan","alpha-2":"KG","country-code":"417"},{name:"Lao People's Democratic Republic","alpha-2":"LA","country-code":"418"},{name:"Latvia","alpha-2":"LV","country-code":"428"},{name:"Lebanon","alpha-2":"LB","country-code":"422"},{name:"Lesotho","alpha-2":"LS","country-code":"426"},{name:"Liberia","alpha-2":"LR","country-code":"430"},{name:"Libya","alpha-2":"LY","country-code":"434"},{name:"Liechtenstein","alpha-2":"LI","country-code":"438"},{name:"Lithuania","alpha-2":"LT","country-code":"440"},{name:"Luxembourg","alpha-2":"LU","country-code":"442"},{name:"Macao","alpha-2":"MO","country-code":"446"},{name:"Madagascar","alpha-2":"MG","country-code":"450"},{name:"Malawi","alpha-2":"MW","country-code":"454"},{name:"Malaysia","alpha-2":"MY","country-code":"458"},{name:"Maldives","alpha-2":"MV","country-code":"462"},{name:"Mali","alpha-2":"ML","country-code":"466"},{name:"Malta","alpha-2":"MT","country-code":"470"},{name:"Marshall Islands","alpha-2":"MH","country-code":"584"},{name:"Martinique","alpha-2":"MQ","country-code":"474"},{name:"Mauritania","alpha-2":"MR","country-code":"478"},{name:"Mauritius","alpha-2":"MU","country-code":"480"},{name:"Mayotte","alpha-2":"YT","country-code":"175"},{name:"Mexico","alpha-2":"MX","country-code":"484"},{name:"Micronesia, Federated States of","alpha-2":"FM","country-code":"583"},{name:"Moldova, Republic of","alpha-2":"MD","country-code":"498"},{name:"Monaco","alpha-2":"MC","country-code":"492"},{name:"Mongolia","alpha-2":"MN","country-code":"496"},{name:"Montenegro","alpha-2":"ME","country-code":"499"},{name:"Montserrat","alpha-2":"MS","country-code":"500"},{name:"Morocco","alpha-2":"MA","country-code":"504"},{name:"Mozambique","alpha-2":"MZ","country-code":"508"},{name:"Myanmar","alpha-2":"MM","country-code":"104"},{name:"Namibia","alpha-2":"NA","country-code":"516"},{name:"Nauru","alpha-2":"NR","country-code":"520"},{name:"Nepal","alpha-2":"NP","country-code":"524"},{name:"Netherlands, Kingdom of the","alpha-2":"NL","country-code":"528"},{name:"New Caledonia","alpha-2":"NC","country-code":"540"},{name:"New Zealand","alpha-2":"NZ","country-code":"554"},{name:"Nicaragua","alpha-2":"NI","country-code":"558"},{name:"Niger","alpha-2":"NE","country-code":"562"},{name:"Nigeria","alpha-2":"NG","country-code":"566"},{name:"Niue","alpha-2":"NU","country-code":"570"},{name:"Norfolk Island","alpha-2":"NF","country-code":"574"},{name:"North Macedonia","alpha-2":"MK","country-code":"807"},{name:"Northern Mariana Islands","alpha-2":"MP","country-code":"580"},{name:"Norway","alpha-2":"NO","country-code":"578"},{name:"Oman","alpha-2":"OM","country-code":"512"},{name:"Pakistan","alpha-2":"PK","country-code":"586"},{name:"Palau","alpha-2":"PW","country-code":"585"},{name:"Palestine, State of","alpha-2":"PS","country-code":"275"},{name:"Panama","alpha-2":"PA","country-code":"591"},{name:"Papua New Guinea","alpha-2":"PG","country-code":"598"},{name:"Paraguay","alpha-2":"PY","country-code":"600"},{name:"Peru","alpha-2":"PE","country-code":"604"},{name:"Philippines","alpha-2":"PH","country-code":"608"},{name:"Pitcairn","alpha-2":"PN","country-code":"612"},{name:"Poland","alpha-2":"PL","country-code":"616"},{name:"Portugal","alpha-2":"PT","country-code":"620"},{name:"Puerto Rico","alpha-2":"PR","country-code":"630"},{name:"Qatar","alpha-2":"QA","country-code":"634"},{name:"R\xe9union","alpha-2":"RE","country-code":"638"},{name:"Romania","alpha-2":"RO","country-code":"642"},{name:"Russian Federation","alpha-2":"RU","country-code":"643"},{name:"Rwanda","alpha-2":"RW","country-code":"646"},{name:"Saint Barth\xe9lemy","alpha-2":"BL","country-code":"652"},{name:"Saint Helena, Ascension and Tristan da Cunha","alpha-2":"SH","country-code":"654"},{name:"Saint Kitts and Nevis","alpha-2":"KN","country-code":"659"},{name:"Saint Lucia","alpha-2":"LC","country-code":"662"},{name:"Saint Martin (French part)","alpha-2":"MF","country-code":"663"},{name:"Saint Pierre and Miquelon","alpha-2":"PM","country-code":"666"},{name:"Saint Vincent and the Grenadines","alpha-2":"VC","country-code":"670"},{name:"Samoa","alpha-2":"WS","country-code":"882"},{name:"San Marino","alpha-2":"SM","country-code":"674"},{name:"Sao Tome and Principe","alpha-2":"ST","country-code":"678"},{name:"Saudi Arabia","alpha-2":"SA","country-code":"682"},{name:"Senegal","alpha-2":"SN","country-code":"686"},{name:"Serbia","alpha-2":"RS","country-code":"688"},{name:"Seychelles","alpha-2":"SC","country-code":"690"},{name:"Sierra Leone","alpha-2":"SL","country-code":"694"},{name:"Singapore","alpha-2":"SG","country-code":"702"},{name:"Sint Maarten (Dutch part)","alpha-2":"SX","country-code":"534"},{name:"Slovakia","alpha-2":"SK","country-code":"703"},{name:"Slovenia","alpha-2":"SI","country-code":"705"},{name:"Solomon Islands","alpha-2":"SB","country-code":"090"},{name:"Somalia","alpha-2":"SO","country-code":"706"},{name:"South Africa","alpha-2":"ZA","country-code":"710"},{name:"South Georgia and the South Sandwich Islands","alpha-2":"GS","country-code":"239"},{name:"South Sudan","alpha-2":"SS","country-code":"728"},{name:"Spain","alpha-2":"ES","country-code":"724"},{name:"Sri Lanka","alpha-2":"LK","country-code":"144"},{name:"Sudan","alpha-2":"SD","country-code":"729"},{name:"Suriname","alpha-2":"SR","country-code":"740"},{name:"Svalbard and Jan Mayen","alpha-2":"SJ","country-code":"744"},{name:"Sweden","alpha-2":"SE","country-code":"752"},{name:"Switzerland","alpha-2":"CH","country-code":"756"},{name:"Syrian Arab Republic","alpha-2":"SY","country-code":"760"},{name:"Taiwan, Province of China","alpha-2":"TW","country-code":"158"},{name:"Tajikistan","alpha-2":"TJ","country-code":"762"},{name:"Tanzania, United Republic of","alpha-2":"TZ","country-code":"834"},{name:"Thailand","alpha-2":"TH","country-code":"764"},{name:"Timor-Leste","alpha-2":"TL","country-code":"626"},{name:"Togo","alpha-2":"TG","country-code":"768"},{name:"Tokelau","alpha-2":"TK","country-code":"772"},{name:"Tonga","alpha-2":"TO","country-code":"776"},{name:"Trinidad and Tobago","alpha-2":"TT","country-code":"780"},{name:"Tunisia","alpha-2":"TN","country-code":"788"},{name:"T\xfcrkiye","alpha-2":"TR","country-code":"792"},{name:"Turkmenistan","alpha-2":"TM","country-code":"795"},{name:"Turks and Caicos Islands","alpha-2":"TC","country-code":"796"},{name:"Tuvalu","alpha-2":"TV","country-code":"798"},{name:"Uganda","alpha-2":"UG","country-code":"800"},{name:"Ukraine","alpha-2":"UA","country-code":"804"},{name:"United Arab Emirates","alpha-2":"AE","country-code":"784"},{name:"United Kingdom of Great Britain and Northern Ireland","alpha-2":"GB","country-code":"826"},{name:"United States of America","alpha-2":"US","country-code":"840"},{name:"United States Minor Outlying Islands","alpha-2":"UM","country-code":"581"},{name:"Uruguay","alpha-2":"UY","country-code":"858"},{name:"Uzbekistan","alpha-2":"UZ","country-code":"860"},{name:"Vanuatu","alpha-2":"VU","country-code":"548"},{name:"Venezuela, Bolivarian Republic of","alpha-2":"VE","country-code":"862"},{name:"Viet Nam","alpha-2":"VN","country-code":"704"},{name:"Virgin Islands (British)","alpha-2":"VG","country-code":"092"},{name:"Virgin Islands (U.S.)","alpha-2":"VI","country-code":"850"},{name:"Wallis and Futuna","alpha-2":"WF","country-code":"876"},{name:"Western Sahara","alpha-2":"EH","country-code":"732"},{name:"Yemen","alpha-2":"YE","country-code":"887"},{name:"Zambia","alpha-2":"ZM","country-code":"894"},{name:"Zimbabwe","alpha-2":"ZW","country-code":"716"}];en.map(e=>e["alpha-2"]);let er=en.map(e=>({name:e.name,alpha2:e["alpha-2"]}));var ei=n(98457),ea=n(12383),eo=n(40483),es=n(63173),el=n(831),eu=n.n(el),ec=n(23319),ed=n(15733),eh=n(62719),ef=n(33027),ep=n(48629),em=n(2363),eg=n(26426),ev=n(33481),ey=n(92434),eb=n(70238),ew=n(88846),ex=n(65436);
1let eC={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},eE=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,eS=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,eA=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ek(e){return e?parseInt(e):1}function eN(e){return e&&parseFloat(e.replace(",","."))||0}let eP=[31,null,31,30,31,30,31,31,30,31,30,31];function eI(e){return e%400==0||e%4==0&&e%100!=0}var eT=n(99034),eO=n(73936);function eL(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var eM=n(36019),eD=n(86959),ej=n(6730),e_=n(92803),eR=n(30943);function eF(e,t,n){let r=(0,ex.a)(e,null==n?void 0:n.in);return isNaN(+r)?(0,ew.w)((null==n?void 0:n.in)||e,NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,eR.Z)(r,t.month)),null!=t.date&&r.setDate(t.date),null!=t.hours&&r.setHours(t.hours),null!=t.minutes&&r.setMinutes(t.minutes),null!=t.seconds&&r.setSeconds(t.seconds),null!=t.milliseconds&&r.setMilliseconds(t.milliseconds),r)}n(89546),new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));var ez=n(81239);function eB(e){return null==e}function eV(e){return null!==e}function eU(e){if(!(e in B.Vz5))return e;let t=B.Vz5[e];return"rgb(".concat(t[0],",").concat(t[1],",").concat(t[2],")")}n(43877),n(59690),n(93604),n(99452);let eq="yyyy-MM-dd";"".concat(eq," ").concat("HH:mm");let eH=["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"],eZ=["dim","lun","mar","mer","jeu","ven","sam"],eW=e=>{if(e<0||e>11)throw Error("Month must be between 0 and 11");return eH[e]},eG=e=>{if(e<0||e>6)throw Error("Day must be between 0 and 6");return eZ[e]};function e$(e){return{start:(0,ed.qg)("".concat(e.day," ").concat(e.startHour),"yyyy-MM-dd HH:mm",new Date),end:(0,ed.qg)("".concat(e.day," ").concat(e.endHour),"yyyy-MM-dd HH:mm",new Date)}}function eK(e,t){return t.some(t=>(0,eh.v)(e,{start:e8(t.from),end:(0,ef.D)(e8(t.to))}))}let eY={DAY:"d",MONTH:"MMM",YEAR:"yyyy",SEPARATOR:"-"},eX={locale:ez.fr},eQ=(e,t,n)=>{let{dayFormat:r=eY.DAY,monthFormat:i=eY.MONTH,yearFormat:a=eY.YEAR,separator:o=eY.SEPARATOR,formatOptions:s=eX}=null!=n?n:{},l="".concat(r," ").concat(i," ").concat(a);if((0,eo.r)(e,t))return(0,ep.GP)(e,l,s);if((0,em.t)(e,t))return"".concat((0,ep.GP)(e,r,s)).concat(o).concat((0,ep.GP)(t,l,s));if((0,eg.s)(e,t)){let n="".concat(r," ").concat(i);return"".concat((0,ep.GP)(e,n,s)).concat(o).concat((0,ep.GP)(t,l,s))}return"".concat((0,ep.GP)(e,l,s)).concat(o).concat((0,ep.GP)(t,l,s))};function eJ(e){if(!e||0===e.schedules.length)return new Date;let t=0,n=e.exceptionalClosingDates.length;for(let r of e.schedules){let i=e8(r.fromDate),a=e8(r.toDate);for(;!(0,ev.d)(i,a);){for(;t<n&&(0,ey.Y)(e8(e.exceptionalClosingDates[t].date),i);)t++;if(t>=n||!(0,eo.r)(e8(e.exceptionalClosingDates[t].date),i))return i;i=(0,ea.f)(i,1)}}return new Date}function e0(e){if(!e||0===e.schedules.length)return new Date;let t=e.exceptionalClosingDates.length-1;for(let n=e.schedules.length-1;n>=0;n--){let r=e.schedules[n],i=e8(r.toDate),a=e8(r.fromDate);for(;!(0,ey.Y)(i,a);){for(;t>=0&&(0,ev.d)(e8(e.exceptionalClosingDates[t].date),i);)t--;if(t<0||!(0,eo.r)(e8(e.exceptionalClosingDates[t].date),i))return i;i=(0,ea.f)(i,-1)}}return new Date}function e1(e,t,n){return e&&0!==e.length?eQ(eJ({schedules:e,exceptionalClosingDates:t,isContinuous:!1}),e0({schedules:e,exceptionalClosingDates:t,isContinuous:!1}),n):""}function e2(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=t.map(e=>new Date(e));return Object.entries(U()(r,e=>(0,ep.GP)(e,"MMMM\xa0yyyy",{locale:ez.fr}))).map(e=>{let[t,n]=e,r=n.map(e=>(0,ep.GP)(e,"d",{locale:ez.fr}));return"".concat(r.join("‑"),"\xa0").concat(t)}).join(", ")}function e5(e,t){let n=new Date(e);return n.setHours(t.hour,t.minute,t.second,t.millisecond),n}function e4(e){if(!e)return"";let t=new Date,n=function(e,t){var n;let r,i,a=()=>(0,ew.w)(void 0,NaN),o=(n=void 0,2),s=function(e){let t,n={},r=e.split(eC.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],eC.timeZoneDelimiter.test(n.date)&&(n.date=e.split(eC.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=eC.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(s.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?i:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(s.date,o);r=function(e,t){var n,r,i,a,o,s,l;if(null===t)return new Date(NaN);let u=e.match(eE);if(!u)return new Date(NaN);let c=!!u[4],d=ek(u[1]),h=ek(u[2])-1,f=ek(u[3]),p=ek(u[4]),m=ek(u[5])-1;if(c){return(n=p,r=m,n>=1&&n<=53&&r>=0&&r<=6)?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-i)),r}(t,p,m):new Date(NaN)}{let e=new Date(0);return(i=t,a=h,o=f,a>=0&&a<=11&&o>=1&&o<=(eP[a]||(eI(i)?29:28))&&(s=t,(l=d)>=1&&l<=(eI(s)?366:365)))?(e.setUTCFullYear(t,h,Math.max(d,f)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(+r))return a();let l=+r,u=0;
1if(s.time&&isNaN(u=function(e){var t,n,r;let i=e.match(eS);if(!i)return NaN;let a=eN(i[1]),o=eN(i[2]),s=eN(i[3]);return(t=a,n=o,r=s,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?a*eb.s0+o*eb.Cg+1e3*s:NaN}(s.time)))return a();if(s.timezone){if(isNaN(i=function(e){var t;if("Z"===e)return 0;let n=e.match(eA);if(!n)return 0;let r="+"===n[1]?-1:1,i=parseInt(n[2]),a=n[3]&&parseInt(n[3])||0;return(t=a)>=0&&t<=59?r*(i*eb.s0+a*eb.Cg):NaN}(s.timezone)))return a()}else{let e=new Date(l+u),n=(0,ex.a)(0,null==t?void 0:t.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,ex.a)(l+u+i,null==t?void 0:t.in)}(e),r=function(e,t,n){let[r,i]=(0,eT.x)(void 0,e,t),a=eL(r,i),o=Math.abs((0,eO.m)(r,i));r.setDate(r.getDate()-a*o);let s=Number(eL(r,i)===-a),l=a*(o-s);return 0===l?0:l}(t,n);if(r>0)return"".concat(r,"j");let i=function(e,t,n){let[r,i]=(0,eT.x)(void 0,e,t),a=(r-i)/eb.s0;return(0,eM.u)(void 0)(a)}(t,n);if(i>0)return"".concat(i,"h");let a=function(e,t,n){let r=(0,eD.b)(e,t)/eb.Cg;return(0,eM.u)(void 0)(r)}(t,n);return"".concat(a,"m")}let e3=e=>(0,ep.GP)(e,"HH:mm",{locale:ez.fr}),e6=e=>(0,ep.GP)(e,eq,{locale:ez.fr}),e8=e=>(0,ed.qg)(e,eq,new Date,{locale:ez.fr}),e9=e=>{let[t,n]=e instanceof Date?[e.getHours(),e.getMinutes()]:"string"==typeof e?e.split(":").map(Number):[e.hour,e.minute],r=String(t).padStart(2,"0"),i=String(n).padStart(2,"0");return"".concat(r,":").concat(i)};function e7(e,t){let n=Math.ceil(e.getMinutes()/t)*t;return function(e,t,n){let r=(0,ex.a)(e,void 0);return r.setMinutes(t),r}(function(e,t,n){let r=(0,ex.a)(e,void 0);return r.setHours(t),r}(e,e.getHours()),n)}function te(){return e9(e7(new Date,5))}function tt(){let e=new Date;return e.setHours(e.getHours()+1),e9(e7(e,5))}function tn(e){let t=(0,ej.k)(e,{weekStartsOn:1}),n=(0,e_.$)(e,{weekStartsOn:1});return{startOfWeek:eF(t,{hours:0,minutes:0,seconds:0,milliseconds:0}),endOfWeek:eF(n,{hours:0,minutes:0,seconds:0,milliseconds:0})}}let tr=e=>{let[t,n]=e.split(":");return"".concat(t.padStart(2,"0"),":").concat(n.padStart(2,"0"))},ti=e=>{var t,n;if(e.state===ec.EventTimetableState.closed)return"Ferm\xe9";let r=null!=(t=e.openingTime)?t:"00:00",i=null!=(n=e.closingTime)?n:"00:00";return e.state===ec.EventTimetableState.opened&&e.breakStartTime&&e.breakEndTime?"".concat(tr(r)," - ").concat(tr(e.breakStartTime)," et ").concat(tr(e.breakEndTime)," - ").concat(tr(i)):"".concat(tr(r)," - ").concat(tr(i))},ta=e=>{let t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);return"".concat(t,":").concat(n.toString().padStart(2,"0"))},to=e=>((e,t,n)=>{if(0===e.length)return[];let r=[...e].sort((e,n)=>(0,ei.z)(t(e.from),t(n.from))).reduce((e,r)=>{if(0===e.length)return[r];let i=e[e.length-1],a=t(i.to),o=t(r.from),s=(0,ea.f)(a,1);if(o<s||(0,eo.r)(o,s)){let a=(0,es.T)([t(i.to),t(r.to)]),o=n(t(i.from),a);return e[e.length-1]=o,e}return[...e,r]},[]);return eu()(r,e=>"".concat(e.from,"-").concat(e.to))})(e,e=>e,(e,t)=>({from:e,to:t})),ts=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{fractionDigits:i,nonBreakingSpace:a,asCents:o=!1}=r,s="string"==typeof e?parseFloat(e):e;(Number.isNaN(s)||null==s)&&(s=0),o&&(s=tl(s));let l=s.toLocaleString("fr-FR",{style:"currency",currency:"EUR",minimumFractionDigits:null!=i?i:t});return(null!=a?a:n)?l:l.replace(/\u202f/g," ").replace(/\xa0/g," ")},tl=e=>e/100,tu=e=>Math.round(100*e),tc=(e,t)=>{let n=1+t/1e4;if(n<=0)throw Error("Invalid VAT rate: ".concat(t,". VAT rate must be greater than -10000."));return 0!==t?e/n:e},td=(e,t)=>t.type===ec.DiscountType.euro?Math.min(e,t.value):t.type===ec.DiscountType.percentage?Math.round(e*(t.value/100/100)):0,th=(e,t)=>e-td(e,t);var tf=n(66310);let tp={"Invalid email or password":B._5p.INVALID_CREDENTIALS,"Invalid password":B._5p.INVALID_CREDENTIALS,"User not found":B._5p.INVALID_CREDENTIALS,"Email not verified":B._5p.EMAIL_NOT_VERIFIED,"Account is locked":B._5p.ACCOUNT_DISABLED,"Email already exists":B._5p.EMAIL_ALREADY_USED},tm={"Too many requests":"Trop de tentatives, veuillez r\xe9essayer plus tard","Password is too short":"Le mot de passe est trop court","Password is too long":"Le mot de passe est trop long","Invalid token":"Lien invalide ou expir\xe9","Token expired":"Lien expir\xe9, veuillez en demander un nouveau","Session expired":"Session expir\xe9e, veuillez vous reconnecter"},tg=e=>{var t;let n=null!=(t=tp[e])?t:null;if(n)return{message:B.jiL[n],code:n};let r=tm[e];return r?{message:r,code:null}:{message:e,code:null}},tv=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Une erreur est survenue";if((0,tf.F0)(e)){var n,r;let t=null==(r=e.response)||null==(n=r.data)?void 0:n.message;if("string"==typeof t)return t;if(Array.isArray(t)&&t.length>0)return t[0]}if(e instanceof Error)return e.message;if("object"==typeof e&&null!==e&&"message"in e){let t=e.message;if("string"==typeof t)return t;if(Array.isArray(t)&&t.length>0)return t[0]}return t},ty=e=>!(!e||e.schedules&&e.schedules.some(e=>(0,eo.r)(e.toDate,new Date)||(0,ev.d)(e.toDate,new Date)))&&!(e.exceptionalClosingDates&&e.exceptionalClosingDates.some(e=>(0,eo.r)(e.date,new Date)||(0,ev.d)(e.date,new Date))),tb=e=>!!(e=>null!==e.ticketing&&void 0!==e.ticketing&&null!==e.ticketing.availabilityStartingDate&&null!==e.ticketing.availabilityEndingDate)(e)&&(e=>{var t;let n=new Date,{availabilityStartingDate:r,availabilityEndingDate:i}=null!=(t=e.ticketing)?t:{};return null!=r&&null!=i&&(0,eh.v)(n,{start:r,end:i})})(e),tw=e=>{let t=new Date;return!(e.saleStartDate&&(0,ey.Y)(t,new Date(e.saleStartDate))||e.saleEndDate&&(0,ev.d)(t,new Date(e.saleEndDate)))},tx=e=>{let t=e.schedules.length>0?e.schedules[0].fromDate:void 0,n=e.exceptionalClosingDates.length>0?e.exceptionalClosingDates[0].date:void 0;return t&&n?(0,ev.d)(n,t)?t:n:null!=t?t:n},tC=e=>{let t=e.schedules.length>0?e.schedules[e.schedules.length-1].toDate:void 0,n=e.exceptionalClosingDates.length>0?e.exceptionalClosingDates[e.exceptionalClosingDates.length-1].date:void 0;return t&&n?(0,ev.d)(n,t)?n:t:null!=t?t:n};Object.values(ec.BackofficePrestationType).map(e=>({value:e,label:(e=>{var t;let n=B.eJ_[e.buyableType];return null!=(t=null==n?void 0:n.displayName)?t:e.buyableType})({buyableType:e})}));let tE=e=>e&&(0,B.HUt)(e)?(e=>{let t=e.match(/exhibitorProfilesPack(\d+)/);if(!t)throw Error("Unable to extract pack number from: ".concat(e));let n=parseInt(t[1],10);if(!(0,B.pUx)(n))throw Error("Invalid pack number: ".concat(t[1]));return n})(e):null,tS=20,tA=e=>{"string"!=typeof e||(0,B.HUt)(e)||(e=null);let t="string"==typeof e?tE(e):e,n={hasDetailedExhibitorProfile:!1,maxProductCount:6,maxProductImages:1,hasProductLink:!1,hasProductDescription:!1,hasCommercialApp:!1,hasCustomAppearance:!1,maxDocuments:0,hasProVisitors:!1,hasVisitorNotifications:!1,hasEmailNotification:!1};return t&&(t>=1&&(n.hasDetailedExhibitorProfile=!0),t>=2&&(n.maxProductCount=Number.MAX_VALUE,n.maxProductImages=tS,n.hasProductLink=!0,n.hasProductDescription=!0,n.hasCustomAppearance=!0,n.maxDocuments=3,n.hasProVisitors=!0,n.hasEmailNotification=!0),t>=3&&(n.hasCommercialApp=!0,n.maxDocuments=Number.MAX_VALUE,n.hasVisitorNotifications=!0)),n},tk=(e,t)=>e>=1280&&t>=486,tN=12,tP=[{desc:"Une ou plusieurs lettres minuscules",errorType:"lowercase"},{desc:"Une ou plusieurs lettres majuscules",errorType:"uppercase"},{desc:"Un ou plusieurs chiffres",errorType:"number"},{desc:"Un ou plusieurs caract\xe8res sp\xe9ciaux",errorType:"special"},{desc:"".concat(tN," caract\xe8res minimum"),errorType:"length"}],tI=e=>{let t=[];return e.length<tN&&t.push("length"),/[a-z]/.test(e)||t.push("lowercase"),/[A-Z]/.test(e)||t.push("uppercase"),/[0-9]/.test(e)||t.push("number"),/[ !"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(e)||t.push("special"),t.join(", ")};n(48983);var tT=n(63984),tO=Uint8Array,tL=Uint16Array,tM=Int32Array,tD=new tO([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),tj=new tO([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),t_=new tO([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),tR=function(e,t){for(var n=new tL(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new tM(n[30]),r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return{b:n,r:i}},tF=tR(tD,2),tz=tF.b,tB=tF.r;tz[28]=258,tB[258]=28;for(var tV=tR(tj,0),tU=(tV.b,tV.r),tq=new tL(32768),tH=0;tH<32768;++tH){var tZ=(43690&tH)>>1|(21845&tH)<<1;tZ=(61680&(tZ=(52428&tZ)>>2|(13107&tZ)<<2))>>4|(3855&tZ)<<4,tq[tH]=((65280&tZ)>>8|(255&tZ)<<8)>>1}for(var tW=function(e,t,n){for(var r,i=e.length,a=0,o=new tL(t);a<i;++a)e[a]&&++o[e[a]-1];var s=new tL(t);for(a=1;a<t;++a)s[a]=s[a-1]+o[a-1]<<1;if(n){r=new tL(1<<t);var l=15-t;for(a=0;a<i;++a)if(e[a])for(var u=a<<4|e[a],c=t-e[a],d=s[e[a]-1]++<<c,h=d|(1<<c)-1;d<=h;++d)r[tq[d]>>l]=u}else for(a=0,r=new tL(i);a<i;++a)e[a]&&(r[a]=tq[s[e[a]-1]++]>>15-e[a]);return r},tG=new tO(288),tH=0;tH<144;++tH)tG[tH]=8;for(var tH=144;tH<256;++tH)tG[tH]=9;for(var tH=256;tH<280;++tH)tG[tH]=7;for(var tH=280;tH<288;++tH)tG[tH]=8;for(var t$=new tO(32),tH=0;tH<32;++tH)t$[tH]=5;var tK=tW(tG,9,0),tY=tW(t$,5,0),tX=function(e){return(e+7)/8|0},tQ=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},tJ=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},t0=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,a=n.slice();if(!i)return{t:t8,l:0};if(1==i){var o=new tO(n[0].s+1);return o[n[0].s]=1,{t:o,l:1}}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],l=n[1],u=0,c=1,d=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};c!=i-1;)s=n[n[u].f<n[d].f?u++:d++],l=n[u!=c&&n[u].f<n[d].f?u++:d++],n[c++]={s:-1,f:s.f+l.f,l:s,r:l};for(var h=a[0].s,r=1;r<i;++r)a[r].s>h&&(h=a[r].s);var f=new tL(h+1),p=t1(n[c-1],f,0);if(p>t){var r=0,m=0,g=p-t,v=1<<g;for(a.sort(function(e,t){return f[t.s]-f[e.s]||e.f-t.f});r<i;++r){var y=a[r].s;if(f[y]>t)m+=v-(1<<p-f[y]),f[y]=t;else break}for(m>>=g;m>0;){var b=a[r].s;f[b]<t?m-=1<<t-f[b]++-1:++r}for(;r>=0&&m;--r){var w=a[r].s;f[w]==t&&(--f[w],++m)}p=t}return{t:new tO(f),l:p}},t1=function(e,t,n){return -1==e.s?Math.max(t1(e.l,t,n+1),t1(e.r,t,n+1)):t[e.s]=n},t2=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new tL(++t),r=0,i=e[0],a=1,o=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>
12&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return{c:n.subarray(0,r),n:t}},t5=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},t4=function(e,t,n){var r=n.length,i=tX(t+2);e[i]=255&r,e[i+1]=r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<r;++a)e[i+a+4]=n[a];return(i+4+r)*8},t3=function(e,t,n,r,i,a,o,s,l,u,c){tQ(t,c++,n),++i[256];for(var d,h,f,p,m=t0(i,15),g=m.t,v=m.l,y=t0(a,15),b=y.t,w=y.l,x=t2(g),C=x.c,E=x.n,S=t2(b),A=S.c,k=S.n,N=new tL(19),P=0;P<C.length;++P)++N[31&C[P]];for(var P=0;P<A.length;++P)++N[31&A[P]];for(var I=t0(N,7),T=I.t,O=I.l,L=19;L>4&&!T[t_[L-1]];--L);var M=u+5<<3,D=t5(i,tG)+t5(a,t$)+o,j=t5(i,g)+t5(a,b)+o+14+3*L+t5(N,T)+2*N[16]+3*N[17]+7*N[18];if(l>=0&&M<=D&&M<=j)return t4(t,c,e.subarray(l,l+u));if(tQ(t,c,1+(j<D)),c+=2,j<D){d=tW(g,v,0),h=g,f=tW(b,w,0),p=b;var _=tW(T,O,0);tQ(t,c,E-257),tQ(t,c+5,k-1),tQ(t,c+10,L-4),c+=14;for(var P=0;P<L;++P)tQ(t,c+3*P,T[t_[P]]);c+=3*L;for(var R=[C,A],F=0;F<2;++F)for(var z=R[F],P=0;P<z.length;++P){var B=31&z[P];tQ(t,c,_[B]),c+=T[B],B>15&&(tQ(t,c,z[P]>>5&127),c+=z[P]>>12)}}else d=tK,h=tG,f=tY,p=t$;for(var P=0;P<s;++P){var V=r[P];if(V>255){var B=V>>18&31;tJ(t,c,d[B+257]),c+=h[B+257],B>7&&(tQ(t,c,V>>23&31),c+=tD[B]);var U=31&V;tJ(t,c,f[U]),c+=p[U],U>3&&(tJ(t,c,V>>5&8191),c+=tj[U])}else tJ(t,c,d[V]),c+=h[V]}return tJ(t,c,d[256]),c+h[256]},t6=new tM([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),t8=new tO(0),t9=function(e,t,n,r,i,a){var o,s,l=a.z||e.length,u=new tO(r+l+5*(1+Math.ceil(l/7e3))+i),c=u.subarray(r,u.length-i),d=a.l,h=7&(a.r||0);if(t){h&&(c[0]=a.r>>3);for(var f=t6[t-1],p=f>>13,m=8191&f,g=(1<<n)-1,v=a.p||new tL(32768),y=a.h||new tL(g+1),b=Math.ceil(n/3),w=2*b,x=function(t){return(e[t]^e[t+1]<<b^e[t+2]<<w)&g},C=new tM(25e3),E=new tL(288),S=new tL(32),A=0,k=0,N=a.i||0,P=0,I=a.w||0,T=0;N+2<l;++N){var O=x(N),L=32767&N,M=y[O];if(v[L]=M,y[O]=L,I<=N){var D=l-N;if((A>7e3||P>24576)&&(D>423||!d)){h=t3(e,c,0,C,E,S,k,P,T,N-T,h),P=A=k=0,T=N;for(var j=0;j<286;++j)E[j]=0;for(var j=0;j<30;++j)S[j]=0}var _=2,R=0,F=m,z=L-M&32767;if(D>2&&O==x(N-z))for(var B=Math.min(p,D)-1,V=Math.min(32767,N),U=Math.min(258,D);z<=V&&--F&&L!=M;){if(e[N+_]==e[N+_-z]){for(var q=0;q<U&&e[N+q]==e[N+q-z];++q);if(q>_){if(_=q,R=z,q>B)break;for(var H=Math.min(z,q-2),Z=0,j=0;j<H;++j){var W=N-z+j&32767,G=v[W],$=W-G&32767;$>Z&&(Z=$,M=W)}}}M=v[L=M],z+=L-M&32767}if(R){C[P++]=0x10000000|tB[_]<<18|tU[R];var K=31&tB[_],Y=31&tU[R];k+=tD[K]+tj[Y],++E[257+K],++S[Y],I=N+_,++A}else C[P++]=e[N],++E[e[N]]}}for(N=Math.max(N,I);N<l;++N)C[P++]=e[N],++E[e[N]];h=t3(e,c,d,C,E,S,k,P,T,N-T,h),d||(a.r=7&h|c[h/8|0]<<3,h-=7,a.h=y,a.p=v,a.i=N,a.w=I)}else{for(var N=a.w||0;N<l+d;N+=65535){var X=N+65535;X>=l&&(c[h/8|0]=d,X=l),h=t4(c,h+1,e.subarray(N,X))}a.i=l}return o=0,s=r+tX(h)+i,(null==o||o<0)&&(o=0),(null==s||s>u.length)&&(s=u.length),new tO(u.subarray(o,s))},t7=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,a=0|n.length,o=0;o!=a;){for(var s=Math.min(o+2655,a);o<s;++o)i+=r+=n[o];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},ne=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),o=new tO(a.length+e.length);o.set(a),o.set(e,a.length),e=o,i.w=a.length}return t9(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)},nt=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},nn=function(e,t){var n=t.level;if(e[0]=120,e[1]=(0==n?0:n<6?1:9==n?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=t7();r.p(t.dictionary),nt(e,2,r.d())}};function nr(e,t){t||(t={});var n=t7();n.p(e);var r=ne(e,t,t.dictionary?6:2,4);return nn(r,t),nt(r,r.length-4,n.d()),r}var ni="undefined"!=typeof TextDecoder&&new TextDecoder;try{ni.decode(t8,{stream:!0})}catch(e){}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function no(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}
1finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return na(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?na(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ns(e,t="utf8"){return new TextDecoder(t).decode(e)}"function"==typeof queueMicrotask&&queueMicrotask;let nl=new TextEncoder,nu=(()=>{let e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),nc={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};
1class nd{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);let r=t.offset?t.offset>>>0:0,i=e.byteLength-r,a=r;(ArrayBuffer.isView(e)||e instanceof nd)&&(e.byteLength!==e.buffer.byteLength&&(a=e.byteOffset+r),e=e.buffer),n?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=e,this.length=i,this.byteLength=i,this.byteOffset=a,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,a,i),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let e=this._marks.pop();if(void 0===e)throw Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){let t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){let n=nc[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+n);if(this.littleEndian===nu&&"uint8"!==t&&"int8"!==t){let e=new Uint8Array(this.buffer.slice(r,r+n));e.reverse();let i=new nc[t](e.buffer);return this.offset+=n,i.reverse(),i}let a=new nc[t](i);return this.offset+=n,a}readInt16(){let e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){let e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){let e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){let e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){let e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){let e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){let e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){let e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;n<e;n++)t+=this.readChar();return t}readUtf8(e=1){return ns(this.readBytes(e))}decodeText(e=1,t="utf8"){return ns(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(255*!!e),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes(nl.encode(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function nh(e){let t=e.length;for(;--t>=0;)e[t]=0}let nf=573,np=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),nm=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ng=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),nv=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ny=Array(576);nh(ny);let nb=Array(60);nh(nb);let nw=Array(512);nh(nw);let nx=Array(256);nh(nx);let nC=Array(29);nh(nC);let nE=Array(30);function nS(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function nA(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}nh(nE);let nk=e=>e<256?nw[e]:nw[256+(e>>>7)],nN=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}
1,nP=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,nN(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},nI=(e,t,n)=>{nP(e,n[2*t],n[2*t+1])},nT=(e,t)=>{let n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1},nO=(e,t,n)=>{let r,i,a=Array(16),o=0;for(r=1;r<=15;r++)o=o+n[r-1]<<1,a[r]=o;for(i=0;i<=t;i++){let t=e[2*i+1];0!==t&&(e[2*i]=nT(a[t]++,t))}},nL=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},nM=e=>{e.bi_valid>8?nN(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},nD=(e,t,n,r)=>{let i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]},nj=(e,t,n)=>{let r=e.heap[n],i=n<<1;for(;i<=e.heap_len&&(i<e.heap_len&&nD(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!nD(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},n_=(e,t,n)=>{let r,i,a,o,s=0;if(0!==e.sym_next)do r=(255&e.pending_buf[e.sym_buf+s++])+((255&e.pen
1ding_buf[e.sym_buf+s++])<<8),i=e.pending_buf[e.sym_buf+s++],0===r?nI(e,i,t):(nI(e,(a=nx[i])+256+1,t),0!==(o=np[a])&&nP(e,i-=nC[a],o),nI(e,a=nk(--r),n),0!==(o=nm[a])&&nP(e,r-=nE[a],o));while(s<e.sym_next);nI(e,256,t)},nR=(e,t)=>{let n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(n=0,e.heap_len=0,e.heap_max=nf;n<l;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)nj(e,a,n);i=l;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],nj(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,nj(e,a,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{let n,r,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<nf;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,m++),l[2*r+1]=a,!(r>u)&&(e.bl_count[a]++,o=0,r>=f&&(o=h[r-f]),s=l[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*r+1]+o)));if(0!==m){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)!((i=e.heap[--n])>u)&&(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}})(e,t),nO(a,u,e.bl_count)},nF=(e,t,n)=>{let r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))},nz=(e,t,n)=>{let r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s<l)||i!==o){if(s<u)do nI(e,i,e.bl_tree);while(0!=--s);else 0!==i?(i!==a&&(nI(e,i,e.bl_tree),s--),nI(e,16,e.bl_tree),nP(e,s-3,2)):s<=10?(nI(e,17,e.bl_tree),nP(e,s-3,3)):(nI(e,18,e.bl_tree),nP(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}},nB=!1,nV=(e,t,n,r)=>{nP(e,0+ +!!r,3),nM(e),nN(e,n),nN(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};var nU={_tr_init:e=>{nB||((()=>{let e,t,n,o,s,l=Array(16);for(o=0,n=0;o<28;o++)for(e=0,nC[o]=n;e<1<<np[o];e++)nx[n++]=o;for(nx[n-1]=o,s=0,o=0;o<16;o++)for(e=0,nE[o]=s;e<1<<nm[o];e++)nw[s++]=o;for(s>>=7;o<30;o++)for(e=0,nE[o]=s<<7;e<1<<nm[o]-7;e++)nw[256+s++]=o;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)ny[2*e+1]=8,e++,l[8]++;for(;e<=255;)ny[2*e+1]=9,e++,l[9]++;for(;e<=279;)ny[2*e+1]=7,e++,l[7]++;for(;e<=287;)ny[2*e+1]=8,e++,l[8]++;for(nO(ny,287,l),e=0;e<30;e++)nb[2*e+1]=5,nb[2*e]=nT(e,5);r=new nS(ny,np,257,286,15),i=new nS(nb,nm,0,30,15),a=new nS([],ng,0,19,7)})(),nB=!0),e.l_desc=new nA(e.dyn_ltree,r),e.d_desc=new nA(e.dyn_dtree,i),e.bl_desc=new nA(e.bl_tree,a),e.bi_buf=0,e.bi_valid=0,nL(e)},_tr_stored_block:nV,_tr_flush_block:(e,t,n,r)=>{let i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,n=0xf3ffc07f;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),nR(e,e.l_desc),nR(e,e.d_desc),o=(e=>{let t;for(nF(e,e.dyn_ltree,e.l_desc.max_code),nF(e,e.dyn_dtree,e.d_desc.max_code),nR(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*nv[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?nV(e,t,n,r):4===e.strategy||a===i?(nP(e,2+ +!!r,3),n_(e,ny,nb)):(nP(e,4+ +!!r,3),((e,t,n,r)=>{let i;for(nP(e,t-257,5),nP(e,n-1,5),nP(e,r-4,4),i=0;i<r;i++)nP(e,e.bl_tree[2*nv[i]+1],3);nz(e,e.dyn_ltree,t-1),nz(e,e.dyn_dtree,n-1)})(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),n_(e,e.dyn_ltree,e.dyn_dtree)),nL(e),r&&nM(e)},_tr_tally:(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>
18,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[(nx[n]+256+1)*2]++,e.dyn_dtree[2*nk(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{nP(e,2,3),nI(e,256,ny),(e=>{16===e.bi_valid?(nN(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}},nq=(e,t,n,r)=>{let i=65535&e,a=e>>>16&65535,o=0;for(;0!==n;){o=n>2e3?2e3:n,n-=o;do a=a+(i=i+t[r++]|0)|0;while(--o);i%=65521,a%=65521}return i|a<<16};let nH=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t})());var nZ=(e,t,n,r)=>{let i=r+n;e^=-1;for(let n=r;n<i;n++)e=e>>>8^nH[(e^t[n])&255];return -1^e},nW={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},nG={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};let{_tr_init:n$,_tr_stored_block:nK,_tr_flush_block:nY,_tr_tally:nX,_tr_align:nQ}=nU,{Z_NO_FLUSH:nJ,Z_PARTIAL_FLUSH:n0,Z_FULL_FLUSH:n1,Z_FINISH:n2,Z_BLOCK:n5,Z_OK:n4,Z_STREAM_END:n3,Z_STREAM_ERROR:n6,Z_DATA_ERROR:n8,Z_BUF_ERROR:n9,Z_DEFAULT_COMPRESSION:n7,Z_FILTERED:re,Z_HUFFMAN_ONLY:rt,Z_RLE:rn,Z_FIXED:rr,Z_DEFAULT_STRATEGY:ri,Z_UNKNOWN:ra,Z_DEFLATED:ro}=nG,rs=573,rl=(e,t)=>(e.msg=nW[t],t),ru=e=>2*e-9*(e>4),rc=e=>{let t=e.length;for(;--t>=0;)e[t]=0},rd=e=>{let t,n,r,i=e.w_size;r=t=e.hash_size;do n=e.head[--r],e.head[r]=n>=i?n-i:0;while(--t);r=t=i;do n=e.prev[--r],e.prev[r]=n>=i?n-i:0;while(--t)},rh=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,rf=e=>{let t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},rp=(e,t)=>{nY(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,rf(e.strm)},rm=(e,t)=>{e.pending_buf[e.pending++]=t},rg=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},rv=(e,t,n,r)=>{let i=e.avail_in;return(i>r&&(i=r),0===i)?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=nq(e.adler,t,i,n):2===e.state.wrap&&(e.adler=nZ(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},ry=(e,t)=>{let n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+258,f=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+o]!==p||u[n+o-1]!==f||u[n]!==u[a]||u[++n]!==u[a+1])continue;a+=2,n++;do;while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<h);if(r=258-(h-a),a=h-258,r>o){if(e.match_start=t,o=r,r>=s)break;f=u[a+o-1],p=u[a+o]}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead},rb=e=>{let t,n,r,i=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-262)&&(e.window.set(e.window.subarray(i,i+i-n),0),e.match_start-=i,e.strstart-=i,e.block_start-=i,e.insert>e.strstart&&(e.insert=e.strstart),rd(e),n+=i),0===e.strm.avail_in)break;if(t=rv(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=rh(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=rh(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},rw=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,a,o=0,s=e.strm.avail_in;do{if(r=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,r>(i=e.strstart-e.block_start)+e.strm.avail_in&&(r=i+e.strm.avail_in),r>a&&(r=a),r<n&&(0===r&&t!==n2||t===nJ||r!==i+e.strm.avail_in)))break;o=+(t===n2&&r===i+e.strm.avail_in),nK(e,0,0,o),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>
18,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,rf(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(rv(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(0===o);return((s-=e.strm.avail_in)&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o)?4:t!==nJ&&t!==n2&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(rv(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,n=(a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a)>e.w_size?e.w_size:a,((i=e.strstart-e.block_start)>=n||(i||t===n2)&&t!==nJ&&0===e.strm.avail_in&&i<=a)&&(r=i>a?a:i,o=+(t===n2&&0===e.strm.avail_in&&r===i),nK(e,e.block_start,r,o),e.block_start+=r,rf(e.strm)),o?3:1)},rx=(e,t)=>{let n,r;for(;;){if(e.lookahead<262){if(rb(e),e.lookahead<262&&t===nJ)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=rh(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=ry(e,n)),e.match_length>=3)if(r=nX(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=rh(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=rh(e,e.ins_h,e.window[e.strstart+1]);else r=nX(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(rp(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,t===n2)?(rp(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(rp(e,!1),0===e.strm.avail_out)?1:2},rC=(e,t)=>{let n,r,i;for(;;){if(e.lookahead<262){if(rb(e),e.lookahead<262&&t===nJ)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=rh(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=ry(e,n),e.match_length<=5&&(e.strategy===re||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=nX(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=rh(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(rp(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=nX(e,0,e.window[e.strstart-1]))&&rp(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(r=nX(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===n2)?(rp(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(rp(e,!1),0===e.strm.avail_out)?1:2};function rE(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}let rS=[new rE(0,0,0,0,rw),new rE(4,4,8,4,rx),new rE(4,5,16,8,rx),new rE(4,6,32,32,rx),new rE(4,4,16,16,rC),new rE(8,16,32,32,rC),new rE(8,16,128,128,rC),new rE(8,32,128,256,rC),new rE(32,128,258,1024,rC),new rE(32,258,258,4096,rC)];function rA(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ro,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*rs),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),rc(this.dyn_ltree),rc(this.dyn_dtree),rc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),rc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),rc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}let rk=e=>{if(!e)return 1;let t=e.state;return t&&t.strm===e&&(42===t.status||57===t.status||69===t.status||73===t.status||91===t.status||103===t.status||113===t.status||666===t.status)?0:1};var rN={deflateInit2:(e,t,n,r,i,a)=>
1{if(!e)return n6;let o=1;if(t===n7&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>9||n!==ro||r<8||r>15||t<0||t>9||a<0||a>rr||8===r&&1!==o)return rl(e,n6);8===r&&(r=9);let s=new rA;return e.state=s,s.strm=e,s.status=42,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=t,s.strategy=a,s.method=n,(e=>{let t=(e=>{if(rk(e))return rl(e,n6);e.total_in=e.total_out=0,e.data_type=ra;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=-2,n$(t),n4})(e);return t===n4&&(e=>{e.window_size=2*e.w_size,rc(e.head),e.max_lazy_match=rS[e.level].max_lazy,e.good_match=rS[e.level].good_length,e.nice_match=rS[e.level].nice_length,e.max_chain_length=rS[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0})(e.state),t})(e)},deflateSetHeader:(e,t)=>rk(e)||2!==e.state.wrap?n6:(e.state.gzhead=t,n4),deflate:(e,t)=>{if(rk(e)||t>n5||t<0)return e?rl(e,n6):n6;let n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==n2)return rl(e,0===e.avail_out?n9:n6);let r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(rf(e),0===e.avail_out)return n.last_flush=-1,n4}else if(0===e.avail_in&&ru(t)<=ru(r)&&t!==n2)return rl(e,n9);if(666===n.status&&0!==e.avail_in)return rl(e,n9);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){let t=ro+(n.w_bits-8<<4)<<8;if(t|=(n.strategy>=rt||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(t|=32),rg(n,t+=31-t%31),0!==n.strstart&&(rg(n,e.adler>>>16),rg(n,65535&e.adler)),e.adler=1,n.status=113,rf(e),0!==n.pending)return n.last_flush=-1,n4}if(57===n.status){if(e.adler=0,rm(n,31),rm(n,139),rm(n,8),n.gzhead)rm(n,+!!n.gzhead.text+2*!!n.gzhead.hcrc+4*!!n.gzhead.extra+8*!!n.gzhead.name+16*!!n.gzhead.comment),rm(n,255&n.gzhead.time),rm(n,n.gzhead.time>>8&255),rm(n,n.gzhead.time>>16&255),rm(n,n.gzhead.time>>24&255),rm(n,9===n.level?2:4*(n.strategy>=rt||n.level<2)),rm(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(rm(n,255&n.gzhead.extra.length),rm(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=nZ(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(rm(n,0),rm(n,0),rm(n,0),rm(n,0),rm(n,0),rm(n,9===n.level?2:4*(n.strategy>=rt||n.level<2)),rm(n,3),n.status=113,rf(e),0!==n.pending)return n.last_flush=-1,n4}if(69===n.status){if(n.gzhead.extra){let t=n.pending,r=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let i=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=i,rf(e),0!==n.pending)return n.last_flush=-1,n4;t=0,r-=i}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-r,r)),rf(e),0!==n.pending)return n.last_flush=-1,n4;r=0}t=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,rm(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-r,r)),rf(e),0!==n.pending)return n.last_flush=-1,n4;r=0}t=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,rm(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=nZ(e.adler,n.pending_buf,n.pending-r,r))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(rf(e),0!==n.pending))return n.last_flush=-1,n4;rm(n,255&e.adler),rm(n,e.adler>>8&255),e.adler=0}if(n.status=113,rf(e),0!==n.pending)return n.last_flush=-1,n4}if(0!==e.avail_in||0!==n.lookahead||t!==nJ&&666!==n.status){let r=0===n.level?rw(n,t):n.strategy===rt?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(rb(e),0===e.lookahead)){if(t===nJ)return 1;break}if(e.match_length=0,n=nX(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(rp(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===n2)?(rp(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(rp(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===rn?((e,t)=>
1{let n,r,i,a,o=e.window;for(;;){if(e.lookahead<=258){if(rb(e),e.lookahead<=258&&t===nJ)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+258;do;while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=nX(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=nX(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(rp(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===n2)?(rp(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(rp(e,!1),0===e.strm.avail_out)?1:2})(n,t):rS[n.level].func(n,t);if((3===r||4===r)&&(n.status=666),1===r||3===r)return 0===e.avail_out&&(n.last_flush=-1),n4;if(2===r&&(t===n0?nQ(n):t!==n5&&(nK(n,0,0,!1),t===n1&&(rc(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),rf(e),0===e.avail_out))return n.last_flush=-1,n4}return t!==n2?n4:n.wrap<=0?n3:(2===n.wrap?(rm(n,255&e.adler),rm(n,e.adler>>8&255),rm(n,e.adler>>16&255),rm(n,e.adler>>24&255),rm(n,255&e.total_in),rm(n,e.total_in>>8&255),rm(n,e.total_in>>16&255),rm(n,e.total_in>>24&255)):(rg(n,e.adler>>>16),rg(n,65535&e.adler)),rf(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?n4:n3)},deflateEnd:e=>{if(rk(e))return n6;let t=e.state.status;return e.state=null,113===t?rl(e,n8):n4},deflateSetDictionary:(e,t)=>{let n=t.length;if(rk(e))return n6;let r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return n6;if(1===i&&(e.adler=nq(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(rc(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}let a=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,rb(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do r.ins_h=rh(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++;while(--t);r.strstart=e,r.lookahead=2,rb(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=a,r.wrap=i,n4}};let rP=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var rI={assign:function(e){let t=Array.prototype.slice.call(arguments,1);for(;t.length;){let n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(let t in n)rP(n,t)&&(e[t]=n[t])}}return e},flattenChunks:e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t+=e[n].length;let n=new Uint8Array(t);for(let t=0,r=0,i=e.length;t<i;t++){let i=e[t];n.set(i,r),r+=i.length}return n}};let rT=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){rT=!1}let rO=new Uint8Array(256);for(let e=0;e<256;e++)rO[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;rO[254]=rO[254]=1;var rL={string2buf:e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,i,a,o=e.length,s=0;for(i=0;i<o;i++)(64512&(n=e.charCodeAt(i)))==55296&&i+1<o&&(64512&(r=e.charCodeAt(i+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(a=0,t=new Uint8Array(s),i=0;a<s;i++)(64512&(n=e.charCodeAt(i)))==55296&&i+1<o&&(64512&(r=e.charCodeAt(i+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},buf2string:(e,t)=>{let n,r,i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let a=Array(2*i);for(r=0,n=0;n<i;){let t=e[n++];if(t<128){a[r++]=t;continue}let o=rO[t];if(o>4){a[r++]=65533,n+=o-1;continue}for(t&=2===o?31:3===o?15:7;o>1&&n<i;)t=t<<6|63&e[n++],o--;if(o>1){a[r++]=65533;continue}t<65536?a[r++]=t:(t-=65536,a[r++]=55296|t>>10&1023,a[r++]=56320|1023&t)}return((e,t)=>{if(t<65534&&e.subarray&&rT)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n})(a,r)},utf8border:(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(192&e[n])==128;)n--;return n<0||0===n?t:n+rO[e[n]]>t?n:t}},rM=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};let rD=Object.prototype.toString,{Z_NO_FLUSH:rj,Z_SYNC_FLUSH:r_,Z_FULL_FLUSH:rR,Z_FINISH:rF,Z_OK:rz,Z_STREAM_END:rB,Z_DEFAULT_COMPRESSION:rV,Z_DEFAULT_STRATEGY:rU,Z_DEFLATED:rq}=nG;function rH(e){this.options=rI.assign({level:rV,method:rq,chunkSize:16384,windowBits:15,memLevel:8,strategy:rU},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rM,this.strm.avail_out=0;let n=rN.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==rz)throw Error(nW[n]);if(t.header&&rN.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?rL.string2buf(t.dictionary):"[object ArrayBuffer]"===rD.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=rN.deflateSetDictionary(this.strm,e))!==rz)throw Error(nW[n]);this._dict_set=!0}}function rZ(e,t){let n=new rH(t);if(n.push(e,!0),n.err)throw n.msg||nW[n.err];return n.result}rH.prototype.push=function(e,t){let n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?rF:rj,"string"==typeof e?i.input=rL.string2buf(e):"[object ArrayBuffer]"===rD.call(e)?i.input=new 
1Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){if(0===i.avail_out&&(i.output=new Uint8Array(a),i.next_out=0,i.avail_out=a),(r===r_||r===rR)&&i.avail_out<=6){this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;continue}if((n=rN.deflate(i,r))===rB)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=rN.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===rz;if(0===i.avail_out){this.onData(i.output);continue}if(r>0&&i.next_out>0){this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;continue}if(0===i.avail_in)break}return!0},rH.prototype.onData=function(e){this.chunks.push(e)},rH.prototype.onEnd=function(e){e===rz&&(this.result=rI.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var rW=function(e,t){let n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k=e.state;n=e.next_in,S=e.input,r=n+(e.avail_in-5),i=e.next_out,A=e.output,a=i-(t-e.avail_out),o=i+(e.avail_out-257),s=k.dmax,l=k.wsize,u=k.whave,c=k.wnext,d=k.window,h=k.hold,f=k.bits,p=k.lencode,m=k.distcode,g=(1<<k.lenbits)-1,v=(1<<k.distbits)-1;n:do for(f<15&&(h+=S[n++]<<f,f+=8,h+=S[n++]<<f,f+=8),y=p[h&g];;){if(h>>>=b=y>>>24,f-=b,0==(b=y>>>16&255))A[i++]=65535&y;else if(16&b)for(w=65535&y,(b&=15)&&(f<b&&(h+=S[n++]<<f,f+=8),w+=h&(1<<b)-1,h>>>=b,f-=b),f<15&&(h+=S[n++]<<f,f+=8,h+=S[n++]<<f,f+=8),y=m[h&v];;){if(h>>>=b=y>>>24,f-=b,16&(b=y>>>16&255)){if(x=65535&y,f<(b&=15)&&(h+=S[n++]<<f,(f+=8)<b&&(h+=S[n++]<<f,f+=8)),(x+=h&(1<<b)-1)>s){e.msg="invalid distance too far back",k.mode=16209;break n}if(h>>>=b,f-=b,x>(b=i-a)){if((b=x-b)>u&&k.sane){e.msg="invalid distance too far back",k.mode=16209;break n}if(C=0,E=d,0===c){if(C+=l-b,b<w){w-=b;do A[i++]=d[C++];while(--b);C=i-x,E=A}}else if(c<b){if(C+=l+c-b,(b-=c)<w){w-=b;do A[i++]=d[C++];while(--b);if(C=0,c<w){w-=b=c;do A[i++]=d[C++];while(--b);C=i-x,E=A}}}else if(C+=c-b,b<w){w-=b;do A[i++]=d[C++];while(--b);C=i-x,E=A}for(;w>2;)A[i++]=E[C++],A[i++]=E[C++],A[i++]=E[C++],w-=3;w&&(A[i++]=E[C++],w>1&&(A[i++]=E[C++]))}else{C=i-x;do A[i++]=A[C++],A[i++]=A[C++],A[i++]=A[C++],w-=3;while(w>2);w&&(A[i++]=A[C++],w>1&&(A[i++]=A[C++]))}}else if((64&b)==0){y=m[(65535&y)+(h&(1<<b)-1)];continue}else{e.msg="invalid distance code",k.mode=16209;break n}break}else if((64&b)==0){y=p[(65535&y)+(h&(1<<b)-1)];continue}else if(32&b){k.mode=16191;break n}else{e.msg="invalid literal/length code",k.mode=16209;break n}break}while(n<r&&i<o);n-=w=f>>3,f-=w<<3,h&=(1<<f)-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?5+(r-n):5-(n-r),e.avail_out=i<o?257+(o-i):257-(i-o),k.hold=h,k.bits=f};let rG=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),r$=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),rK=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),rY=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var rX=(e,t,n,r,i,a,o,s)=>{let l,u,c,d,h,f,p,m,g,v=s.bits,y=0,b=0,w=0,x=0,C=0,E=0,S=0,A=0,k=0,N=0,P=null,I=new Uint16Array(16),T=new Uint16Array(16),O=null;for(y=0;y<=15;y++)I[y]=0;for(b=0;b<r;b++)I[t[n+b]]++;for(x=15,C=v;x>=1&&0===I[x];x--);if(C>x&&(C=x),0===x)return i[a++]=0x1400000,i[a++]=0x1400000,s.bits=1,0;for(w=1;w<x&&0===I[w];w++);for(C<w&&(C=w),A=1,y=1;y<=15;y++)if(A<<=1,(A-=I[y])<0)return -1;if(A>0&&(0===e||1!==x))return -1;for(y=1,T[1]=0;y<15;y++)T[y+1]=T[y]+I[y];for(b=0;b<r;b++)0!==t[n+b]&&(o[T[t[n+b]]++]=b);if(0===e?(P=O=o,f=20):1===e?(P=rG,O=r$,f=257):(P=rK,O=rY,f=0),N=0,b=0,y=w,h=a,E=C,S=0,c=-1,d=(k=1<<C)-1,1===e&&k>852||2===e&&k>592)return 1;for(;;){p=y-S,o[b]+1<f?(m=0,g=o[b]):o[b]>=f?(m=O[o[b]-f],g=P[o[b]-f]):(m=96,g=0),l=1<<y-S,w=u=1<<E;do i[h+(N>>S)+(u-=l)]=p<<24|m<<16|g;while(0!==u);for(l=1<<y-1;N&l;)l>>=1;if(0!==l?(N&=l-1,N+=l):N=0,b++,0==--I[y]){if(y===x)break;y=t[n+o[b]]}if(y>C&&(N&d)!==c){for(0===S&&(S=C),h+=w,A=1<<(E=y-S);E+S<x&&!((A-=I[E+S])<=0);)E++,A<<=1;if(k+=1<<E,1===e&&k>852||2===e&&k>592)return 1;i[c=N&d]=C<<24|E<<16|h-a}}return 0!==N&&(i[h+N]=y-S<<24|4194304),s.bits=C,0};let{Z_FINISH:rQ,Z_BLOCK:rJ,Z_TREES:r0,Z_OK:r1,Z_STREAM_END:r2,Z_NEED_DICT:r5,Z_STREAM_ERROR:r4,Z_DATA_ERROR:r3,Z_MEM_ERROR:r6,Z_BUF_ER
1ROR:r8,Z_DEFLATED:r9}=nG,r7=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function ie(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}let it=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.mode<16180||t.mode>16211)},ir=e=>{if(it(e))return r4;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,(e=>{if(it(e))return r4;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,r1})(e)},ii=!0,ia=e=>{if(ii){o=new Int32Array(512),s=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(rX(1,e.lens,0,288,o,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;rX(2,e.lens,0,32,s,0,e.work,{bits:5}),ii=!1}e.lencode=o,e.lenbits=9,e.distcode=s,e.distbits=5},io=(e,t,n,r)=>{let i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),r>=a.wsize?(a.window.set(t.subarray(n-a.wsize,n),0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),a.window.set(t.subarray(n-r,n-r+i),a.wnext),(r-=i)?(a.window.set(t.subarray(n-r,n),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0};var is={inflateReset:ir,inflateInit2:(e,t)=>{if(!e)return r4;let n=new ie;e.state=n,n.strm=e,n.window=null,n.mode=16180;let r=((e,t)=>{let n;if(it(e))return r4;let r=e.state;return(t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15))?r4:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,ir(e))})(e,t);return r!==r1&&(e.state=null),r},inflate:(e,t)=>{let n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k=0,N=new Uint8Array(4),P=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(it(e)||!e.output||!e.input&&0!==e.avail_in)return r4;16191===(n=e.state).mode&&(n.mode=16192),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,d=s,h=l,E=r1;t:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;c<16;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(2&n.wrap&&35615===u){0===n.wbits&&(n.wbits=15),n.check=0,N[0]=255&u,N[1]=u>>>8&255,n.check=nZ(n.check,N,2,0),u=0,c=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&u)!==r9){e.msg="unknown compression method",n.mode=16209;break}if(u>>>=4,c-=4,C=(15&u)+8,0===n.wbits&&(n.wbits=C),C>15||C>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&u?16189:16191,u=0,c=0;break;case 16181:for(;c<16;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(n.flags=u,(255&n.flags)!==r9){e.msg="unknown compression method",n.mode=16209;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&4&n.wrap&&(N[0]=255&u,N[1]=u>>>8&255,n.check=nZ(n.check,N,2,0)),u=0,c=0,n.mode=16182;case 16182:for(;c<32;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&4&n.wrap&&(N[0]=255&u,N[1]=u>>>8&255,N[2]=u>>>16&255,N[3]=u>>>24&255,n.check=nZ(n.check,N,4,0)),u=0,c=0,n.mode=16183;case 16183:for(;c<16;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&4&n.wrap&&(N[0]=255&u,N[1]=u>>>8&255,n.check=nZ(n.check,N,2,0)),u=0,c=0,n.mode=16184;case 16184:if(1024&n.flags){for(;c<16;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&4&n.wrap&&(N[0]=255&u,N[1]=u>>>8&255,n.check=nZ(n.check,N,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(C=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(a,a+f),C)),512&n.flags&&4&n.wrap&&(n.check=nZ(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break t;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===s)break t;f=0;do C=r[a+f++],n.head&&C&&n.length<65536&&(n.head.name+=String.fromCharCode(C));while(C&&f<s);if(512&n.flags&&4&n.wrap&&(n.check=nZ(n.check,r,f,a)),s-=f,a+=f,C)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===s)break t;f=0;do C=r[a+f++],n.head&&C&&n.length<65536&&(n.head.comment+=String.fromCharCode(C));while(C&&f<s);if(512&n.flags&&4&n.wrap&&(n.check=nZ(n.check,r,f,a)),s-=f,a+=f,C)break t}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;c<16;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(4&n.wrap&&u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;c<32;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}e.adler=n.check=r7(u),u=0,c=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,r5;e.adler=n.check=1,n.mode=16191;case 16191:if(t===rJ||t===r0)break t;case 16192:if(n.last){u>>>=7&c,c-=7&c,n.mode=16206;break}for(;c<3;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=16193;break;case 1:if(ia(n),n.mode=16199,t===r0){u>>>=2,c-=2;break t}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}u>>>=2,c-=2;break;case 16193:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&u,u=0,c=0,n.mode=16194,t===r0)break t;case 16194:n.mode=16195;case 16195:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break t;i.set(r.subarray(a,a+f),o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=16191;break;case 16196:for(;c<14;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(n.nlen=(31&u)+257,c-=5,n.ndist=(31&(u>>>=5))+1,c-=5,n.ncode=(15&(u>>>=5))+4,u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.lens[P[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},E=rX(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,E){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;g=(k=n.lencode[u&(1<<n.lenbits)-1])>>>24,v=k>>>16&255,y=65535&k,!(g<=c);){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(y<16)u>>>=g,c-=g,n.lens[n.have++]=y;else{if(16===y){for(A=g+2;c<A;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}C=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===y){for(A=g+3;c<A;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}u>>>=g,c-=g,C=0,f=3+(7&u),u>>>=3,c-=3}else{for(A=g+7;c<A;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}u>>>=g,c-=g,C=0,f=11+(127&u),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;f--;)n.lens[n.have++]=C}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,S={bits:n.lenbits},E=rX(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,E){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},E=rX(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,E){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===r0)break t;case 16199:n.mode=16200;case 16200:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,rW(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;g=(k=n.lencode[u&(1<<n.lenbits)-1])>>>24,v=k>>>16&255,y=65535&k,!(g<=c);){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(v&&(240&v)==0){for(b=g,w=v,x=y;g=(k=n.lencode[x+((u&(1<<b+w)-1)>>b)])>>>24,v=k>>>16&255,y=65535&k,!(b+g<=c);){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}u>>>=b,c-=b,n.back+=b}if(u>>>=g,c-=g,n.back+=g,n.length=y,0===v){n.mode=16205;break}if(32&v){n.back=-1,n.mode=16191;break}if(64&v){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&v,n.mode=16201;case 16201:if(n.extra){for(A=n.extra;c<A;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;g=(k=n.distcode[u&(1<<n.distbits)-1])>>>24,v=k>>>16&255,y=65535&k,!(g<=c);){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if((240&v)==0){for(b=g,w=v,x=y;g=(k=n.distcode[x+((u&(1<<b+w)-1)>>b)])>>>24,v=k>>>16&255,y=65535&k,!(b+g<=c);){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}u>>>=b,c-=b,n.back+=b}if(u>>>=g,c-=g,n.back+=g,64&v){e.msg="invalid distance code",n.mode=16209;break}n.offset=y,n.extra=15&v,n.mode=16203;case 16203:if(n.extra){for(A=n.extra;c<A;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>
1n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===l)break t;if(f=h-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),m=n.window}else m=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do i[o++]=m[p++];while(--f);0===n.length&&(n.mode=16200);break;case 16205:if(0===l)break t;i[o++]=n.length,l--,n.mode=16200;break;case 16206:if(n.wrap){for(;c<32;){if(0===s)break t;s--,u|=r[a++]<<c,c+=8}if(h-=l,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=n.flags?nZ(n.check,i,h,o-h):nq(n.check,i,h,o-h)),h=l,4&n.wrap&&(n.flags?u:r7(u))!==n.check){e.msg="incorrect data check",n.mode=16209;break}u=0,c=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break t;s--,u+=r[a++]<<c,c+=8}if(4&n.wrap&&u!==(0|n.total)){e.msg="incorrect length check",n.mode=16209;break}u=0,c=0}n.mode=16208;case 16208:E=r2;break t;case 16209:E=r3;break t;case 16210:return r6;default:return r4}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==rQ))&&io(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=n.flags?nZ(n.check,i,h,e.next_out-h):nq(n.check,i,h,e.next_out-h)),e.data_type=n.bits+64*!!n.last+128*(16191===n.mode)+256*(16199===n.mode||16194===n.mode),(0===d&&0===h||t===rQ)&&E===r1&&(E=r8),E},inflateEnd:e=>{if(it(e))return r4;let t=e.state;return t.window&&(t.window=null),e.state=null,r1},inflateGetHeader:(e,t)=>{if(it(e))return r4;let n=e.state;return(2&n.wrap)==0?r4:(n.head=t,t.done=!1,r1)},inflateSetDictionary:(e,t)=>{let n,r=t.length;return it(e)||0!==(n=e.state).wrap&&16190!==n.mode?r4:16190===n.mode&&nq(1,t,r,0)!==n.check?r3:io(e,t,r,r)?(n.mode=16210,r6):(n.havedict=1,r1)}},il=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};let iu=Object.prototype.toString,{Z_NO_FLUSH:ic,Z_FINISH:id,Z_OK:ih,Z_STREAM_END:ip,Z_NEED_DICT:im,Z_STREAM_ERROR:ig,Z_DATA_ERROR:iv,Z_MEM_ERROR:iy}=nG;function ib(e){this.options=rI.assign({chunkSize:65536,windowBits:15,to:""},e||{});let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rM,this.strm.avail_out=0;let n=is.inflateInit2(this.strm,t.windowBits);if(n!==ih||(this.header=new il,is.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=rL.string2buf(t.dictionary):"[object ArrayBuffer]"===iu.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw)&&(n=is.inflateSetDictionary(this.strm,t.dictionary))!==ih))throw Error(nW[n])}function iw(e,t){let n=new ib(t);if(n.push(e),n.err)throw n.msg||nW[n.err];return n.result}ib.prototype.push=function(e,t){let n,r,i,a=this.strm,o=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?id:ic,"[object ArrayBuffer]"===iu.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(o),a.next_out=0,a.avail_out=o),(n=is.inflate(a,r))===im&&s&&((n=is.inflateSetDictionary(a,s))===ih?n=is.inflate(a,r):n===iv&&(n=im));a.avail_in>0&&n===ip&&a.state.wrap>0&&0!==e[a.next_in];
1)is.inflateReset(a),n=is.inflate(a,r);switch(n){case ig:case iv:case im:case iy:return this.onEnd(n),this.ended=!0,!1}if(i=a.avail_out,a.next_out&&(0===a.avail_out||n===ip))if("string"===this.options.to){let e=rL.utf8border(a.output,a.next_out),t=a.next_out-e,n=rL.buf2string(a.output,e);a.next_out=t,a.avail_out=o-t,t&&a.output.set(a.output.subarray(e,e+t),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(n!==ih||0!==i){if(n===ip)return n=is.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},ib.prototype.onData=function(e){this.chunks.push(e)},ib.prototype.onEnd=function(e){e===ih&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=rI.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};let{Deflate:ix,deflate:iC,deflateRaw:iE,gzip:iS}={Deflate:rH,deflate:rZ,deflateRaw:function(e,t){return(t=t||{}).raw=!0,rZ(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,rZ(e,t)},constants:nG},{Inflate:iA,inflate:ik,inflateRaw:iN,ungzip:iP}={Inflate:ib,inflate:iw,inflateRaw:function(e,t){return(t=t||{}).raw=!0,iw(e,t)},ungzip:iw,constants:nG},iI=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=0xedb88320^t>>>1:t>>>=1;iI[e]=t}function iT(e,t,n){let r=e.readUint32(),i=(0xffffffff^function(e,t,n){let r=0xffffffff;for(let e=0;e<n;e++)r=iI[(r^t[e])&255]^r>>>8;return r}(0,new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t))>>>0;if(i!==r)throw Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${i}`)}function iO(e,t,n){for(let r=0;r<n;r++)t[r]=e[r]}function iL(e,t,n,r){let i=0;for(;i<r;i++)t[i]=e[i];for(;i<n;i++)t[i]=e[i]+t[i-r]&255}function iM(e,t,n,r){let i=0;if(0===n.length)for(;i<r;i++)t[i]=e[i];else for(;i<r;i++)t[i]=e[i]+n[i]&255}function iD(e,t,n,r,i){let a=0;if(0===n.length){for(;a<i;a++)t[a]=e[a];for(;a<r;a++)t[a]=e[a]+(t[a-i]>>1)&255}else{for(;a<i;a++)t[a]=e[a]+(n[a]>>1)&255;for(;a<r;a++)t[a]=e[a]+(t[a-i]+n[a]>>1)&255}}function ij(e,t,n,r,i){let a=0;if(0===n.length){for(;a<i;a++)t[a]=e[a];for(;a<r;a++)t[a]=e[a]+t[a-i]&255}else{for(;a<i;a++)t[a]=e[a]+n[a]&255;for(;a<r;a++)t[a]=e[a]+function(e,t,n){let r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n}(t[a-i],n[a],n[a-i])&255}}let i_=255===new Uint8Array(new Uint16Array([255]).buffer)[0],iR=255===new Uint8Array(new Uint16Array([255]).buffer)[0],iF=new Uint8Array(0);function iz(e){let t,n,{data:r,width:i,height:a,channels:o,depth:s}=e,l=Math.ceil(s/8)*o,u=Math.ceil(s/8*o*i),c=new Uint8Array(a*u),d=iF,h=0;for(let e=0;e<a;e++){switch(t=r.subarray(h+1,h+1+u),n=c.subarray(e*u,(e+1)*u),r[h]){case 0:iO(t,n,u);break;case 1:iL(t,n,u,l);break;case 2:iM(t,n,d,u);break;case 3:iD(t,n,d,u,l);break;case 4:ij(t,n,d,u,l);break;default:throw Error(`Unsupported filter: ${r[h]}`)}d=n,h+=u+1}if(16!==s)return c;{let e=new Uint16Array(c.buffer);if(iR)for(let t=0;t<e.length;t++){var f;e[t]=(255&(f=e[t]))<<8|f>>8&255}return e}}let iB=Uint8Array.of(137,80,78,71,13,10,26,10);function iV(e){if(!function(e){if(e.length<iB.length)return!1;for(let t=0;t<iB.length;t++)if(e[t]!==iB[t])return!1;return!0}(e.readBytes(iB.length)))throw Error("wrong PNG signature")}let iU=new TextDecoder("latin1"),iq=/^[\u0000-\u00FF]*$/;function iH(e){for(e.mark();0!==e.readByte(););let t=e.offset;e.reset();let n=iU.decode(e.readBytes(t-e.offset-1));e.skip(1);if(function(e){if(!iq.test(e))throw Error("invalid latin1 text")}(n),0===n.length||n.length>79)throw Error("keyword length must be between 1 and 79");return n}let iZ={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},iW={UNKNOWN:-1,DEFLATE:0},iG={UNKNOWN:-1,ADAPTIVE:0},i$={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},iK={NONE:0,BACKGROUND:1,PREVIOUS:2},iY={SOURCE:0,OVER:1};class iX extends nd{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);let{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new iA,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=iW.UNKNOWN,this._filterMethod=iG.UNKNOWN,this._interlaceMethod=i$.UNKNOWN,this._colorType=iZ.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(iV(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(iV(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){let n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":!function(e,t,n){var r,i;let a=iH(t);e[a]=(r=t,i=n-a.length-1,iU.decode(r.readBytes(i)))}(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?iT(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){let n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?iT(this,e+4,t):this.skip(4)}decodeIHDR(){let e,t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw Error(`invalid bit depth: ${e}`);return e}(this.readUint8());let n=this.readUint8();switch(this._colorType=n,n){case iZ.GREYSCALE:e=1;break;case iZ.TRUECOLOUR:e=3;break;case iZ.INDEXED_COLOUR:e=1;break;case iZ.GREYSCALE_ALPHA:e=2;break;case iZ.TRUECOLOUR_ALPHA:e=4;break;case iZ.UNKNOWN:default:throw Error(`Unknown color type: ${n}`)}if(this._png.channels=e,this._compressionMethod=this.readUint8(),this._compressionMethod!==iW.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}
1decodePLTE(e){if(e%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);let t=e/3;this._hasPalette=!0;let n=[];this._palette=n;for(let e=0;e<t;e++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;let t=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,t,e)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case iZ.GREYSCALE:case iZ.TRUECOLOUR:if(e%2!=0)throw RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case iZ.INDEXED_COLOUR:{if(e>
1this._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){let e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}case iZ.UNKNOWN:case iZ.GREYSCALE_ALPHA:case iZ.TRUECOLOUR_ALPHA:default:throw Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){let t=iH(this),n=this.readUint8();if(n!==iW.DEFLATE)throw Error(`Unsupported iCCP compression method: ${n}`);let r=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:ik(r)}}decodepHYs(){let e=this.readUint32(),t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){let t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=iz({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===n.xOffset&&0===n.yOffset&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{let r=this._apng.frames.at(e-1);this.disposeFrame(n,r,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case iK.NONE:break;case iK.BACKGROUND:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){let i=(t*e.width+r)*this._png.channels;for(let e=0;e<this._png.channels;e++)n.data[i+e]=0}break;case iK.PREVIOUS:n.data.set(t.data);break;default:throw Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){let n=1<<this._png.depth,r=(e,n)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case iY.SOURCE:for(let n=0;n<t.height;n++)for(let i=0;i<t.width;i++){let{index:a,frameIndex:o}=r(n,i);for(let n=0;n<this._png.channels;n++)e.data[a+n]=t.data[o+n]}break;case iY.OVER:for(let i=0;i<t.height;i++)for(let a=0;a<t.width;a++){let{index:o,frameIndex:s}=r(i,a);for(let r=0;r<this._png.channels;r++){let i=t.data[s+this._png.channels-1]/n,a=Math.floor(i*(r%(this._png.channels-1)==0?1:t.data[s+r])+(1-i)*e.data[o+r]);e.data[o+r]+=a}}break;default:throw Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);let e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==iG.ADAPTIVE)throw Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===i$.NO_INTERLACE)this._png.data=iz({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===i$.ADAM7)this._png.data=function(e){let{data:t,width:n,height:r,channels:i,depth:a}=e,o=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],s=Math.ceil(a/8)*i,l=new Uint8Array(r*n*s),u=0;for(let e=0;e<7;e++){let i=o[e],a=Math.ceil((n-i.x)/i.xStep),c=Math.ceil((r-i.y)/i.yStep);if(a<=0||c<=0)continue;let d=a*s,h=new Uint8Array(d);for(let e=0;e<c;e++){let o=t[u++],c=t.subarray(u,u+d);u+=d;let f=new Uint8Array(d);switch(o){case 0:iO(c,f,d);break;case 1:iL(c,f,d,s);break;case 2:iM(c,f,h,d);break;case 3:iD(c,f,h,d,s);break;case 4:ij(c,f,h,d,s);break;default:throw Error(`Unsupported filter: ${o}`)}h.set(f);for(let t=0;t<a;t++){let a=i.x+t*i.xStep,o=i.y+e*i.yStep;if(!(a>=n)&&!(o>=r))for(let e=0;e<s;e++)l[(o*n+a)*s+e]=f[t*s+e]}}}if(16!==a)return l;{let e=new Uint16Array(l.buffer);if(i_)for(let t=0;t<e.length;t++){var c;e[t]=(255&(c=e[t]))<<8|c>>8&255}return e}}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:iK.NONE,blendOp:iY.SOURCE,data:e}),this._inflator=new iA,this._writingDataChunks=!1}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"}(ou||(ou={}));var iQ=function(){return"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this}();function iJ(){iQ.console&&"function"==typeof iQ.console.log&&iQ.c
vendor: 3,993 bytes, line 1
1onsole.log.apply(iQ.console,arguments)}var i0={log:iJ,warn:function(e){iQ.console&&("function"==typeof iQ.console.warn?iQ.console.warn.apply(iQ.console,arguments):iJ.call(null,arguments))},error:function(e){iQ.console&&("function"==typeof iQ.console.error?iQ.console.error.apply(iQ.console,arguments):iJ(e))}};function i1(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i4(r.response,t,n)},r.onerror=function(){i0.error("could not download file")},r.send()}function i2(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function i5(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i4=iQ.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,tT.A)(window))||window!==iQ?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=iQ.URL||iQ.webkitURL,i=document.createElement("a");i.download=t=t||e.name||"download",i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?i2(i.href)?i1(e,t,n):i5(i,i.target="_blank"):i5(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){i5(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(i2(e))i1(e,t,n);else{var r,i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){i5(i)})}else navigator.msSaveOrOpenBlob((void 0===(r=n)?r={autoBom:!1}:"object"!==(0,tT.A)(r)&&(i0.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return i1(e,t,n);var i="application/octet-stream"===e.type,a=/constructor/i.test(iQ.HTMLElement)||iQ.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,tT.A)(FileReader))){var s=new FileReader;s.onloadend=function(){var e=s.result;e=o?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},s.readAsDataURL(e)}else{var l=iQ.URL||iQ.webkitURL,u=l.createObjectURL(e);r?r.location=u:location.href=u,r=null,setTimeout(function(){l.revokeObjectURL(u)},4e4)}});function i3(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"})[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,a=n[r].process,o=i.exec(e);o&&(t=a(o),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}var i6=iQ.atob.bind(iQ),i8=iQ.btoa.bind(iQ);function i9(e,t){var n=e[0],r=e[1],i=e[2],a=e[3];n=ae(n,r,i,a,t[0],7,-0x28955b88),a=ae(a,n,r,i,t[1],12,-0x173848aa),i=ae(i,a,n,r,t[2],17,0x242070db),r=ae(r,i,a,n,t[3],22,-0x3e423112),n=ae(n,r,i,a,t[4],7,-0xa83f051),a=ae(a,n,r,i,t[5],12,0x4787c62a),i=ae(i,a,n,r,t[6],17,-0x57cfb9ed),r=ae(r,i,a,n,t[7],22,-0x2b96aff),n=ae(n,r,i,a,t[8],7,0x698098d8),a=ae(a,n,r,i,t[9],12,-0x74bb0851),i=ae(i,a,n,r,t[10],17,-42063),r=ae(r,i,a,n,t[11],22,-0x76a32842),n=ae(n,r,i,a,t[12],7,0x6b901122),a=ae(a,n,r,i,t[13],12,-0x2678e6d),i=ae(i,a,n,r,t[14],17,-0x5986bc72),n=at(n,r=ae(r,i,a,n,t[15],22,0x49b40821),i,a,t[1],5,-0x9e1da9e),a=at(a,n,r,i,t[6],9,-0x3fbf4cc0),i=at(i,a,n,r,t[11],14,0x265e5a51),r=at(r,i,a,n,t[0],20,-0x16493856),n=at(n,r,i,a,t[5],5,-0x29d0efa3),a=at(a,n,r,i,t[10],9,0x2441453),i=at(i,a,n,r,t[15],14,-0x275e197f),r=at(r,i,a,n,t[4],20,-0x182c0438),n=at(n,r,i,a,t[9],5,0x21e1cde6),a=at(a,n,r,i,t[14],9,-0x3cc8f82a),i=at(i,a,n,r,t[3],14,-0xb2af279),r=at(r,i,a,n,t[8],20,0x455a14ed),n=at(n,r,i,a,t[13],5,-0x561c16fb),a=at(a,n,r,i,t[2],9,-0x3105c08),i=at(i,a,n,r,t[7],14,0x676f02d9),n=an(n,r=at(r,i,a,n,t[12],20,-0x72d5b376),i,a,t[5],4,-378558),a=an(a,n,r,i,t[8],11,-0x788e097f),i=an(i,a,n,r,t[11],16,0x6d9d6122),r=an(r,i,a,n,t[14],23,-0x21ac7f4),n=an(n,r,i,a,t[1],4,-0x5b4115bc),a=an(a,n,r,i,t[4],11,0x4bdecfa9),i=an(i,a,n,r,t[7],16,-0x944b4a0),r=an(r,i,a,n,t[10],23,-0x41404390),n=an(n,r,i,a,t[13],4,0x289b7ec6),a=an(a,n,r,i,t[0],11,-0x155ed806),i=an(i,a,n,r,t[3],16,-0x2b10cf7b),r=an(r,i,a,n,t[6],23,0x4881d05),n=an(n,r,i,a,t[9],4,-0x262b2fc7),a=an(a,n,r,i,t[12],11,-0x1924661b),i=an(i,a,n,r,t[15],16,0x1fa27cf8),n=ar(n,r=an(r,i,a,n,t[2],23,-0x3b53a99b),i,a,t[0],6,-0xbd6ddbc),a=ar(a,n,r,i,t[7],10,0x432aff97),i=ar(i,a,n,r,t[14],15,-0x546bdc59),r=ar(r,i,a,n,t[5],21,-0x36c5fc7),n=ar(n,r,i,a,t[12],6,0x655b59c3),a=ar(a,n,r,i,t[3],10,-0x70f3336e),i=ar(i,a,n,r,t[10],15,-1051523),r=ar(r,i,a,n,t[1],21,-0x7a7ba22f),n=ar(n,r,i,a,t[8],6,0x6fa87e4f),a=ar(a,n,r,i,t[15],10,-0x1d31920),i=ar(i,a,n,r,t[6],15,-0x5cfebcec),r=ar(r,i,a,n,t[13],21,0x4e0811a1),n=ar(n,r,i,a,t[4],6,-0x8ac817e),a=ar(a,n,r,i,t[11],10,-0x42c50dcb),i=ar(i,a,n,r,t[2],15,0x2ad7d2bb),r=ar(r,i,a,n,t[9],21,-0x14792c6f),e[0]=au(n,e[0]),e[1]=au(r,e[1]),e[2]=au(i,e[2]),e[3]=au(a,e[3])}function i7(e,t,n,r,i,a){return t=au(au(t,e),au(r,a)),au(t<<i|t>>>32-i,n)}function ae(e,t,n,r,i,a,o){return i7(t&n|~t&r,e,t,i,a,o)}function at(e,t,n,r,i,a,o){return i7(t&r|n&~r,e,t,i,a,o)}function an(e,t,n,r,i,a,o){return i7(t^n^r,e,t,i,a,o)}function ar(e,t,n,r,i,a,o){return i7(n^(t|~r),e,t,i,a,o)}function ai(e){var t,n=e.length,r=[0x67452301,-0x10325477,-0x67452302,0x10325476];for(t=64;t<=e.length;t+=64)i9(r,function(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(i9(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,i9(r,i),r}var aa="0123456789abcdef".split("");function ao(e){return String.fromCharCode(255&e,(65280&e)>>8,(0xff0000&e)>>16,(0xff000000&e)>>24)}function as(e){return ai(e).map(ao).join("")}var al="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=function(e){for(var t="",n=0;n<4;n++)t+=aa[e>>8*n+4&15]+aa[e>>8*n&15];return t}(e[t]);return e.join("")}(ai("hello"));function au(e,t){if(al){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t|0}function ac(e,t){if(e!==n){for(var n,r,i=Array(1+(256/e.length|0)+1).join(e),a=[],o=0;o<256;o++)a[o]=o;var s=0;for(o=0;o<256;o++){var l=a[o];s=(s+l+i.charCodeAt(o))%256,a[o]=a[s],a[s]=l}n=e,r=a}else a=r;var u=t.length,c=0,d=0,h="";for(o=0;o<u;o++)d=(d+(l=a[c=(c+1)%256]))%256,a[c]=a[d],a[d]=l,i=a[(a[c]+a[d])%256],h+=String.fromCharCode(t.charCodeAt(o)^i);return h}var ad={print:4,modify:8,copy:16,"annot-forms":32};function ah(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach(function(e){if(void 0!==ad.perm)throw Error("Invalid permission: "+e);i+=ad[e]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";
vendor: 4,842 bytes, line 1
1var a=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=as(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=ac(this.encryptionKey,this.padding)}function af(e){if(/[^\u0000-\u00ff]/.test(e))throw Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function ap(e){if("object"!==(0,tT.A)(e))throw Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var a in t[n]){var o=t[n][a];try{o[0].apply(e,r)}catch(e){iQ.console&&i0.error("jsPDF PubSub Error",e.message,e)}o[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function am(e){if(!(this instanceof am))return new am(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function ag(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function av(e,t,n,r,i){if(!(this instanceof av))return new av(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,ag.call(this,r,i)}function ay(e,t,n,r,i){if(!(this instanceof ay))return new ay(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,ag.call(this,r,i)}function ab(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],a=arguments[3],o=[],s=1,l=16,u="S",c=null;"object"===(0,tT.A)(e=e||{})&&(n=e.orientation,r=e.unit||r,i=e.format||i,a=e.compress||e.compressPdf||a,null!==(c=e.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),s="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(l=e.floatPrecision),u=e.defaultPathOperation||"S"),o=e.filters||(!0===a?["FlateEncode"]:o),r=r||"mm",n=(""+(n||"P")).toLowerCase();var d=e.putOnlyUsedFonts||!1,h={},f={internal:{},__private__:{}};f.__private__.PubSub=ap;var p="1.3",m=f.__private__.getPdfVersion=function(){return p};f.__private__.setPdfVersion=function(e){p=e};var g={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return g};var v=f.__private__.getPageFormat=function(e){return g[e]};i=i||"a4";var y="compat",b="advanced",w=y;function x(){this.saveGraphicsState(),X(new eO(eh,0,0,-eh,0,t5()*eh).toString()+" cm"),this.setFontSize(this.getFontSize()/eh),u="n",w=b}function C(){this.restoreGraphicsState(),u="S",w=y}var E=f.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};f.advancedAPI=function(e){var t=w===y;return t&&x.call(this),"function"!=typeof e||(e(this),t&&C.call(this)),this},f.compatAPI=function(e){var t=w===b;return t&&C.call(this),"function"!=typeof e||(e(this),t&&x.call(this)),this},f.isAdvancedAPI=function(){return w===b};var S,A=function(e){if(w!==b)throw Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},k=f.roundToPrecision=f.__private__.roundToPrecision=function(e,n){var r=t||n;
1if(isNaN(e)||isNaN(r))throw Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};S=f.hpf=f.__private__.hpf="number"==typeof l?function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return k(e,l)}:"smart"===l?function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return k(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return k(e,16)};var N=f.f2=f.__private__.f2=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.f2");return k(e,2)},P=f.__private__.f3=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.f3");return k(e,3)},I=f.scale=f.__private__.scale=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.scale");return w===y?e*eh:w===b?e:void 0},T=function(e){return I(w===y?t5()-e:w===b?e:void 0)};f.__private__.setPrecision=f.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var O,L="00000000000000000000000000000000",M=f.__private__.getFileId=function(){return L},D=f.__private__.setFileId=function(e){return L=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():L.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==c&&(tl=new ah(c.userPermissions,c.userPassword,c.ownerPassword,L)),L};f.setFileId=function(e){return D(e),this},f.getFileId=function(){return M()};var j=f.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=Math.floor(Math.abs(t/60)),r
1=Math.abs(t%60),i=(t<0?"+":"-")+B(n)+"'"+B(r)+"'";return"D:"+e.getFullYear()+B(e.getMonth()+1)+B(e.getDate())+B(e.getHours())+B(e.getMinutes())+B(e.getSeconds())+i},_=f.__private__.convertPDFDateToDate=function(e){return new Date(parseInt(e.substr(2,4),10),parseInt(e.substr(6,2),10)-1,parseInt(e.substr(8,2),10),parseInt(e.substr(10,2),10),parseInt(e.substr(12,2),10),parseInt(e.substr(14,2),10),0)},R=f.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=j(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return O=t},F=f.__private__.getCreationDate=function(e){var t=O;return"jsDate"===e&&(t=_(O)),t};f.setCreationDate=function(e){return R(e),this},f.getCreationDate=function(e){return F(e)};var z,B=f.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},V=f.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},U=0,q=[],H=[],Z=0,W=[],G=[],$=!1,K=H;f.__private__.setCustomOutputDestination=function(e){$=!0,K=e};var Y=function(e){$||(K=e)};f.__private__.resetCustomOutputDestination=function(){$=!1,K=H};var X=f.__private__.out=function(e){return e=e.toString(),Z+=e.length+1,K.push(e),K},Q=f.__private__.write=function(e){return X(1==arguments.length?e.toString():Array.prototype.join.call(arguments," "))},J=f.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},ee=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return ee};var et=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(e){return et=w===b?e/eh:e,this};var en,er=f.__private__.getFontSize=f.getFontSize=function(){return w===y?et:et*eh},ei=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(e){return ei=e,this},f.__private__.getR2L=f.getR2L=function(){return ei};var ea,eo=f.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))en=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');en=e}else en=parseInt(e,10)};f.__private__.getZoomMode=function(){return en};var es,el=f.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ea=e};f.__private__.getPageMode=function(){return ea};var eu=f.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');es=e};f.__private__.getLayoutMode=function(){return es},f.__private__.setDisplayMode=f.setDisplayMode=function(e,t,n){return eo(e),eu(t),el(n),this};var ec={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ec).indexOf(e))throw Error("Invalid argument passed to jsPDF.getDocumentProperty");return ec[e]},f.__private__.getDocumentProperties=function(){return ec},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(e){for(var t in ec)ec.hasOwnProperty(t)&&e[t]&&(ec[t]=e[t]);return this},f.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ec).indexOf(e))throw Error("Invalid arguments passed to 
1jsPDF.setDocumentProperty");return ec[e]=t};var ed,eh,ef,ep,em,eg={},ev={},ey=[],eb={},ew={},ex={},eC={},eE=null,eS=0,eA=[],ek=new ap(f),eN=e.hotfixes||[],eP={},eI={},eT=[],eO=function e(t,n,r,i,a,o){if(!(this instanceof e))return new e(t,n,r,i,a,o);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[t,n,r,i,a,o]};Object.defineProperty(eO.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(eO.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(eO.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(eO.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(eO.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(eO.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(eO.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(eO.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(eO.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(eO.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(eO.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(eO.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(eO.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(eO.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(eO.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(eO.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),eO.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(S).join(e)},eO.prototype.multiply=function(e){return new eO(e.sx*this.sx+e.shy*this.shx,e.sx*this.shy+e.shy*this.sy,e.shx*this.sx+e.sy*this.shx,e.shx*this.shy+e.sy*this.sy,e.tx*this.sx+e.ty*this.shx+this.tx,e.tx*this.shy+e.ty*this.sy+this.ty)},eO.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*r,l=Math.sqrt((n-=e*s)*n+(r-=t*s)*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,o=-o),{scale:new eO(o,0,0,l,0,0),translate:new eO(1,0,0,1,i,a),rotate:new eO(e,t,-t,e,0,0),skew:new eO(1,0,s,1,0,0)}},eO.prototype.toString=function(e){return this.join(" ")},eO.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=1/(e*r-t*n),s=r*o,l=-t*o,u=-n*o,c=e*o;return new eO(s,l,u,c,-s*i-u*a,-l*i-c*a)},eO.prototype.applyToPoint=function(e){return new tW(e.x*this.sx+e.y*this.shx+this.tx,e.x*this.shy+e.y*this.sy+this.ty)},eO.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new tW(e.x+e.w,e.y+e.h));return new tG(t.x,t.y,n.x-t.x,n.y-t.y)},eO.prototype.clone=function(){return new eO(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},f.Matrix=eO;var eL=f.matrixMult=function(e,t){return t.multiply(e)},eM=new eO(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=eM;var eD=function(e,t){if(!ew[e]){var n=(t instanceof av?"Sh":"P")+(Object.keys(eb).length+1).toString(10);t.id=n,ew[e]=n,eb[n]=t,ek.publish("addPattern",t)}};f.ShadingPattern=av,f.TilingPattern=ay,f.addShadingPattern=function(e,t){return A("addShadingPattern()"),eD(e,t),this},f.beginTilingPattern=function(e){A("beginTilingPattern()"),tK(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},f.endTilingPattern=function(e,t){A("endTilingPattern()"),t.stream=G[z].join("\n"),eD(e,t),ek.publish("endTilingPattern",t),eT.pop().restore(
vendor: 5,963 bytes, line 1
1)};var ej,e_=f.__private__.newObject=function(){var e=eR();return eF(e,!0),e},eR=f.__private__.newObjectDeferred=function(){return q[++U]=function(){return Z},U},eF=function(e,t){return t="boolean"==typeof t&&t,q[e]=Z,t&&X(e+" 0 obj"),e},ez=f.__private__.newAdditionalObject=function(){var e={objId:eR(),content:""};return W.push(e),e},eB=eR(),eV=eR(),eU=f.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},eq=f.__private__.encodeColorString=function(e){"string"==typeof e&&(e={ch1:e});var t,n=e.ch1,r=e.ch2,i=e.ch3,a=e.ch4,o="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var s=new i3(n);if(s.ok)n=s.toHex();else if(!/^\d*\.?\d*$/.test(n))throw Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,r=l>>8&255,i=255&l}if(void 0===r||void 0===a&&n===r&&r===i)t="string"==typeof n?n+" "+o[0]:2===e.precision?N(n/255)+" "+o[0]:P(n/255)+" "+o[0];else if(void 0===a||"object"===(0,tT.A)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1. 1. 1.",o[1]].join(" ");t="string"==typeof n?[n,r,i,o[1]].join(" "):2===e.precision?[N(n/255),N(r/255),N(i/255),o[1]].join(" "):[P(n/255),P(r/255),P(i/255),o[1]].join(" ")}else t="string"==typeof n?[n,r,i,a,o[2]].join(" "):2===e.precision?[N(n),N(r),N(i),N(a),o[2]].join(" "):[P(n),P(r),P(i),P(a),o[2]].join(" ");return t},eH=f.__private__.getFilters=function(){return o},eZ=f.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||eH(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,a=t.length,o=e.objectId,s=function(e){return e};if(null!==c&&void 0===o)throw Error("ObjectId must be passed to putStream for file encryption");null!==c&&(s=tl.encryptor(o,0));var l={};!0===n&&(n=["FlateEncode"]);var u=e.additionalKeyValues||[],d=(l=void 0!==ab.API.processDataByFilters?ab.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(u.push({key:"Length",value:l.data.length}),!0===i&&u.push({key:"Length1",value:a})),0!=d.length)if(d.split("/").length-1==1)u.push({key:"Filter",value:d});else{u.push({key:"Filter",value:"["+d+"]"});for(var h=0;h<u.length;h+=1)if("DecodeParms"===u[h].key){for(var f=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)f.push("null");f.push(u[h].value),u[h].value="["+f.join(" ")+"]"}}X("<<");for(var m=0;m<u.length;m++)X("/"+u[m].key+" "+u[m].value);X(">>"),0!==l.data.length&&(X("stream"),X(s(l.data)),X("endstream"))},eW=f.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;eF(r,!0),X("<</Type /Page"),X("/Parent "+e.rootDictionaryObjId+" 0 R"),X("/Resources "+e.resourceDictionaryObjId+" 0 R"),X("/MediaBox ["+parseFloat(S(e.mediaBox.bottomLeftX))+" "+parseFloat(S(e.mediaBox.bottomLeftY))+" "+S(e.mediaBox.topRightX)+" "+S(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&X("/CropBox ["+S(e.cropBox.bottomLeftX)+" "+S(e.cropBox.bottomLeftY)+" "+S(e.cropBox.topRightX)+" "+S(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&X("/BleedBox ["+S(e.bleedBox.bottomLeftX)+" "+S(e.bleedBox.bottomLeftY)+" "+S(e.bleedBox.topRightX)+" "+S(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&X("/TrimBox ["+S(e.trimBox.bottomLeftX)+" "+S(e.trimBox.bottomLeftY)+" "+S(e.trimBox.topRightX)+" "+S(e.trimBox.topRightY)+"]"),null!==e.artBox&&X("/ArtBox ["+S(e.artBox.bottomLeftX)+" "+S(e.artBox.bottomLeftY)+" "+S(e.artBox.topRightX)+" "+S(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&X("/UserUnit "+e.userUnit),ek.publish("putPage",{objId:r,pageContext:eA[t],pageNumber:t,page:n}),X("/Contents "+i+" 0 R"),X(">>"),X("endobj");var a=n.join("\n");return w===b&&(a+="\nQ"),eF(i,!0),eZ({data:a,filters:eH(),objectId:i}),X("endobj"),r},eG=f.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=eS;e++)eA[e].objId=eR(),eA[e].contentsObjId=eR();for(e=1;e<=eS;e++)n.push(eW({number:e,data:G[e],objId:eA[e].objId,contentsObjId:eA[e].contentsObjId,mediaBox:eA[e].mediaBox,cropBox:eA[e].cropBox,bleedBox:eA[e].bleedBox,trimBox:eA[e].trimBox,artBox:eA[e].artBox,userUnit:eA[e].userUnit,rootDictionaryObjId:eB,resourceDictionaryObjId:eV}));eF(eB,!0),X("<</Type /Pages");var r="/Kids [";for(t=0;t<eS;t++)r+=n[t]+" 0 R ";X(r+"]"),X("/Count "+eS),X(">>"),X("endobj"),ek.publish("postPutPages")},e$=function(e){ek.publish("putFont",{font:e,out:X,newObject:e_,putStream:eZ}),!0!==e.isAlreadyPutted&&(e.objectNumber=e_(),X("<<"),X("/Type /Font"),X("/BaseFont /"+af(e.postScriptName)),X("/Subtype /Type1"),"string"==typeof e.encoding&&X("/Encoding /"+e.encoding),X("/FirstChar 32"),X("/LastChar 255"),X(">>"),X("endobj"))},eK=function(e){e.objectNumber=e_();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[S(e.x),S(e.y),S(e.x+e.width),S(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),eZ({data:e.pages[1].join("\n"),additionalKeyValues:t,objectId:e.objectNumber}),X("endobj")},eY=function(e,t){t||(t=21);var n=e_(),r=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var a={offset:0,color:e[0].color};e.unshift(a)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var s="",l=0,u=0;u<r.length;u++){for(n=r[u];n>e[l+1].offset;)l++;var c=e[l].offset,d=(n-c)/(e[l+1].offset-c),h=e[l].color,f=e[l+1].color;s+=V(Math.round((1-d)*h[0]+d*f[0]).toString(16))+V(Math.round((1-d)*h[1]+d*f[1]).toString(16))+V(Math.round((1-d)*h[2]+d*f[2]).toString(16))}return s.trim()}(e.colors,t),i=[];
vendor: 4,349 bytes, line 1
1i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),eZ({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),X("endobj"),e.objectNumber=e_(),X("<< /ShadingType "+e.type),X("/ColorSpace /DeviceRGB");var a="/Coords ["+S(parseFloat(e.coords[0]))+" "+S(parseFloat(e.coords[1]))+" ";2===e.type?a+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3])):a+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3]))+" "+S(parseFloat(e.coords[4]))+" "+S(parseFloat(e.coords[5])),X(a+="]"),e.matrix&&X("/Matrix ["+e.matrix.toString()+"]"),X("/Function "+n+" 0 R"),X("/Extend [true true]"),X(">>"),X("endobj")},eX=function(e,t){var n=eR(),r=e_();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(S).join(" ")+"]"}),i.push({key:"XStep",value:S(e.xStep)}),i.push({key:"YStep",value:S(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),eZ({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),X("endobj")},eQ=function(e){for(var t in e.objectNumber=e_(),X("<<"),e)switch(t){case"opacity":X("/ca "+N(e[t]));break;case"stroke-opacity":X("/CA "+N(e[t]))}X(">>"),X("endobj")},eJ=function(e){eF(e.resourcesOid,!0),X("<<"),X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in X("/Font <<"),eg)eg.hasOwnProperty(e)&&(!1===d||!0===d&&h.hasOwnProperty(e))&&X("/"+e+" "+eg[e].objectNumber+" 0 R");X(">>")}(),function(){if(Object.keys(eb).length>0){for(var e in X("/Shading <<"),eb)eb.hasOwnProperty(e)&&eb[e]instanceof av&&eb[e].objectNumber>=0&&X("/"+e+" "+eb[e].objectNumber+" 0 R");ek.publish("putShadingPatternDict"),X(">>")}}(),function(e){if(Object.keys(eb).length>0){for(var t in X("/Pattern <<"),eb)eb.hasOwnProperty(t)&&eb[t]instanceof f.TilingPattern&&eb[t].objectNumber>=0&&eb[t].objectNumber<e&&X("/"+t+" "+eb[t].objectNumber+" 0 R");ek.publish("putTilingPatternDict"),X(">>")}}(e.objectOid),function(){if(Object.keys(ex).length>0){var e;for(e in X("/ExtGState <<"),ex)ex.hasOwnProperty(e)&&ex[e].objectNumber>=0&&X("/"+e+" "+ex[e].objectNumber+" 0 R");ek.publish("putGStateDict"),X(">>")}}(),function(){for(var e in X("/XObject <<"),eP)eP.hasOwnProperty(e)&&eP[e].objectNumber>=0&&X("/"+e+" "+eP[e].objectNumber+" 0 R");ek.publish("putXobjectDict"),X(">>")}(),X(">>"),X("endobj")},e0=function(e){ev[e.fontName]=ev[e.fontName]||{},ev[e.fontName][e.fontStyle]=e.id},e1=function(e,t,n,r,i){var a={id:"F"+(Object.keys(eg).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return ek.publish("addFont",{font:a,instance:this}),eg[a.id]=a,e0(a),a.id},e2=f.__private__.pdfEscape=f.pdfEscape=function(e,t){return(function(e,t){var n,r,i,a,o,s,l,u,c;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&eg[ed].metadata&&eg[ed].metadata[i]&&eg[ed].metadata[i].encoding&&(a=eg[ed].metadata[i].encoding,!o&&eg[ed].encoding&&(o=eg[ed].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(u=o[e.charCodeAt(n)])?s.push(String.fromCharCode(u)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((c=(u=e.charCodeAt(n))>>8)>>8)throw Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(c),s.push(u-(c<<8))}return String.fromCharCode.apply(void 0,s)})(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},e5=f.__private__.beginPage=function(e){G[++eS]=[],eA[eS]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},e6(eS),Y(G[z])},e4=function(e,t){var r,a,o;switch(n=t||n,"string"==typeof e&&Array.isArray(r=v(e.toLowerCase()))&&
vendor: 4,305 bytes, line 1
1(a=r[0],o=r[1]),Array.isArray(e)&&(a=e[0]*eh,o=e[1]*eh),isNaN(a)&&(a=i[0],o=i[1]),(a>14400||o>14400)&&(i0.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),a=Math.min(14400,a),o=Math.min(14400,o)),i=[a,o],n.substr(0,1)){case"l":o>a&&(i=[o,a]);break;case"p":a>o&&(i=[o,a])}e5(i),tP(tk),X(tR),0!==tq&&X(tq+" J"),0!==tH&&X(tH+" j"),ek.publish("addPage",{pageNumber:eS})},e3=function(e){e>0&&e<=eS&&(G.splice(e,1),eA.splice(e,1),eS--,z>eS&&(z=eS),this.setPage(z))},e6=function(e){e>0&&e<=eS&&(z=e)},e8=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return G.length-1},e9=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:eg[ed].fontName,t=void 0!==t?t:eg[ed].fontStyle,void 0!==ev[r=e.toLowerCase()]&&void 0!==ev[r][t]?i=ev[r][t]:void 0!==ev[e]&&void 0!==ev[e][t]?i=ev[e][t]:!1===n.disableWarning&&i0.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=ev.times[t])&&(i=ev.times.normal),i},e7=f.__private__.putInfo=function(){var e=e_(),t=function(e){return e};for(var n in null!==c&&(t=tl.encryptor(e,0)),X("<<"),X("/Producer ("+e2(t("jsPDF "+ab.version))+")"),ec)ec.hasOwnProperty(n)&&ec[n]&&X("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+e2(t(ec[n]))+")");X("/CreationDate ("+e2(t(O))+")"),X(">>"),X("endobj")},te=f.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||eB;switch(e_(),X("<<"),X("/Type /Catalog"),X("/Pages "+t+" 0 R"),en||(en="fullwidth"),en){case"fullwidth":X("/OpenAction [3 0 R /FitH null]");break;case"fullheight":X("/OpenAction [3 0 R /FitV null]");break;case"fullpage":X("/OpenAction [3 0 R /Fit]");break;case"original":X("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+en;"%"===n.substr(n.length-1)&&(en=parseInt(en)/100),"number"==typeof en&&X("/OpenAction [3 0 R /XYZ null null "+N(en)+"]")}switch(es||(es="continuous"),es){case"continuous":X("/PageLayout /OneColumn");break;case"single":X("/PageLayout /SinglePage");break;case"two":case"twoleft":X("/PageLayout /TwoColumnLeft");break;case"tworight":X("/PageLayout /TwoColumnRight")}ea&&X("/PageMode /"+ea),ek.publish("putCatalog"),X(">>"),X("endobj")},tt=f.__private__.putTrailer=function(){X("trailer"),X("<<"),X("/Size "+(U+1)),X("/Root "+U+" 0 R"),X("/Info "+(U-1)+" 0 R"),null!==c&&X("/Encrypt "+tl.oid+" 0 R"),X("/ID [ <"+L+"> <"+L+"> ]"),X(">>")},tn=f.__private__.putHeader=function(){X("%PDF-"+p),X("%\xba\xdf\xac\xe0")},tr=f.__private__.putXRef=function(){var e="0000000000";X("xref"),X("0 "+(U+1)),X("0000000000 65535 f ");for(var t=1;t<=U;t++)"function"==typeof q[t]?X((e+q[t]()).slice(-10)+" 00000 n "):void 0!==q[t]?X((e+q[t]).slice(-10)+" 00000 n "):X("0000000000 00000 n ")},ti=f.__private__.buildDocument=function(){U=0,Z=0,H=[],q=[],W=[],eB=eR(),eV=eR(),Y(H),ek.publish("buildDocument"),tn(),eG(),function(){ek.publish("putAdditionalObjects");for(var e=0;e<W.length;e++){var t=W[e];eF(t.objId,!0),X(t.content),X("endobj")}ek.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in eg)eg.hasOwnProperty(e)&&(!1===d||!0===d&&h.hasOwnProperty(e))&&e$(eg[e])}(),function(){var e;for(e in ex)ex.hasOwnProperty(e)&&eQ(ex[e])}(),function(){for(var e in eP)eP.hasOwnProperty(e)&&eK(eP[e])}(),function(e){var t;for(t in eb)eb.hasOwnProperty(t)&&(eb[t]instanceof av?eY(eb[t]):eb[t]instanceof ay&&eX(eb[t],e))}(e),ek.publish("putResources"),e.forEach(eJ),eJ({resourcesOid:eV,objectOid:Number.MAX_SAFE_INTEGER}),ek.publish("postPutResources"),null!==c&&(tl.oid=e_(),X("<<"),X("/Filter /Standard"),X("/V "+tl.v),X("/R "+tl.r),X("/U <"+tl.toHexString(tl.U)+">"),X("/O <"+tl.toHexString(tl.O)+">"),X("/P "+tl.P),X(">>"),X("endobj")),e7(),te();var e,t=Z;return tr(),tt(),X("startxref"),X(""+t),X("%%EOF"),Y(G[z]),H.join("\n")},ta=f.__private__.getBlob=function(e){return new Blob([J(e)],{type:"application/pdf"})},to=f.output=f.__private__.output=((ej=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return ti();case"save":f.save(t.filename);break;case"arraybuffer":return J(ti());case"blob":return ta(ti());case"bloburi":case"bloburl":if(void 0!==iQ.URL&&"function"==typeof iQ.URL.createObjectURL)return iQ.URL&&iQ.URL.createObjectURL(ta(ti())
1)||void 0;i0.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=ti();try{n=i8(r)}catch(e){n=i8(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(iQ)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",a=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,a="");var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+i+'"'+a+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",s=iQ.open();return null!==s&&s.document.write(o),s}throw Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(iQ)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',u=iQ.open();if(null!==u){u.document.write(l);var c=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=t.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return u}throw Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(iQ))throw Error("The option dataurlnewwindow just works in a browser-environment.");var d='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',h=iQ.open();if(null!==h&&(h.document.write(d),h.document.title=t.filename),h||"undefined"==typeof safari)return h;break;case"datauri":case"dataurl":return iQ.document.location.href=this.output("datauristring",t);default:return null}}).foo=function(){try{return ej.apply(this,arguments)}catch(n){var e=n.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+n.message;if(!iQ.console)throw Error(t);iQ.console.error(t,n),iQ.alert&&alert(t)}},ej.foo.bar=ej,ej.foo),ts=function(e){return!0===Array.isArray(eN)&&eN.indexOf(e)>-1};switch(r){case"pt":eh=1;break;case"mm":eh=72/25.4;break;case"cm":eh=72/2.54;break;case"in":eh=72;break;case"px":eh=1==ts("px_scaling")?.75:96/72;break;case"pc":case"em":eh=12;break;case"ex":eh=6;break;default:if("number"!=typeof r)throw Error("Invalid unit: "+r);eh=r}var tl=null;R(),D();var tu=f.__private__.getPageInfo=f.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:eA[e].objId,pageNumber:e,pageContext:eA[e]}},tc=f.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in eA)if(eA[t].objId===e)break;return tu(t)},td=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:eA[z].objId,pageNumber:z,pageContext:eA[z]}};f.addPage=function(){return e4.apply(this,arguments),this},f.setPage=function(){return e6.apply(this,arguments),Y.call(this,G[z]),this},f.insertPage=function(e){return this.addPage(),this.movePage(z,e),this},f.movePage=function(e,t){var n,r;if(e>t){n=G[e],r=eA[e];for(var i=e;i>t;i--)G[i]=G[i-1],eA[i]=eA[i-1];G[t]=n,eA[t]=r,this.setPage(t)}else if(e<t){n=G[e],r=eA[e];for(var a=e;a<t;a++)G[a]=G[a+1],eA[a]=eA[a+1];G[t]=n,eA[t]=r,this.setPage(t)}return this},f.deletePage=function(){return e3.apply(this,arguments),this},f.__private__.text=f.text=function(e,t,n,r,i){var a,o,s,l,u,c,d,f,p,m=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var g=n;n=t,t=e,e=g}if(arguments[3]instanceof eO==0?(s=arguments[4],l=arguments[5],"object"===(0,tT.A)(d=arguments[3])&&null!==d||("string"==typeof s&&(l=s,s=null),"string"==typeof d&&(l=d,d=null),"number"==typeof d&&(s=d,d=null),r={flags:d,angle:s,align:l})):(A("The transform parameter of text() with a Matrix value"),p=i),isNaN(t)||isNaN(n)||null==e)throw Error("Invalid arguments passed to 
1jsPDF.text");if(0===e.length)return m;var v,y="",x="number"==typeof r.lineHeightFactor?r.lineHeightFactor:tA,C=m.internal.scaleFactor;function E(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function k(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,a=e.concat(),o=[],s=a.length;s--;)"string"==typeof(r=a.shift())?o.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&o.push([(i=t(r[0],r[1],r[2]))[0],i[1],i[2]]);n=o}return n}var N=!1,P=!0;if("string"==typeof e)N=!0;else if(Array.isArray(e)){var T=e.concat();o=[];for(var O,L=T.length;L--;)("string"!=typeof(O=T.shift())||Array.isArray(O)&&"string"!=typeof O[0])&&(P=!1);N=P}if(!1===N)throw Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var M=et/m.internal.scaleFactor,D=M*(x-1);switch(r.baseline){case"bottom":n-=D;break;case"top":n+=M-D;break;case"hanging":n+=M-2*D;break;case"middle":n+=M/2-D}if((c=r.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(m.splitTextToSize(t,c))},[]))),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:e2,activeFontKey:ed,fonts:eg,activeFontSize:et}},ek.publish("preProcessText",a),e=a.text,s=(r=a.options).angle,p instanceof eO==0&&s&&"number"==typeof s){s*=Math.PI/180,0===r.rotationDirection&&(s=-s),w===b&&(s=-s);var j=Math.cos(s),_=Math.sin(s);p=new eO(j,_,-_,j,0,0)}else s&&s instanceof eO&&(p=s);w!==b||p||(p=eM),void 0!==(u=r.charSpace||tV)&&(y+=S(I(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=r.horizontalScale)&&(y+=S(100*f)+" Tz\n"),r.lang;var R=-1,F=void 0!==r.renderingMode?r.renderingMode:r.stroke,z=m.internal.getCurrentPageInfo().pageContext;switch(F){case 0:case!1:case"fill":R=0;break;case 1:case!0:case"stroke":R=1;break;case 2:case"fillThenStroke":R=2;break;case 3:case"invisible":R=3;break;case 4:case"fillAndAddForClipping":R=4;break;case 5:case"strokeAndAddPathForClipping":R=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":R=6;break;case 7:case"addToPathForClipping":R=7}var B=void 0!==z.usedRenderingMode?z.usedRenderingMode:-1;-1!==R?y+=R+" Tr\n":-1!==B&&(y+="0 Tr\n"),-1!==R&&(z.usedRenderingMode=R),l=r.align||"left";var V,U=et*x,q=m.internal.pageSize.getWidth(),H=eg[ed];u=r.charSpace||tV,c=r.maxWidth||0,d=Object.assign({autoencode:!0,noBOM:!0},r.flags);var Z=[],W=function(e){return m.getStringUnitWidth(e,{font:H,charSpace:u,fontSize:et,doKerning:!1})*et/C};if("[object Array]"===Object.prototype.toString.call(e)){o=E(e),"left"!==l&&(V=o.map(W));var G,$,K=0;if("right"===l){t-=V[0],e=[],L=o.length;for(var Y=0;Y<L;Y++)0===Y?($=tM(t),G=tD(n)):($=I(K-V[Y]),G=-U),e.push([o[Y],$,G]),K=V[Y]}else if("center"===l){t-=V[0]/2,e=[],L=o.length;for(var Q=0;Q<L;Q++)0===Q?($=tM(t),G=tD(n)):($=I((K-V[Q])/2),G=-U),e.push([o[Q],$,G]),K=V[Q]}else if("left"===l){e=[],L=o.length;for(var J=0;J<L;J++)e.push(o[J])}else if("justify"===l&&"Identity-H"===H.encoding){e=[],L=o.length,c=0!==c?c:q;for(var ee=0,en=0;en<L;en++)if(G=0===en?tD(n):-U,$=0===en?tM(t):ee,en<L-1){var er=I((c-V[en])/(o[en].split(" ").length-1)),ea=o[en].split(" ");e.push([ea[0]+" ",$,G]),ee=0;for(var eo=1;eo<ea.length;eo++){var es=(W(ea[eo-1]+" "+ea[eo])-W(ea[eo]))*C+er;eo==ea.length-1?e.push([ea[eo],es,0]):e.push([ea[eo]+" ",es,0]),ee-=es}}else e.push([o[en],$,G]);e.push(["",ee,0])}else{if("justify"!==l)throw Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],L=o.length,c=0!==c?c:q,en=0;en<L;en++){G=0===en?tD(n):-U,$=0===en?tM(t):0;var el=o[en].split(" ").length-1,eu=el>0?(c-V[en])/el:0;en<L-1?Z.push(S(I(eu))):Z.push(0),e.push([o[en],$,G])}}}!0===("boolean"==typeof r.R2L?r.R2L:ei)&&(e=k(e,function(e,t,n){return[e.split("").reverse().join(""),t,n]})),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:e2,activeFontKey:ed,fonts:eg,activeFontSize:et}},ek.publish("postProcessText",a),e=a.text,v=a.mutex.isHex||!1;var ec=eg[ed].encoding;"WinAnsiEncoding"!==ec&&"StandardEncoding"!==ec||(e=k(e,function(e,t,n){return[e2(e.split("	").join(Array(r.TabLen||9).join(" ")),d),t,n]})),o=E(e),e=[];for(var eh,ef,ep,em=+!!Array.isArray(o[0]),ev="",ey=function(e,t,n){var i="";return n instanceof eO?(n="number"==typeof r.angle?eL(n,new eO(1,0,0,1,e,t)):eL(new eO(1,0,0,1,e,t),n),w===b&&(n=eL(new eO(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=S(e)+" "+S(t)+" Td\n",i},eb=0;eb<o.length;eb++){switch(ev="",em){case 1:ep=(v?"<":"(")+o[eb][0]+(v?">":")"),eh=parseFloat(o[eb][1]),ef=parseFloat(o[eb][2]);break;case 0:ep=(v?"<":"(")+o[eb]+(v?">":")"),eh=tM(t),ef=tD(n)}void 0!==Z&&void 0!==Z[eb]&&(ev=Z[eb]+" Tw\n"),0===eb?e.push(ev+ey(eh,ef,p)+ep):0===em?e.push(ev+ep):1===em&&e.push(ev+ey(eh,ef,p)+ep)}e=(0===em?e.join(" Tj\nT* "):e.join(" Tj\n"))+" Tj\n";var ew="BT\n/";return ew+=ed+" "+et+" Tf\n",ew+=S(et*x)+" TL\n",ew+=tz+"\n",ew+=y,ew+=e,X(ew+="ET"),h[ed]=!0,m};var th=f.__private__.clip=f.clip=function(e){return X("evenodd"===e?"W*":"W"),this};f.clipEvenOdd=function(){return th("evenodd")},f.__private__.discardPath=f.discardPath=function(){return X("n"),this};var tf=f.__private__.isValidStyle=function(e){var t=!1;return -1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(e){return tf(e)&&(u=e),this};var tp=f.__private__.getStyle=f.getStyle=function(e){var t=u;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},tm=f.close=function(){return X("h"),this};f.stroke=function(){return X("S"),this},f.fill=function(e){return tg("f",e),this},f.fillEvenOdd=function(e){return tg("f*",e),this},f.fillStroke=function(e){return tg("B",e),this},f.fillStrokeEvenOdd=function(e){return tg("B*",e),this};var tg=function(e,t){"object"===(0,tT.A)(t)?tb(t,e):X(e)},tv=function(e){null===e||w===b&&void 0===e||X(e=tp(e))};function ty(e,t,n,r,i){var a=new ay(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix
vendor: 4,177 bytes, line 1
1);return a.stream=this.stream,eD(e+"$$"+this.cloneIndex+++"$$",a),a}var tb=function(e,t){var n=ew[e.key],r=eb[n];if(r instanceof av)X("q"),X(tw(t)),r.gState&&f.setGState(r.gState),X(e.matrix.toString()+" cm"),X("/"+n+" sh"),X("Q");else if(r instanceof ay){var i=new eO(1,0,0,-1,0,t5());e.matrix&&(i=i.multiply(e.matrix||eM),n=ty.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),X("q"),X("/Pattern cs"),X("/"+n+" scn"),r.gState&&f.setGState(r.gState),X(t),X("Q")}},tw=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},tx=f.moveTo=function(e,t){return X(S(I(e))+" "+S(T(t))+" m"),this},tC=f.lineTo=function(e,t){return X(S(I(e))+" "+S(T(t))+" l"),this},tE=f.curveTo=function(e,t,n,r,i,a){return X([S(I(e)),S(T(t)),S(I(n)),S(T(r)),S(I(i)),S(T(a)),"c"].join(" ")),this};f.__private__.line=f.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!tf(i))throw Error("Invalid arguments passed to jsPDF.line");return w===y?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},f.__private__.lines=f.lines=function(e,t,n,r,i,a){var o,s,l,u,c,d,h,f,p,m,g,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],a=a||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!tf(i)||"boolean"!=typeof a)throw Error("Invalid arguments passed to jsPDF.lines");for(tx(t,n),o=r[0],s=r[1],u=e.length,m=t,g=n,l=0;l<u;l++)2===(c=e[l]).length?tC(m=c[0]*o+m,g=c[1]*s+g):(d=c[0]*o+m,h=c[1]*s+g,f=c[2]*o+m,p=c[3]*s+g,tE(d,h,f,p,m=c[4]*o+m,g=c[5]*s+g));return a&&tm(),tv(i),this},f.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":tx(r[0],r[1]);break;case"l":tC(r[0],r[1]);break;case"c":tE.apply(this,r);break;case"h":tm()}}return this},f.__private__.rect=f.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!tf(i))throw Error("Invalid arguments passed to jsPDF.rect");return w===y&&(r=-r),X([S(I(e)),S(T(t)),S(I(n)),S(I(r)),"re"].join(" ")),tv(i),this},f.__private__.triangle=f.triangle=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!tf(o))throw Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,a-r],[e-i,t-a]],e,t,[1,1],o,!0),this},f.__private__.roundedRect=f.roundedRect=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!tf(o))throw Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),a=Math.min(a,.5*r),this.lines([[n-2*i,0],[i*s,0,i,a-a*s,i,a],[0,r-2*a],[0,a*s,-i*s,a,-i,a],[2*i-n,0],[-i*s,0,-i,-a*s,-i,-a],[0,2*a-r],[0,-a*s,i*s,-a,i,-a]],e+i,t,[1,1],o,!0),this},f.__private__.ellipse=f.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!tf(i))throw Error("Invalid arguments passed to jsPDF.ellipse");var a=4/3*(Math.SQRT2-1)*n,o=4/3*(Math.SQRT2-1)*r;return tx(e+n,t),tE(e+n,t-o,e+a,t-r,e,t-r),tE(e-a,t-r,e-n,t-o,e-n,t),tE(e-n,t+o,e-a,t+r,e,t+r),tE(e+a,t+r,e+n,t+o,e+n,t),tv(i),this},f.__private__.circle=f.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!tf(r))throw Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},f.setFont=function(e,t,n){return n&&(t=E(t,n)),ed=e9(e,t,{disableWarning:!1}),this};var tS=f.__private__.getFont=f.getFont=function(){return eg[e9.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var e,t,n={};for(e in ev)if(ev.hasOwnProperty(e))for(t in n[e]=[],ev[e])ev[e].hasOwnProperty(t)&&n[e].push(t);return n},f.addFont=function(e,t,n,r,i){var a=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==a.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==a.indexOf(arguments[3])&&(n=E(n,r)),e1.call(this,e,t,n,i=i||"Identity-H")};var tA,tk=e.lineWidth||.200025,tN=f.__private__.getLineWidth=f.getLineWidth=function(){return tk},tP=f.__private__.setLineWidth=f.setLineWidth=function(e){return tk=e,X(S(I(e))+" w"),this};f.__private__.setLineDash=ab.API.setLineDash=ab.API.setLineDashPattern=function(e,t){if(e=e||[],isNaN(t=t||0)||!Array.isArray(e))throw Error("Invalid arguments passed to 
1jsPDF.setLineDash");return X("["+(e=e.map(function(e){return S(I(e))}).join(" "))+"] "+(t=S(I(t)))+" d"),this};var tI=f.__private__.getLineHeight=f.getLineHeight=function(){return et*tA};f.__private__.getLineHeight=f.getLineHeight=function(){return et*tA};var tO=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(tA=e),this},tL=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return tA};tO(e.lineHeight);var tM=f.__private__.getHorizontalCoordinate=function(e){return I(e)},tD=f.__private__.getVerticalCoordinate=function(e){return w===b?e:eA[z].mediaBox.topRightY-eA[z].mediaBox.bottomLeftY-I(e)},tj=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(e){return S(tM(e))},t_=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(e){return S(tD(e))},tR=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return eU(tR)},f.__private__.setStrokeColor=f.setDrawColor=function(e,t,n,r){return X(tR=eq({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2})),this};var tF=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return eU(tF)},f.__private__.setFillColor=f.setFillColor=function(e,t,n,r){return X(tF=eq({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2})),this};var tz=e.textColor||"0 g",tB=f.__private__.getTextColor=f.getTextColor=function(){return eU(tz)};f.__private__.setTextColor=f.setTextColor=function(e,t,n,r){return tz=eq({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var tV=e.charSpace,tU=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(tV||0)};f.__private__.setCharSpace=f.setCharSpace=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.setCharSpace");return tV=e,this};var tq=0;f.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},f.__private__.setLineCap=f.setLineCap=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return tq=t,X(t+" J"),this};var tH=0;f.__private__.setLineJoin=f.setLineJoin=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return tH=t,X(t+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(e){if(isNaN(e=e||0))throw Error("Invalid argument passed to jsPDF.setLineMiterLimit");return X(S(I(e))+" M"),this},f.GState=am,f.setGState=function(e){(e="string"==typeof e?ex[eC[e]]:tZ(null,e)).equals(eE)||(X("/"+e.id+" gs"),eE=e)};var tZ=function(e,t){if(!e||!eC[e]){var n=!1;for(var r in ex)if(ex.hasOwnProperty(r)&&ex[r].equals(t)){n=!0;break}if(n)t=ex[r];else{var i="GS"+(Object.keys(ex).length+1).toString(10);ex[i]=t,t.id=i}return e&&(eC[e]=t.id),ek.publish("addGState",t),t}};f.addGState=function(e,t){return tZ(e,t),this},f.saveGraphicsState=function(){return X("q"),ey.push({key:ed,size:et,color:tz}),this},f.restoreGraphicsState=function(){X("Q");var e=ey.pop();return ed=e.key,et=e.size,tz=e.color,eE=null,this},f.setCurrentTransformationMatrix=function(e){return X(e.toString()+" cm"),this},f.comment=function(e){return X("#"+e),this};var tW=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},tG=function(e,t,n,r){tW.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return a}
vendor: 4,384 bytes, line 1
1,set:function(e){isNaN(e)||(a=parseFloat(e))}}),this},t$=function(){this.page=eS,this.currentPage=z,this.pages=G.slice(0),this.pagesContext=eA.slice(0),this.x=ef,this.y=ep,this.matrix=em,this.width=tX(z),this.height=tJ(z),this.outputDestination=K,this.id="",this.objectNumber=-1};t$.prototype.restore=function(){eS=this.page,z=this.currentPage,eA=this.pagesContext,G=this.pages,ef=this.x,ep=this.y,em=this.matrix,tQ(z,this.width),t0(z,this.height),K=this.outputDestination};var tK=function(e,t,n,r,i){eT.push(new t$),eS=z=0,G=[],ef=e,ep=t,em=i,e5([n,r])};for(var tY in f.beginFormObject=function(e,t,n,r,i){return tK(e,t,n,r,i),this},f.endFormObject=function(e){return function(e){if(eI[e])eT.pop().restore();else{var t=new t$,n="Xo"+(Object.keys(eP).length+1).toString(10);t.id=n,eI[e]=n,eP[n]=t,ek.publish("addFormObject",t),eT.pop().restore()}}(e),this},f.doFormObject=function(e,t){var n=eP[eI[e]];return X("q"),X(t.toString()+" cm"),X("/"+n.id+" Do"),X("Q"),this},f.getFormObject=function(e){var t=eP[eI[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},f.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(i4(ta(ti()),e),"function"==typeof i4.unload&&iQ.setTimeout&&setTimeout(i4.unload,911),this):new Promise(function(t,n){try{var r=i4(ta(ti()),e);"function"==typeof i4.unload&&iQ.setTimeout&&setTimeout(i4.unload,911),t(r)}catch(e){n(e.message)}})},ab.API)ab.API.hasOwnProperty(tY)&&("events"===tY&&ab.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(ek,ab.API.events):f[tY]=ab.API[tY]);function tX(e){return eA[e].mediaBox.topRightX-eA[e].mediaBox.bottomLeftX}function tQ(e,t){eA[e].mediaBox.topRightX=t+eA[e].mediaBox.bottomLeftX}function tJ(e){return eA[e].mediaBox.topRightY-eA[e].mediaBox.bottomLeftY}function t0(e,t){eA[e].mediaBox.topRightY=t+eA[e].mediaBox.bottomLeftY}var t1=f.getPageWidth=function(e){return tX(e=e||z)/eh},t2=f.setPageWidth=function(e,t){tQ(e,t*eh)},t5=f.getPageHeight=function(e){return tJ(e=e||z)/eh},t4=f.setPageHeight=function(e,t){t0(e,t*eh)};return f.internal={pdfEscape:e2,getStyle:tp,getFont:tS,getFontSize:er,getCharSpace:tU,getTextColor:tB,getLineHeight:tI,getLineHeightFactor:tL,getLineWidth:tN,write:Q,getHorizontalCoordinate:tM,getVerticalCoordinate:tD,getCoordinateString:tj,getVerticalCoordinateString:t_,collections:{},newObject:e_,newAdditionalObject:ez,newObjectDeferred:eR,newObjectDeferredBegin:eF,getFilters:eH,putStream:eZ,events:ek,scaleFactor:eh,pageSize:{getWidth:function(){return t1(z)},setWidth:function(e){t2(z,e)},getHeight:function(){return t5(z)},setHeight:function(e){t4(z,e)}},encryptionOptions:c,encryption:tl,getEncryptor:function(e){return null!==c?tl.encryptor(e,0):function(e){return e}},output:to,getNumberOfPages:e8,pages:G,out:X,f2:N,f3:P,getPageInfo:tu,getPageInfoByObjId:tc,getCurrentPageInfo:td,getPDFVersion:m,Point:tW,Rectangle:tG,Matrix:eO,hasHotfix:ts},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return t1(z)},set:function(e){t2(z,e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return t5(z)},set:function(e){t4(z,e)},enumerable:!0,configurable:!0}),(function(e){for(var t=0,n=ee.length;t<n;t++){var r=e1.call(this,e[t][0],e[t][1],e[t][2],ee[t][3],!0);!1===d&&(h[r]=!0);var i=e[t][0].split("-");e0({id:r,fontName:i[0],fontStyle:i[1]||""})}ek.publish("addFonts",{fonts:eg,dictionary:ev})}).call(f,ee),ed="F1",e4(i,n),ek.publish("initialized"),f}ah.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},ah.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},ah.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},ah.prototype.processOwnerPassword=function(e,t){return ac(as(t).substr(0,5),e)},ah.prototype.encryptor=function(e,t){var n=as(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return ac(n,e)}},am.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||(0,tT.A)(e)!==(0,tT.A)(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>
1=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&0>n.indexOf(t)&&r--;return 0===r},ab.API={events:[]},ab.version="3.0.3";var aw=ab.API,ax=1,aC=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},aE=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},aS=function(e){return e.toFixed(2)},aA=function(e){return e.toFixed(5)};aw.__acroform__={};var ak=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},aN=function(e){return e*ax},aP=function(e){var t=new aZ,n=a3.internal.getHeight(e)||0;return t.BBox=[0,0,Number(aS(a3.internal.getWidth(e)||0)),Number(aS(n))],t},aI=aw.__acroform__.setBit=function(e,t){if(t=t||0,isNaN(e=e||0)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},aT=aw.__acroform__.clearBit=function(e,t){if(t=t||0,isNaN(e=e||0)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},aO=aw.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},aL=aw.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return aO(e,t-1)},aM=aw.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return aI(e,t-1)},aD=aw.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return aT(e,t-1)},aj=aw.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],a=e[1],o=e[2],s=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(a+s)||0,l.upperRight_X=n(i+o)||0,l.upperRight_Y=r(a)||0,[Number(aS(l.lowerLeft_X)),Number(aS(l.lowerLeft_Y)),Number(aS(l.upperRight_X)),Number(aS(l.upperRight_Y))]},a_=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=aR(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+aS(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var a=aP(e);return a.scope=e.scope,a.stream=t.join("\n"),a}},aR=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map(function(e){return e.split("\n")}):i.map(function(e){return[e]});var a=n,o=a3.internal.getHeight(e)||0;o=o<0?-o:o;var s=a3.internal.getWidth(e)||0;s=s<0?-s:s,a++;r:for(;a>0;){t="";var l,u,c=aF("3",e,--a).height,d=e.multiline?o-a:(o-c)/2,h=d+=2,f=0,p=0,m=0;if(a<=0){t="(...) Tj\n",t+="% Width of Text: "+aF(t,e,a=12).width+", FieldWidth:"+s+"\n";break}for(var g="",v=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var b=!1;if(1!==i[y].length&&m!==i[y].length-1){if((c+2)*(v+2)+2>o)continue r;g+=i[y][m],b=!0,p=y,y--}else{g=" "==(g+=i[y][m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w,x,C=parseInt(y),E=(w=g,x=a,C+1<i.length&&aF(w+" "+i[C+1][0],e,x).width<=s-4),S=y>=i.length-1;if(E&&!S){g+=" ",m=0;continue}if(E||S){if(S)p=C;else if(e.multiline&&(c+2)*(v+2)+2>o)continue r}else{if(!e.multiline||(c+2)*(v+2)+2>o)continue r;p=C}}for(var A="",k=f;k<=p;k++){var N=i[k];if(e.multiline){if(k===p){A+=N[m]+" ",m=(m+1)%N.length;continue}if(k===f){A+=N[N.length-1]+" ";continue}}A+=N[0]+" "}switch(u=aF(A=" "==A.substr(A.length-1)?A.substr(0,A.length-1):A,e,a).width,e.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;default:l=2}t+=aS(l)+" "+aS(h)+" Td\n",t+="("+aC(A)+") Tj\n",t+=-aS(l)+" 0 Td\n",h=-(a+2),u=0,f=b?p:p+1,v++,g=""}break}return r.text=t,r.fontSize=a,r},aF=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},az={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},aB=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===n.type&&e.object===n.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},aV=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(aG.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(az)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("Exception while creating AcroformDictionary");ax=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new aW,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}),e.internal.events.subscribe("buildDocument",function(){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&aB(r,e)}}
vendor: 4,157 bytes, line 1
1),e.internal.events.subscribe("putCatalog",function(){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var i=e[r],a=[],o=i.Rect;if(i.Rect&&(i.Rect=aj(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=a3.createDefaultAppearanceStream(i),"object"===(0,tT.A)(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=a_(i);a.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){var l="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var c=i.appearanceStreamContent[u];if(l+="/"+u+" <<",Object.keys(c).length>=1||Array.isArray(c)){for(var r in c)if(c.hasOwnProperty(r)){var d=c[r];"function"==typeof d&&(d=d.call(t,i)),l+="/"+r+" "+d+" ",t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d)}}else"function"==typeof(d=c)&&(d=d.call(t,i)),l+="/"+r+" "+d,t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d);l+=">>"}a.push({key:"AP",value:"<<\n"+l+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t.internal.newObjectDeferredBegin(r.objId,!0),"object"===(0,tT.A)(r)&&"function"==typeof r.putStream&&r.putStream(),delete e[n]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}},aU=aw.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(0!==a&&(i+=" "),(0,tT.A)(e[a])){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),i+="("+aC(r(e[a].toString()))+")"):i+=e[a].toString()}return i+"]"}throw Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},aq=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+aC(r(e))+")"},aH=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};aH.prototype.toString=function(){return this.objId+" 0 R"},aH.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},aH.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:aU(i,this.objId,this.scope)}):i instanceof aH?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var aZ=function(){aH.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}
1),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};ak(aZ,aH);var aW=function(){aH.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+aC(t(e))+")"}},set:function(t){e=t}})};ak(aW,aH);var aG=function e(){aH.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!aL(t,3)},set:function(e){!0==!!e?this.F=aM(t,3):this.F=aD(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof a1)return;a="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+aC(t(a))+")"},set:function(e){a=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a}
1,set:function(e){a=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/ax:u},set:function(e){u=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof a1||this instanceof a5))return aq(d,this.objId,this.scope)},set:function(e){d=e.toString()}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof aQ==0?aq(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof aQ==0?"("===e.substr(0,1)?aE(e.substr(1,e.length-2)):aE(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof aQ==1?aE(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof aQ==1?"/"+e:e}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof aQ==0?aq(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof aQ==0?"("===e.substr(0,1)?aE(e.substr(1,e.length-2)):aE(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof aQ==1?aE(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof aQ==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var p,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(e){m=!!e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(e){p=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,1)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,1):this.Ff=aD(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,2)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,2):this.Ff=aD(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,3)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,3):this.Ff=aD(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};ak(aG,aH);var a$=function(){aG.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return aU(t,this.objId,this.scope)}
1,set:function(e){var n;n=[],"string"==typeof e&&(n=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(e,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,18)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,18):this.Ff=aD(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,19)},set:function(e){!0===this.combo&&(!0==!!e?this.Ff=aM(this.Ff,19):this.Ff=aD(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,20)},set:function(e){!0==!!e?(this.Ff=aM(this.Ff,20),t.sort()):this.Ff=aD(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,22)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,22):this.Ff=aD(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,23)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,23):this.Ff=aD(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,27)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,27):this.Ff=aD(this.Ff,27)}}),this.hasAppearanceStream=!1};ak(a$,aG);var aK=function(){a$.call(this),this.fontName="helvetica",this.combo=!1};ak(aK,a$);var aY=function(){aK.call(this),this.combo=!0};ak(aY,aK);var aX=function(){aY.call(this),this.edit=!0};ak(aX,aY);var aQ=function(){aG.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,15)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,15):this.Ff=aD(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,16)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,16):this.Ff=aD(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,17)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,17):this.Ff=aD(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,26)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,26):this.Ff=aD(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+aC(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,tT.A)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};ak(aQ,aG);var aJ=function(){aQ.call(this),this.pushButton=!0};ak(aJ,aQ);var a0=function(){aQ.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};ak(a0,aQ);var a1=function(){aG.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var e,t,n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+aC(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===(0,tT.A)(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}
vendor: 2,905 bytes, line 1
1),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=a3.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ak(a1,aG),a0.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},a0.prototype.createOption=function(e){var t=new a1;return t.Parent=this,t.optionName=e,this.Kids.push(t),a6.call(this.scope,t),t};var a2=function(){aQ.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=a3.CheckBox.createAppearanceStream()};ak(a2,aQ);var a5=function(){aG.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,13)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,13):this.Ff=aD(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,21)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,21):this.Ff=aD(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,23)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,23):this.Ff=aD(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,24)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,24):this.Ff=aD(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,25)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,25):this.Ff=aD(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,26)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,26):this.Ff=aD(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ak(a5,aG);var a4=function(){a5.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!aL(this.Ff,14)},set:function(e){!0==!!e?this.Ff=aM(this.Ff,14):this.Ff=aD(this.Ff,14)}}),this.password=!0};
vendor: 5,995 bytes, line 1
1ak(a4,a5);var a3={CheckBox:{createAppearanceStream:function(){return{N:{On:a3.CheckBox.YesNormal},D:{On:a3.CheckBox.YesPushDown,Off:a3.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=aR(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+aS(a3.internal.getWidth(e))+" "+aS(a3.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+aS(a.fontSize)+" Tf "+i),n.push("BT"),n.push(a.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=aP(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],a=a3.internal.getHeight(e),o=a3.internal.getWidth(e),s=aR(e,e.caption);return i.push("1 g"),i.push("0 0 "+aS(o)+" "+aS(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+aS(o-1)+" "+aS(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+aS(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+aS(a3.internal.getWidth(e))+" "+aS(a3.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:a3.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=a3.RadioButton.Circle.YesNormal,t.D[e]=a3.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=aP(e);t.scope=e.scope;var n=[],r=a3.internal.getWidth(e)<=a3.internal.getHeight(e)?a3.internal.getWidth(e)/4:a3.internal.getHeight(e)/4,i=Number(((r=Number((.9*r).toFixed(5)))*a3.internal.Bezier_C).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+aA(a3.internal.getWidth(e)/2)+" "+aA(a3.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=[],r=a3.internal.getWidth(e)<=a3.internal.getHeight(e)?a3.internal.getWidth(e)/4:a3.internal.getHeight(e)/4,i=Number((2*(r=Number((.9*r).toFixed(5)))).toFixed(5)),a=Number((i*a3.internal.Bezier_C).toFixed(5)),o=Number((r*a3.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+aA(a3.internal.getWidth(e)/2)+" "+aA(a3.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+aA(a3.internal.getWidth(e)/2)+" "+aA(a3.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=[],r=a3.internal.getWidth(e)<=a3.internal.getHeight(e)?a3.internal.getWidth(e)/4:a3.internal.getHeight(e)/4,i=Number((2*(r=Number((.9*r).toFixed(5)))).toFixed(5)),a=Number((i*a3.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+aA(a3.internal.getWidth(e)/2)+" "+aA(a3.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:a3.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=a3.RadioButton.Cross.YesNormal,t.D[e]=a3.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=aP(e);t.scope=e.scope;var n=[],r=a3.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+aS(a3.internal.getWidth(e)-2)+" "+aS(a3.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(aS(r.x1.x)+" "+aS(r.x1.y)+" m"),n.push(aS(r.x2.x)+" "+aS(r.x2.y)+" l"),n.push(aS(r.x4.x)+" "+aS(r.x4.y)+" m"),n.push(aS(r.x3.x)+" "+aS(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=a3.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+aS(a3.internal.getWidth(e))+" "+aS(a3.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+aS(a3.internal.getWidth(e)-2)+" "+aS(a3.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(aS(n.x1.x)+" "+aS(n.x1.y)+" m"),r.push(aS(n.x2.x)+" "+aS(n.x2.y)+" l"),r.push(aS(n.x4.x)+" "+aS(n.x4.y)+" m"),r.push(aS(n.x3.x)+" "+aS(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=aP(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+aS(a3.internal.getWidth(e))+" "+aS(a3.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};a3.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=a3.internal.getWidth(e),n=a3.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},a3.internal.getWidth=function(e){var t=0;return"object"===(0,tT.A)(e)&&(t=aN(e.Rect[2])),t},a3.internal.getHeight=function(e){var t=0;return"object"===(0,tT.A)(e)&&(t=aN(e.Rect[3])),t};var a6=aw.addField=function(e){if(aV(this,e),!(e instanceof aG))throw Error("Invalid argument passed to 
1jsPDF.addField.");return e.scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};function a8(e){return e.reduce(function(e,t,n){return e[t]=n,e},{})}aw.AcroFormChoiceField=a$,aw.AcroFormListBox=aK,aw.AcroFormComboBox=aY,aw.AcroFormEditBox=aX,aw.AcroFormButton=aQ,aw.AcroFormPushButton=aJ,aw.AcroFormRadioButton=a0,aw.AcroFormCheckBox=a2,aw.AcroFormTextField=a5,aw.AcroFormPasswordField=a4,aw.AcroFormAppearance=a3,aw.AcroForm={ChoiceField:a$,ListBox:aK,ComboBox:aY,EditBox:aX,Button:aQ,PushButton:aJ,RadioButton:a0,CheckBox:a2,TextField:a5,PasswordField:a4,Appearance:a3},ab.AcroForm={ChoiceField:a$,ListBox:aK,ComboBox:aY,EditBox:aX,Button:aQ,PushButton:aJ,RadioButton:a0,CheckBox:a2,TextField:a5,PasswordField:a4,Appearance:a3},ab.AcroForm,function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,t){var i,a,o,s,l,u=n;if("RGBA"===(t=t||n)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(C(e))for(l in r)for(o=r[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e[a]){s=!1;break}if(!0===s){u=l;break}}else for(l in r)for(o=r[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e.charCodeAt(a)){s=!1;break}if(!0===s){u=l;break}}return u===n&&t!==n&&(u=t),u},a=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var a=[];if(a.push({key:"Type",value:"/XObject"}),a.push({key:"Subtype",value:"/Image"}),a.push({key:"Width",value:t.width}),a.push({key:"Height",value:t.height}),t.colorSpace===v.INDEXED?a.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(a.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===v.DEVICE_CMYK&&a.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),a.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&a.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var o="",s=0,l=t.transparency.length;s<l;s++)o+=t.transparency[s]+" "+t.transparency[s]+" ";a.push({key:"Mask",value:"["+o+"]"})}void 0!==t.sMask&&a.push({key:"SMask",value:t.objectId+1+" 0 R"});var u=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:a,alreadyAppliedFilters:u,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var c,d=null!=(c=t.sMaskBitsPerComponent)?c:t.bitsPerComponent,h={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:d,data:t.sMask};"filter"in t&&(h.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(d," /Columns ").concat(t.width),h.filter=t.filter),e.call(this,h)}if(t.colorSpace===v.INDEXED){var f=this.internal.newObject();r({data:S(new Uint8Array(t.palette)),objectId:f}),n("endobj")}},o=function(){var e=this.internal.collections[t+"images"];for(var n in e)a.call(this,e[n])},s=function(){var e,n=this.internal.collections[t+"images"],r=this.internal.write;for(var i in n)r("/I"+(e=n[i]).index,e.objectId,"0","R")},l=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var e=this.internal.collections[t+"images"];return l.call(this),e},c=function(){return Object.keys(this.internal.collections[t+"images"]).length},d=function(t){return"function"==typeof e["process"+t.toUpperCase()]},h=function(e){return"object"===(0,tT.A)(e)&&1===e.nodeType},f=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r,i=""+t.getAttribute("src");if(0===i.indexOf("data:image/"))return i6(unescape(i).split("base64,").pop());var a=e.loadFile(i,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);switch(n){case"PNG":r="image/png";break;case"WEBP":r="image/webp";break;default:r="image/jpeg"}return i6(t.toDataURL(r,1).split("base64,").pop())}},p=function(e){var n=this.internal.collections[t+"images"];if(n){for(var r in n)if(e===n[r].alias)return n[r]}},m=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},g=function(e,t,n,r,i,a){var o=m.call(this,n,r,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=u.call(this);if(n=o[0],r=o[1],c[i.index]=i,a)var d=Math.cos(a*=Math.PI/180),h=Math.sin(a),f=function(e){return e.toFixed(4)},p=[f(d),f(h),f(-1*h),f(d),0,0,"cm"];this.internal.write("q"),a?(this.internal.write(["1 0 0 1",s(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0 0",s(r),"0 0 cm"].join(" "))):this.internal.write([s(n),"0 0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write("1 0 0 -1 0 0 cm"),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},v=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t)|0;else if(C(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t]|0;return r}
1,w=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e||!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var C=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},E=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},S=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=C(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){if("number"==typeof arguments[1]?(t=n,r=arguments[1],i=arguments[2],a=arguments[3],o=arguments[4],s=arguments[5],u=arguments[6],c=arguments[7]):(t=arguments[1],r=arguments[2],i=arguments[3],a=arguments[4],o=arguments[5],s=arguments[6],u=arguments[7],c=arguments[8]),"object"===(0,tT.A)(e=arguments[0])&&!h(e)&&"imageData"in e){var e,t,r,i,a,o,s,u,c,d=e;e=d.imageData,t=d.format||t||n,r=d.x||r||0,i=d.y||i||0,a=d.w||d.width||a,o=d.h||d.height||o,s=d.alias||s,u=d.compression||u,c=d.rotation||d.angle||c}var f=this.internal.getFilters();if(void 0===u&&-1!==f.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(i))throw Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var p=A.call(this,e,t,s,u);return g.call(this,r,i,a,o,p,c),this};var A=function(t,r,a,o){if("string"==typeof t&&i(t)===n){var s,l,u,m,g,v=k(t=unescape(t),!1);(""!==v||void 0!==(v=e.loadFile(t,!0)))&&(t=v)}if(h(t)&&(t=f(t,r)),!d(r=i(t,r)))throw Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(u=a)||0===u.length)&&(a="string"==typeof(m=t)||C(m)?b(m):C(m.data)?b(m.data):null),(s=p.call(this,a))||(t instanceof Uint8Array||"RGBA"===r||(l=t,t=E(t)),s=this["process"+r.toUpperCase()](t,c.call(this),a,((g=o)&&"string"==typeof g&&(g=g.toUpperCase()),g in e.image_compression?g:y.NONE),l)),!s)throw Error("An unknown error occurred whilst processing the image.");return s},k=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var n,r,i="";if("string"==typeof e){r=null!=(n=x(e))?n:e;try{i=i6(r)}catch(e){if(t)throw w(r)?Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(t){var r,a,o="";if(h(t)&&(t=f(t)),"string"==typeof t&&i(t)===n&&(""===(o=k(t,!1))&&(o=e.loadFile(t)||""),t=o),!d(a=i(t)))throw Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if(t instanceof Uint8Array||(t=E(t)),!(r=this["process"+a.toUpperCase()](t)))throw Error("An unknown error occurred whilst processing the image");return r.fileType=a,r}}(ab.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};ab.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,a=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,
1s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,u=!1,c=0;c<l.length&&!u;c++)switch((n=l[c]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var d=0;d<l.length;d++){n=l[d];var h=this.internal.pdfEscape,f=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(p.objId),v=n.title||"Note";p.content=i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+a(n.bounds.x)+" "+o(n.bounds.y+n.bounds.h)+" "+a(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y)+"] ")+"/Contents ("+h(g(n.contents))+")"+(" /Popup "+m.objId)+" 0 R"+(" /P "+s.objId)+" 0 R"+(" /T ("+h(g(v)))+") >>";var y=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+a(n.bounds.x+30)+" "+o(n.bounds.y+n.bounds.h)+" "+a(n.bounds.x+n.bounds.w+30)+" "+o(n.bounds.y)+"] ")+" /Parent "+y,n.open&&(i+=" /Open true"),m.content=i+=" >>",this.internal.write(p.objId,"0 R",m.objId,"0 R");break;case"freetext":r="/Rect ["+a(n.bounds.x)+" "+o(n.bounds.y)+" "+a(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y+n.bounds.h)+"] ";var b=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(f(n.contents))+")"+(" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b)+") /Border [0 0 0] >>",this.internal.write(i);break;case"link":if(n.options.name){var w=this.annotations._nameMap[n.options.name];n.options.pageNumber=w.page,n.options.top=w.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(f(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;default:var x=o(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+x+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,i){var a=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,
1s=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:o(e),y:s(t),w:o(e+n),h:s(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i,a,o=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;return void 0!==r.maxWidth?(a=r.maxWidth,i=Math.ceil(s*this.splitTextToSize(e,a).length)):(a=o,i=s),this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=o/2),"right"===r.align&&(t-=o),this.link(t,n-s,a,i,r),o},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(ab.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,6437
vendor: 6,058 bytes, line 1
17],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&a(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",a=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(a++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,a=0),t===e.length-1&&(r=n,i+=e.charAt(t-(a-1)),t-=a-1,a=0)):(r=n,i+=e.charAt(t-a),t-=a,a=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,n){return o(e)?!1===a(e)?-1:!u(e)||!o(t)&&!o(n)||!o(n)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:c(e)&&o(t)&&!s(t)&&o(n)&&u(n)?3:s(e)||!o(n)?1:2:-1},f=function(e){var n=0,r=0,i=0,a="",s="",l="",u=(e=e||"").split("\\s+"),c=[];for(n=0;n<u.length;n+=1){for(c.push(""),r=0;r<u[n].length;r+=1)a=u[n][r],s=u[n][r-1],l=u[n][r+1],o(a)?(i=h(a,s,l),c[n]+=-1!==i?String.fromCharCode(t[a.charCodeAt(0)][i]):a):c[n]+=a;c[n]=d(c[n])}return c.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([f(t[r][0]),t[r][1],t[r][2]]):n.push([f(t[r])]);e=n}else e=f(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(ab.API),ab.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ab.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return a}
vendor: 4,413 bytes, line 1
1,set:function(e){a=e}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(e){o=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),a=t.scaleFactor||this.internal.scaleFactor,o=0,s=0,l=0,u=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(u.splitTextToSize(t,c))},[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)o<(l=this.getStringUnitWidth(e[d],{font:i})*n)&&(o=l);return 0!==o&&(s=e.length),{w:o/=a,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/a,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=e.cell=function(){e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var e,i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,u&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=i.y+i.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,l,u,c){if(r.call(this),!l)throw Error("No data for PDF table.");var d,h,f,p,m=[],g=[],v=[],y={},b={},w=[],x=[],C=(c=c||{}).autoSize||!1,E=!1!==c.printHeaders,S=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,A=c.margins||Object.assign({width:this.getPageWidth()},t),k="number"==typeof c.padding?c.padding:3,N=c.headerBackgroundColor||"#c8c8c8",P=c.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=E,this.internal.__cell__.margins=A,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=k,this.internal.__cell__.headerBackgroundColor=N,this.internal.__cell__.headerTextColor=P,this.setFontSize(S),null==u)g=m=Object.keys(l[0]),v=m.map(function(){return"left"});else if(Array.isArray(u)&&"object"===(0,tT.A)(u[0]))for(m=u.map(function(e){return e.name}),g=u.map(function(e){return e.prompt||e.name||""}),v=u.map(function(e){return e.align||"left"}),d=0;d<u.length;d+=1)b[u[d].name]=.7499990551181103*u[d].width;else Array.isArray(u)&&"string"==typeof u[0]&&(g=m=u,v=m.map(function(){return"left"}));if(C||Array.isArray(u)&&"string"==typeof u[0])for(d=0;d<m.length;d+=1){for(y[p=m[d]]=l.map(function(e){return e[p]}),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(g[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=y[p],this.setFont(void 0,"normal"),f=0;f<h.length;f+=1)w.push(this.getTextDimensions(h[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);b[p]=Math.max.apply(null,w)+k+k,w=[]}if(E){var I={};for(d=0;d<m.length;d+=1)I[m[d]]={},I[m[d]].text=g[d],I[m[d]].align=v[d];var T=s.call(this,I,b);x=m.map(function(t){return new a(e,n,b[t],T,I[t].text,void 0,I[t].align)}),this.setTableHeaderRow(x),this.printHeaderRow(1,!1)}var O=u.reduce(function(e,t){return e[t.name]=t.align,e},{});for(d=0;d<l.length;
1d+=1){"rowStart"in c&&c.rowStart instanceof Function&&c.rowStart({row:d,data:l[d]},this);var L=s.call(this,l[d],b);for(f=0;f<m.length;f+=1){var M=l[d][m[f]];"cellStart"in c&&c.cellStart instanceof Function&&c.cellStart({row:d,col:f,data:M},this),o.call(this,new a(e,n,b[m[f]],L,M,d+2,O[m[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var s=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map(function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)},this).map(function(e){return this.getLineHeightFactor()*e.length*r/i+n+n},this).reduce(function(e,t){return Math.max(e,t)},0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw Error("Property tableHeaderRow does not exist.");if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var i,s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){i=this.internal.__cell__.tableHeaderRow[u].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,l.push(i)),i.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,i),this.setTextColor(c)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(ab.API);var a9={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},a7=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],oe=a8(a7),ot=[100,200,300,400,500,600,700,800,900],on=a8(ot);function or(e){var t,n,r,i=e.family.replace(/"|'/g,"").toLowerCase(),a=a9[t=(t=e.style)||"normal"]?t:"normal",o=(n=e.weight)?"number"==typeof n?n>=100&&n<=900&&n%100==0?n:400:/^\d00$/.test(n)?parseInt(n):"bold"===n?700:400:400,s="number"==typeof oe[r=(r=e.stretch)||"normal"]?r:"normal";return{family:i,style:a,weight:o,stretch:s,src:e.src||[],ref:e.ref||{name:i,style:[s,a,o].join(" ")}}}function oi(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var oa={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},oo={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function os(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function ol(e){return e.trimLeft()}var ou,oc,od,oh,of,op,om,og,ov,oy=["times"];function ob(e,t,n,r,i){var a=4,o=oC;switch(i){case ab.API.image_compression.FAST:a=1,o=ox;break;case ab.API.image_compression.MEDIUM:a=6,o=oE;break;case ab.API.image_compression.SLOW:a=9,o=oS}var s=nr(e=function(e,t,n,r){for(var i,a=e.length/t,o=new Uint8Array(e.length+a),s=[ow,ox,oC,oE,oS],l=0;l<a;l+=1){var u=l*t,c=e.subarray(u,u+t);if(r)o.set(r(c,n,i),u+l);else{for(var d=s.length,h=[],f=0;f<d;f+=1)h[f]=s[f](c,n,i);var p=function(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))}(h.concat());o.set(h[p],u+l)}i=c}return o}(e,t,Math.ceil(n*r/8),o),{level:a});return ab.API.__addimage__.arrayBufferToBinaryString(s)}function ow(e){var t=Array.apply([],e);return t.unshift(0),t}function ox(e,t){var n=e.length,r=[];r[0]=1;for(var i=0;i<n;i+=1){var a=e[i-t]||0;r[i+1]=e[i]-a+256&255}return r}function oC(e,t,n){var r=e.length,i=[];i[0]=2;for(var a=0;a<r;a+=1){var o=n&&n[a]||0;i[a+1]=e[a]-o+256&255}return i}function oE(e,t,n){var r=e.length,i=[];i[0]=3;for(var a=0;a<r;a+=1){var o=e[a-t]||0,s=n&&n[a]||0;i[a+1]=e[a]+256-(o+s>>>1)&255}return i}function oS(e,t,n){var r=e.length,i=[];i[0]=4;for(var a=0;a<r;a+=1){var o=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),a=Math.abs(e+t-n-n);return r<=i&&r<=a?e:i<=a?t:n}
vendor: 7,034 bytes, line 1
1(e[a-t]||0,n&&n[a]||0,n&&n[a-t]||0);i[a+1]=e[a]-o+256&255}return i}function oA(e,t,n){var r=t*n,i=Math.floor(r/8),a=16-(r-8*i+n);return oN(e,i)>>a&(1<<n)-1}function ok(e,t,n,r){var i,a=n*r,o=Math.floor(a/8),s=16-(a-8*o+r),l=(1<<r)-1;i=oN(e,o)&~(l<<s)&65535|(t&l)<<s,o+1<e.byteLength?e.setUint16(o,i,!1):e.setUint8(o,i>>8&255)}function oN(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function oP(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],a=1<<1+(7&i);e[t++],e[t++];var o=null,s=null;i>>7&&(o=t,s=a,t+=3*a);var l=!0,u=[],c=0,d=null,h=0,f=null;for(this.width=n,this.height=r;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}break;case 249:if(4!==e[t++]||0!==e[t+4])throw Error("Invalid graphics extension block.");var p=e[t++];c=e[t++]|e[t++]<<8,d=e[t++],1&p||(d=null),h=p>>2&7,t++;break;case 254:for(;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}break;default:throw Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m,g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,w=e[t++],x=w>>6&1,C=1<<1+(7&w),E=o,S=s,A=!1;w>>7&&(A=!0,E=t,S=C,t+=3*C);var k=t;for(t++;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}u.push({x:g,y:v,width:y,height:b,has_local_palette:A,palette_offset:E,palette_size:S,data_offset:k,data_length:t-k,transparent_index:d,interlaced:!!x,delay:c,disposal:h});break;case 59:l=!1;break;default:throw Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=u.length)throw Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);oI(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=n-u,d=u,h=4*(i.y*n+i.x),f=4*((i.y+i.height)*n+i.x),p=h,m=4*c;!0===i.interlaced&&(m+=4*n*7);for(var g=8,v=0,y=o.length;v<y;++v){var b=o[v];if(0===d&&(d=u,(p+=m)>=f&&(m=4*c+4*n*(g-1),p=h+(u+c)*(g<<1),g>>=1)),b===l)p+=4;else{var w=e[s+3*b],x=e[s+3*b+1],C=e[s+3*b+2];r[p++]=C,r[p++]=x,r[p++]=w,r[p++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);oI(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=n-u,d=u,h=4*(i.y*n+i.x),f=4*((i.y+i.height)*n+i.x),p=h,m=4*c;!0===i.interlaced&&(m+=4*n*7);for(var g=8,v=0,y=o.length;v<y;++v){var b=o[v];if(0===d&&(d=u,(p+=m)>=f&&(m=4*c+4*n*(g-1),p=h+(u+c)*(g<<1),g>>=1)),b===l)p+=4;else{var w=e[s+3*b],x=e[s+3*b+1],C=e[s+3*b+2];r[p++]=w,r[p++]=x,r[p++]=C,r[p++]=255}--d}}}function oI(e,t,n,r){for(var i=e[t++],a=1<<i,o=a+1,s=o+1,l=i+1,u=(1<<l)-1,c=0,d=0,h=0,f=e[t++],p=new Int32Array(4096),m=null;;){for(;c<16&&0!==f;)d|=e[t++]<<c,c+=8,1===f?f=e[t++]:--f;if(c<l)break;var g=d&u;if(d>>=l,c-=l,g!==a){if(g===o)break;for(var v=g<s?g:m,y=0,b=v;b>a;)b=p[b]>>8,++y;var w=b;if(h+y+ +(v!==g)>r)return void i0.log("Warning, gif stream longer than expected.");n[h++]=w;var x=h+=y;for(v!==g&&(n[h++]=w),b=v;y--;)b=p[b],n[--x]=255&b,b>>=8;null!==m&&s<4096&&(p[s++]=m<<8|w,s>=u+1&&l<12&&(++l,u=u<<1|1)),m=g}else s=o+1,u=(1<<(l=i+1))-1,m=null}return h!==r&&i0.log("Warning, gif stream shorter than expected."),n}function oT(e){var t,n,r,i,a,o=Math.floor,s=Array(64),l=Array(64),u=Array(64),c=Array(64),d=Array(65535),h=Array(65535),f=Array(64),p=Array(64),m=[],g=0,v=7,y=Array(64),b=Array(64),w=Array(64),x=Array(256),C=Array(2048),E=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],S=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],A=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],P=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],T=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],O=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function L(e,t){for(var n=0,r=0,i=[],a=1;a<=16;a++){for(var o=1;o<=e[a];o++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=a,r++,n++;n*=2}return i}function M(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(g|=1<<v),n--,--v<0&&(255==g?(D(255),D(0)):D(g),v=7,g=0)}function D(e){m.push(e)}function j(e){D(e>>8&255),D(255&e)}function _(e,t,n,r,i){for(var a,o=i[0],s=i[240],l=function(e,t){var n,r,i,a,o,s,l,u,c,d,h=0;for(c=0;c<8;++c){n=e[h],r=e[h+1],i=e[h+2],a=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6];var p=n+(u=e[h+7]),m=n-u,g=r+l,v=r-l,y=i+s,b=i-s,w=a+o,x=a-o,C=p+w,E=p-w,S=g+y,A=g-y;e[h]=C+S,e[h+4]=C-S;var k=.707106781*(A+E);e[h+2]=E+k,e[h+6]=E-k;var N=.382683433*((C=x+b)-(A=v+m)),P=.5411961*C+N,I=1.306562965*A+N,T=.707106781*(S=b+v),O=m+T,L=m-T;e[h+5]=L+P,e[h+3]=L-P,e[h+1]=O+I,e[h+7]=O-I,h+=8}for(h=0,c=0;c<8;++c){n=e[h],r=e[h+8],i=e[h+16],a=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48];var M=n+(u=e[h+56]),D=n-u,j=r+l,_=r-l,R=i+s,F=i-s,z=a+o,B=a-o,V=M+z,U=M-z,q=j+R,H=j-R;e[h]=V+q,e[h+32]=V-q;var Z=.707106781*(H+U);e[h+16]=U+Z,e[h+48]=U-Z;var W=.382683433*((V=B+F)-(H=_+D)),G=.5411961*V+W,$=1.306562965*H+W,K=.707106781*(q=F+_),Y=D+K,X=D-K;e[h+40]=X+G,e[h+24]=X-G,e[h+8]=Y+$,e[h+56]=Y-$,h++}for(c=0;c<64;++c)d=e[c]*t[c],f[c]=d>0?d+.5|0:d-.5|0;return f}(e,t),u=0;u<64;++u)p[E[u]]=l[u];var c=p[0]-n;n=p[0],0==c?M(r[0]):(M(r[h[a=32767+c]]),M(d[a]));for(var m=63;m>0&&0==p[m];)m--;if(0==m)return M(o),n;for(var g,v=1;v<=m;){for(var y=v;0==p[v]&&v<=m;)++v;var b=v-y;if(b>=16){g=b>>4;
vendor: 15,350 bytes, line 1
1for(var w=1;w<=g;++w)M(s);b&=15}M(i[(b<<4)+h[a=32767+p[v]]]),M(d[a]),v++}return 63!=m&&M(o),n}function R(e){a!=(e=Math.min(Math.max(e,1),100))&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=o((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[E[n]]=r}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var d=o((i[a]*e+50)/100);d=Math.min(Math.max(d,1),255),l[E[a]]=d}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,p=0;p<8;p++)for(var m=0;m<8;m++)u[f]=1/(s[E[f]]*h[p]*h[m]*8),c[f]=1/(l[E[f]]*h[p]*h[m]*8),f++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),a=e)}this.encode=function(e,a){a&&R(a),m=[],g=0,v=7,j(65496),j(65504),j(16),D(74),D(70),D(73),D(70),D(0),D(1),D(1),D(0),j(1),j(1),D(0),D(0),function(){j(65499),j(132),D(0);for(var e=0;e<64;e++)D(s[e]);D(1);for(var t=0;t<64;t++)D(l[t])}(),f=e.width,p=e.height,j(65472),j(17),D(8),j(p),j(f),D(3),D(1),D(17),D(0),D(2),D(17),D(1),D(3),D(17),D(1),function(){j(65476),j(418),D(0);for(var e=0;e<16;e++)D(S[e+1]);for(var t=0;t<=11;t++)D(A[t]);D(16);for(var n=0;n<16;n++)D(k[n+1]);for(var r=0;r<=161;r++)D(N[r]);D(1);for(var i=0;i<16;i++)D(P[i+1]);for(var a=0;a<=11;a++)D(I[a]);D(17);for(var o=0;o<16;o++)D(T[o+1]);for(var s=0;s<=161;s++)D(O[s])}(),j(65498),j(12),D(3),D(1),D(0),D(2),D(17),D(3),D(17),D(0),D(63),D(0);var o=0,d=0,h=0;g=0,v=7,this.encode.displayName="_encode_";for(var f,p,x,E,L,F,z,B,V,U,q,H=e.data,Z=e.width,W=e.height,G=4*Z,$=0;$<W;){for(x=0;x<G;){for(z=G*$+x,V=-1,U=0,q=0;q<64;q++)B=z+(U=q>>3)*G+(V=4*(7&q)),$+U>=W&&(B-=G*($+1+U-W)),x+V>=G&&(B-=x+V-G+4),E=H[B++],L=H[B++],F=H[B++],y[q]=(C[E]+C[L+256|0]+C[F+512|0]>>16)-128,b[q]=(C[E+768|0]+C[L+1024|0]+C[F+1280|0]>>16)-128,w[q]=(C[E+1280|0]+C[L+1536|0]+C[F+1792|0]>>16)-128;o=_(y,u,o,t,r),d=_(b,c,d,n,i),h=_(w,c,h,n,i),x+=32}$+=8}if(v>=0){var K=[];K[1]=v+1,K[0]=(1<<v+1)-1,M(K)}return j(65497),new Uint8Array(m)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)x[t]=e(t)}(),t=L(S,A),n=L(P,I),r=L(k,N),i=L(T,O),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)h[32767+r]=n,d[32767+r]=[],d[32767+r][1]=n,d[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)h[32767+i]=n,d[32767+i]=[],d[32767+i][1]=n,d[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)C[e]=19595*e,C[e+256|0]=38470*e,C[e+512|0]=7471*e+32768,C[e+768|0]=-11059*e,C[e+1024|0]=-21709*e,C[e+1280|0]=32768*e+8421375,C[e+1536|0]=-27439*e,C[e+1792|0]=-5329*e}(),R(e)}function oO(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function oL(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var a=0;a<i;a++)e[t+a]=n[r+a]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function a(e){return new Int32Array(e)}function o(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,i){for(var a=i[r],o=0;o<a&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));o++)e(n[o],r+1,i)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function u(e,n,r,i,a){t(!(i%r));do e[n+(i-=r)]=a;while(0<i)}function c(e,n,r,i,o){if(t(2328>=o),512>=o)var s=a(512);else if(null==(s=a(o)))return 0;return function(e,n,r,i,o,s){var c,h,f=n,p=1<<r,m=a(16),g=a(16);for(t(0!=o),t(null!=i),t(null!=e),t(0<r),h=0;h<o;++h){if(15<i[h])return 0;++m[i[h]]}if(m[0]==o)return 0;for(g[1]=0,c=1;15>c;++c){if(m[c]>1<<c)return 0;g[c+1]=g[c]+m[c]}for(h=0;h<o;++h)c=i[h],0<i[h]&&(s[g[c]++]=h);if(1==g[15])return(i=new d).g=0,i.value=s[0],u(e,f,1,p,i),p;var v,y=-1,b=p-1,w=0,x=1,C=1,E=1<<r;for(h=0,c=1,o=2;c<=r;++c,o<<=1){if(x+=C<<=1,0>(C-=m[c]))return 0;for(;0<m[c];--m[c])(i=new d).g=c,i.value=s[h++],u(e,f+w,o,E,i),w=l(w,c)}for(c=r+1,o=2;15>=c;++c,o<<=1){if(x+=C<<=1,0>(C-=m[c]))return 0;for(;0<m[c];--m[c]){if(i=new d,(w&b)!=y){for(f+=E,v=1<<(y=c)-r;15>y&&!(0>=(v-=m[y]));)++y,v<<=1;p+=E=1<<(v=y-r),e[n+(y=w&b)].g=v+r,e[n+y].value=f-n-y}i.g=c-r,i.value=s[h++],u(e,f+(w>>r),o,E,i),w=l(w,c)}}return x!=2*g[15]-1?0:p}(e,n,r,i,o,s)}function d(){this.value=this.g=0}function h(){this.value=this.g=0}function f(){this.G=o(5,d),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(ng,h)}function p(e,n,r,i){t(null!=e),t(null!=n),t(0x80000000>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,k(e)}function m(e,t){for(var n=0;0<t--;)n|=P(e,128)<<t;return n}function g(e,t){var n=m(e,t);return N(e)?-n:n}function v(e,n,r,i){var a,o=0;for(t(null!=e),t(null!=n),t(0xfffffff8>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),a=0;a<i;++a)o+=n[r+a]<<8*a;e.Ra=o,e.bb=i,e.oa=n,e.pa=r}function y(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<nb-8>>>0,++e.bb,e.u-=8;E(e)&&(e.h=1,e.u=0)}function b(e,n){if(t(0<=n),!e.h&&n<=ny){var r=C(e)&nv[n];return e.u+=n,y(e),r}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function x(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function C(e){return e.Ra>>>(e.u&nb-1)>>>0}function E(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>nb}function S(e,t){e.u=t,e.h=E(e)}function A(e){e.u>=nw&&(t(e.u>=nw),y(e))}function k(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function N(e){return m(e,1)}function P(e,t){var n=e.Ca;0>e.b&&k(e);var r=e.b,i=n*t>>>8,a=(e.I>>>r>i)+0;for(a?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+nx[r],e.b-=r,e.Ca=(n<<r)-1,a}function I(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function T(e,t){return e[t+0]|e[t+1]<<8}function O(e,t){return T(e,t)|e[t+2]<<16}function L(e,t){return T(e,t)|T(e,t+2)<<16}function M(e,n){return t(null!=e),t(0<n),e.X=a(1<<n),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function j(){this.X=[],this.Xa=this.Mb=0}function _(e,n,r,i){t(null!=r),t(null!=i);var a=r[0],o=i[0];return 0==a&&(a=(e*o+n/2)/n),0==o&&(o=(n*a+e/2)/e),0>=a||0>=o?0:(r[0]=a,i[0]=o,1)}function R(e,t){return e+(1<<t)-1>>>t}function F(e,t){return((0xff00ff00&e)+(0xff00ff00&t)>>>0&0xff00ff00)+((0xff00ff&e)+(0xff00ff&t)>>>0&0xff00ff)>>>0}function z(t,n){e[n]=function(n,r,i,a,o,s,l){var u;for(u=0;u<o;++u){var c=e[t](s[l+u-1],i,a+u);s[l+u]=F(n[r+u],c)}}}function B(){this.ud=this.hd=this.jd=0}function V(e,t){return((0xfefefefe&(e^t))>>>1)+(e&t)>>>0}function U(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function q(e,t){return U(e+(e-t+.5>>1))}function H(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function Z(e,t,n,r,i,a,o){for(r=a[o-1],n=0;n<i;++n)a[o+n]=r=F(e[t+n],r)}function W(e,t,n,r,i){var a;for(a=0;a<n;++a){var o=e[t+a],s=o>>8&255,l=0xff00ff&(l=(l=0xff00ff&o)+((s<<16)+s));r[i+a]=(0xff00ff00&o)+l>>>0}}function G(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function $(e,t,n,r,i,a){var o;for(o=0;o<r;++o){var s=t[n+o],l=s>>>8,u=s,c=255&(c=(c=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));u=255&(u=(u+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),i[a+o]=(0xff00ff00&s)+(c<<16)+u}}function K(t,n,r,i,a){e[n]=function(e,t,n,r,o,s,l,u,c){for(r=l;r<u;++r)for(l=0;l<c;++l)o[s++]=a(n[i(e[t++])])},e[t]=function(t,n,o,s,l,u,c){var d=8>>t.b,h=t.Ea,f=t.K[0],p=t.w;if(8>d)for(t=(1<<t.b)-1,p=(1<<d)-1;n<o;++n){var m,g=0;for(m=0;m<h;++m)m&t||(g=i(s[l++])),u[c++]=a(f[g&p]),g>>=d}else e["VP8LMapColor"+r](s,l,f,p,u,c,n,o,h)}}function Y(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=255&a}}function X(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=255&a,r[i++]=a>>24&255}}function Q(e,t,n,r,i){for(n=t+n;t<n;){var a=(o=e[t++])>>16&240|o>>12&15,o=240&o|o>>28&15;r[i++]=a,r[i++]=o}}function J(e,t,n,r,i){for(n=t+n;t<n;){var a=(o=e[t++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;r[i++]=a,r[i++]=o}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=255&a,r[i++]=a>>8&255,r[i++]=a>>16&255}}function et(e,t,n,i,a,o){if(0==o)for(n=t+n;t<n;)I(i,((o=e[t++])[0]>>24|o[1]>>8&65280|o[2]<<8&0xff0000|o[3]<<24)>>>0),a+=32;else r(i,a,e,t,n)}function en(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function er(e){return e==rc||e==rd||e==rh||e==rf}function ei(){this.eb=[],this.size=this.A=this.fb=0}function ea(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function eo(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ei,this.f.kb=new ea,this.sd=null}function es(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function el(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function eu(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ec(e,t){var n=e.T,i=t.ba.f.RGBA,a=i.eb,o=i.fb+e.ka*i.A,s=rF[t.ba.S],l=e.y,u=e.O,c=e.f,d=e.N,h=e.ea,f=e.W,p=t.cc,m=t.dc,g=t.Mc,v=t.Nc,y=e.ka,b=e.ka+e.T,w=e.U,x=w+1>>1;for(0==y?s(l,u,null,null,c,d,h,f,c,d,h,f,a,o,null,null,w):(s(t.ec,t.fc,l,u,p,m,g,v,c,d,h,f,a,o-i.A,a,o,w),++n);y+2<b;y+=2)p=c,m=d,g=h,v=f,d+=e.Rc,f+=e.Rc,o+=2*i.A,s(l,(u+=2*e.fa)-e.fa,l,u,p,m,g,v,c,d,h,f,a,o-i.A,a,o,w);return u+=e.fa,e.j+b<e.o?(r(t.ec,t.fc,l,u,w),r(t.cc,t.dc,c,d,x),r(t.Mc,t.Nc,h,f,x),n--):1&b||s(l,u,null,null,c,d,h,f,c,d,h,f,a,o+i.A,null,null,w),n}function ed(e,n,r){var i=e.F,a=[e.J];if(null!=i){var o=e.U,s=n.ba.S,l=s==rs||s==rh;n=n.ba.f.RGBA;var u=[0],c=e.ka;u[0]=e.T,e.Kb&&(0==c?--u[0]:(--c,a[0]-=e.width),e.j+e.ka+e.T==e.o&&(u[0]=e.o-e.j-c));var d=n.eb;c=n.fb+c*n.A,e=n2(i,a[0],e.width,o,u,d,c+3*!l,n.A),t(r==u),e&&er(s)&&n0(d,c,l,o,u,n.A)}return 0}function eh(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==ri||n==ro||n==rs||n==rl||12==n||er(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!nf(t.Oa,e,i?11:12))return 0;if(i&&er(n)&&t6(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=eu,e.Kb){if(n=e.U+1>>1,t.memory=a(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ec,t6()}}else alert("todo:EmitYUV");i&&(t.Jb=ed,r&&t4())}if(r&&!rQ){for(e=0;256>e;++e)rJ[e]=89858*(e-128)+rG>>rW,r2[e]=-22014*(e-128)+rG,r1[e]=-45773*(e-128),r0[e]=113618*(e-128)+rG>>rW;for(e=r$;e<rK;++e)t=76283*(e-16)+rG>>rW,r5[e-r$]=eZ(t,255),r4[e-r$]=eZ(t+8>>4,15);rQ=1}return 1}function ef(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function ep(e){e.ma.memory=null}function em(e,t,n,r){return 47!=b(e,8)?0:(t[0]=b(e,14)+1,n[0]=b(e,14)+1,r[0]=b(e,1),0!=b(e,3)?0:!e.h)}function eg(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+b(t,n)+1}function ev(e,t){var n;return 120<t?t-120:1<=(n=((n=rb[t-1])>>4)*e+(8-(15&n)))?n:1}function ey(e,t,n){var r=C(n),i=e[t+=255&r].g-8;return 0<i&&(S(n,n.u+8),r=C(n),t+=e[t].value,t+=r&(1<<i)-1),S(n,n.u+e[t].g),e[t].value}function eb(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ew(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function ex(e,n,i,a){var o=e.ab,s=e.c*n,l=e.C;n=l+n;var u=i,c=a;for(a=e.Ta,i=e.Ua;0<o--;){var d=e.gc[o],h=l,f=n,p=u,m=c,g=(c=a,u=i,d.Ea);switch(t(h<f),t(f<=d.nc),d.hc){case 2:nS(p,m,(f-h)*g,c,u);break;case 0:var v=h,y=f,b=c,w=u,x=(k=d).Ea;0==v&&(nC(p,m,null,null,1,b,w),Z(p,m+1,0,0,x-1,b,w+1),m+=x,w+=x,++v);for(var C=1<<k.b,E=C-1,S=R(x,k.b),A=k.K,k=k.w+(v>>k.b)*S;v<y;){var N=A,P=k,I=1;for(nE(p,m,b,w-x,1,b,w);I<x;){var T=(I&~E)+C;T>x&&(T=x),(0,nI[N[P++]>>8&15])(p,m+ +I,b,w+I-x,T-I,b,w+I),I=T}m+=x,w+=x,++v&E||(k+=S)}f!=d.nc&&r(c,u-g,c,u+(f-h-1)*g,g);break;case 1:for(g=p,y=m,x=(p=d.Ea)-(w=p&~(b=(m=1<<d.b)-1)),v=R(p,d.b),C=d.K,d=d.w+(h>>d.b)*v;h<f;){for(E=C,S=d,A=new B,k=y+w,N=y+p;y<k;)G(E[S++],A),nT(A,g,y,m,c,u),y+=m,u+=m;y<N&&(G(E[S++],A),nT(A,g,y,x,c,u),y+=x,u+=x),++h&b||(d+=v)}break;case 3:if(p==c&&m==u&&0<d.b){for(y=c,p=g=u+(f-h)*g-(w=(f-h)*R(d.Ea,d.b)),m=c,b=u,v=[],w=(x=w)-1;0<=w;--w)v[w]=m[b+w];for(w=x-1;0<=w;--w)y[p+w]=v[w];nA(d,h,f,c,g,c,u)}else nA(d,h,f,p,m,c,u)}u=a,c=i}c!=i&&r(a,i,u,c,s)}function eC(e,n){var r=e.V,i=e.Ba+e.c*e.C,a=n-e.C;if(t(n<=e.l.o),t(16>=a),0<a){var o=e.l,s=e.Ta,l=e.Ua,u=o.width;if(ex(e,a,r,i),a=l=[l],t((r=e.C)<(i=n)),t(o.v<o.va),i>o.o&&(i=o.o),r<o.j){var c=o.j-r;r=o.j,a[0]+=c*u}if(r>=i?r=0:(a[0]+=4*o.v,o.ka=r-o.j,o.U=o.va-o.v,o.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var d=r.f.RGBA,h=(i=r.S,a=o.U,o=o.T,c=d.eb,d.A),f=o;for(d=d.fb+e.Ma*d.A;0<f--;){var p=l,m=a,g=c,v=d;switch(i){case rr:nO(s,p,m,g,v);break;case ri:nL(s,p,m,g,v);break;case rc:nL(s,p,m,g,v),n0(g,v,0,m,1,0);break;case ra:nj(s,p,m,g,v);break;case ro:et(s,p,m,g,v,1);break;case rd:et(s,p,m,g,v,1),n0(g,v,0,m,1,0);break;case rs:et(s,p,m,g,v,0);break;case rh:et(s,p,m,g,v,0),n0(g,v,1,m,1,0);break;case rl:nM(s,p,m,g,v);break;case rf:nM(s,p,m,g,v),n1(g,v,m,1,0);break;case ru:nD(s,p,m,g,v);break;default:t(0)}l+=u,d+=h}e.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function eE(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function eS(e,n,r,i,a,o){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=rR[e.Z]);n<r;++n)rR[e.Z](s,l,i,a,i,a,o),s=i,l=a,a+=o;e.qd=s,e.rd=l}}function eA(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var a=e.l.width,o=r.ca,s=r.tb+a*i,l=e.V,u=e.Ba+e.c*i,c=e.gc;t(1==e.ab),t(3==c[0].hc),nN(c[0],i,n,l,u,o,s),eS(r,i,n,o,s,a)}e.C=e.Ma=n}function ek(e,n,r,i,a,o,s){var l=e.$/i,u=e.$%i,c=e.m,d=e.s,h=r+e.$,f=h;a=r+i*a;var p=r+i*o,m=280+d.ua,g=e.Pb?l:0x1000000,v=0<d.ua?d.Wa:null,y=d.wc,b=h<p?ew(d,u,l):null;t(e.C<o),t(p<=a);var w=!1;r:for(;;){for(;w||h<p;){var x=0;if(l>=g){var k=h-r;t((g=e).Pb),g.wd=g.m,g.xd=k,0<g.s.ua&&D(g.s.Wa,g.s.vb),g=l+rx}if(u&y||(b=ew(d,u,l)),t(null!=b),b.Qb&&(n[h]=b.qb,w=!0),!w)if(A(c),b.jc){x=c,k=n;var N=h,P=b.pd[C(x)&ng-1];t(b.jc),256>P.g?(S(x,x.u+P.g),k[N]=P.value,x=0):(S(x,x.u+P.g-256),t(256<=P.value),x=P.value),0==x&&(w=!0)}else x=ey(b.G[0],b.H[0],c);if(c.h)break;if(w||256>x){if(!w)if(b.nd)n[h]=(b.qb|x<<8)>>>0;else{if(A(c),w=ey(b.G[1],b.H[1],c),A(c),k=ey(b.G[2],b.H[2],c),N=ey(b.G[3],b.H[3],c),c.h)break;n[h]=(N<<24|w<<16|x<<8|k)>>>0}if(w=!1,++h,++u>=i&&(u=0,++l,null!=s&&l<=o&&!(l%16)&&s(e,l),null!=v))for(;f<h;)x=n[f++],v.X[(0x1e35a7bd*x|0)>>>v.Mb]=x}else if(280>x){if(x=eg(x-256,c),k=ey(b.G[4],b.H[4],c),A(c),k=ev(i,k=eg(k,c)),c.h)break;if(h-r<k||a-h<x)break r;for(N=0;N<x;++N)n[h+N]=n[h+N-k];for(h+=x,u+=x;u>=i;
vendor: 6,363 bytes, line 1
1)u-=i,++l,null!=s&&l<=o&&!(l%16)&&s(e,l);if(t(h<=a),u&y&&(b=ew(d,u,l)),null!=v)for(;f<h;)x=n[f++],v.X[(0x1e35a7bd*x|0)>>>v.Mb]=x}else{if(!(x<m))break r;for(w=x-280,t(null!=v);f<h;)x=n[f++],v.X[(0x1e35a7bd*x|0)>>>v.Mb]=x;x=h,t(!(w>>>(k=v).Xa)),n[x]=k.X[w],w=!0}w||t(c.h==E(c))}if(e.Pb&&c.h&&h<a)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&D(e.s.vb,e.s.Wa);else{if(c.h)break;null!=s&&s(e,l>o?o:l),e.a=0,e.$=h-r}return 1}return e.a=3,0}function eN(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function eP(){var t=new tK;return null==t?null:(t.a=0,t.xb=r_,en("Predictor","VP8LPredictors"),en("Predictor","VP8LPredictors_C"),en("PredictorAdd","VP8LPredictorsAdd"),en("PredictorAdd","VP8LPredictorsAdd_C"),nS=W,nT=$,nO=Y,nL=X,nM=Q,nD=J,nj=ee,e.VP8LMapColor32b=nk,e.VP8LMapColor8b=nP,t)}function eI(e,n,r,s,l){for(var u=1,h=[e],p=[n],m=s.m,g=s.s,v=null,y=0;;){if(r)for(;u&&b(m,1);){var w=h,x=p,E=1,k=s.m,N=s.gc[s.ab],P=b(k,2);if(s.Oc&1<<P)u=0;else{switch(s.Oc|=1<<P,N.hc=P,N.Ea=w[0],N.nc=x[0],N.K=[null],++s.ab,t(4>=s.ab),P){case 0:case 1:N.b=b(k,3)+2,E=eI(R(N.Ea,N.b),R(N.nc,N.b),0,s,N.K),N.K=N.K[0];break;case 3:var I,T=b(k,8)+1,O=16<T?0:4<T?1:2<T?2:3;if(w[0]=R(N.Ea,O),N.b=O,I=E=eI(T,1,0,s,N.K)){var L,D=1<<(8>>N.b),j=a(D);if(null==j)I=0;else{var _=N.K[0],z=N.w;for(j[0]=N.K[0][0],L=1;L<+T;++L)j[L]=F(_[z+L],j[L-1]);for(;L<4*D;++L)j[L]=0;N.K[0]=null,N.K[0]=j,I=1}}E=I;break;case 2:break;default:t(0)}u=E}}if(h=h[0],p=p[0],u&&b(m,1)&&!(u=1<=(y=b(m,4))&&11>=y)){s.a=3;break}if(B=u)e:{var B,V,U,q,H=h,Z=p,W=y,G=s.m,$=s.s,K=[null],Y=1,X=0,Q=rw[W];i:for(;;){if(r&&b(G,1)){var J=b(G,3)+2,ee=R(H,J),et=R(Z,J),en=ee*et;if(!eI(ee,et,0,s,K))break;for(K=K[0],$.xc=J,V=0;V<en;++V){var er=K[V]>>8&65535;K[V]=er,er>=Y&&(Y=er+1)}}if(G.h)break;for(U=0;5>U;++U){var ei=rg[U];!U&&0<W&&(ei+=1<<W),X<ei&&(X=ei)}var ea=o(Y*Q,d),eo=Y,es=o(eo,f);if(null==es)var el=null;else t(65536>=eo),el=es;var eu=a(X);if(null==el||null==eu||null==ea){s.a=1;break}for(V=q=0;V<Y;++V){var ec,ed=el[V],eh=ed.G,ef=ed.H,ep=0,em=1,eg=0;for(U=0;5>U;++U){ei=rg[U],eh[U]=ea,ef[U]=q,!U&&0<W&&(ei+=1<<W);a:{var ev,ey=ei,ew=q,ex=0,eC=s.m,eE=b(eC,1);if(i(eu,0,0,ey),eE){var eS=b(eC,1)+1,eA=b(eC,1),eP=b(eC,0==eA?1:8);eu[eP]=1,2==eS&&(eu[eP=b(eC,8)]=1);var eT=1}else{var eO=a(19),eL=b(eC,4)+4;if(19<eL){s.a=3;var eM=0;break a}for(ev=0;ev<eL;++ev)eO[ry[ev]]=b(eC,3);var eD=void 0,ej=void 0,e_=0,eR=s.m,eF=8,ez=o(128,d);o:for(;c(ez,0,7,eO,19);){if(b(eR,1)){var eB=2+2*b(eR,3);if((eD=2+b(eR,eB))>ey)break}else eD=ey;for(ej=0;ej<ey&&eD--;){A(eR);var eV=ez[0+(127&C(eR))];S(eR,eR.u+eV.g);var eU=eV.value;if(16>eU)eu[ej++]=eU,0!=eU&&(eF=eU);else{var eq=16==eU,eH=eU-16,eZ=rm[eH],eW=b(eR,rp[eH])+eZ;if(ej+eW>ey)break o;for(var eG=eq?eF:0;0<eW--;)eu[ej++]=eG}}e_=1;break}e_||(s.a=3),eT=e_}(eT=eT&&!eC.h)&&(ex=c(ea,ew,8,eu,ey)),eT&&0!=ex?eM=ex:(s.a=3,eM=0)}if(0==eM)break i;if(em&&1==rv[U]&&(em=0==ea[q].g),ep+=ea[q].g,q+=eM,3>=U){var e$,eK=eu[0];for(e$=1;e$<ei;++e$)eu[e$]>eK&&(eK=eu[e$]);eg+=eK}}if(ed.nd=em,ed.Qb=0,em&&(ed.qb=(eh[3][ef[3]+0].value<<24|eh[1][ef[1]+0].value<<16|eh[2][ef[2]+0].value)>>>0,0==ep&&256>eh[0][ef[0]+0].value&&(ed.Qb=1,ed.qb+=eh[0][ef[0]+0].value<<8)),ed.jc=!ed.Qb&&6>eg,ed.jc)for(ec=0;ec<ng;++ec){var eY=ec,eX=ed.pd[eY],eQ=ed.G[0][ed.H[0]+eY];256<=eQ.value?(eX.g=eQ.g+256,eX.value=eQ.value):(eX.g=0,eX.value=0,eY>>=eb(eQ,8,eX),eY>>=eb(ed.G[1][ed.H[1]+eY],16,eX),eY>>=eb(ed.G[2][ed.H[2]+eY],0,eX),eb(ed.G[3][ed.H[3]+eY],24,eX))}}$.vc=K,$.Wb=Y,$.Ya=el,$.yc=ea,B=1;break e}B=0}if(!(u=B)){s.a=3;break}if(0<y){if(g.ua=1<<y,!M(g.Wa,y)){s.a=1,u=0;break}}else g.ua=0;var eJ=h,e0=p,e1=s.s,e2=e1.xc;if(s.c=eJ,s.i=e0,e1.md=R(eJ,e2),e1.wc=0==e2?-1:(1<<e2)-1,r){s.xb=rj;break}if(null==(v=a(h*p))){s.a=1,u=0;break}u=(u=ek(s,v,0,h,p,p,null))&&!m.h;break}return u?(null!=l?l[0]=v:(t(null==v),t(r)),s.$=0,r||eN(g)):eN(g),u}function eT(e,n){var r=e.c*e.i;return t(e.c<=n),e.V=a(r+n+16*n),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function eO(e,n){var r=e.C,i=n-r,a=e.V,o=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,u=e.l.width,c=u*s,d=l.ca,h=l.tb+u*r,f=e.Ta,p=e.Ua;ex(e,s,a,o),n5(f,p,d,h,c),eS(l,r,r+s,d,h,u),i-=s,a+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function eL(){this.ub=this.yd=this.td=this.Rb=0}function eM(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function eD(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function ej(){var e;this.Yb=(function e(t,n,r){for(var i=r[n],a=0;a<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));a++)e(t[a],n+1,r)}(e=[],0,[3,11]),e)}function e_(){this.jb=a(3),this.Wc=s([4,8],ej),this.Xc=s([4,17],ej)}function eR(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function eF(){this.ld=this.La=this.dd=this.tc=0}function ez(){this.Na=this.la=0}function eB(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function eV(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function eU(){this.uc=this.M=this.Nb=0,this.wa=Array(new eF),this.Y=0,this.ya=Array(new eV),this.aa=0,this.l=new eW}function eq(){this.y=a(16),this.f=a(8),this.ea=a(8)}function eH(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new eL,this.Kc=new eM,this.ed=new eR,this.Qa=new eD,this.Ic=this.$c=this.Aa=0,this.D=new eU,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,w),this.ia=0,this.pb=o(4,eB),this.Pa=new e_,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new eq),this.Hd=0,this.rb=Array(new ez),this.sb=0,this.wa=Array(new eF),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new eV),this.L=this.aa=0,this.gd=s([4,2],eF),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function eZ(e,t){return 0>e?0:e>t?t:e}function eW(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function eG(){var e=new eH;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,rS||(rS=eX)),e}function e$(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}
vendor: 22,814 bytes, line 1
1function eK(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function eY(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return e$(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,a=n.w,o=n.ha;if(4>o)return e$(e,7,"Truncated header.");var s=r[a+0]|r[a+1]<<8|r[a+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return e$(e,3,"Incorrect keyframe parameters.");if(!l.yd)return e$(e,4,"Frame not displayable.");a+=3,o-=3;var u=e.Kc;if(l.Rb){if(7>o)return e$(e,7,"cannot parse picture header");if(!eK(r,a,o))return e$(e,3,"Bad code word");u.c=16383&(r[a+4]<<8|r[a+3]),u.Td=r[a+4]>>6,u.i=16383&(r[a+6]<<8|r[a+5]),u.Ud=r[a+6]>>6,a+=7,o-=7,e.za=u.c+15>>4,e.Ub=u.i+15>>4,n.width=u.c,n.height=u.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(l.ub>o)return e$(e,7,"bad partition length");p(s=e.m,r,a,l.ub),a+=l.ub,o-=l.ub,l.Rb&&(u.Ld=N(s),u.Kd=N(s)),u=e.Qa;var c,d=e.Pa;if(t(null!=s),t(null!=u),u.Cb=N(s),u.Cb){if(u.Bb=N(s),N(s)){for(u.Fb=N(s),c=0;4>c;++c)u.Zb[c]=N(s)?g(s,7):0;for(c=0;4>c;++c)u.Lb[c]=N(s)?g(s,6):0}if(u.Bb)for(c=0;3>c;++c)d.jb[c]=N(s)?m(s,8):255}else u.Bb=0;if(s.Ka)return e$(e,3,"cannot parse segment header");if((u=e.ed).zd=N(s),u.Tb=m(s,6),u.wb=m(s,3),u.Pc=N(s),u.Pc&&N(s)){for(d=0;4>d;++d)N(s)&&(u.vd[d]=g(s,6));for(d=0;4>d;++d)N(s)&&(u.od[d]=g(s,6))}if(e.L=0==u.Tb?0:u.zd?1:2,s.Ka)return e$(e,3,"cannot parse filter header");var h=o;if(o=c=a,a=c+h,u=h,e.Xb=(1<<m(e.m,2))-1,h<3*(d=e.Xb))r=7;else{for(c+=3*d,u-=3*d,h=0;h<d;++h){var f=r[o+0]|r[o+1]<<8|r[o+2]<<16;f>u&&(f=u),p(e.Jc[+h],r,c,f),c+=f,u-=f,o+=3}p(e.Jc[+d],r,c,u),r=c<a?0:5}if(0!=r)return e$(e,r,"cannot parse partitions");for(r=m(c=e.m,7),o=N(c)?g(c,4):0,a=N(c)?g(c,4):0,u=N(c)?g(c,4):0,d=N(c)?g(c,4):0,c=N(c)?g(c,4):0,h=e.Qa,f=0;4>f;++f){if(h.Cb){var v=h.Zb[f];h.Fb||(v+=r)}else{if(0<f){e.pb[f]=e.pb[0];continue}v=r}var y=e.pb[f];y.Sc[0]=rC[eZ(v+o,127)],y.Sc[1]=rE[eZ(v+0,127)],y.Eb[0]=2*rC[eZ(v+a,127)],y.Eb[1]=101581*rE[eZ(v+u,127)]>>16,8>y.Eb[1]&&(y.Eb[1]=8),y.Qc[0]=rC[eZ(v+d,117)],y.Qc[1]=rE[eZ(v+c,127)],y.lc=v+c}if(!l.Rb)return e$(e,4,"Not a key frame.");for(N(s),l=e.Pa,r=0;4>r;++r){for(o=0;8>o;++o)for(a=0;3>a;++a)for(u=0;11>u;++u)d=P(s,rT[r][o][a][u])?m(s,8):rP[r][o][a][u],l.Wc[r][o].Yb[a][u]=d;for(o=0;17>o;++o)l.Xc[r][o]=l.Wc[r][rO[o]]}return e.kc=N(s),e.kc&&(e.Bd=m(s,8)),e.cb=1}function eX(e,t,n,r,i,a,o){var s=t[i].Yb[n];for(n=0;16>i;++i){if(!P(e,s[n+0]))return i;for(;!P(e,s[n+1]);)if(s=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(P(e,s[n+2])){var u=e,c=0;if(P(u,(h=s)[(d=n)+3]))if(P(u,h[d+6])){for(s=0,d=2*(c=P(u,h[d+8]))+(h=P(u,h[d+9+c])),c=0,h=rA[d];h[s];++s)c+=c+P(u,h[s]);c+=3+(8<<d)}else c=P(u,h[d+7])?7+2*P(u,165)+P(u,145):5+P(u,159);else c=P(u,h[d+4])?3+P(u,h[d+5]):2;s=l[2]}else c=1,s=l[1];l=o+rk[i],0>(u=e).b&&k(u);var d,h=u.b,f=(d=u.Ca>>1)-(u.I>>h)>>31;--u.b,u.Ca+=f,u.Ca|=1,u.I-=(d+1&f)<<h,a[l]=((c^f)-f)*r[(0<i)+0]}return 16}function eQ(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function eJ(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function e0(e,t,n,r,i,a){eJ(e,t,0,n,r+i),eJ(e,t,1,n,r+a),eJ(e,t,2,n,r-a),eJ(e,t,3,n,r-i)}function e1(e){return(20091*e>>16)+e}function e2(e,t,n,r){var i,o=0,s=a(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],u=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-e1(e[t+12]),d=e1(e[t+4])+(35468*e[t+12]>>16);s[o+0]=l+d,s[o+1]=u+c,s[o+2]=u-c,s[o+3]=l-d,o+=4,t++}for(i=o=0;4>i;++i)l=(e=s[o+0]+4)+s[o+8],u=e-s[o+8],c=(35468*s[o+4]>>16)-e1(s[o+12]),eJ(n,r,0,0,l+(d=e1(s[o+4])+(35468*s[o+12]>>16))),eJ(n,r,1,0,u+c),eJ(n,r,2,0,u-c),eJ(n,r,3,0,l-d),o++,r+=32}function e5(e,t,n,r){var i=e[t+0]+4,a=35468*e[t+4]>>16,o=e1(e[t+4]),s=35468*e[t+1]>>16;e0(n,r,0,i+o,e=e1(e[t+1]),s),e0(n,r,1,i+a,e,s),e0(n,r,2,i-a,e,s),e0(n,r,3,i-o,e,s)}function e4(e,t,n,r,i){e2(e,t,n,r),i&&e2(e,t+16,n,r+4)}function e3(e,t,n,r){nR(e,t+0,n,r,1),nR(e,t+32,n,r+128,1)}function e6(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)eJ(n,r,t,i,e)}function e8(e,t,n,r){e[t+0]&&nB(e,t+0,n,r),e[t+16]&&nB(e,t+16,n,r+4),e[t+32]&&nB(e,t+32,n,r+128),e[t+48]&&nB(e,t+48,n,r+128+4)}function e9(e,t,n,r){var i,o=a(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],u=e[t+4+i]-e[t+8+i],c=e[t+0+i]-e[t+12+i];o[0+i]=s+l,o[8+i]=s-l,o[4+i]=c+u,o[12+i]=c-u}for(i=0;4>i;++i)s=(e=o[0+4*i]+3)+o[3+4*i],l=o[1+4*i]+o[2+4*i],u=o[1+4*i]-o[2+4*i],c=e-o[3+4*i],n[r+0]=s+l>>3,n[r+16]=c+u>>3,n[r+32]=s-l>>3,n[r+48]=c-u>>3,r+=64}function e7(e,t,n){var r,i=t-32,a=255-e[i-1];for(r=0;r<n;++r){var o,s=a+e[t-1];for(o=0;o<n;++o)e[t+o]=rt[s+e[i+o]];t+=32}}function te(e,t){e7(e,t,4)}function tt(e,t){e7(e,t,8)}function tn(e,t){e7(e,t,16)}function tr(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function ti(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function ta(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function to(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];ta(r>>5,e,t)}function ts(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];ta(r>>4,e,t)}function tl(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];ta(r>>4,e,t)}function tu(e,t){ta(128,e,t)}function tc(e,t,n){return e+2*t+n+2>>2}function td(e,t){var n,i=t-32;for(i=new Uint8Array([tc(e[i-1],e[i+0],e[i+1]),tc(e[i+0],e[i+1],e[i+2]),tc(e[i+1],e[i+2],e[i+3]),tc(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function th(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96];I(e,t+0,0x1010101*tc(e[t-1-32],n,r)),I(e,t+32,0x1010101*tc(n,r,i)),I(e,t+64,0x1010101*tc(r,i,a)),I(e,t+96,0x1010101*tc(i,a,a))}function tf(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function tp(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+96]=tc(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=tc(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=tc(a,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=tc(o,a,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=tc(s,o,a),e[t+3+32]=e[t+2+0]=tc(l,s,o),e[t+3+0]=tc(u,l,s)}function tm(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],a=e[t+4-32],o=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=tc(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=tc(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=tc(r,i,a),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=tc(i,a,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=tc(a,o,s),e[t+3+64]=e[t+2+96]=tc(o,s,l),e[t+3+96]=tc(s,l,l)}function tg(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+0]=e[t+1+64]=a+o+1>>1,e[t+1+0]=e[t+2+64]=o+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+u+1>>1,e[t+0+96]=tc(i,r,n),e[t+0+64]=tc(r,n,a),e[t+0+32]=e[t+1+96]=tc(n,a,o),e[t+1+32]=e[t+2+96]=tc(a,o,s),e[t+2+32]=e[t+3+96]=tc(o,s,l),e[t+3+32]=tc(s,l,u)}function tv(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],a=e[t+3-32],o=e[t+4-32],s=e[t+5-32],l=e[t+6-32],u=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+a+1>>1,e[t+3+0]=e[t+2+64]=a+o+1>>1,e[t+0+32]=tc(n,r,i),e[t+1+32]=e[t+0+96]=tc(r,i,a),e[t+2+32]=e[t+1+96]=tc(i,a,o),e[t+3+32]=e[t+2+96]=tc(a,o,s),e[t+3+64]=tc(o,s,l),e[t+3+96]=tc(s,l,u)}function ty(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+a+1>>1,e[t+1+0]=tc(n,r,i),e[t+3+0]=e[t+1+32]=tc(r,i,a),e[t+3+32]=e[t+1+64]=tc(i,a,a),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=a}function tb(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96],o=e[t-1-32],s=e[t+0-32],l=e[t+1-32],u=e[t+2-32];e[t+0+0]=e[t+2+32]=n+o+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=a+i+1>>1,e[t+3+0]=tc(s,l,u),e[t+2+0]=tc(o,s,l),e[t+1+0]=e[t+3+32]=tc(n,o,s),e[t+1+32]=e[t+3+64]=tc(r,n,o),e[t+1+64]=e[t+3+96]=tc(i,r,n),e[t+1+96]=tc(a,i,r)}function tw(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function tx(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function tC(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function tE(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];tC(r>>4,e,t)}function tS(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];tC(r>>3,e,t)}function tA(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];tC(r>>3,e,t)}function tk(e,t){tC(128,e,t)}function tN(e,t,n){var r=e[t-n],i=e[t+0],a=3*(i-r)+n7[1020+e[t-2*n]-e[t+n]],o=re[112+(a+4>>3)];e[t-n]=rt[255+r+re[112+(a+3>>3)]],e[t+0]=rt[255+i-o]}function tP(e,t,n,r){var i=e[t+0],a=e[t+n];return rn[255+e[t-2*n]-e[t-n]]>r||rn[255+a-i]>r}function tI(e,t,n,r){return 4*rn[255+e[t-n]-e[t+0]]+rn[255+e[t-2*n]-e[t+n]]<=r}function tT(e,t,n,r,i){var a=e[t-3*n],o=e[t-2*n],s=e[t-n],l=e[t+0],u=e[t+n],c=e[t+2*n],d=e[t+3*n];return 4*rn[255+s-l]+rn[255+o-u]>r?0:rn[255+e[t-4*n]-a]<=i&&rn[255+a-o]<=i&&rn[255+o-s]<=i&&rn[255+d-c]<=i&&rn[255+c-u]<=i&&rn[255+u-l]<=i}function tO(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)tI(e,t+r,n,i)&&tN(e,t+r,n)}function tL(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)tI(e,t+r*n,1,i)&&tN(e,t+r*n,1)}function tM(e,t,n,r){var i;for(i=3;0<i;--i)tO(e,t+=4*n,n,r)}function tD(e,t,n,r){var i;for(i=3;0<i;--i)tL(e,t+=4,n,r)}function tj(e,t,n,r,i,a,o,s){for(a=2*a+1;0<i--;){if(tT(e,t,n,a,o))if(tP(e,t,n,s))tN(e,t,n);else{var l=t,u=e[l-2*n],c=e[l-n],d=e[l+0],h=e[l+n],f=e[l+2*n],p=27*(g=n7[1020+3*(d-c)+n7[1020+u-h]])+63>>7,m=18*g+63>>7,g=9*g+63>>7;e[l-3*n]=rt[255+e[l-3*n]+g],e[l-2*n]=rt[255+u+m],e[l-n]=rt[255+c+p],e[l+0]=rt[255+d-p],e[l+n]=rt[255+h-m],e[l+2*n]=rt[255+f-g]}t+=r}}function t_(e,t,n,r,i,a,o,s){for(a=2*a+1;0<i--;){if(tT(e,t,n,a,o))if(tP(e,t,n,s))tN(e,t,n);else{var l=t,u=e[l-n],c=e[l+0],d=e[l+n],h=re[112+(4+(f=3*(c-u))>>3)],f=re[112+(f+3>>3)],p=h+1>>1;e[l-2*n]=rt[255+e[l-2*n]+p],e[l-n]=rt[255+u+f],e[l+0]=rt[255+c-h],e[l+n]=rt[255+d-p]}t+=r}}function tR(e,t,n,r,i,a){tj(e,t,n,1,16,r,i,a)}function tF(e,t,n,r,i,a){tj(e,t,1,n,16,r,i,a)}function tz(e,t,n,r,i,a){var o;for(o=3;0<o;--o)t_(e,t+=4*n,n,1,16,r,i,a)}function tB(e,t,n,r,i,a){var o;for(o=3;0<o;--o)t_(e,t+=4,1,n,16,r,i,a)}function tV(e,t,n,r,i,a,o,s){tj(e,t,i,1,8,a,o,s),tj(n,r,i,1,8,a,o,s)}function tU(e,t,n,r,i,a,o,s){tj(e,t,1,i,8,a,o,s),tj(n,r,1,i,8,a,o,s)}function tq(e,t,n,r,i,a,o,s){t_(e,t+4*i,i,1,8,a,o,s),t_(n,r+4*i,i,1,8,a,o,s)}function tH(e,t,n,r,i,a,o,s){t_(e,t+4,1,i,8,a,o,s),t_(n,r+4,1,i,8,a,o,s)}function tZ(){this.ba=new eo,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new el,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function tW(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function tG(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function t$(){this.ua=0,this.Wa=new j,this.vb=new j,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new d}function tK(){this.xb=this.a=0,this.l=new eW,this.ca=new eo,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new x,this.Pb=0,this.wd=new x,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new t$,this.ab=0,this.gc=o(4,tG),this.Oc=0}function tY(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new eW,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function tX(e,t,n,r,i,a,o){for(e=null==e?0:e[t+0],t=0;t<o;++t)i[a+t]=e+n[r+t]&255,e=i[a+t]}function tQ(e,t,n,r,i,a,o){var s;if(null==e)tX(null,null,n,r,i,a,o);else for(s=0;s<o;++s)i[a+s]=e[t+s]+n[r+s]&255}function tJ(e,t,n,r,i,a,o){if(null==e)tX(null,null,n,r,i,a,o);else{var s,l=e[t+0],u=l,c=l;for(s=0;s<o;++s)u=c+(l=e[t+s])-u,c=n[r+s]+(-256&u?0>u?0:255:u)&255,u=l,i[a+s]=c}}function t0(e,t,n,r,i,a){for(;0<i--;){var o,s=t+ +!!n,l=t+3*!n;for(o=0;o<r;++o){var u=e[l+4*o];255!=u&&(u*=32897,e[s+4*o+0]=e[s+4*o+0]*u>>23,e[s+4*o+1]=e[s+4*o+1]*u>>23,e[s+4*o+2]=e[s+4*o+2]*u>>23)}t+=a}}function t1(e,t,n,r,i){for(;0<r--;){var a;for(a=0;a<n;++a){var o=e[t+2*a+0],s=15&(u=e[t+2*a+1]),l=4369*s,u=(240&u|u>>4)*l>>16;e[t+2*a+0]=(240&o|o>>4)*l>>16&240|(15&o|o<<4)*l>>16>>4&15,e[t+2*a+1]=240&u|s}t+=i}}function t2(e,t,n,r,i,a,o,s){var l,u,c=255;for(u=0;u<i;++u){for(l=0;l<r;++l){var d=e[t+l];a[o+4*l]=d,c&=d}t+=n,o+=s}return 255!=c}function t5(e,t,n,r,i){var a;for(a=0;a<i;++a)n[r+a]=e[t+a]>>8}function t4(){n0=t0,n1=t1,n2=t2,n5=t5}function t3(n,r,i){e[n]=function(e,n,a,o,s,l,u,c,d,h,f,p,m,g,v,y,b){var w,x=b-1>>1,C=s[l+0]|u[c+0]<<16,E=d[h+0]|f[p+0]<<16;t(null!=e);var S=3*C+E+131074>>2;for(r(e[n+0],255&S,S>>16,m,g),null!=a&&(S=3*E+C+131074>>2,r(a[o+0],255&S,S>>16,v,y)),w=1;w<=x;++w){var A=s[l+w]|u[c+w]<<16,k=d[h+w]|f[p+w]<<16,N=C+A+E+k+524296,P=N+2*(A+E)>>3;S=P+C>>1,C=(N=N+2*(C+k)>>3)+A>>1,r(e[n+2*w-1],255&S,S>>16,m,g+(2*w-1)*i),r(e[n+2*w-0],255&C,C>>16,m,g+(2*w-0)*i),null!=a&&(S=N+E>>1,C=P+k>>1,r(a[o+2*w-1],255&S,S>>16,v,y+(2*w-1)*i),r(a[o+2*w+0],255&C,C>>16,v,y+(2*w+0)*i)),C=A,E=k}1&b||(S=3*C+E+131074>>2,r(e[n+b-1],255&S,S>>16,m,g+(b-1)*i),null!=a&&(S=3*E+C+131074>>2,r(a[o+b-1],255&S,S>>16,v,y+(b-1)*i)))}}function t6(){rF[rr]=rz,rF[ri]=rV,rF[ra]=rB,rF[ro]=rU,rF[rs]=rq,rF[rl]=rH,rF[ru]=rZ,rF[rc]=rV,rF[rd]=rU,rF[rh]=rq,rF[rf]=rH}function t8(e){return e&~rX?0>e?0:255:e>>rY}function t9(e,t){return t8((19077*e>>8)+(26149*t>>8)-14234)}function t7(e,t,n){return t8((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function ne(e,t){return t8((19077*e>>8)+(33050*t>>8)-17685)}function nt(e,t,n,r,i){r[i+0]=t9(e,n),r[i+1]=t7(e,t,n),r[i+2]=ne(e,t)}function nn(e,t,n,r,i){r[i+0]=ne(e,t),r[i+1]=t7(e,t,n),r[i+2]=t9(e,n)}function nr(e,t,n,r,i){var a=t7(e,t,n);t=a<<3&224|ne(e,t)>>3,r[i+0]=248&t9(e,n)|a>>5,r[i+1]=t}function ni(e,t,n,r,i){var a=240&ne(e,t)|15;r[i+0]=240&t9(e,n)|t7(e,t,n)>>4,r[i+1]=a}function na(e,t,n,r,i){r[i+0]=255,nt(e,t,n,r,i+1)}function no(e,t,n,r,i){nn(e,t,n,r,i),r[i+3]=255}function ns(e,t,n,r,i){nt(e,t,n,r,i),r[i+3]=255}function eZ(e,t){return 0>e?0:e>t?t:e}function nl(t,n,r){e[t]=function(e,t,i,a,o,s,l,u,c){for(var d=u+(-2&c)*r;u!=d;)n(e[t+0],i[a+0],o[s+0],l,u),n(e[t+1],i[a+0],o[s+0],l,u+r),t+=2,++a,++s,u+=2*r;1&c&&n(e[t+0],i[a+0],o[s+0],l,u)}}function nu(e,t,n){return 0==n?0==e?0==t?6:5:4*(0==t):n}function nc(e,t,n,r,i){switch(e>>>30){case 3:nR(t,n,r,i,0);break;case 2:nF(t,n,r,i);break;case 1:nB(t,n,r,i)}}function nd(e,t){var n,a,o=t.M,s=t.Nb,l=e.oc,u=e.pc+40,c=e.oc,d=e.pc+584,h=e.oc,f=e.pc+600;for(n=0;16>n;++n)l[u+32*n-1]=129;for(n=0;8>n;++n)c[d+32*n-1]=129,h[f+32*n-1]=129;for(0<o?l[u-1-32]=c[d-1-32]=h[f-1-32]=129:(i(l,u-32-1,127,21),i(c,d-32-1,127,9),i(h,f-32-1,127,9)),a=0;a<e.za;++a){var p=t.ya[t.aa+a];if(0<a){for(n=-1;16>n;++n)r(l,u+32*n-4,l,u+32*n+12,4);for(n=-1;8>n;++n)r(c,d+32*n-4,c,d+32*n+4,4),r(h,f+32*n-4,h,f+32*n+4,4)}var m=e.Gd,g=e.Hd+a,v=p.ad,y=p.Hc;if(0<o&&(r(l,u-32,m[g].y,0,16),r(c,d-32,m[g].f,0,8),r(h,f-32,m[g].ea,0,8)),p.Za){var b=l,w=u-32+16;for(0<o&&(a>=e.za-1?i(b,w,m[g].y[15],4):r(b,w,m[g+1].y,0,4)),n=0;4>n;n++)b[w+128+n]=b[w+256+n]=b[w+384+n]=b[w+0+n];for(n=0;16>n;++n,y<<=2)b=l,w=u+r3[n],rM[p.Ob[n]](b,w),nc(y,v,16*n,b,w)}else if(rL[b=nu(a,o,p.Ob[0])](l,u),0!=y)for(n=0;16>n;++n,y<<=2)nc(y,v,16*n,l,u+r3[n]);for(n=p.Gc,rD[b=nu(a,o,p.Dd)](c,d),rD[b](h,f),y=v,b=c,w=d,255&(p=0|n)&&(170&p?nz(y,256,b,w):nV(y,256,b,w)),p=h,y=f,255&(n>>=8)&&(170&n?nz(v,320,p,y):nV(v,320,p,y)),o<e.Ub-1&&(r(m[g].y,0,l,u+480,16),r(m[g].f,0,c,d+224,8),r(m[g].ea,0,h,f+224,8)),n=8*s*e.B,m=e.sa,g=e.ta+16*a+16*s*e.R,v=e.qa,p=e.ra+8*a+n,y=e.Ha,b=e.Ia+8*a+n,n=0;16>n;++n)r(m,g+n*e.R,l,u+32*n,16);for(n=0;8>n;++n)r(v,p+n*e.B,c,d+32*n,8),r(y,b+n*e.B,h,f+32*n,8)}}function nh(e,r,i,a,o,s,l,u,c){var d=[0],h=[0],f=0,p=null!=c?c.kd:0,m=null!=c?c:new tW;if(null==e||12>i)return 7;m.data=e,m.w=r,m.ha=i,r=[r],i=[i],m.gb=[m.gb];r:{var g=r,y=i,b=m.gb;if(t(null!=e),t(null!=y),t(null!=b),b[0]=0,12<=y[0]&&!n(e,g[0],"RIFF")){if(n(e,g[0]+8,"WEBP")){b=3;break r}var w=L(e,g[0]+4);if(12>w||0xfffffff6<w){b=3;break r}if(p&&w>y[0]-8){b=7;break r}b[0]=w,g[0]+=12,y[0]-=12}b=0}if(0!=b)return b;for(w=0<m.gb[0],i=i[0];;){r:{var C=e;y=r,b=i;var E=d,S=h,A=g=[0];if((P=f=[f])[0]=0,8>b[0])b=7;else{if(!n(C,y[0],"VP8X")){if(10!=L(C,y[0]+4)){b=3;break r}if(18>b[0]){b=7;break r}var k=L(C,y[0]+8),N=1+O(C,y[0]+12);if(0x80000000<=N*(C=1+O(C,y[0]+15))){b=3;break r}null!=A&&(A[0]=k),null!=E&&(E[0]=N),null!=S&&(S[0]=C),y[0]+=18,b[0]-=18,P[0]=1}b=0}}if(f=f[0],g=g[0],0!=b)return b;if(y=!!(2&g),!w&&f)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=l&&(l[0]=y),null!=u&&(u[0]=0),l=d[0],g=h[0],f&&y&&null==c){b=0;break}if(4>i){b=7;break}if(w&&f||!w&&!f&&!n(e,r[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];r:{k=e,b=r,w=i;var P=m.gb;E=m.na,S=m.P,A=m.Sa,N=22,t(null!=k),t(null!=w),C=b[0];var I=w[0];for(t(null!=E),t(null!=A),E[0]=null,S[0]=null,A[0]=0;;){if(b[0]=C,w[0]=I,8>I){b=7;break r}var T=L(k,C+4);if(0xfffffff6<T){b=3;break r}var M=8+T+1&-2;if(N+=M,0<P&&N>P){b=3;break r}if(!n(k,C,"VP8 ")||!n(k,C,"VP8L")){b=0;break r}if(I[0]<M){b=7;break r}n(k,C,"ALPH")||(E[0]=k,S[0]=C+8,A[0]=T),C+=M,I-=M}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=b)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];r:if(P=e,b=r,w=i,E=m.gb[0],S=m.Ja,A=m.xa,C=!n(P,k=b[0],"VP8 "),N=!n(P,k,"VP8L"),t(null!=P),t(null!=w),t(null!=S),t(null!=A),8>w[0])b=7;else{if(C||N){if(P=L(P,k+4),12<=E&&P>E-12){b=3;break r}if(p&&P>w[0]-8){b=7;break r}S[0]=P,b[0]+=8,w[0]-=8,A[0]=N}else A[0]=5<=w[0]&&47==P[k+0]&&!(P[k+4]>>5),S[0]=w[0];b=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],r=r[0],0!=b)break;if(0xfffffff6<m.Ja)return 3;if(null==u||y||(u[0]=m.xa?2:1),l=[l],g=[g],m.xa){if(5>i){b=7;break}u=l,p=g,y=s,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(w=[0],P=[0],E=[0],v(S=new x,e,r,i),em(S,w,P,E)?(null!=u&&(u[0]=w[0]),null!=p&&(p[0]=P[0]),null!=y&&(y[0]=E[0]),e=1):e=0):e=0}else{if(10>i){b=7;break}u=g,null==e||10>i||!eK(e,r+3,i-3)?e=0:(p=e[r+0]|e[r+1]<<8|e[r+2]<<16,y=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=m.Ja||!y||!e?e=0:(l&&(l[0]=y),u&&(u[0]=e),e=1))}if(!e||(l=l[0],g=g[0],f&&(d[0]!=l||h[0]!=g)))return 3;null!=c&&(c[0]=m,c.offset=r-c.w,t(0xfffffff6>r-c.w),t(c.offset==c.ha-i));break}return 0==b||7==b&&f&&null==c?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=a&&(a[0]=l),null!=o&&(o[0]=g),0):b}function nf(e,t,n){var r=t.width,i=t.height,a=0,o=0,s=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,a=e.v,o=e.j,11>n||(a&=-2,o&=-2),0>a||0>o||0>=s||0>=l||a+s>r||o+l>i))return 0;if(t.v=a,t.j=o,t.va=a+s,t.o=o+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!_(s,l,n=[e.ib],a=[e.hb]))return 0;t.ib=n[0],t.hb=a[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function np(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function nm(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,o=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=i||0>=o||s+i>e||l+o>t)return 2;e=i,t=o}if(n.da){if(!_(e,t,i=[n.ib],o=[n.hb]))return 2;e=i[0],t=o[0]}}r.width=e,r.height=t;r:{var u=r.width,c=r.height;if(e=r.S,0>=u||0>=c||!(e>=rr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=o=i=t=0;var d=(l=u*r9[e])*c;if(11>e||(o=(c+1)/2*(t=(u+1)/2),12==e&&(s=(i=u)*c)),null==(c=a(d+2*o+s))){e=1;break r}r.sd=c,11>e?((u=r.f.RGBA).eb=c,u.fb=0,u.A=l,u.size=d):((u=r.f.kb).y=c,u.O=0,u.fa=l,u.Fd=d,u.f=c,u.N=0+d,u.Ab=t,u.Cd=o,u.ea=c,u.W=0+d+o,u.Db=t,u.Ed=o,12==e&&(u.F=c,u.J=0+d+2*o),u.Tc=s,u.lb=i)}if(t=1,i=r.S,o=r.width,s=r.height,i>=rr&&13>i)if(11>i)t&=(l=Math.abs((e=r.f.RGBA).A))*(s-1)+o<=e.size,t&=l>=o*r9[i],t&=null!=e.eb;else{e=r.f.kb,l=(o+1)/2,d=(s+1)/2,u=Math.abs(e.fa),c=Math.abs(e.Ab);var h=Math.abs(e.Db),f=Math.abs(e.lb),p=f*(s-1)+o;t&=u*(s-1)+o<=e.Fd,t&=c*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&u>=o&c>=l&h>=l&null!=e.y&null!=e.f&null!=e.ea,12==i&&(t&=f>=o,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=2*!t}}return 0!=e||null!=n&&n.fd&&(e=np(r)),e}var ng=64,nv=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,0xffffff],ny=24,nb=32,nw=8,nx=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];z("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 0xff000000},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return V(V(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return V(e,t[n-1])},e.Predictor7=function(e,t,n){return V(e,t[n+0])},e.Predictor8=function(e,t,n){return V(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return V(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return V(V(e,t[n-1]),V(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=H(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+H(r>>16&255,e>>16&255,t>>16&255)+H(r>>8&255,e>>8&255,t>>8&255)+H(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(U((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|U((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|U((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|U((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(q((e=V(e,t[n+0]))>>24&255,r>>24&255)<<24|q(e>>16&255,r>>16&255)<<16|q(e>>8&255,r>>8&255)<<8|q(255&e,255&r))>>>0};var nC=e.PredictorAdd0;e.PredictorAdd1=Z,z("Predictor2","PredictorAdd2"),z("Predictor3","PredictorAdd3"),z("Predictor4","PredictorAdd4"),z("Predictor5","PredictorAdd5"),z("Predictor6","PredictorAdd6"),z("Predictor7","PredictorAdd7"),z("Predictor8","PredictorAdd8"),z("Predictor9","PredictorAdd9"),z("Predictor10","PredictorAdd10"),z("Predictor11","PredictorAdd11"),z("Predictor12","PredictorAdd12"),z("Predictor13","PredictorAdd13");var nE=e.PredictorAdd2;K("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),K("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var nS,nA=e.ColorIndexInverseTransform,nk=e.MapARGB,nN=e.VP8LColorIndexInverseTransformAlpha,nP=e.MapAlpha,nI=e.VP8LPredictorsAdd=[];nI.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var nT,nO,nL,nM,nD,nj,n_,nR,nF,nz,nB,nV,nU,nq,nH,nZ,nW,nG,n$,nK,nY,nX,nQ,nJ,n0,n1,n2,n5,n4=a(511),n3=a(2041),n6=a(225),n8=a(767),n9=0,n7=n3,re=n6,rt=n8,rn=n4,rr=0,ri=1,ra=2,ro=3,rs=4,rl=5,ru=6,rc=7,rd=8,rh=9,rf=10,rp=[2,3,7],rm=[3,3,11],rg=[280,256,256,256,40],rv=[0,1,1,1,0],ry=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rb=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,3
vendor: 4,386 bytes, line 1
16,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],rw=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],rx=8,rC=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rE=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],rS=null,rA=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],rk=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],rN=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],rP=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
15,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],rI=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
11,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],rT=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 9,494 bytes, line 1
15,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],rO=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rL=[],rM=[],rD=[],rj=1,r_=2,rR=[],rF=[];t3("UpsampleRgbLinePair",nt,3),t3("UpsampleBgrLinePair",nn,3),t3("UpsampleRgbaLinePair",ns,4),t3("UpsampleBgraLinePair",no,4),t3("UpsampleArgbLinePair",na,4),t3("UpsampleRgba4444LinePair",ni,2),t3("UpsampleRgb565LinePair",nr,2);var rz=e.UpsampleRgbLinePair,rB=e.UpsampleBgrLinePair,rV=e.UpsampleRgbaLinePair,rU=e.UpsampleBgraLinePair,rq=e.UpsampleArgbLinePair,rH=e.UpsampleRgba4444LinePair,rZ=e.UpsampleRgb565LinePair,rW=16,rG=32768,r$=-227,rK=482,rY=6,rX=16383,rQ=0,rJ=a(256),r0=a(256),r1=a(256),r2=a(256),r5=a(rK-r$),r4=a(rK-r$);nl("YuvToRgbRow",nt,3),nl("YuvToBgrRow",nn,3),nl("YuvToRgbaRow",ns,4),nl("YuvToBgraRow",no,4),nl("YuvToArgbRow",na,4),nl("YuvToRgba4444Row",ni,2),nl("YuvToRgb565Row",nr,2);var r3=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],r6=[0,2,8],r8=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,n,s,l,u){var c=ri,d=new tZ,h=new eo;d.ba=h,h.S=c,h.width=[h.width],h.height=[h.height];var f=h.width,p=h.height,m=new es;if(null==m||null==e)var g=2;else t(null!=m),g=nh(e,n,s,m.width,m.height,m.Pd,m.Qd,m.format,null);if(0!=g?f=0:(null!=f&&(f[0]=m.width[0]),null!=p&&(p[0]=m.height[0]),f=1),f){h.width=h.width[0],h.height=h.height[0],null!=l&&(l[0]=h.width),null!=u&&(u[0]=h.height);r:{if(l=new eW,(u=new tW).data=e,u.w=n,u.ha=s,u.kd=1,n=[0],t(null!=u),(0==(e=nh(u.data,u.w,u.ha,null,null,null,n,null,u))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=d),l.data=u.data,l.w=u.w+u.offset,l.ha=u.ha-u.offset,l.put=ef,l.ac=eh,l.bc=ep,l.ma=d,u.xa){if(null==(e=eP())){d=1;break r}if(function(e,n){for(var r=[0],i=[0],a=[0];;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,v(e.m,n.data,n.w,n.ha),!em(e.m,r,i,a)){e.a=3;break}if(e.xb=r_,n.width=r[0],n.height=i[0],!eI(r[0],i[0],1,e,null))break;return 1}return t(0!=e.a),0}(e,l)){if(l=0==(n=nm(l.width,l.height,d.Oa,d.ba))){e:{for(l=e;;){if(null==l){l=0;break e}if(t(null!=l.s.yc),t(null!=l.s.Ya),t(0<l.s.Wb),t(null!=(s=l.l)),t(null!=(u=s.ma)),0!=l.xb){if(l.ca=u.ba,l.tb=u.tb,t(null!=l.ca),!nf(u.Oa,s,ro)){l.a=2;break}if(!eT(l,s.width)||s.da)break;if((s.da||er(l.ca.S))&&t4(),11>l.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=l.ca.f.kb.F&&t4()),l.Pb&&0<l.s.ua&&null==l.s.vb.X&&!M(l.s.vb,l.s.Wa.Xa)){l.a=1;break}l.xb=0}if(!ek(l,l.V,l.Ba,l.c,l.i,s.o,eC))break;u.Dc=l.Ma,l=1;break e}t(0!=l.a),l=0}l=!l}l&&(n=e.a)}else n=e.a}else if((e=new eG).Fa=u.na,e.P=u.P,e.qc=u.Sa,eY(e,l)){if(0==(n=nm(l.width,l.height,d.Oa,d.ba))){if(e.Aa=0,s=d.Oa,t(null!=(u=e)),null!=s){if(0<(f=0>(f=s.Md)?0:100<f?255:255*f/100)){for(p=m=0;4>p;++p)12>(g=u.pb[p]).lc&&(g.ia=f*r8[0>g.lc?0:g.lc]>>3),m|=g.ia;m&&(alert("todo:VP8InitRandom"),u.ia=1)}u.Ga=s.Id,100<u.Ga?u.Ga=100:0>u.Ga&&(u.Ga=0)}(function(e,n){if(null==e)return 0;if(null==n)return e$(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!eY(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=r6[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l,u=e.ed;for(s=0;4>s;++s){if(e.Qa.Cb){var c=e.Qa.Lb[s];e.Qa.Fb||(c+=u.Tb)}else c=u.Tb;for(l=0;1>=l;++l){var d=e.gd[s][l],h=c;if(u.Pc&&(h+=u.vd[0],l&&(h+=u.od[0])),0<(h=0>h?0:63<h?63:h)){var f=h;0<u.wb&&(f=4<u.wb?f>>2:f>>1)>9-u.wb&&(f=9-u.wb),1>f&&(f=1),d.dd=f,d.tc=2*h+f,d.ld=40<=h?2:+(15<=h)}else d.tc=0;d.La=l}}}s=0}else e$(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=1);e:{s=e.Ic,u=4*(f=e.za);var p=32*f,m=f+1,g=0<e.L?f*(0<e.Aa?2:1):0,y=(2==e.Aa?2:1)*f;if((d=u+832+(l=3*(16*s+r6[e.L])/2*p)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)s=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=a(d),e.Fc=0,null==e.Ec){s=e$(e,1,"no memory during frame initialization.");break e}e.Vb=d}d=e.Ec,h=e.Fc,e.Ac=d,e.Bc=h,h+=u,e.Gd=o(p,eq),e.Hd=0,e.rb=o(m+1,ez),e.sb=1,e.wa=g?o(g,eF):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=f),t(!0),e.oc=d,e.pc=h,h+=832,e.ya=o(y,eV),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=f),e.R=16*f,e.B=8*f,f=(p=r6[e.L])*e.R,p=p/2*e.B,e.sa=d,e.ta=h+f,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=l,e.mb=c?d:null,e.nb=c?h:null,t(h+c<=e.Fc+e.Vb),eQ(e),i(e.Ac,e.Bc,0,u),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!n9){for(s=-255;255>=s;++s)n4[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)n3[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)n6[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)n8[255+s]=0>s?0:255<s?255:s;n9=1}n_=e9,nR=e4,nz=e3,nB=e6,nV=e8,nF=e5,nU=tR,nq=tF,nH=tV,nZ=tU,nW=tz,nG=tB,n$=tq,nK=tH,nY=tO,nX=tL,nQ=tM,nJ=tD,rM[0]=tf,rM[1]=te,rM[2]=td,rM[3]=th,rM[4]=tp,rM[5]=tg,rM[6]=tm,rM[7]=tv,rM[8]=tb,rM[9]=ty,rL[0]=to,rL[1]=tn,rL[2]=tr,rL[3]=ti,rL[4]=ts,rL[5]=tl,rL[6]=tu,rD[0]=tE,rD[1]=tt,rD[2]=tw,rD[3]=tx,rD[4]=tA,rD[5]=tS,rD[6]=tk,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var o,s=e.Jc[e.M&e.Xb],l=e.m,u=e;for(o=0;o<u.za;++o){var c=l,d=u,h=d.Ac,f=d.Bc+4*o,p=d.zc,m=d.ya[d.aa+o];if(d.Qa.Bb?m.$b=P(c,d.Pa.jb[0])?2+P(c,d.Pa.jb[2]):P(c,d.Pa.jb[1]):m.$b=0,d.kc&&(m.Ad=P(c,d.Bd)),m.Za=!P(c,145)+0,m.Za){var g=m.Ob,y=0;for(d=0;4>d;++d){var b,w=p[0+d];for(b=0;4>b;++b){w=rI[h[f+b]][w];for(var x=rN[P(c,w[0])];0<x;)x=rN[2*x+P(c,w[x])];w=-x,h[f+b]=w}r(g,y,h,f,4),y+=4,p[0+d]=w}}else w=P(c,156)?P(c,128)?1:3:2*!!P(c,163),m.Ob[0]=w,i(h,f,w,4),i(p,0,w,4);m.Dd=P(c,142)?P(c,114)?P(c,183)?1:3:2:0}if(u.m.Ka)return e$(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(u=s,c=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],o=l.ya[l.aa+l.ja],f=l.kc?o.Ad:0)c.la=h.la=0,o.Za||(c.Na=h.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{if(c=h,h=u,f=l.Pa.Xc,p=l.ya[l.aa+l.ja],m=l.pb[p.$b],d=p.ad,g=0,y=l.rb[l.sb-1],w=b=0,i(d,g,0,384),p.Za)var C,S,k=0,N=f[3];else{x=a(16);var I=c.Na+y.Na;if(I=rS(h,f[1],I,m.Eb,0,x,0),c.Na=y.Na=(0<I)+0,1<I)n_(x,0,d,g);else{var T=x[0]+3>>3;for(x=0;256>x;x+=16)d[g+x]=T}k=1,N=f[0]}var O=15&c.la,L=15&y.la;for(x=0;4>x;++x){var M=1&L;for(T=S=0;4>T;++T)O=O>>1|(M=(I=rS(h,N,I=M+(1&O),m.Sc,k,d,g))>k)<<7,S=S<<2|(3<I?3:1<I?2:0!=d[g+0]),g+=16;O>>=4,L=L>>1|M<<7,b=(b<<8|S)>>>0}for(N=O,k=L>>4,C=0;4>C;C+=2){for(S=0,O=c.la>>4+C,L=y.la>>4+C,x=0;2>x;++x){for(M=1&L,T=0;2>T;++T)I=M+(1&O),O=O>>1|(M=0<(I=rS(h,f[2],I,m.Qc,0,d,g)))<<3,S=S<<2|(3<I?3:1<I?2:0!=d[g+0]),g+=16;O>>=2,L=L>>1|M<<5}w|=S<<4*C,N|=O<<4<<C,k|=(240&L)<<C}c.la=N,y.la=k,p.Hc=b,p.Gc=w,p.ia=43690&w?0:m.ia,f=!(b|w)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[o.$b][o.Za],l.wa[l.Y+l.ja].La|=!f),u.Ka)return e$(e,7,"Premature end-of-file encountered.")}if(eQ(e),l=n,u=1,o=(s=e).D,c=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(o.M=s.M,o.uc=c,nd(s,o),u=1,o=(S=s.D).Nb,c=(w=r6[s.L])*s.R,h=w/2*s.B,x=16*o*s.R,T=8*o*s.B,f=s.sa,p=s.ta-c+x,m=s.qa,d=s.ra-h+T,g=s.Ha,y=s.Ia-h+T,L=0==(O=S.M),b=O>=s.Va-1,2==s.Aa&&nd(s,S),S.uc)for(M=(I=s).D.M,t(I.D.uc),S=I.yb;S<I.Hb;++S){k=S,N=M;var D=(j=(H=I).D).Nb;C=H.R;var j=j.wa[j.Y+k],_=H.sa,R=H.ta+16*D*C+16*k,F=j.dd,z=j.tc;if(0!=z)if(t(3<=z),1==H.L)0<k&&nX(_,R,C,z+4),j.La&&nJ(_,R,C,z),0<N&&nY(_,R,C,z+4),j.La&&nQ(_,R,C,z);else{var B=H.B,V=H.qa,U=H.ra+8*D*B+8*k,q=H.Ha,H=H.Ia+8*D*B+8*k;D=j.ld,0<k&&(nq(_,R,C,z+4,F,D),nZ(V,U,q,H,B,z+4,F,D)),j.La&&(nG(_,R,C,z,F,D),nK(V,U,q,H,B,z,F,D)),0<N&&(nU(_,R,C,z+4,F,D),nH(V,U,q,H,B,z+4,F,D)),j.La&&(nW(_,R,C,z,F,D),n$(V,U,q,H,B,z,F,D))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(S=16*O,O=16*(O+1),L?(l.y=s.sa,l.O=s.ta+x,l.f=s.qa,l.N=s.ra+T,l.ea=s.Ha,l.W=s.Ia+T):(S-=w,l.y=f,l.O=p,l.f=m,l.N=d,l.ea=g,l.W=y),b||(O-=w),O>l.o&&(O=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&S<O&&(l.J=function(e,n,i,o){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=o||i+o>l)return null;if(!e.Cc){if(null==e.ga){if(e.ga=new tY,(k=null==e.ga)||(k=n.width*n.o,t(0==e.Gb.length),e.Gb=a(k),e.Uc=0,null==e.Gb?k=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,k=1),k=!k),!k){k=e.ga;var u=e.Fa,c=e.P,d=e.qc,h=e.mb,f=e.nb,p=c+1,m=d-1,g=k.l;if(t(null!=u&&null!=h&&null!=n),rR[0]=null,rR[1]=tX,rR[2]=tQ,rR[3]=tJ,k.ca=h,k.tb=f,k.c=n.width,k.i=n.height,t(0<k.c&&0<k.i),1>=d)n=0;else if(k.$a=3&u[c+0],k.Z=u[c+0]>>2&3,k.Lc=u[c+0]>>4&3,c=u[c+0]>>6&3,0>k.$a||1<k.$a||4<=k.Z||1<k.Lc||c)n=0;else if(g.put=ef,g.ac=eh,g.bc=ep,g.ma=k,g.width=n.width,g.height=n.height,g.Da=n.Da,g.v=n.v,g.va=n.va,g.j=n.j,g.o=n.o,k.$a)r:{for(t(1==k.$a),n=eP();;){if(null==n){n=0;break r}if(t(null!=k),k.mc=n,n.c=k.c,n.i=k.i,n.l=k.l,n.l.ma=k,n.l.width=k.c,n.l.height=k.i,n.a=0,v(n.m,u,p,m),!eI(k.c,k.i,1,n,null)||(1==n.ab&&3==n.gc[0].hc&&eE(n.s)?(k.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=a(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(k.ic=0,n=eT(n,k.c)),!n))break;n=1;break r}k.mc=null,n=0}else n=m>=k.c*k.i;k=!n}if(k)return null;1!=e.ga.Lc?e.Ga=0:o=l-i}
vendor: 4,683 bytes, line 1
1t(null!=e.ga),t(i+o<=l);r:{if(n=(u=e.ga).c,l=u.l.o,0==u.$a){if(p=e.rc,m=e.Vc,g=e.Fa,c=e.P+1+i*n,d=e.mb,h=e.nb+i*n,t(c<=e.P+e.qc),0!=u.Z)for(t(null!=rR[u.Z]),k=0;k<o;++k)rR[u.Z](p,m,g,c,d,h,n),p=d,m=h,h+=n,c+=n;else for(k=0;k<o;++k)r(d,h,g,c,n),p=d,m=h,h+=n,c+=n;e.rc=p,e.Vc=m}else{if(t(null!=u.mc),n=i+o,t(null!=(k=u.mc)),t(n<=k.i),k.C>=n)n=1;else if(u.ic||t4(),u.ic){u=k.V,p=k.Ba,m=k.c;var y=k.i,b=(g=1,c=k.$/m,d=k.$%m,h=k.m,f=k.s,k.$),w=m*y,x=m*n,C=f.wc,S=b<x?ew(f,d,c):null;t(b<=w),t(n<=y),t(eE(f));e:for(;;){for(;!h.h&&b<x;){if(d&C||(S=ew(f,d,c)),t(null!=S),A(h),256>(y=ey(S.G[0],S.H[0],h)))u[p+b]=y,++b,++d>=m&&(d=0,++c<=n&&!(c%16)&&eA(k,c));else{if(!(280>y)){g=0;break e}y=eg(y-256,h);var k,N,P=ey(S.G[4],S.H[4],h);if(A(h),!(b>=(P=ev(m,P=eg(P,h)))&&w-b>=y)){g=0;break e}for(N=0;N<y;++N)u[p+b+N]=u[p+b+N-P];for(b+=y,d+=y;d>=m;)d-=m,++c<=n&&!(c%16)&&eA(k,c);b<x&&d&C&&(S=ew(f,d,c))}t(h.h==E(h))}eA(k,c>n?n:c);break}!g||h.h&&b<w?(g=0,k.a=h.h?5:3):k.$=b,n=g}else n=ek(k,k.V,k.Ba,k.c,k.i,n,eO);if(!n){o=0;break r}}i+o>=l&&(e.Cc=1),o=1}if(!o)return null;if(e.Cc&&(null!=(o=e.ga)&&(o.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}(s,l,S,O-S),l.F=s.mb,null==l.F&&0==l.F.length)){u=e$(s,3,"Could not decode alpha data.");break e}S<l.j&&(w=l.j-S,S=l.j,t(!(1&w)),l.O+=s.R*w,l.N+=s.B*(w>>1),l.W+=s.B*(w>>1),null!=l.F&&(l.J+=l.width*w)),S<O&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=S-l.j,l.U=l.va-l.v,l.T=O-S,u=l.put(l))}o+1!=s.Ic||b||(r(s.sa,s.ta-c,f,p+16*s.R,c),r(s.qa,s.ra-h,m,d+8*s.B,h),r(s.Ha,s.Ia-h,g,y+8*s.B,h))}if(!u)return e$(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0})(e,l)||(n=e.a)}}else n=e.a;0==n&&null!=d.Oa&&d.Oa.fd&&(n=np(d.ba))}d=n}c=0!=d?null:11>c?h.f.RGBA.eb:h.f.kb.y}else c=null;return c};var r9=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function c(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var d=[0],h=[0],f=[],p=new l,m=function(e,t){var n={},r=0,i=!1,a=0,o=0;if(n.frames=[],!function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){for(c(e,t+=4),t+=8;t<e.length;){var s,l,d,h=function(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}(e,t),f=c(e,t+=4);t+=4;var p=f+(1&f);switch(h){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(d=n.frames[r]).src_off=i?o:t-8,d.src_size=a+f+8,r++,i&&(i=!1,a=0,o=0);break;case"VP8X":(d=n.header={}).feature_flags=e[t];var m=t+4;d.canvas_width=1+u(e,m),m+=3,d.canvas_height=1+u(e,m),m+=3;break;case"ALPH":i=!0,a=p+8,o=t-8;break;case"ANIM":(d=n.header).bgcolor=c(e,t),m=t+4,d.loop_count=e[(s=m)+0]|e[s+1]<<8,m+=2;break;case"ANMF":(d=n.frames[r]={}).offset_x=2*u(e,t),t+=3,d.offset_y=2*u(e,t),t+=3,d.width=1+u(e,t),t+=3,d.height=1+u(e,t),t+=3,d.duration=u(e,t),t+=3,l=e[t++],d.dispose=1&l,d.blend=l>>1&1}"ANMF"!=h&&(t+=p)}return n}}(e,0);m.response=e,m.rgbaoutput=!0,m.dataurl=!1;var g=m.header?m.header:null,v=m.frames?m.frames:null;if(g){g.loop_counter=g.loop_count,d=[g.canvas_height],h=[g.canvas_width];for(var y=0;y<v.length&&0!=v[y].blend;y++);}var b=v[0],w=p.WebPDecodeRGBA(e,b.src_off,b.src_size,h,d);b.rgba=w,b.imgwidth=h[0],b.imgheight=d[0];for(var x=0;x<h[0]*d[0]*4;x++)f[x]=w[x];return this.width=h,this.height=d,this.data=f,this}!function(e){var t,n,r,i,a,o,s,l,u,c=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new l,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new o,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new o,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,o=this.internal.Point,
1s=this.internal.Rectangle,l=this.internal.Matrix,u=new c}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return e}});var t=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return t},set:function(e){t=!!e}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=!!e}});var r=0;Object.defineProperty(this,"posX",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=[,,,,])[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),u.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(e){o=e}});var s=[];Object.defineProperty(this,"pageBreaks",{get:function(){return s},set:function(e){s=e}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(e){e instanceof c&&(u=e)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(e){u.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=h(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=h(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var d=null,f=null;Object.defineProperty(this,"fontFaces",{get:function(){return f},set:function(e){d=null,f=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1];t[2];var r=t[3],i=t[4];t[5];var a=t[6],o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===o?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,n,r=[],i=e.trim();if(""===i)return oy;if(i in oo)return[oo[i]];for(;""!==i;){switch(n=null,t=(i=ol(i)).charAt(0)){case'"':case"'":n=function(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}(i.substring(1),t);break;default:n=function(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}(i)}if(null===n||(r.push(n[0]),""!==(i=ol(n[1]))&&","!==i.charAt(0)))return oy;i=i.replace(/^,/,"")}return r}(a);if(this.fontFaces){var l=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},oa,n.genericFontFamilies||{}),a=null,o=null,s=0;s<t.length;++s)if(i[(a=or(t[s])).family]&&(a.family=i[a.family]),e.hasOwnProperty(a.family)){o=e[a.family];break}if(!(o=o||e[r]))throw Error("Could not find a font-family for the rule '"+os(a)+"' and default family '"+r+"'.");if(o=function(e,t){if(t[e])return t[e];var n=oe[e],r=n<=oe.normal?-1:1,i=oi(t,a7,n,r);if(!i)throw Error("Could not find a matching font-stretch value for "+e);return i}(a.stretch,o),o=function(e,t){if(t[e])return t[e];for(var n=a9[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw Error("Could not find a matching font-style for "+e)}(a.style,o),!(o=function(e,t){if(t[e])return t[e];
1if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=oi(t,ot,on[e],e<400?-1:1);if(!n)throw Error("Could not find a matching font-weight for value "+e);return n}(a.weight,o)))throw Error("Failed to resolve a font for the rule '"+os(a)+"'.");return o}(function(e,t){if(null===d){var n,r;d=function(e){for(var t={},n=0;n<e.length;++n){var r=or(e[n]),i=r.family,a=r.stretch,o=r.style,s=r.weight;t[i]=t[i]||{},t[i][a]=t[i][a]||{},t[i][a][o]=t[i][a][o]||{},t[i][a][o][s]=r}return t}((n=e.getFontList(),r=[],Object.keys(n).forEach(function(e){n[e].forEach(function(t){var n=null;switch(t){case"bold":n={family:e,weight:"bold"};break;case"italic":n={family:e,style:"italic"};break;case"bolditalic":n={family:e,weight:"bold",style:"italic"};break;case"":case"normal":n={family:e}}null!==n&&(n.ref={name:e,style:t},r.push(n))})}),r).concat(t))}return d}(this.pdf,this.fontFaces),s.map(function(e){return{family:e,stretch:"normal",weight:r,style:n}}));this.pdf.setFont(l.ref.name,l.ref.style)}else{var u="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(u="bold"),"italic"===n&&(u+="italic"),0===u.length&&(u="normal");for(var c="",h={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f<s.length;f++){if(void 0!==this.pdf.internal.getFont(s[f],u,{noFallback:!0,disableWarning:!0})){c=s[f];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[f],"bold",{noFallback:!0,disableWarning:!0}))c=s[f],u="bold";else if(void 0!==this.pdf.internal.getFont(s[f],"normal",{noFallback:!0,disableWarning:!0})){c=s[f],u="normal";break}}if(""===c){for(var p=0;p<s.length;p++)if(h[s[p]]){c=h[s[p]];break}}c=""===c?"Times":c,this.pdf.setFont(c,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,R.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,R.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=!!e}})};d.prototype.setLineDash=function(e){this.lineDash=e},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){w.call(this,"fill",!1)},d.prototype.stroke=function(){w.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw i0.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new o(e,t)},d.prototype.closePath=function(){var e=new o(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,tT.A)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new o(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw i0.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new o(n.x,n.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),w.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw i0.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to 
1jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new o(n,r)),a=this.ctx.transform.applyToPoint(new o(e,t));this.path.push({type:"qct",x1:a.x,y1:a.y,x:i.x,y:i.y}),this.ctx.lastPoint=new o(i.x,i.y)},d.prototype.bezierCurveTo=function(e,t,n,r,i,a){if(isNaN(i)||isNaN(a)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw i0.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new o(i,a)),l=this.ctx.transform.applyToPoint(new o(e,t)),u=this.ctx.transform.applyToPoint(new o(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:s.x,y:s.y}),this.ctx.lastPoint=new o(s.x,s.y)},d.prototype.arc=function(e,t,n,r,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw i0.error("jsPDF.context2d.arc: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.arc");if(a=!!a,!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new o(e,t));e=s.x,t=s.y;var l=this.ctx.transform.applyToPoint(new o(0,n)),u=this.ctx.transform.applyToPoint(new o(0,0));n=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:a})},d.prototype.arcTo=function(e,t,n,r,i){throw Error("arcTo not implemented.")},d.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw i0.error("jsPDF.context2d.rect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw i0.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},d.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw i0.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeRect");p.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},d.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw i0.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new c(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw Error("toDataUrl not implemented.")};var h=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var a=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==a)t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=1;else if(null!==(a=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=parseFloat(a[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new i3(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},p=function(){return!!(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw i0.error("jsPDF.context2d.fillText: Invalid arguments",arguments),Error("Invalid arguments passed to 
1jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){var i=D(this.ctx.transform.rotation);P.call(this,{text:e,x:t,y:n,scale:this.ctx.transform.scaleX,angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw i0.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!p.call(this)){r=isNaN(r)?void 0:r;var i=D(this.ctx.transform.rotation);P.call(this,{text:e,x:t,y:n,scale:this.ctx.transform.scaleX,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw i0.error("jsPDF.context2d.measureText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw i0.error("jsPDF.context2d.scale: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new l(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.rotate=function(e){if(isNaN(e))throw i0.error("jsPDF.context2d.rotate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new l(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw i0.error("jsPDF.context2d.translate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new l(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.transform=function(e,t,n,r,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a))throw i0.error("jsPDF.context2d.transform: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new l(e,t,n,r,i,a);this.ctx.transform=this.ctx.transform.multiply(o)},d.prototype.setTransform=function(e,t,n,r,i,a){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,a=isNaN(a)?0:a,this.ctx.transform=new l(e,t,n,r,i,a)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(e,t,n,r,i,a,o,u,c){var d=this.pdf.getImageProperties(e),h=1,f=1,p=1,v=1;void 0!==r&&void 0!==u&&(p=u/r,v=c/i,h=d.width/r*u/r,f=d.height/i*c/i),void 0===a&&(a=t,o=n,t=0,n=0),void 0!==r&&void 0===u&&(u=r,c=i),void 0===r&&void 0===u&&(u=d.width,c=d.height);for(var w,C=this.ctx.transform.decompose(),E=D(C.rotate.shx),S=new l,A=(S=(S=(S=S.multiply(C.translate)).multiply(C.skew)).multiply(C.scale)).applyToRectangle(new s(a-t*p,o-n*v,r*h,i*f)),k=g.call(this,A),N=[],P=0;P<k.length;P+=1)-1===N.indexOf(k[P])&&N.push(k[P]);if(b(N),this.autoPaging)for(var I=N[0],T=N[N.length-1],O=I;O<T+1;O++){this.pdf.setPage(O);var L=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],M=1===O?this.posY+this.margin[0]:this.margin[0],j=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],R=1===O?0:j+(O-2)*_;if(0!==this.ctx.clip_path.length){var F=this.path;w=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(w,this.posX+this.margin[3],-R+M+this.ctx.prevPageLastElemOffset),x.call(this,"fill",!0),this.path=F}var z=JSON.parse(JSON.stringify(A));z=y([z],this.posX+this.margin[3],-R+M+this.ctx.prevPageLastElemOffset)[0];var B=(O>I||O<T)&&m.call(this);B&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],L,_,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",z.x,z.y,z.w,z.h,null,null,E),B&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",A.x,A.y,A.w,A.h,null,null,E)};var g=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+i)/n)+1);break;case"arc":r.push(Math.floor((e.y+i-e.radius)/n)+1),r.push(Math.floor((e.y+i+e.radius)/n)+1);break;case"qct":var a=j(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((a.y+i)/n)+1),r.push(Math.floor((a.y+a.h+i)/n)+1);break;case"bct":var o=_(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;
vendor: 6,044 bytes, line 1
1case"rect":r.push(Math.floor((e.y+i)/n)+1),r.push(Math.floor((e.y+e.h+i)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)v.call(this);return r},v=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,a=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=a},y=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},b=function(e){return e.sort(function(e,t){return e-t})},w=function(e,t){for(var n,r,i=this.fillStyle,a=this.strokeStyle,o=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),u=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),d=JSON.parse(JSON.stringify(this.path)),h=[],f=0;f<d.length;f++)if(void 0!==d[f].x)for(var p=g.call(this,d[f]),w=0;w<p.length;w+=1)-1===h.indexOf(p[w])&&h.push(p[w]);for(var C=0;C<h.length;C++)for(;this.pdf.internal.getNumberOfPages()<h[C];)v.call(this);if(b(h),this.autoPaging)for(var E=h[0],S=h[h.length-1],A=E;A<S+1;A++){this.pdf.setPage(A),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=l,this.lineJoin=u;var k=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],N=1===A?this.posY+this.margin[0]:this.margin[0],P=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],I=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],T=1===A?0:P+(A-2)*I;if(0!==this.ctx.clip_path.length){var O=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(n,this.posX+this.margin[3],-T+N+this.ctx.prevPageLastElemOffset),x.call(this,e,!0),this.path=O}if(r=JSON.parse(JSON.stringify(c)),this.path=y(r,this.posX+this.margin[3],-T+N+this.ctx.prevPageLastElemOffset),!1===t||0===A){var L=(A>E||A<S)&&m.call(this);L&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],k,I,null).clip().discardPath()),x.call(this,e,t),L&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,x.call(this,e,t),this.lineWidth=s;this.path=c},x=function(e,t){if(("stroke"!==e||t||!p.call(this))&&("stroke"===e||t||!f.call(this))){for(var n,r,i=[],a=this.path,o=0;o<a.length;o++){var s=a[o];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var l=i.length;if(a[o-1]&&!isNaN(a[o-1].x)&&(n=[s.x-a[o-1].x,s.y-a[o-1].y],l>0)){for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(s);break}}break;case"bct":n=[s.x1-a[o-1].x,s.y1-a[o-1].y,s.x2-a[o-1].x,s.y2-a[o-1].y,s.x-a[o-1].x,s.y-a[o-1].y],i[i.length-1].deltas.push(n);break;case"qct":var u=a[o-1].x+2/3*(s.x1-a[o-1].x),c=a[o-1].y+2/3*(s.y1-a[o-1].y),d=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),m=s.x,g=s.y;n=[u-a[o-1].x,c-a[o-1].y,d-a[o-1].x,h-a[o-1].y,m-a[o-1].x,g-a[o-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var v=!1,y=0;y<i.length;y++)if(i[y].arc)for(var b=i[y].abs,w=0;w<b.length;w++){var x=b[w];"arc"===x.type?S.call(this,x.x,x.y,x.radius,x.startAngle,x.endAngle,x.counterclockwise,void 0,t,!v):I.call(this,x.x,x.y),v=!0}else if(!0===i[y].close)this.pdf.internal.out("h"),v=!1;else if(!0!==i[y].begin){var C=i[y].start.x,E=i[y].start.y;T.call(this,i[y].deltas,C,E),v=!0}r&&A.call(this,r),t&&k.call(this)}},C=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},E=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var S=function(e,t,n,r,i,a,o,s,l){for(var u=L.call(this,n,r,i,a),c=0;c<u.length;c++){var d=u[c];0===c&&(l?N.call(this,d.x1+e,d.y1+t):I.call(this,d.x1+e,d.y1+t)),O.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?k.call(this):A.call(this,o)},A=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},k=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},P=function(e){switch(e.align){case"right":case"end":c="right";break;case"center":c="center";break;default:c="left"}var t=this.pdf.getTextDimensions(e.text),n=C.call(this,e.y),r=E.call(this,n)-t.h,i=this.ctx.transform.applyToPoint(new o(e.x,n)),a=this.ctx.transform.decompose(),u=new l;u=(u=(u=u.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var c,d,h,f,p=this.ctx.transform.applyToRectangle(new s(e.x,n,t.w,t.h)),v=u.applyToRectangle(new s(e.x,r,t.w,t.h)),w=g.call(this,v),S=[],A=0;A<w.length;A+=1)-1===S.indexOf(w[A])&&S.push(w[A]);if(b(S),this.autoPaging)for(var k=S[0],N=S[S.length-1],P=k;P<N+1;P++){this.pdf.setPage(P);var I=1===P?this.posY+this.margin[0]:this.margin[0],T=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],O=this.pdf.internal.pageSize.height-this.margin[2],L=O-this.margin[0],M=this.pdf.internal.pageSize.width-this.margin[1],D=M-this.margin[3],j=1===P?0:T+(P-2)*L;if(0!==this.ctx.clip_path.length){var _=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(d,this.posX+this.margin[3],-1*j+I),x.call(this,"fill",!0),this.path=_}var R=y([JSON.parse(JSON.stringify(v))],this.posX+this.margin[3],-j+I+this.ctx.prevPageLastElemOffset)[0];e.scale>
vendor: 4,091 bytes, line 1
1=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale);var F="text"!==this.autoPaging;if(F||R.y+R.h<=O){if(F||R.y>=I&&R.x<=M){var z=F?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||M-R.x)[0],B=y([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-j+I+this.ctx.prevPageLastElemOffset)[0],V=F&&(P>k||P<N)&&m.call(this);V&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],D,L,null).clip().discardPath()),this.pdf.text(z,B.x,B.y,{angle:e.angle,align:c,renderingMode:e.renderingMode}),V&&this.pdf.restoreGraphicsState()}}else R.y<O&&(this.ctx.prevPageLastElemOffset+=O-R.y);e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)}else e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale),this.pdf.text(e.text,i.x+this.posX,i.y+this.posY,{angle:e.angle,align:c,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)},I=function(e,t,i,a){i=i||0,a=a||0,this.pdf.internal.out(n(e+i)+" "+r(t+a)+" l")},T=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},O=function(e,n,r,o,s,l,u,c){this.pdf.internal.out([t(i(r+e)),t(a(o+n)),t(i(s+e)),t(a(l+n)),t(i(u+e)),t(a(c+n)),"c"].join(" "))},L=function(e,t,n,r){for(var i=2*Math.PI,a=Math.PI/2;t>n;)t-=i;var o=Math.abs(n-t);o<i&&r&&(o=i-o);for(var s=[],l=r?-1:1,u=t;o>1e-5;){var c=u+l*Math.min(o,a);s.push(M.call(this,e,u,c)),o-=Math.abs(c-u),u=c}return s},M=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),a=e*Math.sin(r),o=-a,s=i*i+o*o,l=s+i*i+o*a,u=4/3*(Math.sqrt(2*s*l)-l)/(i*a-o*i),c=i-u*o,d=o+u*i,h=-d,f=r+t,p=Math.cos(f),m=Math.sin(f);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:c*p-d*m,y2:c*m+d*p,x3:c*p-h*m,y3:c*m+h*p,x4:e*Math.cos(n),y4:e*Math.sin(n)}},D=function(e){return 180*e/Math.PI},j=function(e,t,n,r,i,a){var o=e+.5*(n-e),l=t+.5*(r-t),u=i+.5*(n-i),c=a+.5*(r-a),d=Math.min(e,i,o,u),h=Math.min(t,a,l,c);return new s(d,h,Math.max(e,i,o,u)-d,Math.max(t,a,l,c)-h)},_=function(e,t,n,r,i,a,o,l){var u,c,d,h,f,p,m,g,v,y,b,w,x,C,E=n-e,S=r-t,A=i-n,k=a-r,N=o-i,P=l-a;for(c=0;c<41;c++)v=(m=(d=e+(u=c/40)*E)+u*((f=n+u*A)-d))+u*(f+u*(i+u*N-f)-m),y=(g=(h=t+u*S)+u*((p=r+u*k)-h))+u*(p+u*(a+u*P-p)-g),0==c?(b=v,w=y,x=v,C=y):(b=Math.min(b,v),w=Math.min(w,y),x=Math.max(x,v),C=Math.max(C,y));return new s(Math.round(b),Math.round(w),Math.round(x-b),Math.round(C-w))},R=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==e&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=e)}}}(ab.API),function(e){var t=function(e){var t,n,r,i,a,o,s,l,u,c;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(a=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(o=(a=((a=((a=((a=(a-(c=a%85))/85)-(u=a%85))/85)-(l=a%85))/85)-(s=a%85))/85)%85,n.push(o+33,s+33,l+33,u+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,a,o=String,s="length",l="charCodeAt",u="slice",c="replace";for(e[u](-2),e=e[u](0,-2)[c](/\s/g,"")[c]("z","!!!!!"),r=[],i=0,a=(e+=t="uuuuu"[u](e[s]%5||5))[s];a>i;i+=5)n=0x31c84b1*(e[l](i)-33)+614125*(e[l](i+1)-33)+7225*(e[l](i+2)-33)+85*(e[l](i+3)-33)+(e[l](i+4)-33),r.push(255&n>>24,255&n>>16,255&n>>8,255&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),o.fromCharCode.apply(o,r)},r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=nr(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")};e.processDataByFilters=function(e,a){var o=0,s=e||"",l=[];
vendor: 7,026 bytes, line 1
1for("string"==typeof(a=a||[])&&(a=[a]),o=0;o<a.length;o+=1)switch(a[o]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),l.push("/FlateDecode");break;default:throw Error('The filter: "'+a[o]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(ab.API),function(e){e.loadFile=function(e,t,n){var r=t,i=n;r=!1!==r,i="function"==typeof i?i:function(){};var a=void 0;try{a=function(e,t,n){var r=new XMLHttpRequest,i=0,a=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(a(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return a(r.responseText)}(e,r,i)}catch(e){}return a},e.loadImageFile=e.loadFile}(ab.API),function(e){function t(){return(iQ.html2canvas?Promise.resolve(iQ.html2canvas):n.e(3933).then(n.t.bind(n,63067,23))).catch(function(e){return Promise.reject(Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function r(){return(iQ.DOMPurify?Promise.resolve(iQ.DOMPurify):n.e(9930).then(n.bind(n,69930))).catch(function(e){return Promise.reject(Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var i=function(e){var t=(0,tT.A)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},o=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then(function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},s.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},s.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r=Object.assign({async:!0,allowTaint:!0,scale:"number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete r.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var a=n[i],o=a.src.find(function(e){return"truetype"===e.format});o&&t.addFont(o.url,a.ref.name,a.ref.style)}
vendor: 4,673 bytes, line 1
1return r.windowHeight=r.windowHeight||0,r.windowHeight=0==r.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):r.windowHeight,t.context2d.save(!0),e(this.prop.container,r)}).then(function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},s.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},s.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},s.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in s.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},s.prototype.get=function(e,t){return this.then(function(){var n=e in s.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},s.prototype.setMargin=function(e){return this.then(function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},s.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||ab.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},s.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},s.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=n.call(r,e,t);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},s.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},s.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return s.convert(t,this)},s.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},s.prototype.error=function(e){return this.then(function(){throw Error(e)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.exp
vendor: 6,895 bytes, line 1
1ort=s.prototype.output,s.prototype.run=s.prototype.then,ab.getPageSize=function(e,t,n){if("object"===(0,tT.A)(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,a=(""+n).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var s,l=0,u=0;if(o.hasOwnProperty(a))l=o[a][1]/i,u=o[a][0]/i;else try{l=n[1],u=n[0]}catch(e){throw Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",u>l&&(s=u,u=l,l=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>u&&(s=u,u=l,l=s)}return{width:u,height:l,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(or):null;var n=new s(t);return t.worker?n:n.from(e).doCallback()}}(ab.API),ab.API.addJS=function(e){return oh=e,this.internal.events.subscribe("postPutResources",function(){oc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(oc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),od=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+oh+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==oc&&void 0!==od&&this.internal.out("/Names <</JavaScript "+oc+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=this.outline.render().split(/\r\n/),r=0;r<n.length;r++){var i=n[r],a=e.exec(i);if(null!=a){var o=a[1];this.internal.newObjectDeferredBegin(o,!1)}this.internal.write(i)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,l=[];for(r=0;r<s;r++){var u=this.internal.newObject();l.push(u);var c=this.internal.getPageInfo(r+1);this.internal.write("<< /D["+c.objId+" 0 R /XYZ null null null]>> endobj")}var d=this.internal.newObject();for(this.internal.write("<< /Names [ "),r=0;r<l.length;r++)this.internal.write("(page_"+(r+1)+")"+l[r]+" 0 R");this.internal.write(" ] >>","endobj"),t=this.internal.newObject(),this.internal.write("<< /Dests "+d+" 0 R"),this.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var a=this.count=this.count_r({count:0},i);if(a>0&&this.line("/Count "+a),i.options&&i.options.pageNumber){var o=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(ab.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,a,o){var s,l=this.decode.DCT_DECODE,u=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=a||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,a={width:0,height:0,numcomponents:1},o=4;o<i;o+=2){if(o+=r,-1!==t.indexOf(e.charCodeAt(o+1))){n=256*e.charCodeAt(o+5)+e.charCodeAt(o+6),a={width:256*e.charCodeAt(o+7)+e.charCodeAt(o+8),height:n,numcomponents:e.charCodeAt(o+9)};break}r=256*e.charCodeAt(o+2)+e.charCodeAt(o+3)}return a}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}u={data:e,width:s.width,height:s.height,colorSpace:o,bitsPerComponent:8,filter:l,index:n,alias:r}}return u}}(ab.API),ab.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,a,o,s,l,u,c=new iX(e,{checkCrc:!0}).decode(),d=c.width,h=c.height,f=c.channels,p=c.palette,m=c.depth,g=(i=p&&1===f?function(e){for(var t=e.width,n=e.he
1ight,r=e.data,i=e.palette,a=e.depth,o=!1,s=[],l=[],u=void 0,c=!1,d=0,h=0;h<i.length;h++){var f=no(i[h],4),p=f[0],m=f[1],g=f[2],v=f[3];s.push(p,m,g),null!=v&&(0===v?(d++,l.length<1&&l.push(h)):v<255&&(c=!0))}if(c||d>1){o=!0,l=void 0;var y=t*n;u=new Uint8Array(y);for(var b=new DataView(r.buffer),w=0;w<y;w++){var x=no(i[oA(b,w,a)],4)[3];u[w]=x}}else 0===d&&(l=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:o?8:void 0,colorBytes:r,alphaBytes:u,needSMask:o,palette:s,mask:l}}(c):2===f||4===f?function(e){for(var t=e.data,n=e.width,r=e.height,i=e.channels,a=e.depth,o=i-1,s=n*r,l=Math.ceil(s*o*a/8),u=Math.ceil(s*a/8),c=new Uint8Array(l),d=new Uint8Array(u),h=new DataView(t.buffer),f=new DataView(c.buffer),p=new DataView(d.buffer),m=!1,g=0;g<s;g++){for(var v=g*i,y=0;y<o;y++)ok(f,oA(h,v+y,a),g*o+y,a);var b=oA(h,v+o,a);b<(1<<a)-1&&(m=!0),ok(p,b,+g,a)}return{colorSpace:2===i?"DeviceGray":"DeviceRGB",colorsPerPixel:o,sMaskBitsPerComponent:m?a:void 0,colorBytes:c,alphaBytes:d,needSMask:m}}(c):(a=c.data,{colorSpace:o=1===c.channels?"DeviceGray":"DeviceRGB",colorsPerPixel:"DeviceGray"===o?1:3,colorBytes:a instanceof Uint16Array?function(e){for(var t=e.length,n=new Uint8Array(2*t),r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=0;i<t;i++)r.setUint16(2*i,e[i],!1);return n}(a):a,needSMask:!1})).colorSpace,v=i.colorsPerPixel,y=i.sMaskBitsPerComponent,b=i.colorBytes,w=i.alphaBytes,x=i.needSMask,C=i.palette,E=i.mask,S=null;return r!==ab.API.image_compression.NONE?(S=function(e){var t;switch(e){case ab.API.image_compression.FAST:t=11;break;case ab.API.image_compression.MEDIUM:t=13;break;case ab.API.image_compression.SLOW:t=14;break;default:t=12}return t}(r),s=this.decode.FLATE_DECODE,l="/Predictor ".concat(S," /Colors ").concat(v," /BitsPerComponent ").concat(m," /Columns ").concat(d),e=ob(b,Math.ceil(d*v*m/8),v,m,r),x&&(u=ob(w,Math.ceil(d*y/8),1,y,r))):(s=void 0,l=void 0,e=b,x&&(u=w)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(u&&this.__addimage__.isArrayBuffer(u)||this.__addimage__.isArrayBufferView(u))&&(u=this.__addimage__.arrayBufferToBinaryString(u)),{alias:n,data:e,index:t,filter:s,decodeParameters:l,transparency:E,palette:C,sMask:u,predictor:S,width:d,height:h,bitsPerComponent:m,sMaskBitsPerComponent:y,colorSpace:g}}},function(e){e.processGIF89A=function(t,n,r,i){var a=new oP(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var u=new oT(100).encode({data:l,width:o,height:s},100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A}(ab.API),oO.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},oO.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){i0.log("bit decode error:"+e)}},oO.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;
vendor: 4,890 bytes, line 1
1for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!==n&&(this.pos+=4-n)}},oO.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,s=a>>4,l=15&a,u=this.palette[s];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[l],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},oO.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!==e&&(this.pos+=4-e)}},oO.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,u=a>>15?255:0,c=r*this.width*4+4*i;this.data[c]=l,this.data[c+1]=s,this.data[c+2]=o,this.data[c+3]=u}this.pos+=e}},oO.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,u=(o>>11)/t*255|0,c=i*this.width*4+4*a;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=255}this.pos+=e}},oO.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},oO.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=o}},oO.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var a=new oO(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},u=new oT(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(ab.API),oL.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var a=new oL(t),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},u=new oT(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(ab.API),ab.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,a=new Uint8Array(i/4*3),o=new Uint8Array(i/4),s=0,l=0,u=0;u<i;u+=4){var c=r[u],d=r[u+1],h=r[u+2],f=r[u+3];a[s++]=c,a[s++]=d,a[s++]=h,o[l++]=f}var p=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:p,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},ab.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!==({af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canad
1a)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"})[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},op=(of=ab.API).getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:i.metadata.Unicode.widths,l=s.fof?s.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,c=u.fof?u.fof:1,d=!1!==t.doKerning,h=0,f=e.length,p=0,m=s[0]||l,g=[];for(n=0;n<f;n++)r=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?g.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+1e3/a*o||0)/1e3):(h=d&&"object"===(0,tT.A)(u[r])&&!isNaN(parseInt(u[r][p],10))?u[r][p]/c:0,g.push((s[r]||m)/l+h)),p=r;return g},om=of.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return of.processArabic&&(e=of.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:op.apply(this,arguments).reduce(function(e,t){return e+t},0)},og=function(e,t,n,r){for(var i=[],a=0,o=e.length,s=0;
1a!==o&&s+t[a]<n;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>r&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},ov=function(e,t,n){n||(n={});var r,i,a,o,s,l,u,c=[],d=[c],h=n.textIndent||0,f=0,p=0,m=e.split(" "),g=op.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?m[0].length+2:n.lineIndent||0){var v=Array(l).join(" "),y=[];m.map(function(e){(e=e.split(/\s*\n/)).length>1?y=y.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):y.push(e[0])}),m=y,l=om.apply(this,[v,n])}for(a=0,o=m.length;a<o;a++){var b=0;if(r=m[a],l&&"\n"==r[0]&&(r=r.substr(1),b=1),h+f+(p=(i=op.apply(this,[r,n])).reduce(function(e,t){return e+t},0))>t||b){if(p>t){for(s=og.apply(this,[r,i,t-(h+f),t]),c.push(s.shift()),c=[s.pop()];s.length;)d.push([s.shift()]);p=i.slice(r.length-(c[0]?c[0].length:0)).reduce(function(e,t){return e+t},0)}else c=[r];d.push(c),h=p+l,f=g}else c.push(r),h+=f+p,f=g}return u=l?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(u)},of.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),n="Unicode";return t.metadata[n]?{widths:t.metadata[n].widths||{0:1},kerning:t.metadata[n].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,u=[];for(s=0,l=r.length;s<l;s++)u=u.concat(ov.apply(this,[r[s],o,a]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[n[a]]=t[a],i[t[a]]=n[a];var o=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,r,a,l=["{"];for(var u in e){if(t=e[u],n=isNaN(parseInt(u,10))?"'"+u+"'":(n=o(u=parseInt(u,10)).slice(2)).slice(0,-1)+i[n.slice(-1)],"number"==typeof t)t<0?(r=o(t).slice(3),a="-"):(r=o(t).slice(2),a=""),r=a+r.slice(0,-1)+i[r.slice(-1)];else{if("object"!==(0,tT.A)(t))throw Error("Don't know what to do with value type "+(0,tT.A)(t)+".");r=s(t)}l.push(n+r)}return l.push("}"),l.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw Error("Invalid argument passed to uncompress.");for(var t,n,i,a,o={},s=1,l=o,u=[],c="",d="",h=e.length-1,f=1;f<h;f+=1)"'"==(a=e[f])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(a):"{"==a?(u.push([l,i]),l={},i=void 0):"}"==a?((n=u.pop())[0][n[1]]=l,i=void 0,l=n[0]):"-"==a?s=-1:void 0===i?r.hasOwnProperty(a)?(c+=r[a],i=parseInt(c,16)*s,s=1,c=""):c+=a:r.hasOwnProperty(a)?(d+=r[a],l[i]=parseInt(d,16)*s,s=1,i=void 0,d=""):d+=a;return o},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u},d
vendor: 14,743 bytes, line 1
1={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,
1n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=c[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(ab.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r,i=void 0,a=n.font,o=n.instance;if(!a.isStandardFont){if(void 0===o)throw Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");if("string"!=typeof(i=!1===o.existsFileInVFS(a.postScriptName)?o.loadFile(a.postScriptName):o.getFileFromVFS(a.postScriptName)))throw Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");r=i,r=/^\x00\x01\x00\x00/.test(r)?t(r):t(i6(r)),a.metadata=e.API.TTFFont.open(r),a.metadata.Unicode=a.metadata.Unicode||{encoding:{},kerning:{},widths:[]},a.metadata.glyIdsUsed=[0]}}])}(ab),ab.API.addSvgAsImage=function(e,t,r,i,a,o,s,l){if(isNaN(t)||isNaN(r))throw i0.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw i0.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=a;var c=u.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,u.width,u.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},h=this;return(iQ.canvg?Promise.resolve(iQ.canvg):Promise.all([n.e(416),n.e(6357)]).then(n.bind(n,97341))).catch(function(e){return Promise.reject(Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e}).then(function(t){return t.fromString(c,e,d)},function(){return Promise.reject(Error("Could not load canvg."))}).then(function(e){return e.render(d)}).then(function(){h.addImage(u.toDataURL("image/jpeg",1),t,r,i,a,s,l)})},ab.API.putTotalPages=function(e){var t,n=0;15>parseInt(this.internal.getFont().id.substr(1),10)?(t=RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},ab.API.viewerPreferences=function(e,t){e=e||{},t=t||!1;var n,r,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],u=0,c=0,d=0;function h(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=s.length;for(d=0;d<f;d+=1)n[s[d]].value=n[s[d]].defaultValue,n[s[d]].explicitSet=!1}if("object"===(0,tT.A)(e)){for(i in e)if(a=e[i],h(s,i)&&void 0!==a){if("boolean"===n[i].type&&"boolean"==typeof a)n[i].value=a;else if("name"===n[i].type&&h(n[i].valueSet,a))n[i].value=a;else if("integer"===n[i].type&&Number.isInteger(a))n[i].value=a;else if("array"===n[i].type){for(u=0;
vendor: 5,792 bytes, line 1
1u<a.length;u+=1)if(r=!0,1===a[u].length&&"number"==typeof a[u][0])l.push(String(a[u]-1));else if(a[u].length>1){for(c=0;c<a[u].length;c+=1)"number"!=typeof a[u][c]&&(r=!1);!0===r&&l.push([a[u][0]-1,a[u][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),a=unescape(encodeURIComponent("</x:xmpmeta>")),o=n.length+r.length+i.length+t.length+a.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+a),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(ab.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],a=[""],o=0,s=e.length;o<s&&(n=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(o),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"!=n);++o)n=n.toString(16),a.push(i[4-n.length],n);return a.join("")},r=function(e){var t,n,r,i,a,o,s;for(a="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],o=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;o<s;o++)t=n[o],r.length>=100&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),a+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,a=t.newObject,o=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),u="",c=0;c<l.length;c++)u+=String.fromCharCode(l[c]);var d=a();o({data:u,addLength1:!0,objectId:d}),i("endobj");var h=a();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var f=a();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+af(n.fontName)),i("/FontFile2 "+d+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=a();i("<<"),i("/Type /Font"),i("/BaseFont /"+af(n.fontName)),i("/FontDescriptor "+f+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=a(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+af(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,a=t.newObject,o=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",u=0;u<s.length;u++)l+=String.fromCharCode(s[u]);var c=a();o({data:l,addLength1:!0,objectId:c}),i("endobj");var d=a();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=a();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+c+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+af(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=a();for(var f=0;f<n.metadata.hmtx.widths.length;f++)n.metadata.hmtx.widths[f]=parseInt(n.metadata.hmtx.widths[f]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+af(n.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);
vendor: 4,572 bytes, line 1
1var i=function(e){var t,r=e.text||"",i=e.x,a=e.y,o=e.options||{},s=e.mutex||{},l=s.pdfEscape,u=s.activeFontKey,c=s.fonts,d=u,h="",f=0,p="",m=c[d].encoding;if("Identity-H"!==c[d].encoding)return{text:r,x:i,y:a,options:o,mutex:s};for(p=r,d=u,Array.isArray(r)&&(p=r[0]),f=0;f<p.length;f+=1)c[d].metadata.hasOwnProperty("cmap")&&(t=c[d].metadata.cmap.unicode.codeMap[p[f].charCodeAt(0)]),t||256>p[f].charCodeAt(0)&&c[d].metadata.hasOwnProperty("Unicode")?h+=p[f]:h+="";var g="";return 14>parseInt(d.slice(1))||"WinAnsiEncoding"===m?g=l(h,d).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===m&&(g=n(h,c[d])),s.isHex=!0,{text:g,x:i,y:a,options:o,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var a=0;for(a=0;a<t.length;a+=1)Array.isArray(t[a])&&3===t[a].length?n.push([i(Object.assign({},r,{text:t[a][0]})).text,t[a][1],t[a][2]]):n.push(i(Object.assign({},r,{text:t[a]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(ab),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(ab.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,a,o,s,l,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],c=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},f=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,g=0;this.__bidiEngine__={};var v=function(e){var n=e.charCodeAt(),r=n>>8,i=h[r];return void 0!==i?t[256*i+(255&n)]:252===r||253===r?"AL":p.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,n=0;n<e.length&&"L"!==(t=v(e.charAt(n)));n++)if("R"===t)return!0;return!1},b=function(e,t,o,s){var l,u,c,d,h=t[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=o[s-1])&&"AN"!==l||"EN"!==(u=t[s+1])&&"AN"!==u?h="N":m&&(u="AN"),h=u===l?u:"N";break;case"ES":h="EN"===(l=s>0?o[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===o[s-1]){h="EN";break}if(m){h="N";break}for(c=s+1,d=t.length;c<d&&"ET"===t[c];)c++;h=c<d&&"EN"===t[c]?"EN":"N";break;case"NSM":if(i&&!a){for(d=t.length,c=s+1;c<d&&"NSM"===t[c];)c++;if(c<d){var f=e[s];if(l=t[c],(f>=1425&&f<=2303||64286===f)&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":m=!1,n=!0,h=g;break;case"S":r=!0,h="N"}return h},w=function(e,t,n){var r=e.split("");return n&&x(r,n,{hiLevel:g}),r.reverse(),t&&t.reverse(),r.join("")},x=function(e,t,i){var a,o,s,l,h,f=-1,p=e.length,y=0,w=[],x=g?c:u,C=[];for(m=!1,n=!1,r=!1,o=0;o<p;o++)C[o]=v(e[o]);for(s=0;s<p;s++){if(h=y,w[s]=b(e,C,w,s),a=240&(y=x[h][d[w[s]]]),y&=15,t[s]=l=x[y][5],a>0)if(16===a){for(o=f;o<s;o++)t[o]=1;f=-1}else f=-1;if(x[y][6])-1===f&&(f=s);else if(f>-1){for(o=f;o<s;o++)t[o]=l;f=-1}"B"===C[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=g;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=g}}(C,t,p)},C=function(e,t,r,i,a){if(!(a.hiLevel<e)){if(1===e&&1===g&&!n)return t.reverse(),void(r&&r.reverse());for(var o,s,l,u,c=t.length,d=0;d<c;){if(i[d]>=e){for(l=d+1;l<c&&i[l]>=e;)l++;for(u=d,s=l-1;u<s;u++,s--)o=t[u],t[u]=t[s],t[s]=o,r&&(o=r[u],r[u]=r[s],r[s]=o);d=l}d++}}},E=function(e,t,n){var r=e.split(""),i={hiLevel:g};return n||(n=[]),x(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=f.indexOf(e[i]))>=0&&(e[i]=f[r+1])}(r,n,i),C(2,r,t,n,i),C(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===a&&(a=y(e)),void 0===s&&(s=y(e))}(e,t),i||!o||s)if(i&&o&&a^s)g=+!!a,e=w(e,t,n);else if(!i&&o&&s)g=+!!a,e=w(e=E(e,t,n),t);
1else if(!i||a||o||s){if(i&&!o&&a^s)e=w(e,t),a?(g=0,e=E(e,t,n)):(g=1,e=w(e=E(e,t,n),t));else if(i&&a&&!o&&s)g=1,e=w(e=E(e,t,n),t);else if(!i&&!o&&a^s){var r=l;a?(g=1,e=E(e,t,n),g=0,l=!1,e=E(e,t,n),l=r):(g=0,e=w(e=E(e,t,n),t),g=1,l=!1,e=E(e,t,n),l=r,e=w(e,t))}}else g=0,e=E(e,t,n);else g=+!!a,e=E(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,a=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var r=e.options||{};e.mutex,r.lang;var i=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var a=0;for(i=[],a=0;a<t.length;a+=1)"[object Array]"===Object.prototype.toString.call(t[a])?i.push([n.doBidiReorder(t[a][0]),t[a][1],t[a][2]]
vendor: 5,918 bytes, line 1
1):i.push([n.doBidiReorder(t[a])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(ab),ab.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new oD(e),this.contents.pos=4,"ttcf"===t.readString(4))throw Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new oJ(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new oj(this.contents),this.head=new oF(this),this.name=new oZ(this),this.cmap=new oB(this),this.toUnicode={},this.hhea=new oV(this),this.maxp=new oW(this),this.hmtx=new oG(this),this.post=new oq(this),this.os2=new oU(this),this.loca=new oQ(this),this.glyf=new oK(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}).call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),32768&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,a,o;for(a=0,i=0,o=(e=""+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=e.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(r))+1e3/t*n||0;return t/1e3*a},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var oM,oD=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 0x1000000*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=0x80000000?e-0x100000000:e},e.prototype.writeInt32=function(e){return e<0&&(e+=0x100000000),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,a,o,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),a=this.readByte(),o=this.readByte(),s=this.readByte(),128&e?-1*(0x100000000000000*(255^e)+0x1000000000000*(255^t)+0x10000000000*(255^n)+0x100000000*(255^r)+0x1000000*(255^i)+65536*(255^a)+256*(255^o)+(255^s)+1):0x100000000000000*e+0x1000000000000*t+0x10000000000*n+0x100000000*r+0x1000000*i+65536*a+256*o+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/0x100000000),n=0|e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),oj=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,a,o,s,l,u,c,d,h,f,p;for(p in a=Math.floor((c=16*Math.floor(Math.log(h=Object.keys(t).length)/(s=Math.log(2))))/s),u=16*h-c,(r=new oD).writeInt(this.scalarType),r.writeShort(h),r.writeShort(c),r.writeShort(a),r.writeShort(u),i=16*h,l=r.pos+i,o=null,f=[],t)for(d=t[p],r.writeString(p),r.writeInt(e(d)),r.writeInt(l),r.writeInt(d.length),f=f.concat(d),"head"===p&&
vendor: 9,281 bytes, line 1
1(o=l),l+=d.length;l%4;)f.push(0),l++;return r.write(f),n=0xb1b0afba-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=o$.call(e);e.length%4;)e.push(0);for(r=new oD(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 0|n},t}(),o_={}.hasOwnProperty,oR=function(e,t){for(var n in t)o_.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};oM=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var oF=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new oD).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),oz=function(){function e(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(d=e.readUInt16()/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,f=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),u=function(){var t,n;for(n=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=m=0,v=i.length;m<v;s=++m)for(p=i[s],n=g=h=f[s];h<=p?g<=p:g>=p;n=h<=p?++g:--g)0===u[s]?a=n+l[s]:0!==(a=o[u[s]/2+(n-h)-(d-s)]||0)&&(a+=l[s]),this.codeMap[n]=65535&a}e.pos=c}return e.encode=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k,N,P,I,T,O,L,M,D,j,_,R,F,z,B,V,U,q,H,Z,W,G;switch(I=new oD,a=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(p=0,m=function(){var e=[];for(f=0;f<256;++f)e.push(0);return e}(),v={0:0},i={},T=0,D=a.length;T<D;T++)null==v[H=e[r=a[T]]]&&(v[H]=++p),i[r]={old:e[r],new:v[e[r]]},m[r]=v[e[r]];return I.writeUInt16(1),I.writeUInt16(0),I.writeUInt32(12),I.writeUInt16(0),I.writeUInt16(262),I.writeUInt16(0),I.write(m),{charMap:i,subtable:I.data,maxGlyphID:p+1};case"unicode":for(N=[],c=[],y=0,v={},n={},g=l=null,O=0,j=a.length;O<j;O++)null==v[w=e[r=a[O]]]&&(v[w]=++y),n[r]={old:w,new:v[w]},o=v[w]-r,null!=g&&o===l||(g&&c.push(g),N.push(r),l=o),g=r;for(g&&c.push(g),c.push(65535),N.push(65535),A=2*(S=N.length),d=Math.log((E=2*Math.pow(Math.log(S)/Math.LN2,2))/2)/Math.LN2,C=2*S-E,s=[],x=[],h=[],f=L=0,_=N.length;L<_;f=++L){if(k=N[f],u=c[f],65535===k){s.push(0),x.push(0);break}if(k-(P=n[k].new)>=32768)for(s.push(0),x.push(2*(h.length+S-f)),r=M=k;k<=u?M<=u:M>=u;r=k<=u?++M:--M)h.push(n[r].new);else s.push(P-k),x.push(0)}for(I.writeUInt16(3),I.writeUInt16(1),I.writeUInt32(12),I.writeUInt16(4),I.writeUInt16(16+8*S+2*h.length),I.writeUInt16(0),I.writeUInt16(A),I.writeUInt16(E),I.writeUInt16(d),I.writeUInt16(C),U=0,R=c.length;U<R;U++)r=c[U],I.writeUInt16(r);for(I.writeUInt16(0),q=0,F=N.length;q<F;q++)r=N[q],I.writeUInt16(r);for(Z=0,z=s.length;Z<z;Z++)o=s[Z],I.writeUInt16(o);for(W=0,B=x.length;W<B;W++)b=x[W],I.writeUInt16(b);for(G=0,V=h.length;G<V;G++)p=h[G],I.writeUInt16(p);return{charMap:n,subtable:I.data,maxGlyphID:y+1}}},e}(),oB=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new oz(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=oz.encode(e,t),(r=new oD).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},e}(),oV=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),oU=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),oq=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="post",e.prototype.parse=function(e){var t,n,r,i;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=(function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}).call(this)}},e}(),oH=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},oZ=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="name",e.prototype.parse=function(e){var t,n,r,i,a,o,s,l,u,c;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(s={},i=l=0,u=n.length;l<u;i=++l)e.pos=(r=n[i]).offset,a=new oH(e.readString(r.length),r),null==s[c=r.nameID]&&(s[c]=[]),s[r.nameID].push(a);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfam
vendor: 4,895 bytes, line 1
1ily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),oW=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),oG=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,n,r,i,a,o,s;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=(function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}).call(this),n=this.widths[this.widths.length-1],s=[],t=a=0;0<=r?a<r:a>r;t=0<=r?++a:--a)s.push(this.widths.push(n));return s},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),o$=[].slice,oK=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,n,r,i,a,o,s,l,u,c;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,a=(o=new oD(t.read(r))).readShort(),l=o.readShort(),c=o.readShort(),s=o.readShort(),u=o.readShort(),this.cache[e]=-1===a?new oX(o,l,c,s,u):new oY(o,a,l,c,s,u),this.cache[e]))},e.prototype.encode=function(e,t,n){var r,i,a,o,s;for(a=[],i=[],o=0,s=t.length;o<s;o++)r=e[t[o]],i.push(a.length),r&&(a=a.concat(r.encode(n)));return i.push(a.length),{table:a,offsets:i}},e}(),oY=function(){function e(e,t,n,r,i,a){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=a,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),oX=function(){function e(e,t,n,r,i){var a,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;o=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&o;)a.pos+=1&o?4:2,128&o?a.pos+=8:64&o?a.pos+=4:8&o&&(a.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new oD(o$.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),oQ=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return oR(e,oM),e.prototype.tag="loca",e.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?(function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}).call(this):(function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}).call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,a=0;a<n.length;++a)if(n[a]=r,i<t.length&&t[i]==a){++i,n[a]=r;var o=this.offsets[a],s=this.offsets[a+1]-o;s>0&&(r+=s)}for(var l=Array(4*n.length),u=0;u<n.length;++u)l[4*u+3]=255&n[u],l[4*u+2]=(65280&n[u])>>8,l[4*u+1]=(0xff0000&n[u])>>16,l[4*u]=(0xff000000&n[u])>>24;return l},e}(),oJ=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,a,o,s;for(r={},a=0,o=e.length;a<o;a++)r[i=e[a]]=this.font.glyf.glyphFor(i);
1for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,m,g;for(r in n=oB.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(e),h={0:0},g=n.charMap)h[(s=g[r]).old]=s.new;for(f in d=n.maxGlyphID,a)f in h||(h[f]=d++);return c=Object.keys(u=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h)).sort(function(e,t){return e-t}),p=function(){var e,t,n;for(n=[],e=0,t=c.length;e<t;e++)o=c[e],n.push(u[o]);return n}(),i=this.font.glyf.encode(a,p,h),l=this.font.loca.encode(i.offsets,p),m={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},e}();ab.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,a,o;if(Array.isArray(n))return"["+(function(){var e,i,a;for(a=[],e=0,i=n.length;e<i;e++)r=n[e],a.push(t.convert(r));return a})().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"===({}).toString.call(n)){for(i in a=["<<"],n)o=n[i],a.push("/"+i+" "+t.convert(o));return a.push(">>"),a.join("\n")}return""+n},t}();var o0=function(e,t){return(o0=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o1(e,t){function n(){this.constructor=e}o0(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o2=function(){return(o2=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o5(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}function o4(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function o3(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}for(var o6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o8=new Uint8Array(256),o9=0;o9<o6.length;o9++)o8[o6.charCodeAt(o9)]=o9;var o7=function(e){for(var t="",n=e.length,r=0;r<n;r+=3)t+=o6[e[r]>>2],t+=o6[(3&e[r])<<4|e[r+1]>>4],t+=o6[(15&e[r+1])<<2|e[r+2]>>6],t+=o6[63&e[r+2]];return n%3==2?t=t.substring(0,t.length-1)+"=":n%3==1&&(t=t.substring(0,t.length-2)+"=="),t},se=function(e){var t,n,r,i,a,o=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var u=new Uint8Array(o);for(t=0;t<s;t+=4)n=o8[e.charCodeAt(t)],r=o8[e.charCodeAt(t+1)],i=o8[e.charCodeAt(t+2)],a=o8[e.charCodeAt(t+3)],u[l++]=n<<2|r>>
14,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&a;return u},st=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,sn=function(e){var t=e.trim(),n=t.substring(0,100).match(st);if(!n)return se(t);var r=n[0];return se(t.substring(r.length))},sr=function(e){return e.charCodeAt(0)},si=function(e,t){return ss(e.toString(16),t,"0").toUpperCase()},sa=function(e){return si(e,2)},so=function(e){return String.fromCharCode(e)},ss=function(e,t,n){for(var r="",i=0,a=t-e.length;i<a;i++)r+=n;return r+e},sl=function(e,t,n){for(var r=e.length,i=0;i<r;i++)t[n++]=e.charCodeAt(i);return r},su=function(e){return e.replace(/\t|\u0085|\u2028|\u2029/g,"    ").replace(/[\b\v]/g,"")},sc=["\\n","\\f","\\r","\\u000B"],sd=function(e){return/^[\n\f\r\u000B]$/.test(e)},sh=function(e){return e.split(/[\n\f\r\u000B]/)},sf=function(e){return e.replace(/[\n\f\r\u000B]/g," ")},sp=function(e,t){var n,r=e.charCodeAt(t),i=t+1,a=1;return r>=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i))>=56320&&n<=57343&&(a=2),[e.slice(t,t+a),a]},sm=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=sp(e,n),a=i[0],o=i[1];t.push(a),n+=o}return t},sg=function(e){for(var t=sc.join("|"),n=["$"],r=0,i=e.length;r<i;r++){var a=e[r];if(sd(a))throw TypeError("`wordBreak` must not include "+t);n.push(""===a?".":a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}return RegExp("("+t+")|((.*?)("+n.join("|")+"))","gm")},sv=function(e,t,n,r){for(var i=sg(t),a=su(e).match(i),o="",s=0,l=[],u=function(){""!==o&&l.push(o),o="",s=0},c=0,d=a.length;c<d;c++){var h=a[c];if(sd(h))u();else{var f=r(h);s+f>n&&u(),o+=h,s+=f}}return u(),l},sy=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,sb=function(e){var t=e.match(sy);if(t){var n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],l=t[7],u=void 0===l?"Z":l,c=t[8],d=t[9];return new Date(n+"-"+(void 0===r?"01":r)+"-"+(void 0===i?"01":i)+"T"+(void 0===a?"00":a)+":"+(void 0===o?"00":o)+":"+(void 0===s?"00":s)+("Z"===u?"Z":""+u+(void 0===c?"00":c)+":"+(void 0===d?"00":d)))}},sw=function(e,t){for(var n,r,i=0;i<e.length;){var a=e.substring(i).match(t);if(!a)break;r=a,i+=(null!=(n=a.index)?n:0)+a[0].length}return{match:r,pos:i}},sx=function(e){return e[e.length-1]},sC=function(e){if(e instanceof Uint8Array)return e;for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},sE=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e.length,r=[],i=0;i<n;i++){var a=e[i];r[i]=a instanceof Uint8Array?a:sC(a)}for(var o=0,i=0;i<n;i++)o+=e[i].length;for(var s=new Uint8Array(o),l=0,u=0;u<n;u++)for(var c=r[u],d=0,h=c.length;d<h;d++)s[l++]=c[d];return s},sS=function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),a=0,n=0,r=e.length;n<r;n++){var o=e[n];i.set(o,a),a+=o.length}return i},sA=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=so(e[n]);return t},sk=function(e,t){return e.id-t.id},sN=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var a=e[r],o=e[r-1];(0===r||t(a)!==t(o))&&n.push(a)}return n},sP=function(e){for(var t=e.length,n=0,r=Math.floor(t/2);n<r;n++){var i=n,a=t-n-1,o=e[n];e[i]=e[a],e[a]=o}return e},sI=function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n];return t},sT=function(e,t){for(var n=Array(t-e),r=0,i=n.length;r<i;r++)n[r]=e+r;return n},sO=function(e,t){for(var n=Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e[t[r]];return n},sL=function(e){if("string"==typeof e)return sn(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(e instanceof Uint8Array)return e;throw TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},sM=function(){return new Promise(function(e){setTimeout(function(){return e()},0)})},sD=function(e,t){void 0===t&&(t=!0);var n=[];t&&n.push(65279);for(var r=0,i=e.length;r<i;){var a=e.codePointAt(r);if(a<65536)n.push(a),r+=1;else if(a<1114112)n.push(sj(a),s_(a)),r+=2;else throw Error("Invalid code point: 0x"+sa(a))}return new Uint16Array(n)},sj=function(e){return Math.floor((e-65536)/1024)+55296},s_=function(e){return(e-65536)%1024+56320};!function(e){e.BigEndian="BigEndian",e.LittleEndian="LittleEndian"}(f||(f={}));for(var sR=function(e,t){if(void 0===t&&(t=!0),e.length<=1)return String.fromCodePoint(65533);for(var n=t?sV(e):f.BigEndian,r=2*!!t,i=[];e.length-r>=2;){var a=sB(e[r++],e[r++],n);if(sF(a))if(e.length-r<2)i.push(65533);else{var o=sB(e[r++],e[r++],n);sz(o)?i.push(a,o):i.push(65533)}else sz(a)?(r+=2,i.push(65533)):i.push(a)}
1return r<e.length&&i.push(65533),String.fromCodePoint.apply(String,i)},sF=function(e){return e>=55296&&e<=56319},sz=function(e){return e>=56320&&e<=57343},sB=function(e,t,n){if(n===f.LittleEndian)return t<<8|e;if(n===f.BigEndian)return e<<8|t;throw Error("Invalid byteOrder: "+n)},sV=function(e){return sU(e)?f.BigEndian:sq(e)?f.LittleEndian:f.BigEndian},sU=function(e){return 254===e[0]&&255===e[1]},sq=function(e){return 255===e[0]&&254===e[1]},sH=function(e){return sU(e)||sq(e)},sZ=function(e){var t=String(e);if(1>Math.abs(e)){var n=parseInt(e.toString().split("e-")[1]);if(n){var r=e<0;r&&(e*=-1),e*=Math.pow(10,n-1),t="0."+Array(n).join("0")+e.toString().substring(2),r&&(t="-"+t)}}else{var n=parseInt(e.toString().split("+")[1]);n>20&&(n-=20,e/=Math.pow(10,n),t=e.toString()+Array(n+1).join("0"))}return t},sW=function(e){return Math.ceil(e.toString(2).length/8)},sG=function(e){for(var t=new Uint8Array(sW(e)),n=1;n<=t.length;n++)t[n-1]=e>>(t.length-n)*8;return t},s$=function(e){throw Error(e)},sK=n(98777),sY=n.n(sK),sX="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sQ=new Uint8Array(256),sJ=0;sJ<sX.length;sJ++)sQ[sX.charCodeAt(sJ)]=sJ;var s0=function(e){var t,n,r,i,a,o=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var u=new Uint8Array(o);for(t=0;t<s;t+=4)n=sQ[e.charCodeAt(t)],r=sQ[e.charCodeAt(t+1)],i=sQ[e.charCodeAt(t+2)],a=sQ[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&a;return u},s1=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},s2=function(e){return s1(sY().inflate(s0(e)))},s5=function(e,t,n){for(var r="",i=0,a=t-e.length;i<a;i++)r+=n;return r+e},s4
vendor: 5,786 bytes, line 1
1={Courier:"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","Courier-Bold":"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","Courier-Oblique":"eJyFWVtT2zgU/isZP+3OhE5Iy/UtDaHNFhI2IdDS4UGxFUeLbKW6AKHT/77Hhnbb1fnUFw98x9K5fzpyvmZDU1Wy9tlxdnUenChlZ3e//+awc7B32D/Kutmpqf1EVJJeGJpglbQ706VWX4JshEHrX4Wdn4SiUnr7q5jga6nKdaPvXBYqVISMvdAqH9Slpjd3dvuEuFP1KIsL5fN1duxtkN1suBZW5F7auWxWjx69rAtZzEwl6hc73741j9nx553+QXenv9frHr456h729m672YJetVrV8sI45ZWpG0W93k+Cy7XK72rpXHZMK7MraV37WtbrvX7V6/VIxcR4lT87s9naxovOH/mfnd2jw6MuPY967XO3ffbb5+v2edAZFGYpO/Ot87JynXGdG7sxVnhZvOp0Blp3Zs1urjOTTtp7QknbiN4qVF3O87VsQ9huMveiLoQtvkvpxaHYvH+J6d4+Be/j9//e9Pe72cDlTZxsdrzfP+pmJ/LH/zu7ewfdbO6L99e0crf98+rlzybY59JblVM8Pn/Nrj/S+iZeEzLEbQSF4Vv3f7B8zLWoYvxLMOToUseSOlTLJs5lHcsKo7WwMb6RNm/qNRKIikSOogMsaBPG7CesrLVcIRFYJlyzo7tjVungYjSnNhMxvN5u1pLxnlxRhvHEaeHWMfwkrYlRUzNZ8g/Mm35tJfPuipqWQdU9865Tjwwo7znvJB/TWnEG50YbZg8nKwVEuuniWOmXIJgaLK2kPmTcJBJzLVPEuWdsH8TQ2xgaxtBJDI1i6DSG3sXQ+xgax9BfMfQhhs5i6DyGJjE0jaGLGPo7hmYxNI+hyxhaxNBVDF3H0McY+hRDNzG0pJPoTnqeNpYkA336sg5ySq5UrmweGBYNDWk7OjiYFmn5jTeG4Zwl02MM/zIdxHAB01AMy8WQiqF/YoihV6aFmWgxXcvQ3oYJZQwx3MDQCxP7EEP3MfQQQwyTbhnS5+sLFMKSO0zb91PV6JUu4FFfmAcmzvzp3ByXuplX4hJqpjqWZ7fc2bHSxir2PAC75MHSMZ4zAWzbxql27oRTCx/NMiiSVAZQQCNuN/6NGIR+xXTHiil8GuRYmilEWXJH2jPOjmLPA0eTO2kl0/s0C4nSig1HanQJkIwX/4V3KVwiwmkpCNGPBAC51FptnGIalTz1axPQpPh86POlTQHgRh+RB88NLi2Tr7Rk2hn0VSVyy9Xw0kpOcWG8yPl+K+iyJVn/LduFOV3GaOBmuDvUpbCh0iIwakxJQybD0rlg/ZAVX7ADZuQxtljRjMcPhWfggJ0inFdQEckFzWoQfLyb2ZLpTg30GoQzu1Nr0lWWSp5J2hjnU4LyE6BoQjqjEqTuE7agUPeKq+ZPwLJBqjMEWLRILdqCRa69dqEekaktF3yfLHAYBGqGBbAuoAUjrOSECIK7fyQdzb9/r2BUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2T7IuGcEMqHiXdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4Cuz/bbhQjvgMDPR
vendor: 5,589 bytes, line 1
1FJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNR8eaOBgfv8trTmTtbsHcjKUjkw9b4DyR6nGCVQV/NXkRGoKQscMigyN2DBDYjYy0cu8Als5JkJZQhJQSd5y6PRD56OSDBA40OiKkGAn1BrIN1TlBF09KBMOaQZOzFNjiXAwxOpPZMrz5O0fzAJRsSmVcwnDQUsMuk5c4RCX4AJp+VxKmBLhcyYNk/UK1+RH5J1fAYS560oZCUsY7lMsMIYRGmMCucMWE1BWwvNnAzNzQQ0uElVVA2mpsVv8gfiI5FDJeBScuglq1xS+SDMk6mbpi0viCW4XzsMSNEQGBEgmxcq59JwAjaySW8mID8G4LN0WSelA7DnAHI0P3NNwT5PiQ4ZodMe6b5LugIGgXGyFYAJPn25MWWT79pw30cwlwYsoq3Qr1XpCy13kD8Bp+rkVhRyfEIo1OOj0PwOedvNPkhbXwhlm1+Pb7/9C/NFF2U=","Courier-BoldOblique":"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",Helvetica:"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
vendor: 9,028 bytes, line 1
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
vendor: 4,116 bytes, line 1
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","Helvetica-Bold":"eJyNnVtzG0eyrf8KA0/7RMhzJJK6+U2+zMX2mJYsEuJMzANEtihsgYQMEITaO/Z/P41CV+bKlaug86JQf6uArsrKXNVX8H8m3y9vb7u7+8m3k4t/btazm+7o5PmTZy+PTl88eXk6eTT56/Lu/tfZbTc0+Hu3eOju51ezb75bLq532maxYO2oarPb+aJndRCm3fzm425/Y8N/3M8W86tXdzeLoeXjYXv91/mX7vq3+f3Vx8m396tN92jy/cfZanZ1361+73af/PHLfXd33V2/Wd7O7sY+fvfd8svk239/8+T540ffHB+/ePTk8eOTRy+fHf/n0eR8aLxazO+635br+f18eTf59ptBBuHtx/nVp7tuvZ58+3TgF91qXZpNHj8+/svjx4+Hnfy6HAawG8z3y8/9ajeGo/+6+j9HT16+ePpo9+/z8u/L3b8vH5d/nx+9ul6+745+79f33e366B93V8vV5+Vqdt9d/+Xo6NVicfRm9z3rozfduls9DNTDOF8fzY7uV7Pr7na2+nS0/HD0y/xued9/7r4ZGi2OXv3taHZ3/X+Xq6P58AXrzfv1/Ho+W8279V+Gzv447Op6fnfz+9XHrsxA6cnv98NHZqvrqg4Nv599/vs4Ic+fvHg0eVe3np4cP5q8Wl/tAr0axR862/7m+PHzR5Pf76//Pp18+2QnDv+/2P3/9PF+vv7Z3a/mV0NA//0/k+m7ybfHz4dGvw5dWX+eDXH830d7fHJyssfdl6vF7Nb46fPTPf9jsxzi9X5hytOnz/bK3eb2/W6ibu6ydr1cLGYr4y+GiSn8c7e62qV7FZ4fH++F2e0grYf4mGQdLj0oM557/Xm26u4W3YeWRB+r3Zitd9+4/uQdfzEO9/Nis85duBqqdJZ38bH//LG7y82HocyXYiTrxWz9MQfrz261zHR512V4vxUt7z+uOtH2w3KzEnT+INqu518E7B46MbddiKmnw/xOpNXVcrG8y3jd3c6jZDOw2NlAot0fm9ki45tVN5SzD/PZkyc1abp1sZqqvHz+dJx7kX2vMvouo+8z+sH3/Oz5Hv2YO/NX/2BNhb/l7/p7Tph/5DD/lD/4c97jL156NeT/zB/8NffrLA/ot9zqdf6uN/mDv+d+vc0fPM8fvPB
vendor: 5,284 bytes, line 1
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
vendor: 4,300 bytes, line 1
1UIMZVdpiYU8MkygvjnBQmcEaYENPBMOUCvuxDYeAsaLzsQ+pF/u5pRu8ygmlP78YwzxNeJZrtinmq47k5zjgrNPEs0/yzrNKA2+Rs4BaUFCxzbrDOKcJ6zBRWKWFIftuMKadPklUWUaOL5n6nTeVdU4EMY4USjeWcb9SC0o5Uzj57uh/yzhllnAuUay6oLHM155drlFkucE65wtnkSswj55RB4UUejghnTetFHpYvxPdPBXsnGORFft8lCTkXTKMsMM7zX083YfoN0ewbp8k3rubexDz1JtHMG+eJN4Hn3YQ47YZp1vEaBIWB57xxDYLUi/zd04zeZQTTnS5KMM+TXSWa64p5qutTYzDVhmiqjdNUG1dTbWKeapNoqo3zVJvAU21CnGrDNNX44CeFgae68eAnqRf5u6cZvcsIpjo9J8k8T3WVaKorpqn+bZzl8cmE33CGkdXZRUZP1rkQHq1z7M/WOYNH6BzCM3QO7SE6R3UGgflzMmUrXjErKD7RWJC4q1J4uq5WaLx/UhDdDymMboIUFu58FBLvKv4G8zZeTdyh2KDLg7L7iIj0oDo5qHCbEHAeayfG2omxLkOK2f0+QOKRr8LTrZxC44NeBcmHw4tCT38VFh8JLyg+2/UbVscY/dcTfMS0bMVHTAsSj5gWnh4xLTQ+YlqQfMS0KPSIaWH0iGlh4RHT155GPow6tD15M9nfzYet+GxOQeLZnMLTszmFxmdzCpLP5hSFns0prE4RoPjY0ZvRn2GrZj6i4MounMetPN7zxnjP5XjP83h5IkER4z2nZ5HewEQ68WXkzQQfMnwzrhSuXcal+Q2tDyOtVzFh9g1RSIyruJiYg2MSRci4DpPJHCsTKEGMU5bgdWhGlC+N69CkngvUiJXMIRPbseJsMn44VimvTODkMiFmWL7UbghyDa+rUyvOOnVdfZTqg8SQeoYonMZVOE3M4TSJwmlch9NkDqcJlHrGKfUqfysQpZ5zlXpVPReoESuZeia2Y8WpZ/xwrFLqmcCpZ0JMPXy0nTIEUg8fbadWnHrq0fYqpefYjqXAoT3wHJtuIsKsn2PTaiPkjefYtMypqp9jk+rbpsDJe+h5B9nmvCkcjLlO6tjkazFPCR7V/5+Y52SPckr5KFPipwdBZJZiEaTnQOQnUkE0nwLZNximu5z9vfSt+g2A6hkToDApwGEPQGv4AVk4gVkMgY2BA1Lz15G/oPoWSxiQONV4S8UKNJ5qvBVlCQqdarzFAgQUTzV2aHeO98K34rsaBcV3NQoS72oUnt7VKDS+q1EQvatRGL2rUVh4V6OQ+K7GDl0tFzTyeu7qbXafeOZbdZSAqrEgwlECh1EihVNXwHXwgGzwwGzwzj72nz925Zzr2NgyjGqZZ2vZmJqlnJplnho+nQVFTJqdzgLKM2Sns45WcSsPZBW93IV1dzvPU74JpbjJ9rFpeMVGesUmewU/kgqKcJGNcJFNcpFtmPA+buUk7XPm4buILwlRENK7iMxVhNS7iCxRrPK7iCxwbPhdRMbktXj8fkqIXFcfv7OY/TcdvzPXTpyP31kgT07H78TBxQxRrRgnnzauHMHEbAsmkTcYZxswgQ3chOjihsko/LXPhQodmXrFXa4Ftnfj5PHOhdGb2K45Zfmmke8bZ/M3gVeAKqRloArLHAxeEIwfygGxNJjUyIHGImFyK0V4uTDeSAVeOCpfCdQYul5HqioWkyrBimKo4ahybTGx7Zy8yhjXS43JLWNNi44J2li3Odt6gRrlpFajcKCPa1IUOI5R5fUpqjLWsYmIeGzAcY9qCm+UU5CjTKGOIq9k6XLAqRR4VTtwOUA3ESucvhyg1cZq17gcoGVe+fTlAKmi7UeBiz6qvCJGVXpibCKcMTZgf4xqssEop/UyyrRqRpENM6jsaCTGdTS+SNeq5bSmRpVXVlLV+hqbfM1L5FobW/CKG9W07kY5rb5BzmtwfMmuFc60Hkf16xmo1ubY4GAGttbp2OhwmqY1O6oHEzGt30FdNYWDYWus6KGNWtdDA1zdo3BwbdIrfWzytdUnrfpRbaz9sdHhJSofB0T50BK1bdVA3xQOWkM+Sjif4BM953g8ACg+x3OeVn7g6XriOa7xgOiZnfOwmgMLT+qc47rtqNroiRH6IZR6PRnH2nj1xjmN+tCrNy7m8TdevXHOkWi9euNCjEnj1RvjFJ30ysrIG6+sEKdgHXplhUQVtq+8skI6BfDgKyukcigPvLJCGgVVvr2hIsjhlW9vBEqhbb+9ESQV1oNvbwSVQnrg7Y2gcTibb28EhUIpXm3IseIw5lcbHFEAG682OFeha7/a4BIFrfVqgwscLv1qg2MKFL8SQKHgEDVfCUgKBezwKwFJVuH76isBqQUF8yuvBCSdQ3vwlYCkUqAbz8LruHLYxbPwwCjUrWfhQVDhPfAsPGgU0uaz8KBwGBvPwgOn0KVHxzkqHC77iW0IlzMKlwsULhdUuFzN4XKNwuUCh8sVDpcrMVzOKVwmULiMc7jGXw6GYFVCoaqYAlWxClPVcpCqQiGqmANUOYen8hicSik0I6bAjJTCcjGG5IVvxdOVCwwFIHG2d0EhABrP6y7C0IHRNYQLGDKQeJK2Q/6zzGUrzlxB8SzLhbO4FVOhIDHfhae5LjTOc0Hy94KLQrNfWD0/BRSnd4d20/rMt+IpS0E1BIDEdYvC0ylNofH6Q0F00aEwutJQ2DhjQOoIHMXT2YtJekR7h+Kguzw5dqUGkZ6vTs5XuBADOE9jJyarozLdMbu44tm5u6Dy0rfiKXlB4jy88HTyXWg84y5InmYXhc6tC6s5Biheyr2Y5Ke2dyxfiNjRTZjZTc7GTSP1NjL1Njn1+DICKCIpNyIpNyEpp6PrwVbs9RRdD5AYyJRcD2gcyDS4HjDq7hRcD0isoekEH7iboncBEo95Tcm7gMYHuqbCu0ChR7em6F2A4oNx09G7Tn0r3gyYoncBEjcFpuRdQOPl/2nwLmD0q7VT8C4g8Vr+FLzrCRC8Cj0drWv/I2VTtC5A9nYJoPwLbVOyLqT4donj+BNt02BdwPztEmNmXT7UZUi4ZS6SZaMilrIilrki2LpAEbVi1gUoFwZdqJ2Sc/m87Zzr1MZvzgUoJp5zTDynlniO+GaTK56SzjwlndWUNNKHeupz3fepvi9Hwxt/qekSHQ+ZvZEGLL6IAwK+iQPYXsUB5m/cAPRXbgDWd24A2RtpznbW99y34ot8l8n6gKd3+y7R+gDRxIFigwFW8xJQ7bajmS2wl2h9gOLN4stkfcDTscElWh8gOgK4DNYHLFxHv0Trc1RL6CmQW/xl5svR+174VjyfuETvQ5TPJy7J+5CC9wGOpxmXwfuA0WnG5Wh0MARzOmTq1cxL8jrE9GrmpXA7lPitzUv0O2T0hublJP8Y9iVZns/XJjbaiIFuWgPd6IFuxEDZ91BSA3XnQxhfT7206/RgBukmRBLY0/RtiKQKd0s3IpKQfC7fikgKOV66GcECeF96x4y5ckH1jhlL5Ietd8xYZmdM75gxJ4+sHIzSELmlcbJM48o3TczmaRI5qHG2URPYS02IhmqYXNVvMoVS5XtPXANgc4bIaY2T3ToXnmtiNl6XsvuaRhZsnH3YBDbjKizFoJMtmyAty1ThW6axeZnQcDDTk42ZwqZtAjt3upPIgvDwKm1E8+TmJhyMj/J101rxaTm86c34ZK83hQyfbvlVJ1T3/JTGzt+866caCP9X9/2UllYBeedPibQWqHt/QoMVASktCiipdQH1vDSgSqsDSnqBwBa8RqBGywRKtFKABIsFUlovUKIlAyW1aqCeFw5Uae1AiZcP1HgFQS0uIqjQOhJuBgfHELeJRYGBaSOlNQUlWlaCJFYW1PPiEtS8vqBMSwxKvMqgxgsNaEsdkrTcoCYdFRsIU0WZfRW1hrVik+SuKPIChBqvQepRAaGJlQjUjf5QWo9Q+1oA1aqE8oEAttYmbHIogHmFQjEuUkM5TfxXQsqW/66PoXj/yYXd3yTc/5WH3dY2bPl1nrIVr/MUlK7zVNfDHhmibhmXfasqdLCibUZ97gH313ju9Ngx7LQh6rRx2emqQqcr2mbU5x5wp43nTodnlaDnkVP3oyjHEJrAQALfNnjf6B+PK4p5cJDuMDSkNDCU5LCgAQwK6FbSXvaJh4NSHkx9zAdGYoiGYVyOoaowgIq2GfW5B9xv47nT9tgH9NoZddsF2W+ToePGtoL1oh/cdxdy5+0hDOi8M+q8C7Lz4c/Tjx0Nf56eWS/6wZ2Xf55+1MYHJaDrlVDHK5bdhr9
vendor: 9,156 bytes, line 1
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","Helvetica-Oblique":"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
vendor: 6,511 bytes, line 1
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
vendor: 9,325 bytes, line 1
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","Helvetica-BoldOblique":"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
vendor: 2,486 bytes, line 1
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
vendor: 3,517 bytes, line 1
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
vendor: 4,226 bytes, line 1
1sNRCZ0WL3dw+E7juUGnxF0tJqzettRq6o1rkya+SF8oQpN2zHrgVJ6yg2ktE1jmA4/X3Z0aug27p4+jG6qFs2aUsR3T9ygR76d2/bBm38kDUlfPCU1EXGk+yC5In2UWhk+zCYvYWFK+c75BdOfew/REarMO419FcVphFiGx+EDZieV9v5ZSN0Mr5Q70wudobHmyEC7KraHcjtNvtPjRDNFHGKe2cc+7RvfwayYqvc0tORXum2uNiiJLSuIymPSFF6Vn5UqDG+GW2mphT1iTKW+M6eU3mDDaB0tg45TI/O8HT8Eduus6B4/w2TknunDPdlUMT5LltRCU+nDRQJveZxDoQ5wKjYs9zeEQMUTIYp2JwzsXAf6niWcTXuSUXQ+VQDIaoGIzLWKc/HkE7WArUGL8sBvW3I1iiYmj97QiWuRjS345gTsWQ/nYETcMfuek6B46LwTgVg3MuBlcOTZDnuxFVDHAFizK5zyQWg7h8VZVwUQVLIgqcGFHl8iA1FUnUqVSCeN36VCqbfL/uqRK4hA7er1NtUjmlG1xaOBhBXWDNG1y6ARfbwRtculEqPH2DS6tchEFNpRjUP1ofW7emIRVnVLlESU2FSvrX0wDqMnJZunwpVFZf3+JUzK3roHs9Xi+qYUKUH0j0gATYuAcILzXSKfC4Vf525/iinyF/1oc43SIP6oWdQlUyTWT3JyjHM3NDlhzE8UJAlOrZ+3ha/iKLo7LP32EOJ+5oZSsWeEHVbACJQi88VXehsaQLohItjO4nFhbuJxYS6/MBrPeFkZ1/PfGteNPxITkV8HQz8gE9CRAZESj+i2vOquUAquNwRD9dtoWhnRpxa95mP942THgrnXeb7Xbb9NitMNZtdtNtttAtDm0/kN0VZL/vULbirY2C4nN1e5RvdBSe7nHsaXquruB416MguqNRGN3M6MdaeeJbMa96rBVAItV6qhWgMdX6UCvA/Cf8nI21AiTmWJ9qpQ/z0Od56PM89I156OU89Hoe+jwPvZiHvjEPpQie2pYVgaNYBM6xCJxaETjiInDFi8CZFYEjKwJDVN91QcSsMkSpZZzyy7hKMhNzpplE6Wacc84ETjwTYvYZphTkyywUCkgHQ5SRxiktnYvcNDEnqEs5S02jVDXO+WoCJ224dvM0IkrfxrUbEnMi52s3xHVKi2s3JFBy52s3kXOaw006yHSklOwoUb6jpFIe9Zz1qFLio8S5jxqnP2qxAlChIsjvgohYQbohpWpAiQoiSKImUM9lEdRcGShTcaDE9YEalwhoUCVIqVBQUrWCei4XVKliUNJFgy24blCj0kGJqke8BjQmxZ8TeI75T8gBIOGJ5T95xgHzedafNL9Aw1PIf+JsAorPG/8JPs4kdppdPOHcfeHhSUkDYQdnTENK/j3yerLZZRLHZTiOy3Eel2lpXK6kcZkUx2WYxmWcxoUvSXWaxvEFKY4xSnmcQU9jjWoab5DjmINE4w4ajP0///v/AGoZ428=","Times-Roman":"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
vendor: 5,588 bytes, line 1
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
vendor: 5,755 bytes, line 1
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","Times-Bold":"eJyFnVtzG0eShf8KA0+7EfKseJXkN9nj0Vj0yNaNEHZiHkCySWEJsmmAIA1PzH/fRqMr8+TJU9CLQv2dYqMrK/NU9Q349+jH9va2uXsYfT86+8dqOb1u9o72Tw5P9o4PTk72R89Gf2vvHt5Nb5uuwafZbbP87od2frnhq/kc+V7h09vZfI1KB8fN7Prr5jOGRj8/TOezi9d31/Ou1fNue/m32R/N5W+zh4uvo+8fFqvm2ejHr9PF9OKhWXxsNn/50x8Pzd1lc/mhvZ3eDcf1ww/tH6Pv//nd/snLZ98d7L98tv/8+fNnrw6P//Vs9LlrvJjP7prf2uXsYdbejb7/rpNB+PR1dnFz1yyXo++PO37WLJZ9s9Hz5wd/6XbUfci79mF2senIj+39erHpw95/Xfz33v6rl8fPNv++6P99tfn31fP+38P+3xd7ry/b82bv43r50Nwu936+u2gX9+1i+tBc/mVv7/V8vvdhs7fl3odm2SweO7oN4my5N917WEwvm9vp4mavvdr7ZXbXPqzvm+/+3nR/9frN3vTu8n/axd6s++Pl6nw5u5xNF7Nm+ZfucH/qPuZydnf98eJr08e/P4qPD92fTBeXRe0a/ji9//swJCcvTp6NvpSto5P9Z6PXy4tNqBed+PLw2eivjW13QX7xbPTx4fLv467tUf/fs+6/+4evtgP2j+ZhMbvoIvrPf4/GX0bfH2wi+647kuX9tAvkf55t8eHh4RY3f1zMp7fGj4+Pt/z3VduF6nzuyvNhR3er2/PNSF3fZe2ync+nC+N9NvTCfbO42CR5UV6Wz5/edtKyi08+tP4Q+jHP2v100dzNm6uaFP/Mjm+63OxxeePKi3KA89XSqAXtoqvNaf6Ir+v7r81dbt51ZdZ6Tw5evBxiP58uv+aj+bNZtJm2d02GD0+i5cPXRSPaXrWrhaCzR9F2OftDwOaxEYPb6Jjeze5EXl208/Yu42VzO4uSjcB8YwSJNr+vpvOMrxdNV8qim7+vmmVvNkV5dVjG3o/9xcHBlr02dHLyYot+yK1+zOiv+Q9/crS/v0V/8z8sqfAmo797mDon69HPuWNv8x+e5oP4xfu9cYcN+kc++nd5X7/mo/8tt3qf9/UBvONkiz7m4/qU//BzRmfCOca52ZeMJvkj/zdn33k3n900D8E3rEjPOy0WKv8dmcrL/WIqF7PZxWxxsbrNw7ba+Paym3xEjfQGFw7GjSpH9dzQURnai9zqMrcSn3yVP/E67+trDtIs7+v/8h/e5D/0Gjbrv81/KFynza3uM/o9d9vNwcpqmY/+Ie9rlQ/iMWfcU24lrHSdj+tPP4hXR55fMREODp6XrFxU2lM2HjyHbHyYzS+rk/1l+yTiHKZnnwoe+qWaJ8d+Ka+rzdoQjdb7rCaPq3m7mAm+bCp7uVgtunn8Yp1TqS+b5axfuwr/365bdFldr2adcts+6KXDRu53/A2ZQl8S52ommFhBdWs5uR64nF5fqzlty3ExRiuOzdg1i8Zr//io6N0S/noxvQdT
vendor: 9,984 bytes, line 1
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
vendor: 5,208 bytes, line 1
1HW/V6BY02rW3arTMOZDfcJHx4szY9YaLbvKtEeHU2f2Gi27ECVV5w0WrlGb5vQct7AxMzsNiJdv1wx1a1oBwTiwo7BQEXLJsURtsqS3z8XYrG6QhaFXxzMihvfRSpNA2O6whaEUPvD5WFfgbYdTOoF350tzHjKAVBpaQtyqTWFo6bWfHKEet/MW8uSqPSm/3yUK0I1bjd6iyKuyImyQ74gbRbFgls2GZzIbl8GWZLMYnSnpVB2tHpHaE6Vsx2h2gHdHZFZpdcakH5dsRgf9/d3Jo6pByI//60YiHFbvSQsqKXS70ny3i2U/UytwptfB0qWjhD+5FHC9mRK18oNS6mXg+n9bU+LCraHE/vegv5Bwl6dE60AVpdLEZsJe2FZ+s6ZEtKQDZwQEM18AWZQ1jepN33eRd0xLFOeY5UFyMOI6vpi/issMZPTO0YZ7a/VYszB7F0LtATy1tkM/0/VaciXtkAQAU9+9CnP8XZTVkh97mALeVaLYymm0OW1rWuCIC2sYX9hdh1WLoPoTNT7SeG/s9tPcprlQvJq0h6r1xyjHnnMP6jqNhsW9O6Xy/kbkYDnW3MUk5zdPNRuY8PuJmYxSuc5w5/43LIkg3LYdKKBwS3RDVhHEqDOeqOkylEgl3OmNnuVgq9zlJrA8R1071JifJtVHiUsp3OCO/z8OQKqsIv+c/hxqz72XyVoYoaMYp351zjfGXPg01hl/6RC25xtKXPiUuBlB96VOSco2lL31izqOXv/SJhOscZ64x47LG0rdHDTVWONSMIaox41RjzlWNmUo1hl85RZ3lGtNfOcVifYi4xmpfOcVybZS4xtJXThG/z8OQaqwIv+c/xxqLX68CbaPAAYwqVwCpqfbkd7qUCsxXn9RfpWqsXH3Sqhr2+tUn3UBUaeXqk1RTLtSuPin5ujaCqYajqitZf11MqeegYpVGgWs7qlzhpMo6j2242vPVOBWoVPm7rsbJJt9KhOQFu6/GyUa7cyG5Q+VqnFLva8Oc/SLIv9d26N4xnNj1Fxm2l2qMlKATtq+0iji+HBA1fEEgKvaSQMT+OkDk/kpA5OW1gEjtG6oC/jQqr3MasRNnwuIV0CJuvk37KOx3nNpM0mdPdEwnKUDdAMFPCvVb8XpPj6JN9Ehc3+l5uq7T03g9p0d0HadndP2mZ+G6TU/i9ZpHmBS8T1Fvcp/ojsNjNnrnsk/ihsJj8HFHoqt8v+Cx2JJv5WPmFx+NywNs85Hktx5NEcfYxvfRHoN9GDJreNGjpzQcT6FrT7lrT5WuPcmuPeWuPVW79iS69pS79pS79pS7tk5dW4dMW+dMW+dMW1cybS0zba0zbZ0zbS0ybS0ybT3Ce+prHA5A4p76moYDaLynvhbDAQrdU1/jcACK99TXYjj4wscwJuHCR2zJo5MvfDAX4yQvfLCURyxf+CDOYycufEQBRjFdHmCuxlNdHmCJRrZ2eYBlHuN0eYA5jXa6FjAMuXh2cRh1fnYxteexl08uCklkQOW5RaXmPFCPLQqJs0E/tpg0yAn1MKGQVGZUHiUUKuXHjgcJRQvOEvUYoZAoV9RDhF26/Os//w8s8zdF","Times-Italic":"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
vendor: 9,624 bytes, line 1
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
vendor: 4,268 bytes, line 1
103DBixW4nY7DVi8RV509BQoxK/G2+YvgVv3L0z8mKakcaPwhf8WyYWVsIxXkHc/UG2/R+tLWT3l9hOQkx3f4LtLKSxv71GGAK0V+7BWvcvjdxjddujh5ToISfaQqL9Bzy2mGhCPNElzMnF9r2s4I/+/b//H63X5Vs=","Times-BoldItalic":"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
vendor: 4,189 bytes, line 1
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
vendor: 7,606 bytes, line 1
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",Symbol:"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",ZapfDingbats:"eJxtmNtu20YQhl+F4FULyMGeD7pz3AY1ChtG7NpFA18w1NomIlECSRcxgrx7SVk7+wOdG8H5OJydf2Z2d5gf9cV+t0v9VK/r+6vXsXlOlbHe28paq229qj/t++m62aXZ4J/m8PRb1z9/baZxefK63Z6eXN5dVMvTCh83u277xr/6kLrnl2XNq7TpXnczuZyabdee98/b2VzM/x4/dd/T5qab2pd6PQ2vaVVfvDRD005puE3Lu7eH1HbN9hTjx4/77/X6y5lcnUmjVzHIVVDicVX/1W/SsO36dLMfu6nb9/X6TAoBD+5euvZbn8axXtuZ36dhPJrVQqgPQoh5hev91LWLkIv94W1Ygq9+aX+tZAx2tfz64284/sblN/rqfLP/mqrbt3FKu7G67Nv9cNgPzZQ2H6rz7bb6vLgZq89pTMO/M/xfEqturJpqSM/d7GJIm2oamk3aNcO3av80O5xh3yyKmm1193ZIT02bqovTKjP+MAf++7zsZvZ3276kYyWWXB0z99S18/PbafPHQ71W4fjn/fxnFO+ZvkrT0LVzTr78qB/+nk38bHM9exgP8zr1z9U7jt6840YW5uSJKcZOCaBBnKgm5mU8MVNYyMwWFvO7Ukagkmgg6sDWQ5yFFqjzUrLEaQ3BEmiwNsMSaZS0vgWfOkPHWQowNeTUc0kumnxZvsgPxlGai6VTGUqAVCTQ6QkWnc77DKEiLktSUBJKqHIQZ86d8gCpHYoiEzMsb1ubYy8vW50DChB5ZhGqrijD0EqUIeiaEHIfCg5Kpuu0ApiToaGPSY0uaQsyr65L2oKi1yFt1PLaQ3lzfXTgXodGoJYzglndSLDMPg1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w=="};!function(
1e){e.Courier="Courier",e.CourierBold="Courier-Bold",e.CourierOblique="Courier-Oblique",e.CourierBoldOblique="Courier-BoldOblique",e.Helvetica="Helvetica",e.HelveticaBold="Helvetica-Bold",e.HelveticaOblique="Helvetica-Oblique",e.HelveticaBoldOblique="Helvetica-BoldOblique",e.TimesRoman="Times-Roman",e.TimesRomanBold="Times-Bold",e.TimesRomanItalic="Times-Italic",e.TimesRomanBoldItalic="Times-BoldItalic",e.Symbol="Symbol",e.ZapfDingbats="ZapfDingbats"}(p||(p={}));for(var s3={},s6=function(){function e(){var e=this;this.getWidthOfGlyph=function(t){return e.CharWidths[t]},this.getXAxisKerningForPair=function(t,n){return(e.KernPairXAmounts[t]||{})[n]}}return e.load=function(t){var n=s3[t];if(n)return n;var r=s2(s4[t]),i=Object.assign(new e,JSON.parse(r));return i.CharWidths=i.CharMetrics.reduce(function(e,t){return e[t.N]=t.WX,e},{}),i.KernPairXAmounts=i.KernPairs.reduce(function(e,t){var n=t[0],r=t[1],i=t[2];return e[n]||(e[n]={}),e[n][r]=i,e},{}),s3[t]=i,i},e}(),s8=JSON.parse(s2
vendor: 6,084 bytes, line 1
1("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")
1),s9=function(e,t){var n=this;this.canEncodeUnicodeCodePoint=function(e){return e in n.unicodeMappings},this.encodeUnicodeCodePoint=function(e){var t=n.unicodeMappings[e];if(!t){var r=String.fromCharCode(e),i="0x"+s5(e.toString(16),4,"0");throw Error(n.name+' cannot encode "'+r+'" ('+i+")")}return{code:t[0],name:t[1]}},this.name=e,this.supportedCodePoints=Object.keys(t).map(Number).sort(function(e,t){return e-t}),this.unicodeMappings=t},s7={Symbol:new s9("Symbol",s8.symbol),ZapfDingbats:new s9("ZapfDingbats",s8.zapfdingbats),WinAnsi:new s9("WinAnsi",s8.win1252)},le=function(e){return Object.keys(e).map(function(t){return e[t]})},lt=le(p),ln=function(e){return lt.includes(e)},lr=function(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},li=function(e){return"`"+e+"`"},la=function(e){var t=typeof e;return"string"===t?"'"+e+"'":"undefined"===t?li(e):e},lo=function(e,t,n){for(var r=Array(n.length),i=0,a=n.length;i<a;i++){var o=n[i];r[i]=la(o)}var s=r.join(" or ");return li(t)+" must be one of "+s+", but was actually "+la(e)},ls=function(e,t,n){Array.isArray(n)||(n=le(n));for(var r=0,i=n.length;r<i;r++)if(e===n[r])return;throw TypeError(lo(e,t,n))},ll=function(e,t,n){Array.isArray(n)||(n=le(n)),ls(e,t,n.concat(void 0))},lu=function(e,t,n){Array.isArray(n)||(n=le(n));for(var r=0,i=e.length;r<i;r++)ls(e[r],t,n)},lc=function(e,t,n){for(var r=Array(n.length),i=0,a=n.length;i<a;i++){var o=n[i];"null"===o&&(r[i]=li("null")),"undefined"===o&&(r[i]=li("undefined")),"string"===o?r[i]=li("string"):"number"===o?r[i]=li("number"):"boolean"===o?r[i]=li("boolean"):"symbol"===o?r[i]=li("symbol"):"bigint"===o?r[i]=li("bigint"):o===Array?r[i]=li("Array"):o===Uint8Array?r[i]=li("Uint8Array"):o===ArrayBuffer?r[i]=li("ArrayBuffer"):r[i]=li(o[1])}var s=r.join(" or ");return li(t)+" must be of type "+s+", but was actually of type "+li(null===e?"null":void 0===e?"undefined":"string"==typeof e?"string":isNaN(e)?"NaN":"number"==typeof e?"number":"boolean"==typeof e?"boolean":"symbol"==typeof e?"symbol":"bigint"==typeof e?"bigint":e.constructor&&e.constructor.name?e.constructor.name:e.name?e.name:e.constructor?String(e.constructor):String(e))},ld=function(e,t,n){for(var r,i=0,a=n.length;i<a;i++)if("null"===(r=n[i])?null===e:"undefined"===r?void 0===e:"string"===r?"string"==typeof e:"number"===r?"number"==typeof e&&!isNaN(e):"boolean"===r?"boolean"==typeof e:"symbol"===r?"symbol"==typeof e:"bigint"===r?"bigint"==typeof e:r===Date?e instanceof Date:r===Array?e instanceof Array:r===Uint8Array?e instanceof Uint8Array:r===ArrayBuffer?e instanceof ArrayBuffer:r===Function?e instanceof Function:e instanceof r[0])return;
1throw TypeError(lc(e,t,n))},lh=function(e,t,n){ld(e,t,n.concat("undefined"))},lf=function(e,t,n){for(var r=0,i=e.length;r<i;r++)ld(e[r],t,n)},lp=function(e,t,n,r){if(ld(e,t,["number"]),ld(n,"min",["number"]),ld(r,"max",["number"]),r=Math.max(n,r),e<n||e>r)throw Error(li(t)+" must be at least "+n+" and at most "+r+", but was actually "+e)},lm=function(e,t,n,r){ld(e,t,["number","undefined"]),"number"==typeof e&&lp(e,t,n,r)},lg=function(e,t,n){if(ld(e,t,["number"]),e%n!=0)throw Error(li(t)+" must be a multiple of "+n+", but was actually "+e)},lv=function(e,t){if(!Number.isInteger(e))throw Error(li(t)+" must be an integer, but was actually "+e)},ly=function(e,t){if(![1,0].includes(Math.sign(e)))throw Error(li(t)+" must be a positive number or 0, but was actually "+e)},lb=new Uint16Array(256),lw=0;lw<256;lw++)lb[lw]=lw;lb[22]=sr("\x17"),lb[24]=sr("˘"),lb[25]=sr("ˇ"),lb[26]=sr("ˆ"),lb[27]=sr("˙"),lb[28]=sr("˝"),lb[29]=sr("˛"),lb[30]=sr("˚"),lb[31]=sr("˜"),lb[127]=sr("�"),lb[128]=sr("•"),lb[129]=sr("†"),lb[130]=sr("‡"),lb[131]=sr("…"),lb[132]=sr("—"),lb[133]=sr("–"),lb[134]=sr("ƒ"),lb[135]=sr("⁄"),lb[136]=sr("‹"),lb[137]=sr("›"),lb[138]=sr("−"),lb[139]=sr("‰"),lb[140]=sr("„"),lb[141]=sr("“"),lb[142]=sr("”"),lb[143]=sr("‘"),lb[144]=sr("’"),lb[145]=sr("‚"),lb[146]=sr("™"),lb[147]=sr("fi"),lb[148]=sr("fl"),lb[149]=sr("Ł"),lb[150]=sr("Œ"),lb[151]=sr("Š"),lb[152]=sr("Ÿ"),lb[153]=sr("Ž"),lb[154]=sr("ı"),lb[155]=sr("ł"),lb[156]=sr("œ"),lb[157]=sr("š"),lb[158]=sr("ž"),lb[159]=sr("�"),lb[160]=sr("€"),lb[173]=sr("�");var lx=function(e){for(var t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]=lb[e[n]];return String.fromCodePoint.apply(String,t)},lC=function(){function e(e){this.populate=e,this.value=void 0}return e.prototype.getValue=function(){return this.value},e.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},e.prototype.invalidate=function(){this.value=void 0},e.populatedBy=function(t){return new e(t)},e}(),lE=function(e){function t(t,n){return e.call(this,"Method "+t+"."+n+"() not implemented")||this}return o1(t,e),t}(Error),lS=function(e){function t(t){return e.call(this,"Cannot construct "+t+" - it has a private constructor")||this}return o1(t,e),t}(Error),lA=function(e){function t(t,n){var r=function(e){var t,n;return null!=(t=null==e?void 0:e.name)?t:null==(n=null==e?void 0:e.constructor)?void 0:n.name},i="Expected instance of "+(Array.isArray(t)?t.map(r):[r(t)]).join(" or ")+", but got instance of "+(n?r(n):n);return e.call(this,i)||this}return o1(t,e),t}(Error),lk=function(e){function t(t){return e.call(this,t+" stream encoding not supported")||this}return o1(t,e),t}(Error),lN=function(e){function t(t,n){return e.call(this,"Cannot call "+t+"."+n+"() more than once")||this}return o1(t,e),t}(Error);!function(e){o1(function(t){return e.call(this,"Missing catalog (ref="+t+")")||this},e)}(Error);var lP=function(e){function t(){return e.call(this,"Can't embed page with missing Contents")||this}return o1(t,e),t}(Error),lI=function(e){function t(t){var n,r,i,a=null!=(i=null!=(r=null==(n=null==t?void 0:t.contructor)?void 0:n.name)?r:null==t?void 0:t.name)?i:t;return e.call(this,"Unrecognized stream type: "+a)||this}return o1(t,e),t}(Error),lT=function(e){function t(){return e.call(this,"Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.")||this}return o1(t,e),t}(Error),lO=function(e){function t(t){return e.call(this,"Attempted to convert PDFArray with "+t+" elements to rectangle, but must have exactly 4 elements.")||this}return o1(t,e),t}(Error),lL=function(e){function t(t){return e.call(this,'Attempted to convert "'+t+'" to a date, but it does not match the PDF date string format.')||this}return o1(t,e),t}(Error),lM=function(e){function t(t,n){return e.call(this,"Invalid targetIndex specified: targetIndex="+t+" must be less than Count="+n)||this}return o1(t,e),t}(Error),lD=function(e){function t(t,n){return e.call(this,"Failed to "+n+" at targetIndex="+t+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid")||this}return o1(t,e),t}(Error),lj=function(e){function t(t,n,r){return e.call(this,"index should be at least "+n+" and at most "+r+", but was actually "+t)||this}return o1(t,e),t}(Error),l_=function(e){function t(){return e.call(this,"Attempted to set invalid field value")||this}return o1(t,e),t}(Error),lR=function(e){function t(){return e.call(this,"Attempted to select multiple values for single-select field")||this}return o1(t,e),t}(Error),lF=function(e){function t(t){return e.call(this,"No /DA (default appearance) entry found for field: "+t)||this}return o1(t,e),t}(Error),lz=function(e){function t(t){return e.call(this,"No Tf operator found for DA of field: "+t)||this}return o1(t,e),t}(Error),lB=function(e){function t(t,n){var r="Failed to parse number "+("(line:"+t.line+" col:"+t.column+" offset="+t.offset+'): "')+n+'"';return e.call(this,r)||this}return o1(t,e),t}(Error),lV=function(e){function t(t,n){var r="Failed to parse PDF document "+("(line:"+t.line+" col:"+t.column+" offset="+t.offset)+"): "+n;return e.call(this,r)||this}return o1(t,e),t}(Error),lU=function(e){function t(t,n,r){return e.call(this,t,"Expected next byte to be "+n+" but it was actually "+r)||this}return o1(t,e),t}(lV),lq=function(e){function t(t,n){return e.call(this,t,"Failed to parse PDF object starting with the following byte: "+n)||this}return o1(t,e),t}(lV),lH=function(e){function t(t){return e.call(this,t,"Failed to parse invalid PDF object")||this}return o1(t,e),t}(lV),lZ=function(e){function t(t){return e.call(this,t,"Failed to parse PDF stream")||this}return o1(t,e),t}(lV),lW=function(e){function t(t){return e.call(this,t,"Failed to parse PDF literal string due to unbalanced parenthesis")||this}return o1(t,e),t}(lV),lG=function(e){function t(t){return e.call(this,t,"Parser stalled")||this}return o1(t,e),t}(lV),l$=function(e){function t(t){return e.call(this,t,"No PDF header found")||this}return o1(t,e),t}
vendor: 25,725 bytes, line 1
1(lV),lK=function(e){function t(t,n){var r="Did not find expected keyword '"+sA(n)+"'";return e.call(this,t,r)||this}return o1(t,e),t}(lV);!function(e){e[e.Null=0]="Null",e[e.Backspace=8]="Backspace",e[e.Tab=9]="Tab",e[e.Newline=10]="Newline",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationPoint=33]="ExclamationPoint",e[e.Hash=35]="Hash",e[e.Percent=37]="Percent",e[e.LeftParen=40]="LeftParen",e[e.RightParen=41]="RightParen",e[e.Plus=43]="Plus",e[e.Minus=45]="Minus",e[e.Dash=45]="Dash",e[e.Period=46]="Period",e[e.ForwardSlash=47]="ForwardSlash",e[e.Zero=48]="Zero",e[e.One=49]="One",e[e.Two=50]="Two",e[e.Three=51]="Three",e[e.Four=52]="Four",e[e.Five=53]="Five",e[e.Six=54]="Six",e[e.Seven=55]="Seven",e[e.Eight=56]="Eight",e[e.Nine=57]="Nine",e[e.LessThan=60]="LessThan",e[e.GreaterThan=62]="GreaterThan",e[e.A=65]="A",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.O=79]="O",e[e.P=80]="P",e[e.R=82]="R",e[e.LeftSquareBracket=91]="LeftSquareBracket",e[e.BackSlash=92]="BackSlash",e[e.RightSquareBracket=93]="RightSquareBracket",e[e.a=97]="a",e[e.b=98]="b",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.i=105]="i",e[e.j=106]="j",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.x=120]="x",e[e.LeftCurly=123]="LeftCurly",e[e.RightCurly=125]="RightCurly",e[e.Tilde=126]="Tilde"}(m||(m={}));let lY=m;var lX=function(){function e(e,t){this.major=String(e),this.minor=String(t)}return e.prototype.toString=function(){var e=so(129);return"%PDF-"+this.major+"."+this.minor+"\n%"+e+e+e+e},e.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=lY.Percent,e[t++]=lY.P,e[t++]=lY.D,e[t++]=lY.F,e[t++]=lY.Dash,t+=sl(this.major,e,t),e[t++]=lY.Period,t+=sl(this.minor,e,t),e[t++]=lY.Newline,e[t++]=lY.Percent,e[t++]=129,e[t++]=129,e[t++]=129,e[t++]=129,t-n},e.forVersion=function(t,n){return new e(t,n)},e}(),lQ=function(){function e(){}return e.prototype.clone=function(e){throw new lE(this.constructor.name,"clone")},e.prototype.toString=function(){throw new lE(this.constructor.name,"toString")},e.prototype.sizeInBytes=function(){throw new lE(this.constructor.name,"sizeInBytes")},e.prototype.copyBytesInto=function(e,t){throw new lE(this.constructor.name,"copyBytesInto")},e}(),lJ=function(e){function t(t){var n=e.call(this)||this;return n.numberValue=t,n.stringValue=sZ(t),n}return o1(t,e),t.prototype.asNumber=function(){return this.numberValue},t.prototype.value=function(){return this.numberValue},t.prototype.clone=function(){return t.of(this.numberValue)},t.prototype.toString=function(){return this.stringValue},t.prototype.sizeInBytes=function(){return this.stringValue.length},t.prototype.copyBytesInto=function(e,t){return t+=sl(this.stringValue,e,t),this.stringValue.length},t.of=function(e){return new t(e)},t}(lQ),l0=function(e){function t(t){var n=e.call(this)||this;return n.array=[],n.context=t,n}return o1(t,e),t.prototype.size=function(){return this.array.length},t.prototype.push=function(e){this.array.push(e)},t.prototype.insert=function(e,t){this.array.splice(e,0,t)},t.prototype.indexOf=function(e){var t=this.array.indexOf(e);return -1===t?void 0:t},t.prototype.remove=function(e){this.array.splice(e,1)},t.prototype.set=function(e,t){this.array[e]=t},t.prototype.get=function(e){return this.array[e]},t.prototype.lookupMaybe=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(t=this.context).lookupMaybe.apply(t,o3([this.get(e)],n))},t.prototype.lookup=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(t=this.context).lookup.apply(t,o3([this.get(e)],n))},t.prototype.asRectangle=function(){if(4!==this.size())throw new lO(this.size());var e=this.lookup(0,lJ).asNumber(),t=this.lookup(1,lJ).asNumber();return{x:e,y:t,width:this.lookup(2,lJ).asNumber()-e,height:this.lookup(3,lJ).asNumber()-t}},t.prototype.asArray=function(){return this.array.slice()},t.prototype.clone=function(e){for(var n=t.withContext(e||this.context),r=0,i=this.size();r<i;r++)n.push(this.array[r]);return n},t.prototype.toString=function(){for(var e="[ ",t=0,n=this.size();t<n;t++)e+=this.get(t).toString(),e+=" ";return e+"]"},t.prototype.sizeInBytes=function(){for(var e=3,t=0,n=this.size();t<n;t++)e+=this.get(t).sizeInBytes()+1;return e},t.prototype.copyBytesInto=function(e,t){var n=t;e[t++]=lY.LeftSquareBracket,e[t++]=lY.Space;for(var r=0,i=this.size();r<i;r++)t+=this.get(r).copyBytesInto(e,t),e[t++]=lY.Space;return e[t++]=lY.RightSquareBracket,t-n},t.prototype.scalePDFNumbers=function(e,t){for(var n=0,r=this.size();n<r;n++){var i=this.lookup(n);if(i instanceof lJ){var a=n%2==0?e:t;this.set(n,lJ.of(i.asNumber()*a))}}},t.withContext=function(e){return new t(e)},t}(lQ),l1={},l2=function(e){function t(t,n){var r=this;if(t!==l1)throw new lS("PDFBool");return(r=e.call(this)||this).value=n,r}return o1(t,e),t.prototype.asBoolean=function(){return this.value},t.prototype.clone=function(){return this},t.prototype.toString=function(){return String(this.value)},t.prototype.sizeInBytes=function(){return this.value?4:5},t.prototype.copyBytesInto=function(e,t){return this.value?(e[t++]=lY.t,e[t++]=lY.r,e[t++]=lY.u,e[t++]=lY.e,4):(e[t++]=lY.f,e[t++]=lY.a,e[t++]=lY.l,e[t++]=lY.s,e[t++]=lY.e,5)},t.True=new t(l1,!0),t.False=new t(l1,!1),t}(lQ),l5=new Uint8Array(256);l5[lY.LeftParen]=1,l5[lY.RightParen]=1,l5[lY.LessThan]=1,l5[lY.GreaterThan]=1,l5[lY.LeftSquareBracket]=1,l5[lY.RightSquareBracket]=1,l5[lY.LeftCurly]=1,l5[lY.RightCurly]=1,l5[lY.ForwardSlash]=1,l5[lY.Percent]=1;var l4=new Uint8Array(256);l4[lY.Null]=1,l4[lY.Tab]=1,l4[lY.Newline]=1,l4[lY.FormFeed]=1,l4[lY.CarriageReturn]=1,l4[lY.Space]=1;for(var l3=new Uint8Array(256),l6=0;l6<256;l6++)l3[l6]=l4[l6]||l5[l6]?1:0;l3[lY.Hash]=1;var l8={},l9=new Map,l7=function(e){function t(t,n){var r=this;if(t!==l8)throw new lS("PDFName");r=e.call(this)||this;for(var i="/",a=0,o=n.length;a<o;a++){var s=n[a],l=sr(s);i+=l>=lY.ExclamationPoint&&l<=lY.Tilde&&!l3[l]?s:"#"+sa(l)}return r.encodedName=i,r}return o1(t,e),t.prototype.asBytes=function(){for(var e=[],t="",n=!1,r=function(t){void 0!==t&&e.push(t),n=!1},i=1,a=this.encodedName.length;i<a;i++){var o=this.encodedName[i],s=sr(o),l=this.encodedName[i+1];n?s>=lY.Zero&&s<=lY.Nine||s>=lY.a&&s<=lY.f||s>=lY.A&&s<=lY.F?2!==(t+=o).length&&(l>="0"&&l<="9"||l>="a"&&l<="f"||l>="A"&&l<="F")||(r(parseInt(t,16)),t=""):r(s):s===lY.Hash?n=!0:r(s)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return String.fromCharCode.apply(String,Array.from(e))},t.prototype.asString=function(){return this.encodedName},t.prototype.value=function(){return this.encodedName},t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.encodedName},t.prototype.sizeInBytes=function(){return this.encodedName.length},t.prototype.copyBytesInto=function(e,t){return t+=sl(this.encodedName,e,t),this.encodedName.length},t.of=function(e){var n=e.replace(/#([\dABCDEF]{2})/g,function(e,t){return so(parseInt(t,16))}),r=l9.get(n);return r||(r=new t(l8,n),l9.set(n,r)),r},t.Length=t.of("Length"),t.FlateDecode=t.of("FlateDecode"),t.Resources=t.of("Resources"),t.Font=t.of("Font"),t.XObject=t.of("XObject"),t.ExtGState=t.of("ExtGState"),t.Contents=t.of("Contents"),t.Type=t.of("Type"),t.Parent=t.of("Parent"),t.MediaBox=t.of("MediaBox"),t.Page=t.of("Page"),t.Annots=t.of("Annots"),t.TrimBox=t.of("TrimBox"),t.ArtBox=t.of("ArtBox"),t.BleedBox=t.of("BleedBox"),t.CropBox=t.of("CropBox"),t.Rotate=t.of("Rotate"),t.Title=t.of("Title"),t.Author=t.of("Author"),t.Subject=t.of("Subject"),t.Creator=t.of("Creator"),t.Keywords=t.of("Keywords"),t.Producer=t.of("Producer"),t.CreationDate=t.of("CreationDate"),t.ModDate=t.of("ModDate"),t}(lQ);let ue=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.asNull=function(){return null},t.prototype.clone=function(){return this},t.prototype.toString=function(){return"null"},t.prototype.sizeInBytes=function(){return 4},t.prototype.copyBytesInto=function(e,t){return e[t++]=lY.n,e[t++]=lY.u,e[t++]=lY.l,e[t++]=lY.l,4},t}(lQ));var ut=function(e){function t(t,n){var r=e.call(this)||this;return r.dict=t,r.context=n,r}return o1(t,e),t.prototype.keys=function(){return Array.from(this.dict.keys())},t.prototype.values=function(){return Array.from(this.dict.values())},t.prototype.entries=function(){return Array.from(this.dict.entries())},t.prototype.set=function(e,t){this.dict.set(e,t)},t.prototype.get=function(e,t){void 0===t&&(t=!1);var n=this.dict.get(e);if(n!==ue||t)return n},t.prototype.has=function(e){var t=this.dict.get(e);return void 0!==t&&t!==ue},t.prototype.lookupMaybe=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.includes(ue),a=(t=this.context).lookupMaybe.apply(t,o3([this.get(e,i)],n));if(a!==ue||i)return a},t.prototype.lookup=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.includes(ue),a=(t=this.context).lookup.apply(t,o3([this.get(e,i)],n));if(a!==ue||i)return a},t.prototype.delete=function(e){return this.dict.delete(e)},t.prototype.asMap=function(){return new Map(this.dict)},t.prototype.uniqueKey=function(e){void 0===e&&(e="");for(var t=this.keys(),n=l7.of(this.context.addRandomSuffix(e,10));t.includes(n);)n=l7.of(this.context.addRandomSuffix(e,10));return n},t.prototype.clone=function(e){for(var n=t.withContext(e||this.context),r=this.entries(),i=0,a=r.length;i<a;i++){var o=r[i],s=o[0],l=o[1];n.set(s,l)}return n},t.prototype.toString=function(){for(var e="<<\n",t=this.entries(),n=0,r=t.length;n<r;n++){var i=t[n],a=i[0],o=i[1];e+=a.toString()+" "+o.toString()+"\n"}return e+">>"},t.prototype.sizeInBytes=function(){for(var e=5,t=this.entries(),n=0,r=t.length;n<r;n++){var i=t[n],a=i[0],o=i[1];e+=a.sizeInBytes()+o.sizeInBytes()+2}return e},t.prototype.copyBytesInto=function(e,t){var n=t;e[t++]=lY.LessThan,e[t++]=lY.LessThan,e[t++]=lY.Newline;for(var r=this.entries(),i=0,a=r.length;i<a;i++){var o=r[i],s=o[0],l=o[1];t+=s.copyBytesInto(e,t),e[t++]=lY.Space,t+=l.copyBytesInto(e,t),e[t++]=lY.Newline}return e[t++]=lY.GreaterThan,e[t++]=lY.GreaterThan,t-n},t.withContext=function(e){return new t(new Map,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(lQ),un=function(e){function t(t){var n=e.call(this)||this;return n.dict=t,n}return o1(t,e),t.prototype.clone=function(e){throw new lE(this.constructor.name,"clone")},t.prototype.getContentsString=function(){throw new lE(this.constructor.name,"getContentsString")},t.prototype.getContents=function(){throw new lE(this.constructor.name,"getContents")},t.prototype.getContentsSize=function(){throw new lE(this.constructor.name,"getContentsSize")},t.prototype.updateDict=function(){var e=this.getContentsSize();this.dict.set(l7.Length,lJ.of(e))},t.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},t.prototype.toString=function(){this.updateDict();var e=this.dict.toString();return e+="\nstream\n",e+=this.getContentsString(),e+="\nendstream"},t.prototype.copyBytesInto=function(e,t){this.updateDict();var n=t;t+=this.dict.copyBytesInto(e,t),e[t++]=lY.Newline,e[t++]=lY.s,e[t++]=lY.t,e[t++]=lY.r,e[t++]=lY.e,e[t++]=lY.a,e[t++]=lY.m,e[t++]=lY.Newline;for(var r=this.getContents(),i=0,a=r.length;i<a;i++)e[t++]=r[i];return e[t++]=lY.Newline,e[t++]=lY.e,e[t++]=lY.n,e[t++]=lY.d,e[t++]=lY.s,e[t++]=lY.t,e[t++]=lY.r,e[t++]=lY.e,e[t++]=lY.a,e[t++]=lY.m,t-n},t}(lQ),ur=function(e){function t(t,n){var r=e.call(this,t)||this;return r.contents=n,r}return o1(t,e),t.prototype.asUint8Array=function(){return this.contents.slice()},t.prototype.clone=function(e){return t.of(this.dict.clone(e),this.contents.slice())},t.prototype.getContentsString=function(){return sA(this.contents)},t.prototype.getContents=function(){return this.contents},t.prototype.getContentsSize=function(){return this.contents.length},t.of=function(e,n){return new t(e,n)},t}(un),ui={},ua=new Map,uo=function(e){function t(t,n,r){var i=this;if(t!==ui)throw new lS("PDFRef");return(i=e.call(this)||this).objectNumber=n,i.generationNumber=r,i.tag=n+" "+r+" R",i}return o1(t,e),t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.tag},t.prototype.sizeInBytes=function(){return this.tag.length},t.prototype.copyBytesInto=function(e,t){return t+=sl(this.tag,e,t),this.tag.length},t.of=function(e,n){void 0===n&&(n=0);var r=e+" "+n+" R",i=ua.get(r);return i||(i=new t(ui,e,n),ua.set(r,i)),i},t}(lQ),us=function(){function e(e,t){this.name=e,this.args=t||[]}return e.prototype.clone=function(t){for(var n=Array(this.args.length),r=0,i=n.length;r<i;r++){var a=this.args[r];n[r]=a instanceof lQ?a.clone(t):a}return e.of(this.name,n)},e.prototype.toString=function(){for(var e="",t=0,n=this.args.length;t<n;t++)e+=String(this.args[t])+" ";return e+this.name},e.prototype.sizeInBytes=function(){for(var e=0,t=0,n=this.args.length;t<n;t++){var r=this.args[t];e+=(r instanceof lQ?r.sizeInBytes():r.length)+1}return e+this.name.length},e.prototype.copyBytesInto=function(e,t){for(var n=t,r=0,i=this.args.length;r<i;r++){var a=this.args[r];a instanceof lQ?t+=a.copyBytesInto(e,t):t+=sl(a,e,t),e[t++]=lY.Space}return(t+=sl(this.name,e,t))-n},e.of=function(t,n){return new e(t,n)},e}();!function(e){e.NonStrokingColor="sc",e.NonStrokingColorN="scn",e.NonStrokingColorRgb="rg",e.NonStrokingColorGray="g",e.NonStrokingColorCmyk="k",e.NonStrokingColorspace="cs",e.StrokingColor="SC",e.StrokingColorN="SCN",e.StrokingColorRgb="RG",e.StrokingColorGray="G",e.StrokingColorCmyk="K",e.StrokingColorspace="CS",e.BeginMarkedContentSequence="BDC",e.BeginMarkedContent="BMC",e.EndMarkedContent="EMC",e.MarkedContentPointWithProps="DP",e.MarkedContentPoint="MP",e.DrawObject="Do",e.ConcatTransformationMatrix="cm",e.PopGraphicsState="Q",e.PushGraphicsState="q",e.SetFlatness="i",e.SetGraphicsStateParams="gs",e.SetLineCapStyle="J",e.SetLineDashPattern="d",e.SetLineJoinStyle="j",e.SetLineMiterLimit="M",e.SetLineWidth="w",e.SetTextMatrix="Tm",e.SetRenderingIntent="ri",e.AppendRectangle="re",e.BeginInlineImage="BI",e.BeginInlineImageData="ID",e.EndInlineImage="EI",e.ClipEvenOdd="W*",e.ClipNonZero="W",e.CloseAndStroke="s",e.CloseFillEvenOddAndStroke="b*",e.CloseFillNonZeroAndStroke="b",e.ClosePath="h",e.AppendBezierCurve="c",e.CurveToReplicateFinalPoint="y",e.CurveToReplicateInitialPoint="v",e.EndPath="n",e.FillEvenOddAndStroke="B*",e.FillEvenOdd="f*",e.FillNonZeroAndStroke="B",e.FillNonZero="f",e.LegacyFillNonZero="F",e.LineTo="l",e.MoveTo="m",e.ShadingFill="sh",e.StrokePath="S",e.BeginText="BT",e.EndText="ET",e.MoveText="Td",e.MoveTextSetLeading="TD",e.NextLine="T*",e.SetCharacterSpacing="Tc",e.SetFontAndSize="Tf",e.SetTextHorizontalScaling="Tz",e.SetTextLineHeight="TL",e.SetTextRenderingMode="Tr",e.SetTextRise="Ts",e.SetWordSpacing="Tw",e.ShowText="Tj",e.ShowTextAdjusted="TJ",e.ShowTextLine="'",e.ShowTextLineAndSpace='"',e.Type3D0="d0",e.Type3D1="d1",e.BeginCompatibilitySection="BX",e.EndCompatibilitySection="EX"}(g||(g={}));let ul=g;var uu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.computeContents=function(){var e=r.getUnencodedContents();return r.encode?sY().deflate(e):e},r.encode=n,n&&t.set(l7.of("Filter"),l7.of("FlateDecode")),r.contentsCache=lC.populatedBy(r.computeContents),r}return o1(t,e),t.prototype.getContents=function(){return this.contentsCache.access()},t.prototype.getContentsSize=function(){return this.contentsCache.access().length},t.prototype.getUnencodedContents=function(){throw new lE(this.constructor.name,"getUnencodedContents")},t}(un),uc=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,r)||this;return i.operators=n,i}return o1(t,e),t.prototype.push=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.operators).push.apply(e,t)},t.prototype.clone=function(e){for(var n=Array(this.operators.length),r=0,i=this.operators.length;r<i;r++)n[r]=this.operators[r].clone(e);var a=this.dict,o=this.encode;return t.of(a.clone(e),n,o)},t.prototype.getContentsString=function(){for(var e="",t=0,n=this.operators.length;t<n;t++)e+=this.operators[t]+"\n";return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),t=0,n=0,r=this.operators.length;n<r;n++)t+=this.operators[n].copyBytesInto(e,t),e[t++]=lY.Newline;return e},t.prototype.getUnencodedContentsSize=function(){for(var e=0,t=0,n=this.operators.length;t<n;t++)e+=this.operators[t].sizeInBytes()+1;return e},t.of=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(uu),ud=function(){function e(e){this.seed=e}return e.prototype.nextInt=function(){var e=1e4*Math.sin(this.seed++);return e-Math.floor(e)},e.withSeed=function(t){return new e(t)},e}(),uh=function(e,t){var n=e[0],r=t[0];return n.objectNumber-r.objectNumber},uf=function(){function e(){this.largestObjectNumber=0,this.header=lX.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=ud.withSeed(1)}return e.prototype.assign=function(e,t){this.indirectObjects.set(e,t),e.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=e.objectNumber)},e.prototype.nextRef=function(){return this.largestObjectNumber+=1,uo.of(this.largestObjectNumber)},e.prototype.register=function(e){var t=this.nextRef();return this.assign(t,e),t},e.prototype.delete=function(e){return this.indirectObjects.delete(e)},e.prototype.lookupMaybe=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t.includes(ue),i=e instanceof uo?this.indirectObjects.get(e):e;if(i&&(i!==ue||r)){for(var a=0,o=t.length;a<o;a++){var s=t[a];if(s===ue){if(i===ue)return i}else if(i instanceof s)return i}throw new lA(t,i)}},e.prototype.lookup=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e instanceof uo?this.indirectObjects.get(e):e;if(0===t.length)return r;for(var i=0,a=t.length;i<a;i++){var o=t[i];if(o===ue){if(r===ue)return r}else if(r instanceof o)return r}throw new lA(t,r)},e.prototype.getObjectRef=function(e){for(var t=Array.from(this.indirectObjects.entries()),n=0,r=t.length;n<r;n++){var i=t[n],a=i[0];if(i[1]===e)return a}},e.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(uh)},e.prototype.obj=function(e){if(e instanceof lQ)return e;if(null==e)return ue;if("string"==typeof e)return l7.of(e);if("number"==typeof e)return lJ.of(e);if("boolean"==typeof e)return e?l2.True:l2.False;else if(Array.isArray(e)){for(var t=l0.withContext(this),n=0,r=e.length;n<r;n++)t.push(this.obj(e[n]));return t}else{for(var i=ut.withContext(this),a=Object.keys(e),n=0,r=a.length;n<r;n++){var o=a[n],s=e[o];void 0!==s&&i.set(l7.of(o),this.obj(s))}return i}},e.prototype.stream=function(e,t){return void 0===t&&(t={}),ur.of(this.obj(t),sC(e))},e.prototype.flateStream=function(e,t){return void 0===t&&(t={}),this.stream(sY().deflate(sC(e)),o2(o2({},t),{Filter:"FlateDecode"}))},e.prototype.contentStream=function(e,t){return void 0===t&&(t={}),uc.of(this.obj(t),e)},e.prototype.formXObject=function(e,t){return void 0===t&&(t={}),this.contentStream(e,o2(o2({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},t),{Type:"XObject",Subtype:"Form"}))},e.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var e=this.obj({}),t=us.of(ul.PushGraphicsState),n=uc.of(e,[t]);return this.pushGraphicsStateContentStreamRef=this.register(n),this.pushGraphicsStateContentStreamRef},e.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var e=this.obj({}),t=us.of(ul.PopGraphicsState),n=uc.of(e,[t]);return this.popGraphicsStateContentStreamRef=this.register(n),this.popGraphicsStateContentStreamRef},e.prototype.addRandomSuffix=function(e,t){return void 0===t&&(t=4),e+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,t))},e.create=function(){return new e},e}(),up=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,n)||this;return i.normalized=!1,i.autoNormalizeCTM=r,i}return o1(t,e),t.prototype.clone=function(e){for(var n=t.fromMapWithContext(new Map,e||this.context,this.autoNormalizeCTM),r=this.entries(),i=0,a=r.length;i<a;i++){var o=r[i],s=o[0],l=o[1];n.set(s,l)}return n},t.prototype.Parent=function(){return this.lookupMaybe(l7.Parent,ut)},t.prototype.Contents=function(){return this.lookup(l7.of("Contents"))},t.prototype.Annots=function(){return this.lookupMaybe(l7.Annots,l0)},t.prototype.BleedBox=function(){return this.lookupMaybe(l7.BleedBox,l0)},t.prototype.TrimBox=function(){return this.lookupMaybe(l7.TrimBox,l0)},t.prototype.ArtBox=function(){return this.lookupMaybe(l7.ArtBox,l0)},t.prototype.Resources=function(){var e=this.getInheritableAttribute(l7.Resources);return this.context.lookupMaybe(e,ut)},t.prototype.MediaBox=function(){var e=this.getInheritableAttribute(l7.MediaBox);return this.context.lookup(e,l0)},t.prototype.CropBox=function(){var e=this.getInheritableAttribute(l7.CropBox);return this.context.lookupMaybe(e,l0)},t.prototype.Rotate=function(){var e=this.getInheritableAttribute(l7.Rotate);return this.context.lookupMaybe(e,lJ)},t.prototype.getInheritableAttribute=function(e){var t;return this.ascend(function(n){t||(t=n.get(e))}),t},t.prototype.setParent=function(e){this.set(l7.Parent,e)},t.prototype.addContentStream=function(e){var t=this.normalizedEntries().Contents||this.context.obj([]);this.set(l7.Contents,t),t.push(e)},t.prototype.wrapContentStreams=function(e,t){var n=this.Contents();return n instanceof l0&&(n.insert(0,e),n.push(t),!0)},t.prototype.addAnnot=function(e){this.normalizedEntries().Annots.push(e)},t.prototype.removeAnnot=function(e){var t=this.normalizedEntries().Annots,n=t.indexOf(e);void 0!==n&&t.remove(n)},t.prototype.setFontDictionary=function(e,t){this.normalizedEntries().Font.set(e,t)},t.prototype.newFontDictionaryKey=function(e){return this.normalizedEntries().Font.uniqueKey(e)},t.prototype.newFontDictionary=function(e,t){var n=this.newFontDictionaryKey(e);return this.setFontDictionary(n,t),n},t.prototype.setXObject=function(e,t){this.normalizedEntries().XObject.set(e,t)},t.prototype.newXObjectKey=function(e){return this.normalizedEntries().XObject.uniqueKey(e)},t.prototype.newXObject=function(e,t){var n=this.newXObjectKey(e);return this.setXObject(n,t),n},t.prototype.setExtGState=function(e,t){this.normalizedEntries().ExtGState.set(e,t)},t.prototype.newExtGStateKey=function(e){return this.normalizedEntries().ExtGState.uniqueKey(e)},t.prototype.newExtGState=function(e,t){var n=this.newExtGStateKey(e);return this.setExtGState(n,t),n},t.prototype.ascend=function(e){e(this);var t=this.Parent();t&&t.ascend(e)},t.prototype.normalize=function(){if(!this.normalized){var e=this.context,t=this.get(l7.Contents);this.context.lookup(t)instanceof un&&this.set(l7.Contents,e.obj([t])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var n=this.getInheritableAttribute(l7.Resources),r=e.lookupMaybe(n,ut)||e.obj({});this.set(l7.Resources,r);var i=r.lookupMaybe(l7.Font,ut)||e.obj({});r.set(l7.Font,i);var a=r.lookupMaybe(l7.XObject,ut)||e.obj({});r.set(l7.XObject,a);var o=r.lookupMaybe(l7.ExtGState,ut)||e.obj({});r.set(l7.ExtGState,o);var s=this.Annots()||e.obj([]);this.set(l7.Annots,s),this.normalized=!0}},t.prototype.normalizedEntries=function(){this.normalize();var e=this.Annots(),t=this.Resources();return{Annots:e,Resources:t,Contents:this.Contents(),Font:t.lookup(l7.Font,ut),XObject:t.lookup(l7.XObject,ut),ExtGState:t.lookup(l7.ExtGState,ut)}},t.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],t.withContextAndParent=function(e,n){var r=new Map;return r.set(l7.Type,l7.Page),r.set(l7.Parent,n),r.set(l7.Resources,e.obj({})),r.set(l7.MediaBox,e.obj([0,0,612,792])),new t(r,e,!1)},t.fromMapWithContext=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(ut),um=function(){function e(e,t){var n=this;this.traversedObjects=new Map,this.copy=function(e){return e instanceof up?n.copyPDFPage(e):e instanceof ut?n.copyPDFDict(e):e instanceof l0?n.copyPDFArray(e):e instanceof un?n.copyPDFStream(e):e instanceof uo?n.copyPDFIndirectObject(e):e.clone()},this.copyPDFPage=function(e){for(var t=e.clone(),r=up.InheritableEntries,i=0,a=r.length;i<a;i++){var o=l7.of(r[i]),s=t.getInheritableAttribute(o);!t.get(o)&&s&&t.set(o,s)}return t.delete(l7.of("Parent")),n.copyPDFDict(t)},this.copyPDFDict=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=e.entries(),i=0,a=r.length;i<a;i++){var o=r[i],s=o[0],l=o[1];t.set(s,n.copy(l))}return t},this.copyPDFArray=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=0,i=e.size();r<i;r++){var a=e.get(r);t.set(r,n.copy(a))}return t},this.copyPDFStream=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=e.dict.entries(),i=0,a=r.length;i<a;i++){var o=r[i],s=o[0],l=o[1];t.dict.set(s,n.copy(l))}return t},this.copyPDFIndirectObject=function(e){if(!n.traversedObjects.has(e)){var t=n.dest.nextRef();n.traversedObjects.set(e,t);var r=n.src.lookup(e);if(r){var i=n.copy(r);n.dest.assign(t,i)}}return n.traversedObjects.get(e)},this.src=e,this.dest=t}return e.for=function(t,n){return new e(t,n)},e}(),ug=function(){function e(e){this.subsections=e?[[e]]:[],this.chunkIdx=0,this.chunkLe
1ngth=+!!e}return e.prototype.addEntry=function(e,t){this.append({ref:e,offset:t,deleted:!1})},e.prototype.addDeletedEntry=function(e,t){this.append({ref:e,offset:t,deleted:!0})},e.prototype.toString=function(){for(var e="xref\n",t=0,n=this.subsections.length;t<n;t++){var r=this.subsections[t];e+=r[0].ref.objectNumber+" "+r.length+"\n";for(var i=0,a=r.length;i<a;i++){var o=r[i];e+=ss(String(o.offset),10,"0"),e+=" ",e+=ss(String(o.ref.generationNumber),5,"0"),e+=" ",e+=o.deleted?"f":"n",e+=" \n"}}return e},e.prototype.sizeInBytes=function(){for(var e=5,t=0,n=this.subsections.length;t<n;t++){var r=this.subsections[t],i=r.length;e+=2,e+=String(r[0].ref.objectNumber).length,e+=String(i).length,e+=20*i}return e},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=lY.x,e[t++]=lY.r,e[t++]=lY.e,e[t++]=lY.f,e[t++]=lY.Newline,(t+=this.copySubsectionsIntoBuffer(this.subsections,e,t))-n},e.prototype.copySubsectionsIntoBuffer=function(e,t,n){for(var r=n,i=e.length,a=0;a<i;a++){var o=this.subsections[a],s=String(o[0].ref.objectNumber);n+=sl(s,t,n),t[n++]=lY.Space;var l=String(o.length);n+=sl(l,t,n),t[n++]=lY.Newline,n+=this.copyEntriesIntoBuffer(o,t,n)}return n-r},e.prototype.copyEntriesIntoBuffer=function(e,t,n){for(var r=e.length,i=0;i<r;i++){var a=e[i],o=ss(String(a.offset),10,"0");n+=sl(o,t,n),t[n++]=lY.Space;var s=ss(String(a.ref.generationNumber),5,"0");n+=sl(s,t,n),t[n++]=lY.Space,t[n++]=a.deleted?lY.f:lY.n,t[n++]=lY.Space,t[n++]=lY.Newline}return 20*r},e.prototype.append=function(e){if(0===this.chunkLength){this.subsections.push([e]),this.chunkIdx=0,this.chunkLength=1;return}var t=this.subsections[this.chunkIdx],n=t[this.chunkLength-1];e.ref.objectNumber-n.ref.objectNumber>1?(this.subsections.push([e]),this.chunkIdx+=1,this.chunkLength=1):(t.push(e),this.chunkLength+=1)},e.create=function(){return new e({ref:uo.of(0,65535),offset:0,deleted:!0})},e.createEmpty=function(){return new e},e}(),uv=function(){function e(e){this.lastXRefOffset=String(e)}return e.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},e.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=lY.s,e[t++]=lY.t,e[t++]=lY.a,e[t++]=lY.r,e[t++]=lY.t,e[t++]=lY.x,e[t++]=lY.r,e[t++]=lY.e,e[t++]=lY.f,e[t++]=lY.Newline,t+=sl(this.lastXRefOffset,e,t),e[t++]=lY.Newline,e[t++]=lY.Percent,e[t++]=lY.Percent,e[t++]=lY.E,e[t++]=lY.O,e[t++]=lY.F,t-n},e.forLastCrossRefSectionOffset=function(t){return new e(t)},e}(),uy=function(){function e(e){this.dict=e}return e.prototype.toString=function(){return"trailer\n"+this.dict.toString()},e.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=lY.t,e[t++]=lY.r,e[t++]=lY.a,e[t++]=lY.i,e[t++]=lY.l,e[t++]=lY.e,e[t++]=lY.r,e[t++]=lY.Newline,(t+=this.dict.copyBytesInto(e,t))-n},e.of=function(t){return new e(t)},e}(),ub=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t.obj({}),r)||this;return i.objects=n,i.offsets=i.computeObjectOffsets(),i.offsetsString=i.computeOffsetsString(),i.dict.set(l7.of("Type"),l7.of("ObjStm")),i.dict.set(l7.of("N"),lJ.of(i.objects.length)),i.dict.set(l7.of("First"),lJ.of(i.offsetsString.length)),i}return o1(t,e),t.prototype.getObjectsCount=function(){return this.objects.length},t.prototype.clone=function(e){return t.withContextAndObjects(e||this.dict.context,this.objects.slice(),this.encode)},t.prototype.getContentsString=function(){for(var e=this.offsetsString,t=0,n=this.objects.length;t<n;t++)e+=this.objects[t][1]+"\n";return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),t=sl(this.offsetsString,e,0),n=0,r=this.objects.length;n<r;n++){var i=this.objects[n][1];t+=i.copyBytesInto(e,t),e[t++]=lY.Newline}return e},t.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+sx(this.offsets)[1]+sx(this.objects)[1].sizeInBytes()+1},t.prototype.computeOffsetsString=function(){for(var e="",t=0,n=this.offsets.length;t<n;t++){var r=this.offsets[t];e+=r[0]+" "+r[1]+" "}return e},t.prototype.computeObjectOffsets=function(){for(var e=0,t=Array(this.objects.length),n=0,r=this.objects.length;n<r;n++){var i=this.objects[n],a=i[0],o=i[1];t[n]=[a.objectNumber,e],e+=o.sizeInBytes()+1}return t},t.withContextAndObjects=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(uu),uw=function(){function e(e,t){var n=this;this.parsedObjects=0,this.shouldWaitForTick=function(e){return n.parsedObjects+=e,n.parsedObjects%n.objectsPerTick==0},this.context=e,this.objectsPerTick=t}return e.prototype.serializeToBuffer=function(){return o5(this,void 0,void 0,function(){var e,t,n,r,i,a,o,s,l,u,c,d,h,f,p,m,g;return o4(this,function(v){switch(v.label){case 0:return[4,this.computeBufferSize()];case 1:t=(e=v.sent()).size,n=e.header,r=e.indirectObjects,i=e.xref,a=e.trailerDict,o=e.trailer,s=0,l=new Uint8Array(t),s+=n.copyBytesInto(l,s),l[s++]=lY.Newline,l[s++]=lY.Newline,u=0,c=r.length,v.label=2;case 2:if(!(u<c))return[3,5];if(h=(d=r[u])[0],f=d[1],p=String(h.objectNumber),s+=sl(p,l,s),l[s++]=lY.Space,m=String(h.generationNumber),s+=sl(m,l,s),l[s++]=lY.Space,l[s++]=lY.o,l[s++]=lY.b,l[s++]=lY.j,l[s++]=lY.Newline,s+=f.copyBytesInto(l,s),l[s++]=lY.Newline,l[s++]=lY.e,l[s++]=lY.n,l[s++]=lY.d,l[s++]=lY.o,l[s++]=lY.b,l[s++]=lY.j,l[s++]=lY.Newline,l[s++]=lY.Newline,g=f instanceof ub?f.getObjectsCount():1,!this.shouldWaitForTick(g))return[3,4];return[4,sM()];case 3:v.sent(),v.label=4;case 4:return u++,[3,2];case 5:return i&&(s+=i.copyBytesInto(l,s),l[s++]=lY.Newline),a&&(s+=a.copyBytesInto(l,s),l[s++]=lY.Newline,l[s++]=lY.Newline),s+=o.copyBytesInto(l,s),[2,l]}})})},e.prototype.computeIndirectObjectSize=function(e){var t=e[0],n=e[1];return t.sizeInBytes()+3+(n.sizeInBytes()+9)},e.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},e.prototype.computeBufferSize=function(){return o5(this,void 0,void 0,function(){var e,t,n,r,i,a,o,s,l,u,c;return o4(this,function(d){switch(d.label){case 0:t=(e=lX.forVersion(1,7)).sizeInBytes()+2,n=ug.create(),r=this.context.enumerateIndirectObjects(),i=0,a=r.length,d.label=1;case 1:if(!(i<a))return[3,4];if(s=(o=r[i])[0],n.addEntry(s,t),t+=this.computeIndirectObjectSize(o),!this.shouldWaitForTick(1))return[3,3];return[4,sM()];case 2:d.sent(),d.label=3;case 3:return i++,[3,1];case 4:return l=t,t+=n.sizeInBytes()+1,u=uy.of(this.createTrailerDict()),t+=u.sizeInBytes()+2,c=uv.forLastCrossRefSectionOffset(l),[2,{size:t+=c.sizeInBytes(),header:e,indirectObjects:r,xref:n,trailerDict:u,trailer:c}]}})})},e.forContext=function(t,n){return new e(t,n)},e}(),ux=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o1(t,e),t.prototype.clone=function(){return t.of(this.data.slice())},t.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" b
1ytes)"},t.prototype.sizeInBytes=function(){return this.data.length},t.prototype.copyBytesInto=function(e,t){for(var n=this.data.length,r=0;r<n;r++)e[t++]=this.data[r];return n},t.of=function(e){return new t(e)},t}(lQ);!function(e){e[e.Deleted=0]="Deleted",e[e.Uncompressed=1]="Uncompressed",e[e.Compressed=2]="Compressed"}(v||(v={}));var uC=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,r)||this;return i.computeIndex=function(){for(var e=[],t=0,n=0,r=i.entries.length;n<r;n++){var a=i.entries[n],o=i.entries[n-1];0===n?e.push(a.ref.objectNumber):a.ref.objectNumber-o.ref.objectNumber>1&&(e.push(t),e.push(a.ref.objectNumber),t=0),t+=1}return e.push(t),e},i.computeEntryTuples=function(){for(var e=Array(i.entries.length),t=0,n=i.entries.length;t<n;t++){var r=i.entries[t];if(r.type===v.Deleted){var a=r.type,o=r.nextFreeObjectNumber,s=r.ref;e[t]=[a,o,s.generationNumber]}if(r.type===v.Uncompressed){var a=r.type,l=r.offset,s=r.ref;e[t]=[a,l,s.generationNumber]}if(r.type===v.Compressed){var a=r.type,u=r.objectStreamRef,c=r.index;e[t]=[a,u.objectNumber,c]}}return e},i.computeMaxEntryByteWidths=function(){for(var e=i.entryTuplesCache.access(),t=[0,0,0],n=0,r=e.length;n<r;n++){var a=e[n],o=a[0],s=a[1],l=a[2],u=sW(o),c=sW(s),d=sW(l);u>t[0]&&(t[0]=u),c>t[1]&&(t[1]=c),d>t[2]&&(t[2]=d)}return t},i.entries=n||[],i.entryTuplesCache=lC.populatedBy(i.computeEntryTuples),i.maxByteWidthsCache=lC.populatedBy(i.computeMaxEntryByteWidths),i.indexCache=lC.populatedBy(i.computeIndex),t.set(l7.of("Type"),l7.of("XRef")),i}return o1(t,e),t.prototype.addDeletedEntry=function(e,t){var n=v.Deleted;this.entries.push({type:n,ref:e,nextFreeObjectNumber:t}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addUncompressedEntry=function(e,t){var n=v.Uncompressed;this.entries.push({type:n,ref:e,offset:t}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addCompressedEntry=function(e,t,n){var r=v.Compressed;this.entries.push({type:r,ref:e,objectStreamRef:t,index:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.clone=function(e){var n=this.dict,r=this.entries,i=this.encode;return t.of(n.clone(e),r.slice(),i)},t.prototype.getContentsString=function(){for(var e=this.entryTuplesCache.access(),t=this.maxByteWidthsCache.access(),n="",r=0,i=e.length;r<i;r++){for(var a=e[r],o=a[0],s=a[1],l=a[2],u=sP(sG(o)),c=sP(sG(s)),d=sP(sG(l)),h=t[0]-1;h>=0;h--)n+=(u[h]||0).toString(2);for(var h=t[1]-1;h>=0;h--)n+=(c[h]||0).toString(2);for(var h=t[2]-1;h>=0;h--)n+=(d[h]||0).toString(2)}return n},t.prototype.getUnencodedContents=function(){for(var e=this.entryTuplesCache.access(),t=this.maxByteWidthsCache.access(),n=new Uint8Array(this.getUnencodedContentsSize()),r=0,i=0,a=e.length;i<a;i++){for(var o=e[i],s=o[0],l=o[1],u=o[2],c=sP(sG(s)),d=sP(sG(l)),h=sP(sG(u)),f=t[0]-1;f>=0;f--)n[r++]=c[f]||0;for(var f=t[1]-1;f>=0;f--)n[r++]=d[f]||0;for(var f=t[2]-1;f>=0;f--)n[r++]=h[f]||0}return n},t.prototype.getUnencodedContentsSize=function(){return sI(this.maxByteWidthsCache.access())*this.entries.length},t.prototype.updateDict=function(){e.prototype.updateDict.call(this);var t=this.maxByteWidthsCache.access(),n=this.indexCache.access(),r=this.dict.context;this.dict.set(l7.of("W"),r.obj(t)),this.dict.set(l7.of("Index"),r.obj(n))},t.create=function(e,n){void 0===n&&(n=!0);var r=new t(e,[],n);return r.addDeletedEntry(uo.of(0,65535),0),r},t.of=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(uu),uE=function(e){function t(t,n,r,i){var a=e.call(this,t,n)||this;return a.encodeStreams=r,a.objectsPerStream=i,a}return o1(t,e),t.prototype.computeBufferSize=function(){return o5(this,void 0,void 0,function(){var e,t,n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v,y;return o4(this,function(b){switch(b.label){case 0:e=this.context.largestObjectNumber+1,n=(t=lX.forVersion(1,7)).sizeInBytes()+2,r=uC.create(this.createTrailerDict(),this.encodeStreams),i=[],a=[],o=[],s=this.context.enumerateIndirectObjects(),l=0,u=s.length,b.label=1;case 1:if(!(l<u))return[3,6];if(d=(c=s[l])[0],h=c[1],!(d===this.context.trailerInfo.Encrypt||h instanceof un||h instanceof ux||0!==d.generationNumber))return[3,4];if(i.push(c),r.addUncompressedEntry(d,n),n+=this.computeIndirectObjectSize(c),!this.shouldWaitForTick(1))return[3,3];return[4,sM()];case 2:b.sent(),b.label=3;case 3:return[3,5];case 4:f=sx(a),p=sx(o),f&&f.length%this.objectsPerStream!=0||(f=[],a.push(f),p=uo.of(e++),o.push(p)),r.addCompressedEntry(d,p,f.length),f.push(c),b.label=5;case 5:return l++,[3,1];case 6:l=0,u=a.length,b.label=7;case 7:if(!(l<u))return[3,10];if(f=a[l],d=o[l],m=ub.withContextAndObjects(this.context,f,this.encodeStreams),r.addUncompressedEntry(d,n),n+=this.computeIndirectObjectSize([d,m]),i.push([d,m]),!this.shouldWaitForTick(f.length))return[3,9];return[4,sM()];case 8:b.sent(),b.label=9;case 9:return l++,[3,7];case 10:return g=uo.of(e++),r.dict.set(l7.of("Size"),lJ.of(e)),r.addUncompressedEntry(g,n),v=n,n+=this.computeIndirectObjectSize([g,r]),i.push([g,r]),y=uv.forLastCrossRefSectionOffset(v),[2,{size:n+=y.sizeInBytes(),header:t,indirectObjects:i,trailer:y}]}})})},t.forContext=function(e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=50),new t(e,n,r,i)},t}(uw),uS=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return o1(t,e),t.prototype.asBytes=function(){for(var e=this.value+(this.value.length%2==1?"0":""),t=e.length,n=new Uint8Array(e.length/2),r=0,i=0;r<t;){var a=parseInt(e.substring(r,r+2),16);n[i]=a,r+=2,i+=1}return n},t.prototype.decodeText=function(){var e=this.asBytes();return sH(e)?sR(e):lx(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=sb(e);if(!t)throw new lL(e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"<"+this.value+">"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=lY.LessThan,t+=sl(this.value,e,t),e[t++]=lY.GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var n=sD(e),r="",i=0,a=n.length;i<a;i++)r+=si(n[i],4);return new t(r)},t}(lQ),uA=function(){function e(e,t){this.encoding=e===p.ZapfDingbats?s7.ZapfDingbats:e===p.Symbol?s7.Symbol:s7.WinAnsi,this.font=s6.load(e),this.fontName=this.font.FontName,this.customName=t}return e.prototype.encodeText=function(e){for(var t=this.encodeTextAsGlyphs(e),n=Array(t.length),r=0,i=t.length;r<i;r++)n[r]=sa(t[r].code);return uS.of(n.join(""))},e.prototype.widthOfTextAtSize=function(e,t){for(var n=this.encodeTextAsGlyphs(e),r=0,i=0,a=n.length;i<a;i++){var o=n[i].name,s=(n[i+1]||{}).name,l=this.font.getXAxisKerningForPair(o,s)||0;r+=this.widthOfGlyph(o)+l}return t/1e3*r},e.prototype.heightOfFontAtSize=function(e,t){void 0===t&&(t={});
1var n=t.descender,r=this.font,i=r.Ascender,a=r.Descender,o=r.FontBBox,s=(i||o[3])-(a||o[1]);return void 0===n||n||(s+=a||0),s/1e3*e},e.prototype.sizeOfFontAtHeight=function(e){var t=this.font,n=t.Ascender,r=t.Descender,i=t.FontBBox;return 1e3*e/((n||i[3])-(r||i[1]))},e.prototype.embedIntoContext=function(e,t){var n=e.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===s7.WinAnsi?"WinAnsiEncoding":void 0});return t?(e.assign(t,n),t):e.register(n)},e.prototype.widthOfGlyph=function(e){return this.font.getWidthOfGlyph(e)||250},e.prototype.encodeTextAsGlyphs=function(e){for(var t=Array.from(e),n=Array(t.length),r=0,i=t.length;r<i;r++){var a=t[r].codePointAt(0);n[r]=this.encoding.encodeUnicodeCodePoint(a)}return n},e.for=function(t,n){return new e(t,n)},e}(),uk=function(e,t){for(var n=Array(e.length),r=0,i=e.length;r<i;r++){var a=e[r],o=uP(uI(t(a))),s=uP.apply(void 0,a.codePoints.map(uT));n[r]=[o,s]}return uN(n)},uN=function(e){return"/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange\n"+e.length+" beginbfchar\n"+e.map(function(e){return e[0]+" "+e[1]}).join("\n")+"\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},uP=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"<"+e.join("")+">"},uI=function(e){return si(e,4)},uT=function(e){if(e>=0&&e<=65535)return uI(e);if(e>=65536&&e<=1114111){var t=sj(e),n=s_(e);return""+uI(t)+uI(n)}throw Error("0x"+sa(e)+" is not a valid UTF-8 or UTF-16 codepoint.")},uO=function(e){var t=0,n=function(e){t|=1<<e-1};return e.fixedPitch&&n(1),e.serif&&n(2),e.symbolic&&n(3),e.script&&n(4),e.nonsymbolic&&n(6),e.italic&&n(7),e.allCap&&n(17),e.smallCap&&n(18),e.forceBold&&n(19),t},uL=function(e){var t=e["OS/2"]?e["OS/2"].sFamilyClass:0;return uO({fixedPitch:e.post.isFixedPitch,serif:1<=t&&t<=7,symbolic:!0,script:10===t,italic:e.head.macStyle.italic})},uM=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return o1(t,e),t.prototype.asBytes=function(){for(var e=[],t="",n=!1,r=function(t){void 0!==t&&e.push(t),n=!1},i=0,a=this.value.length;i<a;i++){var o=this.value[i],s=sr(o),l=this.value[i+1];n?s===lY.Newline||s===lY.CarriageReturn?r():s===lY.n?r(lY.Newline):s===lY.r?r(lY.CarriageReturn):s===lY.t?r(lY.Tab):s===lY.b?r(lY.Backspace):s===lY.f?r(lY.FormFeed):s===lY.LeftParen?r(lY.LeftParen):s===lY.RightParen?r(lY.RightParen):s===lY.Backspace?r(lY.BackSlash):s>=lY.Zero&&s<=lY.Seven?3!==(t+=o).length&&l>="0"&&l<="7"||(r(parseInt(t,8)),t=""):r(s):s===lY.BackSlash?n=!0:r(s)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return sH(e)?sR(e):lx(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=sb(e);if(!t)throw new lL(e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=lY.LeftParen,t+=sl(this.value,e,t),e[t++]=lY.RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){return new t("D:"+ss(String(e.getUTCFullYear()),4,"0")+ss(String(e.getUTCMonth()+1),2,"0")+ss(String(e.getUTCDate()),2,"0")+ss(String(e.getUTCHours()),2,"0")+ss(String(e.getUTCMinutes()),2,"0")+ss(String(e.getUTCSeconds()),2,"0")+"Z")},t}(lQ),uD=function(){function e(e,t,n,r){var i=this;this.allGlyphsInFontSortedById=function(){for(var e=Array(i.font.characterSet.length),t=0,n=e.length;t<n;t++){var r=i.font.characterSet[t];e[t]=i.font.glyphForCodePoint(r)}return sN(e.sort(sk),function(e){return e.id})},this.font=e,this.scale=1e3/this.font.unitsPerEm,this.fontData=t,this.fontName=this.font.postscriptName||"Font",this.customName=n,this.fontFeatures=r,this.baseFontName="",this.glyphCache=lC.populatedBy(this.allGlyphsInFontSortedById)}return e.for=function(t,n,r,i){return o5(this,void 0,void 0,function(){return o4(this,function(a){switch(a.label){case 0:return[4,t.create(n)];case 1:return[2,new e(a.sent(),n,r,i)]}})})},e.prototype.encodeText=function(e){for(var t=this.font.layout(e,this.fontFeatures).glyphs,n=Array(t.length),r=0,i=t.length;r<i;r++)n[r]=si(t[r].id,4);return uS.of(n.join(""))},e.prototype.widthOfTextAtSize=function(e,t){for(var n=this.font.layout(e,this.fontFeatures).glyphs,r=0,i=0,a=n.length;i<a;i++)r+=n[i].advanceWidth*this.scale;return t/1e3*r},e.prototype.heightOfFontAtSize=function(e,t){void 0===t&&(t={});var n=t.descender,r=this.font,i=r.ascent,a=r.descent,o=r.bbox,s=(i||o.maxY)*this.scale-(a||o.minY)*this.scale;return void 0===n||n||(s-=Math.abs(a)||0),s/1e3*e}
1,e.prototype.sizeOfFontAtHeight=function(e){var t=this.font,n=t.ascent,r=t.descent,i=t.bbox;return 1e3*e/((n||i.maxY)*this.scale-(r||i.minY)*this.scale)},e.prototype.embedIntoContext=function(e,t){return this.baseFontName=this.customName||e.addRandomSuffix(this.fontName),this.embedFontDict(e,t)},e.prototype.embedFontDict=function(e,t){return o5(this,void 0,void 0,function(){var n,r,i;return o4(this,function(a){switch(a.label){case 0:return[4,this.embedCIDFontDict(e)];case 1:if(n=a.sent(),r=this.embedUnicodeCmap(e),i=e.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[n],ToUnicode:r}),t)return e.assign(t,i),[2,t];return[2,e.register(i)]}})})},e.prototype.isCFF=function(){return this.font.cff},e.prototype.embedCIDFontDict=function(e){return o5(this,void 0,void 0,function(){var t,n;return o4(this,function(r){switch(r.label){case 0:return[4,this.embedFontDescriptor(e)];case 1:return t=r.sent(),n=e.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:uM.of("Adobe"),Ordering:uM.of("Identity"),Supplement:0},FontDescriptor:t,W:this.computeWidths()}),[2,e.register(n)]}})})},e.prototype.embedFontDescriptor=function(e){return o5(this,void 0,void 0,function(){var t,n,r,i,a,o,s,l,u,c,d,h,f,p,m;return o4(this,function(g){switch(g.label){case 0:return[4,this.embedFontStream(e)];case 1:return t=g.sent(),n=this.scale,i=(r=this.font).italicAngle,a=r.ascent,o=r.descent,s=r.capHeight,l=r.xHeight,c=(u=this.font.bbox).minX,d=u.minY,h=u.maxX,f=u.maxY,p=e.obj(((m={Type:"FontDescriptor",FontName:this.baseFontName,Flags:uL(this.font),FontBBox:[c*n,d*n,h*n,f*n],ItalicAngle:i,Ascent:a*n,Descent:o*n,CapHeight:(s||a)*n,XHeight:(l||0)*n,StemV:0})[this.isCFF()?"FontFile3":"FontFile2"]=t,m)),[2,e.register(p)]}})})},e.prototype.serializeFont=function(){return o5(this,void 0,void 0,function(){return o4(this,function(e){return[2,this.fontData]})})},e.prototype.embedFontStream=function(e){return o5(this,void 0,void 0,function(){var t,n,r;return o4(this,function(i){switch(i.label){case 0:return r=(n=e).flateStream,[4,this.serializeFont()];case 1:return t=r.apply(n,[i.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,e.register(t)]}})})},e.prototype.embedUnicodeCmap=function(e){var t=uk(this.glyphCache.access(),this.glyphId.bind(this)),n=e.flateStream(t);return e.register(n)},e.prototype.glyphId=function(e){return e?e.id:-1},e.prototype.computeWidths=function(){for(var e=this.glyphCache.access(),t=[],n=[],r=0,i=e.length;r<i;r++){var a=e[r],o=e[r-1],s=this.glyphId(a),l=this.glyphId(o);0===r?t.push(s):s-l!=1&&(t.push(n),t.push(s),n=[]),n.push(a.advanceWidth*this.scale)}return t.push(n),t},e}(),uj=function(e){function t(t,n,r,i){var a=e.call(this,t,n,r,i)||this;return a.subset=a.font.createSubset(),a.glyphs=[],a.glyphCache=lC.populatedBy(function(){return a.glyphs}),a.glyphIdMap=new Map,a}return o1(t,e),t.for=function(e,n,r,i){return o5(this,void 0,void 0,function(){return o4(this,function(a){switch(a.label){case 0:return[4,e.create(n)];case 1:return[2,new t(a.sent(),n,r,i)]}})})},t.prototype.encodeText=function(e){for(var t=this.font.layout(e,this.fontFeatures).glyphs,n=Array(t.length),r=0,i=t.length;r<i;r++){var a=t[r],o=this.subset.includeGlyph(a);this.glyphs[o-1]=a,this.glyphIdMap.set(a.id,o),n[r]=si(o,4)}return this.glyphCache.invalidate(),uS.of(n.join(""))},t.prototype.isCFF=function(){return this.subset.cff},t.prototype.glyphId=function(e){return e?this.glyphIdMap.get(e.id):-1},t.prototype.serializeFont=function(){var e=this;return new Promise(function(t,n){var r=[];e.subset.encodeStream().on("data",function(e){return r.push(e)}).on("end",function(){return t(sS(r))}).on("error",function(e){return n(e)})})},t}(uD);!function(e){e.Source="Source",e.Data="Data",e.Alternative="Alternative",e.Supplement="Supplement",e.EncryptedPayload="EncryptedPayload",e.FormData="EncryptedPayload",e.Schema="Schema",e.Unspecified="Unspecified"}(y||(y={}));var u_=function(){function e(e,t,n){void 0===n&&(n={}),this.fileData=e,this.fileName=t,this.options=n}return e.for=function(t,n,r){return void 0===r&&(r={}),new e(t,n,r)},e.prototype.embedIntoContext=function(e,t){return o5(this,void 0,void 0,function(){var n,r,i,a,o,s,l,u,c;return o4(this,function(d){return(r=(n=this.options).mimeType,i=n.description,a=n.creationDate,o=n.modificationDate,s=n.afRelationship,l=e.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!=r?r:void 0,Params:{Size:this.fileData.length,CreationDate:a?uM.fromDate(a):void 0,ModDate:o?uM.fromDate(o):void 0}}),u=e.register(l),c=e.obj({Type:"Filespec",F:uM.of(this.fileName),UF:uS.fromText(this.fileName),EF:{F:u},Desc:i?uS.fromText(i):void 0,AFRelationship:null!=s?s:void 0}),t)?(e.assign(t,c),[2,t]):[2,e.register(c)]})})},e}(),uR=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487];!function(e){e.DeviceGray="DeviceGray",e.DeviceRGB="DeviceRGB",e.DeviceCMYK="DeviceCMYK"}(b||(b={}));var uF={1:b.DeviceGray,3:b.DeviceRGB,4:b.DeviceCMYK},uz=function(){function e(e,t,n,r,i){this.imageData=e,this.bitsPerComponent=t,this.width=n,this.height=r,this.colorSpace
1=i}return e.for=function(t){return o5(this,void 0,void 0,function(){var n,r,i,a,o,s,l;return o4(this,function(u){if(65496!==(n=new DataView(t.buffer)).getUint16(0))throw Error("SOI not found in JPEG");for(r=2;r<n.byteLength&&(i=n.getUint16(r),r+=2,!uR.includes(i));)r+=n.getUint16(r);if(!uR.includes(i))throw Error("Invalid JPEG");if(r+=2,a=n.getUint8(r++),o=n.getUint16(r),r+=2,s=n.getUint16(r),r+=2,!(l=uF[n.getUint8(r++)]))throw Error("Unknown JPEG channel.");return[2,new e(t,a,s,o,l)]})})},e.prototype.embedIntoContext=function(e,t){return o5(this,void 0,void 0,function(){var n;return o4(this,function(r){return(n=e.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===b.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),t)?(e.assign(t,n),[2,t]):[2,e.register(n)]})})},e}(),uB={};uB.toRGBA8=function(e){var t=e.width,n=e.height;if(null==e.tabs.acTL)return[uB.toRGBA8.decodeImage(e.data,t,n,e).buffer];var r=[];null==e.frames[0].data&&(e.frames[0].data=e.data);for(var i=t*n*4,a=new Uint8Array(i),o=new Uint8Array(i),s=new Uint8Array(i),l=0;l<e.frames.length;l++){var u=e.frames[l],c=u.rect.x,d=u.rect.y,h=u.rect.width,f=u.rect.height,p=uB.toRGBA8.decodeImage(u.data,h,f,e);if(0!=l)for(var m=0;m<i;m++)s[m]=a[m];if(0==u.blend?uB._copyTile(p,h,f,a,t,n,c,d,0):1==u.blend&&uB._copyTile(p,h,f,a,t,n,c,d,1),r.push(a.buffer.slice(0)),0==u.dispose);else if(1==u.dispose)uB._copyTile(o,h,f,a,t,n,c,d,0);else if(2==u.dispose)for(var m=0;m<i;m++)a[m]=s[m]}return r},uB.toRGBA8.decodeImage=function(e,t,n,r){var i=t*n,a=Math.ceil(t*uB.decode._getBPP(r)/8),o=new Uint8Array(4*i),s=new Uint32Array(o.buffer),l=r.ctype,u=r.depth,c=uB._bin.readUshort;if(Date.now(),6==l){var d=i<<2;if(8==u)for(var h=0;h<d;h+=4)o[h]=e[h],o[h+1]=e[h+1],o[h+2]=e[h+2],o[h+3]=e[h+3];if(16==u)for(var h=0;h<d;h++)o[h]=e[h<<1]}else if(2==l){var f=r.tabs.tRNS;if(null==f){if(8==u)for(var h=0;h<i;h++){var p=3*h;s[h]=-0x1000000|e[p+2]<<16|e[p+1]<<8|e[p]}if(16==u)for(var h=0;h<i;h++){var p=6*h;s[h]=-0x1000000|e[p+4]<<16|e[p+2]<<8|e[p]}}else{var m=f[0],g=f[1],v=f[2];if(8==u)for(var h=0;h<i;h++){var y=h<<2,p=3*h;s[h]=-0x1000000|e[p+2]<<16|e[p+1]<<8|e[p],e[p]==m&&e[p+1]==g&&e[p+2]==v&&(o[y+3]=0)}if(16==u)for(var h=0;h<i;h++){var y=h<<2,p=6*h;s[h]=-0x1000000|e[p+4]<<16|e[p+2]<<8|e[p],c(e,p)==m&&c(e,p+2)==g&&c(e,p+4)==v&&(o[y+3]=0)}}}else if(3==l){var b=r.tabs.PLTE,w=r.tabs.tRNS,x=w?w.length:0;if(1==u)for(var C=0;C<n;C++)for(var E=C*a,S=C*t,h=0;h<t;h++){var y=S+h<<2,A=e[E+(h>>3)]>>7-(7&h)&1,k=3*A;o[y]=b[k],o[y+1]=b[k+1],o[y+2]=b[k+2],o[y+3]=A<x?w[A]:255}if(2==u)for(var C=0;C<n;C++)for(var E=C*a,S=C*t,h=0;h<t;h++){var y=S+h<<2,A=e[E+(h>>2)]>>6-((3&h)<<1)&3,k=3*A;o[y]=b[k],o[y+1]=b[k+1],o[y+2]=b[k+2],o[y+3]=A<x?w[A]:255}if(4==u)for(var C=0;C<n;C++)for(var E=C*a,S=C*t,h=0;h<t;h++){var y=S+h<<2,A=e[E+(h>>1)]>>4-((1&h)<<2)&15,k=3*A;o[y]=b[k],o[y+1]=b[k+1],o[y+2]=b[k+2],o[y+3]=A<x?w[A]:255}if(8==u)for(var h=0;h<i;h++){var y=h<<2,A=e[h],k=3*A;o[y]=b[k],o[y+1]=b[k+1],o[y+2]=b[k+2],o[y+3]=A<x?w[A]:255}}else if(4==l){if(8==u)for(var h=0;h<i;h++){var y=h<<2,N=h<<1,P=e[N];o[y]=P,o[y+1]=P,o[y+2]=P,o[y+3]=e[N+1]}if(16==u)for(var h=0;h<i;h++){var y=h<<2,N=h<<2,P=e[N];o[y]=P,o[y+1]=P,o[y+2]=P,o[y+3]=e[N+2]}}else if(0==l)for(var m=r.tabs.tRNS?r.tabs.tRNS:-1,C=0;C<n;C++){var I=C*a,T=C*t;if(1==u)for(var O=0;O<t;O++){var P=255*(e[I+(O>>>3)]>>>7-(7&O)&1),L=255*(P!=255*m);s[T+O]=L<<24|P<<16|P<<8|P}else if(2==u)for(var O=0;O<t;O++){var P=85*(e[I+(O>>>2)]>>>6-((3&O)<<1)&3),L=255*(P!=85*m);s[T+O]=L<<24|P<<16|P<<8|P}else if(4==u)for(var O=0;O<t;O++){var P=17*(e[I+(O>>>1)]>>>4-((1&O)<<2)&15),L=255*(P!=17*m);s[T+O]=L<<24|P<<16|P<<8|P}else if(8==u)for(var O=0;O<t;O++){var P=e[I+O],L=255*(P!=m);s[T+O]=L<<24|P<<16|P<<8|P}else if(16==u)for(var O=0;O<t;O++){var P=e[I+(O<<1)],L=255*(c(e,I+(O<<h))!=m);s[T+O]=L<<24|P<<16|P<<8|P}}return o},uB.decode=function(e){for(var t,n=new Uint8Array(e),r=8,i=uB._bin,a=i.readUshort,o=i.readUint,s={tabs:{},frames:[]},l=new Uint8Array(n.length),u=0,c=0,d=[137,80,78,71,13,10,26,10],h=0;h<8;h++)if(n[h]!=d[h])throw"The input is not a PNG file!";for(;r<n.length;){var f=i.readUint(n,r);r+=4;var p=i.readASCII(n,r,4);if(r+=4,"IHDR"==p)uB.decode._IHDR(n,r,s);else if("IDAT"==p){for(var h=0;h<f;h++)l[u+h]=n[r+h];u+=f}else if("acTL"==p)s.tabs[p]={num_frames:o(n,r),num_plays:o(n,r+4)},t=new Uint8Array(n.length);else if("fcTL"==p){if(0!=c){var m=s.frames[s.frames.length-1];m.data=uB.decode._decompress(s,t.slice(0,c),m.rect.width,m.rect.height),c=0}var g={x:o(n,r+12),y:o(n,r+16),width:o(n,r+4),height:o(n,r+8)},v=a(n,r+22),y={rect:g,delay:Math.round(1e3*(v=a(n,r+20)/(0==v?100:v))),dispose:n[r+24],blend:n[r+25]};s.frames.push(y)}else if("fdAT"==p){for(var h=0;h<f-4;h++)t[c+h]=n[r+h+4];c+=f-4}else if("pHYs"==p)s.tabs[p]=[i.readUint(n,r),i.readUint(n,r+4),n[r+8]];else if("cHRM"==p){s.tabs[p]=[];for(var h=0;h<8;h++)s.tabs[p].push(i.readUint(n,r+4*h))}else if("tEXt"==p){null==s.tabs[p]&&(s.tabs[p]={});var b=i.nextZero(n,r),w=i.readASCII(n,r,b-r),x=i.readASCII(n,b+1,r+f-b-1);s.tabs[p][w]=x}else if("iTXt"==p){null==s.tabs[p]&&(s.tabs[p]={});var b=0,C=r;b=i.nextZero(n,C);var w=i.readASCII(n,C,b-C);n[C=b+1],n[C+1],C+=2,b=i.nextZero(n,C),i.readASCII(n,C,b-C),C=b+1,b=i.nextZero(n,C),i.readUTF8(n,C,b-C),C=b+1;var x=i.readUTF8(n,C,f-(C-r));s.tabs[p][w]=x}else if("PLTE"==p)s.tabs[p]=i.readBytes(n,r,f);else if("hIST"==p){var E=s.tabs.PLTE.length/3;s.tabs[p]=[];for(var h=0;h<E;h++)s.tabs[p].push(a(n,r+2*h))}else if("tRNS"==p)3==s.ctype?s.tabs[p]=i.readBytes(n,r,f):0==s.ctype?s.tabs[p]=a(n,r):2==s.ctype&&(s.tabs[p]=[a(n,r),a(n,r+2),a(n,r+4)]);else if("gAMA"==p)s.tabs[p]=i.readUint(n,r)/1e5;else if("sRGB"==p)s.tabs[p]=n[r];else if("bKGD"==p)0==s.ctype||4==s.ctype?s.tabs[p]=[a(n,r)]:2==s.ctype||6==s.ctype?s.tabs[p]=[a(n,r),a(n,r+2),a(n,r+4)]:3==s.ctype&&(s.tabs[p]=n[r]);else if("IEND"==p)break;r+=f,i.readUint(n,r),r+=4}if(0!=c){var m=s.frames[s.frames.length-1];m.data=uB.decode._decompress(s,t.slice(0,c),m.rect.width,m.rect.height),c=0}return s.data=uB.decode._decompress(s,l,s.width,s.height),delete s.compress,delete s.interlace,delete s.filter,s},uB.decode._decompress=function(e,t,n,r){Date.now();var i=new Uint8Array((Math.ceil(n*uB.decode._getBPP(e)/8)+1+e.interlace)*r);return t=uB.decode._inflate(t,i),Date.now(),0==e.interlace?t=uB.decode._filterZero(t,e,0,n,r):1==e.interlace&&(t=uB.decode._readInterlace(t,e)),t},uB.decode._inflate=function(e,t){return uB.inflateRaw(new Uint8Array(e.buffer,2,e.length-6),t)},uB.inflateRaw=function(){var e,t,n={};return n.H={},n.H.N=function(e,t){var r,i,a=Uint8Array,o=0,s=0,l=0,u=0,c=0,d=0,h=0,f=0,p=0;if(3==e[0]&&0==e[1])return t||new a(0);var m=n.H,g=m.b,v=m.e,y=m.R,b=m.n,w=m.A,x=m.Z,C=m.m,E=null==t;for(E&&(t=new a(e.length>>>2<<3));0==o;){if(o=g(e,p,1),s=g(e,p+1,2),p+=3,0==s){(7&p)!=0&&(p+=8-(7&p));var S=(p>>>3)+4,A=e[S-4]|e[S-3]<<8;E&&(t=n.H.W(t,f+A)),t.set(new a(e.buffer,e.byteOffset+S,A),f),p=S+A<<3,f+=A;continue}if(E&&(t=n.H.W(t,f+131072)),1==s&&(r=C.J,i=C.h,d=511,h=31),2==s){l=v(e,p,5)+257,u=v(e,p+5,5)+1,c=v(e,p+10,4)+4,p+=14;for(var k=1,N=0;N<38;N+=2)C.Q[N]=0,C.Q[N+1]=0;for(var N=0;N<c;N++){var P=v(e,p+3*N,3);C.Q[(C.X[N]<<1)+1]=P,P>k&&(k=P)}p+=3*c,b(C.Q,k),w(C.Q,k,C.u),r=C.w,i=C.d,p=y(C.u,(1<<k)-1,l+u,e,p,C.v);var I=m.V(C.v,0,l,C.C);d=(1<<I)-1;var T=m.V(C.v,l,u,C.D);h=(1<<T)-1,b(C.C,I),w(C.C,I,r),b(C.D,T),w(C.D,T,i)}for(;;){var O=r[x(e,p)&d];p+=15&O;var L=O>>>4;if(L>>>8==0)t[f++]=L;else if(256==L)break;else{var M=f+L-254;if(L>264){var D=C.q[L-257];
1M=f+(D>>>3)+v(e,p,7&D),p+=7&D}var j=i[x(e,p)&h];p+=15&j;var _=j>>>4,R=C.c[_],F=(R>>>4)+g(e,p,15&R);for(p+=15&R;f<M;)t[f]=t[f++-F],t[f]=t[f++-F],t[f]=t[f++-F],t[f]=t[f++-F];f=M}}}return t.length==f?t:t.slice(0,f)},n.H.W=function(e,t){var n=e.length;if(t<=n)return e;var r=new Uint8Array(n<<1);return r.set(e,0),r},n.H.R=function(e,t,r,i,a,o){for(var s=n.H.e,l=n.H.Z,u=0;u<r;){var c=e[l(i,a)&t];a+=15&c;var d=c>>>4;if(d<=15)o[u]=d,u++;else{var h=0,f=0;16==d?(f=3+s(i,a,2),a+=2,h=o[u-1]):17==d?(f=3+s(i,a,3),a+=3):18==d&&(f=11+s(i,a,7),a+=7);for(var p=u+f;u<p;)o[u]=h,u++}}return a},n.H.V=function(e,t,n,r){for(var i=0,a=0,o=r.length>>>1;a<n;){var s=e[a+t];r[a<<1]=0,r[(a<<1)+1]=s,s>i&&(i=s),a++}for(;a<o;)r[a<<1]=0,r[(a<<1)+1]=0,a++;return i},n.H.n=function(e,t){for(var r,i,a,o,s,l=n.H.m,u=e.length,c=l.j,o=0;o<=t;o++)c[o]=0;for(o=1;o<u;o+=2)c[e[o]]++;var d=l.K;for(i=1,r=0,c[0]=0;i<=t;i++)r=r+c[i-1]<<1,d[i]=r;for(a=0;a<u;a+=2)0!=(s=e[a+1])&&(e[a]=d[s],d[s]++)},n.H.A=function(e,t,r){for(var i=e.length,a=n.H.m.r,o=0;o<i;o+=2)if(0!=e[o+1])for(var s=o>>1,l=e[o+1],u=s<<4|l,c=t-l,d=e[o]<<c,h=d+(1<<c);d!=h;)r[a[d]>>>15-t]=u,d++},n.H.l=function(e,t){for(var r=n.H.m.r,i=15-t,a=0;a<e.length;a+=2){var o=e[a]<<t-e[a+1];e[a]=r[o]>>>i}},n.H.M=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8},n.H.I=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},n.H.e=function(e,t,n){return(e[t>>>3]|e[(t>>>3)+1]<<8)>>>(7&t)&(1<<n)-1},n.H.b=function(e,t,n){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(7&t)&(1<<n)-1},n.H.Z=function(e,t){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(7&t)},n.H.i=function(e,t){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16|e[(t>>>3)+3]<<24)>>>(7&t)},n.H.m=(e=Uint16Array,t=Uint32Array,{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new t(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new t(286),Y:new t(30),a:new t(19),t:new t(15e3),k:new e(65536),g:new e(32768)}),!function(){for(var e=n.H.m,t=0;t<32768;t++){var r=t;r=(0xff00ff00&(r=(0xf0f0f0f0&(r=(0xcccccccc&(r=(0xaaaaaaaa&r)>>>1|(0x55555555&r)<<1))>>>2|(0x33333333&r)<<2))>>>4|(0xf0f0f0f&r)<<4))>>>8|(0xff00ff&r)<<8,e.r[t]=(r>>>16|r<<16)>>>17}function i(e,t,n){for(;0!=t--;)e.push(0,n)}for(var t=0;t<32;t++)e.q[t]=e.S[t]<<3|e.T[t],e.c[t]=e.p[t]<<4|e.z[t];i(e._,144,8),i(e._,112,9),i(e._,24,7),i(e._,8,8),n.H.n(e._,9),n.H.A(e._,9,e.J),n.H.l(e._,9),i(e.$,32,5),n.H.n(e.$,5),n.H.A(e.$,5,e.h),n.H.l(e.$,5),i(e.Q,19,0),i(e.C,286,0),i(e.D,30,0),i(e.v,320,0)}(),n.H.N}(),uB.decode._readInterlace=function(e,t){for(var n=t.width,r=t.height,i=uB.decode._getBPP(t),a=i>>3,o=Math.ceil(n*i/8),s=new Uint8Array(r*o),l=0,u=[0,0,4,0,2,0,1],c=[0,4,0,2,0,1,0],d=[8,8,8,4,4,2,2],h=[8,8,4,4,2,2,1],f=0;f<7;){for(var p=d[f],m=h[f],g=0,v=0,y=u[f];y<r;)y+=p,v++;for(var b=c[f];b<n;)b+=m,g++;var w=Math.ceil(g*i/8);uB.decode._filterZero(e,t,l,g,v);for(var x=0,C=u[f];C<r;){for(var E=c[f],S=l+x*w<<3;E<n;){if(1==i){var A=e[S>>3];A=A>>7-(7&S)&1,s[C*o+(E>>3)]|=A<<7-(7&E)}if(2==i){var A=e[S>>3];A=A>>
16-(7&S)&3,s[C*o+(E>>2)]|=A<<6-((3&E)<<1)}if(4==i){var A=e[S>>3];A=A>>4-(7&S)&15,s[C*o+(E>>1)]|=A<<4-((1&E)<<2)}if(i>=8)for(var k=C*o+E*a,N=0;N<a;N++)s[k+N]=e[(S>>3)+N];S+=i,E+=m}x++,C+=p}g*v!=0&&(l+=v*(1+w)),f+=1}return s},uB.decode._getBPP=function(e){return[1,null,3,1,2,null,4][e.ctype]*e.depth},uB.decode._filterZero=function(e,t,n,r,i){var a=uB.decode._getBPP(t),o=Math.ceil(r*a/8),s=uB.decode._paeth;a=Math.ceil(a/8);var l=0,u=1,c=e[n],d=0;if(c>1&&(e[n]=[0,0,1][c-2]),3==c)for(d=a;d<o;d++)e[d+1]=e[d+1]+(e[d+1-a]>>>1)&255;for(var h=0;h<i;h++)if(c=e[(u=(l=n+h*o)+h+1)-1],d=0,0==c)for(;d<o;d++)e[l+d]=e[u+d];else if(1==c){for(;d<a;d++)e[l+d]=e[u+d];for(;d<o;d++)e[l+d]=e[u+d]+e[l+d-a]}else if(2==c)for(;d<o;d++)e[l+d]=e[u+d]+e[l+d-o];else if(3==c){for(;d<a;d++)e[l+d]=e[u+d]+(e[l+d-o]>>>1);for(;d<o;d++)e[l+d]=e[u+d]+(e[l+d-o]+e[l+d-a]>>>1)}else{for(;d<a;d++)e[l+d]=e[u+d]+s(0,e[l+d-o],0);for(;d<o;d++)e[l+d]=e[u+d]+s(e[l+d-a],e[l+d-o],e[l+d-a-o])}return e},uB.decode._paeth=function(e,t,n){var r=e+t-n,i=r-e,a=r-t,o=r-n;return i*i<=a*a&&i*i<=o*o?e:a*a<=o*o?t:n},uB.decode._IHDR=function(e,t,n){var r=uB._bin;n.width=r.readUint(e,t),t+=4,n.height=r.readUint(e,t),n.depth=e[t+=4],n.ctype=e[++t],n.compress=e[++t],n.filter=e[++t],n.interlace=e[++t],t++},uB._bin={nextZero:function(e,t){for(;0!=e[t];)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},writeUshort:function(e,t,n){e[t]=n>>8&255,e[t+1]=255&n},readUint:function(e,t){return 0x1000000*e[t]+(e[t+1]<<16|e[t+2]<<8|e[t+3])},writeUint:function(e,t,n){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n},readASCII:function(e,t,n){for(var r="",i=0;i<n;i++)r+=String.fromCharCode(e[t+i]);return r},writeASCII:function(e,t,n){for(var r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)},readBytes:function(e,t,n){for(var r=[],i=0;i<n;i++)r.push(e[t+i]);return r},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,n){for(var r,i="",a=0;a<n;a++)i+="%"+uB._bin.pad(e[t+a].toString(16));try{r=decodeURIComponent(i)}catch(r){return uB._bin.readASCII(e,t,n)}return r}},uB._copyTile=function(e,t,n,r,i,a,o,s,l){for(var u=Math.min(t,i),c=Math.min(n,a),d=0,h=0,f=0;f<c;f++)for(var p=0;p<u;p++)if(o>=0&&s>=0?(d=f*t+p<<2,h=(s+f)*i+o+p<<2):(d=(-s+f)*t-o+p<<2,h=f*i+p<<2),0==l)r[h]=e[d],r[h+1]=e[d+1],r[h+2]=e[d+2],r[h+3]=e[d+3];else if(1==l){var m=e[d+3]*(1/255),g=e[d]*m,v=e[d+1]*m,y=e[d+2]*m,b=r[h+3]*(1/255),w=r[h]*b,x=r[h+1]*b,C=r[h+2]*b,E=1-m,S=m+b*E,A=0==S?0:1/S;r[h+3]=255*S,r[h+0]=(g+w*E)*A,r[h+1]=(v+x*E)*A,r[h+2]=(y+C*E)*A}else if(2==l){var m=e[d+3],g=e[d],v=e[d+1],y=e[d+2],b=r[h+3],w=r[h],x=r[h+1],C=r[h+2];m==b&&g==w&&v==x&&y==C?(r[h]=0,r[h+1]=0,r[h+2]=0,r[h+3]=0):(r[h]=g,r[h+1]=v,r[h+2]=y,r[h+3]=m)}else if(3==l){var m=e[d+3],g=e[d],v=e[d+1],y=e[d+2],b=r[h+3],w=r[h],x=r[h+1],C=r[h+2];if(m==b&&g==w&&v==x&&y==C)continue;if(m<220&&b>20)return!1}return!0},uB.encode=function(e,t,n,r,i,a,o){null==r&&(r=0),null==o&&(o=!1);var s=uB.encode.compress(e,t,n,r,[!1,!1,!1,0,o]);return uB.encode.compressPNG(s,-1),uB.encode._main(s,t,n,i,a)},uB.encodeLL=function(e,t,n,r,i,a,o,s){var l={ctype:0+2*(1!=r)+4*(0!=i),depth:a,frames:[]};Date.now();for(var u=(r+i)*a,c=u*t,d=0;d<e.length;d++)l.frames.push({rect:{x:0,y:0,width:t,height:n},img:new Uint8Array(e[d]),blend:0,dispose:1,bpp:Math.ceil(u/8),bpl:Math.ceil(c/8)});return uB.encode.compressPNG(l,0,!0),uB.encode._main(l,t,n,o,s)},uB.encode._main=function(e,t,n,r,i){null==i&&(i={});var a=uB.crc.crc,o=uB._bin.writeUint,s=uB._bin.writeUshort,l=uB._bin.writeASCII,u=8,c=e.frames.length>1,d=!1,h=33+20*!!c;if(null!=i.sRGB&&(h+=13),null!=i.pHYs&&(h+=21),3==e.ctype){for(var f=e.plte.length,p=0;p<f;p++)e.plte[p]>>>24!=255&&(d=!0);h+=8+3*f+4+(d?8+ +f+4:0)}for(var m=0;m<e.frames.length;m++){var g=e.frames[m];c&&(h+=38),h+=g.cimg.length+12,0!=m&&(h+=4)}for(var v=new Uint8Array(h+=12),y=[137,80,78,71,13,10,26,10],p=0;p<8;p++)v[p]=y[p];if(o(v,u,13),l(v,u+=4,"IHDR"),o(v,u+=4,t),o(v,u+=4,n),v[u+=4]=e.depth,v[++u]=e.ctype,v[++u]=0,v[++u]=0,v[++u]=0,o(v,++u,a(v,u-17,17)),u+=4,null!=i.sRGB&&(o(v,u,1),l(v,u+=4,"sRGB"),v[u+=4]=i.sRGB,o(v,++u,a(v,u-5,5)),u+=4),null!=i.pHYs&&(o(v,u,9),l(v,u+=4,"pHYs"),o(v,u+=4,i.pHYs[0]),o(v,u+=4,i.pHYs[1]),v[u+=4]=i.pHYs[2],o(v,++u,a(v,u-13,13)),u+=4),c&&(o(v,u,8),l(v,u+=4,"acTL"),o(v,u+=4,e.frames.length),o(v,u+=4,null!=i.loop?i.loop:0),o(v,u+=4,a(v,u-12,12)),u+=4),3==e.ctype){var f=e.plte.length;o(v,u,3*f),l(v,u+=4,"PLTE"),u+=4;for(var p=0;p<f;p++){var b=3*p,w=e.plte[p],x=255&w,C=w>>>8&255,E=w>>>16&255;v[u+b+0]=x,v[u+b+1]=C,v[u+b+2]=E}if(o(v,u+=3*f,a(v,u-3*f-4,3*f+4)),u+=4,d){o(v,u,f),l(v,u+=4,"tRNS"),u+=4;for(var p=0;p<f;p++)v[u+p]=e.plte[p]>>>24&255;o(v,u+=f,a(v,u-f-4,f+4)),u+=4}}for(var S=0,m=0;m<e.frames.length;m++){var g=e.frames[m];c&&(o(v,u,26),l(v,u+=4,"fcTL"),o(v,u+=4,S++),o(v,u+=4,g.rect.width),o(v,u+=4,g.rect.height),o(v,u+=4,g.rect.x),o(v,u+=4,g.rect.y
1),s(v,u+=4,r[m]),s(v,u+=2,1e3),v[u+=2]=g.dispose,v[++u]=g.blend,o(v,++u,a(v,u-30,30)),u+=4);var A=g.cimg,f=A.length;o(v,u,f+4*(0!=m));var k=u+=4;l(v,u,0==m?"IDAT":"fdAT"),u+=4,0!=m&&(o(v,u,S++),u+=4),v.set(A,u),o(v,u+=f,a(v,k,u-k)),u+=4}return o(v,u,0),l(v,u+=4,"IEND"),o(v,u+=4,a(v,u-4,4)),u+=4,v.buffer},uB.encode.compressPNG=function(e,t,n){for(var r=0;r<e.frames.length;r++){var i=e.frames[r],a=(i.rect.width,i.rect.height),o=new Uint8Array(a*i.bpl+a);i.cimg=uB.encode._filterZero(i.img,a,i.bpp,i.bpl,o,t,n)}},uB.encode.compress=function(e,t,n,r,i){for(var a=i[0],o=i[1],s=i[2],l=i[3],u=i[4],c=6,d=8,h=255,f=0;f<e.length;f++)for(var p=new Uint8Array(e[f]),m=p.length,g=0;g<m;g+=4)h&=p[g+3];var v=255!=h,y=uB.encode.framize(e,t,n,a,o,s),b={},w=[],x=[];if(0!=r){for(var C=[],g=0;g<y.length;g++)C.push(y[g].img.buffer);for(var E=uB.encode.concatRGBA(C),S=uB.quantize(E,r),A=0,k=new Uint8Array(S.abuf),g=0;g<y.length;g++){var N=y[g].img,P=N.length;x.push(new Uint8Array(S.inds.buffer,A>>2,P>>2));for(var f=0;f<P;f+=4)N[f]=k[A+f],N[f+1]=k[A+f+1],N[f+2]=k[A+f+2],N[f+3]=k[A+f+3];A+=P}for(var g=0;g<S.plte.length;g++)w.push(S.plte[g].est.rgba)}else for(var f=0;f<y.length;f++){var I=y[f],T=new Uint32Array(I.img.buffer),O=I.rect.width,m=T.length,L=new Uint8Array(m);x.push(L);for(var g=0;g<m;g++){var M=T[g];if(0!=g&&M==T[g-1])L[g]=L[g-1];else if(g>O&&M==T[g-O])L[g]=L[g-O];else{var D=b[M];if(null==D&&(b[M]=D=w.length,w.push(M),w.length>=300))break;L[g]=D}}}var j=w.length;j<=256&&!1==u&&(d=Math.max(d=j<=2?1:j<=4?2:j<=16?4:8,l));for(var f=0;f<y.length;f++){var I=y[f],O=(I.rect.x,I.rect.y,I.rect.width),_=I.rect.height,R=I.img;new Uint32Array(R.buffer);var F=4*O,z=4;if(j<=256&&!1==u){for(var B=new Uint8Array((F=Math.ceil(d*O/8))*_),V=x[f],U=0;U<_;U++){var g=U*F,q=U*O;if(8==d)for(var H=0;H<O;H++)B[g+H]=V[q+H];else if(4==d)for(var H=0;H<O;H++)B[g+(H>>1)]|=V[q+H]<<4-(1&H)*4;else if(2==d)for(var H=0;H<O;H++)B[g+(H>>2)]|=V[q+H]<<6-(3&H)*2;else if(1==d)for(var H=0;H<O;H++)B[g+(H>>3)]|=V[q+H]<<7-(7&H)*1}R=B,c=3,z=1}else if(!1==v&&1==y.length){for(var B=new Uint8Array(O*_*3),Z=O*_,g=0;g<Z;g++){var N=3*g,W=4*g;B[N]=R[W],B[N+1]=R[W+1],B[N+2]=R[W+2]}R=B,c=2,z=3,F=3*O}I.img=R,I.bpl=F,I.bpp=z}return{ctype:c,depth:d,plte:w,frames:y}},uB.encode.framize=function(e,t,n,r,i,a){for(var o=[],s=0;s<e.length;s++){var l,u=new Uint8Array(e[s]),c=new Uint32Array(u.buffer),d=0,h=0,f=t,p=n,m=+!!r;if(0!=s){for(var g=a||r||1==s||0!=o[s-2].dispose?1:2,v=0,y=1e9,b=0;b<g;b++){for(var w=new Uint8Array(e[s-1-b]),x=new Uint32Array(e[s-1-b]),C=t,E=n,S=-1,A=-1,k=0;k<n;k++)for(var N=0;N<t;N++){var P=k*t+N;c[P]!=x[P]&&(N<C&&(C=N),N>S&&(S=N),k<E&&(E=k),k>A&&(A=k))}-1==S&&(C=E=S=A=0),i&&((1&C)==1&&C--,(1&E)==1&&E--);var I=(S-C+1)*(A-E+1);I<y&&(y=I,v=b,d=C,h=E,f=S-C+1,p=A-E+1)}var w=new Uint8Array(e[s-1-v]);1==v&&(o[s-1].dispose=2),l=new Uint8Array(f*p*4),uB._copyTile(w,t,n,l,f,p,-d,-h,0),1==(m=+!!uB._copyTile(u,t,n,l,f,p,-d,-h,3))?uB.encode._prepareDiff(u,t,n,l,{x:d,y:h,width:f,height:p}):uB._copyTile(u,t,n,l,f,p,-d,-h,0)}else l=u.slice(0);o.push({rect:{x:d,y:h,width:f,height:p},img:l,blend:m,dispose:0})}if(r)for(var s=0;s<o.length;s++){var T=o[s];if(1!=T.blend){var O=T.rect,L=o[s-1].rect,M=Math.min(O.x,L.x),D=Math.min(O.y,L.y),j={x:M,y:D,width:Math.max(O.x+O.width,L.x+L.width)-M,height:Math.max(O.y+O.height,L.y+L.height)-D};o[s-1].dispose=1,s-1!=0&&uB.encode._updateFrame(e,t,n,o,s-1,j,i),uB.encode._updateFrame(e,t,n,o,s,j,i)}}if(1!=e.length)for(var P=0;P<o.length;P++){var T=o[P];T.rect.width,T.rect.height}return o},uB.encode._updateFrame=function(e,t,n,r,i,a,o){for(var s=Uint8Array,l=Uint32Array,u=new s(e[i-1]),c=new l(e[i-1]),d=i+1<e.length?new s(e[i+1]):null,h=new s(e[i]),f=new l(h.buffer),p=t,m=n,g=-1,v=-1,y=0;y<a.height;y++)for(var b=0;b<a.width;b++){var w=a.x+b,x=a.y+y,C=x*t+w,E=f[C];0==E||0==r[i-1].dispose&&c[C]==E&&(null==d||0!=d[4*C+3])||(w<p&&(p=w),w>g&&(g=w),x<m&&(m=x),x>v&&(v=x))}
1-1==g&&(p=m=g=v=0),o&&((1&p)==1&&p--,(1&m)==1&&m--),a={x:p,y:m,width:g-p+1,height:v-m+1};var S=r[i];S.rect=a,S.blend=1,S.img=new Uint8Array(a.width*a.height*4),0==r[i-1].dispose?(uB._copyTile(u,t,n,S.img,a.width,a.height,-a.x,-a.y,0),uB.encode._prepareDiff(h,t,n,S.img,a)):uB._copyTile(h,t,n,S.img,a.width,a.height,-a.x,-a.y,0)},uB.encode._prepareDiff=function(e,t,n,r,i){uB._copyTile(e,t,n,r,i.width,i.height,-i.x,-i.y,2)},uB.encode._filterZero=function(e,t,n,r,i,a,o){var s=[],l=[0,1,2,3,4];-1!=a?l=[a]:(t*r>5e5||1==n)&&(l=[0]),o&&(h={level:0});for(var u=o&&null!=UZIP?UZIP:sY(),c=0;c<l.length;c++){for(var d=0;d<t;d++)uB.encode._filterLine(i,e,d,r,n,l[c]);s.push(u.deflate(i,h))}for(var h,f,p=1e9,c=0;c<s.length;c++)s[c].length<p&&(f=c,p=s[c].length);return s[f]},uB.encode._filterLine=function(e,t,n,r,i,a){var o=n*r,s=o+n,l=uB.decode._paeth;if(e[s]=a,s++,0==a)if(r<500)for(var u=0;u<r;u++)e[s+u]=t[o+u];else e.set(new Uint8Array(t.buffer,o,r),s);else if(1==a){for(var u=0;u<i;u++)e[s+u]=t[o+u];for(var u=i;u<r;u++)e[s+u]=t[o+u]-t[o+u-i]+256&255}else if(0==n){for(var u=0;u<i;u++)e[s+u]=t[o+u];if(2==a)for(var u=i;u<r;u++)e[s+u]=t[o+u];if(3==a)for(var u=i;u<r;u++)e[s+u]=t[o+u]-(t[o+u-i]>>1)+256&255;if(4==a)for(var u=i;u<r;u++)e[s+u]=t[o+u]-l(t[o+u-i],0,0)+256&255}else{if(2==a)for(var u=0;u<r;u++)e[s+u]=t[o+u]+256-t[o+u-r]&255;if(3==a){for(var u=0;u<i;u++)e[s+u]=t[o+u]+256-(t[o+u-r]>>1)&255;for(var u=i;u<r;u++)e[s+u]=t[o+u]+256-(t[o+u-r]+t[o+u-i]>>1)&255}if(4==a){for(var u=0;u<i;u++)e[s+u]=t[o+u]+256-l(0,t[o+u-r],0)&255;for(var u=i;u<r;u++)e[s+u]=t[o+u]+256-l(t[o+u-i],t[o+u-r],t[o+u-i-r])&255}}},uB.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=0xedb88320^n>>>1:n>>>=1;e[t]=n}return e}(),update:function(e,t,n,r){for(var i=0;i<r;i++)e=uB.crc.table[(e^t[n+i])&255]^e>>>8;return e},crc:function(e,t,n){return 0xffffffff^uB.crc.update(0xffffffff,e,t,n)}},uB.quantize=function(e,t){var n=new Uint8Array(e),r=n.slice(0),i=new Uint32Array(r.buffer),a=uB.quantize.getKDtree(r,t),o=a[0],s=a[1];uB.quantize.planeDst;for(var l=n.length,u=new Uint8Array(n.length>>2),c=0;c<l;c+=4){var d=n[c]*(1/255),h=n[c+1]*(1/255),f=n[c+2]*(1/255),p=n[c+3]*(1/255),m=uB.quantize.getNearest(o,d,h,f,p);u[c>>2]=m.ind,i[c>>2]=m.est.rgba}return{abuf:r.buffer,inds:u,plte:s}},uB.quantize.getKDtree=function(e,t,n){null==n&&(n=1e-4);var r=new Uint32Array(e.buffer),i={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};i.bst=uB.quantize.stats(e,i.i0,i.i1),i.est=uB.quantize.estats(i.bst);for(var a=[i];a.length<t;){for(var o=0,s=0,l=0;l<a.length;l++)a[l].est.L>o&&(o=a[l].est.L,s=l);if(o<n)break;var u=a[s],c=uB.quantize.splitPixels(e,r,u.i0,u.i1,u.est.e,u.est.eMq255);if(u.i0>=c||u.i1<=c){u.est.L=0;continue}var d={i0:u.i0,i1:c,bst:null,est:null,tdst:0,left:null,right:null};d.bst=uB.quantize.stats(e,d.i0,d.i1),d.est=uB.quantize.estats(d.bst);var h={i0:c,i1:u.i1,bst:null,est:null,tdst:0,left:null,right:null};h.bst={R:[],m:[],N:u.bst.N-d.bst.N};for(var l=0;l<16;l++)h.bst.R[l]=u.bst.R[l]-d.bst.R[l];for(var l=0;l<4;l++)h.bst.m[l]=u.bst.m[l]-d.bst.m[l];h.est=uB.quantize.estats(h.bst),u.left=d,u.right=h,a[s]=d,a.push(h)}a.sort(function(e,t){return t.bst.N-e.bst.N});for(var l=0;l<a.length;l++)a[l].ind=l;return[i,a]},uB.quantize.getNearest=function(e,t,n,r,i){if(null==e.left)return e.tdst=uB.quantize.dist(e.est.q,t,n,r,i),e;var a=uB.quantize.planeDst(e.est,t,n,r,i),o=e.left,s=e.right;a>0&&(o=e.right,s=e.left);var l=uB.quantize.getNearest(o,t,n,r,i);if(l.tdst<=a*a)return l;var u=uB.quantize.getNearest(s,t,n,r,i);return u.tdst<l.tdst?u:l},uB.quantize.planeDst=function(e,t,n,r,i){var a=e.e;return a[0]*t+a[1]*n+a[2]*r+a[3]*i-e.eMq},uB.quantize.dist=function(e,t,n,r,i){var a=t-e[0],o=n-e[1],s=r-e[2],l=i-e[3];return a*a+o*o+s*s+l*l},uB.quantize.splitPixels=function(e,t,n,r,i,a){var o=uB.quantize.vecDot;for(r-=4;n<r;){for(;o(e,n,i)<=a;)n+=4;for(;o(e,r,i)>a;)r-=4;if(n>=r)break;var s=t[n>>2];t[n>>2]=t[r>>2],t[r>>2]=s,n+=4,r-=4}for(;o(e,n,i)>a;)n-=4;return n+4},uB.quantize.vecDot=function(e,t,n){return e[t]*n[0]+e[t+1]*n[1]+e[t+2]*n[2]+e[t+3]*n[3]},uB.quantize.stats=function(e,t,n){for(var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=[0,0,0,0],a=t;a<n;a+=4){var o=e[a]*(1/255),s=e[a+1]*(1/255),l=e[a+2]*(1/255),u=e[a+3]*(1/255);i[0]+=o,i[1]+=s,i[2]+=l,i[3]+=u,r[0]+=o*o,r[1]+=o*s,r[2]+=o*l,r[3]+=o*u,r[5]+=s*s,r[6]+=s*l,r[7]+=s*u,r[10]+=l*l,r[11]+=l*u,r[15]+=u*u}return r[4]=r[1],r[8]=r[2],r[9]=r[6],r[12]=r[3],r[13]=r[7],r[14]=r[11],{R:r,m:i,N:n-t>>2}},uB.quantize.estats=function(e){var t=e.R,n=e.m,r=e.N,i=n[0],a=n[1],o=n[2],s=n[3],l=0==r?0:1/r,u=[t[0]-i*i*l,t[1]-i*a*l,t[2]-i*o*l,t[3]-i*s*l,t[4]-a*i*l,t[5]-a*a*l,t[6]-a*o*l,t[7]-a*s*l,t[8]-o*i*l,t[9]-o*a*l,t[10]-o*o*l,t[11]-o*s*l,t[12]-s*i*l,t[13]-s*a*l,t[14]-s*o*l,t[15]-s*s*l],c=uB.M4,d=[.5,.5,.5,.5],h=0,f=0;if(0!=r)for(var p=0;p<10&&(d=c.multVec(u,d),f=Math.sqrt(c.dot(d,d)),d=c.sml(1/f,d),!(1e-9>Math.abs(f-h)));p++)h=f;var m=[i*l,a*l,o*l,s*l],g=c.dot(c.sml(255,m),d);return{Cov:u,q:m,e:d,L:h,eMq255:g,eMq:c.dot(d,m),rgba:(Math.round(255*m[3])<<24|Math.round(255*m[2])<<16|Math.round(255*m[1])<<8|(0|Math.round(255*m[0])))>>>0}},uB.M4={multVec:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},sml:function(e,t){return[e*t[0],e*t[1],e*t[2],e*t[3]]}},uB.encode.concatRGBA=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].byteLength;
1for(var r=new Uint8Array(t),i=0,n=0;n<e.length;n++){for(var a=new Uint8Array(e[n]),o=a.length,s=0;s<o;s+=4){var l=a[s],u=a[s+1],c=a[s+2],d=a[s+3];0==d&&(l=u=c=0),r[i+s]=l,r[i+s+1]=u,r[i+s+2]=c,r[i+s+3]=d}i+=o}return r.buffer};var uV=function(e){if(0===e)return w.Greyscale;if(2===e)return w.Truecolour;if(3===e)return w.IndexedColour;if(4===e)return w.GreyscaleWithAlpha;if(6===e)return w.TruecolourWithAlpha;throw Error("Unknown color type: "+e)},uU=function(e){for(var t=Math.floor(e.length/4),n=new Uint8Array(3*t),r=new Uint8Array(+t),i=0,a=0,o=0;i<e.length;)n[a++]=e[i++],n[a++]=e[i++],n[a++]=e[i++],r[o++]=e[i++];return{rgbChannel:n,alphaChannel:r}};!function(e){e.Greyscale="Greyscale",e.Truecolour="Truecolour",e.IndexedColour="IndexedColour",e.GreyscaleWithAlpha="GreyscaleWithAlpha",e.TruecolourWithAlpha="TruecolourWithAlpha"}(w||(w={}));var uq=function(){function e(e){var t=uB.decode(e),n=uB.toRGBA8(t);if(n.length>1)throw Error("Animated PNGs are not supported");var r=uU(new Uint8Array(n[0])),i=r.rgbChannel,a=r.alphaChannel;this.rgbChannel=i,a.some(function(e){return e<255})&&(this.alphaChannel=a),this.type=uV(t.ctype),this.width=t.width,this.height=t.height,this.bitsPerComponent=8}return e.load=function(t){return new e(t)},e}(),uH=function(){function e(e){this.image=e,this.bitsPerComponent=e.bitsPerComponent,this.width=e.width,this.height=e.height,this.colorSpace="DeviceRGB"}return e.for=function(t){return o5(this,void 0,void 0,function(){return o4(this,function(n){return[2,new e(uq.load(t))]})})},e.prototype.embedIntoContext=function(e,t){return o5(this,void 0,void 0,function(){var n,r;return o4(this,function(i){return(n=this.embedAlphaChannel(e),r=e.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:n}),t)?(e.assign(t,r),[2,t]):[2,e.register(r)]})})},e.prototype.embedAlphaChannel=function(e){if(this.image.alphaChannel){var t=e.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return e.register(t)}},e}(),uZ=function(){function e(e,t,n){this.bytes=e,this.start=t||0,this.pos=this.start,this.end=t&&n?t+n:this.bytes.length}return Object.defineProperty(e.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},e.prototype.getUint16=function(){var e=this.getByte(),t=this.getByte();return -1===e||-1===t?-1:(e<<8)+t},e.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},e.prototype.getBytes=function(e,t){void 0===t&&(t=!1);var n=this.bytes,r=this.pos,i=this.end;if(e){var a=r+e;a>i&&(a=i),this.pos=a;var o=n.subarray(r,a);return t?new Uint8ClampedArray(o):o}var o=n.subarray(r,i);return t?new Uint8ClampedArray(o):o},e.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},e.prototype.peekBytes=function(e,t){void 0===t&&(t=!1);var n=this.getBytes(e,t);return this.pos-=n.length,n},e.prototype.skip=function(e){e||(e=1),this.pos+=e},e.prototype.reset=function(){this.pos=this.start},e.prototype.moveStart=function(){this.start=this.pos},e.prototype.makeSubStream=function(t,n){return new e(this.bytes,t,n)},e.prototype.decode=function(){return this.bytes},e}(),uW=new Uint8Array(0),uG=function(){function e(e){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=uW,this.minBufferLength=512,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return -1;this.readBlock()}return this.buffer[this.pos++]},e.prototype.getUint16=function(){var e=this.getByte(),t=this.getByte();return -1===e||-1===t?-1:(e<<8)+t},e.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},e.prototype.getBytes=function(e,t){void 0===t&&(t=!1);var n,r=this.pos;if(e){for(this.ensureBuffer(r+e),n=r+e;!this.eof&&this.bufferLength<n;)this.readBlock();var i=this.bufferLength;n>i&&(n=i)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}this.pos=n;var a=this.buffer.subarray(r,n);return!t||a instanceof Uint8ClampedArray?a:new Uint8ClampedArray(a)},e.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},e.prototype.peekBytes=function(e,t){void 0===t&&(t=!1);var n=this.getBytes(e,t);return this.pos-=n.length,n},e.prototype.skip=function(e){e||(e=1),this.pos+=e},e.prototype.reset=function(){this.pos=0},e.prototype.makeSubStream=function(e,t){for(var n=e+t;this.bufferLength<=n&&!this.eof;)this.readBlock();return new uZ(this.buffer,e,t)},e.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},e.prototype.readBlock=function(){throw new lE(this.constructor.name,"readBlock")},e.prototype.ensureBuffer=function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var n=this.minBufferLength;n<e;)n*=2;
1var r=new Uint8Array(n);return r.set(t),this.buffer=r},e}(),u$=function(e){return 32===e||9===e||13===e||10===e},uK=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r.input=new Uint8Array(5),n&&(n*=.8),r}return o1(t,e),t.prototype.readBlock=function(){for(var e,t,n=this.stream,r=n.getByte();u$(r);)r=n.getByte();if(-1===r||126===r){this.eof=!0;return}var i=this.bufferLength;if(122===r){for(t=0,e=this.ensureBuffer(i+4);t<4;++t)e[i+t]=0;this.bufferLength+=4}else{var a=this.input;for(t=1,a[0]=r;t<5;++t){for(r=n.getByte();u$(r);)r=n.getByte();if(a[t]=r,-1===r||126===r)break}if(e=this.ensureBuffer(i+t-1),this.bufferLength+=t-1,t<5){for(;t<5;++t)a[t]=117;this.eof=!0}var o=0;for(t=0;t<5;++t)o=85*o+(a[t]-33);for(t=3;t>=0;--t)e[i+t]=255&o,o>>=8}},t}(uG),uY=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r.firstDigit=-1,n&&(n*=.5),r}return o1(t,e),t.prototype.readBlock=function(){var e=this.stream.getBytes(8e3);if(!e.length){this.eof=!0;return}for(var t=e.length+1>>1,n=this.ensureBuffer(this.bufferLength+t),r=this.bufferLength,i=this.firstDigit,a=0,o=e.length;a<o;a++){var s=e[a],l=void 0;if(s>=48&&s<=57)l=15&s;else if(s>=65&&s<=70||s>=97&&s<=102)l=(15&s)+9;else{if(62!==s)continue;this.eof=!0;break}i<0?i=l:(n[r++]=i<<4|l,i=-1)}i>=0&&this.eof&&(n[r++]=i<<4,i=-1),this.firstDigit=i,this.bufferLength=r},t}(uG),uX=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),uQ=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),uJ=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),u0=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,5243
169,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],u1=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],u2=function(e){function t(t,n){var r=e.call(this,n)||this;r.stream=t;var i=t.getByte(),a=t.getByte();if(-1===i||-1===a)throw Error("Invalid header in flate stream: "+i+", "+a);if((15&i)!=8)throw Error("Unknown compression method in flate stream: "+i+", "+a);if(((i<<8)+a)%31!=0)throw Error("Bad FCHECK in flate stream: "+i+", "+a);if(32&a)throw Error("FDICT bit set in flate stream: "+i+", "+a);return r.codeSize=0,r.codeBuf=0,r}return o1(t,e),t.prototype.readBlock=function(){var e,t,n,r,i=this.stream,a=this.getBits(3);if(1&a&&(this.eof=!0),0==(a>>=1)){var o=void 0;if(-1===(o=i.getByte()))throw Error("Bad block header in flate stream");var s=o;if(-1===(o=i.getByte())||(s|=o<<8,-1===(o=i.getByte())))throw Error("Bad block header in flate stream");var l=o;if(-1===(o=i.getByte()))throw Error("Bad block header in flate stream");if((l|=o<<8)!=(65535&~s)&&(0!==s||0!==l))throw Error("Bad uncompressed block length in flate stream");
1this.codeBuf=0,this.codeSize=0;var u=this.bufferLength;e=this.ensureBuffer(u+s);var c=u+s;if(this.bufferLength=c,0===s)-1===i.peekByte()&&(this.eof=!0);else for(var d=u;d<c;++d){if(-1===(o=i.getByte())){this.eof=!0;break}e[d]=o}return}if(1===a)n=u0,r=u1;else if(2===a){var h=this.getBits(5)+257,f=this.getBits(5)+1,p=this.getBits(4)+4,m=new Uint8Array(uX.length),g=void 0;for(g=0;g<p;++g)m[uX[g]]=this.getBits(3);var v=this.generateHuffmanTable(m);t=0,g=0;for(var y=h+f,b=new Uint8Array(y),w=void 0,x=void 0,C=void 0;g<y;){var E=this.getCode(v);if(16===E)w=2,x=3,C=t;else if(17===E)w=3,x=3,C=t=0;else if(18===E)w=7,x=11,C=t=0;else{b[g++]=t=E;continue}for(var S=this.getBits(w)+x;S-- >0;)b[g++]=C}n=this.generateHuffmanTable(b.subarray(0,h)),r=this.generateHuffmanTable(b.subarray(h,y))}else throw Error("Unknown block type in flate stream");for(var A=(e=this.buffer)?e.length:0,k=this.bufferLength;;){var N=this.getCode(n);if(N<256){k+1>=A&&(A=(e=this.ensureBuffer(k+1)).length),e[k++]=N;continue}if(256===N){this.bufferLength=k;return}N-=257;var P=(N=uQ[N])>>16;P>0&&(P=this.getBits(P)),t=(65535&N)+P,(P=(N=uJ[N=this.getCode(r)])>>16)>0&&(P=this.getBits(P));var I=(65535&N)+P;k+t>=A&&(A=(e=this.ensureBuffer(k+t)).length);for(var T=0;T<t;++T,++k)e[k]=e[k-I]}},t.prototype.getBits=function(e){for(var t,n=this.stream,r=this.codeSize,i=this.codeBuf;r<e;){if(-1===(t=n.getByte()))throw Error("Bad encoding in flate stream");i|=t<<r,r+=8}return t=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=r-=e,t},t.prototype.getCode=function(e){for(var t,n=this.stream,r=e[0],i=e[1],a=this.codeSize,o=this.codeBuf;a<i&&-1!==(t=n.getByte());)o|=t<<a,a+=8;var s=r[o&(1<<i)-1];"number"==typeof r&&console.log("FLATE:",s);var l=s>>16;if(l<1||a<l)throw Error("Bad encoding in flate stream");return this.codeBuf=o>>l,this.codeSize=a-l,65535&s},t.prototype.generateHuffmanTable=function(e){var t,n=e.length,r=0;for(t=0;t<n;++t)e[t]>r&&(r=e[t]);for(var i=1<<r,a=new Int32Array(i),o=1,s=0,l=2;o<=r;++o,s<<=1,l<<=1)for(var u=0;u<n;++u)if(e[u]===o){var c=0,d=s;for(t=0;t<o;++t)c=c<<1|1&d,d>>=1;for(t=c;t<i;t+=l)a[t]=o<<16|u;++s}return[a,r]},t}(uG),u5=function(e){function t(t,n,r){var i=e.call(this,n)||this;i.stream=t,i.cachedData=0,i.bitsCached=0;for(var a={earlyChange:r,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0},o=0;o<256;++o)a.dictionaryValues[o]=o,a.dictionaryLengths[o]=1;return i.lzwState=a,i}return o1(t,e),t.prototype.readBlock=function(){var e,t,n,r=1024,i=this.lzwState;if(i){var a=i.earlyChange,o=i.nextCode,s=i.dictionaryValues,l=i.dictionaryLengths,u=i.dictionaryPrevCodes,c=i.codeLength,d=i.prevCode,h=i.currentSequence,f=i.currentSequenceLength,p=0,m=this.bufferLength,g=this.ensureBuffer(this.bufferLength+r);for(e=0;e<512;e++){var v=this.readBits(c),y=f>0;if(!v||v<256)h[0]=v,f=1;else if(v>=258)if(v<o)for(t=(f=l[v])-1,n=v;t>=0;t--)h[t]=s[n],n=u[n];else h[f++]=h[0];else if(256===v){c=9,o=258,f=0;continue}else{this.eof=!0,delete this.lzwState;break}if(y&&(u[o]=d,l[o]=l[d]+1,s[o]=h[0],c=++o+a&o+a-1?c:0|Math.min(Math.log(o+a)/.6931471805599453+1,12)),d=v,r<(p+=f)){do r+=512;while(r<p);g=this.ensureBuffer(this.bufferLength+r)}for(t=0;t<f;t++)g[m++]=h[t]}i.nextCode=o,i.codeLength=c,i.prevCode=d,i.currentSequenceLength=f,this.bufferLength=m}},t.prototype.readBits=function(e){for(var t=this.bitsCached,n=this.cachedData;t<e;){var r=this.stream.getByte();if(-1===r)return this.eof=!0,null;n=n<<8|r,t+=8}return this.bitsCached=t-=e,this.cachedData=n,n>>>t&(1<<e)-1},t}(uG),u4=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r}return o1(t,e),t.prototype.readBlock=function(){var e,t=this.stream.getBytes(2);if(!t||t.length<2||128===t[0]){this.eof=!0;return}var n=this.bufferLength,r=t[0];if(r<128){if((e=this.ensureBuffer(n+r+1))[n++]=t[1],r>0){var i=this.stream.getBytes(r);e.set(i,n),n+=r}}else{r=257-r;var a=t[1];e=this.ensureBuffer(n+r+1);for(var o=0;o<r;o++)e[n++]=a}this.bufferLength=n},t}(uG),u3=function(e,t,n){if(t===l7.of("FlateDecode"))return new u2(e);if(t===l7.of("LZWDecode")){var r=1;if(n instanceof ut){var i=n.lookup(l7.of("EarlyChange"));i instanceof lJ&&(r=i.asNumber())}return new u5(e,void 0,r)}if(t===l7.of("ASCII85Decode"))return new uK(e);if(t===l7.of("ASCIIHexDecode"))return new uY(e);
1if(t===l7.of("RunLengthDecode"))return new u4(e);throw new lk(t.asString())},u6=function(e){var t=e.dict,n=new uZ(e.contents),r=t.lookup(l7.of("Filter")),i=t.lookup(l7.of("DecodeParms"));if(r instanceof l7)n=u3(n,r,i);else if(r instanceof l0)for(var a=0,o=r.size();a<o;a++)n=u3(n,r.lookup(a,l7),i&&i.lookupMaybe(a,ut));else if(r)throw new lA([l7,l0],r);return n},u8=function(e){var t=e.MediaBox();return{left:0,bottom:0,right:t.lookup(2,lJ).asNumber()-t.lookup(0,lJ).asNumber(),top:t.lookup(3,lJ).asNumber()-t.lookup(1,lJ).asNumber()}},u9=function(){function e(e,t,n){this.page=e;var r=null!=t?t:u8(e);this.width=r.right-r.left,this.height=r.top-r.bottom,this.boundingBox=r,this.transformationMatrix=null!=n?n:[1,0,0,1,-r.left,-r.bottom]}return e.for=function(t,n,r){return o5(this,void 0,void 0,function(){return o4(this,function(i){return[2,new e(t,n,r)]})})},e.prototype.embedIntoContext=function(e,t){return o5(this,void 0,void 0,function(){var n,r,i,a,o,s,l,u,c,d;return o4(this,function(h){if(r=(n=this.page.normalizedEntries()).Contents,i=n.Resources,!r)throw new lP;return(a=this.decodeContents(r),s=(o=this.boundingBox).left,l=o.bottom,u=o.right,c=o.top,d=e.flateStream(a,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[s,l,u,c],Matrix:this.transformationMatrix,Resources:i}),t)?(e.assign(t,d),[2,t]):[2,e.register(d)]})})},e.prototype.decodeContents=function(e){for(var t=Uint8Array.of(lY.Newline),n=[],r=0,i=e.size();r<i;r++){var a=e.lookup(r,un),o=void 0;if(a instanceof ur)o=u6(a).decode();else if(a instanceof uc)o=a.getUnencodedContents();else throw new lI(a);n.push(o,t)}return sE.apply(void 0,n)},e}(),u7=function(e,t){if(void 0!==e)return t[e]};!function(e){e.UseNone="UseNone",e.UseOutlines="UseOutlines",e.UseThumbs="UseThumbs",e.UseOC="UseOC"}(x||(x={})),function(e){e.L2R="L2R",e.R2L="R2L"}(C||(C={})),function(e){e.None="None",e.AppDefault="AppDefault"}(E||(E={})),function(e){e.Simplex="Simplex",e.DuplexFlipShortEdge="DuplexFlipShortEdge",e.DuplexFlipLongEdge="DuplexFlipLongEdge"}(S||(S={}));var ce=function(){function e(e){this.dict=e}return e.prototype.lookupBool=function(e){var t=this.dict.lookup(l7.of(e));if(t instanceof l2)return t},e.prototype.lookupName=function(e){var t=this.dict.lookup(l7.of(e));if(t instanceof l7)return t},e.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},e.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},e.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},e.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},e.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},e.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},e.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},e.prototype.Direction=function(){return this.lookupName("Direction")},e.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},e.prototype.Duplex=function(){return this.lookupName("Duplex")},e.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},e.prototype.PrintPageRange=function(){var e=this.dict.lookup(l7.of("PrintPageRange"));if(e instanceof l0)return e},e.prototype.NumCopies=function(){var e=this.dict.lookup(l7.of("NumCopies"));if(e instanceof lJ)return e},e.prototype.getHideToolbar=function(){var e,t;return null!=(t=null==(e=this.HideToolbar())?void 0:e.asBoolean())&&t},e.prototype.getHideMenubar=function(){var e,t;return null!=(t=null==(e=this.HideMenubar())?void 0:e.asBoolean())&&t},e.prototype.getHideWindowUI=function(){var e,t;return null!=(t=null==(e=this.HideWindowUI())?void 0:e.asBoolean())&&t},e.prototype.getFitWindow=function(){var e,t;return null!=(t=null==(e=this.FitWindow())?void 0:e.asBoolean())&&t},e.prototype.getCenterWindow=function(){var e,t;return null!=(t=null==(e=this.CenterWindow())?void 0:e.asBoolean())&&t},e.prototype.getDisplayDocTitle=function(){var e,t;return null!=(t=null==(e=this.DisplayDocTitle())?void 0:e.asBoolean())&&t},e.prototype.getNonFullScreenPageMode=function(){var e,t;return null!=(t=u7(null==(e=this.NonFullScreenPageMode())?void 0:e.decodeText(),x))?t:x.UseNone},e.prototype.getReadingDirection=function(){var e,t;return null!=(t=u7(null==(e=this.Direction())?void 0:e.decodeText(),C))?t:C.L2R},e.prototype.getPrintScaling=function(){var e,t;return null!=(t=u7(null==(e=this.PrintScaling())?void 0:e.decodeText(),E))?t:E.AppDefault},e.prototype.getDuplex=function(){var e;return u7(null==(e=this.Duplex())?void 0:e.decodeText(),S)},e.prototype.getPickTrayByPDFSize=function(){var e;return null==(e=this.PickTrayByPDFSize())?void 0:e.asBoolean()},e.prototype.getPrintPageRange=function(){var e=this.PrintPageRange();if(!e)return[];for(var t=[],n=0;n<e.size();n+=2){var r=e.lookup(n,lJ).asNumber(),i=e.lookup(n+1,lJ).asNumber();t.push({start:r,end:i})}return t},e.prototype.getNumCopies=function(){var e,t;return null!=(t=null==(e=this.NumCopies())?void 0:e.asNumber())?t:1},e.prototype.setHideToolbar=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("HideToolbar"),t)},e.prototype.setHideMenubar=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("HideMenubar"),t)},e.prototype.setHideWindowUI=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("HideWindowUI"),t)},e.prototype.setFitWindow=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("FitWindow"),t)},e.prototype.setCenterWindow=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("CenterWindow"),t)},e.prototype.setDisplayDocTitle=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("DisplayDocTitle"),t)}
1,e.prototype.setNonFullScreenPageMode=function(e){ls(e,"nonFullScreenPageMode",x);var t=l7.of(e);this.dict.set(l7.of("NonFullScreenPageMode"),t)},e.prototype.setReadingDirection=function(e){ls(e,"readingDirection",C);var t=l7.of(e);this.dict.set(l7.of("Direction"),t)},e.prototype.setPrintScaling=function(e){ls(e,"printScaling",E);var t=l7.of(e);this.dict.set(l7.of("PrintScaling"),t)},e.prototype.setDuplex=function(e){ls(e,"duplex",S);var t=l7.of(e);this.dict.set(l7.of("Duplex"),t)},e.prototype.setPickTrayByPDFSize=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("PickTrayByPDFSize"),t)},e.prototype.setPrintPageRange=function(e){Array.isArray(e)||(e=[e]);for(var t=[],n=0,r=e.length;n<r;n++)t.push(e[n].start),t.push(e[n].end);lf(t,"printPageRange",["number"]);var i=this.dict.context.obj(t);this.dict.set(l7.of("PrintPageRange"),i)},e.prototype.setNumCopies=function(e){lp(e,"numCopies",1,Number.MAX_VALUE),lv(e,"numCopies");var t=this.dict.context.obj(e);this.dict.set(l7.of("NumCopies"),t)},e.fromDict=function(t){return new e(t)},e.create=function(t){return new e(t.obj({}))},e}(),ct=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,cn=function(){function e(e,t){this.dict=e,this.ref=t}return e.prototype.T=function(){return this.dict.lookupMaybe(l7.of("T"),uM,uS)},e.prototype.Ff=function(){var e=this.getInheritableAttribute(l7.of("Ff"));return this.dict.context.lookupMaybe(e,lJ)},e.prototype.V=function(){var e=this.getInheritableAttribute(l7.of("V"));return this.dict.context.lookup(e)},e.prototype.Kids=function(){return this.dict.lookupMaybe(l7.of("Kids"),l0)},e.prototype.DA=function(){var e=this.dict.lookup(l7.of("DA"));if(e instanceof uM||e instanceof uS)return e},e.prototype.setKids=function(e){this.dict.set(l7.of("Kids"),this.dict.context.obj(e))},e.prototype.getParent=function(){var t=this.dict.get(l7.of("Parent"));if(t instanceof uo)return new e(this.dict.lookup(l7.of("Parent"),ut),t)},e.prototype.setParent=function(e){e?this.dict.set(l7.of("Parent"),e):this.dict.delete(l7.of("Parent"))},e.prototype.getFullyQualifiedName=function(){var e=this.getParent();return e?e.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},e.prototype.getPartialName=function(){var e;return null==(e=this.T())?void 0:e.decodeText()},e.prototype.setPartialName=function(e){e?this.dict.set(l7.of("T"),uS.fromText(e)):this.dict.delete(l7.of("T"))},e.prototype.setDefaultAppearance=function(e){this.dict.set(l7.of("DA"),uM.of(e))},e.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof uS?e.decodeText():null==e?void 0:e.asString()},e.prototype.setFontSize=function(e){var t,n=null!=(t=this.getFullyQualifiedName())?t:"",r=this.getDefaultAppearance();if(!r)throw new lF(n);var i=sw(r,ct);if(!i.match)throw new lz(n);var a=r.slice(0,i.pos-i.match[0].length),o=i.pos<=r.length?r.slice(i.pos):"",s=a+" /"+i.match[1]+" "+e+" Tf "+o;this.setDefaultAppearance(s)},e.prototype.getFlags=function(){var e,t;return null!=(t=null==(e=this.Ff())?void 0:e.asNumber())?t:0},e.prototype.setFlags=function(e){this.dict.set(l7.of("Ff"),lJ.of(e))},e.prototype.hasFlag=function(e){return(this.getFlags()&e)!=0},e.prototype.setFlag=function(e){var t=this.getFlags();this.setFlags(t|e)},e.prototype.clearFlag=function(e){var t=this.getFlags();this.setFlags(t&~e)},e.prototype.setFlagTo=function(e,t){t?this.setFlag(e):this.clearFlag(e)},e.prototype.getInheritableAttribute=function(e){var t;return this.ascend(function(n){t||(t=n.dict.get(e))}),t},e.prototype.ascend=function(e){e(this);var t=this.getParent();t&&t.ascend(e)},e}(),cr=function(){function e(e){this.dict=e}return e.prototype.W=function(){var e=this.dict.lookup(l7.of("W"));if(e instanceof lJ)return e},e.prototype.getWidth=function(){var e,t;return null!=(t=null==(e=this.W())?void 0:e.asNumber())?t:1},e.prototype.setWidth=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("W"),t)},e.fromDict=function(t){return new e(t)},e}(),ci=function(){function e(e){this.dict=e}return e.prototype.Rect=function(){return this.dict.lookup(l7.of("Rect"),l0)},e.prototype.AP=function(){return this.dict.lookupMaybe(l7.of("AP"),ut)},e.prototype.F=function(){var e=this.dict.lookup(l7.of("F"));return this.dict.context.lookupMaybe(e,lJ)},e.prototype.getRectangle=function(){var e,t=this.Rect();return null!=(e=null==t?void 0:t.asRectangle())?e:{x:0,y:0,width:0,height:0}},e.prototype.setRectangle=function(e){var t=e.x,n=e.y,r=e.width,i=e.he
vendor: 6,555 bytes, line 1
1ight,a=this.dict.context.obj([t,n,t+r,n+i]);this.dict.set(l7.of("Rect"),a)},e.prototype.getAppearanceState=function(){var e=this.dict.lookup(l7.of("AS"));if(e instanceof l7)return e},e.prototype.setAppearanceState=function(e){this.dict.set(l7.of("AS"),e)},e.prototype.setAppearances=function(e){this.dict.set(l7.of("AP"),e)},e.prototype.ensureAP=function(){var e=this.AP();return e||(e=this.dict.context.obj({}),this.dict.set(l7.of("AP"),e)),e},e.prototype.getNormalAppearance=function(){var e=this.ensureAP().get(l7.of("N"));if(e instanceof uo||e instanceof ut)return e;throw Error("Unexpected N type: "+(null==e?void 0:e.constructor.name))},e.prototype.setNormalAppearance=function(e){this.ensureAP().set(l7.of("N"),e)},e.prototype.setRolloverAppearance=function(e){this.ensureAP().set(l7.of("R"),e)},e.prototype.setDownAppearance=function(e){this.ensureAP().set(l7.of("D"),e)},e.prototype.removeRolloverAppearance=function(){var e=this.AP();null==e||e.delete(l7.of("R"))},e.prototype.removeDownAppearance=function(){var e=this.AP();null==e||e.delete(l7.of("D"))},e.prototype.getAppearances=function(){var e=this.AP();if(e)return{normal:e.lookup(l7.of("N"),ut,un),rollover:e.lookupMaybe(l7.of("R"),ut,un),down:e.lookupMaybe(l7.of("D"),ut,un)}},e.prototype.getFlags=function(){var e,t;return null!=(t=null==(e=this.F())?void 0:e.asNumber())?t:0},e.prototype.setFlags=function(e){this.dict.set(l7.of("F"),lJ.of(e))},e.prototype.hasFlag=function(e){return(this.getFlags()&e)!=0},e.prototype.setFlag=function(e){var t=this.getFlags();this.setFlags(t|e)},e.prototype.clearFlag=function(e){var t=this.getFlags();this.setFlags(t&~e)},e.prototype.setFlagTo=function(e,t){t?this.setFlag(e):this.clearFlag(e)},e.fromDict=function(t){return new e(t)},e}(),ca=function(){function e(e){this.dict=e}return e.prototype.R=function(){var e=this.dict.lookup(l7.of("R"));if(e instanceof lJ)return e},e.prototype.BC=function(){var e=this.dict.lookup(l7.of("BC"));if(e instanceof l0)return e},e.prototype.BG=function(){var e=this.dict.lookup(l7.of("BG"));if(e instanceof l0)return e},e.prototype.CA=function(){var e=this.dict.lookup(l7.of("CA"));if(e instanceof uS||e instanceof uM)return e},e.prototype.RC=function(){var e=this.dict.lookup(l7.of("RC"));if(e instanceof uS||e instanceof uM)return e},e.prototype.AC=function(){var e=this.dict.lookup(l7.of("AC"));if(e instanceof uS||e instanceof uM)return e},e.prototype.getRotation=function(){var e;return null==(e=this.R())?void 0:e.asNumber()},e.prototype.getBorderColor=function(){var e=this.BC();if(e){for(var t=[],n=0,r=null==e?void 0:e.size();n<r;n++){var i=e.get(n);i instanceof lJ&&t.push(i.asNumber())}return t}},e.prototype.getBackgroundColor=function(){var e=this.BG();if(e){for(var t=[],n=0,r=null==e?void 0:e.size();n<r;n++){var i=e.get(n);i instanceof lJ&&t.push(i.asNumber())}return t}},e.prototype.getCaptions=function(){var e=this.CA(),t=this.RC(),n=this.AC();return{normal:null==e?void 0:e.decodeText(),rollover:null==t?void 0:t.decodeText(),down:null==n?void 0:n.decodeText()}},e.prototype.setRotation=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("R"),t)},e.prototype.setBorderColor=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("BC"),t)},e.prototype.setBackgroundColor=function(e){var t=this.dict.context.obj(e);this.dict.set(l7.of("BG"),t)},e.prototype.setCaptions=function(e){var t=uS.fromText(e.normal);if(this.dict.set(l7.of("CA"),t),e.rollover){var n=uS.fromText(e.rollover);this.dict.set(l7.of("RC"),n)}else this.dict.delete(l7.of("RC"));if(e.down){var r=uS.fromText(e.down);this.dict.set(l7.of("AC"),r)}else this.dict.delete(l7.of("AC"))},e.fromDict=function(t){return new e(t)},e}(),co=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.MK=function(){var e=this.dict.lookup(l7.of("MK"));if(e instanceof ut)return e},t.prototype.BS=function(){var e=this.dict.lookup(l7.of("BS"));if(e instanceof ut)return e},t.prototype.DA=function(){var e=this.dict.lookup(l7.of("DA"));if(e instanceof uM||e instanceof uS)return e},t.prototype.P=function(){var e=this.dict.get(l7.of("P"));if(e instanceof uo)return e},t.prototype.setP=function(e){this.dict.set(l7.of("P"),e)},t.prototype.setDefaultAppearance=function(e){this.dict.set(l7.of("DA"),uM.of(e))},t.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof uS?e.decodeText():null==e?void 0:e.asString()},t.prototype.getAppearanceCharacteristics=function(){var e=this.MK();if(e)return ca.fromDict(e)},t.prototype.getOrCreateAppearanceCharacteristics=function(){var e=this.MK();if(e)return ca.fromDict(e);var t=ca.fromDict(this.dict.context.obj({}));return this.dict.set(l7.of("MK"),t.dict),t},t.prototype.getBorderStyle=function(){var e=this.BS();if(e)return cr.fromDict(e)},t.prototype.getOrCreateBorderStyle=function(){var e=this.BS();if(e)return cr.fromDict(e);var t=cr.fromDict(this.dict.context.obj({}));return this.dict.set(l7.of("BS"),t.dict),t},t.prototype.getOnValue=function(){var e,t=null==(e=this.getAppearances())?void 0:e.normal;if(t instanceof ut)for(var n=t.keys(),r=0,i=n.length;r<i;r++){var a=n[r];if(a!==l7.of("Off"))return a}},t.fromDict=function(e){return new t(e)},t.create=function(e,n){return new t(e.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:n}))},t}(ci),cs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.FT=function(){var e=this.getInheritableAttribute(l7.of("FT"));return this.dict.context.lookup(e,l7)},t.prototype.getWidgets=function(){var e=this.Kids();if(!e)return[co.fromDict(this.dict)];for(var t=Array(e.size()),n=0,r=e.size();n<r;n++){var i=e.lookup(n,ut);t[n]=co.fromDict(i)}return t},t.prototype.addWidget=function(e){this.normalizedEntries().Kids.push(e)},t.prototype.removeWidget=function(e){var t=this.Kids();if(t){if(e<0||e>t.size())throw new lj(e,0,t.size());t.remove(e)}else{if(0!==e)throw new lj(e,0,0);this.setKids([])}},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([this.ref]),this.dict.set(l7.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,n){return new t(e,n)},t}(cn),cl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.Opt=function(){return this.dict.lookupMaybe(l7.of("Opt"),uM,uS,l0)},t.prototype.setOpt=function(e){this.dict.set(l7.of("Opt"),this.dict.context.obj(e))},t.prototype.getExportValues=function(){var e=this.Opt();if(e){if(e instanceof uM||e instanceof uS)return[e];for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);
1(i instanceof uM||i instanceof uS)&&t.push(i)}return t}},t.prototype.removeExportValue=function(e){var t=this.Opt();if(t)if(t instanceof uM||t instanceof uS){if(0!==e)throw new lj(e,0,0);this.setOpt([])}else{if(e<0||e>t.size())throw new lj(e,0,t.size());t.remove(e)}},t.prototype.normalizeExportValues=function(){for(var e,t,n,r,i=null!=(e=this.getExportValues())?e:[],a=[],o=this.getWidgets(),s=0,l=o.length;s<l;s++){var u=o[s],c=null!=(t=i[s])?t:uS.fromText(null!=(r=null==(n=u.getOnValue())?void 0:n.decodeText())?r:"");a.push(c)}this.setOpt(a)},t.prototype.addOpt=function(e,t){this.normalizeExportValues();var n,r,i=e.decodeText();if(t)for(var a=null!=(n=this.getExportValues())?n:[],o=0,s=a.length;o<s;o++)a[o].decodeText()===i&&(r=o);var l=this.Opt();return l.push(e),null!=r?r:l.size()-1},t.prototype.addWidgetWithOpt=function(e,t,n){var r=this.addOpt(t,n),i=l7.of(String(r));return this.addWidget(e),i},t}(cs),cu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.setValue=function(e){if(e!==(null!=(t=this.getOnValue())?t:l7.of("Yes"))&&e!==l7.of("Off"))throw new l_;this.dict.set(l7.of("V"),e);for(var t,n=this.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r],o=a.getOnValue()===e?e:l7.of("Off");a.setAppearanceState(o)}},t.prototype.getValue=function(){var e=this.V();return e instanceof l7?e:l7.of("Off")},t.prototype.getOnValue=function(){var e=this.getWidgets()[0];return null==e?void 0:e.getOnValue()},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Kids:[]}),r=e.register(n);return new t(n,r)},t}(cl),cc=function(e){return 1<<e};!function(e){e[e.ReadOnly=cc(0)]="ReadOnly",e[e.Required=cc(1)]="Required",e[e.NoExport=cc(2)]="NoExport"}(A||(A={})),function(e){e[e.NoToggleToOff=cc(14)]="NoToggleToOff",e[e.Radio=cc(15)]="Radio",e[e.PushButton=cc(16)]="PushButton",e[e.RadiosInUnison=cc(25)]="RadiosInUnison"}(k||(k={})),function(e){e[e.Multiline=cc(12)]="Multiline",e[e.Password=cc(13)]="Password",e[e.FileSelect=cc(20)]="FileSelect",e[e.DoNotSpellCheck=cc(22)]="DoNotSpellCheck",e[e.DoNotScroll=cc(23)]="DoNotScroll",e[e.Comb=cc(24)]="Comb",e[e.RichText=cc(25)]="RichText"}(N||(N={})),function(e){e[e.Combo=cc(17)]="Combo",e[e.Edit=cc(18)]="Edit",e[e.Sort=cc(19)]="Sort",e[e.MultiSelect=cc(21)]="MultiSelect",e[e.DoNotSpellCheck=cc(22)]="DoNotSpellCheck",e[e.CommitOnSelChange=cc(26)]="CommitOnSelChange"}(P||(P={}));var cd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.setValues=function(e){if(this.hasFlag(P.Combo)&&!this.hasFlag(P.Edit)&&!this.valuesAreValid(e))throw new l_;if(0===e.length&&this.dict.delete(l7.of("V")),1===e.length&&this.dict.set(l7.of("V"),e[0]),e.length>1){if(!this.hasFlag(P.MultiSelect))throw new lR;this.dict.set(l7.of("V"),this.dict.context.obj(e))}this.updateSelectedIndices(e)},t.prototype.valuesAreValid=function(e){for(var t=this.getOptions(),n=0,r=e.length;n<r;n++){var i=function(n,r){var i=e[n].decodeText();if(!t.find(function(e){return i===(e.display||e.value).decodeText()}))return{value:!1}}(n,0);if("object"==typeof i)return i.value}return!0},t.prototype.updateSelectedIndices=function(e){if(e.length>1){for(var t=Array(e.length),n=this.getOptions(),r=0,i=e.length;r<i;r++)!function(r,i){var a=e[r].decodeText();t[r]=n.findIndex(function(e){return a===(e.display||e.value).decodeText()})}(r,0);this.dict.set(l7.of("I"),this.dict.context.obj(t.sort()))}else this.dict.delete(l7.of("I"))},t.prototype.getValues=function(){var e=this.V();if(e instanceof uM||e instanceof uS)return[e];if(e instanceof l0){for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);(i instanceof uM||i instanceof uS)&&t.push(i)}return t}return[]},t.prototype.Opt=function(){return this.dict.lookupMaybe(l7.of("Opt"),uM,uS,l0)},t.prototype.setOptions=function(e){for(var t=Array(e.length),n=0,r=e.length;n<r;n++){var i=e[n],a=i.value,o=i.display;t[n]=this.dict.context.obj([a,o||a])}this.dict.set(l7.of("Opt"),this.dict.context.obj(t))},t.prototype.getOptions=function(){var e=this.Opt();if(e instanceof uM||e instanceof uS)return[{value:e,display:e}];if(e instanceof l0){for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);
1if((i instanceof uM||i instanceof uS)&&t.push({value:i,display:i}),i instanceof l0&&i.size()>0){var a=i.lookup(0,uM,uS),o=i.lookupMaybe(1,uM,uS);t.push({value:a,display:o||a})}}return t}return[]},t}(cs),ch=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Ch",Ff:P.Combo,Kids:[]}),r=e.register(n);return new t(n,r)},t}(cd),cf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.addField=function(e){var t=this.normalizedEntries().Kids;null==t||t.push(e)},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([]),this.dict.set(l7.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({}),r=e.register(n);return new t(n,r)},t}(cn),cp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.fromDict=function(e,n){return new t(e,n)},t}(cs),cm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.MaxLen=function(){var e=this.dict.lookup(l7.of("MaxLen"));if(e instanceof lJ)return e},t.prototype.Q=function(){var e=this.dict.lookup(l7.of("Q"));if(e instanceof lJ)return e},t.prototype.setMaxLength=function(e){this.dict.set(l7.of("MaxLen"),lJ.of(e))},t.prototype.removeMaxLength=function(){this.dict.delete(l7.of("MaxLen"))},t.prototype.getMaxLength=function(){var e;return null==(e=this.MaxLen())?void 0:e.asNumber()},t.prototype.setQuadding=function(e){this.dict.set(l7.of("Q"),lJ.of(e))},t.prototype.getQuadding=function(){var e;return null==(e=this.Q())?void 0:e.asNumber()},t.prototype.setValue=function(e){this.dict.set(l7.of("V"),e)},t.prototype.removeValue=function(){this.dict.delete(l7.of("V"))},t.prototype.getValue=function(){var e=this.V();if(e instanceof uM||e instanceof uS)return e},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Tx",Kids:[]}),r=e.register(n);return new t(n,r)},t}(cs),cg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Ff:k.PushButton,Kids:[]}),r=e.register(n);return new t(n,r)},t}(cl),cv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.setValue=function(e){if(!this.getOnValues().includes(e)&&e!==l7.of("Off"))throw new l_;this.dict.set(l7.of("V"),e);for(var t=this.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.getOnValue()===e?e:l7.of("Off");i.setAppearanceState(a)}},t.prototype.getValue=function(){var e=this.V();return e instanceof l7?e:l7.of("Off")},t.prototype.getOnValues=function(){for(var e=this.getWidgets(),t=[],n=0,r=e.length;n<r;n++){var i=e[n].getOnValue();i&&t.push(i)}return t},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Ff:k.Radio,Kids:[]}),r=e.register(n);return new t(n,r)},t}(cl),cy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Ch",Kids:[]}),r=e.register(n);return new t(n,r)},t}(cd),cb=function(e){if(!e)return[];for(var t=[],n=0,r=e.size();n<r;n++){var i=e.get(n),a=e.lookup(n);i instanceof uo&&a instanceof ut&&t.push([cw(a,i),i])}return t},cw=function(e,t){return cx(e)?cf.fromDict(e,t):cC(e,t)},cx=function(e){var t=e.lookup(l7.of("Kids"));if(t instanceof l0)for(var n=0,r=t.size();n<r;n++){var i=t.lookup(n);if(i instanceof ut&&i.has(l7.of("T")))return!0}return!1},cC=function(e,t){var n=ck(e,l7.of("FT")),r=e.context.lookup(n,l7);return r===l7.of("Btn")?cE(e,t):r===l7.of("Ch")?cS(e,t):r===l7.of("Tx")?cm.fromDict(e,t):r===l7.of("Sig")?cp.fromDict(e,t):cs.fromDict(e,t)},cE=function(e,t){var n,r=ck(e,l7.of("Ff")),i=e.context.lookupMaybe(r,lJ),a=null!=(n=null==i?void 0:i.asNumber())?n:0;return cA(a,k.PushButton)?cg.fromDict(e,t):cA(a,k.Radio)?cv.fromDict(e,t):cu.fromDict(e,t)},cS=function(e,t){var n,r=ck(e,l7.of("Ff")),i=e.context.lookupMaybe(r,lJ);return cA(null!=(n=null==i?void 0:i.asNumber())?n:0,P.Combo)?ch.fromDict(e,t):cy.fromDict(e,t)},cA=function(e,t){return(e&t)!=0},ck=function(e,t){var n;return cN(e,function(e){n||(n=e.get(t))}),n},cN=function(e,t){t(e);var n=e.lookupMaybe(l7.of("Parent"),ut);n&&cN(n,t)},cP=function(){function e(e){this.dict=e}return e.prototype.Fields=function(){var e=this.dict.lookup(l7.of("Fields"));if(e instanceof l0)return e},e.prototype.getFields=function(){for(var e=this.normalizedEntries().Fields,t=Array(e.size()),n=0,r=e.size();n<r;n++){var i=e.get(n),a=e.lookup(n,ut);t[n]=[cw(a,i),i]}return t},e.prototype.getAllFields=function(){var e=[],t=function(n){if(n)for(var r=0,i=n.length;r<i;r++){var a=n[r];e.push(a);var o=a[0];o instanceof cf&&t(cb(o.Kids()))}};return t(this.getFields()),e},e.prototype.addField=function(e){var t=this.normalizedEntries().Fields;null==t||t.push(e)},e.prototype.removeField=function(e){var t=e.getParent(),n=void 0===t?this.normalizedEntries().Fields:t.Kids(),r=null==n?void 0:n.indexOf(e.ref);if(void 0===n||void 0===r)throw Error("Tried to remove inexistent field "+e.getFullyQualifiedName());n.remove(r),void 0!==t&&0===n.size()&&this.removeField(t)},e.prototype.normalizedEntries=function(){var e=this.Fields();return e||(e=this.dict.context.obj([]),this.dict.set(l7.of("Fields"),e)),{Fields:e}},e.fromDict=function(t){return new e(t)},e.create=function(t){return new e(t.obj({Fields:[]}))},e}(),cI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.Pages=function(){return this.lookup(l7.of("Pages"),ut)},t.prototype.AcroForm=function(){return this.lookupMaybe(l7.of("AcroForm"),ut)},t.prototype.getAcroForm=function(){var e=this.AcroForm();if(e)return cP.fromDict(e)},t.prototype.getOrCreateAcroForm=function(){var e=this.getAcroForm();if(!e){e=cP.create(this.context);var t=this.context.register(e.dict);this.set(l7.of("AcroForm"),t)}return e},t.prototype.ViewerPreferences=function(){return this.lookupMaybe(l7.of("ViewerPreferences"),ut)},t.prototype.getViewerPreferences=function(){var e=this.ViewerPreferences();if(e)return ce.fromDict(e)},t.prototype.getOrCreateViewerPreferences=function(){var e=this.getViewerPreferences();if(!e){e=ce.create(this.context);var t=this.context.register(e.dict);this.set(l7.of("ViewerPreferences"),t)}return e},t.prototype.insertLeafNode=function(e,t){var n=this.get(l7.of("Pages"));return this.Pages().insertLeafNode(e,t)||n},t.prototype.removeLeafNode=function(e){this.Pages().removeLeafNode(e)},t.withContextAndPages=function(e,n){var r=new Map;return r.set(l7.of("Type"),l7.of("Catalog")),r.set(l7.of("Pages"),n),new t(r,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(ut),cT=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o1(t,e),t.prototype.Parent=function(){return this.lookup(l7.of("Parent"))},t.prototype.Kids=function(){return this.lookup(l7.of("Kids"),l0)},t.prototype.Count=function(){return this.lookup(l7.of("Count"),lJ)},t.prototype.pushTreeNode=function(e){this.Kids().push(e)},t.prototype.pushLeafNode=function(e){var t=this.Kids();this.insertLeafKid(t.size(),e)},t.prototype.insertLeafNode=function(e,n){var r=this.Kids(),i=this.Count().asNumber();if(n>i)throw new lM(n,i);for(var a=n,o=0,s=r.size();o<s;o++){if(0===a)return void this.insertLeafKid(o,e);var l=r.get(o),u=this.context.lookup(l);if(u instanceof t)if(u.Count().asNumber()>a)return u.insertLeafNode(e,a)||l;else a-=u.Count().asNumber();u instanceof up&&(a-=1)}if(0===a)return void this.insertLeafKid(r.size(),e);throw new lD(n,"insertLeafNode")},t.prototype.removeLeafNode=function(e,n){void 0===n&&(n=!0);var r=this.Kids(),i=this.Count().asNumber();if(e>=i)throw new lM(e,i);for(var a=e,o=0,s=r.size();o<s;o++){var l=r.get(o),u=this.context.lookup(l);if(u instanceof t)if(u.Count().asNumber()>a){u.removeLeafNode(a,n),n&&0===u.Kids().size()&&r.remove(o);return}else a-=u.Count().asNumber();if(u instanceof up)if(0===a)return void this.removeKid(o);else a-=1}throw new lD(e,"removeLeafNode")},t.prototype.ascend=function(e){e(this);var t=this.Parent();t&&t.ascend(e)},t.prototype.traverse=function(e){for(var n=this.Kids(),r=0,i=n.size();r<i;r++){var a=n.get(r),o=this.context.lookup(a);o instanceof t&&o.traverse(e),e(o,a)}},t.prototype.insertLeafKid=function(e,t){var n=this.Kids();this.ascend(function(e){var t=e.Count().asNumber()+1;
vendor: 10,901 bytes, line 1
1e.set(l7.of("Count"),lJ.of(t))}),n.insert(e,t)},t.prototype.removeKid=function(e){var t=this.Kids();t.lookup(e)instanceof up&&this.ascend(function(e){var t=e.Count().asNumber()-1;e.set(l7.of("Count"),lJ.of(t))}),t.remove(e)},t.withContext=function(e,n){var r=new Map;return r.set(l7.of("Type"),l7.of("Pages")),r.set(l7.of("Kids"),e.obj([])),r.set(l7.of("Count"),e.obj(0)),n&&r.set(l7.of("Parent"),n),new t(r,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(ut),cO=new Uint8Array(256);cO[lY.Zero]=1,cO[lY.One]=1,cO[lY.Two]=1,cO[lY.Three]=1,cO[lY.Four]=1,cO[lY.Five]=1,cO[lY.Six]=1,cO[lY.Seven]=1,cO[lY.Eight]=1,cO[lY.Nine]=1;var cL=new Uint8Array(256);cL[lY.Period]=1,cL[lY.Plus]=1,cL[lY.Minus]=1;for(var cM=new Uint8Array(256),cD=0;cD<256;cD++)cM[cD]=cO[cD]||cL[cD]?1:0;var cj=lY.Newline,c_=lY.CarriageReturn,cR=function(){function e(e,t){void 0===t&&(t=!1),this.bytes=e,this.capNumbers=t}return e.prototype.parseRawInt=function(){for(var e="";!this.bytes.done()&&cO[this.bytes.peek()];)e+=so(this.bytes.next());var t=Number(e);if(!e||!isFinite(t))throw new lB(this.bytes.position(),e);return t},e.prototype.parseRawNumber=function(){for(var e="";!this.bytes.done();){var t=this.bytes.peek();if(!cM[t]||(e+=so(this.bytes.next()),t===lY.Period))break}for(;!this.bytes.done();){var t=this.bytes.peek();if(!cO[t])break;e+=so(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new lB(this.bytes.position(),e);if(n>Number.MAX_SAFE_INTEGER)if(this.capNumbers){var r="Parsed number that is too large for some PDF readers: "+e+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(r),Number.MAX_SAFE_INTEGER}else{var r="Parsed number that is too large for some PDF readers: "+e+", not capping.";console.warn(r)}return n},e.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&l4[this.bytes.peek()];)this.bytes.next()},e.prototype.skipLine=function(){for(;!this.bytes.done();){var e=this.bytes.peek();if(e===cj||e===c_)return;this.bytes.next()}},e.prototype.skipComment=function(){if(this.bytes.peek()!==lY.Percent)return!1;for(;!this.bytes.done();){var e=this.bytes.peek();if(e===cj||e===c_)break;this.bytes.next()}return!0},e.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},e.prototype.matchKeyword=function(e){for(var t=this.bytes.offset(),n=0,r=e.length;n<r;n++)if(this.bytes.done()||this.bytes.next()!==e[n])return this.bytes.moveTo(t),!1;return!0},e}(),cF=function(){function e(e){this.idx=0,this.line=0,this.column=0,this.bytes=e,this.length=this.bytes.length}return e.prototype.moveTo=function(e){this.idx=e},e.prototype.next=function(){var e=this.bytes[this.idx++];return e===lY.Newline?(this.line+=1,this.column=0):this.column+=1,e},e.prototype.assertNext=function(e){if(this.peek()!==e)throw new lU(this.position(),e,this.peek());return this.next()},e.prototype.peek=function(){return this.bytes[this.idx]},e.prototype.peekAhead=function(e){return this.bytes[this.idx+e]},e.prototype.peekAt=function(e){return this.bytes[e]},e.prototype.done=function(){return this.idx>=this.length},e.prototype.offset=function(){return this.idx},e.prototype.slice=function(e,t){return this.bytes.slice(e,t)},e.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},e.of=function(t){return new e(t)},e.fromPDFRawStream=function(t){return e.of(u6(t).decode())},e}(),cz=lY.Space,cB=lY.CarriageReturn,cV=lY.Newline,cU=[lY.s,lY.t,lY.r,lY.e,lY.a,lY.m],cq=[lY.e,lY.n,lY.d,lY.s,lY.t,lY.r,lY.e,lY.a,lY.m],cH={header:[lY.Percent,lY.P,lY.D,lY.F,lY.Dash],eof:[lY.Percent,lY.Percent,lY.E,lY.O,lY.F],obj:[lY.o,lY.b,lY.j],endobj:[lY.e,lY.n,lY.d,lY.o,lY.b,lY.j],xref:[lY.x,lY.r,lY.e,lY.f],trailer:[lY.t,lY.r,lY.a,lY.i,lY.l,lY.e,lY.r],startxref:[lY.s,lY.t,lY.a,lY.r,lY.t,lY.x,lY.r,lY.e,lY.f],true:[lY.t,lY.r,lY.u,lY.e],false:[lY.f,lY.a,lY.l,lY.s,lY.e],null:[lY.n,lY.u,lY.l,lY.l],stream:cU,streamEOF1:o3(cU,[cz,cB,cV]),streamEOF2:o3(cU,[cB,cV]),streamEOF3:o3(cU,[cB]),streamEOF4:o3(cU,[cV]),endstream:cq,EOF1endstream:o3([cB,cV],cq),EOF2endstream:o3([cB],cq),EOF3endstream:o3([cV],cq)},cZ=function(e){function t(t,n,r){void 0===r&&(r=!1);var i=e.call(this,t,r)||this;return i.context=n,i}return o1(t,e),t.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(cH.true))return l2.True;if(this.matchKeyword(cH.false))return l2.False;if(this.matchKeyword(cH.null))return ue;var e=this.bytes.peek();if(e===lY.LessThan&&this.bytes.peekAhead(1)===lY.LessThan)return this.parseDictOrStream();if(e===lY.LessThan)return this.parseHexString();if(e===lY.LeftParen)return this.parseString();if(e===lY.ForwardSlash)return this.parseName();if(e===lY.LeftSquareBracket)return this.parseArray();if(cM[e])return this.parseNumberOrRef();throw new lq(this.bytes.position(),e)},t.prototype.parseNumberOrRef=function(){var e=this.parseRawNumber();this.skipWhitespaceAndComments();var t=this.bytes.offset();if(cO[this.bytes.peek()]){var n=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===lY.R)return this.bytes.assertNext(lY.R),uo.of(e,n)}return this.bytes.moveTo(t),lJ.of(e)},t.prototype.parseHexString=function(){var e="";for(this.bytes.assertNext(lY.LessThan);!this.bytes.done()&&this.bytes.peek()!==lY.GreaterThan;)e+=so(this.bytes.next());return this.bytes.assertNext(lY.GreaterThan),uS.of(e)},t.prototype.parseString=function(){for(var e=0,t=!1,n="";!this.bytes.done();){var r=this.bytes.next();if(n+=so(r),t||(r===lY.LeftParen&&(e+=1),r===lY.RightParen&&(e-=1)),r===lY.BackSlash?t=!t:t&&(t=!1),0===e)return uM.of(n.substring(1,n.length-1))}throw new lW(this.bytes.position())},t.prototype.parseName=function(){this.bytes.assertNext(lY.ForwardSlash);for(var e="";!this.bytes.done();){var t=this.bytes.peek();if(l4[t]||l5[t])break;e+=so(t),this.bytes.next()}return l7.of(e)},t.prototype.parseArray=function(){this.bytes.assertNext(lY.LeftSquareBracket),this.skipWhitespaceAndComments();for(var e=l0.withContext(this.context);this.bytes.peek()!==lY.RightSquareBracket;){var t=this.parseObject();e.push(t),this.skipWhitespaceAndComments()}return this.bytes.assertNext(lY.RightSquareBracket),e},t.prototype.parseDict=function(){this.bytes.assertNext(lY.LessThan),this.bytes.assertNext(lY.LessThan),this.skipWhitespaceAndComments();for(var e=new Map;!this.bytes.done()&&this.bytes.peek()!==lY.GreaterThan&&this.bytes.peekAhead(1)!==lY.GreaterThan;){var t=this.parseName(),n=this.parseObject();e.set(t,n),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(lY.GreaterThan),this.bytes.assertNext(lY.GreaterThan);var r=e.get(l7.of("Type"));return r===l7.of("Catalog")?cI.fromMapWithContext(e,this.context):r===l7.of("Pages")?cT.fromMapWithContext(e,this.context):r===l7.of("Page")?up.fromMapWithContext(e,this.context):ut.fromMapWithContext(e,this.context)},t.prototype.parseDictOrStream=function(){var e,t=this.bytes.position(),n=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(cH.streamEOF1)&&!this.matchKeyword(cH.streamEOF2)&&!this.matchKeyword(cH.streamEOF3)&&!this.matchKeyword(cH.streamEOF4)&&!this.matchKeyword(cH.stream))return n;var r=this.bytes.offset(),i=n.get(l7.of("Length"));i instanceof lJ?(e=r+i.asNumber(),this.bytes.moveTo(e),this.skipWhitespaceAndComments(),this.matchKeyword(cH.endstream)||(this.bytes.moveTo(r),e=this.findEndOfStreamFallback(t))):e=this.findEndOfStreamFallback(t);var a=this.bytes.slice(r,e);return ur.of(n,a)},t.prototype.findEndOfStreamFallback=function(e){for(var t=1,n=this.bytes.offset();!this.bytes.done()&&(n=this.bytes.offset(),this.matchKeyword(cH.stream)?t+=1:this.matchKeyword(cH.EOF1endstream)||this.matchKeyword(cH.EOF2endstream)||this.matchKeyword(cH.EOF3endstream)||this.matchKeyword(cH.endstream)?t-=1:this.bytes.next(),0!==t););if(0!==t)throw new lZ(e);return n},t.forBytes=function(e,n,r){return new t(cF.of(e),n,r)},t.forByteStream=function(e,n,r){return void 0===r&&(r=!1),new t(e,n,r)},t}(cR),cW=function(e){function t(t,n){var r=e.call(this,cF.fromPDFRawStream(t),t.dict.context)||this,i=t.dict;return r.alreadyParsed=!1,r.shouldWaitForTick=n||function(){return!1},r.firstOffset=i.lookup(l7.of("First"),lJ).asNumber(),r.objectCount=i.lookup(l7.of("N"),lJ).asNumber(),r}return o1(t,e),t.prototype.parseIntoContext=function(){return o5(this,void 0,void 0,function(){var e,t,n,r,i,a,o,s;return o4(this,function(l){switch(l.label){case 0:if(this.alreadyParsed)throw new lN("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,e=this.parseOffsetsAndObjectNumbers(),t=0,n=e.length,l.label=1;case 1:if(!(t<n))return[3,4];if(i=(r=e[t]).objectNumber,a=r.offset,this.bytes.moveTo(this.firstOffset+a),o=this.parseObject(),s=uo.of(i,0),this.context.assign(s,o),!this.shouldWaitForTick())return[3,3];return[4,sM()];case 2:l.sent(),l.label=3;case 3:return t++,[3,1];case 4:return[2]}})})},t.prototype.parseOffsetsAndObjectNumbers=function(){for(var e=[],t=0,n=this.objectCount;t<n;t++){this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var i=this.parseRawInt();e.push({objectNumber:r,offset:i})}return e},t.forStream=function(e,n){return new t(e,n)},t}(cZ),cG=function(){function e(e){this.alreadyParsed=!1,this.dict=e.dict,this.bytes=cF.fromPDFRawStream(e),this.context=this.dict.context;var t=this.dict.lookup(l7.of("Size"),lJ),n=this.dict.lookup(l7.of("Index"));if(n instanceof l0){this.subsections=[];for(var r=0,i=n.size();r<i;r+=2){var a=n.lookup(r+0,lJ).asNumber(),o=n.lookup(r+1,lJ).asNumber();this.subsections.push({firstObjectNumber:a,length:o})}}else this.subsections=[{firstObjectNumber:0,length:t.asNumber()}];var s=this.dict.lookup(l7.of("W"),l0);this.byteWidths=[-1,-1,-1];for(var r=0,i=s.size();r<i;r++)this.byteWidths[r]=s.lookup(r,lJ).asNumber()}return e.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new lN("PDFXRefStreamParser","parseIntoContext");return this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(l7.of("Root")),Encrypt:this.dict.get(l7.of("Encrypt")),Info:this.dict.get(l7.of("Info")),ID:this.dict.get(l7.of("ID"))},this.parseEntries()},e.prototype.parseEntries=function(){for(var e=[],t=this.byteWidths,n=t[0],r=t[1],i=t[2],a=0,o=this.subsections.length;a<o;a++)for(var s=this.subsections[a],l=s.firstObjectNumber,u=s.length,c=0;c<u;c++){for(var d=0,h=0,f=n;h<f;h++)d=d<<8|this.bytes.next();for(var p=0,h=0,f=r;h<f;h++)p=p<<8|this.bytes.next();for(var m=0,h=0,f=i;h<f;h++)m=m<<8|this.bytes.next();0===n&&(d=1);var g=l+c,v={ref:uo.of(g,m),offset:p,deleted:0===d,inObjectStream:2===d};e.push(v)}return e},e.forStream=function(t){return new e(t)},e}(),c$=function(e){function t(t,n,r,i){void 0===n&&(n=1/0),void 0===r&&(r=!1),void 0===i&&(i=!1);var a=e.call(this,cF.of(t),uf.create(),i)||this;return a.alreadyParsed=!1,a.parsedObjects=0,a.shouldWaitForTick=function(){return a.parsedObjects+=1,a.parsedObjects%a.objectsPerTick==0}
1,a.objectsPerTick=n,a.throwOnInvalidObject=r,a}return o1(t,e),t.prototype.parseDocument=function(){return o5(this,void 0,void 0,function(){var e,t;return o4(this,function(n){switch(n.label){case 0:if(this.alreadyParsed)throw new lN("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),n.label=1;case 1:if(this.bytes.done())return[3,3];return[4,this.parseDocumentSection()];case 2:if(n.sent(),(t=this.bytes.offset())===e)throw new lG(this.bytes.position());return e=t,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(uo.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(uo.of(0))),[2,this.context]}})})},t.prototype.maybeRecoverRoot=function(){var e=function(e){return e instanceof ut&&e.lookup(l7.of("Type"))===l7.of("Catalog")};if(!e(this.context.lookup(this.context.trailerInfo.Root)))for(var t=this.context.enumerateIndirectObjects(),n=0,r=t.length;n<r;n++){var i=t[n],a=i[0];e(i[1])&&(this.context.trailerInfo.Root=a)}},t.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(cH.header)){var e=this.parseRawInt();this.bytes.assertNext(lY.Period);var t=this.parseRawInt(),n=lX.forVersion(e,t);return this.skipBinaryHeaderComment(),n}this.bytes.next()}throw new l$(this.bytes.position())},t.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var e=this.parseRawInt();this.skipWhitespaceAndComments();var t=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(cH.obj))throw new lK(this.bytes.position(),cH.obj);return uo.of(e,t)},t.prototype.matchIndirectObjectHeader=function(){var e=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch(t){return this.bytes.moveTo(e),!1}},t.prototype.parseIndirectObject=function(){return o5(this,void 0,void 0,function(){var e,t;return o4(this,function(n){switch(n.label){case 0:if(e=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),t=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(cH.endobj),!(t instanceof ur&&t.dict.lookup(l7.of("Type"))===l7.of("ObjStm")))return[3,2];return[4,cW.forStream(t,this.shouldWaitForTick).parseIntoContext()];case 1:return n.sent(),[3,3];case 2:t instanceof ur&&t.dict.lookup(l7.of("Type"))===l7.of("XRef")?cG.forStream(t).parseIntoContext():this.context.assign(e,t),n.label=3;case 3:return[2,e]}})})},t.prototype.tryToParseInvalidIndirectObject=function(){var e=this.bytes.position(),t="Trying to parse invalid object: "+JSON.stringify(e)+")";if(this.throwOnInvalidObject)throw Error(t);console.warn(t);var n=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+n),this.skipWhitespaceAndComments();for(var r=this.bytes.offset(),i=!0;!this.bytes.done()&&(this.matchKeyword(cH.endobj)&&(i=!1),i);)this.bytes.next();if(i)throw new lH(e);var a=this.bytes.offset()-cH.endobj.length,o=ux.of(this.bytes.slice(r,a));return this.context.assign(n,o),n},t.prototype.parseIndirectObjects=function(){return o5(this,void 0,void 0,function(){var e;return o4(this,function(t){switch(t.label){case 0:this.skipWhitespaceAndComments(),t.label=1;case 1:if(!(!this.bytes.done()&&cO[this.bytes.peek()]))return[3,8];e=this.bytes.offset(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return t.sent(),[3,5];case 4:return t.sent(),this.bytes.moveTo(e),this.tryToParseInvalidIndirectObject(),[3,5];case 5:if(this.skipWhitespaceAndComments(),this.skipJibberish(),!this.shouldWaitForTick())return[3,7];return[4,sM()];case 6:t.sent(),t.label=7;case 7:return[3,1];case 8:return[2]}})})},t.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(cH.xref)){this.skipWhitespaceAndComments();for(var e=-1,t=ug.createEmpty();!this.bytes.done()&&cO[this.bytes.peek()];){var n=this.parseRawInt();this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var i=this.bytes.peek();if(i===lY.n||i===lY.f){var a=uo.of(e,r);this.bytes.next()===lY.n?t.addEntry(a,n):t.addDeletedEntry(a,n),e+=1}else e=n;this.skipWhitespaceAndComments()}return t}},t.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(cH.trailer)){this.skipWhitespaceAndComments();var e=this.parseDict(),t=this.context;t.trailerInfo={Root:e.get(l7.of("Root"))||t.trailerInfo.Root,Encrypt:e.get(l7.of("Encrypt"))||t.trailerInfo.Encrypt,Info:e.get(l7.of("Info"))||t.trailerInfo.Info,ID:e.get(l7.of("ID"))||t.trailerInfo.ID}}},t.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(cH.startxref)){this.skipWhitespaceAndComments();var e=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(cH.eof),this.skipWhitespaceAndComments(),this.matchKeyword(cH.eof),this.skipWhitespaceAndComments(),uv.forLastCrossRefSectionOffset(e)}},t.prototype.parseDocumentSection=function(){return o5(this,void 0,void 0,function(){return o4(this,function(e){switch(e.label){case 0:return[4,this.parseIndirectObjects()];case 1:return e.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},t.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var e=this.bytes.offset(),t=this.bytes.peek();if(t>=lY.Space&&t<=lY.Tilde&&(this.matchKeyword(cH.xref)||this.matchKeyword(cH.trailer)||this.matchKeyword(cH.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(e);break}this.bytes.next()}},t.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var e=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(e)}catch(e){this.bytes.next(),this.skipWhitespaceAndComments()}},t.forBytesWithOptions=function(e,n,r,i){return new t(e,n,r,i)},t}(cZ),cK=function(e){return 1<<e};!function(e){e[e.Invisible=cK(0)]="Invisible",e[e.Hidden=cK(1)]="Hidden",e[e.Print=cK(2)]="Print",e[e.NoZoom=cK(3)]="NoZoom",e[e.NoRotate=cK(4)]="NoRotate",e[e.NoView=cK(5)]="NoView",e[e.ReadOnly=cK(6)]="ReadOnly",e[e.Locked=cK(7)]="Locked",e[e.ToggleNoView=cK(8)]="ToggleNoView",e[e.LockedContents=cK(9)]="LockedContents"}(I||(I={}));var cY=function(e){return e instanceof l7?e:l7.of(e)},cX=function(e){return e instanceof lJ?e:lJ.of(e)},cQ=function(e){return e instanceof lJ?e.asNumber():e};!function(e){e.Degrees="degrees",e.Radians="radians"}(T||(T={}));
1var cJ=function(e){return ld(e,"degreeAngle",["number"]),{type:T.Degrees,angle:e}},c0=T.Radians,c1=T.Degrees,c2=function(e){return e*Math.PI/180},c5=function(e){return e.type===c0?e.angle:e.type===c1?c2(e.angle):s$("Invalid rotation: "+JSON.stringify(e))},c4=function(e){return e.type===c0?180*e.angle/Math.PI:e.type===c1?e.angle:s$("Invalid rotation: "+JSON.stringify(e))},c3=function(e){void 0===e&&(e=0);var t=e/90%4;return 0===t?0:1===t?90:2===t?180:270*(3===t)},c6=function(e,t){void 0===t&&(t=0);var n=c3(t);return 90===n||270===n?{width:e.height,height:e.width}:{width:e.width,height:e.height}},c8=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=0);var r=e.x,i=e.y,a=e.width,o=e.height,s=c3(n),l=t/2;return 0===s?{x:r-l,y:i-l,width:a,height:o}:90===s?{x:r-o+l,y:i-l,width:o,height:a}:180===s?{x:r-a+l,y:i-o+l,width:a,height:o}:270===s?{x:r-l,y:i-a+l,width:o,height:a}:{x:r-l,y:i-l,width:a,height:o}},c9=function(){return us.of(ul.ClipNonZero)},c7=Math.cos,de=Math.sin,dt=Math.tan,dn=function(e,t,n,r,i,a){return us.of(ul.ConcatTransformationMatrix,[cX(e),cX(t),cX(n),cX(r),cX(i),cX(a)])},dr=function(e,t){return dn(1,0,0,1,e,t)},di=function(e,t){return dn(e,0,0,t,0,0)},da=function(e){return dn(c7(cQ(e)),de(cQ(e)),-de(cQ(e)),c7(cQ(e)),0,0)},ds=function(e){return da(c2(cQ(e)))},dl=function(e,t){return dn(1,dt(cQ(e)),dt(cQ(t)),1,0,0)},du=function(e,t){return us.of(ul.SetLineDashPattern,["["+e.map(cX).join(" ")+"]",cX(t)])};!function(e){e[e.Butt=0]="Butt",e[e.Round=1]="Round",e[e.Projecting=2]="Projecting"}(O||(O={}));var dc=function(e){return us.of(ul.SetLineCapStyle,[cX(e)])};!function(e){e[e.Miter=0]="Miter",e[e.Round=1]="Round",e[e.Bevel=2]="Bevel"}(L||(L={}));var dd=function(e){return us.of(ul.SetGraphicsStateParams,[cY(e)])},dh=function(){return us.of(ul.PushGraphicsState)},df=function(){return us.of(ul.PopGraphicsState)},dp=function(e){return us.of(ul.SetLineWidth,[cX(e)])},dm=function(e,t,n,r,i,a){return us.of(ul.AppendBezierCurve,[cX(e),cX(t),cX(n),cX(r),cX(i),cX(a)])},dg=function(e,t,n,r){return us.of(ul.CurveToReplicateInitialPoint,[cX(e),cX(t),cX(n),cX(r)])},dv=function(){return us.of(ul.ClosePath)},dy=function(e,t){return us.of(ul.MoveTo,[cX(e),cX(t)])},db=function(e,t){return us.of(ul.LineTo,[cX(e),cX(t)])},dw=function(){return us.of(ul.StrokePath)},dx=function(){return us.of(ul.FillNonZero)},dC=function(){return us.of(ul.FillNonZeroAndStroke)},dE=function(){return us.of(ul.EndPath)},dS=function(e){return us.of(ul.ShowText,[e])},dA=function(){return us.of(ul.BeginText)},dk=function(){return us.of(ul.EndText)},dN=function(e,t){return us.of(ul.SetFontAndSize,[cY(e),cX(t)])};!function(e){e[e.Fill=0]="Fill",e[e.Outline=1]="Outline",e[e.FillAndOutline=2]="FillAndOutline",e[e.Invisible=3]="Invisible",e[e.FillAndClip=4]="FillAndClip",e[e.OutlineAndClip=5]="OutlineAndClip",e[e.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",e[e.Clip=7]="Clip"}(M||(M={}));var dP=function(e,t,n,r,i){var a,o,s,l;return a=c7(cQ(e)),o=de(cQ(e))+dt(cQ(t)),s=-de(cQ(e))+dt(cQ(n)),l=c7(cQ(e)),us.of(ul.SetTextMatrix,[cX(a),cX(o),cX(s),cX(l),cX(r),cX(i)])},dI=function(e){return us.of(ul.DrawObject,[cY(e)])},dT=function(e){return us.of(ul.BeginMarkedContent,[cY(e)])},dO=function(){return us.of(ul.EndMarkedContent)};!function(e){e.Grayscale="Grayscale",e.RGB="RGB",e.CMYK="CMYK"}(D||(D={}));var dL=function(e){return lp(e,"gray",0,1),{type:D.Grayscale,gray:e}},dM=function(e,t,n){return lp(e,"red",0,1),lp(t,"green",0,1),lp(n,"blue",0,1),{type:D.RGB,red:e,green:t,blue:n}},dD=function(e,t,n,r){return lp(e,"cyan",0,1),lp(t,"magenta",0,1),lp(n,"yellow",0,1),lp(r,"key",0,1),{type:D.CMYK,cyan:e,magenta:t,yellow:n,key:r}},dj=D.Grayscale,d_=D.RGB,dR=D.CMYK,dF=function(e){var t,n,r,i,a,o,s,l;return e.type===dj?(t=e.gray,us.of(ul.NonStrokingColorGray,[cX(t)])):e.type===d_?(n=e.red,r=e.green,i=e.blue,us.of(ul.NonStrokingColorRgb,[cX(n),cX(r),cX(i)])):e.type===dR?(a=e.cyan,o=e.magenta,s=e.yellow,l=e.key,us.of(ul.NonStrokingColorCmyk,[cX(a),cX(o),cX(s),cX(l)])):s$("Invalid color: "+JSON.stringify(e))},dz=function(e){var t,n,r,i,a,o,s,l;return e.type===dj?(t=e.gray,us.of(ul.StrokingColorGray,[cX(t)])):e.type===d_?(n=e.red,r=e.green,i=e.blue,us.of(ul.StrokingColorRgb,[cX(n),cX(r),cX(i)])):e.type===dR?(a=e.cyan,o=e.magenta,s=e.yellow,l=e.key,us.of(ul.StrokingColorCmyk,[cX(a),cX(o),cX(s),cX(l)])):s$("Invalid color: "+JSON.stringify(e))},dB=function(e,t){return void 0===t&&(t=1),(null==e?void 0:e.length)===1?dL(e[0]*t):(null==e?void 0:e.length)===3?dM(e[0]*t,e[1]*t,e[2]*t):(null==e?void 0:e.length)===4?dD(e[0]*t,e[1]*t,e[2]*t,e[3]*t):void 0}
vendor: 3,231 bytes, line 1
1,dV=function(e){return e.type===dj?[e.gray]:e.type===d_?[e.red,e.green,e.blue]:e.type===dR?[e.cyan,e.magenta,e.yellow,e.key]:s$("Invalid color: "+JSON.stringify(e))},dU=0,dq=0,dH=0,dZ=0,dW=0,dG=0,d$=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),dK=function(e){for(var t,n=[],r=[],i="",a=!1,o=0,s=0;s<e.length;s++){var l=e[s];if(d$.has(l))o=d$.get(l),t&&(i.length>0&&(r[r.length]=+i),n[n.length]={cmd:t,args:r},r=[],i="",a=!1),t=l;else if([" ",","].includes(l)||"-"===l&&i.length>0&&"e"!==i[i.length-1]||"."===l&&a){if(0===i.length)continue;r.length===o?(n[n.length]={cmd:t,args:r},r=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):r[r.length]=+i,a="."===l,i=["-","."].includes(l)?l:""}else i+=l,"."===l&&(a=!0)}return i.length>0&&(r.length===o?(n[n.length]={cmd:t,args:r},r=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):r[r.length]=+i),n[n.length]={cmd:t,args:r},n},dY=function(e){dU=dq=dH=dZ=dW=dG=0;for(var t=[],n=0;n<e.length;n++){var r=e[n];if(r.cmd&&"function"==typeof dX[r.cmd]){var i=dX[r.cmd](r.args);Array.isArray(i)?t=t.concat(i):t.push(i)}}return t},dX={M:function(e){return dU=e[0],dq=e[1],dH=dZ=null,dW=dU,dG=dq,dy(dU,dq)},m:function(e){return dU+=e[0],dq+=e[1],dH=dZ=null,dW=dU,dG=dq,dy(dU,dq)},C:function(e){return dU=e[4],dq=e[5],dH=e[2],dZ=e[3],dm(e[0],e[1],e[2],e[3],e[4],e[5])},c:function(e){var t=dm(e[0]+dU,e[1]+dq,e[2]+dU,e[3]+dq,e[4]+dU,e[5]+dq);return dH=dU+e[2],dZ=dq+e[3],dU+=e[4],dq+=e[5],t},S:function(e){(null===dH||null===dZ)&&(dH=dU,dZ=dq);var t=dm(dU-(dH-dU),dq-(dZ-dq),e[0],e[1],e[2],e[3]);return dH=e[0],dZ=e[1],dU=e[2],dq=e[3],t},s:function(e){(null===dH||null===dZ)&&(dH=dU,dZ=dq);var t=dm(dU-(dH-dU),dq-(dZ-dq),dU+e[0],dq+e[1],dU+e[2],dq+e[3]);return dH=dU+e[0],dZ=dq+e[1],dU+=e[2],dq+=e[3],t},Q:function(e){return dH=e[0],dZ=e[1],dU=e[2],dq=e[3],dg(e[0],e[1],dU,dq)},q:function(e){var t=dg(e[0]+dU,e[1]+dq,e[2]+dU,e[3]+dq);return dH=dU+e[0],dZ=dq+e[1],dU+=e[2],dq+=e[3],t},T:function(e){null===dH||null===dZ?(dH=dU,dZ=dq):(dH=dU-(dH-dU),dZ=dq-(dZ-dq));var t=dg(dH,dZ,e[0],e[1]);return dH=dU-(dH-dU),dZ=dq-(dZ-dq),dU=e[0],dq=e[1],t},t:function(e){null===dH||null===dZ?(dH=dU,dZ=dq):(dH=dU-(dH-dU),dZ=dq-(dZ-dq));var t=dg(dH,dZ,dU+e[0],dq+e[1]);return dU+=e[0],dq+=e[1],t},A:function(e){var t=dQ(dU,dq,e);return dU=e[5],dq=e[6],t},a:function(e){e[5]+=dU,e[6]+=dq;var t=dQ(dU,dq,e);return dU=e[5],dq=e[6],t},L:function(e){return dU=e[0],dq=e[1],dH=dZ=null,db(dU,dq)},l:function(e){return dU+=e[0],dq+=e[1],dH=dZ=null,db(dU,dq)},H:function(e){return dU=e[0],dH=dZ=null,db(dU,dq)},h:function(e){return dU+=e[0],dH=dZ=null,db(dU,dq)},V:function(e){return dq=e[0],dH=dZ=null,db(dU,dq)},v:function(e){return dq+=e[0],dH=dZ=null,db(dU,dq)},Z:function(){var e=dv();return dU=dW,dq=dG,e},z:function(){var e=dv();return dU=dW,dq=dG,e}},dQ=function(e,t,n){for(var r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],l=dJ(n[5],n[6],r,i,o,s,a,e,t),u=[],c=0;c<l.length;c++){var d=d0.apply(void 0,l[c]);u.push(dm.apply(void 0,d))}return u},dJ=function(e,t,n,r,i,a,o,s,l){var u=Math.PI/180*o,c=Math.sin(u),d=Math.cos(u);n=Math.abs(n),r=Math.abs(r);var h=(dH=d*(s-e)*.5+c*(l-t)*.5)*dH/(n*n)+(dZ=d*(l-t)*.5-c*(s-e)*.5)*
1dZ/(r*r);h>1&&(n*=h=Math.sqrt(h),r*=h);var f=d/n,p=c/n,m=-c/r,g=d/r,v=f*s+p*l,y=m*s+g*l,b=f*e+p*t,w=m*e+g*t,x=1/((b-v)*(b-v)+(w-y)*(w-y))-.25;x<0&&(x=0);var C=Math.sqrt(x);a===i&&(C=-C);var E=.5*(v+b)-C*(w-y),S=.5*(y+w)+C*(b-v),A=Math.atan2(y-S,v-E),k=Math.atan2(w-S,b-E)-A;k<0&&1===a?k+=2*Math.PI:k>0&&0===a&&(k-=2*Math.PI);for(var N=Math.ceil(Math.abs(k/(.5*Math.PI+.001))),P=[],I=0;I<N;I++){var T=A+I*k/N,O=A+(I+1)*k/N;P[I]=[E,S,T,O,n,r,c,d]}return P},d0=function(e,t,n,r,i,a,o,s){var l=s*i,u=-o*a,c=o*i,d=s*a,h=.5*(r-n),f=8/3*Math.sin(.5*h)*Math.sin(.5*h)/Math.sin(h),p=e+Math.cos(n)-f*Math.sin(n),m=t+Math.sin(n)+f*Math.cos(n),g=e+Math.cos(r),v=t+Math.sin(r),y=g+f*Math.sin(r),b=v-f*Math.cos(r);return[l*p+u*m,c*p+d*m,l*y+u*b,c*y+d*b,l*g+u*v,c*g+d*v]},d1=function(e,t){for(var n,r=[dh(),t.graphicsState&&dd(t.graphicsState),dA(),dF(t.color),dN(t.font,t.size),(n=t.lineHeight,us.of(ul.SetTextLineHeight,[cX(n)])),dP(c5(t.rotate),c5(t.xSkew),c5(t.ySkew),t.x,t.y)].filter(Boolean),i=0,a=e.length;i<a;i++)r.push(dS(e[i]),us.of(ul.NextLine));return r.push(dk(),df()),r},d2=function(e,t){return[dh(),t.graphicsState&&dd(t.graphicsState),dr(t.x,t.y),da(c5(t.rotate)),di(t.width,t.height),dl(c5(t.xSkew),c5(t.ySkew)),dI(e),df()].filter(Boolean)},d5=function(e){var t,n;return[dh(),e.graphicsState&&dd(e.graphicsState),e.color&&dz(e.color),dp(e.thickness),du(null!=(t=e.dashArray)?t:[],null!=(n=e.dashPhase)?n:0),dy(e.start.x,e.start.y),e.lineCap&&dc(e.lineCap),dy(e.start.x,e.start.y),db(e.end.x,e.end.y),dw(),df()].filter(Boolean)},d4=function(e){var t,n;return[dh(),e.graphicsState&&dd(e.graphicsState),e.color&&dF(e.color),e.borderColor&&dz(e.borderColor),dp(e.borderWidth),e.borderLineCap&&dc(e.borderLineCap),du(null!=(t=e.borderDashArray)?t:[],null!=(n=e.borderDashPhase)?n:0),dr(e.x,e.y),da(c5(e.rotate)),dl(c5(e.xSkew),c5(e.ySkew)),dy(0,0),db(0,e.height),db(e.width,e.height),db(e.width,0),dv(),e.color&&e.borderWidth?dC():e.color?dx():e.borderColor?dw():dv(),df()].filter(Boolean)},d3=(Math.sqrt(2)-1)/3*4,d6=function(e){var t=cQ(e.x),n=cQ(e.y),r=cQ(e.xScale),i=cQ(e.yScale);t-=r,n-=i;var a=r*d3,o=i*d3,s=t+2*r,l=n+2*i,u=t+r,c=n+i;return[dh(),dy(t,c),dm(t,c-o,u-a,n,u,n),dm(u+a,n,s,c-o,s,c),dm(s,c+o,u+a,l,u,l),dm(u-a,l,t,c+o,t,c),df()]},d8=function(e){var t=cQ(e.x),n=cQ(e.y),r=cQ(e.xScale),i=cQ(e.yScale),a=-r,o=-i,s=r*d3,l=i*d3,u=a+2*r,c=o+2*i,d=a+r,h=o+i;return[dr(t,n),da(c5(e.rotate)),dy(a,h),dm(a,h-l,d-s,o,d,o),dm(d+s,o,u,h-l,u,h),dm(u,h+l,d+s,c,d,c),dm(d-s,c,a,h+l,a,h)]},d9=function(e){var t,n,r;return o3([dh(),e.graphicsState&&dd(e.graphicsState),e.color&&dF(e.color),e.borderColor&&dz(e.borderColor),dp(e.borderWidth),e.borderLineCap&&dc(e.borderLineCap),du(null!=(t=e.borderDashArray)?t:[],null!=(n=e.borderDashPhase)?n:0)],void 0===e.rotate?d6({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale}):d8({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale,rotate:null!=(r=e.rotate)?r:cJ(0)}),[e.color&&e.borderWidth?dC():e.color?dx():e.borderColor?dw():dv(),df()]).filter(Boolean)},d7=function(e,t){var n,r,i;return o3([dh(),t.graphicsState&&dd(t.graphicsState),dr(t.x,t.y),da(c5(null!=(n=t.rotate)?n:cJ(0))),t.scale?di(t.scale,-t.scale):di(1,-1),t.color&&dF(t.color),t.borderColor&&dz(t.borderColor),t.borderWidth&&dp(t.borderWidth),t.borderLineCap&&dc(t.borderLineCap),du(null!=(r=t.borderDashArray)?r:[],null!=(i=t.borderDashPhase)?i:0)],dY(dK(e)),[t.color&&t.borderWidth?dC():t.color?dx():t.borderColor?dw():dv(),df()]).filter(Boolean)},he=function(e){var t=cQ(e.size);return[dh(),e.color&&dz(e.color),dp(e.thickness),dr(e.x,e.y),dy(-.675*t,-.07601036269430045*t),db(-.25*t,-.49*t),db(.69*t,.475*t),dw(),df()].filter(Boolean)},ht=function(e){return 0===e.rotation?[dr(0,0),ds(0)]:90===e.rotation?[dr(e.width,0),ds(90)]:180===e.rotation?[dr(e.width,e.height),ds(180)]:270===e.rotation?[dr(0,e.height),ds(270)]:[]},hn=function(e){var t=d4({x:e.x,y:e.y,width:e.width,height:e.height,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)});if(!e.filled)return t;var n=cQ(e.width),r=cQ(e.height),i=Math.min(n,r)/2,a=he({x:n/2,y:r/2,size:i,thickness:e.thickness,color:e.markColor});return o3([dh()],t,a,[df()])},hr=function(e){var t=Math.min(cQ(e.width),cQ(e.height))/2,n=d9({x:e.x,y:e.y,xScale:t,yScale:t,color:e.color,borderColor:e.borderColor,borderWidth:e.borderWidth});if(!e.filled)return n;var r=d9({x:e.x,y:e.y,xScale:.45*t,yScale:.45*t,color:e.dotColor,borderColor:void 0,borderWidth:0});return o3([dh()],n,r,[df()])},hi=function(e){var t=d4({x:cQ(e.x),y:cQ(e.y),width:cQ(e.width),height:cQ(e.height),borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}),n=ha(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)});return o3([dh()],t,n,[df()])},ha=function(e,t){for(var n=[dA(),dF(t.color),dN(t.font,t.size)],r=0,i=e.length;r<i;r++){var a=e[r],o=a.encoded,s=a.x,l=a.y;n.push(dP(c5(t.rotate),c5(t.xSkew),c5(t.ySkew),s,l),dS(o))}return n.push(dk()),n},ho=function(e){var t=cQ(e.x),n=cQ(e.y),r=cQ(e.width),i=cQ(e.height),a=cQ(e.borderWidth),o=cQ(e.padding),s=t+a/2+o,l=n+a/2+o,u=r-(a/2+o)*2,c=i-(a/2+o)*2,d=[dy(s,l),db(s,l+c),db(s+u,l+c),db(s+u,l),dv(),c9(),dE()],h=d4({x:t,y:n,width:r,height:i,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}),f=ha(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}),p=o3([dT("Tx"),dh()],f,[df(),dO()]);return o3([dh()],h,d,p,[df()])},hs=function(e){for(var t=cQ(e.x),n=cQ(e.y),r=cQ(e.width),i=cQ(e.height),a=cQ(e.lineHeight),o=cQ(e.borderWidth),s=cQ(e.padding),l=t+o/2+s,u=n+o/2+s,c=r-(o/2+s)*2,d=i-(o/2+s)*2,h=[dy(l,u),db(l,u+d),db(l+c,u+d),db(l+c,u),dv(),c9(),dE()],f=d4({x:t,y:n,width:r,height:i,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}),p=[],m=0,g=e.selectedLines.length;m<g;m++){var v=e.textLines[e.selectedLines[m]];
1p.push.apply(p,d4({x:v.x-s,y:v.y-(a-v.height)/2,width:r-o,height:v.height+(a-v.height)/2,borderWidth:0,color:e.selectedColor,borderColor:void 0,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}))}var y=ha(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)}),b=o3([dT("Tx"),dh()],y,[df(),dO()]);return o3([dh()],f,p,h,b,[df()])},hl=function(e){function t(){return e.call(this,"Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.")||this}return o1(t,e),t}(Error),hu=function(e){function t(){return e.call(this,"Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.")||this}return o1(t,e),t}(Error),hc=function(e){function t(){return e.call(this,"A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.")||this}return o1(t,e),t}(Error),hd=function(e){function t(){return e.call(this,"PDFDocument has no pages so `PDFDocument.removePage` cannot be called")||this}return o1(t,e),t}(Error),hh=function(e){function t(t){return e.call(this,'PDFDocument has no form field with the name "'+t+'"')||this}return o1(t,e),t}(Error),hf=function(e){function t(t,n,r){var i,a,o='Expected field "'+t+'" to be of type '+(null==n?void 0:n.name)+", but it is actually of type "+(null!=(a=null==(i=null==r?void 0:r.constructor)?void 0:i.name)?a:r);return e.call(this,o)||this}return o1(t,e),t}(Error);!function(e){o1(function(t){return e.call(this,'Failed to select check box due to missing onValue: "'+t+'"')||this},e)}(Error);var hp=function(e){function t(t){return e.call(this,'A field already exists with the specified name: "'+t+'"')||this}return o1(t,e),t}(Error),hm=function(e){function t(t){return e.call(this,'Field name contains invalid component: "'+t+'"')||this}return o1(t,e),t}(Error);!function(e){o1(function(t){return e.call(this,'A non-terminal field already exists with the specified name: "'+t+'"')||this},e)}(Error);var hg=function(e){function t(t){return e.call(this,"Reading rich text fields is not supported: Attempted to read rich text field: "+t)||this}return o1(t,e),t}(Error),hv=function(e){function t(t,n){return e.call(this,"Failed to layout combed text as lineLength="+t+" is greater than cellCount="+n)||this}return o1(t,e),t}(Error),hy=function(e){function t(t,n,r){return e.call(this,"Attempted to set text with length="+t+" for TextField with maxLength="+n+" and name="+r)||this}return o1(t,e),t}(Error),hb=function(e){function t(t,n,r){var i="Attempted to set maxLength="+n+", which is less than "+t+", the length of this field's current value (name="+r+")";return e.call(this,i)||this}return o1(t,e),t}(Error);!function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(j||(j={}));var hw=function(e,t,n,r){void 0===r&&(r=!1);for(var i=4;i<500;){for(var a=0,o=0,s=e.length;o<s;o++){a+=1;for(var l=e[o].split(" "),u=n.width,c=0,d=l.length;c<d;c++){var h=c===d-1?l[c]:l[c]+" ",f=t.widthOfTextAtSize(h,i);(u-=f)<=0&&(a+=1,u=n.width-f)}}if(!r&&a>e.length)return i-1;var p=t.heightAtSize(i);if((p+.2*p)*a>Math.abs(n.height))return i-1;i+=1}return i},hx=function(e,t,n,r){for(var i=n.width/r,a=n.height,o=4,s=sm(e);o<500;){for(var l=0,u=s.length;l<u;l++){var c=s[l];if(t.widthOfTextAtSize(c,o)>.75*i)return o-1}if(t.heightAtSize(o,{descender:!1})>a)return o-1;o+=1}return o},hC=function(e){for(var t=e.length;t>0;t--)if(/\s/.test(e[t]))return t},hE=function(e,t,n,r){for(var i,a=e.length;a>0;){var o=e.substring(0,a),s=n.encodeText(o),l=n.widthOfTextAtSize(o,r);if(l<t)return{line:o,encoded:s,width:l,remainder:e.substring(a)||void 0};a=null!=(i=hC(o))?i:0}return{line:e,encoded:n.encodeText(e),width:n.widthOfTextAtSize(e,r),remainder:void 0}},hS=function(e,t){var n=t.alignment,r=t.fontSize,i=t.font,a=t.bounds,o=sh(su(e));(void 0===r||0===r)&&(r=hw(o,i,a,!0));for(var s=i.heightAtSize(r),l=s+.2*s,u=[],c=a.x,d=a.y,h=a.x+a.width,f=a.y+a.height,p=a.y+a.height,m=0,g=o.length;m<g;m++)for(var v=o[m];void 0!==v;){var y=hE(v,a.width,i,r),b=y.line,w=y.encoded,x=y.width,C=y.remainder,E=n===j.Left?a.x:n===j.Center?a.x+a.width/2-x/2:n===j.Right?a.x+a.width-x:a.x;p-=l,E<c&&(c=E),p<d&&(d=p),E+x>h&&(h=E+x),p+s>f&&(f=p+s),u.push({text:b,encoded:w,width:x,height:s,x:E,y:p}),v=null==C?void 0:C.trim()}return{fontSize:r,lineHeight:l,lines:u,bounds:{x:c,y:d,width:h-c,height:f-d}}},hA=function(e,t){var n=t.fontSize,r=t.font,i=t.bounds,a=t.cellCount,o=sf(su(e));if(o.length>a)throw new hv(o.length,a);(void 0===n||0===n)&&(n=hx(o,r,i,a));for(var s=i.width/a,l=r.heightAtSize(n,{descender:!1}),u=i.y+(i.height/2-l/2),c=[],d=i.x,h=i.y,f=i.x+i.width,p=i.y+i.height,m=0,g=0;m<a;){var v=sp(o,g),y=v[0],b=v[1],w=r.encodeText(y),x=r.widthOfTextAtSize(y,n),C=i.x+(s*m+s/2)-x/2;C<d&&(d=C),u<h&&(h=u),C+x>f&&(f=C+x),u+l>p&&(p=u+l),c.push({text:o,encoded:w,width:x,height:l,x:C,y:u}),m+=1,g+=b}return{fontSize:n,cells:c,bounds:{x:d,y:h,width:f-d,height:p-h}}},hk=function(e,t){var n=t.alignment,r=t.fontSize,i=t.font,a=t.bounds,o=sf(su(e));(void 0===r||0===r)&&(r=hw([o],i,a));var s=i.encodeText(o),l=i.widthOfTextAtSize(o,r),u=i.heightAtSize(r,{descender:!1}),c=n===j.Left?a.x:n===j.Center?a.x+a.width/2-l/2:n===j.Right?a.x+a.width-l:a.x,d=a.y+(a.height/2-u/2);return{fontSize:r,line:{text:o,encoded:s,width:l,height:u,x:c,y:d},bounds:{x:c,y:d,width:l,height:u}}},hN=function(e){return"normal"in e?e:{normal:e}},hP=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,hI=function(e){var t,n,r=Number((null!=(n=sw(null!=(t=e.getDefaultAppearance())?t:"",hP).match)?n:[])[2]);return isFinite(r)?r:void 0},hT=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,hO=function(e){var t,n=sw(null!=(t=e.getDefaultAppearance())?t:"",hT).match,r=null!=n?n:[],i=r[1],a=r[2],o=r[3],s=r[4],l=r[5];return"g"===l&&i?dL(Number(i)):"rg"===l&&i&&a&&o?dM(Number(i),Number(a),Number(o)):"k"===l&&i&&a&&o&&s?dD(Number(i),Number(a),Number(o),Number(s)):void 0},hL=function(e,t,n,r){void 0===r&&(r=0);var i,a=[dF(t).toString(),dN(null!=(i=null==n?void 0:n.name)?i:"dummy__noop",r).toString()].join("\n");e.setDefaultAppearance(a)},hM=function(e,t){var n,r,i,a=hO(t),o=hO(e.acroField),s=t.getRectangle(),l=t.getAppearanceCharacteristics(),u=t.getBorderStyle(),c=null!=(n=null==u?void 0:u.getWidth())?n:0,d=c3(null==l?void 0:l.getRotation()),h=c6(s,d),f=h.width,p=h.height,m=ht(o2(o2({},s),{rotation:d})),g=dM(0,0,0),v=null!=(r=dB(null==l?void 0:l.getBorderColor()))?r:g,y=dB(null==l?void 0:l.getBackgroun
1dColor()),b=dB(null==l?void 0:l.getBackgroundColor(),.8),w=null!=(i=null!=a?a:o)?i:g;a?hL(t,w):hL(e.acroField,w);var x={x:0+c/2,y:0+c/2,width:f-c,height:p-c,thickness:1.5,borderWidth:c,borderColor:v,markColor:w};return{normal:{on:o3(m,hn(o2(o2({},x),{color:y,filled:!0}))),off:o3(m,hn(o2(o2({},x),{color:y,filled:!1})))},down:{on:o3(m,hn(o2(o2({},x),{color:b,filled:!0}))),off:o3(m,hn(o2(o2({},x),{color:b,filled:!1})))}}},hD=function(e,t){var n,r,i,a=hO(t),o=hO(e.acroField),s=t.getRectangle(),l=t.getAppearanceCharacteristics(),u=t.getBorderStyle(),c=null!=(n=null==u?void 0:u.getWidth())?n:0,d=c3(null==l?void 0:l.getRotation()),h=c6(s,d),f=h.width,p=h.height,m=ht(o2(o2({},s),{rotation:d})),g=dM(0,0,0),v=null!=(r=dB(null==l?void 0:l.getBorderColor()))?r:g,y=dB(null==l?void 0:l.getBackgroundColor()),b=dB(null==l?void 0:l.getBackgroundColor(),.8),w=null!=(i=null!=a?a:o)?i:g;a?hL(t,w):hL(e.acroField,w);var x={x:f/2,y:p/2,width:f-c,height:p-c,borderWidth:c,borderColor:v,dotColor:w};return{normal:{on:o3(m,hr(o2(o2({},x),{color:y,filled:!0}))),off:o3(m,hr(o2(o2({},x),{color:y,filled:!1})))},down:{on:o3(m,hr(o2(o2({},x),{color:b,filled:!0}))),off:o3(m,hr(o2(o2({},x),{color:b,filled:!1})))}}},hj=function(e,t,n){var r,i,a,o,s,l=hO(t),u=hO(e.acroField),c=hI(t),d=hI(e.acroField),h=t.getRectangle(),f=t.getAppearanceCharacteristics(),p=t.getBorderStyle(),m=null==f?void 0:f.getCaptions(),g=null!=(r=null==m?void 0:m.normal)?r:"",v=null!=(a=null!=(i=null==m?void 0:m.down)?i:g)?a:"",y=null!=(o=null==p?void 0:p.getWidth())?o:0,b=c3(null==f?void 0:f.getRotation()),w=c6(h,b),x=w.width,C=w.height,E=ht(o2(o2({},h),{rotation:b})),S=dM(0,0,0),A=dB(null==f?void 0:f.getBorderColor()),k=dB(null==f?void 0:f.getBackgroundColor()),N=dB(null==f?void 0:f.getBackgroundColor(),.8),P={x:y,y:y,width:x-2*y,height:C-2*y},I=hk(g,{alignment:j.Center,fontSize:null!=c?c:d,font:n,bounds:P}),T=hk(v,{alignment:j.Center,fontSize:null!=c?c:d,font:n,bounds:P}),O=Math.min(I.fontSize,T.fontSize),L=null!=(s=null!=l?l:u)?s:S;l||void 0!==c?hL(t,L,n,O):hL(e.acroField,L,n,O);var M={x:0+y/2,y:0+y/2,width:x-y,height:C-y,borderWidth:y,borderColor:A,textColor:L,font:n.name,fontSize:O};return{normal:o3(E,hi(o2(o2({},M),{color:k,textLines:[I.line]}))),down:o3(E,hi(o2(o2({},M),{color:N,textLines:[T.line]})))}},h_=function(e,t,n){var r,i,a,o,s,l,u=hO(t),c=hO(e.acroField),d=hI(t),h=hI(e.acroField),f=t.getRectangle(),p=t.getAppearanceCharacteristics(),m=t.getBorderStyle(),g=null!=(r=e.getText())?r:"",v=null!=(i=null==m?void 0:m.getWidth())?i:0,y=c3(null==p?void 0:p.getRotation()),b=c6(f,y),w=b.width,x=b.height,C=ht(o2(o2({},f),{rotation:y})),E=dM(0,0,0),S=dB(null==p?void 0:p.getBorderColor()),A=dB(null==p?void 0:p.getBackgroundColor()),k=+!e.isCombed(),N={x:v+k,y:v+k,width:w-(v+k)*2,height:x-(v+k)*2};if(e.isMultiline()){var P=hS(g,{alignment:e.getAlignment(),fontSize:null!=d?d:h,font:n,bounds:N});s=P.lines,l=P.fontSize}else if(e.isCombed()){var P=hA(g,{fontSize:null!=d?d:h,font:n,bounds:N,cellCount:null!=(a=e.getMaxLength())?a:0});s=P.cells,l=P.fontSize}else{var P=hk(g,{alignment:e.getAlignment(),fontSize:null!=d?d:h,font:n,bounds:N});s=[P.line],l=P.fontSize}var I=null!=(o=null!=u?u:c)?o:E;return u||void 0!==d?hL(t,I,n,l):hL(e.acroField,I,n,l),o3(C,ho({x:0+v/2,y:0+v/2,width:w-v,height:x-v,borderWidth:null!=v?v:0,borderColor:S,textColor:I,font:n.name,fontSize:l,color:A,textLines:s,padding:k}))},hR=function(e,t,n){var r,i,a,o=hO(t),s=hO(e.acroField),l=hI(t),u=hI(e.acroField),c=t.getRectangle(),d=t.getAppearanceCharacteristics(),h=t.getBorderStyle(),f=null!=(r=e.getSelected()[0])?r:"",p=null!=(i=null==h?void 0:h.getWidth())?i:0,m=c3(null==d?void 0:d.getRotation()),g=c6(c,m),v=g.width,y=g.height,b=ht(o2(o2({},c),{rotation:m})),w=dM(0,0,0),x=dB(null==d?void 0:d.getBorderColor()),C=dB(null==d?void 0:d.getBackgroundColor()),E=hk(f,{alignment:j.Left,fontSize:null!=l?l:u,font:n,bounds:{x:p+1,y:p+1,width:v-(p+1)*2,height:y-(p+1)*2}}),S=E.line,A=E.fontSize,k=null!=(a=null!=o?o:s)?a:w;return o||void 0!==l?hL(t,k,n,A):hL(e.acroField,k,n,A),o3(b,ho({x:0+p/2,y:0+p/2,width:v-p,height:y-p,borderWidth:null!=p?p:0,borderColor:x,textColor:k,font:n.name,fontSize:A,color:C,textLines:[S],padding:1}))},hF=function(e,t,n){var r,i,a=hO(t),o=hO(e.acroField),s=hI(t),l=hI(e.acroField),u=t.getRectangle(),c=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),h=null!=(r=null==d?void 0:d.getWidth())?r:0,f=c3(null==c?void 0:c.getRotation()),p=c6(u,f),m=p.width,g=p.height,v=ht(o2(o2({},u),{rotation:f})),y=dM(0,0,0),b=dB(null==c?void 0:c.getBorderColor()),w=dB(null==c?void 0:c.getBackgroun
1dColor()),x=e.getOptions(),C=e.getSelected();e.isSorted()&&x.sort();for(var E="",S=0,A=x.length;S<A;S++)E+=x[S],S<A-1&&(E+="\n");for(var k=hS(E,{alignment:j.Left,fontSize:null!=s?s:l,font:n,bounds:{x:h+1,y:h+1,width:m-(h+1)*2,height:g-(h+1)*2}}),N=k.lines,P=k.fontSize,I=k.lineHeight,T=[],S=0,A=N.length;S<A;S++){var O=N[S];C.includes(O.text)&&T.push(S)}var L=dM(.6,193/255,218/255),M=null!=(i=null!=a?a:o)?i:y;return a||void 0!==s?hL(t,M,n,P):hL(e.acroField,M,n,P),o3(v,hs({x:0+h/2,y:0+h/2,width:m-h,height:g-h,borderWidth:null!=h?h:0,borderColor:b,textColor:M,font:n.name,fontSize:P,color:w,textLines:N,lineHeight:I,selectedColor:L,selectedLines:T,padding:1}))},hz=function(){function e(e,t,n){this.alreadyEmbedded=!1,ld(e,"ref",[[uo,"PDFRef"]]),ld(t,"doc",[[h4,"PDFDocument"]]),ld(n,"embedder",[[u9,"PDFPageEmbedder"]]),this.ref=e,this.doc=t,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(e){return ld(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return o5(this,void 0,void 0,function(){return o4(this,function(e){switch(e.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e.sent(),this.alreadyEmbedded=!0,e.label=2;case 2:return[2]}})})},e.of=function(t,n,r){return new e(t,n,r)},e}(),hB=function(){function e(e,t,n){this.modified=!0,ld(e,"ref",[[uo,"PDFRef"]]),ld(t,"doc",[[h4,"PDFDocument"]]),ld(n,"embedder",[[uD,"CustomFontEmbedder"],[uA,"StandardFontEmbedder"]]),this.ref=e,this.doc=t,this.name=n.fontName,this.embedder=n}return e.prototype.encodeText=function(e){return ld(e,"text",["string"]),this.modified=!0,this.embedder.encodeText(e)},e.prototype.widthOfTextAtSize=function(e,t){return ld(e,"text",["string"]),ld(t,"size",["number"]),this.embedder.widthOfTextAtSize(e,t)},e.prototype.heightAtSize=function(e,t){var n;return ld(e,"size",["number"]),lh(null==t?void 0:t.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(e,{descender:null==(n=null==t?void 0:t.descender)||n})},e.prototype.sizeAtHeight=function(e){return ld(e,"height",["number"]),this.embedder.sizeOfFontAtHeight(e)},e.prototype.getCharacterSet=function(){return this.embedder instanceof uA?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},e.prototype.embed=function(){return o5(this,void 0,void 0,function(){return o4(this,function(e){switch(e.label){case 0:if(!this.modified)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e.sent(),this.modified=!1,e.label=2;case 2:return[2]}})})},e.of=function(t,n,r){return new e(t,n,r)},e}(),hV=function(){function e(e,t,n){ld(e,"ref",[[uo,"PDFRef"]]),ld(t,"doc",[[h4,"PDFDocument"]]),ld(n,"embedder",[[uz,"JpegEmbedder"],[uH,"PngEmbedder"]]),this.ref=e,this.doc=t,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(e){return ld(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},e.prototype.scaleToFit=function(e,t){ld(e,"width",["number"]),ld(t,"height",["number"]);var n=Math.min(e/this.width,t/this.height);return this.scale(n)},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return o5(this,void 0,void 0,function(){var e,t,n;return o4(this,function(r){switch(r.label){case 0:if(!this.embedder)return[2];return this.embedTask||(e=this,t=e.doc,n=e.ref,this.embedTask=this.embedder.embedIntoContext(t.context,n)),[4,this.embedTask];case 1:return r.sent(),this.embedder=void 0,[2]}})})},e.of=function(t,n,r){return new e(t,n,r)},e}();!function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(_||(_={}));var hU=function(e){lh(null==e?void 0:e.x,"options.x",["number"]),lh(null==e?void 0:e.y,"options.y",["number"]),lh(null==e?void 0:e.width,"options.width",["number"]),lh(null==e?void 0:e.height,"options.height",["number"]),lh(null==e?void 0:e.textColor,"options.textColor",[[Object,"Color"]]),lh(null==e?void 0:e.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),lh(null==e?void 0:e.borderColor,"options.borderColor",[[Object,"Color"]]),lh(null==e?void 0:e.borderWidth,"options.borderWidth",["number"]),lh(null==e?void 0:e.rotate,"options.rotate",[[Object,"Rotation"]])}
1,hq=function(){function e(e,t,n){ld(e,"acroField",[[cs,"PDFAcroTerminal"]]),ld(t,"ref",[[uo,"PDFRef"]]),ld(n,"doc",[[h4,"PDFDocument"]]),this.acroField=e,this.ref=t,this.doc=n}return e.prototype.getName=function(){var e;return null!=(e=this.acroField.getFullyQualifiedName())?e:""},e.prototype.isReadOnly=function(){return this.acroField.hasFlag(A.ReadOnly)},e.prototype.enableReadOnly=function(){this.acroField.setFlagTo(A.ReadOnly,!0)},e.prototype.disableReadOnly=function(){this.acroField.setFlagTo(A.ReadOnly,!1)},e.prototype.isRequired=function(){return this.acroField.hasFlag(A.Required)},e.prototype.enableRequired=function(){this.acroField.setFlagTo(A.Required,!0)},e.prototype.disableRequired=function(){this.acroField.setFlagTo(A.Required,!1)},e.prototype.isExported=function(){return!this.acroField.hasFlag(A.NoExport)},e.prototype.enableExporting=function(){this.acroField.setFlagTo(A.NoExport,!1)},e.prototype.disableExporting=function(){this.acroField.setFlagTo(A.NoExport,!0)},e.prototype.needsAppearancesUpdate=function(){throw new lE(this.constructor.name,"needsAppearancesUpdate")},e.prototype.defaultUpdateAppearances=function(e){throw new lE(this.constructor.name,"defaultUpdateAppearances")},e.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},e.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},e.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},e.prototype.createWidget=function(e){var t,n=e.textColor,r=e.backgroundColor,i=e.borderColor,a=e.borderWidth,o=c4(e.rotate),s=e.caption,l=e.x,u=e.y,c=e.width+a,d=e.height+a,h=!!e.hidden,f=e.page;lg(o,"degreesAngle",90);var p=co.create(this.doc.context,this.ref),m=c8({x:l,y:u,width:c,height:d},a,o);p.setRectangle(m),f&&p.setP(f);var g=p.getOrCreateAppearanceCharacteristics();r&&g.setBackgroundColor(dV(r)),g.setRotation(o),s&&g.setCaptions({normal:s}),i&&g.setBorderColor(dV(i));var v=p.getOrCreateBorderStyle();if(void 0!==a&&v.setWidth(a),p.setFlagTo(I.Print,!0),p.setFlagTo(I.Hidden,h),p.setFlagTo(I.Invisible,!1),n){var y=(null!=(t=this.acroField.getDefaultAppearance())?t:"")+"\n"+dF(n).toString();this.acroField.setDefaultAppearance(y)}return p},e.prototype.updateWidgetAppearanceWithFont=function(e,t,n){var r=n.normal,i=n.rollover,a=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceStream(e,r,t),rollover:i&&this.createAppearanceStream(e,i,t),down:a&&this.createAppearanceStream(e,a,t)})},e.prototype.updateOnOffWidgetAppearance=function(e,t,n){var r=n.normal,i=n.rollover,a=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceDict(e,r,t),rollover:i&&this.createAppearanceDict(e,i,t),down:a&&this.createAppearanceDict(e,a,t)})},e.prototype.updateWidgetAppearances=function(e,t){var n=t.normal,r=t.rollover,i=t.down;e.setNormalAppearance(n),r?e.setRolloverAppearance(r):e.removeRolloverAppearance(),i?e.setDownAppearance(i):e.removeDownAppearance()},e.prototype.createAppearanceStream=function(e,t,n){var r,i=this.acroField.dict.context,a=e.getRectangle(),o=a.width,s=a.height,l=n&&{Font:((r={})[n.name]=n.ref,r)},u=i.formXObject(t,{Resources:l,BBox:i.obj([0,0,o,s]),Matrix:i.obj([1,0,0,1,0,0])});return i.register(u)},e.prototype.createImageAppearanceStream=function(e,t,n){var r,i,a=this.acroField.dict.context,o=e.getRectangle(),s=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),u=null!=(i=null==l?void 0:l.getWidth())?i:0,c=c3(null==s?void 0:s.getRotation()),d=ht(o2(o2({},o),{rotation:c})),h=c6(o,c),f=t.scaleToFit(h.width-2*u,h.height-2*u),p={x:u,y:u,width:f.width,height:f.height,rotate:cJ(0),xSkew:cJ(0),ySkew:cJ(0)};n===_.Center?(p.x+=(h.width-2*u)/2-f.width/2,p.y+=(h.height-2*u)/2-f.height/2):n===_.Right&&(p.x=h.width-u-f.width,p.y=h.height-u-f.height);var m=this.doc.context.addRandomSuffix("Image",10),g=o3(d,d2(m,p)),v={XObject:((r={})[m]=t.ref,r)},y=a.formXObject(g,{Resources:v,BBox:a.obj([0,0,o.width,o.height]),Matrix:a.obj([1,0,0,1,0,0])});return a.register(y)},e.prototype.createAppearanceDict=function(e,t,n){var r=this.acroField.dict.context,i=this.createAppearanceStream(e,t.on),a=this.createAppearanceStream(e,t.off),o=r.obj({});return o.set(n,i),o.set(l7.of("Off"),a),o},e}(),hH=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroCheckBox",[[cu,"PDFAcroCheckBox"]]),i.acroField=t,i}return o1(t,e),t.prototype.check=function(){var e,t=null!=(e=this.acroField.getOnValue())?e:l7.of("Yes");this.markAsDirty(),this.acroField.setValue(t)},t.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(l7.of("Off"))},t.prototype.isChecked=function(){var e=this.acroField.getOnValue();return!!e&&e===this.acroField.getValue()},t.prototype.addToPage=function(e,t){ld(e,"page",[[h6,"PDFPage"]]),hU(t),t||(t={}),"textColor"in t||(t.textColor=dM(0,0,0)),"backgroundColor"in t||(t.backgroundColor=dM(1,1,1)),"borderColor"in t||(t.borderColor=dM(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var n,r,i,a,o,s,l=this.createWidget({x:null!=(n=t.x)?n:0,y:null!=(r=t.y)?r:0,width:null!=(i=t.width)?i:50,height:null!=(a=t.height)?a:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!=(o=t.borderWidth)?o:0,rotate:null!=(s=t.rotate)?s:cJ(0),hidden:t.hidden,page:e.ref}),u=this.doc.context.register(l.dict);this.acroField.addWidget(u),l.setAppearanceState(l7.of("Off")),this.updateWidgetAppearance(l,l7.of("Yes")),e.node.addAnnot(u)},t.prototype.needsAppearancesUpdate=function(){for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.getAppearanceState(),o=null==(e=i.getAppearances())?void 0:e.normal;if(!(o instanceof ut)||a&&!o.has(a))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){lh(e,"provider",[Function]);for(var t,n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r],o=null!=(t=a.getOnValue())?t:l7.of("Yes");o&&this.updateWidgetAppearance(a,o,e)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:hM)(this,e));this.updateOnOffWidgetAppearance(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq),hZ=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroComboBox",[[ch,"PDFAcroComboBox"]]),i.acroField=t,i}return o1(t,e),t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),t=Array(e.length),n=0,r=t.length;n<r;n++){var i=e[n],a=i.display,o=i.value;t[n]=(null!=a?a:o).decodeText()}return t},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t},t.prototype.setOptions=function(e){ld(e,"options",[Array]);for(var t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]={value:uS.fromText(e[n])};this.acroField.setOptions(t)},t.prototype.addOptions=function(e){ld(e,"options",["string",Array]);for(var t=Array.isArray(e)?e:[e],n=this.acroField.getOptions(),r=Array(t.length),i=0,a=t.length;i<a;i++)r[i]={value:uS.fromText(t[i])};this.acroField.setOptions(n.concat(r))},t.prototype.select=function(e,t){void 0===t&&(t=!1),ld(e,"options",["string",Array]),ld(t,"merge",["boolean"]);var n=Array.isArray(e)?e:[e],r=this.getOptions();n.find(function(e){return!r.includes(e)})&&this.enableEditing(),this.markAsDirty(),(n.length>1||1===n.length&&t)&&this.enableMultiselect();for(var i=Array(n.length),a=0,o=n.length;a<o;a++)i[a]=uS.fromText(n[a]);if(t){var s=this.acroField.getValues();this.acroField.setValues(s.concat(i))}else this.acroField.setValues(i)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){ly(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isEditable=function(){return this.acroField.hasFlag(P.Edit)},t.prototype.enableEditing=function(){this.acroField.setFlagTo(P.Edit,!0)},t.prototype.disableEditing=function(){this.acroField.setFlagTo(P.Edit,!1)},t.prototype.isSorted=function(){return this.acroField.hasFlag(P.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(P.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(P.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(P.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(P.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(P.MultiSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(P.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(P.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(P.DoNotSpellCheck,!0)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(P.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(P.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(P.CommitOnSelChange,!1)},t.prototype.addToPage=function(e,t){ld(e,"page",[[h6,"PDFPage"]]),hU(t),t||(t={}),"textColor"in t||(t.textColor=dM(0,0,0)),"backgroundColor"in t||(t.backgroundColor=dM(1,1,1)),"borderColor"in t||(t.borderColor=dM(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var n,r,i,a,o,s,l,u=this.createWidget({x:null!=(n=t.x)?n:0,y:null!=(r=t.y)?r:0,width:null!=(i=t.width)?i:200,height:null!=(a=t.height)?a:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!=(o=t.borderWidth)?o:0,rotate:null!=(s=t.rotate)?s:cJ(0),hidden:t.hidden,page:e.ref}),c=this.doc.context.register(u.dict);this.acroField.addWidget(c);var d=null!=(l=t.font)?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,d),e.node.addAnnot(c)},t.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++)if(!((null==(e=t[n].getAppearances())?void 0:e.normal)instanceof un))return!0;return!1},t.prototype.defaultUpdateAppearances=function(e){ld(e,"font",[[hB,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){ld(e,"font",[[hB,"PDFFont"]]),lh(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r];this.updateWidgetAppearance(a,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:hR)(this,e,t));this.updateWidgetAppearanceWithFont(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq),hW=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroListBox",[[cy,"PDFAcroListBox"]]),i.acroField=t,i}return o1(t,e),t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),t=Array(e.length),n=0,r=t.length;n<r;n++){var i=e[n],a=i.display,o=i.value;t[n]=(null!=a?a:o).decodeText()}return t},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t},t.prototype.setOptions=function(e){ld(e,"options",[Array]),this.markAsDirty();for(var t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]={value:uS.fromText(e[n])};this.acroField.setOptions(t)},t.prototype.addOptions=function(e){ld(e,"options",["string",Array]),this.markAsDirty();for(var t=Array.isArray(e)?e:[e],n=this.acroField.getOptions(),r=Array(t.length),i=0,a=t.length;i<a;i++)r[i]={value:uS.fromText(t[i])};this.acroField.setOptions(n.concat(r))},t.prototype.select=function(e,t){void 0===t&&(t=!1),ld(e,"options",["string",Array]),ld(t,"merge",["boolean"]);var n=Array.isArray(e)?e:[e];lu(n,"option",this.getOptions()),this.markAsDirty(),(n.length>1||1===n.length&&t)&&this.enableMultiselect();for(var r=Array(n.length),i=0,a=n.length;i<a;i++)r[i]=uS.fromText(n[i]);if(t){var o=this.acroField.getValues();this.acroField.setValues(o.concat(r))}else this.acroField.setValues(r)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){ly(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isSorted=function(){return this.acroField.hasFlag(P.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(P.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(P.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(P.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(P.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(P.MultiSelect,!1)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(P.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(P.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(P.CommitOnSelChange,!1)},t.prototype.addToPage=function(e,t){ld(e,"page",[[h6,"PDFPage"]]),hU(t),t||(t={}),"textColor"in t||(t.textColor=dM(0,0,0)),"backgroundColor"in t||(t.backgroundColor=dM(1,1,1)),"borderColor"in t||(t.borderColor=dM(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var n,r,i,a,o,s,l,u=this.createWidget({x:null!=(n=t.x)?n:0,y:null!=(r=t.y)?r:0,width:null!=(i=t.width)?i:200,height:null!=(a=t.height)?a:100,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!=(o=t.borderWidth)?o:0,rotate:null!=(s=t.rotate)?s:cJ(0),hidden:t.hidden,page:e.ref}),c=this.doc.context.register(u.dict);this.acroField.addWidget(c);var d=null!=(l=t.font)?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,d),e.node.addAnnot(c)},t.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++)if(!((null==(e=t[n].getAppearances())?void 0:e.normal)instanceof un))return!0;return!1},t.prototype.defaultUpdateAppearances=function(e){ld(e,"font",[[hB,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){ld(e,"font",[[hB,"PDFFont"]]),lh(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r];this.updateWidgetAppearance(a,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:hF)(this,e,t));this.updateWidgetAppearanceWithFont(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq),hG=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroRadioButton",[[cv,"PDFAcroRadioButton"]]),i.acroField=t,i}return o1(t,e),t.prototype.getOptions=function(){var e=this.acroField.getExportValues();if(e){for(var t=Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t}for(var i=this.acroField.getOnValues(),a=Array(i.length),n=0,r=a.length;n<r;n++)a[n]=i[n].decodeText();return a},t.prototype.getSelected=function(){var e=this.acroField.getValue();if(e!==l7.of("Off")){var t=this.acroField.getExportValues();if(t){for(var n=this.acroField.getOnValues(),r=0,i=n.length;r<i;r++)if(n[r]===e)return t[r].decodeText()}return e.decodeText()}},t.prototype.select=function(e){ld(e,"option",["string"]),ls(e,"option",this.getOptions()),this.markAsDirty();var t=this.acroField.getOnValues(),n=this.acroField.getExportValues();if(n)for(var r=0,i=n.length;r<i;r++)n[r].decodeText()===e&&this.acroField.setValue(t[r]);else for(var r=0,i=t.length;r<i;r++){var a=t[r];a.decodeText()===e&&this.acroField.setValue(a)}},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(l7.of("Off"))},t.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(k.NoToggleToOff)},t.prototype.enableOffToggling=function(){this.acroField.setFlagTo(k.NoToggleToOff,!1)},t.prototype.disableOffToggling=function(){this.acroField.setFlagTo(k.NoToggleToOff,!0)},t.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(k.RadiosInUnison)},t.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(k.RadiosInUnison,!1)},t.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(k.RadiosInUnison,!0)},t.prototype.addOptionToPage=function(e,t,n){ld(e,"option",["string"]),ld(t,"page",[[h6,"PDFPage"]]),hU(n);var r,i,a,o,s,l,u,c,d,h=this.createWidget({x:null!=(r=null==n?void 0:n.x)?r:0,y:null!=(i=null==n?void 0:n.y)?i:0,width:null!=(a=null==n?void 0:n.width)?a:50,height:null!=(o=null==n?void 0:n.height)?o:50,textColor:null!=(s=null==n?void 0:n.textColor)?s:dM(0,0,0),backgroundColor:null!=(l=null==n?void 0:n.backgroundColor)?l:dM(1,1,
11),borderColor:null!=(u=null==n?void 0:n.borderColor)?u:dM(0,0,0),borderWidth:null!=(c=null==n?void 0:n.borderWidth)?c:1,rotate:null!=(d=null==n?void 0:n.rotate)?d:cJ(0),hidden:null==n?void 0:n.hidden,page:t.ref}),f=this.doc.context.register(h.dict),p=this.acroField.addWidgetWithOpt(f,uS.fromText(e),!this.isMutuallyExclusive());h.setAppearanceState(l7.of("Off")),this.updateWidgetAppearance(h,p),t.node.addAnnot(f)},t.prototype.needsAppearancesUpdate=function(){for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.getAppearanceState(),o=null==(e=i.getAppearances())?void 0:e.normal;if(!(o instanceof ut)||a&&!o.has(a))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){lh(e,"provider",[Function]);for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.getOnValue();a&&this.updateWidgetAppearance(i,a,e)}},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:hD)(this,e));this.updateOnOffWidgetAppearance(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq),h$=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroSignature",[[cp,"PDFAcroSignature"]]),i.acroField=t,i}return o1(t,e),t.prototype.needsAppearancesUpdate=function(){return!1},t.of=function(e,n,r){return new t(e,n,r)},t}(hq),hK=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroText",[[cm,"PDFAcroText"]]),i.acroField=t,i}return o1(t,e),t.prototype.getText=function(){var e=this.acroField.getValue();if(!e&&this.isRichFormatted())throw new hg(this.getName());return null==e?void 0:e.decodeText()},t.prototype.setText=function(e){lh(e,"text",["string"]);var t=this.getMaxLength();if(void 0!==t&&e&&e.length>t)throw new hy(e.length,t,this.getName());this.markAsDirty(),this.disableRichFormatting(),e?this.acroField.setValue(uS.fromText(e)):this.acroField.removeValue()},t.prototype.getAlignment=function(){var e=this.acroField.getQuadding();return 0===e?j.Left:1===e?j.Center:2===e?j.Right:j.Left},t.prototype.setAlignment=function(e){ls(e,"alignment",j),this.markAsDirty(),this.acroField.setQuadding(e)},t.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},t.prototype.setMaxLength=function(e){if(lm(e,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===e)this.acroField.removeMaxLength();else{var t=this.getText();if(t&&t.length>e)throw new hb(t.length,e,this.getName());this.acroField.setMaxLength(e)}},t.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},t.prototype.setImage=function(e){for(var t=this.getAlignment(),n=t===j.Center?_.Center:t===j.Right?_.Right:_.Left,r=this.acroField.getWidgets(),i=0,a=r.length;i<a;i++){var o=r[i],s=this.createImageAppearanceStream(o,e,n);this.updateWidgetAppearances(o,{normal:s})}this.markAsClean()},t.prototype.setFontSize=function(e){ly(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isMultiline=function(){return this.acroField.hasFlag(N.Multiline)},t.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(N.Multiline,!0)},t.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(N.Multiline,!1)},t.prototype.isPassword=function(){return this.acroField.hasFlag(N.Password)},t.prototype.enablePassword=function(){this.acroField.setFlagTo(N.Password,!0)},t.prototype.disablePassword=function(){this.acroField.setFlagTo(N.Password,!1)},t.prototype.isFileSelector=function(){return this.acroField.hasFlag(N.FileSelect)},t.prototype.enableFileSelection=function(){this.acroField.setFlagTo(N.FileSelect,!0)},t.prototype.disableFileSelection=function(){this.acroField.setFlagTo(N.FileSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(N.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(N.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(N.DoNotSpellCheck,!0)},t.prototype.isScrollable=function(){return!this.acroField.hasFlag(N.DoNotScroll)},t.prototype.enableScrolling=function(){this.acroField.setFlagTo(N.DoNotScroll,!1)},t.prototype.disableScrolling=function(){this.acroField.setFlagTo(N.DoNotScroll,!0)},t.prototype.isCombed=function(){return this.acroField.hasFlag(N.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&void 0!==this.getMaxLength()},t.prototype.enableCombing=function(){void 0===this.getMaxLength()&&console.warn("PDFTextFields must have a max length in order to be combed"),this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(N.Comb,!0)},t.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(N.Comb,!1)},t.prototype.isRichFormatted=function(){return this.acroField.hasFlag(N.RichText)},t.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(N.RichText,!0)},t.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(N.RichText,!1)},t.prototype.addToPage=function(e,t){ld(e,"page",[[h6,"PDFPage"]]),hU(t),t||(t={}),"textColor"in t||(t.textColor=dM(0,0,0)),"backgroundColor"in t||(t.backgroundColor=dM(1,1,1)),"borderColor"in t||(t.borderColor=dM(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var n,r,i,a,o,s,l,u=this.createWidget({x:null!=(n=t.x)?n:0,y:null!=(r=t.y)?r:0,width:null!=(i=t.width)?i:200,height:null!=(a=t.height)?a:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!=(o=t.borderWidth)?o:0,rotate:null!=(s=t.rotate)?s:cJ(0),hidden:t.hidden,page:e.ref}),c=this.doc.context.register(u.dict);this.acroField.addWidget(c);var d=null!=(l=t.font)?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,d),e.node.addAnnot(c)},t.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++)if(!((null==(e=t[n].getAppearances())?void 0:e.normal)instanceof un))return!0;return!1},t.prototype.defaultUpdateAppearances=function(e){ld(e,"font",[[hB,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){ld(e,"font",[[hB,"PDFFont"]]),lh(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r];this.updateWidgetAppearance(a,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:h_)(this,e,t));this.updateWidgetAppearanceWithFont(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq);!function(e){e.Courier="Courier",e.CourierBold="Courier-Bold",e.CourierOblique="Courier-Oblique",e.CourierBoldOblique="Courier-BoldOblique",e.Helvetica="Helvetica",e.Helvetica
1Bold="Helvetica-Bold",e.HelveticaOblique="Helvetica-Oblique",e.HelveticaBoldOblique="Helvetica-BoldOblique",e.TimesRoman="Times-Roman",e.TimesRomanBold="Times-Bold",e.TimesRomanItalic="Times-Italic",e.TimesRomanBoldItalic="Times-BoldItalic",e.Symbol="Symbol",e.ZapfDingbats="ZapfDingbats"}(R||(R={}));var hY=function(){function e(e,t){var n=this;this.embedDefaultFont=function(){return n.doc.embedStandardFont(R.Helvetica)},ld(e,"acroForm",[[cP,"PDFAcroForm"]]),ld(t,"doc",[[h4,"PDFDocument"]]),this.acroForm=e,this.doc=t,this.dirtyFields=new Set,this.defaultFontCache=lC.populatedBy(this.embedDefaultFont)}return e.prototype.hasXFA=function(){return this.acroForm.dict.has(l7.of("XFA"))},e.prototype.deleteXFA=function(){this.acroForm.dict.delete(l7.of("XFA"))},e.prototype.getFields=function(){for(var e=this.acroForm.getAllFields(),t=[],n=0,r=e.length;n<r;n++){var i=e[n],a=hX(i[0],i[1],this.doc);a&&t.push(a)}return t},e.prototype.getFieldMaybe=function(e){ld(e,"name",["string"]);for(var t=this.getFields(),n=0,r=t.length;n<r;n++){var i=t[n];if(i.getName()===e)return i}},e.prototype.getField=function(e){ld(e,"name",["string"]);var t=this.getFieldMaybe(e);if(t)return t;throw new hh(e)},e.prototype.getButton=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof h8)return t;throw new hf(e,h8,t)},e.prototype.getCheckBox=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof hH)return t;throw new hf(e,hH,t)},e.prototype.getDropdown=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof hZ)return t;throw new hf(e,hZ,t)},e.prototype.getOptionList=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof hW)return t;throw new hf(e,hW,t)},e.prototype.getRadioGroup=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof hG)return t;throw new hf(e,hG,t)},e.prototype.getSignature=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof h$)return t;throw new hf(e,h$,t)},e.prototype.getTextField=function(e){ld(e,"name",["string"]);var t=this.getField(e);if(t instanceof hK)return t;throw new hf(e,hK,t)},e.prototype.createButton=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=cg.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),h8.of(r,r.ref,this.doc)},e.prototype.createCheckBox=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=cu.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),hH.of(r,r.ref,this.doc)},e.prototype.createDropdown=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=ch.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),hZ.of(r,r.ref,this.doc)},e.prototype.createOptionList=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=cy.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),hW.of(r,r.ref,this.doc)},e.prototype.createRadioGroup=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=cv.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),hG.of(r,r.ref,this.doc)},e.prototype.createTextField=function(e){ld(e,"name",["string"]);var t=hQ(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=cm.create(this.doc.context);return r.setPartialName(t.terminal),hJ(n,[r,r.ref],t.terminal),hK.of(r,r.ref,this.doc)},e.prototype.flatten=function(e){void 0===e&&(e={updateFieldAppearances:!0}),e.updateFieldAppearances&&this.updateFieldAppearances();for(var t=this.getFields(),n=0,r=t.length;n<r;n++){for(var i=t[n],a=i.acroField.getWidgets(),o=0,s=a.length;o<s;o++){var l=a[o],u=this.findWidgetPage(l),c=this.findWidgetAppearanceRef(i,l),d=u.node.newXObject("FlatWidget",c),h=l.getRectangle(),f=o3([dh(),dr(h.x,h.y)],ht(o2(o2({},h),{rotation:0})),[dI(d),df()]).filter(Boolean);u.pushOperators.apply(u,f)}this.removeField(i)}},e.prototype.removeField=function(e){for(var t=e.acroField.getWidgets(),n=new Set,r=0,i=t.length;r<i;r++){var a=t[r],o=this.findWidgetAppearanceRef(e,a),s=this.findWidgetPage(a);n.add(s),s.node.removeAnnot(o)}n.forEach(function(t){return t.node.removeAnnot(e.ref)}),this.acroForm.removeField(e.acroField);for(var l=e.acroField.normalizedEntries().Kids,u=l.size(),c=0;c<u;c++){var d=l.get(c);d instanceof uo&&this.doc.context.delete(d)}this.doc.context.delete(e.ref)},e.prototype.updateFieldAppearances=function(e){lh(e,"font",[[hB,"PDFFont"]]),e=null!=e?e:this.getDefaultFont();for(var t=this.getFields(),n=0,r=t.length;n<r;n++){var i=t[n];i.needsAppearancesUpdate()&&i.defaultUpdateAppearances(e)}},e.prototype.markFieldAsDirty=function(e){lh(e,"fieldRef",[[uo,"PDFRef"]]),this.dirtyFields.add(e)},e.prototype.markFieldAsClean=function(e){lh(e,"fieldRef",[[uo,"PDFRef"]]),this.dirtyFields.delete(e)},e.prototype.fieldIsDirty=function(e){return lh(e,"fieldRef",[[uo,"PDFRef"]]),this.dirtyFields.has(e)},e.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},e.prototype.findWidgetPage=function(e){var t=e.P(),n=this.doc.getPages().find(function(e){return e.ref===t});if(void 0===n){var r=this.doc.context.getObjectRef(e.dict);if(void 0===r)throw Error("Could not find PDFRef for PDFObject");
1if(void 0===(n=this.doc.findPageForAnnotationRef(r)))throw Error("Could not find page for PDFRef "+r)}return n},e.prototype.findWidgetAppearanceRef=function(e,t){var n,r=t.getNormalAppearance();if(r instanceof ut&&(e instanceof hH||e instanceof hG)){var i=e.acroField.getValue(),a=null!=(n=r.get(i))?n:r.get(l7.of("Off"));a instanceof uo&&(r=a)}if(!(r instanceof uo))throw Error("Failed to extract appearance ref for: "+e.getName());return r},e.prototype.findOrCreateNonTerminals=function(e){for(var t=[this.acroForm],n=0,r=e.length;n<r;n++){var i=e[n];if(!i)throw new hm(i);var a=t[0],o=t[1],s=this.findNonTerminal(i,a);if(s)t=s;else{var l=cf.create(this.doc.context);l.setPartialName(i),l.setParent(o);var u=this.doc.context.register(l.dict);a.addField(u),t=[l,u]}}return t},e.prototype.findNonTerminal=function(e,t){for(var n=t instanceof cP?this.acroForm.getFields():cb(t.Kids()),r=0,i=n.length;r<i;r++){var a=n[r],o=a[0],s=a[1];if(o.getPartialName()===e){if(o instanceof cf)return[o,s];throw new hp(e)}}},e.of=function(t,n){return new e(t,n)},e}(),hX=function(e,t,n){return e instanceof cg?h8.of(e,t,n):e instanceof cu?hH.of(e,t,n):e instanceof ch?hZ.of(e,t,n):e instanceof cy?hW.of(e,t,n):e instanceof cm?hK.of(e,t,n):e instanceof cv?hG.of(e,t,n):e instanceof cp?h$.of(e,t,n):void 0},hQ=function(e){if(0===e.length)throw Error("PDF field names must not be empty strings");for(var t=e.split("."),n=0,r=t.length;n<r;n++)if(""===t[n])throw Error('Periods in PDF field names must be separated by at least one character: "'+e+'"');return 1===t.length?{nonTerminal:[],terminal:t[0]}:{nonTerminal:t.slice(0,t.length-1),terminal:t[t.length-1]}},hJ=function(e,t,n){for(var r=e[0],i=e[1],a=t[0],o=t[1],s=r.normalizedEntries(),l=cb("Kids"in s?s.Kids:s.Fields),u=0,c=l.length;u<c;u++)if(l[u][0].getPartialName()===n)throw new hp(n);r.addField(o),a.setParent(i)},h0={A4:[595.28,841.89]};!function(e){e[e.Fastest=1/0]="Fastest",e[e.Fast=1500]="Fast",e[e.Medium=500]="Medium",e[e.Slow=100]="Slow"}(F||(F={}));var h1=function(){function e(e,t,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=t,this.embedder=n}return e.prototype.embed=function(){return o5(this,void 0,void 0,function(){var e,t,n,r;return o4(this,function(i){switch(i.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e=i.sent(),this.doc.catalog.has(l7.of("Names"))||this.doc.catalog.set(l7.of("Names"),this.doc.context.obj({})),(t=this.doc.catalog.lookup(l7.of("Names"),ut)).has(l7.of("EmbeddedFiles"))||t.set(l7.of("EmbeddedFiles"),this.doc.context.obj({})),(n=t.lookup(l7.of("EmbeddedFiles"),ut)).has(l7.of("Names"))||n.set(l7.of("Names"),this.doc.context.obj([])),(r=n.lookup(l7.of("Names"),l0)).push(uS.fromText(this.embedder.fileName)),r.push(e),this.doc.catalog.has(l7.of("AF"))||this.doc.catalog.set(l7.of("AF"),this.doc.context.obj([])),this.doc.catalog.lookup(l7.of("AF"),l0).push(e),this.alreadyEmbedded=!0,i.label=2;case 2:return[2]}})})},e.of=function(t,n,r){return new e(t,n,r)},e}(),h2=function(){function e(e,t,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=t,this.embedder=n}return e.prototype.embed=function(){return o5(this,void 0,void 0,function(){var e,t,n,r,i,a,o;return o4(this,function(s){switch(s.label){case 0:if(this.alreadyEmbedded)return[3,2];return t=(e=this.doc).catalog,n=e.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:r=s.sent(),t.has(l7.of("Names"))||t.set(l7.of("Names"),n.obj({})),(i=t.lookup(l7.of("Names"),ut)).has(l7.of("JavaScript"))||i.set(l7.of("JavaScript"),n.obj({})),(a=i.lookup(l7.of("JavaScript"),ut)).has(l7.of("Names"))||a.set(l7.of("Names"),n.obj([])),(o=a.lookup(l7.of("Names"),l0)).push(uS.fromText(this.embedder.scriptName)),o.push(r),this.alreadyEmbedded=!0,s.label=2;case 2:return[2]}})})},e.of=function(t,n,r){return new e(t,n,r)},e}(),h5=function(){function e(e,t){this.script=e,this.scriptName=t}return e.for=function(t,n){return new e(t,n)},e.prototype.embedIntoContext=function(e,t){return o5(this,void 0,void 0,function(){var n;return o4(this,function(r){return(n=e.obj({Type:"Action",S:"JavaScript",JS:uS.fromText(this.script)}),t)?(e.assign(t,n),[2,t]):[2,e.register(n)]})})},e}();let h4=function(){function e(e,t,n){var r=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var e=[];return r.catalog.Pages().traverse(function(t,n){if(t instanceof up){var i=r.pageMap.get(t);i||(i=h6.of(t,n,r),r.pageMap.set(t,i)),e.push(i)}}),e},this.getOrCreateForm=function(){var e=r.catalog.getOrCreateAcroForm();return hY.of(e,r)},ld(e,"context",[[uf,"PDFContext"]]),ld(t,"ignoreEncryption",["boolean"]),this.context=e,this.catalog=e.lookup(e.trailerInfo.Root),this.isEncrypted=!!e.lookup(e.trailerInfo.Encrypt),this.pageCache=lC.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=lC.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!t&&this.isEncrypted)throw new hl;n&&this.updateInfoDict()}return e.load=function(t,n){return void 0===n&&(n={}),o5(this,void 0,void 0,function(){var r,i,a,o,s,l,u,c,d,h,f;return o4(this,function(p){switch(p.label){case 0:return i=void 0!==(r=n.ignoreEncryption)&&r,o=void 0===(a=n.parseSpeed)?F.Slow:a,l=void 0!==(s=n.throwOnInvali
1dObject)&&s,c=void 0===(u=n.updateMetadata)||u,h=void 0!==(d=n.capNumbers)&&d,ld(t,"pdf",["string",Uint8Array,ArrayBuffer]),ld(i,"ignoreEncryption",["boolean"]),ld(o,"parseSpeed",["number"]),ld(l,"throwOnInvalidObject",["boolean"]),f=sL(t),[4,c$.forBytesWithOptions(f,o,l,h).parseDocument()];case 1:return[2,new e(p.sent(),i,c)]}})})},e.create=function(t){return void 0===t&&(t={}),o5(this,void 0,void 0,function(){var n,r,i,a,o,s;return o4(this,function(l){return r=void 0===(n=t.updateMetadata)||n,i=uf.create(),a=cT.withContext(i),o=i.register(a),s=cI.withContextAndPages(i,o),i.trailerInfo.Root=i.register(s),[2,new e(i,!1,r)]})})},e.prototype.registerFontkit=function(e){this.fontkit=e},e.prototype.getForm=function(){var e=this.formCache.access();return e.hasXFA()&&(console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"),e.deleteXFA()),e},e.prototype.getTitle=function(){var e=this.getInfoDict().lookup(l7.Title);if(e)return h3(e),e.decodeText()},e.prototype.getAuthor=function(){var e=this.getInfoDict().lookup(l7.Author);if(e)return h3(e),e.decodeText()},e.prototype.getSubject=function(){var e=this.getInfoDict().lookup(l7.Subject);if(e)return h3(e),e.decodeText()},e.prototype.getKeywords=function(){var e=this.getInfoDict().lookup(l7.Keywords);if(e)return h3(e),e.decodeText()},e.prototype.getCreator=function(){var e=this.getInfoDict().lookup(l7.Creator);if(e)return h3(e),e.decodeText()},e.prototype.getProducer=function(){var e=this.getInfoDict().lookup(l7.Producer);if(e)return h3(e),e.decodeText()},e.prototype.getCreationDate=function(){var e=this.getInfoDict().lookup(l7.CreationDate);if(e)return h3(e),e.decodeDate()},e.prototype.getModificationDate=function(){var e=this.getInfoDict().lookup(l7.ModDate);if(e)return h3(e),e.decodeDate()},e.prototype.setTitle=function(e,t){ld(e,"title",["string"]);var n=l7.of("Title");this.getInfoDict().set(n,uS.fromText(e)),(null==t?void 0:t.showInWindowTitleBar)&&this.catalog.getOrCreateViewerPreferences().setDisplayDocTitle(!0)},e.prototype.setAuthor=function(e){ld(e,"author",["string"]);var t=l7.of("Author");this.getInfoDict().set(t,uS.fromText(e))},e.prototype.setSubject=function(e){ld(e,"author",["string"]);var t=l7.of("Subject");this.getInfoDict().set(t,uS.fromText(e))},e.prototype.setKeywords=function(e){ld(e,"keywords",[Array]);var t=l7.of("Keywords");this.getInfoDict().set(t,uS.fromText(e.join(" ")))},e.prototype.setCreator=function(e){ld(e,"creator",["string"]);var t=l7.of("Creator");this.getInfoDict().set(t,uS.fromText(e))},e.prototype.setProducer=function(e){ld(e,"creator",["string"]);var t=l7.of("Producer");this.getInfoDict().set(t,uS.fromText(e))},e.prototype.setLanguage=function(e){ld(e,"language",["string"]);var t=l7.of("Lang");this.catalog.set(t,uM.of(e))},e.prototype.setCreationDate=function(e){ld(e,"creationDate",[[Date,"Date"]]);var t=l7.of("CreationDate");this.getInfoDict().set(t,uM.fromDate(e))},e.prototype.setModificationDate=function(e){ld(e,"modificationDate",[[Date,"Date"]]);var t=l7.of("ModDate");this.getInfoDict().set(t,uM.fromDate(e))},e.prototype.getPageCount=function(){return void 0===this.pageCount&&(this.pageCount=this.getPages().length),this.pageCount},e.prototype.getPages=function(){return this.pageCache.access()},e.prototype.getPage=function(e){var t=this.getPages();return lp(e,"index",0,t.length-1),t[e]},e.prototype.getPageIndices=function(){return sT(0,this.getPageCount())},e.prototype.removePage=function(e){var t=this.getPageCount();if(0===this.pageCount)throw new hd;lp(e,"index",0,t-1),this.catalog.removeLeafNode(e),this.pageCount=t-1},e.prototype.addPage=function(e){return ld(e,"page",["undefined",[h6,"PDFPage"],Array]),this.insertPage(this.getPageCount(),e)},e.prototype.insertPage=function(e,t){var n=this.getPageCount();if(lp(e,"index",0,n),ld(t,"page",["undefined",[h6,"PDFPage"],Array]),!t||Array.isArray(t)){var r=Array.isArray(t)?t:h0.A4;(t=h6.create(this)).setSize.apply(t,r)}else if(t.doc!==this)throw new hc;var i=this.catalog.insertLeafNode(t.ref,e);return t.node.setParent(i),this.pageMap.set(t.node,t),this.pageCache.invalidate(),this.pageCount=n+1,t},e.prototype.copyPages=function(t,n){return o5(this,void 0,void 0,function(){var r,i,a,o,s,l,u,c;return o4(this,function(d){switch(d.label){case 0:return ld(t,"srcDoc",[[e,"PDFDocument"]]),ld(n,"indices",[Array]),[4,t.flush()];case 1:for(d.sent(),r=um.for(t.context,this.context),i=t.getPages(),a=Array(n.length),o=0,s=n.length;o<s;o++)l=i[n[o]],u=r.copy(l.node),c=this.context.register(u),a[o]=h6.of(u,c,this);return[2,a]}})})},e.prototype.copy=function(){return o5(this,void 0,void 0,function(){var t,n,r,i;return o4(this,function(a){switch(a.label){case 0:return[4,e.create()];case 1:return[4,(t=a.sent()).copyPages(this,this.getPageIndices())];case 2:for(r=0,i=(n=a.sent()).length;r<i;r++)t.addPage(n[r]);return void 0!==this.getAuthor()&&t.setAuthor(this.getAuthor()),void 0!==this.getCreationDate()&&t.setCreationDate(this.getCreationDate()),void 0!==this.getCreator()&&t.setCreator(this.getCreator()),void 0!==this.getModificationDate()&&t.setModificationDate(this.getModificationDate()),void 0!==this.getProducer()&&t.setProducer(this.getProducer()),void 0!==this.getSubject()&&t.setSubject(this.getSubject()),void 0!==this.getTitle()&&t.setTitle(this.getTitle()),t.defaultWordBreaks=this.defaultWordBreaks,[2,t]}})})},e.prototype.addJavaScript=function(e,t){ld(e,"name",["string"]),ld(t,"script",["string"]);var n=h5.for(t,e),r=this.context.nextRef(),i=h2.of(r,this,n);this.javaScripts.push(i)},e.prototype.attach=function(e,t,n){return void 0===n&&(n={}),o5(this,void 0,void 0,function(){var r,i,a,o;return o4(this,function(s){return ld(e,"attachment",["string",Uint8Array,ArrayBuffer]),ld(t,"name",["string"]),lh(n.mimeType,"mimeType",["string"]),lh(n.description,"description",["string"]),lh(n.creationDate,"options.creationDate",[Date]),lh(n.modificationDate,"options.modificationDate",[Date]),ll(n.afRelationship,"options.afRelationship",y),r=sL(e),i=u_.for(r,t,n),a=this.context.nextRef(),o=h1.of(a,this,i),this.embeddedFiles.push(o),[2]})})},e.prototype.embedFont=function(e,t){return void 0===t&&(t={}),o5(this,void 0,void 0,function(){var n,r,i,a,o,s,l,u,c,d;return o4(this,function(h){switch(h.label){case 0:if(r=void 0!==(n=t.subset)&&n,i=t.customName,a=t.features,ld(e,"font",["string",Uint8Array,ArrayBuffer]),ld(r,"subset",["boolean"]),!ln(e))return[3,1];return o=uA.for(e,i),[3,7];case 1:if(!(e instanceof Uint8Array||e instanceof ArrayBuffer||"string"==typeof e))return[3,6];if(s=sL(e),l=this.assertFontkit(),!r)return[3,3];return[4,uj.for(l,s,i,a)];case 2:return u=h.sent(),[3,5];case 3:return[4,uD.for(l,s,i,a)];case 4:u=h.sent(),h.label=5;case 5:return o=u,[3,7];case 6:throw TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return c=this.context.nextRef(),d=hB.of(c,this,o),this.fonts.push(d),[2,d]}})})},e.prototype.embedStandardFont=function(e,t){if(ld(e,"font",["string"]),!ln(e))throw TypeError("`font` must be one of type `StandardFonts`");var n=uA.for(e,t),r=this.context.nextRef(),i=hB.of(r,this,n);return this.fonts.push(i),i},e.prototype.embedJpg=function(e){return o5(this,void 0,void 0,function(){var t,n,r,i;return o4(this,function(a){switch(a.label){case 0:return ld(e,"jpg",["string",Uint8Array,ArrayBuffer]),t=sL(e),[4,uz.for(t)];case 1:return n=a.sent(),r=this.context.nextRef(),i=hV.of(r,this,n),this.images.push(i),[2,i]}})})},e.prototype.embedPng=function(e){return o5(this,void 0,void 0,function(){var t,n,r,i;return o4(this,function(a){switch(a.label){case 0:return ld(e,"png",["string",Uint8Array,ArrayBuffer]),t=sL(e),[4,uH.for(t)];case 1:return n=a.sent(),r=this.context.nextRef(),i=hV.of(r,this,n),this.images.push(i),[2,i]}})})},e.prototype.embedPdf=function(t,n){return void 0===n&&(n=[0]),o5(this,void 0,void 0,function(){var r,i;return o4(this,function(a){switch(a.label){case 0:if(ld(t,"pdf",["string",Uint8Array,ArrayBuffer,[e,"PDFDocument"]]),ld(n,"indices",[Array]),!(t instanceof e))return[3,1];return r=t,[3,3];case 1:return[4,e.load(t)];case 2:r=a.sent(),a.label=3;case 3:return i=sO(r.getPages(),n),[2,this.embedPages(i)]}})})},e.prototype.embedPage=function(e,t,n){return o5(this,void 0,void 0,function(){return o4(this,function(r){switch(r.label){case 0:return ld(e,"page",[[h6,"PDFPage"]]),[4,this.embedPages([e],[t],[n])];
1case 1:return[2,r.sent()[0]]}})})},e.prototype.embedPages=function(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=[]),o5(this,void 0,void 0,function(){var r,i,a,o,s,l,u,c,d,h,f,p,m;return o4(this,function(g){switch(g.label){case 0:if(0===e.length)return[2,[]];for(r=0,i=e.length-1;r<i;r++)if(a=e[r],o=e[r+1],a.node.context!==o.node.context)throw new lT;l=(s=e[0].node.context)===this.context?function(e){return e}:um.for(s,this.context).copy,u=Array(e.length),r=0,i=e.length,g.label=1;case 1:if(!(r<i))return[3,4];return c=l(e[r].node),d=t[r],h=n[r],[4,u9.for(c,d,h)];case 2:f=g.sent(),p=this.context.nextRef(),u[r]=hz.of(p,this,f),g.label=3;case 3:return r++,[3,1];case 4:return(m=this.embeddedPages).push.apply(m,u),[2,u]}})})},e.prototype.flush=function(){return o5(this,void 0,void 0,function(){return o4(this,function(e){switch(e.label){case 0:return[4,this.embedAll(this.fonts)];case 1:return e.sent(),[4,this.embedAll(this.images)];case 2:return e.sent(),[4,this.embedAll(this.embeddedPages)];case 3:return e.sent(),[4,this.embedAll(this.embeddedFiles)];case 4:return e.sent(),[4,this.embedAll(this.javaScripts)];case 5:return e.sent(),[2]}})})},e.prototype.save=function(e){return void 0===e&&(e={}),o5(this,void 0,void 0,function(){var t,n,r,i,a,o,s,l,u;return o4(this,function(c){switch(c.label){case 0:return n=void 0===(t=e.useObjectStreams)||t,i=void 0===(r=e.addDefaultPage)||r,o=void 0===(a=e.objectsPerTick)?50:a,l=void 0===(s=e.updateFieldAppearances)||s,ld(n,"useObjectStreams",["boolean"]),ld(i,"addDefaultPage",["boolean"]),ld(o,"objectsPerTick",["number"]),ld(l,"updateFieldAppearances",["boolean"]),i&&0===this.getPageCount()&&this.addPage(),l&&(u=this.formCache.getValue())&&u.updateFieldAppearances(),[4,this.flush()];case 1:return c.sent(),[2,(n?uE:uw).forContext(this.context,o).serializeToBuffer()]}})})},e.prototype.saveAsBase64=function(e){return void 0===e&&(e={}),o5(this,void 0,void 0,function(){var t,n,r,i;return o4(this,function(a){switch(a.label){case 0:return n=void 0!==(t=e.dataUri)&&t,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(e,["dataUri"]),ld(n,"dataUri",["boolean"]),[4,this.save(r)];case 1:return i=o7(a.sent()),[2,n?"data:application/pdf;base64,"+i:i]}})})},e.prototype.findPageForAnnotationRef=function(e){for(var t=this.getPages(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.node.Annots();if((null==a?void 0:a.indexOf(e))!==void 0)return i}},e.prototype.embedAll=function(e){return o5(this,void 0,void 0,function(){var t,n;return o4(this,function(r){switch(r.label){case 0:t=0,n=e.length,r.label=1;case 1:if(!(t<n))return[3,4];return[4,e[t].embed()];case 2:r.sent(),r.label=3;case 3:return t++,[3,1];case 4:return[2]}})})},e.prototype.updateInfoDict=function(){var e="pdf-lib (https://github.com/Hopding/pdf-lib)",t=new Date,n=this.getInfoDict();this.setProducer(e),this.setModificationDate(t),n.get(l7.of("Creator"))||this.setCreator(e),n.get(l7.of("CreationDate"))||this.setCreationDate(t)},e.prototype.getInfoDict=function(){var e=this.context.lookup(this.context.trailerInfo.Info);if(e instanceof ut)return e;var t=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(t),t},e.prototype.assertFontkit=function(){if(!this.fontkit)throw new hu;return this.fontkit},e}();function h3(e){if(!(e instanceof uS)&&!(e instanceof uM))throw new lA([uS,uM],e)}!function(e){e.Normal="Normal",e.Multiply="Multiply",e.Screen="Screen",e.Overlay="Overlay",e.Darken="Darken",e.Lighten="Lighten",e.ColorDodge="ColorDodge",e.ColorBurn="ColorBurn",e.HardLight="HardLight",e.SoftLight="SoftLight",e.Difference="Difference",e.Exclusion="Exclusion"}(z||(z={}));let h6=function(){function e(e,t,n){this.fontSize=24,this.fontColor=dM(0,0,0),this.lineHeight=24,this.x=0,this.y=0,ld(e,"leafNode",[[up,"PDFPageLeaf"]]),ld(t,"ref",[[uo,"PDFRef"]]),ld(n,"doc",[[h4,"PDFDocument"]]),this.node=e,this.ref=t,this.doc=n}return e.prototype.setRotation=function(e){var t=c4(e);lg(t,"degreesAngle",90),this.node.set(l7.of("Rotate"),this.doc.context.obj(t))},e.prototype.getRotation=function(){var e=this.node.Rotate();return cJ(e?e.asNumber():0)},e.prototype.setSize=function(e,t){ld(e,"width",["number"]),ld(t,"height",["number"]);var n=this.getMediaBox();this.setMediaBox(n.x,n.y,e,t);var r=this.getCropBox(),i=this.getBleedBox(),a=this.getTrimBox(),o=this.getArtBox(),s=this.node.CropBox(),l=this.node.BleedBox(),u=this.node.TrimBox(),c=this.node.ArtBox();s&&lr(r,n)&&this.setCropBox(n.x,n.y,e,t),l&&lr(i,n)&&this.setBleedBox(n.x,n.y,e,t),u&&lr(a,n)&&this.setTrimBox(n.x,n.y,e,t),c&&lr(o,n)&&this.setArtBox(n.x,n.y,e,t)},e.prototype.setWidth=function(e){ld(e,"width",["number"]),this.setSize(e,this.get
1Size().height)},e.prototype.setHeight=function(e){ld(e,"height",["number"]),this.setSize(this.getSize().width,e)},e.prototype.setMediaBox=function(e,t,n,r){ld(e,"x",["number"]),ld(t,"y",["number"]),ld(n,"width",["number"]),ld(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(l7.MediaBox,i)},e.prototype.setCropBox=function(e,t,n,r){ld(e,"x",["number"]),ld(t,"y",["number"]),ld(n,"width",["number"]),ld(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(l7.CropBox,i)},e.prototype.setBleedBox=function(e,t,n,r){ld(e,"x",["number"]),ld(t,"y",["number"]),ld(n,"width",["number"]),ld(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(l7.BleedBox,i)},e.prototype.setTrimBox=function(e,t,n,r){ld(e,"x",["number"]),ld(t,"y",["number"]),ld(n,"width",["number"]),ld(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(l7.TrimBox,i)},e.prototype.setArtBox=function(e,t,n,r){ld(e,"x",["number"]),ld(t,"y",["number"]),ld(n,"width",["number"]),ld(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);
1this.node.set(l7.ArtBox,i)},e.prototype.getSize=function(){var e=this.getMediaBox();return{width:e.width,height:e.height}},e.prototype.getWidth=function(){return this.getSize().width},e.prototype.getHeight=function(){return this.getSize().height},e.prototype.getMediaBox=function(){return this.node.MediaBox().asRectangle()},e.prototype.getCropBox=function(){var e,t=this.node.CropBox();return null!=(e=null==t?void 0:t.asRectangle())?e:this.getMediaBox()},e.prototype.getBleedBox=function(){var e,t=this.node.BleedBox();return null!=(e=null==t?void 0:t.asRectangle())?e:this.getCropBox()},e.prototype.getTrimBox=function(){var e,t=this.node.TrimBox();return null!=(e=null==t?void 0:t.asRectangle())?e:this.getCropBox()},e.prototype.getArtBox=function(){var e,t=this.node.ArtBox();return null!=(e=null==t?void 0:t.asRectangle())?e:this.getCropBox()},e.prototype.translateContent=function(e,t){ld(e,"x",["number"]),ld(t,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(dh(),dr(e,t)),r=this.doc.context.register(n),i=this.createContentStream(df()),a=this.doc.context.register(i);this.node.wrapContentStreams(r,a)},e.prototype.scale=function(e,t){ld(e,"x",["number"]),ld(t,"y",["number"]),this.setSize(this.getWidth()*e,this.getHeight()*t),this.scaleContent(e,t),this.scaleAnnotations(e,t)},e.prototype.scaleContent=function(e,t){ld(e,"x",["number"]),ld(t,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(dh(),di(e,t)),r=this.doc.context.register(n),i=this.createContentStream(df()),a=this.doc.context.register(i);this.node.wrapContentStreams(r,a)},e.prototype.scaleAnnotations=function(e,t){ld(e,"x",["number"]),ld(t,"y",["number"]);var n=this.node.Annots();if(n)for(var r=0;r<n.size();r++){var i=n.lookup(r);i instanceof ut&&this.scaleAnnot(i,e,t)}},e.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},e.prototype.setFont=function(e){ld(e,"font",[[hB,"PDFFont"]]),this.font=e,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},e.prototype.setFontSize=function(e){ld(e,"fontSize",["number"]),this.fontSize=e},e.prototype.setFontColor=function(e){ld(e,"fontColor",[[Object,"Color"]]),this.fontColor=e},e.prototype.setLineHeight=function(e){ld(e,"lineHeight",["number"]),this.lineHeight=e},e.prototype.getPosition=function(){return{x:this.x,y:this.y}},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.moveTo=function(e,t){ld(e,"x",["number"]),ld(t,"y",["number"]),this.x=e,this.y=t},e.prototype.moveDown=function(e){ld(e,"yDecrease",["number"]),this.y-=e},e.prototype.moveUp=function(e){ld(e,"yIncrease",["number"]),this.y+=e},e.prototype.moveLeft=function(e){ld(e,"xDecrease",["number"]),this.x-=e},e.prototype.moveRight=function(e){ld(e,"xIncrease",["number"]),this.x+=e},e.prototype.pushOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];lf(e,"operator",[[us,"PDFOperator"]]);var n=this.getContentStream();n.push.apply(n,e)},e.prototype.drawText=function(e,t){void 0===t&&(t={}),ld(e,"text",["string"]),lh(t.color,"options.color",[[Object,"Color"]]),lm(t.opacity,"opacity.opacity",0,1),lh(t.font,"options.font",[[hB,"PDFFont"]]),lh(t.size,"options.size",["number"]),lh(t.rotate,"options.rotate",[[Object,"Rotation"]]),lh(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),lh(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),lh(t.x,"options.x",["number"]),lh(t.y,"options.y",["number"]),lh(t.lineHeight,"options.lineHeight",["number"]),lh(t.maxWidth,"options.maxWidth",["number"]),lh(t.wordBreaks,"options.wordBreaks",[Array]),ll(t.blendMode,"options.blendMode",z);for(var n,r,i,a,o,s,l,u=this.setOrEmbedFont(t.font),c=u.oldFont,d=u.newFont,h=u.newFontKey,f=t.size||this.fontSize,p=t.wordBreaks||this.doc.defaultWordBreaks,m=void 0===t.maxWidth?sh(su(e)):sv(e,p,t.maxWidth,function(e){return d.widthOfTextAtSize(e,f)}),g=Array(m.length),v=0,y=m.length;v<y;v++)g[v]=d.encodeText(m[v]);var b=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),w=this.getContentStream();w.push.apply(w,d1(g,{color:null!=(n=t.color)?n:this.fontColor,font:h,size:f,rotate:null!=(r=t.rotate)?r:cJ(0),xSkew:null!=(i=t.xSkew)?i:cJ(0),ySkew:null!=(a=t.ySkew)?a:cJ(0),x:null!=(o=t.x)?o:this.x,y:null!=(s=t.y)?s:this.y,lineHeight:null!=(l=t.lineHeight)?l:this.lineHeight,graphicsState:b})),t.font&&(c?this.setFont(c):this.resetFont())},e.prototype.drawImage=function(e,t){void 0===t&&(t={}),ld(e,"image",[[hV,"PDFImage"]]),lh(t.x,"options.x",["number"]),lh(t.y,"options.y",["number"]),lh(t.width,"options.width",["number"]),lh(t.height,"options.height",["number"]),lh(t.rotate,"options.rotate",[[Object,"Rotation"]]),lh(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),lh(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),lm(t.opacity,"opacity.opacity",0,1),ll(t.blendMode,"options.blendMode",z);var n,r,i,a,o,s,l,u=this.node.newXObject("Image",e.ref),c=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),d=this.getContentStream();d.push.apply(d,d2(u,{x:null!=(n=t.x)?n:this.x,y:null!=(r=t.y)?r:this.y,width:null!=(i=t.width)?i:e.size().width,height:null!=(a=t.height)?a:e.size().height,rotate:null!=(o=t.rotate)?o:cJ(0),xSkew:null!=(s=t.xSkew)?s:cJ(0),ySkew:null!=(l=t.ySkew)?l:cJ(0),graphicsState:c}))},e.prototype.drawPage=function(e,t){void 0===t&&(t={}),ld(e,"embeddedPage",[[hz,"PDFEmbeddedPage"]]),lh(t.x,"options.x",["number"]),lh(t.y,"options.y",["number"]),lh(t.xScale,"options.xScale",["
1number"]),lh(t.yScale,"options.yScale",["number"]),lh(t.width,"options.width",["number"]),lh(t.height,"options.height",["number"]),lh(t.rotate,"options.rotate",[[Object,"Rotation"]]),lh(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),lh(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),lm(t.opacity,"opacity.opacity",0,1),ll(t.blendMode,"options.blendMode",z);var n,r,i,a,o,s,l=this.node.newXObject("EmbeddedPdfPage",e.ref),u=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),c=void 0!==t.width?t.width/e.width:void 0!==t.xScale?t.xScale:1,d=void 0!==t.height?t.height/e.height:void 0!==t.yScale?t.yScale:1,h=this.getContentStream();h.push.apply(h,(n={x:null!=(r=t.x)?r:this.x,y:null!=(i=t.y)?i:this.y,xScale:c,yScale:d,rotate:null!=(a=t.rotate)?a:cJ(0),xSkew:null!=(o=t.xSkew)?o:cJ(0),ySkew:null!=(s=t.ySkew)?s:cJ(0),graphicsState:u},[dh(),n.graphicsState&&dd(n.graphicsState),dr(n.x,n.y),da(c5(n.rotate)),di(n.xScale,n.yScale),dl(c5(n.xSkew),c5(n.ySkew)),dI(l),df()].filter(Boolean)))},e.prototype.drawSvgPath=function(e,t){void 0===t&&(t={}),ld(e,"path",["string"]),lh(t.x,"options.x",["number"]),lh(t.y,"options.y",["number"]),lh(t.scale,"options.scale",["number"]),lh(t.rotate,"options.rotate",[[Object,"Rotation"]]),lh(t.borderWidth,"options.borderWidth",["number"]),lh(t.color,"options.color",[[Object,"Color"]]),lm(t.opacity,"opacity.opacity",0,1),lh(t.borderColor,"options.borderColor",[[Object,"Color"]]),lh(t.borderDashArray,"options.borderDashArray",[Array]),lh(t.borderDashPhase,"options.borderDashPhase",["number"]),ll(t.borderLineCap,"options.borderLineCap",O),lm(t.borderOpacity,"options.borderOpacity",0,1),ll(t.blendMode,"options.blendMode",z);var n,r,i,a,o,s,l,u,c,d=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.borderColor=dM(0,0,0));var h=this.getContentStream();h.push.apply(h,d7(e,{x:null!=(n=t.x)?n:this.x,y:null!=(r=t.y)?r:this.y,scale:t.scale,rotate:null!=(i=t.rotate)?i:cJ(0),color:null!=(a=t.color)?a:void 0,borderColor:null!=(o=t.borderColor)?o:void 0,borderWidth:null!=(s=t.borderWidth)?s:0,borderDashArray:null!=(l=t.borderDashArray)?l:void 0,borderDashPhase:null!=(u=t.borderDashPhase)?u:void 0,borderLineCap:null!=(c=t.borderLineCap)?c:void 0,graphicsState:d}))},e.prototype.drawLine=function(e){ld(e.start,"options.start",[[Object,"{ x: number, y: number }"]]),ld(e.end,"options.end",[[Object,"{ x: number, y: number }"]]),ld(e.start.x,"options.start.x",["number"]),ld(e.start.y,"options.start.y",["number"]),ld(e.end.x,"options.end.x",["number"]),ld(e.end.y,"options.end.y",["number"]),lh(e.thickness,"options.thickness",["number"]),lh(e.color,"options.color",[[Object,"Color"]]),lh(e.dashArray,"options.dashArray",[Array]),lh(e.dashPhase,"options.dashPhase",["number"]),ll(e.lineCap,"options.lineCap",O),lm(e.opacity,"opacity.opacity",0,1),ll(e.blendMode,"options.blendMode",z);var t,n,r,i,a,o=this.maybeEmbedGraphicsState({borderOpacity:e.opacity,blendMode:e.blendMode});"color"in e||(e.color=dM(0,0,0));var s=this.getContentStream();s.push.apply(s,d5({start:e.start,end:e.end,thickness:null!=(t=e.thickness)?t:1,color:null!=(n=e.color)?n:void 0,dashArray:null!=(r=e.dashArray)?r:void 0,dashPhase:null!=(i=e.dashPhase)?i:void 0,lineCap:null!=(a=e.lineCap)?a:void 0,graphicsState:o}))},e.prototype.drawRectangle=function(e){void 0===e&&(e={}),lh(e.x,"options.x",["number"]),lh(e.y,"options.y",["number"]),lh(e.width,"options.width",["number"]),lh(e.height,"options.height",["number"]),lh(e.rotate,"options.rotate",[[Object,"Rotation"]]),lh(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),lh(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),lh(e.borderWidth,"options.borderWidth",["number"]),lh(e.color,"options.color",[[Object,"Color"]]),lm(e.opacity,"opacity.opacity",0,1),lh(e.borderColor,"options.borderColor",[[Object,"Color"]]),lh(e.borderDashArray,"options.borderDashArray",[Array]),lh(e.borderDashPhase,"options.borderDashPhase",["number"]),ll(e.borderLineCap,"options.borderLineCap",O),lm(e.borderOpacity,"options.borderOpacity",0,1),ll(e.blendMode,"options.blendMode",z);var t,n,r,i,a,o,s,l,u,c,d,h,f,p=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.color=dM(0,0,0));var m=this.getContentStream();m.push.apply(m,d4({x:null!=(t=e.x)?t:this.x,y:null!=(n=e.y)?n:this.y,width:null!=(r=e.width)?r:150,height:null!=(i=e.height)?i:100,rotate:null!=(a=e.rotate)?a:cJ(0),xSkew:null!=(o=e.xSkew)?o:cJ(0),ySkew:null!=(s=e.ySkew)?s:cJ(0),borderWidth:null!=(l=e.borderWidth)?l:0,color:null!=(u=e.color)?u:void 0,borderColor:null!=(c=e.borderColor)?c:void 0,borderDashArray:null!=(d=e.borderDashArray)?d:void 0,borderDashPhase:null!=(h=e.borderDashPhase)?h:void 0,graphicsState:p,borderLineCap:null!=(f=e.borderLineCap)?f:void 0}))},e.prototype.drawSquare=function(e){void 0===e&&(e={});var t=e.size;lh(t,"size",["number"]),this.drawRectangle(o2(o2({},e),{width:t,height:t}))},e.prototype.drawEllipse=function(e){void 0===e&&(e={}),lh(e.x,"options.x",["number"]),lh(e.y,"options.y",["number"]),lh(e.xScale,"options.xScale",["
1number"]),lh(e.yScale,"options.yScale",["number"]),lh(e.rotate,"options.rotate",[[Object,"Rotation"]]),lh(e.color,"options.color",[[Object,"Color"]]),lm(e.opacity,"opacity.opacity",0,1),lh(e.borderColor,"options.borderColor",[[Object,"Color"]]),lm(e.borderOpacity,"options.borderOpacity",0,1),lh(e.borderWidth,"options.borderWidth",["number"]),lh(e.borderDashArray,"options.borderDashArray",[Array]),lh(e.borderDashPhase,"options.borderDashPhase",["number"]),ll(e.borderLineCap,"options.borderLineCap",O),ll(e.blendMode,"options.blendMode",z);var t,n,r,i,a,o,s,l,u,c,d,h=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.color=dM(0,0,0));var f=this.getContentStream();f.push.apply(f,d9({x:null!=(t=e.x)?t:this.x,y:null!=(n=e.y)?n:this.y,xScale:null!=(r=e.xScale)?r:100,yScale:null!=(i=e.yScale)?i:100,rotate:null!=(a=e.rotate)?a:void 0,color:null!=(o=e.color)?o:void 0,borderColor:null!=(s=e.borderColor)?s:void 0,borderWidth:null!=(l=e.borderWidth)?l:0,borderDashArray:null!=(u=e.borderDashArray)?u:void 0,borderDashPhase:null!=(c=e.borderDashPhase)?c:void 0,borderLineCap:null!=(d=e.borderLineCap)?d:void 0,graphicsState:h}))},e.prototype.drawCircle=function(e){void 0===e&&(e={});var t=e.size,n=void 0===t?100:t;lh(n,"size",["number"]),this.drawEllipse(o2(o2({},e),{xScale:n,yScale:n}))},e.prototype.setOrEmbedFont=function(e){var t=this.font,n=this.fontKey;return e?this.setFont(e):this.getFont(),{oldFont:t,oldFontKey:n,newFont:this.font,newFontKey:this.fontKey}},e.prototype.getFont=function(){if(!this.font||!this.fontKey){var e=this.doc.embedStandardFont(R.Helvetica);this.setFont(e)}return[this.font,this.fontKey]},e.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},e.prototype.getContentStream=function(e){return void 0===e&&(e=!0),e&&this.contentStream||(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef)),this.contentStream},e.prototype.createContentStream=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.doc.context.obj({});return uc.of(n,e)},e.prototype.maybeEmbedGraphicsState=function(e){var t=e.opacity,n=e.borderOpacity,r=e.blendMode;if(void 0!==t||void 0!==n||void 0!==r){var i=this.doc.context.obj({Type:"ExtGState",ca:t,CA:n,BM:r});return this.node.newExtGState("GS",i)}},e.prototype.scaleAnnot=function(e,t,n){for(var r=["RD","CL","Vertices","QuadPoints","L","Rect"],i=0,a=r.length;i<a;i++){var o=e.lookup(l7.of(r[i]));o instanceof l0&&o.scalePDFNumbers(t,n)}var s=e.lookup(l7.of("InkList"));if(s instanceof l0)for(var i=0,a=s.size();i<a;i++){var l=s.lookup(i);l instanceof l0&&l.scalePDFNumbers(t,n)}},e.of=function(t,n,r){return new e(t,n,r)},e.create=function(t){ld(t,"doc",[[h4,"PDFDocument"]]);var n=uo.of(-1),r=up.withContextAndParent(t.context,n),i=t.context.register(r);return new e(r,i,t)},e}(),h8=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return ld(t,"acroButton",[[cg,"PDFAcroPushButton"]]),i.acroField=t,i}return o1(t,e),t.prototype.setImage=function(e,t){void 0===t&&(t=_.Center);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r],o=this.createImageAppearanceStream(a,e,t);this.updateWidgetAppearances(a,{normal:o})}this.markAsClean()},t.prototype.setFontSize=function(e){ly(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.addToPage=function(e,t,n){lh(e,"text",["string"]),lh(t,"page",[[h6,"PDFPage"]]),hU(n);var r,i,a,o,s,l,u,c,d,h,f,p=this.createWidget({x:(null!=(r=null==n?void 0:n.x)?r:0)-(null!=(i=null==n?void 0:n.borderWidth)?i:0)/2,y:(null!=(a=null==n?void 0:n.y)?a:0)-(null!=(o=null==n?void 0:n.borderWidth)?o:0)/2,width:null!=(s=null==n?void 0:n.width)?s:100,height:null!=(l=null==n?void 0:n.height)?l:50,textColor:null!=(u=null==n?void 0:n.textColor)?u:dM(0,0,0),backgroundColor:null!=(c=null==n?void 0:n.backgroundColor)?c:dM(.75,.75,.75),borderColor:null==n?void 0:n.borderColor,borderWidth:null!=(d=null==n?void 0:n.borderWidth)?d:0,rotate:null!=(h=null==n?void 0:n.rotate)?h:cJ(0),caption:e,hidden:null==n?void 0:n.hidden,page:t.ref}),m=this.doc.context.register(p.dict);this.acroField.addWidget(m);var g=null!=(f=null==n?void 0:n.font)?f:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,g),t.node.addAnnot(m)},t.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++)if(!((null==(e=t[n].getAppearances())?void 0:e.normal)instanceof un))return!0;return!1},t.prototype.defaultUpdateAppearances=function(e){ld(e,"font",[[hB,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){ld(e,"font",[[hB,"PDFFont"]]),lh(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r];this.updateWidgetAppearance(a,e,t)}},t.prototype.updateWidgetAppearance=function(e,t,n){var r=hN((null!=n?n:hj)(this,e,t));this.updateWidgetAppearanceWithFont(e,t,r)},t.of=function(e,n,r){return new t(e,n,r)},t}(hq);var h9=n(66177);let h7=e=>{let t=(0,h9.lq)(e,"FR");return t?(0,h9.n4)(t.number):null};async function fe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=await t(e);if(r.status===ec.OrderStatus.success||r.status===ec.OrderStatus.refused||r.status===ec.OrderStatus.canceled||r.status===ec.OrderStatus.error)return r;if(n>=6)throw Error("Payment validation timeout");return await new Promise(e=>setTimeout(e,5e3)),fe(e,t,n+1)}var ft=n(65479),fn=n.n(ft);let fr=(e,t)=>{let n=t.minQuantity||1,r=t.maxQuantity||1/0;return e>=n&&e<=r},fi=e=>{let t=e.map(e=>{let{pricing:t,quantity:n,appliedDiscountCodes:r}=e;return((e,t,n)=>{var r,i,a,o;let s=Array.from({length:t},(t,r)=>((e,t,n)=>{if(!e.isPaid)return{basePrice:0,vatRate:0,appliedDegressivePrice:null,degressiveDiscountAmount:0,priceAfterDegressive:0,appliedDiscountCodes:[],codeDiscountAmount:0,finalPrice
1:0};if(!e.price)throw Error("Group pricing price is required");let r=e.price.priceTTC,i=e.price.vatRate,{appliedDegressivePrice:a,degressiveDiscountAmount:o}=((e,t,n)=>{let r=((e,t)=>{if(!t||0===t.length)return null;for(let n of t)if(fr(e,n))return n;return null})(t,n);if(!r)return{appliedDegressivePrice:null,degressiveDiscountAmount:0};let i=td(e,r.discount);return{appliedDegressivePrice:r,degressiveDiscountAmount:i}})(r,t,e.degressivePrices),s=Math.max(0,r-o),{codeDiscountAmount:l,finalPrice:u,appliedDiscountCodes:c}=((e,t)=>{let n=e,r=0,i=[];for(let e of t)if("euro"===e.discount.type){let t=td(n,e.discount);t>0&&(r+=t,n=Math.max(0,n-t),i.push({discountCode:e,discountAmount:t}))}for(let e of t)if("percentage"===e.discount.type){let t=td(n,e.discount);t>0&&(r+=t,n=Math.max(0,n-t),i.push({discountCode:e,discountAmount:t}))}return{codeDiscountAmount:r,finalPrice:Math.max(0,n),appliedDiscountCodes:i}})(s,((e,t)=>{let n=(e=>{var t,n;return[...e.discountCodes.map(e=>{let{discountCode:t}=e;return t}),...null!=(n=null==(t=e.ticketing)?void 0:t.eventDiscountCodes)?n:[]].filter((e,t,n)=>n.findIndex(t=>t.id===e.id)===t)})(t);return e.filter(e=>n.some(t=>t.id===e.id))})(n,e));return{basePrice:r,vatRate:i,appliedDegressivePrice:a,degressiveDiscountAmount:o,priceAfterDegressive:s,appliedDiscountCodes:c,codeDiscountAmount:l,finalPrice:u}})(e,r+1,n)),l=null!=(a=null==(r=e.price)?void 0:r.priceTTC)?a:0,u=null!=(o=null==(i=e.price)?void 0:i.vatRate)?o:0,c=fn()(s,"degressiveDiscountAmount"),d=fn()(s,"codeDiscountAmount"),h=fn()(s,"finalPrice"),f=h/t;return{items:s,pricingId:e.id,quantity:t,baseUnitPrice:l,vatRate:u,degressiveDiscountAmount:c,codeDiscountAmount:d,finalUnitPrice:f,finalPrice:h}})(t,n,r)}),n=t.map(e=>({...e,unitExclTaxesPrice:tc(e.baseUnitPrice,e.vatRate),degressiveDiscountExclTaxesAmount:tc(e.degressiveDiscountAmount,e.vatRate),codeDiscountExclTaxesAmount:tc(e.codeDiscountAmount,e.vatRate),finalExclTaxesPrice:tc(e.finalPrice,e.vatRate)})),r=fn()(t,e=>{let{baseUnitPrice:t,quantity:n}=e;return t*n}),i=fn()(n,e=>{let{unitExclTaxesPrice:t,quantity:n}=e;return t*n}),a=fn()(t,"degressiveDiscountAmount"),o=fn()(n,"degressiveDiscountExclTaxesAmount"),s=fn()(t,"codeDiscountAmount"),l=fn()(n,"codeDiscountExclTaxesAmount"),u=fn()(t,"finalPrice");return{items:t,totalBasePrice:r,totalBasePriceExclTaxes:i,degressiveDiscountAmount:a,degressiveDiscountAmountExclTaxes:o,codeDiscountAmount:s,codeDiscountAmountExclTaxes:l,finalPrice:u,finalExclTaxesPrice:fn()(n,"finalExclTaxesPrice")}};function fa(e,t){return t.toLowerCase().includes(e.toLowerCase())}function fo(e,t){let n=fs(e.trim().toLowerCase());return t.some(e=>e.trim().toLowerCase().includes(n))}let fs=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/_/g," ").toLowerCase(),fl=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"s\xe9lectionn\xe9",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"s\xe9lectionn\xe9s";return 0===e?t:"".concat(e," ").concat(1===e?n:r)},fu=e=>{let{firstName:t,lastName:n}=e;return[n,t].filter(e=>!!e).join(" ")},fc=e=>{switch(e){case ec.Role.acExpo:return"AC Expo";case ec.Role.organiser:return"Organisateur";case ec.Role.exhibitor:return"Exposant";case ec.Role.tourismOperator:return"Op\xe9rateur de tourisme";case ec.Role.placeManager:return"Gestionnaire de site";default:return"R\xf4le inconnu"}}},19083:(e,t,n)=>{"use strict";n.d(t,{uB:()=>H,xL:()=>G,L$:()=>$,G7:()=>Z,h_:()=>K,oI:()=>W});var r=n(6029),i=n(55729),a=n(50016),o=/[\\\/_+.#"@\[\(\{&]/,s=/[\\\/_+.#"@\[\(\{&]/g,l=/[\s-]/,u=/[\s-]/g;function c(e){return e.toLowerCase().replace(u," ")}var d=n(27780),h=n(19639),f=n(67913),p=n(40041),m='[cmdk-group=""]',g='[cmdk-group-items=""]',v='[cmdk-item=""]',y=`${v}:not([aria-disabled="true"])`,b="cmdk-item-select",w="data-value",x=(e,t,n)=>(function(e,t,n){return function e(t,n,r,i,a,c,d){if(c===n.length)return a===t.length?1:.99;var h=`${a},${c}`;if(void 0!==d[h])return d[h];for(var f,p,m,g,v=i.charAt(c),y=r.indexOf(v,a),b=0;y>=0;)(f=e(t,n,r,i,y+1,c+1,d))>b&&(y===a?f*=1:o.test(t.charAt(y-1))?(f*=.8,(m=t.slice(a,y-1).match(s))&&a>0&&(f*=Math.pow(.999,m.length))):l.test(t.charAt(y-1))?(f*=.9,(g=t.slice(a,y-1).match(u))&&a>0&&(f*=Math.pow(.999,g.length))):(f*=.17,a>0&&(f*=Math.pow(.999,y-a))),t.charAt(y)!==n.charAt(c)&&(f*=.9999)),(f<.1&&r.charAt(y-1)===i.charAt(c+1)||i.charAt(c+1)===i.charAt(c)&&r.charAt(y-1)!==i.charAt(c))&&.1*(p=e(t,n,r,i,y+1,c+2,d))>f&&(f=.1*p),f>b&&(b=f),y=r.indexOf(v,y+1);return d[h]=b,b}(e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,t,c(e),c(t),0,0,{})})(e,t,n),C=i.createContext(void 0),E=()=>i.useContext(C),S=i.createContext(void 0),A=()=>i.useContext(S),k=i.createContext(void 0),N=i.forwardRef((e,t)=>
1{let n=R(()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=R(()=>new Set),a=R(()=>new Map),o=R(()=>new Map),s=R(()=>new Set),l=j(e),{label:u,children:c,value:d,onValueChange:p,filter:E,shouldFilter:A,loop:k,disablePointerSelection:N=!1,vimBindings:P=!0,...I}=e,T=(0,f.B)(),O=(0,f.B)(),L=(0,f.B)(),M=i.useRef(null),D=B();_(()=>{if(void 0!==d){let e=d.trim();n.current.value=e,F.emit()}},[d]),_(()=>{D(6,G)},[]);let F=i.useMemo(()=>({subscribe:e=>(s.current.add(e),()=>s.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,o,s;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)W(),H(),D(1,Z);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(L);e?e.focus():null==(i=document.getElementById(T))||i.focus()}if(D(7,()=>{var e;n.current.selectedItemId=null==(e=$())?void 0:e.id,F.emit()}),r||D(5,G),(null==(a=l.current)?void 0:a.value)!==void 0){null==(s=(o=l.current).onValueChange)||s.call(o,null!=t?t:"");return}}F.emit()}},emit:()=>{s.current.forEach(e=>e())}}),[]),z=i.useMemo(()=>({value:(e,t,r)=>{var i;t!==(null==(i=o.current.get(e))?void 0:i.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,q(t,r)),D(2,()=>{H(),F.emit()}))},item:(e,t)=>(r.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),D(3,()=>{W(),H(),n.current.value||Z(),F.emit()}),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=$();D(4,()=>{W(),(null==t?void 0:t.getAttribute("id"))===e&&Z(),F.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>l.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>l.current.disablePointerSelection,listId:T,inputId:L,labelId:O,listInnerRef:M}),[]);function q(e,t){var r,i;let a=null!=(i=null==(r=l.current)?void 0:r.filter)?i:x;return e?a(e,n.current.search,t):0}function H(){if(!n.current.search||!1===l.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=a.current.get(n),i=0;r.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([n,i])});let r=M.current;K().sort((t,n)=>{var r,i;let a=t.getAttribute("id"),o=n.getAttribute("id");return(null!=(r=e.get(o))?r:0)-(null!=(i=e.get(a))?i:0)}).forEach(e=>{let t=e.closest(g);t?t.appendChild(e.parentElement===t?e:e.closest(`${g} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${g} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let n=null==(t=M.current)?void 0:t.querySelector(`${m}[${w}="${encodeURIComponent(e[0])}"]`);null==n||n.parentElement.appendChild(n)})}function Z(){let e=K().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(w);F.setState("value",t||void 0)}function W(){var e,t,i,s;if(!n.current.search||!1===l.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let u=0;for(let a of r.current){let r=q(null!=(t=null==(e=o.current.get(a))?void 0:e.value)?t:"",null!=(s=null==(i=o.current.get(a))?void 0:i.keywords)?s:[]);n.current.filtered.items.set(a,r),r>0&&u++}for(let[e,t]of a.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=u}function G(){var e,t,n;let r=$();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(m))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function $(){var e;return null==(e=M.current)?void 0:e.querySelector(`${v}[aria-selected="true"]`)}function K(){var e;return Array.from((null==(e=M.current)?void 0:e.querySelectorAll(y))||[])}function Y(e){let t=K()[e];t&&F.setState("value",t.getAttribute(w))}function X(e){var t;let n=$(),r=K(),i=r.findIndex(e=>e===n),a=r[i+e];null!=(t=l.current)&&t.loop&&(a=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),a&&F.setState("value",a.getAttribute(w))}function Q(e){let t=$(),n=null==t?void 0:t.closest(m),r;for(;n&&!r;)r=null==(n=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(n,m):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(n,m))?void 0:n.querySelector(y);r?F.setState("value",r.getAttribute(w)):X(e)}let J=()=>Y(K().length-1),ee=e=>
1{e.preventDefault(),e.metaKey?J():e.altKey?Q(1):X(1)},et=e=>{e.preventDefault(),e.metaKey?Y(0):e.altKey?Q(-1):X(-1)};return i.createElement(h.sG.div,{ref:t,tabIndex:-1,...I,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=I.onKeyDown)||t.call(I,e);let n=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||n))switch(e.key){case"n":case"j":P&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":P&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),Y(0);break;case"End":e.preventDefault(),J();break;case"Enter":{e.preventDefault();let t=$();if(t){let e=new Event(b);t.dispatchEvent(e)}}}}},i.createElement("label",{"cmdk-label":"",htmlFor:z.inputId,id:z.labelId,style:U},u),V(e,e=>i.createElement(S.Provider,{value:F},i.createElement(C.Provider,{value:z},e))))}),P=i.forwardRef((e,t)=>{var n,r;let a=(0,f.B)(),o=i.useRef(null),s=i.useContext(k),l=E(),u=j(e),c=null!=(r=null==(n=u.current)?void 0:n.forceMount)?r:null==s?void 0:s.forceMount;_(()=>{if(!c)return l.item(a,null==s?void 0:s.id)},[c]);let d=z(a,o,[e.value,e.children,o],e.keywords),m=A(),g=F(e=>e.value&&e.value===d.current),v=F(e=>!!c||!1===l.filter()||!e.search||e.filtered.items.get(a)>0);function y(){var e,t;w(),null==(t=(e=u.current).onSelect)||t.call(e,d.current)}function w(){m.setState("value",d.current,!0)}if(i.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(b,y),()=>t.removeEventListener(b,y)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:x,value:C,onSelect:S,forceMount:N,keywords:P,...I}=e;return i.createElement(h.sG.div,{ref:(0,p.t)(o,t),...I,id:a,"cmdk-item":"",role:"option","aria-disabled":!!x,"aria-selected":!!g,"data-disabled":!!x,"data-selected":!!g,onPointerMove:x||l.getDisablePointerSelection()?void 0:w,onClick:x?void 0:y},e.children)}),I=i.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:a,...o}=e,s=(0,f.B)(),l=i.useRef(null),u=i.useRef(null),c=(0,f.B)(),d=E(),m=F(e=>!!a||!1===d.filter()||!e.search||e.filtered.groups.has(s));_(()=>d.group(s),[]),z(s,l,[e.value,e.heading,u]);let g=i.useMemo(()=>({id:s,forceMount:a}),[a]);return i.createElement(h.sG.div,{ref:(0,p.t)(l,t),...o,"cmdk-group":"",role:"presentation",hidden:!m||void 0},n&&i.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),V(e,e=>i.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},i.createElement(k.Provider,{value:g},e))))}),T=i.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,a=i.useRef(null),o=F(e=>!e.search);return n||o?i.createElement(h.sG.div,{ref:(0,p.t)(a,t),...r,"cmdk-separator":"",role:"separator"}):null}),O=i.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,a=null!=e.value,o=A(),s=F(e=>e.search),l=F(e=>e.selectedItemId),u=E();return i.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),i.createElement(h.sG.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":l,id:u.inputId,type:"text",value:a?e.value:s,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})}),L=i.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...a}=e,o=i.useRef(null),s=i.useRef(null),l=F(e=>e.selectedItemId),u=E();return i.useEffect(()=>{if(s.current&&o.current){let e=s.current,t=o.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),i.createElement(h.sG.div,{ref:(0,p.t)(o,t),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":l,"aria-label":r,id:u.listId},V(e,e=>i.createElement("div",{ref:(0,p.t)(s,u.listInnerRef),"cmdk-list-sizer":""},e)))}),M=i.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:s,...l}=e;return i.createElement(d.bL,{open:n,onOpenChange:r},i.createElement(d.ZL,{container:s},i.createElement(d.hJ,{"cmdk-overlay":"",className:a}),i.createElement(d.UC,{"aria-label":e.label,"cmdk-dialog":"",className:o},i.createElement(N,{ref:t,...l}))))}),D=Object.assign(N,{List:L,Item:P,Input:O,Group:I,Separator:T,Dialog:M,Empty:i.forwardRef((e,t)=>
1F(e=>0===e.filtered.count)?i.createElement(h.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:i.forwardRef((e,t)=>{let{progress:n,children:r,label:a="Loading...",...o}=e;return i.createElement(h.sG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},V(e,e=>i.createElement("div",{"aria-hidden":!0},e)))})});function j(e){let t=i.useRef(e);return _(()=>{t.current=e}),t}var _="undefined"==typeof window?i.useEffect:i.useLayoutEffect;function R(e){let t=i.useRef();return void 0===t.current&&(t.current=e()),t}function F(e){let t=A(),n=()=>e(t.snapshot());return i.useSyncExternalStore(t.subscribe,n,n)}function z(e,t,n,r=[]){let a=i.useRef(),o=E();return _(()=>{var i;let s=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=r.map(e=>e.trim());o.value(e,s,l),null==(i=t.current)||i.setAttribute(w,s),a.current=s}),a}var B=()=>{let[e,t]=i.useState(),n=R(()=>new Map);return _(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function V({asChild:e,children:t},n){let r;return e&&i.isValidElement(t)?i.cloneElement("function"==typeof(r=t.type)?r(t.props):"render"in r?r.render(t.props):t,{ref:t.ref},n(t.props.children)):n(t)}var U={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},q=n(39794);let H=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(D,{ref:t,className:(0,q.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",n),...i})});H.displayName=D.displayName;let Z=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,r.jsx)(a.$p$,{className:"mr-2 size-4 shrink-0 opacity-50"}),(0,r.jsx)(D.Input,{ref:t,className:(0,q.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",n),...i})]})});Z.displayName=D.Input.displayName;let W=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(D.List,{ref:t,className:(0,q.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...i})});W.displayName=D.List.displayName;let G=i.forwardRef((e,t)=>(0,r.jsx)(D.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));G.displayName=D.Empty.displayName;let $=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(D.Group,{ref:t,className:(0,q.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",n),...i})});$.displayName=D.Group.displayName,i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(D.Separator,{ref:t,className:(0,q.cn)("bg-border -mx-1 h-px",n),...i})}).displayName=D.Separator.displayName;let K=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(D.Item,{ref:t,className:(0,q.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",n),...i})});K.displayName=D.Item.displayName},19639:(e,t,n)=>{"use strict";n.d(t,{hO:()=>l,sG:()=>s});var r=n(55729),i=n(56760),a=n(97628),o=n(6029),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,a.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:t,{...a,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},19848:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(24090),i=n(4308),a=new class extends r.Q{#m;#t;#n;constructor(){super(),this.#n=e=>{if(!i.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#m!==e&&(this.#m=e,this.onFocus())}onFocus(){let e=this.isFocused();
1this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#m?this.#m:globalThis.document?.visibilityState!=="hidden"}}},19962:(e,t,n)=>{var r=n(50515);e.exports=function(e,t,n){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(null!=s&&(void 0===l?s==s&&!r(s):n(s,l)))var l=s,u=o}return u}},20184:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,a={},o=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,n,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var c=a[n],d=[],h=new Set,f=new Set(u),p=function(e){!e||h.has(e)||(h.add(e),p(e.parentNode))};u.forEach(p);var m=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))m(e);else try{var t=e.getAttribute(l),a=null!==t&&"false"!==t,o=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,o),c.set(e,s),d.push(e),1===o&&a&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),a||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),h.clear(),o++,function(){d.forEach(function(e){var t=r.get(e)-1,a=c.get(e)-1;r.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),a||e.removeAttribute(n)}),--o||(r=new WeakMap,r=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),l(r,i,n,"aria-hidden")):function(){return null}}},20444:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),a="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;a?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(93409))},20609:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>e1,i3:()=>e5,UC:()=>e2,bL:()=>e0,Bk:()=>eF});var r=n(55729);let i=["top","right","bottom","left"],a=Math.min,o=Math.max,s=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function h(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}let v=new Set(["top","bottom"]);function y(e){return v.has(f(e))?"y":"x"}function b(e){return e.replace(/start|end/g,e=>d[e])}let w=["left","right"],x=["right","left"],C=["top","bottom"],E=["bottom","top"];function S(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function k(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function N(e,t,n){let r,{reference:i,floating:a}=e,o=y(t),s=m(y(t)),l=g(s),u=f(t),c="y"===o,d=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,v=i[l]/2-a[l]/2;switch(u){case"top":r={x:d,y:i.y-a.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-a.width,y:h};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[s]-=v*(n&&c?-1:1);break;case"end":r[s]+=v*(n&&c?-1:1)}return r}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=await (null==o.isRTL?void 0:o.isRTL(t)),u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=N(u,r,l),h=r,f={},p=0;for(let n=0;n<s.length;n++){let{name:a,fn:m}=s[n],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:f,re
1cts:u,platform:o,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,f={...f,[a]:{...f[a],...y}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(u=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=N(u,h,l)),n=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:f}};async function I(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=h(t,e),m=A(p),g=s[f?"floating"===d?"reference":"floating":d],v=k(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y="floating"===d?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),w=await (null==a.isElement?void 0:a.isElement(b))&&await (null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},x=k(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(v.top-x.top+m.top)/w.y,bottom:(x.bottom-v.bottom+m.bottom)/w.y,left:(v.left-x.left+m.left)/w.x,right:(x.right-v.right+m.right)/w.x}}function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return i.some(t=>e[t]>=0)}let L=new Set(["left","top"]);async function M(e,t){let{placement:n,platform:r,elements:i}=e,a=await (null==r.isRTL?void 0:r.isRTL(i.floating)),o=f(n),s=p(n),l="y"===y(n),u=L.has(o)?-1:1,c=a&&l?-1:1,d=h(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof v&&(g="end"===s?-1*v:v),l?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function D(){return"undefined"!=typeof window}function j(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function R(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!D()&&(e instanceof Node||e instanceof _(e).Node)}function z(e){return!!D()&&(e instanceof Element||e instanceof _(e).Element)}function B(e){return!!D()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function V(e){return!!D()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}let U=new Set(["inline","contents"]);function q(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!U.has(i)}let H=new Set(["table","td","th"]),Z=[":popover-open",":modal"];function W(e){return Z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let G=["transform","translate","scale","rotate","perspective"],$=["transform","translate","scale","rotate","perspective","filter"],K=["paint","layout","strict","content"];function Y(e){let t=X(),n=z(e)?ee(e):e;return G.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||$.some(e=>(n.willChange||"").includes(e))||K.some(e=>(n.contain||"").includes(e))}function X(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function J(e){return Q.has(j(e))}function ee(e){return _(e).getComputedStyle(e)}function et(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||V(e)&&e.host||R(e);return V(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return J(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&q(n)?n:e(n)}(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=_(i);if(a){let e=ei(o);
1return t.concat(o,o.visualViewport||[],q(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ea(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=B(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=s(n)!==a||s(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function eo(e){return z(e)?e:e.contextElement}function es(e){let t=eo(e);if(!B(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ea(t),o=(a?s(n.width):n.width)/r,l=(a?s(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let el=u(0);function eu(e){let t=_(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),o=eo(e),s=u(1);t&&(r?z(r)&&(s=es(r)):s=es(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===_(o))&&i)?eu(o):u(0),c=(a.left+l.x)/s.x,d=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(o){let e=_(o),t=r&&z(r)?_(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=es(i),t=i.getBoundingClientRect(),r=ee(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;
1c*=e.x,d*=e.y,h*=e.x,f*=e.y,c+=a,d+=o,i=ei(n=_(i))}}return k({width:h,height:f,x:c,y:d})}function ed(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(R(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}let ef=new Set(["absolute","fixed"]);function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=_(e),r=R(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;let e=X();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ed(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(a-=o)}else u<=25&&(a+=u);return{width:a,height:o,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=R(e),n=et(e),r=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=o(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+ed(e),l=-n.scrollTop;return"rtl"===ee(r).direction&&(s+=o(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:s,y:l}}(R(e));else if(z(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=B(e)?es(e):u(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y;return{width:o,height:s,x:i*a.x,y:r*a.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return k(r)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!B(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return R(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){var n;let r=_(e);if(W(e))return r;if(!B(e)){let t=en(e);for(;t&&!J(t);){if(z(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,H.has(j(n)))&&em(i);)i=eg(i,t);return i&&J(i)&&em(i)&&!Y(i)?r:i||function(e){let t=en(e);for(;B(t)&&!J(t);){if(Y(t))return t;if(W(t))break;t=en(t)}return null}(e)||r}let ey=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),i=R(t),a="fixed"===n,o=ec(e,!0,a,t),s={scrollLeft:0,scrollTop:0},l=u(0);if(r||!r&&!a)if(("body"!==j(t)||q(i))&&(s=et(t)),r){let e=ec(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ed(i));a&&!r&&i&&(l.x=ed(i));let c=!i||r||a?u(0):eh(i,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eb={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a="fixed"===i,o=R(r),s=!!t&&W(t.floating);if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),h=B(r);if((h||!h&&!a)&&(("body"!==j(r)||q(o))&&(l=et(r)),B(r))){let e=ec(r);c=es(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let f=!o||h||a?u(0):eh(o,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+f.x,y:n.y*c.y-l.scrollTop*c.y+d.y+f.y}},getDocumentElement:R,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,s=[..."clippingAncestors"===n?W(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>z(e)&&"body"!==j(e)),i=null,a="fixed"===ee(e).position,o=a?en(e):e;for(;z(o)&&!J(o);){let t=ee(o),n=Y(o);n||"fixed"!==t.position||(i=null),(a?!n&&!i:!n&&"static"===t.position&&!!i&&ef.has(i.position)||q(o)&&!n&&function e(t,n){let r=en(t);return!(r===n||!z(r)||J(r))&&("fixed"===ee(r).position||e(r,n))}(e,o))?r=r.filter(e=>e!==o):i=t,o=en(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=s[0],u=s.reduce((e,n)=>{let r=ep(t,n,i);return e.top=o(r.top,e.top),e.right=a(r.right,e.right),e.bottom=a(r.bottom,e.bottom),e.left=o(r.left,e.left),e},ep(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ev,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ea(e);return{width:t,height:n}},getScale:es,isElement:z,isRTL:function(e){return"rtl"===ee(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:f=0}=h(e,t)||{};if(null==d)return{};let v=A(f),b={x:n,y:r},w=m(y(i)),x=g(w),C=await l.getDimensions(d),E="y"===w,S=E?"clientHeight":"clientWidth",k=s.reference[x]+s.reference[w]-b[w]-s.floating[x],N=b[w]-s.reference[w],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),I=P?P[S]:0;I&&await (null==l.isElement?void 0:l.isElement(P))||(I=u.floating[S]||s.floating[x]);let T=I/2-C[x]/2-1,O=a(v[E?"top":"left"],T),L=a(v[E?"bottom":"right"],T),M=I-C[x]-L,D=I/2-C[x]/2+(k/2-N/2),j=o(O,a(D,M)),_=!c.arrow&&null!=p(i)&&D!==j&&s.reference[x]/2-(D<O?O:L)-C[x]/2<0,R=_?D<O?D-O:D-M:0;return{[w]:b[w]+R,data:{[w]:j,centerOffset:D-j-R,..._&&{alignmentOffset:R}},reset:_}}});var eC=n(56760),eE="undefined"!=typeof document?r.useLayoutEffect:function(){};function eS(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eS(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eS(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eA(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ek(e,t){let n=eA(e);return Math.round(t*n)/n}function eN(e){let t=r.useRef(e);return eE(()=>{t.current=e}),t}var eP=n(19639),eI=n(6029),eT=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,eI.jsx)(eP.sG.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eI.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eT.displayName="Arrow";var eO=n(40041),eL=n(99829),eM=n(9613),eD=n(35896),ej=n(24347),e_="Popper",[eR,eF]=(0,eL.A)(e_),[ez,eB]=eR(e_),eV=e=>{let{__scopePopper:t,children:n}=e,[i,a]=r.useState(null);return(0,eI.jsx)(ez,{scope:t,anchor:i,onAnchorChange:a,children:n})};eV.displayName=e_;var eU="PopperAnchor",eq=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,o=eB(eU,n),s=r.useRef(null),l=(0,eO.s)(t,s),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=i?.current||s.current,e!==u.current&&o.onAnchorChange(u.current)}),i?null:(0,eI.jsx)(eP.sG.div,{...a,ref:l})});eq.displayName=eU;var eH="PopperContent",[eZ,eW]=eR(eH),eG=r.forwardRef((e,t)=>{let{__scopePopper:n,side:i="bottom",sideOffset:s=0,align:u="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:v=!0,collisionBoundary:A=[],collisionPadding:k=0,sticky:N="partial",hideWhenDetached:D=!1,updatePositionStrategy:j="optimized",onPlaced:_,...F}=e,z=eB(eH,n),[B,V]=r.useState(null),U=(0,eO.s)(t,e=>V(e)),[q,H]=r.useState(null),Z=(0,ej.X)(q),W=Z?.width??0,G=Z?.height??0,$="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},K=Array.isArray(A)?A:[A],Y=K.length>0,X={padding:$,boundary:K.filter(eX),altBoundary:Y},{refs:Q,floatingStyles:J,placement:ee,isPositioned:et,middlewareData:en}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:a,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=r.useState(i);eS(f,i)||p(i);let[m,g]=r.useState(null),[v,y]=r.useState(null),b=r.useCallback(e=>{e!==E.current&&(E.current=e,g(e))},[]),w=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),x=o||m,C=s||v,E=r.useRef(null),S=r.useRef(null),A=r.useRef(d),k=null!=u,N=eN(u),I=eN(a),T=eN(c),O=r.useCallback(()=>{if(!E.current||!S.current)return;let e={placement:t,strategy:n,middleware:f};I.current&&(e.platform=I.current),((e,t,n)=>{let r=new Map,i={platform:eb,...n},a={...i.platform,_c:r};return P(e,t,{...i,platform:a})})(E.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!eS(A.current,t)&&(A.current=t,eC.flushSync(()=>{h(t)}))})},[f,t,n,I,T]);eE(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let L=r.useRef(!1);eE(()=>(L.current=!0,()=>{L.current=!1}),[]),eE(()=>{if(x&&(E.current=x),C&&(S.current=C),x&&C){if(N.current)return N.current(x,C,O);O()}},[x,C,O,N,k]);let M=r.useMemo(()=>({reference:E,floating:S,setReference:b,setFloating:w}),[b,w]),D=r.useMemo(()=>({reference:x,floating:C}),[x,C]),j=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=ek(D.floating,d.x),r=ek(D.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eA(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,D.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:O,refs:M,elements:D,floatingStyles:j}),[d,O,M,D,j])}({strategy:"fixed",placement:i+("center"!==u?"-"+u:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,f=eo(e),p=s||u?[...f?er(f):[],...er(t)]:[];
1p.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=f&&d?function(e,t){let n,r=null,i=R(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),s();let h=e.getBoundingClientRect(),{left:f,top:p,width:m,height:g}=h;if(c||t(),!m||!g)return;let v=l(p),y=l(i.clientWidth-(f+m)),b={rootMargin:-v+"px "+-y+"px "+-l(i.clientHeight-(p+g))+"px "+-l(f)+"px",threshold:o(0,a(1,d))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==d){if(!w)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ew(h,e.getBoundingClientRect())||u(),w=!1}try{r=new IntersectionObserver(x,{...b,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,b)}r.observe(e)}(!0),s}(f,n):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),f&&!h&&v.observe(f),v.observe(t));let y=h?ec(e):null;return h&&function t(){let r=ec(e);y&&!ew(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===j}),elements:{reference:z.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,l=await M(t,e);return o===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}}(e),options:[e,t]}))({mainAxis:s+G,alignmentAxis:c}),v&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=h(e,t),d={x:n,y:r},p=await I(t,c),g=y(f(i)),v=m(g),b=d[v],w=d[g];if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+p[e],r=b-p[t];b=o(n,a(b,r))}if(l){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+p[e],r=w-p[t];w=o(n,a(w,r))}let x=u.fn({...t,[v]:b,[g]:w});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:s,[g]:l}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===N?((e,t)=>
1({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=h(e,t),c={x:n,y:r},d=y(i),p=m(d),g=c[p],v=c[d],b=h(s,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){let e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+w.mainAxis,n=a.reference[p]+a.reference[e]-w.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var x,C;let e="y"===p?"width":"height",t=L.has(f(i)),n=a.reference[d]-a.floating[e]+(t&&(null==(x=o.offset)?void 0:x[d])||0)+(t?0:w.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(C=o.offset)?void 0:C[d])||0)-(t?w.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[p]:g,[d]:v}}}}(e),options:[e,t]}))():void 0,...X}),v&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,a,o;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:v}=t,{mainAxis:A=!0,crossAxis:k=!0,fallbackPlacements:N,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:O=!0,...L}=h(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let M=f(s),D=y(c),j=f(c)===c,_=await (null==d.isRTL?void 0:d.isRTL(v.floating)),R=N||(j||!O?[S(c)]:function(e){let t=S(e);return[b(e),t,b(t)]}(c)),F="none"!==T;!N&&F&&R.push(...function(e,t,n,r){let i=p(e),a=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?C:E;default:return[]}}(f(e),"start"===n,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(b)))),a}(c,O,T,_));let z=[c,...R],B=await I(t,L),V=[],U=(null==(r=l.flip)?void 0:r.overflows)||[];if(A&&V.push(B[M]),k){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=m(y(e)),a=g(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=S(o)),[o,S(o)]}(s,u,_);V.push(B[e[0]],B[e[1]])}if(U=[...U,{placement:s,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==k||D===y(t)||U.every(e=>y(e.placement)!==D||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(a=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(P){case"bestFit":{let e=null==(o=U.filter(e=>{if(F){let t=y(e.placement);return t===D||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...X}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,s,{placement:l,rects:u,platform:c,elements:d}=t,{apply:m=()=>{},...g}=h(e,t),v=await I(t,g),b=f(l),w=p(l),x="y"===y(l),{width:C,height:E}=u.floating;"top"===b||"bottom"===b?(i=b,s=w===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(s=b,i="end"===w?"top":"bottom");let S=E-v.top-v.bottom,A=C-v.left-v.right,k=a(E-v[i],S),N=a(C-v[s],A),P=!t.middlewareData.shift,T=k,O=N;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(O=A),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=S),P&&!w){let e=o(v.left,0),t=o(v.right,0),n=o(v.top,0),r=o(v.bottom,0);x?O=C-2*(0!==e||0!==t?e+t:o(v.left,v.right)):T=E-2*(0!==n||0!==r?n+r:o(v.top,v.bottom))}await m({...t,availableWidth:O,availableHeight:T});let L=await c.getDimensions(d.floating);return C!==L.width||E!==L.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...X,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${n}px`),o.setProperty("--radix-popper-available-height",`${r}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}}),q&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:q,padding:d}),eQ({arrowWidth:W,arrowHeight:G}),D&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=h(e,t);switch(r){case"referenceHidden":{let e=T(await I(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:O(e)}}}case"escaped":{let e=T(await I(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:O(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...X})]}),[ei,ea]=eJ(ee),es=(0,eM.c)(_);(0,eD.N)(()=>{et&&es?.()},[et,es]);let el=en.arrow?.x,eu=en.arrow?.y,ed=en.arrow?.centerOffset!==0,[eh,ef]=r.useState();return(0,eD.N)(()=>{B&&ef(window.getComputedStyle(B).zIndex)},[B]),(0,eI.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:et?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eh,"--radix-popper-transform-origin":[en.transformOrigin?.x,en.transformOrigin?.y].join(" "),...en.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eI.jsx)(eZ,{scope:n,placedSide:ei,onArrowChange:H,arrowX:el,arrowY:eu,shouldHideArrow:ed,children:(0,eI.jsx)(eP.sG.div,{"data-side":ei,"data-align":ea,...F,ref:U,style:{...F.style,animation:et?void 0:"none"}})})})});eG.displayName=eH;var e$="PopperArrow",eK={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eY=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eW(e$,n),a=eK[i.placedSide];return(0,eI.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eI.jsx)(eT,{...r,ref:t,style:{...r.style,display:"block"}})})});function eX(e){return null!==e}eY.displayName=e$;var eQ=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,u]=eJ(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+o/2,h=(i.arrow?.y??0)+s/2,f="",p="";return"bottom"===l?(f=a?c:`${d}px`,p=`${-s}px`):"top"===l?(f=a?c:`${d}px`,p=`${r.floating.height+s}px`):"right"===l?(f=`${-s}px`,p=a?c:`${h}px`):"left"===l&&(f=`${r.floating.width+s}px`,p=a?c:`${h}px`),{data:{x:f,y:p}}}});function eJ(e){let[t,n="center"]=e.split("-");return[t,n]}var e0=eV,e1=eq,e2=eG,e5=eY},20764:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},21053:(e,t,n)=>{"use strict";n.d(t,{Wu:()=>l,Zp:()=>o,aR:()=>s,wL:()=>u});var r=n(6029),i=n(55729),a=n(39794);let o=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("bg-card text-card-foreground rounded-xl border border-gray-200 shadow-none",n),...i})});o.displayName="Card";let s=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",n),...i})});s.displayName="CardHeader",i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("h3",{ref:t,className:(0,a.cn)("text-nowrap text-lg font-extrabold leading-none tracking-tight",n),...i})}).displayName="CardTitle",i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("p",{ref:t,className:(0,a.cn)("text-muted-foreground text-sm",n),...i})}).displayName="CardDescription";let l=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",n),...i})});l.displayName="CardContent";let u=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",n),...i})});u.displayName="CardFooter"},21248:(e,t,n)=>{e.exports=n(83588)()},21667:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,I:()=>o});var r=n(6029),i=n(59359),a=n(62883);function o(e){let{desc:t,toDisplay:n,passwordError:o,errorType:s}=e,{svg_name:l,text_color:u}=n||o?!n&&o||(null==o?void 0:o.includes(s))?{svg_name:"red_cross",text_color:"text-red-500"}:{svg_name:"green_check",text_color:"text-success"}:{svg_name:"gray_dot",text_color:"text-gray-500"};return(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.B,{name:l,alt:l}),(0,r.jsx)(a.J,{className:u,children:t})]})}let s=o},21841:(e,t,n)=>{"use strict";n.d(t,{jiL:()=>ek,_5p:()=>eA,MhE:()=>ta,Zos:()=>e6,D6I:()=>e8,xp$:()=>e0,zVQ:()=>e1,E1D:()=>e2,aDI:()=>e5,Psi:()=>e3,Glu:()=>e4,TRx:()=>tm,AOA:()=>ez,vzp:()=>l.GuestActionType,gxp:()=>eF,PaK:()=>tr,G1Z:()=>tn,hH3:()=>ti,hmz:()=>tW,csP:()=>tL,HPB:()=>tB,jrW:()=>tG,eJ_:()=>eo,FxE:()=>tc,y8Z:()=>tu,Vz5:()=>th,I0q:()=>td,Zps:()=>tg,g0g:()=>tv,ZXe:()=>tM,_aL:()=>tp,_36:()=>tS,Jg4:()=>tj,KSE:()=>eM,t7q:()=>ex,Pvr:()=>tO,Kfj:()=>eX,y_N:()=>eU,lFH:()=>eq,hm9:()=>eB,Pp5:()=>ec,rW0:()=>tA,gjn:()=>tk,i_u:()=>eV,OQH:()=>tY,pUx:()=>tq,HUt:()=>tZ,HLB:()=>tK,xPI:()=>ef,Mg7:()=>tz,Gb5:()=>ew,GMD:()=>eS});var r,i,a,o,s,l=n(72811);let u="advancedStatistics",c={displayName:"Statistiques avanc\xe9es",accounting:{generalAccountCode:"706503",invoiceLabel:"Statistiques avanc\xe9es"},getEvent:e=>e.advancedStatisticsEvent,isValid(e){var t;return!!(null==(t=e.advancedStatisticsEvent)?void 0:t.id)},findEquivalent(e){var t;return{advancedStatisticsEvent:{id:null==(t=e.advancedStatisticsEvent)?void 0:t.id}}},create(e){let{advancedStatisticsEvent:t}=e;
1return{advancedStatisticsEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!c.isGroupKey(e))throw Error("Invalid group key for advanced statistics: ".concat(e));let[,t]=e.split("|");return{advancedStatisticsEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(u,"|")),getGroupKey(e){var t;let n=null==(t=e.advancedStatisticsEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid advancedStatistics item");return"".concat(u,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"advancedStatistics"}}}),getEventSearchFilter:e=>({advancedStatisticsEvent:{name:{contains:e,mode:"insensitive"}}})},d="aiImageCredits",h={displayName:"Cr\xe9dit g\xe9n\xe9ration image IA",isCumulative:!0,accounting:{generalAccountCode:"706127",invoiceLabel:"Cr\xe9dit g\xe9n\xe9ration image IA"},getOrganiser:e=>e.aiImageCreditsOrganiser,isValid(e){var t;return!!(null==(t=e.aiImageCreditsOrganiser)?void 0:t.id)},findEquivalent(e){var t;return{aiImageCreditsOrganiser:{id:null==(t=e.aiImageCreditsOrganiser)?void 0:t.id}}},create(e){let{aiImageCreditsOrganiser:t}=e;return{aiImageCreditsOrganiser:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!h.isGroupKey(e))throw Error("Invalid group key for AI image credits: ".concat(e));let[,t]=e.split("|");return{aiImageCreditsOrganiser:{id:t}}},isGroupKey:e=>e.startsWith("".concat(d,"|")),getGroupKey(e){var t;let n=null==(t=e.aiImageCreditsOrganiser)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid aiImageCredits item");return"".concat(d,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"aiImageCredits"}}})},f="badge",p={displayName:"Badge",isCumulative:!0,accounting:{generalAccountCode:"706119",invoiceLabel:"Billetterie"},getCompleteItemName(e){var t;return(null==(t=e.badgeType)?void 0:t.name)?"Badge: ".concat(e.badgeType.name):null},getEvent:e=>e.badgeType.event,isValid(e){var t;return!!(null==(t=e.badgeType)?void 0:t.id)},findEquivalent(e){var t;return{badgeType:{id:null==(t=e.badgeType)?void 0:t.id}}},create(e){let{badgeType:t}=e;return{badgeType:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!p.isGroupKey(e))throw Error("Invalid group key for badge: ".concat(e));let[,t]=e.split("|");return{badgeType:{id:t}}},isGroupKey:e=>e.startsWith("".concat(f,"|")),getGroupKey(e){var t;let n=null==(t=e.badgeType)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid badge item");return"".concat(f,"|").concat(n)},getPricingQuery(e){var t;return{where:{badgeType:{id:null==(t=e.badgeType)?void 0:t.id}}}},getEventSearchFilter:e=>({badgeType:{event:{name:{contains:e,mode:"insensitive"}}}})},m="cashRegisterCredits",g={displayName:"Pack de 100 cr\xe9dits caisse",isCumulative:!0,accounting:{generalAccountCode:"706512",invoiceLabel:"Pack de 100 cr\xe9dits du logiciel de caisse"},getEvent:e=>e.cashRegisterCreditsEvent,isValid(e){var t;return!!(null==(t=e.cashRegisterCreditsEvent)?void 0:t.id)},findEquivalent(e){var t;return{cashRegisterCreditsEvent:{id:null==(t=e.cashRegisterCreditsEvent)?void 0:t.id}}},create(e){let{cashRegisterCreditsEvent:t}=e;return{cashRegisterCreditsEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!g.isGroupKey(e))throw Error("Invalid group key for cash register credits: ".concat(e));let[,t]=e.split("|");return{cashRegisterCreditsEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(m,"|")),getGroupKey(e){var t;let n=null==(t=e.cashRegisterCreditsEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid cashRegisterCredits item");return"".concat(m,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"cashRegisterCredits"}}}),getEventSearchFilter:e=>({cashRegisterCreditsEvent:{name:{contains:e,mode:"insensitive"}}})},v="eventEquipmentRequest",y="equipmentDeliveryFee",b={displayName:"Frais de livraison mat\xe9riel",accounting:{generalAccountCode:"7061113",invoiceLabel:"Frais de livraison mat\xe9riel"},getEvent:e=>e.feeEventEquipmentRequest.event,isValid(e){var t;return!!(null==(t=e.feeEventEquipmentRequest)?void 0:t.id)},findEquivalent(e){var t;return{feeEventEquipmentRequest:{id:null==(t=e.feeEventEquipmentRequest)?void 0:t.id}}},create(e){let{feeEventEquipmentRequest:t}=e;
1return{feeEventEquipmentRequest:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!b.isGroupKey(e))throw Error("Invalid group key for equipment delivery fee: ".concat(e));let[,t]=e.split("|");return{feeEventEquipmentRequest:{id:t}}},isGroupKey:e=>e.startsWith("".concat(y,"|")),getGroupKey(e){var t;let n=null==(t=e.feeEventEquipmentRequest)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid equipmentDeliveryFee item");return"".concat(y,"|").concat(n)},getPricingQuery(e){var t;return{where:{eventEquipmentRequestDeliveryFee:{id:null==(t=e.feeEventEquipmentRequest)?void 0:t.id}}}},getLinkedGroupKeys(e){let[,t]=e.split("|");return["".concat(v,"|").concat(t)]},getEventSearchFilter:e=>({feeEventEquipmentRequest:{event:{name:{contains:e,mode:"insensitive"}}}})},w="eventCustomAppearance",x={displayName:"Personnalisation \xe9v\xe9nement",isCumulative:!1,accounting:{generalAccountCode:"706511",invoiceLabel:"Personnalisation \xe9v\xe9nement"},getEvent:e=>e.eventCustomAppearanceEvent,isValid(e){var t;return!!(null==(t=e.eventCustomAppearanceEvent)?void 0:t.id)},findEquivalent(e){var t;return{eventCustomAppearanceEvent:{id:null==(t=e.eventCustomAppearanceEvent)?void 0:t.id}}},create(e){let{eventCustomAppearanceEvent:t}=e;return{eventCustomAppearanceEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!x.isGroupKey(e))throw Error("Invalid group key for eventCustomAppearance: ".concat(e));let[,t]=e.split("|");return{eventCustomAppearanceEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(w,"|")),getGroupKey(e){var t;let n=null==(t=e.eventCustomAppearanceEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid eventCustomAppearance item");return"".concat(w,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"eventCustomAppearance"}}}),getEventSearchFilter:e=>({eventCustomAppearanceEvent:{name:{contains:e,mode:"insensitive"}}})},C="eventCustomPdfAppearance",E={displayName:"Personnalisation des billets et badges",isCumulative:!1,accounting:{generalAccountCode:"706510",invoiceLabel:"Personnalisation des billets et badges"},getEvent:e=>e.eventCustomPdfAppearanceEvent,isValid(e){var t;return!!(null==(t=e.eventCustomPdfAppearanceEvent)?void 0:t.id)},findEquivalent(e){var t;return{eventCustomPdfAppearanceEvent:{id:null==(t=e.eventCustomPdfAppearanceEvent)?void 0:t.id}}},create(e){let{eventCustomPdfAppearanceEvent:t}=e;return{eventCustomPdfAppearanceEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!E.isGroupKey(e))throw Error("Invalid group key for eventCustomPdfAppearance: ".concat(e));let[,t]=e.split("|");return{eventCustomPdfAppearanceEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(C,"|")),getGroupKey(e){var t;let n=null==(t=e.eventCustomPdfAppearanceEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid eventCustomPdfAppearance item");return"".concat(C,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"eventCustomPdfAppearance"}}}),getEventSearchFilter:e=>({eventCustomPdfAppearanceEvent:{name:{contains:e,mode:"insensitive"}}})};var S=n(59018),A=n.n(S);let k={displayName:"Mat\xe9riel",accounting:{generalAccountCode:"706112",invoiceLabel:"Mat\xe9riel"},getCompleteItemName(e){var t,n;let r=null!=(n=null==(t=e.eventEquipmentRequest)?void 0:t.eventEquipmentAllocations)?n:[],i=A()(r.map(e=>{var t;return null==(t=e.eventEquipment)?void 0:t.name}).filter(e=>!!e));return 0===i.length?null:"Mat\xe9riel : ".concat(i.join(", "))},getEvent:e=>e.eventEquipmentRequest.event,isValid(e){var t;return!!(null==(t=e.eventEquipmentRequest)?void 0:t.id)},findEquivalent(e){var t;return{eventEquipmentRequest:{id:null==(t=e.eventEquipmentRequest)?void 0:t.id}}},create(e){let{eventEquipmentRequest:t}=e;return{eventEquipmentRequest:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!k.isGroupKey(e))throw Error("Invalid group key for event equipment request: ".concat(e));let[,t]=e.split("|");return{eventEquipmentRequest:{id:t}}},isGroupKey:e=>e.startsWith("".concat(v,"|")),getGroupKey(e){var t;let n=null==(t=e.eventEquipmentRequest)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid eventEquipmentRequest item");return"".concat(v,"|").concat(n)},getPricingQuery(e){var t;return{where:{eventEquipmentRequest:{id:null==(t=e.eventEquipmentRequest)?void 0:t.id}}}},getLinkedGroupKeys(e){let[,t]=e.split("|");return["".concat(y,"|").concat(t)]},getEventSearchFilter:e=>({eventEquipmentRequest:{event:{name:{contains:e,mode:"insensitive"}}}})},N="exhibitorAdvancedStatistics",P={displayName:"Statistiques avanc\xe9es d'exposant",accounting:{generalAccountCode:"706504",invoiceLabel:"Statistiques avanc\xe9es"},getEvent:e=>e.exhibitorAdvancedStatisticsEvent,isValid(e){var t,n;return!!(null==(t=e.exhibitorAdvancedStatisticsEvent)?void 0:t.id)&&!!(null==(n=e.exhibitorAdvancedStatisticsStructure)?void 0:n.id)},findEquivalent(e){var t,n;return{exhibitorAdvancedStatisticsEvent:{id:null==(t=e.exhibitorAdvancedStatisticsEvent)?void 0:t.id},exhibitorAdvancedStatisticsStructure:{id:null==(n=e.exhibitorAdvancedStatisticsStructure)?void 0:n.id}}},create(e){let{exhibitorAdvancedStatisticsEvent:t,exhibitorAdvancedStatisticsStructure:n}=e;
1return{exhibitorAdvancedStatisticsEvent:{connect:{id:t.id}},exhibitorAdvancedStatisticsStructure:{connect:{id:n.id}}}},parseGroupKeyAsWhere(e){if(!P.isGroupKey(e))throw Error("Invalid group key for exhibitor advanced statistics: ".concat(e));let[,t,n]=e.split("|");return{exhibitorAdvancedStatisticsEvent:{id:t},exhibitorAdvancedStatisticsStructure:{id:n}}},isGroupKey:e=>e.startsWith("".concat(N,"|")),getGroupKey(e){var t,n;let r=null==(t=e.exhibitorAdvancedStatisticsEvent)?void 0:t.id,i=null==(n=e.exhibitorAdvancedStatisticsStructure)?void 0:n.id;if(!r||!i)throw Error("Cannot get group key for invalid exhibitorAdvancedStatistics item");return"".concat(N,"|").concat(r,"|").concat(i)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exhibitorAdvancedStatistics"}}}),getEventSearchFilter:e=>({exhibitorAdvancedStatisticsEvent:{name:{contains:e,mode:"insensitive"}}})},I="exhibitorProfilesPack1Credits",T={displayName:"Profils exposants pack 1",isCumulative:!0,accounting:{generalAccountCode:"706501",invoiceLabel:"Profils exposants pack 1"},getOrganiser:e=>e.exhibitorProfilesPack1CreditsOrganiser,isValid(e){var t;return!!(null==(t=e.exhibitorProfilesPack1CreditsOrganiser)?void 0:t.id)},findEquivalent(e){var t;return{exhibitorProfilesPack1CreditsOrganiser:{id:null==(t=e.exhibitorProfilesPack1CreditsOrganiser)?void 0:t.id}}},create(e){let{exhibitorProfilesPack1CreditsOrganiser:t}=e;return{exhibitorProfilesPack1CreditsOrganiser:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!T.isGroupKey(e))throw Error("Invalid group key for exhibitor profiles pack 1 credits: ".concat(e));let[,t]=e.split("|");return{exhibitorProfilesPack1CreditsOrganiser:{id:t}}},isGroupKey:e=>e.startsWith("".concat(I,"|")),getGroupKey(e){var t;let n=null==(t=e.exhibitorProfilesPack1CreditsOrganiser)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exhibitorProfilesPack1Credits item");return"".concat(I,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exhibitorProfilesPack1Credits"}}})},O="exhibitorProfilesPack2Credits",L={displayName:"Profils exposants pack 2",isCumulative:!0,accounting:{generalAccountCode:"706505",invoiceLabel:"Profils exposants pack 2"},getOrganiser:e=>e.exhibitorProfilesPack2CreditsOrganiser,isValid(e){var t;return!!(null==(t=e.exhibitorProfilesPack2CreditsOrganiser)?void 0:t.id)},findEquivalent(e){var t;return{exhibitorProfilesPack2CreditsOrganiser:{id:null==(t=e.exhibitorProfilesPack2CreditsOrganiser)?void 0:t.id}}},create(e){let{exhibitorProfilesPack2CreditsOrganiser:t}=e;return{exhibitorProfilesPack2CreditsOrganiser:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!L.isGroupKey(e))throw Error("Invalid group key for exhibitor profiles pack 2 credits: ".concat(e));let[,t]=e.split("|");return{exhibitorProfilesPack2CreditsOrganiser:{id:t}}},isGroupKey:e=>e.startsWith("".concat(O,"|")),getGroupKey(e){var t;let n=null==(t=e.exhibitorProfilesPack2CreditsOrganiser)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exhibitorProfilesPack2Credits item");return"".concat(O,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exhibitorProfilesPack2Credits"}}})},M="exhibitorProfilesPack3Credits",D={displayName:"Profils exposants pack 3",isCumulative:!0,accounting:{generalAccountCode:"706506",invoiceLabel:"Profils exposants pack 3"},getOrganiser:e=>e.exhibitorProfilesPack3CreditsOrganiser,isValid(e){var t;return!!(null==(t=e.exhibitorProfilesPack3CreditsOrganiser)?void 0:t.id)},findEquivalent(e){var t;return{exhibitorProfilesPack3CreditsOrganiser:{id:null==(t=e.exhibitorProfilesPack3CreditsOrganiser)?void 0:t.id}}},create(e){let{exhibitorProfilesPack3CreditsOrganiser:t}=e;return{exhibitorProfilesPack3CreditsOrganiser:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!D.isGroupKey(e))throw Error("Invalid group key for exhibitor profiles pack 3 credits: ".concat(e));let[,t]=e.split("|");return{exhibitorProfilesPack3CreditsOrganiser:{id:t}}},isGroupKey:e=>e.startsWith("".concat(M,"|")),getGroupKey(e){var t;let n=null==(t=e.exhibitorProfilesPack3CreditsOrganiser)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exhibitorProfilesPack3Credits item");return"".concat(M,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exhibitorProfilesPack3Credits"}}})},j="exhibitorPromotion",_={displayName:"Mise en avant exposant",isCumulative:!0,accounting:{generalAccountCode:"706508",invoiceLabel:"Mise en avant exposant"},getEvent:e=>e.exhibitorPromotionEvent,isValid(e){var t;return!!(null==(t=e.exhibitorPromotionEvent)?void 0:t.id)},findEquivalent(e){var t;return{exhibitorPromotionEvent:{id:null==(t=e.exhibitorPromotionEvent)?void 0:t.id}}},create(e){let{exhibitorPromotionEvent:t}=e;
1return{exhibitorPromotionEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!_.isGroupKey(e))throw Error("Invalid group key for exhibitor promotion: ".concat(e));let[,t]=e.split("|");return{exhibitorPromotionEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(j,"|")),getGroupKey(e){var t;let n=null==(t=e.exhibitorPromotionEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exhibitorPromotion item");return"".concat(j,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exhibitorPromotion"}}}),getEventSearchFilter:e=>({exhibitorPromotionEvent:{name:{contains:e,mode:"insensitive"}}})},R="exportExhibitorsModule",F={displayName:"Export du module exposants",accounting:{generalAccountCode:"706507",invoiceLabel:"Export du module exposants"},getEvent:e=>e.exportExhibitorsModuleEvent,isValid(e){var t;return!!(null==(t=e.exportExhibitorsModuleEvent)?void 0:t.id)},findEquivalent(e){var t;return{exportExhibitorsModuleEvent:{id:null==(t=e.exportExhibitorsModuleEvent)?void 0:t.id}}},create(e){let{exportExhibitorsModuleEvent:t}=e;return{exportExhibitorsModuleEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!F.isGroupKey(e))throw Error("Invalid group key for export exhibitors module: ".concat(e));let[,t]=e.split("|");return{exportExhibitorsModuleEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(R,"|")),getGroupKey(e){var t;let n=null==(t=e.exportExhibitorsModuleEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exportExhibitorsModule item");return"".concat(R,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exportExhibitorsModule"}}}),getEventSearchFilter:e=>({exportExhibitorsModuleEvent:{name:{contains:e,mode:"insensitive"}}})},z="exportProgramModule",B={displayName:"Export du module programme",accounting:{generalAccountCode:"706509",invoiceLabel:"Export du module programme"},getEvent:e=>e.exportProgramModuleEvent,isValid(e){var t;return!!(null==(t=e.exportProgramModuleEvent)?void 0:t.id)},findEquivalent(e){var t;return{exportProgramModuleEvent:{id:null==(t=e.exportProgramModuleEvent)?void 0:t.id}}},create(e){let{exportProgramModuleEvent:t}=e;return{exportProgramModuleEvent:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!B.isGroupKey(e))throw Error("Invalid group key for export program module: ".concat(e));let[,t]=e.split("|");return{exportProgramModuleEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(z,"|")),getGroupKey(e){var t;let n=null==(t=e.exportProgramModuleEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid exportProgramModule item");return"".concat(z,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"exportProgramModule"}}}),getEventSearchFilter:e=>({exportProgramModuleEvent:{name:{contains:e,mode:"insensitive"}}})},V="promotion",U={displayName:"Mise en avant",accounting:{generalAccountCode:"706502",invoiceLabel:"Mise en avant"},getEvent:e=>e.promotionEvent,isValid(e){var t;return!!(null==(t=e.promotionEvent)?void 0:t.id)},findEquivalent(e){var t;return{promotionEvent:{id:null==(t=e.promotionEvent)?void 0:t.id}}},create(e){let{promotionEvent:t,promotionDates:n}=e;return{promotionEvent:{connect:{id:t.id}},promotionDates:n}},update(e){let{promotionDates:t}=e;return{promotionDates:t}},parseGroupKeyAsWhere(e){if(!U.isGroupKey(e))throw Error("Invalid group key for promotion: ".concat(e));let[,t]=e.split("|");return{promotionEvent:{id:t}}},isGroupKey:e=>e.startsWith("".concat(V,"|")),getGroupKey(e){var t;let n=null==(t=e.promotionEvent)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid promotion item");return"".concat(V,"|").concat(n)},getPricingQuery:()=>({where:{backofficePrestation:{type:"promotion"}}}),getEventSearchFilter:e=>({promotionEvent:{name:{contains:e,mode:"insensitive"}}})},q="refund",H={displayName:"Rachat de titres",accounting:{generalAccountCode:"706119",invoiceLabel:"Rachat de titres"},getCompleteItemName(e){var t;let n=e.creditNote,r=null==n?void 0:n.reference;if(!r)return null;let i=(null!=(t=null==n?void 0:n.creditNoteItems)?t:[]).map(e=>{var t,n;
1let r=null==(t=e.orderItem)?void 0:t.ticket,i=null==(n=e.orderItem)?void 0:n.badge;return(null==r?void 0:r.code)?r.code:(null==i?void 0:i.code)?i.code:null}).filter(e=>!!e),a=i.length>0?" (".concat(i.join(", "),")"):"";return"Remboursement de titres: ".concat(r).concat(a)},getEvent(e){var t,n;let r=null!=(n=(null!=(t=e.creditNote.creditNoteItems)?t:[]).map(e=>{var t,n,r,i,a;return null!=(a=null==(n=e.orderItem)||null==(t=n.ticket)?void 0:t.ticketType.event)?a:null==(i=e.orderItem)||null==(r=i.badge)?void 0:r.badgeType.event}).find(e=>!!e))?n:null;if(!r)throw Error("Refund buyable item has no event");return r},isValid(e){var t;return!!(null==(t=e.creditNote)?void 0:t.id)},findEquivalent(e){var t;return{creditNote:{id:null==(t=e.creditNote)?void 0:t.id}}},create(e){let{creditNote:t}=e;return{creditNote:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!H.isGroupKey(e))throw Error("Invalid group key for refund: ".concat(e));let[,t]=e.split("|");return{creditNote:{id:t}}},isGroupKey:e=>e.startsWith("".concat(q,"|")),getGroupKey(e){var t;let n=null==(t=e.creditNote)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid refund item");return"".concat(q,"|").concat(n)},getPricingQuery(e){var t,n,r;let i=null!=(r=null!=(n=null==(t=e.creditNote)?void 0:t.id)?n:e.creditNoteId)?r:null;if(!i)throw Error("Refund buyable item has no creditNoteId");return{where:{creditNote:{id:i}}}},getEventSearchFilter:e=>({creditNote:{creditNoteItems:{some:{orderItem:{OR:[{ticket:{ticketType:{event:{name:{contains:e,mode:"insensitive"}}}}},{badge:{badgeType:{event:{name:{contains:e,mode:"insensitive"}}}}}]}}}}})},Z="ticket",W={displayName:"Billet",isCumulative:!0,accounting:{generalAccountCode:"706119",invoiceLabel:"Billetterie"},getCompleteItemName(e){var t;return(null==(t=e.ticketType)?void 0:t.name)?"Billet: ".concat(e.ticketType.name):null},getEvent:e=>e.ticketType.event,isValid(e){var t;return!!(null==(t=e.ticketType)?void 0:t.id)},findEquivalent(e){var t;return{ticketType:{id:null==(t=e.ticketType)?void 0:t.id}}},create(e){let{ticketType:t}=e;return{ticketType:{connect:{id:t.id}}}},parseGroupKeyAsWhere(e){if(!W.isGroupKey(e))throw Error("Invalid group key for ticket: ".concat(e));let[,t]=e.split("|");return{ticketType:{id:t}}},isGroupKey:e=>e.startsWith("".concat(Z,"|")),getGroupKey(e){var t;let n=null==(t=e.ticketType)?void 0:t.id;if(!n)throw Error("Cannot get group key for invalid ticket item");return"".concat(Z,"|").concat(n)},getPricingQuery(e){var t;return{where:{ticketType:{id:null==(t=e.ticketType)?void 0:t.id}}}},getEventSearchFilter:e=>({ticketType:{event:{name:{contains:e,mode:"insensitive"}}}})},G=l.Prisma.validator()({select:{priceTTC:!0,vatRate:!0}}),$=l.Prisma.validator()({select:{id:!0,...G.select}}),K=l.Prisma.validator()({select:{isPaid:!0,price:G}}),Y={type:!0,value:!0},X={...Y,id:!0},Q={id:!0,discount:{select:Y}},J=l.Prisma.validator()({select:{id:!0,isPaid:!0,price:G,discountCodes:{where:{discountCode:{deletedAt:null}},select:{discountCode:{select:Q}}},ticketing:{select:{eventDiscountCodes:{where:{deletedAt:null,disabledAt:null},select:Q}}},degressivePrices:{select:{id:!0,minQuantity:!0,maxQuantity:!0,onQuote:!0,discount:{select:X}},orderBy:{minQuantity:{sort:"asc",nulls:"first"}}}}}),ee=l.Prisma.validator()({select:{id:!0,isPaid:!0,price:$,discountCodes:{where:{discountCode:{deletedAt:null}},select:{quantityLeft:!0,discountCode:{select:{id:!0,quantity:!0,name:!0,isCumulable:!0,isQuantityInfinite:!0,validityDates:!0,discount:{select:X}}}}},ticketing:{select:{eventDiscountCodes:{where:{deletedAt:null,disabledAt:null},select:Q}}},degressivePrices:{select:{id:!0,minQuantity:!0,maxQuantity:!0,onQuote:!0,discount:{select:X}},orderBy:{minQuantity:"asc"}}}}),et=l.Prisma.validator()({...J,select:{...J.select,discountCodes:{...null==(r=J.select)?void 0:r.discountCodes,where:{discountCode:{id:{in:[]}}}}}});l.Prisma.validator()({select:{buyableType:!0,ticketTypeId:!0,badgeTypeId:!0,advancedStatisticsEventId:!0,eventCustomPdfAppearanceEventId:!0,eventCustomAppearanceEventId:!0,exhibitorAdvancedStatisticsEventId:!0,exhibitorAdvancedStatisticsStructureId:!0,exhibitorProfilesPack1CreditsOrganiserId:!0,exhibitorProfilesPack2CreditsOrganiserId:!0,exhibitorProfilesPack3CreditsOrganiserId:!0,aiImageCreditsOrganiserId:!0,cashRegisterCreditsEventId:!0,promotionEventId:!0,promotionDates:!0,exhibitorPromotionEventId:!0,exportExhibitorsModuleEventId:!0,exportProgramModuleEventId:!0,eventEquipmentRequest:{select:{id:!0}},feeEventEquipmentRequest:{select:{id:!0}},creditNoteId:!0}}),l.Prisma.validator()({select:{buyableType:!0,ticketTypeId:!0,badgeTypeId:!0,eventCustomAppearanceEventId:!0}});let en=l.Prisma.validator()({select:{buyableType:!0,advancedStatisticsEvent:{select:{name:!0,id:!0}},eventCustomPdfAppearanceEvent:{select:{name:!0,id:!0}},eventCustomAppearanceEvent:{select:{name:!0,id:!0}},exhibitorAdvancedStatisticsEvent:{select:{name:!0,id:!0}},exportExhibitorsModuleEvent:{select:{name:!0,id:!0}},exportProgramModuleEvent:{select:{name:!0,id:!0}},promotionEvent:{select:{name:!0,id:!0}},exhibitorPromotionEvent:{select:{name:!0,id:!0}},exhibitorProfilesPack1CreditsOrganiser:{select:{id:!0}},exhibitorProfilesPack2CreditsOrganiser:{select:{id:!0}},exhibitorProfilesPack3CreditsOrganiser:{select:{id:!0}},aiImageCreditsOrganiser:{select:{id:!0}},cashRegisterCreditsEvent:{select:{name:!0,id:!0}},eventEquipmentRequest:{select:{event:{select:{name:!0,id:!0}}}},feeEventEquipmentRequest:{select:{event:{select:{name:!0,id:!0}}}},ticketType:{select:{event:{select:{id:!0,name:!0}}}},badgeType:{select:{event:{select:{id:!0,name:!0}}}},creditNote:{select:{creditNoteItems:{select:{orderItem:{select:{ticket:{select:{ticketType:{select:{event:{select:{id:!0,name:!0}}}}}},badge:{select:{badgeType:{select:{event:{select:{id:!0,name:!0}}}}}}}}}}}}}}),er=l.Prisma.validator()({include:{advancedStatisticsEvent:!0,eventCustomPdfAppearanceEvent:!0,eventCustomAppearanceEvent:!0,exhibitorAdvancedStatisticsEvent:!0,promotionEvent:!0,exhibitorPromotionEvent:!0,exhibitorProfilesPack1CreditsOrganiser:!0,exhibitorProfilesPack2CreditsOrganiser:!0,exhibitorProfilesPack3CreditsOrganiser:!0,aiImageCreditsOrganiser:!0,cashRegisterCreditsEvent:!0,eventEquipmentRequest:{include:{event:!0}},feeEventEquipmentRequest:{include:{event:!0}},exportExhibitorsModuleEvent:!0,exportProgramModuleEvent:!0,ticketType:{include:{event:!0}},badgeType:{include:{event:!0}},creditNote:{select:{id:!0,reference:!0,creditNoteItems:{select:{orderItem:{select:{finalTotal:!0,ticket:{select:{code:!0,ticketType:{select:{name:!0,event:{select:{id:!0,name:!0}}}}}},badge:{select:{code:!0,badgeType:{select:{name:!0,event:{select:{id:!0,name:!0}}}}}}}}}}}}}}),ei=l.Prisma.validator()({select:{id:!0,buyableType:!0,ticketTypeId:!0,badgeTypeId:!0,badgeType:{select:{quantityLeft:!0,id:!0,name:!0,pricing:J,groupMinSize:!0,validityDates:!0,event:{select:{id:!0,name:!0,organiser:{select:{id:!0,admin:{select:{firstName:!0,lastName:!0}}}},ticketing:{select:{id:!0,availabilityEndingDate:!0,availabilityStartingDate:!0}}}}}},ticketType:{select:{quantityLeft:!0,activityId:!0,validityDates:!0,isAvailableOnDisabledTicketing:!0,activity:{select:{structureId:!0,structure:{select:{id:!0,admin:{select:{firstName:!0,lastName:!0,businessName:!0}}}}}},id:!0,name:!0,pricing:J,groupMinSize:!0,saleStartDate:!0,saleEndDate:!0,buyingLimitForUserType:!0,hasGroupVisibilityAndBuyingLimits:!0,groupLimits:{select:{groupId:!0,maxTicketsPerUser:!0}},event:{select:{id:!0,name:!0,organiser:{select:{id:!0,admin:{select:{firstName:!0,lastName:!0,businessName:!0}}}},ticketing:{select:{id:!0,availabilityEndingDate:!0,availabilityStartingDate:!0}}}}}},advancedStatisticsEvent:{select:{id:!0,name:!0}},eventCustomPdfAppearanceEvent:{select:{id:!0,name:!0}},eventCustomAppearanceEvent:{select:{id:!0,name:!0}},exhibitorAdvancedStatisticsEvent:{select:{id:!0,name:!0}},exhibitorAdvancedStatisticsStructure:!0,promotionEvent:{select:{id:!0,name:!0}},promotionDates:!0,exhibitorPromotionEvent:{select:{id:!0,name:!0}},exhibitorProfilesPack1CreditsOrganiser:{select:{id:!0}},exhibitorProfilesPack2CreditsOrganiser:{select:{id:!0}},exhibitorProfilesPack3CreditsOrganiser:{select:{id:!0}},aiImageCreditsOrganiser:{select:{id:!0}},cashRegisterCreditsEvent:{select:{id:!0,name:!0}},exportExhibitorsModuleEvent:{select:{id:!0,name:!0}},exportProgramModuleEvent:{select:{id:!0,name:!0}},eventEquipmentRequestId:!0,eventEquipmentRequest:{select:{id:!0,event:{select:{id:!0,name:!0,organiserId:!0}},eventEquipmentAllocations:{select:{id:!0,count:!0,eventEquipment:{select:{id:!0,name:!0}},dates:!0}}}},feeEventEquipmentRequestId:!0,feeEventEquipmentRequest:{select:{id:!0,event:{select:{id:!0,name:!0,organiserId:!0}},eventEquipmentAllocations:{select:{id:!0,count:!0,eventEquipment:{select:{id:!0,name:!0}},dates:!0}}}},creditNoteId:!0,creditNote:{select:{id:!0,reference:!0,creditNoteItems:{select:{orderItem:{select:{finalTotal:!0,vatRate:!0,ticket:{select:{code:!0,ticketType:{select:{name:!0,event:{select:{id:!0,name:!0}}}}}},badge:{select:{code:!0,badgeType:{select:{name:!0,event:{select:{id:!0,name:!0}}}}}}}}}}}}}}),ea=[l.BuyableItemType.ticket,l.BuyableItemType.badge];Object.values(l.BackofficePrestationType).filter(e=>!ea.includes(e));let eo={[l.BuyableItemType.ticket]:W,[l.BuyableItemType.badge]:p,[l.BuyableItemType.advancedStatistics]:c,[l.BuyableItemType.eventCustomPdfAppearance]:E,[l.BuyableItemType.eventCustomAppearance]:x,[l.BuyableItemType.exhibitorAdvancedStatistics]:P,[l.BuyableItemType.exhibitorProfilesPack1Credits]:T,[l.BuyableItemType.exhibitorProfilesPack2Credits]:L,[l.BuyableItemType.exhibitorProfilesPack3Credits]:D,[l.BuyableItemType.cashRegisterCredits]:g,[l.BuyableItemType.promotion]:U,[l.BuyableItemType.exhibitorPromotion]:_,[l.BuyableItemType.eventEquipmentRequest]:k,[l.BuyableItemType.exp
1ortExhibitorsModule]:F,[l.BuyableItemType.exportProgramModule]:B,[l.BuyableItemType.aiImageCredits]:h,[l.BuyableItemType.refund]:H,[l.BuyableItemType.equipmentDeliveryFee]:b};Object.values({TICKETING:"Billetterie",ADVANCED_STATISTICS:"Statistiques avanc\xe9es",PROMOTION:"Mise en avant",EXHIBITOR_PROFILES_PACK_1_CREDITS:"Profils exposants pack 1",EXHIBITOR_PROFILES_PACK_2_CREDITS:"Profils exposants pack 2",EXHIBITOR_PROFILES_PACK_3_CREDITS:"Profils exposants pack 3",EQUIPMENT_REQUEST:"Mat\xe9riel",EXPORT_EXHIBITORS_MODULE:"Export du module exposants"});let es={orderItems:{include:{buyableItem:er,ticket:!0,badge:!0}},onlineDetails:{include:{invoice:{include:{file:!0}},user:!0}}};l.Prisma.validator()({include:{...es}});let el={id:!0,date:!0,reference:!0,structure:{select:{id:!0,bankDetails:{select:{id:!0,counter:!0}}}},event:{select:{id:!0,name:!0,bankDetails:{select:{id:!0}},organiser:{select:{id:!0,admin:{select:{connectId:!0,businessName:!0,firstName:!0,lastName:!0,email:!0}},bankDetails:{select:{id:!0,counter:!0}}}}}},orderItems:{select:{basePrice:!0,vatRate:!0,finalTotal:!0,badge:{select:{badgeType:{select:{name:!0}}}},ticket:{select:{ticketType:{select:{name:!0}}}}}}};l.Prisma.validator()({select:{...el}});let eu={file:!0,orderItems:{include:{buyableItem:{select:{buyableType:!0}}}},event:{select:{organiser:{select:{admin:{select:{connectId:!0,businessName:!0}}}}}}};l.Prisma.validator()({include:{...eu}});let ec=[l.FileType.media,l.FileType.document,l.FileType.ticket,l.FileType.automated_pdf,l.FileType.deleted_users_files,l.FileType.qr_code],ed=l.Prisma.validator()({key:!0,name:!0,type:!0}),eh={include:{file:!0}};l.Prisma.validator()({include:{file:!0}});let ef=l.EventTimetableState?Object.values(l.EventTimetableState):[],ep=l.Prisma.validator()({include:{schedules:{orderBy:{fromDate:"asc"},include:{timetables:{orderBy:{day:"asc"}}}},exceptionalClosingDates:{orderBy:{date:"asc"}}}});l.Prisma.validator()({select:{userSharedInformation:!0}});let em=l.Prisma.validator()({include:{userSharedInformation:!0}});l.Prisma.validator()({include:{roles:!0}}),Object.values(l.GenderType),l.Prisma.validator()({include:{roles:!0,userSharedInformation:!0,picture:!0,organiser:!0,structure:!0,rightsRole:{include:{rights:!0}},acExpoRightsRole:{include:{rights:!0}},commercial:!0}});let eg=l.Prisma.validator()({include:{roles:!0,userSharedInformation:!0,picture:!0,organiser:!0}});l.Prisma.validator()({include:{...eg.include,structure:{select:{id:!0,hiddenFromExhibitorDirectory:!0}}}}),l.Prisma.validator()({select:{id:!0,connectId:!0,firstName:!0,lastName:!0,picture:!0,interest:!0}}),l.Prisma.validator()({include:{roles:!0,userSharedInformation:!0,picture:!0,commercial:{include:{events:!0}},structure:{include:{socials:!0,address:!0,businessSectorRelation:!0,eventStructures:{orderBy:{event:{createdAt:"desc"}},include:{event:{include:{dates:ep}}}}}},organiser:{include:{events:{include:{dates:ep},orderBy:{createdAt:"desc"}}}},tickets:{include:{ticketType:{include:{event:{include:{dates:ep}}}}}},badges:{include:{badgeType:{include:{event:{include:{dates:ep}}}}}}}}),l.Prisma.validator()({include:{cart:{include:{basketItem:{include:{buyableItem:{
1include:{ticketType:!0}}}}},where:{type:l.BasketType.store,isExpired:!1}},tickets:{include:{ticketType:!0,orderItem:!0}}}});let ev=l.Prisma.validator()({include:{user:{include:{picture:!0,userSharedInformation:!0}},groups:!0}});l.Prisma.validator()({...ev,include:{...ev.include,givenBadges:!0,givenTickets:!0}}),l.Prisma.validator()({include:{givenBadges:{where:{badgeType:{eventId:void 0}},include:{badgeType:!0}},givenTickets:{where:{ticketType:{eventId:void 0}},include:{ticketType:!0}}}}),l.Prisma.validator()({select:{user:em,givenToVisitor:ev}}),l.Prisma.validator()({select:{user:em,givenToVisitor:ev}}),l.Prisma.validator()({include:{eventDiscountCodes:{include:{discount:!0,_count:{select:{orderItemDiscountCodes:{where:{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}}}}}}}}),l.Prisma.validator()({include:{pricing:J,tickets:!0}});let ey=l.Prisma.validator()({include:{pricing:ee,activity:{select:{eventId:!0}},tickets:!0,customAppearance:{include:{picture:{select:ed}}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:!0,groupLimits:!0}}),eb=l.Prisma.validator()({include:{pricing:{select:{...ee.select,discountCodes:{...ee.select.discountCodes,select:{...null==(i=ee.select.discountCodes)?void 0:i.select,discountCode:{select:{...null==(s=ee.select.discountCodes)||null==(o=s.select)||null==(a=o.discountCode)?void 0:a.select,_count:{select:{orderItemDiscountCodes:{where:{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}}}}}}}}}},activity:{select:{eventId:!0}},groupLimits:!0,_count:{select:{tickets:{where:{OR:[{orderItem:null},{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}]}}}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:!0}}),ew=Object.values(l.TicketUserType);ew.filter(e=>"vendor"!==e&&"business"!==e),ew.filter(e=>"vendor"!==e&&"business"!==e);let ex=Object.values(l.DiscountType);l.Prisma.validator()({include:{ticketType:!0,givenToCommercial:{include:{user:{include:{picture:!0}}}}}}),l.Prisma.validator()({include:{inspector:{include:{user:!0}},gate:!0,ticket:{include:{ticketType:!0,user:em,givenToVisitor:ev}},badge:{include:{badgeType:!0,user:em,givenToVisitor:ev}}}}),l.Prisma.validator()({include:{orderItem:{include:{order:{include:{onlineDetails:{include:{invoice:eh}}}}}},ticketType:{select:{id:!0,name:!0,validityDates:!0,activity:!0,event:{select:{id:!0,address:!0,image:!0,name:!0,dates:ep}},pricing:K,numberEntriesPerDay:!0,isInfiniteEntries:!0,customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},eventGates:!0}},user:!0}}),l.Prisma.validator()({id:!0,code:!0,hmac:!0,ticketType:{select:{name:!0,validityDates:!0,pricingId:!0,pricing:{select:{isPaid:!0,price:{select:{id:!0,priceTTC:!0,vatRate:!0}}}},numberEntriesPerDay:!0,isInfiniteEntries:!0,customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:{select:{id:!0}}}},user:{select:{firstName:!0,lastName:!0}}}),l.Prisma.validator()({include:{ticketType:{include:{event:{include:{gates:!0}},eventGates:!0,activity:{select:{id:!0,structureId:!0}}}}}}),l.Prisma.validator()({select:{id:!0,name:!0,quantityLeft:!0,isQuantityInfinite:!0,hasAlertThreshold:!0,alertThreshold:!0}}),l.Prisma.validator()({include:{schedules:{include:{timetable:!0},orderBy:{timetable:{day:"asc"}}},activityArea:!0,ticketTypes:{include:{...eb.include,tickets:{include:{user:!0}}}},activityProgramRequest:!0,event:{select:{ticketing:!0,name:!0}}}});let eC=l.Prisma.validator()({include:{schedules:{include:{timetable:!0},orderBy:{timetable:{day:"asc"}}},activityArea:!0,ticketTypes:{include:{pricing:J,tickets:{omit:{hmac:!0}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,groupLimits:!0}},activityProgramRequest:!0,event:{select:{ticketing:!0,name:!0}}}});var eE=n(31078);eE.z.object({eventId:eE.z.string()}),eE.z.object({eventId:eE.z.string()}),eE.z.object({eventId:eE.z.string()}),eE.z.object({structureId:eE.z.string(),eventId:eE.z.string()}),eE.z.object({structureId:eE.z.string(),eventId:eE.z.string()}),eE.z.object({structureId:eE.z.string(),eventId:eE.z.string()}),eE.z.object({structureId:eE.z.string(),eventId:eE.z.string()}),eE.z.object({structureIds:eE.z.array(eE.z.string()),structureId:eE.z.string(),eventId:eE.z.string()}),eE.z.object({organizerId:eE.z.string()});let eS={openExponentProfile:"open-exponent-profile",openExponentWebsite:"open-exponent-website",openExponentSocials:"open-exponent-socials",openExponentConversation:"open-exponent-conversation",openExponentList:"open-exponent-list",openOrganizerConversation:"open-organizer-conversation",openEventDetails:"open-event-details",openEventWebsite:"open-event-website",openEventSocials:"open-event-socials",validateExponentActivity:"val
1idate-exponent-activity",issueTickets:"issue-tickets",issueBadges:"issue-badges",assignTickets:"assign-tickets",assignBadges:"assign-badges",addExponentsToEvent:"add-exponents-to-event",exponentParticipationRequestAnswer:"exponent-participation-request-answer",exponentParticipationRequest:"exponent-participation-request",appMakerEventRequestAnswer:"app-maker-event-request-answer",newEventToControl:"new-event-to-control",newEventAsVisitor:"new-event-as-visitor",newEquipmentRequest:"new-equipment-request",equipmentRequestAnswer:"equipment-request-answer",buyProductAsVisitor:"buy-products",transferEventOwnership:"transfer-event-ownership",newStatusEvent:"new-status-event",ticketAlertThreshold:"ticket-alert-threshold",exhibitorTicketAlertThreshold:"exhibitor-ticket-alert-threshold",proPaymentMethodAccepted:"pro-payment-method-accepted",proPaymentMethodRefused:"pro-payment-method-refused",commercialisationCommentTag:"commercialisation-comment-tag",visitorEntryNotification:"visitor-entry-notification",visitorFavoriteNotification:"visitor-favorite-notification"},eA={INVALID_CREDENTIALS:"INVALID_CREDENTIALS",ACCOUNT_DISABLED:"ACCOUNT_DISABLED",EMAIL_NOT_VERIFIED:"EMAIL_NOT_VERIFIED",EMAIL_ALREADY_USED:"EMAIL_ALREADY_USED"},ek={[eA.INVALID_CREDENTIALS]:"Identifiant ou mot de passe incorrect",[eA.ACCOUNT_DISABLED]:"Le compte est d\xe9sactiv\xe9",[eA.EMAIL_NOT_VERIFIED]:"Veuillez v\xe9rifier votre email",[eA.EMAIL_ALREADY_USED]:"Un compte existe d\xe9j\xe0 avec cet email"};var eN=n(35003),eP=n.n(eN);let eI=l.Prisma.validator()({select:{id:!0,structureId:!0,name:!0,link:!0,createdAt:!0,updatedAt:!0,file:{select:ed},thumbnail:{select:ed},eventDocuments:{select:{eventStructure:{select:{eventId:!0}}}}}}),eT=l.Prisma.validator()({include:{backgroundPicture:{select:{key:!0,type:!0,name:!0}}}}),eO=l.Prisma.validator()({select:{id:!0,businessName:!0,businessSectorId:!0,businessSectorRelation:{select:{id:!0,name:!0,parentId:!0}},businessEmail:!0,phoneNumber:!0,siret:!0,siren:!0,apeCode:!0,vat:!0,acceptedTerms:!0,description:!0,adminId:!0,picture:{select:{key:!0,type:!0,name:!0}},bannerPicture:!0,admin:{select:{firstName:!0,lastName:!0}},address:{select:{address:!0,city:!0,zipCode:!0,name:!0,country:!0,lat:!0,long:!0}},socials:{select:{websiteUrl:!0,linkedinUrl:!0,facebookUrl:!0,twitterUrl:!0,instagramUrl:!0,youtubeUrl:!0}},scannedStructures:{select:{userId:!0,createdAt:!0,eventId:!0,event:{select:{id:!0,name:!0}}}},likes:{select:{userId:!0}},activities:eC,products:{select:{id:!0,name:!0,description:!0,link:!0,images:{select:{file:{select:{key:!0,type:!0,name:!0}}}},events:{select:{id:!0}}}},documents:eI,customStructureAppearance:eT}}),eL=()=>{let e;return l.Prisma.validator()({select:{...eO.select,commercials:{select:{id:!0,firstName:!0,lastName:!0,email:!0,commercialRole:!0,user:{select:{id:!0,firstName:!0,lastName:!0,email:!0,roles:!0,phoneNumber:!0,picture:{select:{key:!0,type:!0,name:!0}}}},events:{where:{organiserId:e},select:{name:!0,dates:{include:{schedules:{include:{timetables:{orderBy:{day:"asc"}}},orderBy:{fromDate:"asc"}},exceptionalClosingDates:{orderBy:{date:"asc"}}}}}}}},customStructureAppearance:eT,slug:!0}})},eM={backgroundColor:"white",filterOpacity:0,backgroundPicture:null,id:"",structureId:"",backgroundPictureId:""},eD=eO.select;l.Prisma.validator()({select:{id:!0,businessName:!0,businessSectorRelation:eD.businessSectorRelation,picture:eD.picture,likes:eD.likes,scannedStructures:eD.scannedStructures,eventStructures:{select:{event:{select:{id:!0,name:!0}}}}}});let ej=l.Prisma.validator()({include:{picture:!0,address:!0,socials:!0}});l.Prisma.validator()({include:{structure:!0,event:{include:{organiser:!0,dates:{include:{schedules:{include:{timetables:{orderBy:{day:"asc"}}},orderBy:{fromDate:"asc"}},exceptionalClosingDates:{orderBy:{date:"asc"}}}},eventPlace:{include:{place:!0}},image:!0}}},select:{status:!0,participation_request_id:!0}}),l.Prisma.validator()({include:{images:{select:{file:{select:{key:!0,type:!0,name:!0}}}}}}),l.Prisma.validator()({select:{picture:!0}}),l.Prisma.validator()({select:{id:!0,picture:!0,bannerPicture:!0,adminId:!0,socials:!0,businessName:!0,businessSectorRelation:{select:{id:!0,name:!0,parentId:!0}}
1,address:!0,acceptedTerms:!0,phoneNumber:!0,businessEmail:!0,description:!0,activities:{...eC},products:{include:{images:{include:{file:{select:{key:!0,type:!0,name:!0}}}},events:!0}},likes:!0,scannedStructures:{select:{id:!0,createdAt:!0,updatedAt:!0,eventId:!0,structureId:!0,userId:!0}},eventStructures:{select:{event:{select:{id:!0,name:!0,status:!0,isPrivate:!0,isPaidEntry:!0,isIndoor:!0,isOutdoor:!0,dates:{include:{schedules:{include:{timetables:{orderBy:{day:"asc"}}},orderBy:{fromDate:"asc"}},exceptionalClosingDates:{orderBy:{date:"asc"}}}},image:{select:{key:!0,type:!0}},address:{select:{name:!0}},eventPlace:{select:{place:{select:{placeEntrances:{select:{address:{select:{name:!0}}},take:1}}}}},ticketTypes:{select:{id:!0}},badgeTypes:{select:{id:!0}}}}}},admin:{select:{firstName:!0,lastName:!0}},bankDetails:!0,commercials:!0,customStructureAppearance:{include:{backgroundPicture:!0}},slug:!0}});let e_=l.Prisma.validator()({select:{isContinuous:!0,schedules:{select:{fromDate:!0,toDate:!0,timetables:{select:{day:!0,state:!0,openingTime:!0,closingTime:!0,breakStartTime:!0,breakEndTime:!0},orderBy:{day:"asc"}}},orderBy:{fromDate:"asc"}},exceptionalClosingDates:{select:{date:!0},orderBy:{date:"asc"}}}});l.Prisma.validator()({select:{id:!0,slug:!0,name:!0,isPaidEntry:!0,isIndoor:!0,isOutdoor:!0,isPrivate:!0,image:{select:{key:!0,type:!0}},address:{select:{name:!0,city:!0}},eventPlace:{select:{place:{select:{placeEntrances:{take:1,select:{address:{select:{name:!0}}}}}}}},dates:e_,ticketTypes:{select:{id:!0}},badgeTypes:{select:{id:!0}},ticketing:{select:{availabilityStartingDate:!0,availabilityEndingDate:!0}},promotionDates:!0}});let eR=l.Prisma.validator()({select:{id:!0,name:!0,description:!0,link:!0,images:{select:{file:{select:{key:!0,type:!0,name:!0}}}},events:{select:{id:!0}}}});l.Prisma.validator()({select:{id:!0,businessName:!0,businessSectorRelation:{select:{id:!0,name:!0,parentId:!0}},businessEmail:!0,phoneNumber:!0,acceptedTerms:!0,description:!0,adminId:!0,picture:{select:{key:!0,type:!0,name:!0}},bannerPicture:!0,address:{select:{address:!0,city:!0,zipCode:!0,name:!0,country:!0,lat:!0,long:!0}},socials:{select:{websiteUrl:!0,linkedinUrl:!0,facebookUrl:!0,twitterUrl:!0,instagramUrl:!0,youtubeUrl:!0}},likes:{select:{userId:!0}},activities:eC,products:eR,documents:eI,customStructureAppearance:eT,commercials:{where:{visibleOnExhibitorPage:!0},select:{id:!0,firstName:!0,lastName:!0,email:!0,jobTitle:!0,visibleOnExhibitorPage:!0,user:{select:{firstName:!0,lastName:!0,email:!0,phoneNumber:!0}},events:{select:{id:!0}}}},slug:!0}}),l.Prisma.validator()({select:{id:!0,adminId:!0,businessName:!0,businessEmail:!0,phoneNumber:!0,picture:{select:{key:!0,type:!0,name:!0}},businessSectorRelation:{select:{id:!0,name:!0}},address:{select:{address:!0,city:!0,zipCode:!0,name:!0,lat:!0,long:!0}},products:{select:{name:!0}}}});var eF=function(e){return e.CLOSEST_DATES="closest-dates",e.CLOSEST_TO_ME="closest-to-me",e.RECENTLY_ADDED="recently-added",e}({}),ez=function(e){return e.DEFAULT="default",e.TOMORROW="tomorrow",e.THIS_WEEK="this-week",e.THIS_WEEKEND="this-weekend",e.THIS_MONTH="this-month",e.CUSTOM="custom",e}({});let eB=["cultural","sporting","fair","professionalFair","concert","festival","other"];function eV(e){switch(e){case"cultural":return"Culturel";case"sporting":return"Sportif";case"fair":return"Foire & salons grand public";case"professionalFair":return"Salon professionnels";case"concert":return"Spectacle & concert";case"festival":return"Festival";case"other":return"Autre"}}let eU={paid:"payante",free:"gratuite",indoor:"int\xe9rieur",outdoor:"ext\xe9rieur"},eq={cultural:"Culturel",sporting:"Sportif",fair:"Foire & salons grand public",professionalFair:"Salon professionnels",concert:"Spectacle & concert",festival:"Festival",other:"Autre"};eP()(eq);let eH=l.Prisma.validator()({include:{createdBy:!0}}),eZ=l.Prisma.validator()({select:{legend:!0,order:!0,file:{select:ed}},orderBy:{order:"asc"}});l.Prisma.validator()({include:{address:!0,image:!0,pictures:eZ,ticketTypes:!0,badgeTypes:!0,dates:ep,eventStructures:{select:{structure:{select:{id:!0,businessName:!0,businessSectorRelation:{select:{id:!0,name:!0}}}}}},activities:{select:{name:!0,description:!0}
1},eventPlace:{select:{place:{select:{placeEntrances:{select:{address:{select:{name:!0,lat:!0,long:!0}}}}}}}},organiser:{select:{admin:{select:{picture:!0,firstName:!0,lastName:!0,businessName:!0}}}},ticketing:!0,customEventAppearance:{include:{backgroundPicture:{select:ed}}},poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}}},omit:{secretKey:!0}}),l.Prisma.validator()({select:{id:!0,name:!0,address:!0,image:!0,organiser:{select:{admin:{select:{firstName:!0,lastName:!0,businessName:!0}}}},dates:ep}});let eW=l.Prisma.validator()({include:{address:!0,image:!0,pictures:eZ,organiser:{include:{admin:{select:{picture:!0,isProfessional:!0,connectId:!0,businessName:!0,firstName:!0,lastName:!0,siret:!0,vat:!0,email:!0,phoneNumber:!0,id:!0}}}},socials:!0,dates:ep,eventStructures:{select:{structureId:!0,exhibitorProfilesPack:!0,hall:!0,stand:!0,promotionDateRanges:{select:{from:!0,to:!0}},structure:{select:{id:!0,adminId:!0,acceptedTerms:!0,businessName:!0,businessSectorRelation:{select:{id:!0,name:!0,parentId:!0}},businessEmail:!0,businessSectorId:!0,phoneNumber:!0,description:!0,admin:{select:{firstName:!0,lastName:!0}},customStructureAppearance:eT,scannedStructures:{select:{eventId:!0}},picture:{select:ed},products:{select:{id:!0,name:!0,description:!0,events:{select:{id:!0}}}},activities:{select:{id:!0,name:!0,eventId:!0,structureSchedule:!0,ticketTypes:{select:{id:!0}}}},commercials:{select:{user:{select:{firstName:!0,lastName:!0,email:!0}}}}}}}},eventPlace:{include:{areas:!0,entrances:!0,place:{include:{placeEntrances:{include:{address:!0}}}}}},commercials:{select:{id:!0,structure:!0}},ticketing:!0,ticketTypes:{where:{deletedAt:null,OR:[{activityId:null},{activity:{isOnline:!0}}]},include:{pricing:J,tickets:{omit:{hmac:!0}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,groupLimits:!0},orderBy:{name:"asc"}},badgeTypes:{where:{deletedAt:null,isVisibleOnVisitorTicketing:!0},include:{pricing:J,customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0},orderBy:{name:"asc"}},activities:{...eC,where:{isOnline:!0,OR:[{activityProgramRequest:{status:"accepted"}},{activityProgramRequest:null,structureId:null}]},include:{schedules:{include:{timetable:!0},orderBy:{timetable:{day:"asc"}}},activityArea:!0,ticketTypes:{include:{pricing:J,tickets:{omit:{hmac:!0}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,groupLimits:!0}},activityProgramRequest:!0,event:{select:{name:!0,ticketing:!0}}}},eventEntrances:{include:{address:!0}},customEventAppearance:{include:{backgroundPicture:{select:ed}}},poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}},customCalendar:{include:{backgroundPicture:{select:ed}}}},omit:{secretKey:!0}}),eG=l.Prisma.validator()({schedules:{include:{timetable:!0}},activityArea:!0,ticketTypes:{include:{pricing:ee,tickets:{include:{user:eg},omit:{hmac:!0}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,groupLimits:!0,eventGates:!0}},activityProgramRequest:!0,event:{select:{name:!0,ticketing:!0}}}),e$=l.Prisma.validator()({include:{image:!0,pictures:eZ,eventCreatedByVisitor:eH,ExhibitorAdvancedStatistics:!0,eventAdditionalInformation:!0,organiser:{select:{id:!0,adminId:!0,eventCounter:!0,createdAt:!0,updatedAt:!0,exhibitorProfilesPack1Credits:!0,exhibitorProfilesPack2Credits:!0,exhibitorProfilesPack3Credits:!0,aiImageCredits:!0,admin:{include:{picture:!0,roles:{select:{role:!0}}},omit:{rightsRoleId:!0,acExpoRightsRoleId:!0}}}},socials:!0,dates:ep,eventStructures:{select:{id:!0,eventId:!0,exhibitorProfilesPack:!0,structureId:!0,hall:!0,stand:!0,structure:eL(),promotionDateRanges:{select:{from:!0,to:!0}},hasTicketAlertThreshold:!0,ticketAlertThreshold:!0}},commercials:{select:{id:!0,structure:!0}},eventPlace:{include:{areas:!0,entrances:!0,place:{include:{placeEntrances:{include:{address:!0}}}}}},address:!0,eventEntrances:{include:{address:!0},orderBy:[{createdAt:"asc"},{address:{address:"asc"}}]},activities:{where:{OR:[{activityProgramRequest:{status:"accepted"}},{activityProgramRequest:null,structureId:null}]},include:eG},gates:!0,eventInspectors:{include:{user:!0,gate:!0},orderBy:{user:{createdAt:"asc"}}},ticketTypes:{where:{deletedAt:null},include:{pricing:et,tickets:{omit:{hmac:!0}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0,groupLimits:!0}},badgeTypes:{where:{deletedAt:null},include:{pricing:et,customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:{select:ed},headerPicture:!0,textPictures:!0}},templatePdf:!0}},ticketing:!0,reports:{include:{user:{include:{picture:!0}}},where:{status:"pending"}},customEventAppearance:{include:{backgroundPicture:{select:ed}}}
1,bankDetails:{include:{organiser:!0,structure:!0}},poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}},AnalyticsEvent:{select:{detailsViewCount:!0}},cashRegisters:{where:{deletedAt:null}},customCalendar:{include:{backgroundPicture:{select:ed}}}}});l.Prisma.validator()({include:{addedTexts:{include:{style:{select:{alignment:!0,bold:!0,color:!0,fontSize:!0,font:!0,italic:!0,strikeThrough:!0,underline:!0}}},omit:{id:!0,customPosterId:!0}},logos:{include:{picture:{select:ed}},omit:{id:!0,customPosterId:!0,pictureId:!0}},pictures:{include:{picture:{select:ed}},omit:{id:!0,customPosterId:!0,pictureId:!0}}},omit:{createdAt:!0,updatedAt:!0,eventId:!0,id:!0}}),l.Prisma.validator()({select:{id:!0,slug:!0,name:!0,type:!0,status:!0,isPrivate:!0,isPaidEntry:!0,isIndoor:!0,isOutdoor:!0,password:!0,organiserName:!0,organiserEmail:!0,organiserPhone:!0,promotionDates:!0,hasAdvancedStatistics:!0,hasCustomPdfAppearance:!0,hasCustomEventAppearance:!0,hasExportExhibitorsModule:!0,hasExportProgramModule:!0,exhibitorPromotionCredits:!0,openTicketingWhenOnline:!0,activateBadgesWhenOnline:!0,setExhibitorsOnlineWhenOnline:!0,setProgramOnlineWhenOnline:!0,createdAt:!0,updatedAt:!0,image:{select:{key:!0,type:!0}},ticketing:{select:{availabilityStartingDate:!0,availabilityEndingDate:!0}},organiser:{select:{admin:{select:{id:!0,firstName:!0,lastName:!0,phoneNumber:!0,email:!0,businessName:!0}}}},address:{select:{name:!0,address:!0,zipCode:!0,city:!0,lat:!0,long:!0}},eventStructures:{select:{exhibitorProfilesPack:!0,structureId:!0,structure:{select:{id:!0,businessName:!0,businessSectorRelation:{select:{id:!0,name:!0}}}}}},badgeTypes:{select:{id:!0}},activities:{select:{id:!0}},dates:ep,AnalyticsEvent:{select:{detailsViewCount:!0}},ExhibitorAdvancedStatistics:{select:{structureId:!0}},poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}}}});let eK=l.Prisma.validator()({select:{id:!0,name:!0,type:!0,status:!0,isPrivate:!0,isPaidEntry:!0,isIndoor:!0,isOutdoor:!0,password:!0,organiserName:!0,organiserEmail:!0,organiserPhone:!0,promotionDates:!0,openTicketingWhenOnline:!0,activateBadgesWhenOnline:!0,setExhibitorsOnlineWhenOnline:!0,setProgramOnlineWhenOnline:!0,image:{select:{key:!0,type:!0}},ticketing:{select:{availabilityStartingDate:!0,availabilityEndingDate:!0}},organiser:{select:{admin:{select:{firstName:!0,lastName:!0}}}},address:{select:{name:!0,address:!0,zipCode:!0,city:!0,lat:!0,long:!0}},eventStructures:{select:{id:!0}},badgeTypes:{select:{id:!0}},activities:{select:{id:!0}},dates:ep,AnalyticsEvent:{select:{detailsViewCount:!0}}}});l.Prisma.validator()({select:{...eK.select,hasAdvancedStatistics:!0,hasCustomPdfAppearance:!0,hasCustomEventAppearance:!0,hasExportExhibitorsModule:!0,hasExportProgramModule:!0,exhibitorPromotionCredits:!0}}),l.Prisma.validator()({include:{image:!0,organiser:{select:{admin:{select:{id:!0,firstName:!0,lastName:!0,phoneNumber:!0,email:!0,businessName:!0}}}},address:!0,dates:ep,eventCreatedByVisitor:!0,socials:!0,eventAdditionalInformation:!0,poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}}}});let eY=l.Prisma.validator()({select:{id:!0,name:!0,description:!0,type:!0,status:!0,isIndoor:!0,isOutdoor:!0,isPaidEntry:!0,createdAt:!0,updatedAt:!0,image:{select:{key:!0,type:!0}},organiser:{select:{id:!0,admin:{select:{id:!0,firstName:!0,lastName:!0,businessName:!0}}}},address:{select:{address:!0,zipCode:!0,city:!0,country:!0,lat:!0,long:!0}},dates:ep}});l.Prisma.validator()({select:{score:!0,event:eY,duplicateEvent:eY}}),l.Prisma.validator()({include:{dates:ep}}),l.Prisma.validator()({select:{id:!0,name:!0,organiser:{select:{id:!0,admin:{select:{firstName:!0,lastName:!0,connectId:!0}},bankDetails:!0}},eventStructures:{select:{structure:{select:{id:!0,businessName:!0,bankDetails:!0,admin:{select:{firstName:!0,lastName:!0,connectId:!0}}}}}},dates:ep,bankDetails:!0}}),l.Prisma.validator()({include:{ticketing:{select:{id:!0}},eventEntrances:{include:{address:{omit:{id:!0,createdAt:!0,updatedAt:!0}}}},image:!0,pictures:eZ,socials:{omit:{id:!0,createdAt:!0,updatedAt:!0}},ticketTypes:{omit:{createdAt:!0,updatedAt:!0},include:{pricing:ee,activity:!0}}}}),l.Prisma.validator()({include:{user:{include:{picture:!0}}}});let eX=["fakeEvent","duplicatedEvent","incorrectInformations","other"],eQ=l.Prisma.validator()({select:{id:!0,picture:!0,gender:!0,firstName:!0,lastName:!0,email:!0,connectId:!0,businessName:!0,roles:!0,commercial:{select:{id:!0,structureId:!0}},userSharedInformation:!0}});l.Prisma.validator()({include:{user:eQ,badgeType:{include:{pricing:{include:{price:!0}},event:e$}},givenToCommercial:!0,givenToExhibitor:{include:{structure:ej}}
1,buyByStructure:ej,givenToVisitor:!0,orderItem:{include:{order:{include:{onlineDetails:{include:{invoice:eh}}}}}}}}),l.Prisma.validator()({select:{id:!0,hmac:!0,code:!0,userId:!0,user:eQ,orderItem:{select:{order:{select:{onlineDetails:{select:{invoice:eh}}}}}},badgeTypeId:!0,badgeType:{select:{id:!0,validityDates:!0,pricing:K,name:!0,event:{select:{id:!0,address:!0,image:!0,name:!0,dates:ep}},numberEntriesPerDay:!0,isInfiniteEntries:!0,customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},eventGates:{select:{id:!0}}}}}}),l.Prisma.validator()({select:{id:!0,userId:!0,user:eQ,badgeTypeId:!0,givenToCommercial:!0,code:!0,givenToExhibitor:{include:{structure:ej}},buyByStructure:ej,isEnabled:!0,givenToCommercialId:!0,givenToVisitorId:!0,badgeType:{select:{id:!0,eventId:!0,name:!0,validityDates:!0}}}}),l.Prisma.validator()({include:{pricing:J,badges:!0}});let eJ=l.Prisma.validator()({include:{pricing:ee,badges:{include:{givenToCommercial:!0,user:{select:{commercial:{select:{id:!0,structureId:!0}}}}}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:!0}});l.Prisma.validator()({include:{pricing:{include:{price:!0,degressivePrices:{include:{discount:!0},orderBy:{minQuantity:"asc"}},discountCodes:{include:{discountCode:{include:{discount:!0,_count:{select:{orderItemDiscountCodes:{where:{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}}}}}}}}}},_count:{select:{badges:{where:{OR:[{orderItem:null},{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}]}}}},customAppearance:{include:{picture:!0}},customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:!0}}),l.Prisma.validator()({id:!0,code:!0,hmac:!0,badgeType:{select:{name:!0,validityDates:!0,pricingId:!0,pricing:{select:{isPaid:!0,price:{select:{id:!0,priceTTC:!0,vatRate:!0}}}},numberEntriesPerDay:!0,isInfiniteEntries:!0,customPdfAppearance:{include:{backgroundPicture:!0,headerPicture:!0,textPictures:!0}},templatePdf:!0,eventGates:{select:{id:!0}}}},user:{select:{firstName:!0,lastName:!0}}}),l.Prisma.validator()({include:{badgeType:{include:{event:{include:{gates:!0}},eventGates:!0}}}}),l.Prisma.validator()({select:{id:!0,hmac:!0,code:!0,userId:!0,badgeTypeId:!0,badgeType:{select:{id:!0,validityDates:!0,pricing:J,name:!0,event:{select:{id:!0,name:!0}},numberEntriesPerDay:!0,isInfiniteEntries:!0,customAppearance:{include:{picture:!0}}}},orderItem:{select:{order:{select:{onlineDetails:{select:{invoice:eh}}}}}}}}),l.Prisma.validator()({select:{id:!0,accountName:!0,iban:!0,bic:!0}});var e0=function(e){return e.ACTIVE="active",e.CLOTURED="clotured",e.ARCHIVED="archived",e}({});let e1=["active","clotured","archived"];var e2=function(e){return e.EVENT="event",e.ORGANISER="organiser",e.OTHER="other",e}({});let e5=["event","organiser","other"];var e4=function(e){return e.HOT="hot",e.LUKEWARM="lukewarm",e.COLD="cold",e}({});let e3=["hot","lukewarm","cold"];var e6=function(e){return e.PHONE="phone",e.VISO="visio",e}({});let e8=["phone","visio"],e9=l.Prisma.validator()({select:{id:!0,isCancelled:!0,date:!0,beginningHour:!0,endHour:!0,meetingType:!0,target:{select:{id:!0,firstName:!0,lastName:!0,email:!0,picture:!0}}}}),e7=l.Prisma.validator()({select:{id:!0,name:!0,email:!0,phone:!0,isArchived:!0,function:!0,adoptedSolution:!0,text:!0,gender:!0}}),te=l.Prisma.validator()({select:{id:!0,name:!0,startDate:!0,endDate:!0,exhibitorCount:!0,visitorCount:!0,animationCount:!0,isArchived:!0,ticketingAmount:!0,adoptedSolution:!0}}),tt=l.Prisma.validator()({select:{id:!0,taskId:!0,text:!0,createdAt:!0,author:{select:{id:!0,firstName:!0,lastName:!0,picture:!0}}}});l.Prisma.validator()({select:{id:!0,status:!0,date:!0,title:!0,targetType:!0,temperature:!0,targetProvenance:!0,otherName:!0,organiserEmail:!0,organiserPhone:!0,animationCount:!0,exhibitorCount:!0,ticketingAmount:!0,visitorCount:!0,event:{include:{dates:{include:{schedules:{include:{timetables:!0}},exceptionalClosingDates:!0}},organiser:{include:{admin:!0}
1},address:!0,socials:!0,eventStructures:!0}},assigneeId:!0,assignee:{select:{id:!0,firstName:!0,lastName:!0,email:!0,picture:!0}},organiser:{select:{id:!0,admin:{select:{id:!0,firstName:!0,lastName:!0,email:!0,phoneNumber:!0,address:!0,city:!0,zipCode:!0,picture:!0}},structures:{select:{structure:{select:{eventStructures:!0}}}}}},comments:{orderBy:{createdAt:"asc"},select:tt.select},meetings:{select:e9.select,orderBy:{updatedAt:"desc"}},interlocutors:{select:e7.select,orderBy:{name:"asc"}},organiserEvents:{select:te.select,orderBy:{startDate:"asc"}},mails:{orderBy:{updatedAt:"desc"}}}});let tn="Ce billet n'est pas encore disponible \xe0 la vente",tr="Ce billet n'est plus disponible \xe0 la vente",ti="Le nombre de billet restant n'est pas suffisant",ta="Le nombre de badge restant n'est pas suffisant",to=l.Prisma.validator()({select:{id:!0,buyableItem:ei,createdAt:!0,updatedAt:!0,expirationCountdown:!0}}),ts=l.Prisma.validator()({select:{id:!0,type:!0,discountCode:{select:{id:!0,name:!0,isCumulable:!0,quantityLeft:!0,eventId:!0,pricings:{select:{pricingId:!0,quantityLeft:!0,pricing:{select:{ticketType:{select:{id:!0}},badgeType:{select:{id:!0}},backofficePrestation:{select:{type:!0}}}}}},ticketingId:!0,validityDates:!0,organiserId:!0,discount:{select:{type:!0,value:!0}}},orderBy:[{discount:{type:"desc"}},{discount:{value:"desc"}}],where:{disabledAt:null,deletedAt:null}},basketItem:{select:to.select,orderBy:{expirationCountdown:"desc"}},isExpired:!0,hasExtendedExpirationTime:!0,comments:{orderBy:{createdAt:"asc"},select:tt.select},meetings:{select:e9.select,orderBy:{updatedAt:"desc"}}}});l.Prisma.validator()({select:{id:!0,firstName:!0,lastName:!0,email:!0,phoneNumber:!0,connectId:!0,zipCode:!0,picture:{select:{key:!0}},structure:{select:{id:!0,businessName:!0,socials:!0}}}}),l.Prisma.validator()({select:{id:!0,type:!0,isExpired:!0,user:{select:{firstName:!0,lastName:!0}},discountCode:{select:{id:!0,name:!0,discount:{select:{type:!0,value:!0}}},where:{disabledAt:null,deletedAt:null}},basketItem:{select:{id:!0,expirationCountdown:!0}},comments:{orderBy:{createdAt:"asc"},select:tt.select},meetings:{select:e9.select,orderBy:{updatedAt:"desc"}}}});let tl=l.Prisma.validator()({select:{id:!0,name:!0,parentId:!0,createdAt:!0,updatedAt:!0}});l.Prisma.validator()({select:{...tl.select,parent:{select:{id:!0,name:!0}}}}),l.Prisma.validator()({select:{...tl.select,parent:{select:{id:!0,name:!0}},children:{select:{id:!0,name:!0}}}}),l.Prisma.validator()({select:{...tl.select,parent:{select:{id:!0,name:!0}},_count:{select:{children:!0}}}}),l.Prisma.validator()({select:{id:!0,isActive:!0,sessions:{select:{cashRegister:{select:{id:!0,name:!0}},closingStateId:!0}},eventCashRegisterId:!0,user:{select:{lastName:!0,firstName:!0,connectId:!0}}}}),l.Prisma.validator()({include:{sessions:{select:{holder:{include:{user:{select:{connectId:!0,firstName:!0,lastName:!0}}}}}}}}),l.Prisma.validator()({select:{id:!0,reference:!0,total:!0,createdAt:!0,cashRegisterPayment:{select:{paymentMethod:!0}},onlineCardPayment:{select:{transactionNumber:!0}},cashRegisterDetails:{select:{cancelledAt:!0}},orderItems:{select:{basePrice:!0,finalTotal:!0,ticket:{select:{id:!0,code:!0,hmac:!0,ticketType:{select:{name:!0,pricing:J,customAppearance:{include:{picture:!0}}}}}},badge:{select:{id:!0,code:!0,hmac:!0,badgeType:{select:{name:!0,pricing:J,customAppearance:{include:{picture:!0}}}}}}}}}}),l.Prisma.validator()({select:{id:!0,holder:{select:{id:!0,user:{select:{firstName:!0,lastName:!0}}}},cashRegister:{select:{id:!0,name:!0}},closingState:!0,openingState:!0,changes:!0,organiserLiquidGain:!0,organiserCardGain:!0,organiserCheckGain:!0,organiserControlledAmount:!0,orderDetails:{select:{id:!0,cancelledAt:!0,order:{select:{id:!0,reference:!0,total:!0,createdAt:!0,cashRegisterPayment:{select:{paymentMethod:!0}},onlineCardPayment:{select:{transactionNumber:!0}},orderItems:{select:{basePrice:!0,finalTotal:!0,buyableItem:{select:{badgeType:{select:{id:!0,name:!0,pricing:J}},ticketType:{select:{id:!0,name:!0,pricing:J}}}}}}}}},orderBy:{order:{createdAt:"asc"}}}}});let tu={sending:"sending",sent:"sent"},tc={user:"user",bot:"bot"},td=["white","black","gray","lightGray","brown","lightBrown","orange","lightOrange","yellow","lightYellow","green","lightGreen","blue","lightBlue","purple","lightPurple","magenta","lightMagenta","red","lightRed"],th={white:[255,255,255],black:[55,53,48],gray:[120,119,116],lightGray:[241,241,239],brown:[151,109,87],lightBrown:[243,238,238],orange:[204,120,47],lightOrange:[248,236,223],yellow:[194,147,67],lightYellow:[250,243,221],green:[84,129,100],lightGreen:[238,243,237],blue:[72,124,165],lightBlue:[233,243,247],purple:[138,103,171],lightPurple:[246,243,248],magenta:[179,84,136],lightMagenta:[249,242,245],red:[196,85,77],lightRed:[250,236,236]};l.Prisma.validator()({include:{structure:!0,unavailabilities:{orderBy:{date:"asc"}},user:{include:{picture:!0}}}});let tf={id:!0,hasConsented:!0,userId:!0,user:{select:{email:!0,firstName:!0,lastName:!0,roles:!0,visitors:!0,isProfessional:!0}},organiserId:!0,organiser:{select:{admin:{select:{businessName:!0,firstName:!0,lastName:!0,email:!0}}}},structureId:!0,structure:{select:{businessName:!0,admin:{select:{businessName:!0,firstName:!0,lastName:!0,email:!0}}}},createdAt:!0};l.Prisma.validator()({select:tf}),l.Prisma.validator()({select:tf}),l.Prisma.validator()({select:{id:!0,reference:!0,onlineDetails:{select:{user:{select:{id:!0,connectId:!0,creditNoteCounter:!0}}}},creditNotes:{where:{status:{in:[l.CreditNoteStatus.awaiting,l.CreditNoteStatus.awaitingApproval,l.CreditNoteStatus.accepted,l.CreditNoteStatus.refused]}},select:{id:!0,status:!0,creditNoteItems:{select:{orderItemId:!0}}}},orderItems:{select:{basePrice:!0,finalTotal:!0,id:!0,ticket:{select:{code:!0,ticketType:{select:{eventId:!0,event:{select:{organiserId:!0}},pricingId:!0}}}},badge:{select:{code:!0,badgeType:{select:{eventId:!0,event:{select:{organiserId:!0}},pricingId:!0}}}}}}}}),l.Prisma.validator()({include:{order:{include:{orderItems:{select:{basePrice:!0,id:!0,finalTotal:!0,ticket:{select:{code:!0,ticketType:{select:{eventId:!0,pricingId:!0,event:{select:{organiserId:!0}}}}}},badge:{select:{code:!0,badgeType:{select:{eventId:!0,pricingId:!0,event:{select:{organiserId:!0}}}}}}}}}}}}),l.Prisma.validator()({select:{id:!0,status:!0,orderId:!0,reference:!0,refundedAt:!0,refundStatus:!0,refundError:!0,refundTransactionNumber:!0,order:{select:{reference:!0,total:!0,cashRegisterId:!0,cashRegisterDetailsId:!0,onlineCardPayment:{select:{transactionNumber:!0,callNumber:!0}}}},creditNoteItems:{select:{orderItem:{select:{id:!0,finalTotal:!0,vatRate:!0,ticket:{select:{id:!0,code:!0,isRefunded:!0,ScannedTicket:{select:{id:!0}},ticketType:{select:{id:!0,isQuantityInfinite:!0,quantityLeft:!0}}}},badge:{select:{id:!0,code:!0,isEnabled:!0,isRefunded:!0,ScannedTicket:{select:{id:!0}},badgeType:{select:{id:!0,isQuantityInfinite:!0,quantityLeft:!0}}}}}}}}}}),l.Prisma.validator()({include:{file:!0,order:{select:{id:!0,reference:!0,total:!0,onlineDetails:{select:{billingFirstName:!0,billingLastName:!0,user:{select:{email:!0}}}}}},creditNoteItems:{include:{orderItem:{select:{id:!0,ticket:{select:{code:!0,ticketType:{select:{name:!0,event:{select:{name:!0,organiser:{select:{admin:{select:{businessName:!0,firstName:!0,lastName:!0,email:!0}}}}}},activity:{select:{structure:{select:{businessName:!0,admin:{select:{businessName:!0,firstName:!0,lastName:!0,email:!0}}}}}}}}}},badge:{select:{code:!0,badgeType:{select:{name:!0,event:{select:{name:!0,organiser:{select:{admin:{select:{businessName:!0,firstName:!0,lastName:!0,email:!0}}}}}}}}}},finalTotal:!0}}}}}}),l.Prisma.validator()({include:{order:{select:{onlineDetails:{select:{billingFirstName:!0,billingLastName:!0,billingAddress1:!0,billingAddress2:!0,billingZipCode:!0,billingCountryCode:!0,billingCity:!0,billingBusinessName:!0,invoice:{select:{reference:!0,createdAt:!0}},user:{select:{connectId:!0}}}}}},creditNoteItems:{include:{orderItem:{select:{id:!0,basePrice:!0,vatRate:!0,finalTotal:!0,totalDiscountAmount:!0,buyableItem:{select:{buyableType:!0}},ticket:{select:{ticketType:{select:{name:!0}}}},badge:{select:{badgeType:{select:{name:!0}}}}}}}},nf525SourceDocument:{select:{certificateMark:!0,certificateCategory:!0,certificateNumber:!0,excerpt:!0,softwareName:!0,softwareVersion:!0}}}}),l.Prisma.validator()({select:{id:!0,reference:!0,createdAt:!0,file:{select:{key:!0,t
1ype:!0}},creditNoteItems:{select:{orderItemId:!0}}}}),l.Prisma.validator()({select:{id:!0,status:!0,reference:!0,onlineDetails:{select:{user:{select:{id:!0,connectId:!0,creditNoteCounter:!0}}}},creditNotes:{where:{status:{in:[l.CreditNoteStatus.awaiting,l.CreditNoteStatus.awaitingApproval,l.CreditNoteStatus.accepted,l.CreditNoteStatus.refused]}},select:{id:!0,status:!0,creditNoteItems:{select:{orderItemId:!0}}}},orderItems:{select:{basePrice:!0,finalTotal:!0,id:!0,ticket:{select:{code:!0,isRefunded:!0,ScannedTicket:{select:{id:!0}},ticketType:{select:{eventId:!0,event:{select:{organiserId:!0}},pricingId:!0}}}},badge:{select:{code:!0,isRefunded:!0,ScannedTicket:{select:{id:!0}},badgeType:{select:{eventId:!0,event:{select:{organiserId:!0}},pricingId:!0}}}}}}}});let tp=["qrCode","conditions","customSection1","customSection2"],tm=["mainCharacteristics","locations","dates","pictures","links"],tg=["fourQuarters","horizontal","mix"],tv=["qrCodeFirst","qrCodeLast"];l.Prisma.validator()({include:{backgroundPicture:{select:ed},headerPicture:{select:ed},textPictures:{select:ed},previewPicture:{select:ed}}});let ty={dates:ep,address:!0};l.Prisma.validator()({include:ty});let tb={include:{...ty,ticketTypes:{where:{pricing:{isPaid:!0},activityId:{not:null}}
1,include:{activity:!0,buyableItem:{include:{orderItems:{where:{order:{status:l.OrderStatus.success}}}}}}},structureProducts:!0}},tw={where:{order:{status:l.OrderStatus.success}},include:{order:!0,creditNoteItem:{select:{creditNote:{select:{status:!0,isFromVisitor:!0}}}}}},tx={include:{...ty,ticketTypes:{where:{pricing:{isPaid:!0},OR:[{activity:{structureId:null}},{activityId:null}]},include:{buyableItem:{include:{orderItems:tw}}}},badgeTypes:{where:{pricing:{isPaid:!0}},include:{buyableItem:{include:{orderItems:tw}}}},cashRegisterCreditsBuyableItems:{include:{orderItems:tw}},advancedStatisticsBuyableItems:{include:{orderItems:tw}},promotionBuyableItems:{include:{orderItems:tw}},exportExhibitorsModuleBuyableItems:{include:{orderItems:tw}},exportProgramModuleBuyableItems:{include:{orderItems:tw}},eventCustomPdfAppearanceBuyableItems:{include:{orderItems:tw}},eventCustomAppearanceBuyableItems:{include:{orderItems:tw}},eventEquipmentRequests:{include:{buyableItem:{include:{orderItems:tw}},eventEquipmentAllocations:{include:{eventEquipment:!0}}}}}};l.Prisma.validator()(tx),l.Prisma.validator()({include:{admin:!0,events:tx}}),l.Prisma.validator()(tb);var tC=n(33481),tE=n(12383);let tS=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],tA=e=>{switch(e){case"monday":return"Lundi";case"tuesday":return"Mardi";case"wednesday":return"Mercredi";case"thursday":return"Jeudi";case"friday":return"Vendredi";case"saturday":return"Samedi";case"sunday":return"Dimanche"}};function tk(e,t){let n=[],r=new Date(e);for(;!(0,tC.d)(r,t)&&n.length<7;)n.push(tS[r.getDay()]),r=(0,tE.f)(r,1);return n}l.Prisma.validator()({include:{discount:!0,event:!0,organiser:{include:{admin:!0}},pricings:{include:{pricing:{include:{backofficePrestation:!0,equipment:!0}}}},_count:{select:{orderItemDiscountCodes:{where:{orderItem:{order:{status:{in:[l.OrderStatus.pending,l.OrderStatus.success]}}}}}}}}}),l.Prisma.validator()({select:{id:!0,name:!0,ticketingId:!0,pricings:{select:{pricingId:!0,quantityLeft:!0}}}});let tN=l.Prisma.validator()({...ts.select.discountCode.select,organiserId:!0});l.Prisma.validator()({select:tN}),l.Prisma.validator()({select:{id:!0,email:!0,hasConsented:!0,reason:!0,isFromWebApp:!0,updatedAt:!0,organiser:{select:{admin:{select:{firstName:!0,lastName:!0}}}},structure:{select:{businessName:!0,admin:{select:{firstName:!0,lastName:!0}}}},user:{select:{firstName:!0,lastName:!0,isProfessional:!0}}}});let tP=l.Prisma.validator()({select:{id:!0,name:!0,quantity:!0,quantityLeft:!0,pricing:et,deliveryFeePriceHt:!0,deliveryFeeVatRate:!0,freeDeliveryThresholdCents:!0}});l.Prisma.validator()({include:{pricing:et,deliveryFeePricing:et,event:{include:{organiser:{include:{admin:{include:{picture:!0,structure:!0}}}}}}
1,buyableItem:{include:{orderItems:!0}},feeBuyableItem:{include:{orderItems:!0}},eventEquipmentAllocations:{include:{eventEquipment:tP}}}});let tI=l.Prisma.validator()({select:{id:!0,name:!0,pricing:et}});l.Prisma.validator()({include:{pricing:et,deliveryFeePricing:et,eventEquipmentAllocations:{include:{eventEquipment:tI}},buyableItem:{include:{basketItem:!0,orderItems:{include:{order:!0}}}},feeBuyableItem:{include:{basketItem:!0,orderItems:{include:{order:!0}}}}}}),l.Prisma.validator()({select:{id:!0,answer:!0,answerList:!0,createdAt:!0,updatedAt:!0,questionOnEvent:{select:{questionId:!0,eventId:!0}},eventFormAnswerUser:{select:{userId:!0}}}}),l.Prisma.validator()({select:{answer:!0,answerList:!0,questionOnEvent:{select:{question:{select:{theme:!0}}}},eventFormAnswerUser:{select:{id:!0,eventId:!0,userId:!0,user:{select:{email:!0}}}}}});let tT=l.Prisma.validator()({select:{id:!0,theme:!0,allowedEventTypes:!0,question:!0,answerType:!0,isSystemQuestion:!0,createdAt:!0,updatedAt:!0,options:{select:{id:!0,questionId:!0,label:!0,order:!0},orderBy:{order:"asc"}}}}),tO=["short_text","long_text","multiple_choice","checkbox","list"],tL=tO.filter(e=>["multiple_choice","checkbox","list"].includes(e));l.Prisma.validator()({select:{question:{select:tT.select},order:!0}}),l.Prisma.validator()({select:{id:!0,eventId:!0,name:!0,createdAt:!0,updatedAt:!0,ticketTypes:{include:ey.include},badgeTypes:{include:eJ.include}}});let tM=["verticalDayHour","verticalDayList","verticalWeekly","horizontalMonthly","verticalByPlace"],tD=l.Prisma.validator()({include:{backgroundPicture:{select:ed}}}),tj={id:"",eventId:"",model:"verticalDayHour",opacity:100,backgroundColor:"white",fullDayColor:"orange",polyAnimationColor:"gray",backgroundPicture:null,backgroundPictureId:""};l.Prisma.validator()({include:{backgroundPicture:{select:ed}}});let t_=l.Prisma.validator()({select:{id:!0,day:!0,state:!0,openingTime:!0,closingTime:!0,breakStartTime:!0,breakEndTime:!0}}),tR=l.Prisma.validator()({select:{address:!0,lat:!0,long:!0,zipCode:!0,city:!0}}),tF=l.Prisma.validator()({select:{id:!0,name:!0,description:!0,isIndoor:!0,isOutdoor:!0,isPaidEntry:!0,organiserEmail:!0,organiserPhone:!0,isProgramOnline:!0,eventEntrances:{select:{address:tR}},socials:{select:{websiteUrl:!0,facebookUrl:!0,twitterUrl:!0,instagramUrl:!0,youtubeUrl:!0,linkedinUrl:!0}},address:tR,dates:{select:{schedules:{select:{fromDate:!0,toDate:!0,id:!0,eventDateId:!0,timetables:t_}},exceptionalClosingDates:{select:{date:!0,id:!0,eventDateId:!0}},isContinuous:!0}},organiser:{select:{adminId:!0,admin:{select:{id:!0,firstName:!0,lastName:!0,email:!0,phoneNumber:!0}}}},customEventAppearance:{select:{countdown:!0,eventInfoSections:!0}},activities:{select:{schedules:{}}},eventStructures:eW.include.eventStructures,ticketing:!0}});l.Prisma.validator()({select:{...tF.select,id:!0,areBadgesOnline:!0,pictures:eZ,image:{select:{key:!0,name:!0,type:!0,updatedAt:!0}},dates:{select:{schedules:{...tF.select.dates.select.schedules.select,orderBy:{fromDate:"asc"},select:{...tF.select.dates.select.schedules.select,fromDate:!0,toDate:!0,timetables:{select:{...tF.select.dates.select.schedules.select.timetables.select,day:!0,openingTime:!0,closingTime:!0},orderBy:{day:"asc"}}}},exceptionalClosingDates:{...tF.select.dates.select.exceptionalClosingDates,select:{...tF.select.dates.select.exceptionalClosingDates.select,date:!0},orderBy:{date:"asc"}},isContinuous:!0}},eventStructures:{include:{structure:eL(),promotionDateRanges:{select:{from:!0,to:!0}}}},ticketTypes:{select:{activityId:!0,name:!0,userType:!0,pricing:K}},badgeTypes:{select:{name:!0,userType:!0,pricing:K}},ticketing:!0,customEventAppearance:{...tF.select.customEventAppearance,select:{...tF.select.customEventAppearance.select,model:!0,opacity:!0,backgroundColor:!0,backgroundPicture:{select:{key:!0,name:!0,type:!0}}}},poster:{include:{addedTexts:{include:{style:!0}},logos:{include:{picture:!0}},pictures:{include:{picture:!0}}}},activities:{include:eC.include},customCalendar:tD}}),l.Prisma.validator()({select:{id:!0,eventId:!0,structureId:!0,hasTicketAlertThreshold:!0,ticketAlertThreshold:!0,stand:!0,hall:!0}}),l.Prisma.validator()({include:{activity:{include:{structure:{include:{businessSectorRelation:!0}},activityArea:!0,schedules:{orderBy:[{timetable:{day:"asc"}},{timetable:{startHour:"asc"}}],include:{timetable:!0}}}},event:!0}}),l.Prisma.validator()({select:{id:!0,picture:!0,businessName:!0,businessEmail
1:!0,phoneNumber:!0}}),l.Prisma.validator()({select:{exhibitorProfilesPack:!0,promotionDateRanges:{select:{from:!0,to:!0}}}}),l.Prisma.validator()({select:{id:!0,order:!0,eventStructureId:!0,createdAt:!0,updatedAt:!0,structureDocument:{select:{id:!0,name:!0,link:!0,file:{select:ed},thumbnail:{select:ed}}}}}),l.Prisma.validator()({select:{id:!0,beginningHour:!0,date:!0,endHour:!0,email:!0,firstName:!0,lastName:!0,personalComment:!0,gender:!0,commercial:!0,target:{select:{picture:!0}}}}),l.Prisma.validator()({select:{id:!0,comment:!0,targetUser:{select:{id:!0,firstName:!0,lastName:!0,picture:!0,dateOfBirth:!0,phoneNumber:!0,interest:!0,zipCode:!0,email:!0,address:!0}},targetStructure:{select:{id:!0,picture:!0,businessName:!0,businessEmail:!0,admin:{select:{id:!0,firstName:!0,lastName:!0,picture:!0,dateOfBirth:!0,phoneNumber:!0,interest:!0,zipCode:!0,email:!0,address:!0}}}},createdAt:!0}}),l.Prisma.validator()({select:{id:!0,date:!0,beginningHour:!0,endHour:!0,gender:!0,personalComment:!0,firstName:!0,lastName:!0,email:!0,targetId:!0,target:{select:{id:!0,firstName:!0,lastName:!0,email:!0,picture:!0}}}}),l.Prisma.validator()({select:{id:!0,date:!0,beginningHour:!0,endHour:!0,gender:!0,personalComment:!0,firstName:!0,lastName:!0,email:!0,targetId:!0,target:{select:{id:!0,firstName:!0,lastName:!0,email:!0,picture:!0}}},include:{commercial:{include:{user:!0}},target:!0}}),l.Prisma.validator()({select:{id:!0,userId:!0,clearPassword:!0,user:{select:{id:!0,email:!0,firstName:!0,lastName:!0,connectId:!0}}}}),l.Prisma.validator()({include:{picture:!0}}
1),l.Prisma.validator()({include:{buyableItem:{include:{badgeType:{include:{event:{select:{id:!0,name:!0}},pricing:{include:{price:!0}}}},ticketType:{include:{event:{select:{id:!0,name:!0}},pricing:{include:{price:!0}},activity:{select:{structureId:!0}}}},advancedStatisticsEvent:!0,exhibitorAdvancedStatisticsEvent:!0,exhibitorProfilesPack1CreditsOrganiser:!0,exhibitorProfilesPack2CreditsOrganiser:!0,exhibitorProfilesPack3CreditsOrganiser:!0,promotionEvent:!0,exhibitorPromotionEvent:!0,eventEquipmentRequest:{include:{event:{select:{id:!0,name:!0}},eventEquipmentAllocations:{include:{eventEquipment:{select:{id:!0,name:!0}}}}}},feeEventEquipmentRequest:{include:{event:{select:{id:!0,name:!0}}}},exportExhibitorsModuleEvent:!0,exportProgramModuleEvent:!0,cashRegisterCreditsEvent:!0,creditNote:{select:{id:!0,reference:!0,creditNoteItems:{select:{orderItem:{select:{finalTotal:!0,ticket:{select:{ticketType:{select:{event:{select:{id:!0,name:!0}}}}}},badge:{select:{badgeType:{select:{event:{select:{id:!0,name:!0}}}}}}}}}}}}}},appliedDiscountCodes:{include:{discountCode:{select:{name:!0,discount:{select:{type:!0,value:!0}}}}}}}}),l.Prisma.validator()({include:{onlineCardPayment:{select:{id:!0}},cashRegisterPayment:{select:{paymentMethod:!0}},proPaymentMethod:{select:{paymentType:!0}},onlineDetails:{select:{user:{select:{firstName:!0,lastName:!0,email:!0,roles:!0,id:!0}},invoice:{select:{reference:!0}}}},orderItems:{include:{buyableItem:{select:{ticketTypeId:!0,badgeTypeId:!0,badgeType:{select:{id:!0,name:!0,pricing:K}},ticketType:{select:{id:!0,name:!0,pricing:K}}}},badge:{select:{code:!0,isRefunded:!0,badgeType:{select:{id:!0,name:!0,pricing:K}},ScannedTicket:{select:{id:!0}}}},ticket:{select:{code:!0,isRefunded:!0,ticketType:{select:{id:!0,name:!0,pricing:K}},ScannedTicket:{select:{id:!0}}}}}},creditNotes:{take:1,orderBy:{createdAt:"desc"},select:{id:!0,status:!0,createdAt:!0,refundedAt:!0,file:{select:{key:!0,type:!0}},refundOrder:{select:{onlineDetails:{select:{invoice:{select:{file:{select:{key:!0,type:!0}}}}}}}},creditNoteItems:{select:{orderItemId:!0}}}}}}),l.Prisma.validator()({include:{structures:!0}}),l.Prisma.validator()({include:{structure:{include:{address:!0,socials:!0,admin:!0,picture:!0,businessSectorRelation:!0,eventStructures:{select:{stand:!0,hall:!0,eventId:!0}}}}}}),l.Prisma.validator()({include:{structure:{include:{address:!0,socials:!0,admin:!0,picture:!0,businessSectorRelation:!0,products:{select:{id:!0}},eventStructures:{select:{exhibitorProfilesPack:!0,eventId:!0,stand:!0,hall:!0,promotionDateRanges:{select:{from:!0,to:!0}}}}}}}}),l.Prisma.validator()({include:{admin:!0}}),l.Prisma.validator()({select:{id:!0,exhibitorProfilesPack1Credits:!0,exhibitorProfilesPack2Credits:!0,exhibitorProfilesPack3Credits:!0}}),l.Prisma.validator()({include:{structure:{include:{products:!0,businessSectorRelation:!0}}}}),l.Prisma.validator()({select:{id:!0,reference:!0,total:!0,status:!0,createdAt:!0,lastAcceptedCreditNoteCreatedAt:!0,onlineDetails:{select:{billingFirstName:!0,billingLastName:!0,billingBusinessName:!0,role:!0,user:{select:{id:!0,email:!0,roles:!0,firstName:!0,lastName:!0,businessName:!0}}}},onlineCardPayment:{select:{card:!0,callNumber:!0,authorizationNumber:!0}},proPaymentMethod:{select:{paymentType:!0,bankDraftDueDate:!0}},orderItems:{take:1,select:{buyableItem:en}}}});let tz=["J","L","M","N","O","P","R","S","T","U","V","W","X","Y","OA","GA","PA","CTS","EF"],tB=["custom","room","hall","amphitheater"],tV=l.Prisma.validator()({include:{areas:{orderBy:{name:"asc"}},placeEntrances:{include:{address:!0},orderBy:{name:"asc"}},image:!0}});l.Prisma.validator()({include:{...tV.include,user:!0}}),l.Prisma.validator()({select:{id:!0,name:!0,description:!0}});let tU=[1,2,3],tq=e=>tU.includes(e),tH=["exhibitorProfilesPack1Credits","exhibitorProfilesPack2Credits","exhibitorProfilesPack3Credits"],tZ=e=>tH.includes(e);l.Prisma.validator()({include:{pricing:et}}),l.Prisma.validator()({select:{type:!0,name:!0,data:!0,pricing:K}}),l.Prisma.validator()({include:{images:{select:{file:{select:ed}},orderBy:{order:"asc"}}}}),l.Prisma.validator()({acExpoRightsRole:{select:{name:!0,id:!0}},userReporting:!0});let tW=["read","create","update","delete","manage","export","iaAccess"];l.Prisma.validator()({include:{rights:!0}});let tG=["exhibitor","exhibitorCommercial","organiser","placeManager","tourismOperator"];l.Prisma.validator()({select:{slug:!0,updatedAt:!0}}),l.Prisma.validator()({include:{address:!0,image:!0}});let t$=l.Prisma.validator()({include:{address:!0,openings:{include:{timetables:!0},orderBy:{fromDate:{sort:"asc",nulls:"first"}}},exceptionalOpenings:{include:{timetable:!0},orderBy:{date:"asc"}},image:!0}});l.Prisma.validator()({include:{...t$.include,manager:!0}});let tK=Object.values(l.PlaceType),tY=e=>{switch(e){case l.PlaceType.castle:return"Ch\xe2teau";case l.PlaceType.monument:return"Monument";case l.PlaceType.museum:return"Mus\xe9e";case l.PlaceType.other:return"Autre";case l.PlaceType.park:return"Parc";case l.PlaceType.viewpoint:return"Point de vue"}}},21895:e=>{e.exports=function(){this.__data__=[],this.size=0}},22180:(e,t,n)=>{var r=n(22926),i=n(68668),a=n(86152),o=n(82694),s=n(79860),l=n(48546);e.exports=function(e,t,n){var u=-1,c=i,d=e.length,h=!0,f=[],p=f;if(n)h=!1,c=a;else if(d>=200){var m=t?null:s(e);if(m)return l(m);h=!1,c=o,p=new r}else p=t?[]:f;s:for(;++u<d;){var g=e[u],v=t?t(g):g;if(g=n||0!==g?g:0,h&&v==v){for(var y=p.length;y--;)if(p[y]===v)continue s;t&&p.push(v),f.push(g)}
1else c(p,v,n)||(p!==f&&p.push(v),f.push(g))}return f}},22344:(e,t,n)=>{var r=n(4650),i=n(50874),a=n(33276);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(e,t),this.size=n.size,this}},22642:(e,t,n)=>{"use strict";n.d(t,{V:()=>tu});var r,i,a,o,s,l={};n.r(l),n.d(l,{Button:()=>ea,CaptionLabel:()=>eo,Chevron:()=>es,Day:()=>el,DayButton:()=>eu,Dropdown:()=>ec,DropdownNav:()=>ed,Footer:()=>eh,Month:()=>ef,MonthCaption:()=>ep,MonthGrid:()=>em,Months:()=>eg,MonthsDropdown:()=>eb,Nav:()=>ew,NextMonthButton:()=>ex,Option:()=>eC,PreviousMonthButton:()=>eE,Root:()=>eS,Select:()=>eA,Week:()=>ek,WeekNumber:()=>eI,WeekNumberHeader:()=>eT,Weekday:()=>eN,Weekdays:()=>eP,Weeks:()=>eO,YearsDropdown:()=>eL});var u={};n.r(u),n.d(u,{formatCaption:()=>eM,formatDay:()=>ej,formatMonthCaption:()=>eD,formatMonthDropdown:()=>e_,formatWeekNumber:()=>eF,formatWeekNumberHeader:()=>ez,formatWeekdayName:()=>eR,formatYearCaption:()=>eV,formatYearDropdown:()=>eB});var c={};n.r(c),n.d(c,{labelCaption:()=>eZ,labelDay:()=>eq,labelDayButton:()=>eU,labelGrid:()=>eH,labelGridcell:()=>eW,labelMonthDropdown:()=>eG,labelNav:()=>e$,labelNext:()=>eK,labelPrevious:()=>eY,labelWeekNumber:()=>eQ,labelWeekNumberHeader:()=>eJ,labelWeekday:()=>eX,labelYearDropdown:()=>e0});var d=n(6029),h=n(92434),f=n(55729);Symbol.for("constructDateFrom");let p={},m={};function g(e,t){try{let n=(p[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(n in m)return m[n];return y(n,n.split(":"))}catch{if(e in m)return m[e];let t=e?.match(v);if(t)return y(e,t.slice(1));return NaN}}let v=/([+-]\d\d):?(\d\d)?/;function y(e,t){let n=+(t[0]||0),r=+(t[1]||0),i=(t[2]||0)/60;return m[e]=60*n+r>0?60*n+r+i:60*n-r-i}class b extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(g(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),C(this,NaN),x(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new b(...t,e):new b(Date.now(),e)}withTimeZone(e){return new b(+this,e)}getTimezoneOffset(){let e=-g(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),x(this),+this}[Symbol.for("constructDateFrom")](e){return new b(+new Date(e),this.timeZone)}}let w=/^(get|set)(?!UTC)/;function x(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*g(e.timeZone,e))))}function C(e){let t=g(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),a=i- -new Date(+r).getTimezoneOffset(),o=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();a&&o&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+a);let s=i-n;s&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+s);let l=new Date(+e);l.setUTCSeconds(0);let u=i>0?l.getSeconds():(l.getSeconds()-60)%60,c=Math.round(-(60*g(e.timeZone,e)))%60;(c||u)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+c),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+c+u));let d=g(e.timeZone,e),h=d>0?Math.floor(d):Math.ceil(d),f=-new Date(+e).getTimezoneOffset()-h-s;if(h!==n&&f){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+f);let t=g(e.timeZone,e),n=h-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!w.test(e))return;let t=e.replace(w,"$1UTC");b.prototype[t]&&(e.startsWith("get")?b.prototype[e]=function(){return this.internal[t]()}:(b.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),C(e),+this},b.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),x(this),+this}))});class E extends b{static tz(e,...t){return t.length?new E(...t,e):new E(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()}
1 ${this.toTimeString()}`}toDateString(){let[e,t,n,r]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new E(+this,e)}[Symbol.for("constructDateFrom")](e){return new E(+new Date(e),this.timeZone)}}var S=n(12383),A=n(88846),k=n(65436);function N(e,t,n){let r=(0,k.a)(e,null==n?void 0:n.in);if(isNaN(t))return(0,A.w)((null==n?void 0:n.in)||e,NaN);if(!t)return r;let i=r.getDate(),a=(0,A.w)((null==n?void 0:n.in)||e,r.getTime());return(a.setMonth(r.getMonth()+t+1,0),i>=a.getDate())?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}var P=n(73936),I=n(85272),T=n(99034);function O(e,t){let[n,r]=(0,T.x)(e,t.start,t.end);return{start:n,end:r}}var L=n(92803),M=n(70491),D=n(48629),j=n(46726),_=n(75397),R=n(33481),F=n(40549),z=n(40483),B=n(2363),V=n(26426),U=n(63173),q=n(74951),H=n(30943),Z=n(48592),W=n(98051),G=n(98244),$=n(6730),K=n(90271),Y=n(82606);function X(e,t){let n=t.startOfMonth(e),r=n.getDay();return 1===r?n:0===r?t.addDays(n,-6):t.addDays(n,-1*(r-1))}class Q{constructor(e,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?E.tz(this.options.timeZone):new this.Date,this.newDate=(e,t,n)=>this.overrides?.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new E(e,t,n,this.options.timeZone):new Date(e,t,n),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):(0,S.f)(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):N(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):(0,S.f)(e,7*t,void 0),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):N(e,12*t,void 0),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):(0,P.m)(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):(0,I.U)(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e,t){var n;let{start:r,end:i}=O(void 0,e),a=+r>+i,o=a?+r:+i,s=a?i:r;s.setHours(0,0,0,0),s.setDate(1);let l=(n=void 0,1);if(!l)return[];l<0&&(l=-l,a=!a);let u=[];for(;+s<=o;)u.push((0,A.w)(r,s)),s.setMonth(s.getMonth()+l);return a?u.reverse():u}(e),this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):function(e,t){let n=X(e,t),r=function(e,t){let n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,i=t.addDays(e,-r+1),a=t.addDays(i,34);return t.getMonth(e)===t.getMonth(a)?5:4}(e,t);return t.addDays(n,7*r-1)}(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):(0,L.$)(e,{...void 0,weekStartsOn:1}),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):(0,M.p)(e),this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):(0,L.$)(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):function(e,t){let n=(0,k.a)(e,void 0),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}(e),this.format=(e,t,n)=>{let r=this.overrides?.format?this.overrides.format(e,t,this.options):(0,D.GP)(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(r):r},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):(0,j.s)(e),this.getMonth=(e,t)=>this.overrides?.getMonth?this.overrides.getMonth(e,this.options):function(e,t){return(0,k.a)(e,null==t?void 0:t.in).getMonth()}(e,this.options),this.getYear=(e,t)=>
1this.overrides?.getYear?this.overrides.getYear(e,this.options):function(e,t){return(0,k.a)(e,null==t?void 0:t.in).getFullYear()}(e,this.options),this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):(0,_.N)(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):(0,R.d)(e,t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):(0,h.Y)(e,t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):(0,F.$)(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):(0,z.r)(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):(0,B.t)(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):(0,V.s)(e,t),this.max=e=>this.overrides?.max?this.overrides.max(e):(0,U.T)(e),this.min=e=>this.overrides?.min?this.overrides.min(e):(0,q.j)(e),this.setMonth=(e,t)=>this.overrides?.setMonth?this.overrides.setMonth(e,t):(0,H.Z)(e,t),this.setYear=(e,t)=>this.overrides?.setYear?this.overrides.setYear(e,t):function(e,t,n){let r=(0,k.a)(e,void 0);return isNaN(+r)?(0,A.w)(e,NaN):(r.setFullYear(t),r)}(e,t),this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):X(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):(0,Z.o)(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):(0,W.b)(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):(0,G.w)(e),this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):(0,$.k)(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):(0,K.D)(e),this.options={locale:Y.c,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}}let J=new Q;function ee(e,t,n=!1,r=J){let{from:i,to:a}=e,{differenceInCalendarDays:o,isSameDay:s}=r;return i&&a?(0>o(a,i)&&([i,a]=[a,i]),o(t,i)>=+!!n&&o(a,t)>=+!!n):!n&&a?s(a,t):!n&&!!i&&s(i,t)}var et=n(50016),en=n(81239);!function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"}(r||(r={})),function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"}(i||(i={})),function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"}(a||(a={})),function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"}(o||(o={}));var er=n(94194);function ei(e,t,n=J){let r=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:a,isAfter:o}=n;return r.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return i(e,t);if((0,er.Hg)(t,n))return t.includes(e);if((0,er.oM)(t))return ee(t,e,!1,n);if((0,er.OE)(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if((0,er.m4)(t)){let n=a(t.before,e),r=a(t.after,e),i=n>0,s=r<0;return o(t.before,t.after)?s&&i:i||s}return(0,er.RE)(t)?a(e,t.after)>0:(0,er.Ue)(t)?a(t.before,e)>0:"function"==typeof t&&t(e)})}function ea(e){return f.createElement("button",{...e})}function eo(e){return f.createElement("span",{...e})}function es(e){let{size:t=24,orientation:n="left",className:r}=e;return f.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&f.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&f.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&f.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&f.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function el(e){let{day:t,modifiers:n,...r}=e;return f.createElement("td",{...r})}function eu(e){let{day:t,modifiers:n,...r}=e,i=f.useRef(null);return f.useEffect(()=>{n.focused&&i.current?.focus()},[n.focused]),f.createElement("button",{ref:i,...r})}function ec(e){let{options:t,className:n,components:i,classNames:a,...o}=e,s=[a[r.Dropdown],n].join(" "),l=t?.find(({value:e})=>e===o.value);return f.createElement("span",{"data-disabled":o.disabled,className:a[r.DropdownRoot]},f.createElement(i.Select,{className:s,...o},t?.map(({value:e,label:t,disabled:n})=>f.createElement(i.Option,{key:e,value:e,disabled:n},t))),f.createElement("span",{className:a[r.CaptionLabel],"aria-hidden":!0},l?.label,f.createElement(i.Chevron,{orientation:"down",size:18,className:a[r.Chevron]}
1)))}function ed(e){return f.createElement("div",{...e})}function eh(e){return f.createElement("div",{...e})}function ef(e){let{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r},e.children)}function ep(e){let{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r})}function em(e){return f.createElement("table",{...e})}function eg(e){return f.createElement("div",{...e})}let ev=(0,f.createContext)(void 0);function ey(){let e=(0,f.useContext)(ev);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function eb(e){let{components:t}=ey();return f.createElement(t.Dropdown,{...e})}function ew(e){let{onPreviousClick:t,onNextClick:n,previousMonth:i,nextMonth:a,...o}=e,{components:s,classNames:l,labels:{labelPrevious:u,labelNext:c}}=ey(),d=(0,f.useCallback)(e=>{a&&n?.(e)},[a,n]),h=(0,f.useCallback)(e=>{i&&t?.(e)},[i,t]);return f.createElement("nav",{...o},f.createElement(s.PreviousMonthButton,{type:"button",className:l[r.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":u(i),onClick:h},f.createElement(s.Chevron,{disabled:!i||void 0,className:l[r.Chevron],orientation:"left"})),f.createElement(s.NextMonthButton,{type:"button",className:l[r.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":!a||void 0,"aria-label":c(a),onClick:d},f.createElement(s.Chevron,{disabled:!a||void 0,orientation:"right",className:l[r.Chevron]})))}function ex(e){let{components:t}=ey();return f.createElement(t.Button,{...e})}function eC(e){return f.createElement("option",{...e})}function eE(e){let{components:t}=ey();return f.createElement(t.Button,{...e})}function eS(e){let{rootRef:t,...n}=e;return f.createElement("div",{...n,ref:t})}function eA(e){return f.createElement("select",{...e})}function ek(e){let{week:t,...n}=e;return f.createElement("tr",{...n})}function eN(e){return f.createElement("th",{...e})}function eP(e){return f.createElement("thead",{"aria-hidden":!0},f.createElement("tr",{...e}))}function eI(e){let{week:t,...n}=e;return f.createElement("th",{...n})}function eT(e){return f.createElement("th",{...e})}function eO(e){return f.createElement("tbody",{...e})}function eL(e){let{components:t}=ey();return f.createElement(t.Dropdown,{...e})}function eM(e,t,n){return(n??new Q(t)).format(e,"LLLL y")}let eD=eM;function ej(e,t,n){return(n??new Q(t)).format(e,"d")}function e_(e,t=J){return t.format(e,"LLLL")}function eR(e,t,n){return(n??new Q(t)).format(e,"cccccc")}function eF(e,t=J){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function ez(){return""}function eB(e,t=J){return t.format(e,"yyyy")}let eV=eB;function eU(e,t,n,r){let i=(r??new Q(n)).format(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}let eq=eU;function eH(e,t,n){return(n??new Q(t)).format(e,"LLLL y")}let eZ=eH;function eW(e,t,n,r){let i=(r??new Q(n)).format(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i}function eG(e){return"Choose the Month"}function e$(){return""}function eK(e){return"Go to the Next Month"}function eY(e){return"Go to the Previous Month"}function eX(e,t,n){return(n??new Q(t)).format(e,"cccc")}function eQ(e,t){return`Week ${e}`}function eJ(e){return"Week Number"}function e0(e){return"Choose the Year"}let e1=e=>e instanceof HTMLElement?e:null,e2=e=>[...e.querySelectorAll("[data-animated-month]")??[]],e5=e=>e1(e.querySelector("[data-animated-caption]")),e4=e=>e1(e.querySelector("[data-animated-weeks]"));function e3(e,t,n,r){let{month:i,defaultMonth:a,today:o=r.today(),numberOfMonths:s=1}=e,l=i||a||o,{differenceInCalendarMonths:u,addMonths:c,startOfMonth:d}=r;return n&&u(n,l)<s-1&&(l=c(n,-1*(s-1))),t&&0>u(l,t)&&(l=t),d(l)}class e6{constructor(e,t,n=J){this.date=e,this.displayMonth=t,this.outside=!!(t&&!n.isSameMonth(e,t)),this.dateLib=n}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class e8{constructor(e,t){this.days=t,this.weekNumber=e}}class e9{constructor(e,t){this.date=e,this.weeks=t}}function e7(e,t){let[n,r]=(0,f.useState)(e);return[void 0===t?n:t,r]}function te(e){return!e[i.disabled]&&!e[i.hidden]&&!e[i.outside]}function tt(e,t,n=J){return ee(e,t.from,!1,n)||ee(e,t.to,!1,n)||ee(t,e.from,!1,n)||ee(t,e.to,!1,n)}function tn(e){let t=e;t.timeZone&&((t={...e}).today&&(t.today=new E(t.today,t.timeZone)),t.month&&(t.month=new E(t.month,t.timeZone)),t.defaultMonth&&(t.defaultMonth=new E(t.defaultMonth,t.timeZone)),t.startMonth&&(t.startMonth=new E(t.startMonth,t.timeZone)),t.endMonth&&(t.endMonth=new E(t.endMonth,t.timeZone)),"single"===t.mode&&t.selected?t.selected=new E(t.selected,t.timeZone):"multiple"===t.mode&&t.selected?t.selected=t.selected?.map(e=>new E(e,t.timeZone)):"range"===t.mode&&t.selected&&(t.selected={from:t.selected.from?new E(t.selected.from,t.timeZone):void 0,to:t.selected.to?new E(t.selected.to,t.timeZone):void 0}));let{components:n,formatters:d,labels:h,dateLib:p,locale:m,classNames:g}=(0,f.useMemo)(()=>{var e,n;let s={...Y.c,...t.locale};return{dateLib:new Q({locale:s,weekStartsOn:t.broadcastCalendar?1:t.weekStartsOn,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},t.dateLib),components:(e=t.components,{...l,...e}),formatters:(n=t.formatters,n?.formatMonthCaption&&!n.formatCaption&&(n.formatCaption=n.formatMonthCaption),n?.formatYearC
1aption&&!n.formatYearDropdown&&(n.formatYearDropdown=n.formatYearCaption),{...u,...n}),labels:{...c,...t.labels},locale:s,classNames:{...function(){let e={};for(let t in r)e[r[t]]=`rdp-${r[t]}`;for(let t in i)e[i[t]]=`rdp-${i[t]}`;for(let t in a)e[a[t]]=`rdp-${a[t]}`;for(let t in o)e[o[t]]=`rdp-${o[t]}`;return e}(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.components,t.formatters,t.labels,t.classNames]),{captionLayout:v,mode:y,navLayout:b,numberOfMonths:w=1,onDayBlur:x,onDayClick:C,onDayFocus:S,onDayKeyDown:A,onDayMouseEnter:k,onDayMouseLeave:N,onNextClick:P,onPrevClick:I,showWeekNumber:T,styles:O}=t,{formatCaption:L,formatDay:M,formatMonthDropdown:D,formatWeekNumber:j,formatWeekNumberHeader:_,formatWeekdayName:R,formatYearDropdown:F}=d,z=function(e,t){let[n,r]=function(e,t){let{startMonth:n,endMonth:r}=e,{startOfYear:i,startOfDay:a,startOfMonth:o,endOfMonth:s,addYears:l,endOfYear:u,newDate:c,today:d}=t,{fromYear:h,toYear:f,fromMonth:p,toMonth:m}=e;!n&&p&&(n=p),!n&&h&&(n=t.newDate(h,0,1)),!r&&m&&(r=m),!r&&f&&(r=c(f,11,31));let g="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=o(n):h?n=c(h,0,1):!n&&g&&(n=i(l(e.today??d(),-100))),r?r=s(r):f?r=c(f,11,31):!r&&g&&(r=u(e.today??d())),[n?a(n):n,r?a(r):r]}(e,t),{startOfMonth:i,endOfMonth:a}=t,o=e3(e,n,r,t),[s,l]=e7(o,e.month?o:void 0);(0,f.useEffect)(()=>
1{l(e3(e,n,r,t))},[e.timeZone]);let u=function(e,t,n,r){let{numberOfMonths:i=1}=n,a=[];for(let n=0;n<i;n++){let i=r.addMonths(e,n);if(t&&i>t)break;a.push(i)}return a}(s,r,e,t),c=function(e,t,n,r){let i=e[0],a=e[e.length-1],{ISOWeek:o,fixedWeeks:s,broadcastCalendar:l}=n??{},{addDays:u,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:f,endOfMonth:p,endOfWeek:m,isAfter:g,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:b}=r,w=l?v(i,r):o?y(i):b(i),x=c(l?h(a):o?f(p(a)):m(p(a)),w),C=d(a,i)+1,E=[];for(let e=0;e<=x;e++){let n=u(w,e);if(t&&g(n,t))break;E.push(n)}let S=(l?35:42)*C;if(s&&E.length<S){let e=S-E.length;for(let t=0;t<e;t++){let e=u(E[E.length-1],1);E.push(e)}}return E}(u,e.endMonth?a(e.endMonth):void 0,e,t),d=function(e,t,n,r){let{addDays:i,endOfBroadcastWeek:a,endOfISOWeek:o,endOfMonth:s,endOfWeek:l,getISOWeek:u,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:f}=r,p=e.reduce((e,p)=>{let m=n.broadcastCalendar?d(p,r):n.ISOWeek?h(p):f(p),g=n.broadcastCalendar?a(p):n.ISOWeek?o(s(p)):l(s(p)),v=t.filter(e=>e>=m&&e<=g),y=n.broadcastCalendar?35:42;if(n.fixedWeeks&&v.length<y){let e=t.filter(e=>{let t=y-v.length;return e>g&&e<=i(g,t)});v.push(...e)}let b=v.reduce((e,t)=>{let i=n.ISOWeek?u(t):c(t),a=e.find(e=>e.weekNumber===i),o=new e6(t,p,r);return a?a.days.push(o):e.push(new e8(i,[o])),e},[]),w=new e9(p,b);return e.push(w),e},[]);return n.reverseMonths?p.reverse():p}(u,c,e,t),h=d.reduce((e,t)=>e.concat(t.weeks.slice()),[]),p=function(e){let t=[];return e.reduce((e,n)=>{let r=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(r.slice())},t.slice())}(d),m=function(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=r,u=o(e);if(!t||!(0>=l(u,t)))return s(u,-(i?a??1:1))}(s,n,e,t),g=function(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a=1}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=r,u=o(e);if(!t||!(l(t,e)<a))return s(u,i?a:1)}(s,r,e,t),{disableNavigation:v,onMonthChange:y}=e,b=e=>{if(v)return;let t=i(e);n&&t<i(n)&&(t=i(n)),r&&t>i(r)&&(t=i(r)),l(t),y?.(t)};return{months:d,weeks:h,days:p,navStart:n,navEnd:r,previousMonth:m,nextMonth:g,goToMonth:b,goToDay:e=>{h.some(t=>t.days.some(t=>t.isEqualTo(e)))||b(e.date)}}}(t,p),{days:B,months:V,navStart:U,navEnd:q,previousMonth:H,nextMonth:Z,goToMonth:W}=z,G=function(e,t,n,r,a){let{disabled:o,hidden:s,modifiers:l,showOutsideDays:u,broadcastCalendar:c,today:d}=t,{isSameDay:h,isSameMonth:f,startOfMonth:p,isBefore:m,endOfMonth:g,isAfter:v}=a,y=n&&p(n),b=r&&g(r),w={[i.focused]:[],[i.outside]:[],[i.disabled]:[],[i.hidden]:[],[i.today]:[]},x={};for(let t of e){let{date:e,displayMonth:n}=t,r=!!(n&&!f(e,n)),i=!!(y&&m(e,y)),p=!!(b&&v(e,b)),g=!!(o&&ei(e,o,a)),C=!!(s&&ei(e,s,a))||i||p||!c&&!u&&r||c&&!1===u&&r,E=h(e,d??a.today());r&&w.outside.push(t),g&&w.disabled.push(t),C&&w.hidden.push(t),E&&w.today.push(t),l&&Object.keys(l).forEach(n=>{let r=l?.[n];r&&ei(e,r,a)&&(x[n]?x[n].push(t):x[n]=[t])})}return e=>{let t={[i.focused]:!1,[i.disabled]:!1,[i.hidden]:!1,[i.outside]:!1,[i.today]:!1},n={};for(let n in w){let r=w[n];t[n]=r.some(t=>t===e)}for(let t in x)n[t]=x[t].some(t=>t===e);return{...t,...n}}}(B,t,U,q,p),{isSelected:$,select:K,selected:X}=function(e,t){let n=function(e,t){let{selected:n,required:r,onSelect:i}=e,[a,o]=e7(n,i?n:void 0),s=i?n:a,{isSameDay:l}=t;return{selected:s,select:(e,t,n)=>{let a=e;return!r&&s&&s&&l(e,s)&&(a=void 0),i||o(a),i?.(a,e,t,n),a},isSelected:e=>!!s&&l(s,e)}}(e,t),r=function(e,t){let{selected:n,required:r,onSelect:i}=e,[a,o]=e7(n,i?n:void 0),s=i?n:a,{isSameDay:l}=t,u=e=>s?.some(t=>l(t,e))??!1,{min:c,max:d}=e;return{selected:s,select:(e,t,n)=>{let a=[...s??[]];if(u(e)){if(s?.length===c||r&&s?.length===1)return;a=s?.filter(t=>!l(t,e))}else a=s?.length===d?[e]:[...a,e];return i||o(a),i?.(a,e,t,n),a},isSelected:u}}(e,t),i=function(e,t){let{disabled:n,excludeDisabled:r,selected:i,required:a,onSelect:o}=e,[s,l]=e7(i,o?i:void 0),u=o?i:s;return{selected:u,select:(i,s,c)=>{let{min:d,max:h}=e,f=i?function(e,t,n=0,r=0,i=!1,a=J){let o,{from:s,to:l}=t||{},{isSameDay:u,isAfter:c,isBefore:d}=a;if(s||l){if(s&&!l)o=u(s,e)?0===n?{from:s,to:e}:i?{from:s,to:void 0}:void 0:d(e,s)?{from:e,to:s}:{from:s,to:e};else if(s&&l)if(u(s,e)&&u(l,e))o=i?{from:s,to:l}:void 0;else if(u(s,e))o={from:s,to:n>0?void 0:e};else if(u(l,e))o={from:e,to:n>0?void 0:e};else if(d(e,s))o={from:e,to:l};else if(c(e,s))o={from:s,to:e};else if(c(e,l))o={from:s,to:e};else throw Error("Invalid range")}else o={from:e,to:n>0?void 0:e};if(o?.from&&o?.to){let t=a.differenceInCalendarDays(o.to,o.from);r>0&&t>r?o={from:e,to:void 0}:n>1&&t<n&&(o={from:e,to:void 0})}return o}(i,u,d,h,a,t):void 0;return r&&n&&f?.from&&f.to&&function(e,t,n=J){let r=Array.isArray(t)?t:[t];if(r.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?ee(e,t,!1,n):(0,er.Hg)(t,n)?t.some(t=>ee(e,t,!1,n)):(0,er.oM)(t)?!!t.from&&!!t.to&&tt(e,{from:t.from,to:t.to},n):(0,er.OE)(t)?function(e,t,n=J){let r=Array.isArray(t)?t:[t],i=e.from,a=Math.min(n.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=a;e++){if(r.includes(i.getDay()))return!0;
1i=n.addDays(i,1)}return!1}(e,t.dayOfWeek,n):(0,er.m4)(t)?n.isAfter(t.before,t.after)?tt(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):ei(e.from,t,n)||ei(e.to,t,n):!!((0,er.RE)(t)||(0,er.Ue)(t))&&(ei(e.from,t,n)||ei(e.to,t,n))))return!0;let i=r.filter(e=>"function"==typeof e);if(i.length){let t=e.from,r=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=r;e++){if(i.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}({from:f.from,to:f.to},n,t)&&(f.from=i,f.to=void 0),o||l(f),o?.(f,i,s,c),f},isSelected:e=>u&&ee(u,e,!1,t)}}(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return i;default:return}}(t,p)??{},{blur:et,focused:en,isFocusTarget:ea,moveFocus:eo,setFocused:es}=function(e,t,n,r,a){let{autoFocus:o}=e,[l,u]=(0,f.useState)(),c=function(e,t,n,r){let a,o=-1;for(let l of e){let e=t(l);te(e)&&(e[i.focused]&&o<s.FocusedModifier?(a=l,o=s.FocusedModifier):r?.isEqualTo(l)&&o<s.LastFocused?(a=l,o=s.LastFocused):n(l.date)&&o<s.Selected?(a=l,o=s.Selected):e[i.today]&&o<s.Today&&(a=l,o=s.Today))}return a||(a=e.find(e=>te(t(e)))),a}(t.days,n,r||(()=>!1),l),[d,h]=(0,f.useState)(o?c:void 0);return{isFocusTarget:e=>!!c?.isEqualTo(e),setFocused:h,focused:d,blur:()=>{u(d),h(void 0)},moveFocus:(n,r)=>{if(!d)return;let i=function e(t,n,r,i,a,o,s,l=0){if(l>365)return;let u=function(e,t,n,r,i,a,o){let{ISOWeek:s,broadcastCalendar:l}=a,{addDays:u,addMonths:c,addWeeks:d,addYears:h,endOfBroadcastWeek:f,endOfISOWeek:p,endOfWeek:m,max:g,min:v,startOfBroadcastWeek:y,startOfISOWeek:b,startOfWeek:w}=o,x=({day:u,week:d,month:c,year:h,startOfWeek:e=>l?y(e,o):s?b(e):w(e),endOfWeek:e=>l?f(e):s?p(e):m(e)})[e](n,"after"===t?1:-1);return"before"===t&&r?x=g([r,x]):"after"===t&&i&&(x=v([i,x])),x}(t,n,r.date,i,a,o,s),c=!!(o.disabled&&ei(u,o.disabled,s)),d=!!(o.hidden&&ei(u,o.hidden,s)),h=new e6(u,u,s);return c||d?e(t,n,h,i,a,o,s,l+1):h}(n,r,d,t.navStart,t.navEnd,e,a);i&&(t.goToDay(i),h(i))}}}(t,z,G,$??(()=>!1),p),{labelDayButton:el,labelGridcell:eu,labelGrid:ec,labelMonthDropdown:ed,labelNav:eh,labelPrevious:ef,labelNext:ep,labelWeekday:em,labelWeekNumber:eg,labelWeekNumberHeader:ey,labelYearDropdown:eb}=h,ew=(0,f.useMemo)(()=>(function(e,t,n){let r=e.today(),i=t?e.startOfISOWeek(r):e.startOfWeek(r),a=[];for(let t=0;t<7;t++){let n=e.addDays(i,t);a.push(n)}return a})(p,t.ISOWeek),[p,t.ISOWeek]),ex=void 0!==y||void 0!==C,eC=(0,f.useCallback)(()=>{H&&(W(H),I?.(H))},[H,W,I]),eE=(0,f.useCallback)(()=>{Z&&(W(Z),P?.(Z))},[W,Z,P]),eS=(0,f.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),es(e),K?.(e.date,t,n),C?.(e.date,t,n)},[K,C,es]),eA=(0,f.useCallback)((e,t)=>n=>{es(e),S?.(e.date,t,n)},[S,es]),ek=(0,f.useCallback)((e,t)=>n=>{et(),x?.(e.date,t,n)},[et,x]),eN=(0,f.useCallback)((e,n)=>r=>{let i={ArrowLeft:[r.shiftKey?"month":"day","rtl"===t.dir?"after":"before"],ArrowRight:[r.shiftKey?"month":"day","rtl"===t.dir?"before":"after"],ArrowDown:[r.shiftKey?"year":"week","after"],ArrowUp:[r.shiftKey?"year":"week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(i[r.key]){r.preventDefault(),r.stopPropagation();let[e,t]=i[r.key];eo(e,t)}A?.(e.date,n,r)},[eo,A,t.dir]),eP=(0,f.useCallback)((e,t)=>n=>{k?.(e.date,t,n)},[k]),eI=(0,f.useCallback)((e,t)=>n=>{N?.(e.date,t,n)},[N]),eT=(0,f.useCallback)(e=>t=>{let n=Number(t.target.value);W(p.setMonth(p.startOfMonth(e),n))},[p,W]),eO=(0,f.useCallback)(e=>t=>{let n=Number(t.target.value);W(p.setYear(p.startOfMonth(e),n))},[p,W]),{className:eL,style:eM}=(0,f.useMemo)(()=>({className:[g[r.Root],t.className].filter(Boolean).join(" "),style:{...O?.[r.Root],...t.style}}),[g,t.className,t.style,O]),eD=function(e){let t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith("data-")&&(t[e]=n)}),t}(t),ej=(0,f.useRef)(null);!function(e,t,{classNames:n,months:r,focused:i,dateLib:a}){let s=(0,f.useRef)(null),l=(0,f.useRef)(r),u=(0,f.useRef)(!1);(0,f.useLayoutEffect)(()=>{let c=l.current;if(l.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||0===r.length||0===c.length||r.length!==c.length)return;let d=a.isSameMonth(r[0].date,c[0].date),h=a.isAfter(r[0].date,c[0].date),f=h?n[o.caption_after_enter]:n[o.caption_before_enter],p=h?n[o.weeks_after_enter]:n[o.weeks_before_enter],m=s.current,g=e.current.cloneNode(!0);
1if(g instanceof HTMLElement?(e2(g).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=e1(e.querySelector("[data-animated-month]"));t&&e.contains(t)&&e.removeChild(t);let n=e5(e);n&&n.classList.remove(f);let r=e4(e);r&&r.classList.remove(p)}),s.current=g):s.current=null,u.current||d||i)return;let v=m instanceof HTMLElement?e2(m):[],y=e2(e.current);if(y?.every(e=>e instanceof HTMLElement)&&v&&v.every(e=>e instanceof HTMLElement)){u.current=!0;let t=[];e.current.style.isolation="isolate";let r=e1(e.current.querySelector("[data-animated-nav]"));r&&(r.style.zIndex="1"),y.forEach((i,a)=>{let s=v[a];if(!s)return;i.style.position="relative",i.style.overflow="hidden";let l=e5(i);l&&l.classList.add(f);let c=e4(i);c&&c.classList.add(p);let d=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),r&&(r.style.zIndex=""),l&&l.classList.remove(f),c&&c.classList.remove(p),i.style.position="",i.style.overflow="",i.contains(s)&&i.removeChild(s)};t.push(d),s.style.pointerEvents="none",s.style.position="absolute",s.style.overflow="hidden",s.setAttribute("aria-hidden","true");let m=e1(s.querySelector("[data-animated-weekdays]"));m&&(m.style.opacity="0");let g=e5(s);g&&(g.classList.add(h?n[o.caption_before_exit]:n[o.caption_after_exit]),g.addEventListener("animationend",d));let y=e4(s);y&&y.classList.add(h?n[o.weeks_before_exit]:n[o.weeks_after_exit]),i.insertBefore(s,i.firstChild)})}})}(ej,!!t.animate,{classNames:g,months:V,focused:en,dateLib:p});let e_={dayPickerProps:t,selected:X,select:K,isSelected:$,months:V,nextMonth:Z,previousMonth:H,goToMonth:W,getModifiers:G,components:n,classNames:g,styles:O,labels:h,formatters:d};return f.createElement(ev.Provider,{value:e_},f.createElement(n.Root,{rootRef:t.animate?ej:void 0,className:eL,style:eM,dir:t.dir,id:t.id,lang:t.lang,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],...eD},f.createElement(n.Months,{className:g[r.Months],style:O?.[r.Months]},!t.hideNavigation&&!b&&f.createElement(n.Nav,{"data-animated-nav":t.animate?"true":void 0,className:g[r.Nav],style:O?.[r.Nav],"aria-label":eh(),onPreviousClick:eC,onNextClick:eE,previousMonth:H,nextMonth:Z}),V.map((e,o)=>f.createElement(n.Month,{"data-animated-month":t.animate?"true":void 0,className:g[r.Month],style:O?.[r.Month],key:o,displayIndex:o,calendarMonth:e},"around"===b&&!t.hideNavigation&&0===o&&f.createElement(n.PreviousMonthButton,{type:"button",className:g[r.PreviousMonthButton],tabIndex:H?void 0:-1,"aria-disabled":!H||void 0,"aria-label":ef(H),onClick:eC,"data-animated-button":t.animate?"true":void 0},f.createElement(n.Chevron,{disabled:!H||void 0,className:g[r.Chevron],orientation:"rtl"===t.dir?"right":"left"})),f.createElement(n.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:g[r.MonthCaption],style:O?.[r.MonthCaption],calendarMonth:e,displayIndex:o},v?.startsWith("dropdown")?f.createElement(n.DropdownNav,{className:g[r.Dropdowns],style:O?.[r.Dropdowns]},"dropdown"===v||"dropdown-months"===v?f.createElement(n.MonthsDropdown,{className:g[r.MonthsDropdown],"aria-label":ed(),classNames:g,components:n,disabled:!!t.disableNavigation,onChange:eT(e.date),options:function(e,t,n,r,i){let{startOfMonth:a,startOfYear:o,endOfYear:s,eachMonthOfInterval:l,getMonth:u}=i;return l({start:o(e),end:s(e)}).map(e=>{let o=r.formatMonthDropdown(e,i);return{value:u(e),label:o,disabled:t&&e<a(t)||n&&e>a(n)||!1}})}(e.date,U,q,d,p),style:O?.[r.Dropdown],value:p.getMonth(e.date)}):f.createElement("span",null,D(e.date,p)),"dropdown"===v||"dropdown-years"===v?f.createElement(n.YearsDropdown,{className:g[r.YearsDropdown],"aria-label":eb(p.options),classNames:g,components:n,disabled:!!t.disableNavigation,onChange:eO(e.date),options:function(e,t,n,r,i=!1){if(!e||!t)return;let{startOfYear:a,endOfYear:o,addYears:s,getYear:l,isBefore:u,isSameYear:c}=r,d=a(e),h=o(t),f=[],p=d;for(;u(p,h)||c(p,h);)f.push(p),p=s(p,1);return i&&f.reverse(),f.map(e=>{let t=n.formatYearDropdown(e,r);return{value:l(e),label:t,disabled:!1}})}(U,q,d,p,!!t.reverseYears),style:O?.[r.Dropdown],value:p.getYear(e.date)}):f.createElement("span",null,F(e.date,p)),f.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},L(e.date,p.options,p))):f.createElement(n.CaptionLabel,{className:g[r.CaptionLabel],role:"status","aria-live":"polite"},L(e.date,p.options,p))),"around"===b&&!t.hideNavigation&&o===w-1&&f.createElement(n.NextMonthButton,{type:"button",className:g[r.NextMonthButton],tabIndex:Z?void 0:-1,"aria-disabled":!Z||void 0,"aria-label":ep(Z
1),onClick:eE,"data-animated-button":t.animate?"true":void 0},f.createElement(n.Chevron,{disabled:!Z||void 0,className:g[r.Chevron],orientation:"rtl"===t.dir?"left":"right"})),o===w-1&&"after"===b&&!t.hideNavigation&&f.createElement(n.Nav,{"data-animated-nav":t.animate?"true":void 0,className:g[r.Nav],style:O?.[r.Nav],"aria-label":eh(),onPreviousClick:eC,onNextClick:eE,previousMonth:H,nextMonth:Z}),f.createElement(n.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===y||"range"===y,"aria-label":ec(e.date,p.options,p)||void 0,className:g[r.MonthGrid],style:O?.[r.MonthGrid]},!t.hideWeekdays&&f.createElement(n.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:g[r.Weekdays],style:O?.[r.Weekdays]},T&&f.createElement(n.WeekNumberHeader,{"aria-label":ey(p.options),className:g[r.WeekNumberHeader],style:O?.[r.WeekNumberHeader],scope:"col"},_()),ew.map(e=>f.createElement(n.Weekday,{"aria-label":em(e,p.options,p),className:g[r.Weekday],key:String(e),style:O?.[r.Weekday],scope:"col"},R(e,p.options,p)))),f.createElement(n.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:g[r.Weeks],style:O?.[r.Weeks]},e.weeks.map(e=>f.createElement(n.Week,{className:g[r.Week],key:e.weekNumber,style:O?.[r.Week],week:e},T&&f.createElement(n.WeekNumber,{week:e,style:O?.[r.WeekNumber],"aria-label":eg(e.weekNumber,{locale:m}),className:g[r.WeekNumber],scope:"row",role:"rowheader"},j(e.weekNumber,p)),e.days.map(e=>{let{date:o}=e,s=G(e);if(s[i.focused]=!s.hidden&&!!en?.isEqualTo(e),s[a.selected]=$?.(o)||s.selected,(0,er.oM)(X)){let{from:e,to:t}=X;s[a.range_start]=!!(e&&t&&p.isSameDay(o,e)),s[a.range_end]=!!(e&&t&&p.isSameDay(o,t)),s[a.range_middle]=ee(X,o,!0,p)}let l=function(e,t={},n={}){let i={...t?.[r.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{i={...i,...n?.[e]}}),i}(s,O,t.modifiersStyles),u=function(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[r])=>(n[r]?e.push(n[r]):t[i[r]]?e.push(t[i[r]]):t[a[r]]&&e.push(t[a[r]]),e),[t[r.Day]])}(s,g,t.modifiersClassNames),c=ex||s.hidden?void 0:eu(o,s,p.options,p);return f.createElement(n.Day,{key:`${p.format(o,"yyyy-MM-dd")}_${p.format(e.displayMonth,"yyyy-MM")}`,day:e,modifiers:s,className:u.join(" "),style:l,role:"gridcell","aria-selected":s.selected||void 0,"aria-label":c,"data-day":p.format(o,"yyyy-MM-dd"),"data-month":e.outside?p.format(o,"yyyy-MM"):void 0,"data-selected":s.selected||void 0,"data-disabled":s.disabled||void 0,"data-hidden":s.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":s.focused||void 0,"data-today":s.today||void 0},!s.hidden&&ex?f.createElement(n.DayButton,{className:g[r.DayButton],style:O?.[r.DayButton],type:"button",day:e,modifiers:s,disabled:s.disabled||void 0,tabIndex:ea(e)?0:-1,"aria-label":el(o,s,p.options,p),onClick:eS(e,s),onBlur:ek(e,s),onFocus:eA(e,s),onKeyDown:eN(e,s),onMouseEnter:eP(e,s),onMouseLeave:eI(e,s)},M(o,p.options,p)):!s.hidden&&M(e.date,p.options,p))})))))))),t.footer&&f.createElement(n.Footer,{className:g[r.Footer],style:O?.[r.Footer],role:"status","aria-live":"polite"},t.footer)))}!function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"}(s||(s={}));var tr=n(39794),ti=n(65403);let ta=e=>{let{className:t,classNames:n,showOutsideDays:r=!0,endMonth:i,customMode:a,...o}=e;return(0,d.jsx)(tn,{locale:en.fr,showOutsideDays:r,className:(0,tr.cn)("p-3",t),endMonth:null!=i?i:N(new Date,240,void 0),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4 first-of-type:!ml-0",month_caption:"flex justify-center pt-1 relative items-center",nav:"space-x-1 flex items-center",button_previous:(0,tr.cn)((0,ti.r)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100","absolute left-4 top-4 z-10"),caption_label:(0,tr.cn)({hidden:"range"!==o.mode&&"acexpo-range"!==a&&"multiple-range"!==a},"hidden"),button_next:(0,tr.cn)((0,ti.r)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100","absolute right-4 top-4 z-10"),month_grid:"w-full border-collapse space-y-1",weekdays:"flex",weekday:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",week:"flex w-full mt-2",day:(0,tr.cn)("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md","range"===o.mode||"acexpo-range"===a||"multiple-range"===a?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day_button:(0,tr.cn)((0,ti.r)({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),range_start:"day-range-start",range_end:"day-range-end",selected:"bg-gray-800 text-white hover:bg-gray-800 hover:text-white focus:bg-gray-800 focus:text-white",today:"bg-accent text-accent-foreground",outside:"day-outside text-muted-foreground opacity-50  aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",disabled:"text-muted-foreground opacity-50",range_middle:"aria-selected:bg-[#E0F2FE] aria-selected:text-accent-foreground",hidden:"invisible",...n}
1,components:{Chevron:e=>{let{...t}=e;return"left"===t.orientation?(0,d.jsx)(et.YJP,{className:"size-4"}):(0,d.jsx)(et.vKP,{className:"size-4"})}},captionLayout:"dropdown",hideNavigation:!0,...o})};function to(e){let{modifiers:t,...n}=e,{selected:r,onSelect:i}=n,[a,o]=(0,f.useState)(r),[s,l]=(0,f.useState)(!1);(0,f.useEffect)(()=>{o(r)},[r]);let u=(e,t,n,r)=>{o(e),i&&i(e,t,n,r)};return(0,d.jsx)(ta,{modifiers:{selected:a,range_middle:e=>!!a&&ee(a,e,!0),range_start:null==a?void 0:a.from,range_end:null==a?void 0:a.to,...t},onDayClick:(e,t,n)=>{var r;!(!(null==a?void 0:a.from)||!(null==a?void 0:a.to)||!s||(0,h.Y)(e,null==a?void 0:a.from))?(u({from:null!=(r=null==a?void 0:a.from)?r:e,to:e},e,t,n),l(!1)):(u({from:e,to:e},e,t,n),l(!0))},customMode:"acexpo-range",...n})}var ts=n(17325);let tl=e=>{let{modifiers:t,selected:n=[],onSelect:r,...i}=e,[a,o]=(0,f.useState)(n),[s,l]=(0,f.useState)(),[u,c]=(0,f.useState)(),p=e=>{let t=e.filter(e=>!!e.from&&!!e.to),n=(0,ts.lQu)(t);o(n),null==r||r(n)},m=()=>a.map((e,t)=>({index:t,dates:e.from&&e.to?function(e,t){var n;let{start:r,end:i}=O(void 0,e),a=+r>+i,o=a?+r:+i,s=a?i:r;s.setHours(0,0,0,0);let l=(n=void 0,1);if(!l)return[];l<0&&(l=-l,a=!a);let u=[];for(;+s<=o;)u.push((0,A.w)(r,s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return a?u.reverse():u}({start:e.from,end:e.to}):[]})),g=m().flatMap(e=>e.dates);return(0,d.jsx)(ta,{modifiers:{promotionDates:e=>g.some(t=>(0,z.r)(t,e)),hoveredRangeDate:e=>{var t;if(void 0===u||s)return!1;let n=m()[u];return null!=(t=null==n?void 0:n.dates.some(t=>(0,z.r)(t,e)))&&t},selectedStart:e=>!!s&&(0,z.r)(e,s),...t},modifiersClassNames:{promotionDates:"bg-blue-100",hoveredRangeDate:"bg-red-100",selectedStart:"bg-gray-800 text-white"},onDayClick:e=>{if(void 0===u||s)(e=>{s?(0,h.Y)(e,s)?l(e):(p([...a,{from:s,to:e}]),l(void 0)):l(e)})(e);else p(a.filter((e,t)=>t!==u)),c(void 0)},onDayMouseEnter:e=>{let t=m().findIndex(t=>t.dates.some(t=>(0,z.r)(t,e)));-1!==t&&c(t)},onDayMouseLeave:()=>{c(void 0)},customMode:"multiple-range",...i})};function tu(e){let t,{...n}=e;if("acexpo-range"===n.mode){let{mode:e,required:t,...r}=n;return(0,d.jsx)(to,{...r})}if("multiple-range"===n.mode){let{mode:e,required:t,...r}=n;return(0,d.jsx)(tl,{...r})}return["multiple","range","single"].includes(null!=(t=n.mode)?t:"")?(0,d.jsx)(ta,{...n}):null}tu.displayName="Calendar"},22703:(e,t,n)=>{"use strict";n.d(t,{A:()=>Z});var r,i,a=n(13829),o=n(55729),s="right-scroll-bar-position",l="width-before-scroll-bar";function u(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,d=new WeakMap;function h(e){return e}var f=function(e){void 0===e&&(e={});var t,n,r,i=(void 0===t&&(t=h),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}});return i.options=(0,a.Cl)({async:!0,ssr:!1},e),i}(),p=function(){},m=o.forwardRef(function(e,t){var n,r,i,s,l=o.useRef(null),h=o.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),m=h[0],g=h[1],v=e.forwardProps,y=e.children,b=e.className,w=e.removeScrollBar,x=e.enabled,C=e.shards,E=e.sideCar,S=e.noRelative,A=e.noIsolation,k=e.inert,N=e.allowPinchZoom,P=e.as,I=e.gapMode,T=(0,a.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(n=[l,t],r=function(e){return n.forEach(function(t){return u(t,e)})},(i=(0,o.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,s=i.facade,c(function(){var e=d.get(s);if(e){var t=new Set(e),r=new Set(n),i=s.current;t.forEach(function(e){r.has(e)||u(e,null)}),r.forEach(function(e){t.has(e)||u(e,i)})}d.set(s,n)},[n]),s),L=(0,a.Cl)((0,a.Cl)({},T),m);return o.createElement(o.Fragment,null,x&&o.createElement(E,{sideCar:f,removeScrollBar:w,shards:C,noRelative:S,noIsolation:A,inert:k,setCallbacks:g,allowPinchZoom:!!N,lockRef:l,gapMode:I}),v?o.cloneElement(o.Children.only(y),(0,a.Cl)((0,a.Cl)({},L),{ref:O}
1)):o.createElement(void 0===P?"div":P,(0,a.Cl)({},L,{className:b,ref:O}),y))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:l,zeroRight:s};var g=function(e){var t=e.sideCar,n=(0,a.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return o.createElement(r,(0,a.Cl)({},n))};g.isSideCarExport=!0;var v=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var a,o;(a=t).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=v();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(i)]},E=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;var t=C(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},S=b(),A="data-scroll-locked",k=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(A,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(s," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(l," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(l," .").concat(l," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(A,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},N=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},P=function(){o.useEffect(function(){return document.body.setAttribute(A,(N()+1).toString()),function(){var e=N()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},I=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;P();var a=o.useMemo(function(){return E(i)},[i]);return o.createElement(S,{styles:k(a,!t,i,n?"":"!important")})},T=!1;if("undefined"!=typeof window)try{var O=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",O,O),window.removeEventListener("test",O,O)}catch(e){T=!1}var L=!!T&&{passive:!1},M=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var i=_(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},j=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},_=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},R=function(e,t,n,r,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*r,l=n.target,u=t.contains(l),c=!1,d=s>0,h=0,f=0;do{if(!l)break;var p=_(e,l),m=p[0],g=p[1]-p[2]-o*m;(m||g)&&j(e,l)&&(h+=g,f+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&s>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},V=0,U=[];let q=(r=function(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),i=o.useState(V++)[0],s=o.useState(b)[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,a.fX)([e.lockRef.current],(e.shards||[]).map(B),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var i,a=F(e),o=n.current,s="deltaX"in e?e.deltaX:o[0]-a[0],u="deltaY"in e?e.deltaY:o[1]-a[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=D(d,c);if(!h)return!0;if(h?i=d:(i="v"===d?"h":"v",h=D(d,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=i),!i)return!0;var f=r.current||i;return R(f,t,e,"h"===f?s:u,!0)},[]),c=o.useCallback(function(e){if(U.length&&U[U.length-1]===s){var n="deltaY"in e?z(e):F(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(l.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=o.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),h=o.useCallback(function(e){n.current=F(e),r.current=void 0},[]),f=o.useCallback(function(t){d(t.type,z(t),t.target,u(t,e.lockRef.current))},[]),p=o.useCallback(function(t){d(t.type,F(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return U.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,L),document.addEventListener("touchmove",c,L),document.addEventListener("touchstart",h,L),function(){U=U.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,L),document.removeEventListener("touchmove",c,L),document.removeEventListener("touchstart",h,L)}},[]);var m=e.removeScrollBar,g=e.inert;return o.createElement(o.Fragment,null,g?o.createElement(s,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?o.createElement(I,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(r),g);var H=o.forwardRef(function(e,t){return o.createElement(m,(0,a.Cl)({},e,{ref:t,sideCar:q}))});H.classNames=m.classNames;let Z=H},22758:(e,t,n)=>{"use strict";function r(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}n.d(t,{_:()=>r})},22926:(e,t,n)=>{var r=n(33276),i=n(91353),a=n(36022);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=a,e.exports=o},23079:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},23161:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});let{Decimal:r,objectEnumValues:i,makeStrictEnum:a,Public:o,getRuntime:s,skip:l}=n(3632),u={};t.Prisma=u,t.$Enums={},u.prismaVersion={client:"6.16.2",engine:"1c57fdcd7e44b29b9313256c76699e91c3ac3c43"},u.PrismaClientKnownRequestError=()=>{let e=s().prettyName;throw Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
2In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.PrismaClientUnknownRequestError=()=>{let e=s().prettyName;throw Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
3In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.PrismaClientRustPanicError=()=>{let e=s().prettyName;throw Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
4In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)}
4,u.PrismaClientInitializationError=()=>{let e=s().prettyName;throw Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
5In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.PrismaClientValidationError=()=>{let e=s().prettyName;throw Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
6In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.Decimal=r,u.sql=()=>{let e=s().prettyName;throw Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
7In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.empty=()=>{let e=s().prettyName;throw Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
8In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.join=()=>{let e=s().prettyName;throw Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
9In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.raw=()=>{let e=s().prettyName;throw Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
10In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.validator=o.validator,u.getExtensionContext=()=>{let e=s().prettyName;throw Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
11In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.defineExtension=()=>{let e=s().prettyName;throw Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
12In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)},u.DbNull=i.instances.DbNull,u.JsonNull=i.instances.JsonNull,u.AnyNull=i.instances.AnyNull,u.NullTypes={DbNull:i.classes.DbNull,JsonNull:i.classes.JsonNull,AnyNull:i.classes.AnyNull},t.Prisma.TransactionIsolationLevel=a({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),t.Prisma.DateRangeScalarFieldEnum={id:"id",from:"from",to:"to"},t.Prisma.RelationLoadStrategy={query:"query",join:"join"},t.Prisma.FileScalarFieldEnum={id:"id",key:"key",name:"name",type:"type",customPdfAppearanceId:"customPdfAppearanceId",customPdfAppearanceTemplateId:"customPdfAppearanceTemplateId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AutomatedPdfJobScalarFieldEnum={id:"id",status:"status",fileId:"fileId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ScrapedEventScalarFieldEnum={url:"url",endDate:"endDate",status:"status",source:"source",hashcode:"hashcode",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PotentialDuplicateEventScalarFieldEnum={idEvent:"idEvent",idDuplicate:"idDuplicate",score:"score"},t.Prisma.ConversationScalarFieldEnum={id:"id",participant1Id:"participant1Id",participant2Id:"participant2Id",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ArchivedConversationScalarFieldEnum={id:"id",createdAt:"createdAt",archivedById:"archivedById",conversationId:"conversationId"},t.Prisma.MessageScalarFieldEnum={id:"id",content:"content",sentAt:"sentAt",isRead:"isRead",conversationId:"conversationId",senderId:"senderId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.RightsRoleScalarFieldEnum={id:"id",name:"name",isAcExpo:"isAcExpo",organiserId:"organiserId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.RightScalarFieldEnum={id:"id",rightEntity:"rightEntity",actions:"actions",rightRoleId:"rightRoleId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserScalarFieldEnum={id:"id",connectId:"connectId",pictureId:"pictureId",firstName:"firstName",lastName:"lastName",email:"email",siret:"siret",vat:"vat",acceptedTerms:"acceptedTerms",isProfessional:"isProfessional",isGuestCheckout:"isGuestCheckout",isCashRegisterHolder:"isCashRegisterHolder",isVigil:"isVigil",isExhibitorVigil:"isExhibitorVigil",isActive:"isActive",isVerified:"isVerified",dateOfBirth:"dateOfBirth",interest:"interest",gender:"gender",phoneNumber:"phoneNumber",address:"address",city:"city",country:"country",zipCode:"zipCode",businessName:"businessName",secretDoubleAuth:"secretDoubleAuth",emailNotifications:"emailN
12otifications",pushNotifications:"pushNotifications",isRemoteControl:"isRemoteControl",tokenVersion:"tokenVersion",orderCounter:"orderCounter",creditNoteCounter:"creditNoteCounter",bannedAt:"bannedAt",displayName:"displayName",imageUrl:"imageUrl",profileComplete:"profileComplete",isAnonymous:"isAnonymous",hasPlaceholderEmail:"hasPlaceholderEmail",isExhibitorManagedAccount:"isExhibitorManagedAccount",rightsRoleId:"rightsRoleId",acExpoRightsRoleId:"acExpoRightsRoleId",latestActivity:"latestActivity",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.BetterAuthSessionScalarFieldEnum={id:"id",userId:"userId",token:"token",expiresAt:"expiresAt",ipAddress:"ipAddress",userAgent:"userAgent",platform:"platform",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BetterAuthAccountScalarFieldEnum={id:"id",userId:"userId",accountId:"accountId",providerId:"providerId",accessToken:"accessToken",refreshToken:"refreshToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",idToken:"idToken",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BetterAuthVerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.UserReportingScalarFieldEnum={id:"id",userId:"userId",pendingEventEmailSentCounter:"pendingEventEmailSentCounter",aiGeneratedImageCounter:"aiGeneratedImageCounter",acceptedEventCounter:"acceptedEventCounter",reportedAt:"reportedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VerifyEmailTokenScalarFieldEnum={id:"id",token:"token",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ResetPasswordTokenScalarFieldEnum={id:"id",token:"token",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ExpoNotificationTokenScalarFieldEnum={id:"id",token:"token",userId:"userId",enabled:"enabled"},t.Prisma.UserSharedInformationScalarFieldEnum={id:"id",picture:"picture",firstName:"firstName",lastName:"lastName",email:"email",zipCode:"zipCode",interest:"interest",siret:"siret",vat:"vat",acceptedTerms:"acceptedTerms",isProfessional:"isProfessional",userId:"userId"},t.Prisma.UserRoleScalarFieldEnum={id:"id",userId:"userId",role:"role",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrganiserScalarFieldEnum={id:"id",adminId:"adminId",eventCounter:"eventCounter",exhibitorProfilesPack1Credits:"exhibitorProfilesPack1Credits",exhibitorProfilesPack2Credits:"exhibitorProfilesPack2Credits",exhibitorProfilesPack3Credits:"exhibitorProfilesPack3Credits",aiImageCredits:"aiImageCredits",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ConsentScalarFieldEnum={id:"id",userId:"userId",organiserId:"organiserId",structureId:"structureId",hasConsented:"hasConsented",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ConsentHistoryScalarFieldEnum={id:"id",consentId:"consentId",userId:"userId",organiserId:"organiserId",structureId:"structureId",hasConsented:"hasConsented",createdAt:"createdAt"},t.Prisma.CommercialUnavailabilityScalarFieldEnum={id:"id",date:"date",beginningHour:"beginningHour",endHour:"endHour",isFullDay:"isFullDay",commercialId:"commercialId"},t.Prisma.CommercialScalarFieldEnum={id:"id",firstName:"firstName",lastName:"lastName",email:"email",jobTitle:"jobTitle",commercialRole:"commercialRole",visibleOnExhibitorPage:"visibleOnExhibitorPage",userId:"userId",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BusinessSectorScalarFieldEnum={id:"id",name:"name",parentId:"parentId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.StructureScalarFieldEnum={id:"id",businessName:"businessName",businessEmail:"businessEmail",phoneNumber:"phoneNumber",siret:"siret",siren:"siren",apeCode:"apeCode",vat:"vat",acceptedTerms:"acceptedTerms",description:"description",businessSectorId:"businessSectorId",addressId:"addressId",socialsId:"socialsId",adminId:"adminId",pictureId:"pictureId",bannerPictureId:"bannerPictureId",slug:"slug",hiddenFromExhibitorDirectory:"hiddenFromExhibitorDirectory",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ScannedStructureScalarFieldEnum={id:"id",userId:"userId",structureId:"structureId",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.LikeScalarFieldEnum={id:"id",userId:"userId",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VisitorScalarFieldEnum={id:"id",createType:"createType",firstName:"firstName",lastName:"lastName",email:"email",dateOfBirth:"dateOfBirth",gender:"gender",phoneNumber:"phoneNumber",address:"address",city:"city",zipCode:"zipCode",origin:"origin",userId:"userId",structureId:"structureId",organiserId:"organiserId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrganiserStructureScalarFieldEnum={id:"id",createType:"createType",organiserId:"organiserId",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventStructureScalarFieldEnum={id:"id",eventId:"eventId",structureId:"structureId",stand:"stand",hall:"hall",exhibitorProfilesPack:"exhibitorProfilesPack",hasTicketAlertThreshold:"hasTicketAlertThreshold",ticketAlertThreshold:"ticketAlertThreshold"},t.Prisma.StructureProductScalarFieldEnum={id:"id",name:"name",description:"description",link:"link",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.StructureProductImageScalarFieldEnum={id:"id",structureProductId:"structureProductId",fileId:"fileId",order:"order",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.StructureDocumentScalarFieldEnum={id:"id",structureId:"structureId",name:"name",link:"link",fileId:"fileId",thumbnailId:"thumbnailId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventStructureDocumentScalarFieldEnum={id:"id",eventStructureId:"eventStructureId",structureDocumentId:"structureDocumentId",order:"order",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PlaceScalarFieldEnum={id:"id",name:"name",description:"description",type:"type",structure:"structure",surface:"surface",capacity:"capacity",isIndoor:"isIndo
12or",isOutdoor:"isOutdoor",isAvailable:"isAvailable",isPaidEntry:"isPaidEntry",websiteUrl:"websiteUrl",imageId:"imageId",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TouristicPlaceScalarFieldEnum={id:"id",managerId:"managerId",name:"name",description:"description",type:"type",websiteUrl:"websiteUrl",isIndoor:"isIndoor",isOutdoor:"isOutdoor",isPaidEntry:"isPaidEntry",imageId:"imageId",status:"status",addressId:"addressId",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.TouristicPlaceOpeningScalarFieldEnum={id:"id",fromDate:"fromDate",toDate:"toDate",allYear:"allYear",touristicPlaceId:"touristicPlaceId"},t.Prisma.TouristicPlaceTimetableScalarFieldEnum={id:"id",day:"day",openingTime:"openingTime",closingTime:"closingTime",breakStartTime:"breakStartTime",breakEndTime:"breakEndTime",touristicPlaceOpeningId:"touristicPlaceOpeningId"},t.Prisma.TouristicPlaceExceptionalOpeningScalarFieldEnum={id:"id",timetableId:"timetableId",date:"date",touristicPlaceId:"touristicPlaceId"},t.Prisma.AddressScalarFieldEnum={id:"id",name:"name",address:"address",zipCode:"zipCode",city:"city",lat:"lat",long:"long",country:"country",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PlaceEntranceScalarFieldEnum={id:"id",name:"name",placeId:"placeId",addressId:"addressId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AreaScalarFieldEnum={id:"id",name:"name",type:"type",customType:"customType",surface:"surface",capacity:"capacity",placeId:"placeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventEntranceScalarFieldEnum={id:"id",addressId:"addressId",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventPictureScalarFieldEnum={eventId:"eventId",fileId:"fileId",legend:"legend",order:"order"},t.Prisma.EventScalarFieldEnum={id:"id",slug:"slug",name:"name",type:"type",description:"description",isPrivate:"isPrivate",password:"password",isIndoor:"isIndoor",isOutdoor:"isOutdoor",isPaidEntry:"isPaidEntry",isFromVisitor:"isFromVisitor",isFromAi:"isFromAi",sourceScraped:"sourceScraped",purchasedVigilsAccounts:"purchasedVigilsAccounts",secretKey:"secretKey",contactPhone:"contactPhone",exhibitorContactPhone:"exhibitorContactPhone",fakeOrganiserName:"fakeOrganiserName",hasAdvancedStatistics:"hasAdvancedStatistics",hasCustomPdfAppearance:"hasCustomPdfAppearance",hasCustomEventAppearance:"hasCustomEventAppearance",exhibitorPromotionCredits:"exhibitorPromotionCredits",hasExportExhibitorsModule:"hasExportExhibitorsModule",hasExportProgramModule:"hasExportProgramModule",areExhibitorsOnline:"areExhibitorsOnline",haveExhibitorsBeenOnline:"haveExhibitorsBeenOnline",isProgramOnline:"isProgramOnline",areBadgesOnline:"areBadgesOnline",promotionDates:"promotionDates",organiserName:"organiserName",organiserEmail:"organiserEmail",organiserPhone:"organiserPhone",organiserPhone2:"organiserPhone2",hasActivatedCashRegister:"hasActivatedCashRegister",cashRegisterCredits:"cashRegisterCredits",maxEntryNotifications:"maxEntryNotifications",status:"status",oldStatus:"oldStatus",openTicketingWhenOnline:"openTicketingWhenOnline",activateBadgesWhenOnline:"activateBadgesWhenOnline",setExhibitorsOnlineWhenOnline:"setExhibitorsOnlineWhenOnline",setProgramOnlineWhenOnline:"setProgramOnlineWhenOnline",addressId:"addressId",imageId:"imageId",socialsId:"socialsId",organiserId:"organiserId",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt",validatedAt:"validatedAt",publicationRequestedAt:"publicationRequestedAt",startPendingAt:"startPendingAt",pendingAcceptedAutomatically:"pendingAcceptedAutomatically",reference:"reference",searchText:"searchText",autoCalculatedEventStartDate:"autoCalculatedEventStartDate",autoCalculatedHasAvailableTickets:"autoCalculatedHasAvailableTickets",autoCalculatedHasAvailableBadges:"autoCalculatedHasAvailableBadges"},t.Prisma.EventDateScalarFieldEnum={id:"id",eventId:"eventId",isContinuous:"isContinuous"},t.Prisma.EventFormQuestionScalarFieldEnum={id:"id",theme:"theme",allowedEventTypes:"allowedEventTypes",question:"question",answerType:"answerType",isSystemQuestion:"isSystemQuestion",createdAt:"createdAt",updatedAt:"updatedAt",eventId:"eventId"},t.Prisma.EventFormQuestionOptionScalarFieldEnum={id:"id",questionId:"questionId",label:"label",order:"order"},t.Prisma.EventFormQuestionOnEventScalarFieldEnum={id:"id",eventId:"eventId",questionId:"questionId",order:"order",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventFormAnswerUserScalarFieldEnum={id:"id",userId:"userId",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventFormAnswerScalarFieldEnum={id:"id",eventFormAnswerUserId:"eventFormAnswerUserId",questionOnEventId:"questionOnEventId",backupQuestionId:"backupQuestionId",answer:"answer",answerList:"answerList",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventUserInterestScalarFieldEnum={id:"id",userId:"userId",eventId:"eventId",wantsToAppearInRegisteredList:"wantsToAppearInRegisteredList",wantsExhibitorContact:"wantsExhibitorContact",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PendingEventTokenScalarFieldEnum={id:"id",token:"token",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventCreatedByVisitorScalarFieldEnum={id:"id",eventId:"eventId",createdById:"createdById",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventGateScalarFieldEnum={id:"id",eventId:"eventId",name:"name",createdAt:"createdAt",updatedAt:"updatedAt",cashRegisterHolderId:"cashRegisterHolderId"},t.Prisma.EventReportScalarFieldEnum={id:"id",eventId:"eventId",reportOption:"reportOption",otherReason:"otherReason",userId:"userId",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventInspectorScalarFieldEnum={id:"id",eventId:"eventId",userId:"userId",gateId:"gateId",clearPassword:"clearPassword",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.EventLikeScalarFieldEnum={id:"id",userId:"userId",eventId:"eventId"},t.Prisma.ExhibitorInspectorScalarFieldEnum={id:"id",eventId:"eventId",userId:"userId",clearPassword:"clearPassword",exhibitorId:"exhibitorId",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.EventEquipmentRequestScalarFieldEnum={id:"id",status:"status",eventId:"eventId",exhibitorId:"exhibitorId",pricingId:"pricingId",deliveryFeePricingId:"deliveryFeePricingId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventEquipmentAllocationsScalarFieldEnum={id:"id",count:"count",dates:"dates",eventEquipmentRequestId:"eventEquipmentRequestId",eventEquipmentId:"eventEquipmentId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EquipmentScalarFieldEnum={id:"id",name:"name",description:"description",tags:"tags",quantity:"quantity",quantityLeft:"quantityLeft",pricingId:"pricingId",deliveryFeePriceHt:"deliveryFeePriceHt",deliveryFeeVatRate:"deliveryFeeVatRate",freeDeliveryThresholdCents:"freeDeliveryThresholdCents",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreditNoteScalarFieldEnum={id:"id",reference:"reference",isFromVisitor:"isFromVisitor",orderId:"orderId",refundOrderId:"refundOrderId",fileId:"fileId",pricingId:"pricingId",refundedAt:"refundedAt",refundTransactionNumber:"refundTransactionNumber",refundStatus:"refundStatus",refundError:"refundError",viewToken:"viewToken",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CreditNoteItemScalarFieldEnum={id:"id",creditNoteId:"creditNoteId",orderItemId:"orderItemId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ProPaymentMethodScalarFieldEnum={id:"id",paymentType:"paymentType",status:"status",bankDraftDueDate:"bankDraftDueDate",proFormaInvoiceFileId:"proFormaInvoiceFileId",reference:"reference",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OnlineCardPaymentScalarFieldEnum={id:"id",error:"error",transactionNumber:"transactionNumber",authorizationNumber:"authorizationNumber",callNumber:"callNumber",card:"card",authentificationState:"authentificationState",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CashRegisterPaymentScalarFieldEnum={id:"id",paymentMethod:"paymentMethod",value:"value",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OnlineOrderDetailsScalarFieldEnum={id:"id",userId:"userId",role:"role",billingFirstName:"billingFirstName",billingLastName:"billingLastName",billingAddress1:"billingAddress1",billingAddress2:"billingAddress2",billingZipCode:"billingZipCode",billingCity:"billingCity",billingCountryCode:"billingCountryCode",billingBusinessName:"billingBusinessName",isEmbedded:"isEmbedded",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CashRegisterOrderDetailsScalarFieldEnum={id:"id",sessionId:"sessionId",cancelledAt:"cancelledAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrderScalarFieldEnum={id:"id",reference:"reference",total:"total",status:"status",basketType:"basketType",validatedAt:"validatedAt",autoCanceled:"autoCanceled",cashRegisterId:"cashRegisterId",onlineDetailsId:"onlineDetailsId",cashRegisterDetailsId:"cashRegisterDetailsId",proPaymentMethodId:"proPaymentMethodId",onlineCardPaymentId:"onlineCardPaymentId",cashRegisterPaymentId:"cashRegisterPaymentId",lastAcceptedCreditNoteCreatedAt:"lastAcceptedCreditNoteCreatedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrderItemScalarFieldEnum={id:"id",basePrice:"basePrice",totalDiscountAmount:"totalDiscountAmount",finalTotal:"finalTotal",vatRate:"vatRate",orderId:"orderId",eventInvoiceId:"eventInvoiceId",buyableItemId:"buyableItemId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.OrderItemDegressivePriceScalarFieldEnum={id:"id",orderItemId:"orderItemId",originalDegressivePriceId:"originalDegressivePriceId",minQuantity:"minQuantity",maxQuantity:"maxQuantity",discountType:"discountType",discountValue:"discountValue",triggeredQuantity:"triggeredQuantity",discountApplied:"discountApplied",createdAt:"createdAt"},t.Prisma.OrderItemDiscountCodeScalarFieldEnum={id:"id",orderItemId:"orderItemId",originalDiscountCodeId:"originalDiscountCodeId",codeName:"codeName",discountType:"discountType",discountValue:"discountValue",isCumulable:"isCumulable",discountApplied:"discountApplied",createdAt:"createdAt"},t.Prisma.CashRegisterReceiptScalarFieldEnum={id:"id",reference:"reference",cashRegisterOrderDetailsId:"cashRegisterOrderDetailsId",fileId:"fileId",createdAt:"createdAt"},t.Prisma.ReceiptInvoiceScalarFieldEnum={id:"id",reference:"reference",cashRegisterReceiptId:"cashRegisterReceiptId",billingFirstName:"billingFirstName",billingLastName:"billingLastName",billingBusinessName:"billingBusinessName",billingAddress:"billingAddress",billingZipCode:"billingZipCode",billingCity:"billingCity",billingCountry:"billingCountry",billingVat:"billingVat",downloaded:"downloaded",fileId:"fileId",createdAt:"createdAt"},t.Prisma.InvoiceScalarFieldEnum={id:"id",reference:"reference",onlineOrderDetailsId:"onlineOrderDetailsId",fileId:"fileId",viewToken:"viewToken",createdAt:"createdAt"},t.Prisma.EventInvoiceScalarFieldEnum={id:"id",reference:"reference",date:"date",eventId:"eventId",fileId:"fileId",structureId:"structureId",createdAt:"createdAt"},t.Prisma.BasketScalarFieldEnum={id:"id",type:"type",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt",isExpired:"isExpired",hasExtendedExpirationTime:"hasExtendedExpirationTime"},t.Prisma.BasketItemScalarFieldEnum={id:"id",expirationCountdown:"expirationCountdown",basketId:"basketId",buyableItemId:"buyableItemId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BackofficePrestationScalarFieldEnum={type:"type",name:"name",data:"data",pricingId:"pricingId"},t.Prisma.TicketScalarFieldEnum={id:"id",hmac:"hmac",code:"code",orderItemId:"orderItemId",userId:"userId",buyByStru
12ctureId:"buyByStructureId",givenToCommercialId:"givenToCommercialId",givenToVisitorId:"givenToVisitorId",givenToExhibitorId:"givenToExhibitorId",givenByOrganiserId:"givenByOrganiserId",givenByStructureId:"givenByStructureId",ticketTypeId:"ticketTypeId",invitationStatus:"invitationStatus",invitationId:"invitationId",isRefunded:"isRefunded",downloadedAt:"downloadedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.BadgeScalarFieldEnum={id:"id",hmac:"hmac",code:"code",isEnabled:"isEnabled",userId:"userId",orderItemId:"orderItemId",buyByStructureId:"buyByStructureId",badgeTypeId:"badgeTypeId",givenToCommercialId:"givenToCommercialId",givenToVisitorId:"givenToVisitorId",givenToExhibitorId:"givenToExhibitorId",givenByOrganiserId:"givenByOrganiserId",invitationStatus:"invitationStatus",invitationId:"invitationId",isRefunded:"isRefunded",downloadedAt:"downloadedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ScannedTicketScalarFieldEnum={id:"id",inspectorId:"inspectorId",gateId:"gateId",ticketId:"ticketId",badgeId:"badgeId",exhibitorInspectorId:"exhibitorInspectorId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ScannedTicketErrorScalarFieldEnum={id:"id",inspectorId:"inspectorId",error:"error",ticketId:"ticketId",badgeId:"badgeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TicketingScalarFieldEnum={id:"id",eventId:"eventId",availabilityStartingDate:"availabilityStartingDate",availabilityEndingDate:"availabilityEndingDate"},t.Prisma.TicketTypeScalarFieldEnum={id:"id",name:"name",quantity:"quantity",isQuantityInfinite:"isQuantityInfinite",quantityLeft:"quantityLeft",validityDates:"validityDates",isSingleEntry:"isSingleEntry",numberEntriesPerDay:"numberEntriesPerDay",isInfiniteEntries:"isInfiniteEntries",userType:"userType",buyingLimitForUserType:"buyingLimitForUserType",pricingId:"pricingId",groupOnly:"groupOnly",groupMinSize:"groupMinSize",hasGroupVisibilityAndBuyingLimits:"hasGroupVisibilityAndBuyingLimits",eventId:"eventId",activityId:"activityId",hasCustomAppearance:"hasCustomAppearance",customAppearanceId:"customAppearanceId",customPdfAppearanceId:"customPdfAppearanceId",isAvailableOnDisabledTicketing:"isAvailableOnDisabledTicketing",templatePdfId:"templatePdfId",isHalf:"isHalf",page:"page",x:"x",y:"y",color:"color",isAvailableOnCashRegister:"isAvailableOnCashRegister",isAvailableOnOnlineTicketing:"isAvailableOnOnlineTicketing",saleStartDate:"saleStartDate",saleEndDate:"saleEndDate",hasEventGates:"hasEventGates",hasAlertThreshold:"hasAlertThreshold",alertThreshold:"alertThreshold",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.BadgeTypeScalarFieldEnum={id:"id",name:"name",quantity:"quantity",isQuantityInfinite:"isQuantityInfinite",quantityLeft:"quantityLeft",validityDates:"validityDates",numberEntriesPerDay:"numberEntriesPerDay",isInfiniteEntries:"isInfiniteEntries",isVisibleOnVisitorTicketing:"isVisibleOnVisitorTicketing",userType:"userType",pricingId:"pricingId",groupOnly:"groupOnly",groupMinSize:"groupMinSize",eventId:"eventId",isHalf:"isHalf",page:"page",x:"x",y:"y",color:"color",isAvailableOnCashRegister:"isAvailableOnCashRegister",isAvailableOnOnlineTicketing:"isAvailableOnOnlineTicketing",hasCustomAppearance:"hasCustomAppearance",customAppearanceId:"customAppearanceId",customPdfAppearanceId:"customPdfAppearanceId",templatePdfId:"templatePdfId",hasEventGates:"hasEventGates",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.DiscountScalarFieldEnum={id:"id",type:"type",value:"value",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.DegressivePriceScalarFieldEnum={id:"id",discountId:"discountId",minQuantity:"minQuantity",maxQuantity:"maxQuantity",onQuote:"onQuote",pricingId:"pricingId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.DiscountCodeScalarFieldEnum={id:"id",name:"name",isCumulable:"isCumulable",quantity:"quantity",isQuantityInfinite:"isQuantityInfinite",quantityLeft:"quantityLeft",validityDates:"validityDates",eventId:"eventId",organiserId:"organiserId",discountId:"discountId",ticketingId:"ticketingId",generalAccount:"generalAccount",includeDeliveryFees:"includeDeliveryFees",createdAt:"createdAt",updatedAt:"updatedAt",disabledAt:"disabledAt",deletedAt:"deletedAt"},t.Prisma.DiscountCodeToUserScalarFieldEnum={discountCodeId:"discountCodeId",userId:"userId",usedAt:"usedAt"},t.Prisma.PriceScalarFieldEnum={id:"id",priceTTC:"priceTTC",vatRate:"vatRate"},t.Prisma.DiscountCodePricingScalarFieldEnum={pricingId:"pricingId",discountCodeId:"discountCodeId",quantityLeft:"quantityLeft",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PricingScalarFieldEnum={id:"id",isPaid:"isPaid",priceId:"priceId",ticketingId:"ticketingId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ActivityScalarFieldEnum={id:"id",name:"name",description:"description",registrationRequired:"registrationRequired",maxParticipantNumber:"maxParticipantNumber",isFree:"isFree",isCharged:"isCharged",isOnline:"isOnline",imageUrl:"imageUrl",structureSchedule:"structureSchedule",organiserSchedule:"organiserSchedule",blockColor:"blockColor",eventId:"eventId",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventPlaceScalarFieldEnum={id:"id",eventId:"eventId",placeId:"placeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ActivityAreaScalarFieldEnum={id:"id",activityId:"activityId",isOwnStand:"isOwnStand",areaName:"areaName",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SocialsScalarFieldEnum={id:"id",websiteUrl:"websiteUrl",linkedinUrl:"linkedinUrl",facebookUrl:"facebookUrl",twitterUrl:"twitterUrl",instagramUrl:"instagramUrl",youtubeUrl:"youtubeUrl",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ActivityTimetableScalarFieldEnum={id:"id",activityId:"activityId",timetableId:"timetableId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.TimetableScalarFieldEnum={id:"id",startHour:"startHour",endHour:"endHour",isFullDay:"isFullDay",day:"day",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventTimetableScalarFieldEnum={id:"id",day:"day",state:"state",openingTime:"openingTime",closingTime:"closingTime",breakStartTime:"breakStartTime",breakEndTime:"breakEndTime",eventDateRangeId:"eventDateRangeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventDateRangeScalarFieldEnum={id:"id",fromDate:"fromDate",toDate:"toDate",eventDateId:"eventDateId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EventExceptionalClosingDateScalarFieldEnum={id:"id",date:"date",eventDateId:"eventDateId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ParticipationRequestScalarFieldEnum={participation_request_id:"participation_request_id",structureId:"structureId",eventId:"eventId",status:"status",assignedAt:"assignedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ActivityProgramRequestScalarFieldEnum={activityProgramRequestId:"activityProgramRequestId",activityId:"activityId",eventId:"eventId",status:"status",assignedAt:"assignedAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.FaqQuestionsScalarFieldEnum={id:"id",question:"question",answer:"answer",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.AnalyticsExhibitorScalarFieldEnum={id:"id",profileViewCount:"profileViewCount",listApparitionCount:"listApparitionCount",websiteClickCount:"websiteClickCount",socialsClickCount:"socialsClickCount",conversationClickCount:"conversationClickCount",structureId:"structureId",eventId:"eventId"},t.Prisma.AnalyticsOrganizerScalarFieldEnum={id:"id",organizerId:"organizerId",conversationClickCount:"conversationClickCount"},t.Prisma.AnalyticsEventScalarFieldEnum={id:"id",eventId:"eventId",websiteClickCount:"websiteClickCount",socialsClickCount:"socialsClickCount",detailsViewCount:"detailsViewCount",manualDetailsViewCount:"manualDetailsViewCount"},t.Prisma.DatedAnalyticsExhibitorScalarFieldEnum={id:"id",profileViewCount:"profileViewCount",websiteClickCount:"websiteClickCount",socialsClickCount:"socialsClickCount",conversationClickCount:"conversationClickCount",listApparitionCount:"listApparitionCount",day:"day",structureId:"structureId",eventId:"eventId"},t.Prisma.DatedAnalyticsOrganizerScalarFieldEnum={id:"id",organizerId:"organizerId",conversationClickCount:"conversationClickCount",day:"day"},t.Prisma.DatedAnalyticsEventScalarFieldEnum={id:"id",eventId:"eventId",websiteClickCount:"websiteClickCount",socialsClickCount:"socialsClickCount",detailsViewCount:"detailsViewCount",manualDetailsViewCount:"manualDetailsViewCount",day:"day"},t.Prisma.NotificationScalarFieldEnum={id:"id",userId:"userId",description:"description",read:"read",url:"url",createdAt:"createdAt",pictureId:"pictureId"}
12,t.Prisma.BankDetailsScalarFieldEnum={id:"id",accountName:"accountName",ownerName:"ownerName",bankName:"bankName",iban:"iban",bic:"bic",address:"address",city:"city",zipCode:"zipCode",country:"country",organiserId:"organiserId",structureId:"structureId",counter:"counter",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.GlobalReportScalarFieldEnum={id:"id",frequency:"frequency",nextSendDate:"nextSendDate",lastSendDate:"lastSendDate",userId:"userId"},t.Prisma.ExhibitorAdvancedStatisticsScalarFieldEnum={id:"id",eventId:"eventId",structureId:"structureId"},t.Prisma.EmailConsentScalarFieldEnum={id:"id",email:"email",hasConsented:"hasConsented",isFromWebApp:"isFromWebApp",reason:"reason",organiserId:"organiserId",structureId:"structureId",userId:"userId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.StructureEventQrCodeScalarFieldEnum={id:"id",structureId:"structureId",eventId:"eventId",fileId:"fileId",structureDataHash:"structureDataHash",eventDataHash:"eventDataHash",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GroupScalarFieldEnum={id:"id",type:"type",name:"name",organiserId:"organiserId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GroupTicketTypeLimitScalarFieldEnum={id:"id",maxTicketsPerUser:"maxTicketsPerUser",groupId:"groupId",ticketTypeId:"ticketTypeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomAppearanceScalarFieldEnum={id:"id",color:"color",pictureId:"pictureId",xPicture:"xPicture",yPicture:"yPicture",hPicture:"hPicture",wPicture:"wPicture",initialHPicture:"initialHPicture",initialWPicture:"initialWPicture",order:"order",ticketTypeId:"ticketTypeId",badgeTypeId:"badgeTypeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomPdfAppearanceScalarFieldEnum={id:"id",backgroundPictureId:"backgroundPictureId",xBackgroundPicture:"xBackgroundPicture",yBackgroundPicture:"yBackgroundPicture",hBackgroundPicture:"hBackgroundPicture",wBackgroundPicture:"wBackgroundPicture",headerPictureId:"headerPictureId",xHeaderPicture:"xHeaderPicture",yHeaderPicture:"yHeaderPicture",hHeaderPicture:"hHeaderPicture",wHeaderPicture:"wHeaderPicture",backgroundColor:"backgroundColor",headerColor:"headerColor",textColor:"textColor",model:"model",opacity:"opacity",pdfSectionsOrder:"pdfSectionsOrder",customSection1:"customSection1",customSection2:"customSection2",ticketTypeId:"ticketTypeId",badgeTypeId:"badgeTypeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomEventAppearanceScalarFieldEnum={id:"id",eventId:"eventId",backgroundPictureId:"backgroundPictureId",backgroundColor:"backgroundColor",model:"model",opacity:"opacity",countdown:"countdown",eventInfoSections:"eventInfoSections",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomStructureAppearanceScalarFieldEnum={id:"id",backgroundColor:"backgroundColor",filterOpacity:"filterOpacity",backgroundPictureId:"backgroundPictureId",structureId:"structureId"},t.Prisma.CommercialMeetingScalarFieldEnum={id:"id",personalComment:"personalComment",gender:"gender",firstName:"firstName",lastName:"lastName",date:"date",beginningHour:"beginningHour",endHour:"endHour",email:"email",targetId:"targetId",commercialId:"commercialId"},t.Prisma.CommercialClientScanScalarFieldEnum={id:"id",commercialId:"commercialId",commercialClientId:"commercialClientId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CommercialClientScalarFieldEnum={id:"id",comment:"comment",targetUserId:"targetUserId",targetStructureId:"targetStructureId",eventId:"eventId",structureId:"structureId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.ChatbotMessageScalarFieldEnum={id:"id",content:"content",fromBot:"fromBot",knowledgeBaseUsed:"knowledgeBaseUsed",createdAt:"createdAt",userId:"userId"},t.Prisma.RagFaqScalarFieldEnum={id:"id",question:"question",answer:"answer",platform:"platform",links:"links",isActive:"isActive",isProcessed:"isProcessed",createdAt:"createdAt",processedAt:"processedAt",desactivatedAt:"desactivatedAt"},t.Prisma.RagDocumentScalarFieldEnum={id:"id",faqId:"faqId",content:"content",createdAt:"createdAt",isEmbedded:"isEmbedded",embeddedAt:"embeddedAt"},t.Prisma.RagEmbeddingScalarFieldEnum={id:"id",documentId:"documentId",faqId:"faqId",model:"model",isActive:"isActive",createdAt:"createdAt"},t.Prisma.BuyableItemScalarFieldEnum={id:"id",buyableType:"buyableType",ticketTypeId:"ticketTypeId",badgeTypeId:"badgeTypeId",advancedStatisticsEventId:"advancedStatisticsEventId",eventCustomPdfAppearanceEventId:"eventCustomPdfAppearanceEventId",eventCustomAppearanceEventId:"eventCustomAppearanceEventId",exhibitorAdvancedStatisticsStructureId:"exhibitorAdvancedStatisticsStructureId",exhibitorAdvancedStatisticsEventId:"exhibitorAdvancedStatisticsEventId",promotionDates:"promotionDates",promotionEventId:"promotionEventId",exhibitorProfilesPack1CreditsOrganiserId:"exhibitorProfilesPack1CreditsOrganiserId",exhibitorProfilesPack2CreditsOrganiserId:"exhibitorProfilesPack2CreditsOrganiserId",exhibitorProfilesPack3CreditsOrganiserId:"exhibitorProfilesPack3CreditsOrganiserId",aiImageCreditsOrganiserId:"aiImageCreditsOrganiserId",cashRegisterCreditsEventId:"cashRegisterCreditsEventId",exhibitorPromotionEventId:"exhibitorPromotionEventId",exportExhibitorsModuleEventId:"exportExhibitorsModuleEventId",exportProgramModuleEventId:"exportProgramModuleEventId",eventEquipmentRequestId:"eventEquipmentRequestId",feeEventEquipmentRequestId:"feeEventEquipmentRequestId",structureId:"structureId",creditNoteId:"creditNoteId",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.JetEventScalarFieldEnum={id:"id",sequenceNumber:"sequenceNumber",code:"code",label:"label",timestamp:"timestamp",cashRegisterId:"cashRegisterId",operatorId:"operatorId",metadata:"metadata",tagArg:"tagArg",hash:"hash",keyId:"keyId",signature:"signature",excerpt:"excerpt",oen:"oen",prevSignature:"prevSignature",createdAt:"createdAt"},t.Prisma.SystemConfigScalarFieldEnum={id:"id",key:"key",value:"value"},t.Prisma.Nf525GtPeriodicScalarFieldEnum={id:"id",periodType:"peri
12odType",periodDate:"periodDate",cashRegisterId:"cashRegisterId",periodIdentifier:"periodIdentifier",jetEventId:"jetEventId",gtHt:"gtHt",gtpca:"gtpca",gtpva:"gtpva",gdh:"gdh",tagArg:"tagArg",hash:"hash",keyId:"keyId",signature:"signature",oen:"oen",prevSignature:"prevSignature",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.Nf525GtPeriodicVatScalarFieldEnum={id:"id",gtPeriodicId:"gtPeriodicId",vatRate:"vatRate",amountHt:"amountHt"},t.Prisma.Nf525SourceDocumentScalarFieldEnum={id:"id",createdAt:"createdAt",type:"type",chainType:"chainType",seriesId:"seriesId",documentNumber:"documentNumber",invoiceId:"invoiceId",eventInvoiceId:"eventInvoiceId",cashRegisterReceiptId:"cashRegisterReceiptId",creditNoteId:"creditNoteId",receiptInvoiceId:"receiptInvoiceId",tagArg:"tagArg",hash:"hash",keyId:"keyId",signature:"signature",excerpt:"excerpt",oen:"oen",prevSignature:"prevSignature",payload:"payload",payloadHash:"payloadHash",certificateMark:"certificateMark",certificateCategory:"certificateCategory",certificateNumber:"certificateNumber",softwareName:"softwareName",softwareVersion:"softwareVersion"},t.Prisma.Nf525DocumentDuplicateScalarFieldEnum={id:"id",reprintNumber:"reprintNumber",reason:"reason",requestedBy:"requestedBy",requestedAt:"requestedAt",sourceDocumentId:"sourceDocumentId",originalDocumentId:"originalDocumentId"},t.Prisma.Nf525FiscalArchiveScalarFieldEnum={id:"id",tenantId:"tenantId",year:"year",periodStart:"periodStart",periodEnd:"periodEnd",status:"status",generatedAt:"generatedAt",errorMessage:"errorMessage",fileId:"fileId",zipSha256:"zipSha256",tagArg:"tagArg",hash:"hash",keyId:"keyId",signature:"signature",oen:"oen",prevSignature:"prevSignature",totalTtc:"totalTtc",documentCount:"documentCount",jetEventCount:"jetEventCount",jetEventId:"jetEventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.Nf525KeyringScalarFieldEnum={keyId:"keyId",publicKeyPem:"publicKeyPem",algorithm:"algorithm",status:"status",createdAt:"createdAt",activatedAt:"activatedAt",retiredAt:"retiredAt",rotationReason:"rotationReason",operatorId:"operatorId",previousKeyId:"previousKeyId",rotationJetEventId:"rotationJetEventId"},t.Prisma.CashRegisterChangeScalarFieldEnum={id:"id",isAddition:"isAddition",oneCent:"oneCent",twoCent:"twoCent",fiveCent:"fiveCent",tenCent:"tenCent",twentyCent:"twentyCent",fiftyCent:"fiftyCent",oneEuro:"oneEuro",twoEuro:"twoEuro",fiveEuro:"fiveEuro",tenEuro:"tenEuro",twentyEuro:"twentyEuro",fiftyEuro:"fiftyEuro",oneHundredEuro:"oneHundredEuro",twoHundredEuro:"twoHundredEuro",fiveHundredEuro:"fiveHundredEuro",sessionId:"sessionId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CashRegisterStateScalarFieldEnum={id:"id",oneCent:"oneCent",twoCent:"twoCent",fiveCent:"fiveCent",tenCent:"tenCent",twentyCent:"twentyCent",fiftyCent:"fiftyCent",oneEuro:"oneEuro",twoEuro:"twoEuro",fiveEuro:"fiveEuro",tenEuro:"tenEuro",twentyEuro:"twentyEuro",fiftyEuro:"fiftyEuro",oneHundredEuro:"oneHundredEuro",twoHundredEuro:"twoHundredEuro",fiveHundredEuro:"fiveHundredEuro",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CashRegisterSessionScalarFieldEnum={id:"id",openingStateId:"openingStateId",closingStateId:"closingStateId",organiserLiquidGain:"organiserLiquidGain",organiserCardGain:"organiserCardGain",organiserCheckGain:"organiserCheckGain",organiserControlledAmount:"organiserControlledAmount",holderId:"holderId",cashRegisterId:"cashRegisterId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CashRegisterHolderScalarFieldEnum={id:"id",isActive:"isActive",userId:"userId",eventCashRegisterId:"eventCashRegisterId",createdAt:"createdAt",updatedAt:"updatedAt",deletedAt:"deletedAt"},t.Prisma.CashRegisterScalarFieldEnum={id:"id",name:"name",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt",activatedAt:"activatedAt",deletedAt:"deletedAt"},t.Prisma.GuestCheckoutScalarFieldEnum={id:"id",orderId:"orderId",postPurchaseChoice:"postPurchaseChoice",postPurchaseChoiceAt:"postPurchaseChoiceAt",autoEmailSentAt:"autoEmailSentAt",ticketsEmailSentAt:"ticketsEmailSentAt",invoiceEmailSentAt:"invoiceEmailSentAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.GuestCheckoutActionTokenScalarFieldEnum={id:"id",guestCheckoutId:"guestCheckoutId",action:"action",token:"token",expiresAt:"expiresAt",usedAt:"usedAt",createdAt:"createdAt"},t.Prisma.InvitationActionTokenScalarFieldEnum={id:"id",invitationId:"invitationId",action:"action",token:"token",expiresAt:"expiresAt",usedAt:"usedAt",createdAt:"createdAt"},t.Prisma.OrderAccessTokenScalarFieldEnum={id:"id",orderId:"orderId",action:"action",token:"token",createdAt:"createdAt"},t.Prisma.CommercialisationTaskCommentScalarFieldEnum={id:"id",text:"text",userId:"userId",taskId:"taskId",basketId:"basketId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CommercialisationTaskScalarFieldEnum={id:"id",status:"status",date:"date",title:"title",temperature:"temperature",organiserEmail:"organiserEmail",organiserPhone:"organiserPhone",targetProvenance:"targetProvenance",targetType:"targetType",organiserId:"organiserId",eventId:"eventId",otherName:"otherName",exhibitorCount:"exhibitorCount",visitorCount:"visitorCount",animationCount:"animationCount",ticketingAmount:"ticketingAmount",assigneeId:"assigneeId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CommercialisationMeetingScalarFieldEnum={id:"id",date:"date",beginningHour:"beginningHour",endHour:"endHour",isCancelled:"isCancelled",meetingType:"meetingType",targetId:"targetId",taskId:"taskId",basketId:"basketId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CommercialisationInterlocutorScalarFieldEnum={id:"id",name:"name",email:"email",phone:"phone",isArchived:"isArchived",function:"function",adoptedSolution:"adoptedSolution",text:"text",gender:"gender",commercialisationTaskId:"commercialisationTaskId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CommercialisationOrganiserEventsScalarFieldEnum={id:"id",name:"name",startDate:"startDate",endDate:"endDate",exhibitorCount:"exhibitorCount",visitorCount:"visitorCount",animationCount:"animationCount",ticketingAmount:"ticketingAmount",adoptedSolution:"adoptedSolution",isArchived:"isArchived",commercialisationTaskId:"commercialisationTaskId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.MailScalarFieldEnum={id:"id",status:"status",mailId:"mailId",taskId:"taskId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EmailDeliveryScalarFieldEnum={id:"id",sesMessageId:"sesMessageId",recipient:"recipient",source:"source",templateName:"templateName",subject:"subject",category:"category",status:"status",errorType:"errorType",errorMessage:"errorMessage",userId:"userId",orderId:"orderId",eventId:"eventId",sentAt:"sentAt",deliveredAt:"deliveredAt",openedAt:"openedAt",clickedAt:"clickedAt",bouncedAt:"bouncedAt",complainedAt:"complainedAt",rejectedAt:"rejectedAt",renderingFailedAt:"renderingFailedAt",lastEventAt:"lastEventAt",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.EmailDeliveryEventScalarFieldEnum={id:"id",emailDeliveryId:"emailDeliveryId",sesMessageId:"sesMessageId",recipient:"recipient",eventType:"eventType",payload:"payload",occurredAt:"occurredAt",createdAt:"createdAt"},t.Prisma.EventAdditionalInformationScalarFieldEnum={id:"id",eventId:"eventId",exhibitorCount:"exhibitorCount",visitorCount:"visitorCount",animationCount:"animationCount",ticketingAmount:"ticketingAmount",hasToBeRecontacted:"hasToBeRecontacted",interlocutorGender:"interlocutorGender",interlocutorFirstName:"interlocutorFirstName",interlocutorLastName:"interlocutorLastName",interlocutorEmail:"interlocutorEmail",interlocutorPhone:"interlocutorPhone",adoptedSolution:"adoptedSolution",text:"text",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomPosterTextStyleScalarFieldEnum={id:"id",color:"color",fontSize:"fontSize",alignment:"alignment",font:"font",bold:"bold",italic:"italic",underline:"underline",strikeThrough:"strikeThrough",addedTextId:"addedTextId"},t.Prisma.CustomPosterAddedTextScalarFieldEnum={id:"id",text:"text",x:"x",y:"y",w:"w",customPosterId:"customPosterId"},t.Prisma.CustomPosterLogoScalarFieldEnum={id:"id",pictureId:"pictureId",x:"x",y:"y",w:"w",h:"h",customPosterId:"customPosterId"}
12,t.Prisma.CustomPosterPictureScalarFieldEnum={id:"id",pictureId:"pictureId",index:"index",customPosterId:"customPosterId"},t.Prisma.CustomPosterScalarFieldEnum={id:"id",format:"format",x:"x",y:"y",w:"w",h:"h",selectedPictureIndex:"selectedPictureIndex",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.PosterStyleScalarFieldEnum={id:"id",name:"name",description:"description",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.SummarizedEventContextScalarFieldEnum={id:"id",eventId:"eventId",name:"name",dateRange:"dateRange",place:"place",type:"type",brief:"brief",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomCalendarScalarFieldEnum={id:"id",model:"model",opacity:"opacity",backgroundColor:"backgroundColor",fullDayColor:"fullDayColor",polyAnimationColor:"polyAnimationColor",backgroundPictureId:"backgroundPictureId",eventId:"eventId"},t.Prisma.CustomCalendarTemplateScalarFieldEnum={id:"id",model:"model",opacity:"opacity",backgroundColor:"backgroundColor",fullDayColor:"fullDayColor",polyAnimationColor:"polyAnimationColor",templateName:"templateName",slot:"slot",backgroundPictureId:"backgroundPictureId",organiserId:"organiserId"},t.Prisma.EntryNotificationSubscriptionScalarFieldEnum={id:"id",structureId:"structureId",userId:"userId",eventId:"eventId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.CustomPdfAppearanceTemplateScalarFieldEnum={id:"id",templateName:"templateName",slot:"slot",backgroundPictureId:"backgroundPictureId",xBackgroundPicture:"xBackgroundPicture",yBackgroundPicture:"yBackgroundPicture",hBackgroundPicture:"hBackgroundPicture",wBackgroundPicture:"wBackgroundPicture",headerPictureId:"headerPictureId",xHeaderPicture:"xHeaderPicture",yHeaderPicture:"yHeaderPicture",hHeaderPicture:"hHeaderPicture",wHeaderPicture:"wHeaderPicture",backgroundColor:"backgroundColor",headerColor:"headerColor",textColor:"textColor",model:"model",opacity:"opacity",pdfSectionsOrder:"pdfSectionsOrder",customSection1:"customSection1",customSection2:"customSection2",previewPictureId:"previewPictureId",organiserId:"organiserId",createdAt:"createdAt",updatedAt:"updatedAt"},t.Prisma.VisitorEmailNotificationScalarFieldEnum={id:"id",structureId:"structureId",visitorId:"visitorId",eventId:"eventId",sentAt:"sentAt"},t.Prisma.CommunicationKitScalarFieldEnum={id:"id",title:"title",subTitle:"subTitle",dates:"dates",place:"place",textColor:"textColor",filterColor:"filterColor",filterOpacity:"filterOpacity",customButton:"customButton",buttonText:"buttonText",buttonUrl:"buttonUrl",buttonColor:"buttonColor",buttonTextColor:"buttonTextColor",backgroundPictureId:"backgroundPictureId",logoPictureId:"logoPictureId",eventId:"eventId",organiserId:"organiserId"},t.Prisma.SortOrder={asc:"asc",desc:"desc"},t.Prisma.NullableJsonNullValueInput={DbNull:u.DbNull,JsonNull:u.JsonNull},t.Prisma.JsonNullValueInput={JsonNull:u.JsonNull},t.Prisma.QueryMode={default:"default",insensitive:"insensitive"},t.Prisma.NullsOrder={first:"first",last:"last"},t.Prisma.JsonNullValueFilter={DbNull:u.DbNull,JsonNull:u.JsonNull,AnyNull:u.AnyNull},t.FileType=t.$Enums.FileType={media:"media",document:"document",ticket:"ticket",automated_pdf:"automated_pdf",deleted_users_files:"deleted_users_files",qr_code:"qr_code"},t.PdfJobStatus=t.$Enums.PdfJobStatus={pending:"pending",processing:"processing",completed:"completed",failed:"failed"},t.ScrapedEventStatus=t.$Enums.ScrapedEventStatus={pending:"pending",completed:"completed",failed:"failed"},t.ScrapedEventSource=t.$Enums.ScrapedEventSource={gazetteSalon:"gazetteSalon",foiresInfo:"foiresInfo",pdf:"pdf",jds:"jds",maFoireMonSalon:"maFoireMonSalon"},t.RightEntity=t.$Enums.RightEntity={statistics:"statistics",clientExhibitor:"clientExhibitor",clientVisitor:"clientVisitor",clientGroup:"clientGroup",eventMain:"eventMain",eventTicketing:"eventTicketing",eventAccessControl:"eventAccessControl",eventCashRegister:"eventCashRegister",eventExhibitor:"eventExhibitor",eventBadge:"eventBadge",eventInvitation:"eventInvitation",eventSchedule:"eventSchedule",eventFunctionality:"eventFunctionality",eventTransfer:"eventTransfer",conversation:"conversation",userAccess:"userAccess",acExpoD
12ashboard:"acExpoDashboard",acExpoUser:"acExpoUser",acExpoAllEvent:"acExpoAllEvent",acExpoEventBeforeOnlineControl:"acExpoEventBeforeOnlineControl",acExpoEventAfterVisitorCreationControl:"acExpoEventAfterVisitorCreationControl",acExpoEventReported:"acExpoEventReported",acExpoEventAfterAiCreationControl:"acExpoEventAfterAiCreationControl",acExpoAllTouristicPlace:"acExpoAllTouristicPlace",acExpoTouristicPlaceBeforeOnlineControl:"acExpoTouristicPlaceBeforeOnlineControl",acExpoTouristicPlaceReported:"acExpoTouristicPlaceReported",acExpoConnectEventsData:"acExpoConnectEventsData",acExpoAccountingTicketing:"acExpoAccountingTicketing",acExpoAccountingService:"acExpoAccountingService",acExpoAccountingPurchase:"acExpoAccountingPurchase",acExpoAccountingInvoice:"acExpoAccountingInvoice",acExpoAccountingClient:"acExpoAccountingClient",acExpoAccountingCreditNote:"acExpoAccountingCreditNote",acExpoConversation:"acExpoConversation",acExpoUserAccess:"acExpoUserAccess",acExpoNotification:"acExpoNotification",acExpoSettingsStock:"acExpoSettingsStock",acExpoSettingsDiscountCode:"acExpoSettingsDiscountCode",acExpoSettingsFaq:"acExpoSettingsFaq",acExpoSettingsPrestation:"acExpoSettingsPrestation",acExpoSettingsPayments:"acExpoSettingsPayments",acExpoSettingsStats:"acExpoSettingsStats",acExpoRemoteControl:"acExpoRemoteControl",acExpoReporting:"acExpoReporting",acExpoActionEmailNotification:"acExpoActionEmailNotification",acExpoSettingsEventFormQuestions:"acExpoSettingsEventFormQuestions",acExpoSettingsFaqChatbot:"acExpoSettingsFaqChatbot",acExpoSettingsBusinessSector:"acExpoSettingsBusinessSector",eventCommunicationKit:"eventCommunicationKit"},t.Action=t.$Enums.Action={read:"read",create:"create",update:"update",delete:"delete",export:"export",iaAccess:"iaAccess"},t.GenderType=t.$Enums.GenderType={male:"male",female:"female",other:"other"},t.SessionPlatform=t.$Enums.SessionPlatform={backoffice:"backoffice",webApp:"webApp",mobile:"mobile",guest:"guest"},t.Role=t.$Enums.Role={exhibitor:"exhibitor",exhibitorCommercial:"exhibitorCommercial",organiser:"organiser",placeManager:"placeManager",tourismOperator:"tourismOperator",acExpo:"acExpo"},t.CommercialRoles=t.$Enums.CommercialRoles={admin:"admin",commercial:"commercial",guest:"guest"},t.CreateType=t.$Enums.CreateType={import:"import",manual:"manual",scan:"scan",request:"request",transfer:"transfer"},t.BackofficePrestationType=t.$Enums.BackofficePrestationType={advancedStatistics:"advancedStatistics",exhibitorAdvancedStatistics:"exhibitorAdvancedStatistics",exhibitorProfilesPack1Credits:"exhibitorProfilesPack1Credits",exhibitorProfilesPack2Credits:"exhibitorProfilesPack2Credits",exhibitorProfilesPack3Credits:"exhibitorProfilesPack3Credits",cashRegisterCredits:"cashRegisterCredits",promotion:"promotion",exhibitorPromotion:"exhibitorPromotion",exportExhibitorsModule:"exportExhibitorsModule",exportProgramModule:"exportProgramModule",aiImageCredits:"aiImageCredits",eventCustomPdfAppearance:"eventCustomPdfAppearance",eventCustomAppearance:"eventCustomAppearance",refund:"refund"},t.PlaceType=t.$Enums.PlaceType={castle:"castle",museum:"museum",viewpoint:"viewpoint",park:"park",monument:"monument",other:"other"},t.PlaceStructure=t.$Enums.PlaceStructure={J:"J",L:"L",M:"M",N:"N",O:"O",P:"P",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",OA:"OA",GA:"GA",PA:"PA",CTS:"CTS",EF:"EF"},t.TouristicPlaceStatus=t.$Enums.TouristicPlaceStatus={online:"online",onlineRefused:"onlineRefused",beforeOnlineControl:"beforeOnlineControl",draft:"draft"},t.Day=t.$Enums.Day={monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},t.AreaType=t.$Enums.AreaType={custom:"custom",room:"room",hall:"hall",amphitheater:"amphitheater"},t.EventType=t.$Enums.EventType={cultural:"cultural",sporting:"sporting",fair:"fair",professionalFair:"professionalFair",concert:"concert",festival:"festival",other:"other"},t.EventStatus=t.$Enums.EventStatus={online:"online",onlineRefused:"onlineRefused",beforeOnlineControl:"beforeOnlineControl",draft:"draft",visitorCreationRefused:"visitorCreationRefused",afterVisitorCreationControl:"afterVisitorCreationControl",afterAiCreationControl:"afterAiCreationControl",duplicateControl:"duplicateControl",aiPendingAcceptation:"aiPendingAcceptation",aiAccepted:"aiAccepted",visitorPendingAcceptation:"visitorPendingAcceptation",visitorAccepted:"visitorAccepted"},t.EventFormQuestionAnswerType=t.$Enums.EventFormQuestionAnswerType={short_text:"short_text",long_text:"long_text",multiple_choice:"multiple_choice",checkbox:"checkbox",list:"list"},t.ReportOption=t.$Enums.ReportOption={fakeEvent:"fakeEvent",duplicatedEvent:"duplicatedEvent",incorrectInformations:"incorrectInformations",other:"other"},t.ReportStatus=t.$Enums.ReportStatus={pending:"pending",ignored:"ignored"},t.EquipmentRequestStatus=t.$Enums.EquipmentRequestStatus={pending:"pending",refused:"refused",waitingForPayment:"waitingForPayment",paid:"paid"},t.EquipmentTag=t.$Enums.EquipmentTag={eventAcess:"eventAcess",cashRegister:"cashRegister"},t.RefundStatus=t.$Enums.RefundStatus={pending:"pending",success:"success",failed:"failed",manual_required:"manual_required"},t.CreditNoteStatus=t.$Enums.CreditNoteStatus={refused:"refused",awaiting:"awaiting",awaitingApproval:"awaitingApproval",accepted:"accepted"},t.MethodPaymentType=t.$Enums.MethodPaymentType={bankDraft:"bankDraft",transfer:"transfer"},t.PaymentStatus=t.$Enums.PaymentStatus={pending:"pending",accepted:"accepted",refused:"refused"},t.CashRegisterPaymentMethod=t.$Enums.CashRegisterPaymentMethod={cash:"cash",card:"card",bankDraft:"bankDraft"},t.OrderStatus=t.$Enums.OrderStatus={pending:"pending",processing:"processing",success:"success",refused:"refused",canceled:"canceled",error:"error"},t.BasketType=t.$Enums.BasketType={store:"store",backoffice:"backoffice",cash_register:"cash_register"},t.DiscountType=t.$Enums.DiscountType={percentage:"percentage",euro:"euro"},t.InvitationStatus=t.$Enums.InvitationStatus={sent:"sent",waiting:"waiting",opened:"opened",refused:"refused"},t.TicketUserType=t.$Enums.TicketUserType={vendor:"vendor",business:"business",exhibitor:"exhibitor",visitor:"visitor",group:"group",all:"all"}
12,t.Color=t.$Enums.Color={white:"white",black:"black",gray:"gray",lightGray:"lightGray",brown:"brown",lightBrown:"lightBrown",orange:"orange",lightOrange:"lightOrange",yellow:"yellow",lightYellow:"lightYellow",green:"green",lightGreen:"lightGreen",blue:"blue",lightBlue:"lightBlue",purple:"purple",lightPurple:"lightPurple",magenta:"magenta",lightMagenta:"lightMagenta",red:"red",lightRed:"lightRed"},t.EventTimetableState=t.$Enums.EventTimetableState={continuouslyOpened:"continuouslyOpened",opened:"opened",closed:"closed"},t.RequestParticipationStatus=t.$Enums.RequestParticipationStatus={pending:"pending",accepted:"accepted",refused:"refused"},t.GroupType=t.$Enums.GroupType={visitor:"visitor",exhibitor:"exhibitor"},t.CustomAppearanceOrder=t.$Enums.CustomAppearanceOrder={qrCodeFirst:"qrCodeFirst",qrCodeLast:"qrCodeLast"},t.CustomPdfAppearanceModel=t.$Enums.CustomPdfAppearanceModel={fourQuarters:"fourQuarters",horizontal:"horizontal",mix:"mix"},t.CustomPdfAppearanceSection=t.$Enums.CustomPdfAppearanceSection={qrCode:"qrCode",conditions:"conditions",customSection1:"customSection1",customSection2:"customSection2"},t.CustomEventInfoAppearanceSection=t.$Enums.CustomEventInfoAppearanceSection={mainCharacteristics:"mainCharacteristics",locations:"locations",dates:"dates",pictures:"pictures",links:"links"},t.RagFaqPlatform=t.$Enums.RagFaqPlatform={webApp:"webApp",backoffice:"backoffice",mobile:"mobile"},t.BuyableItemType=t.$Enums.BuyableItemType={ticket:"ticket",badge:"badge",eventEquipmentRequest:"eventEquipmentRequest",advancedStatistics:"advancedStatistics",exhibitorAdvancedStatistics:"exhibitorAdvancedStatistics",exhibitorProfilesPack1Credits:"exhibitorProfilesPack1Credits",exhibitorProfilesPack2Credits:"exhibitorProfilesPack2Credits",exhibitorProfilesPack3Credits:"exhibitorProfilesPack3Credits",cashRegisterCredits:"cashRegisterCredits",promotion:"promotion",exhibitorPromotion:"exhibitorPromotion",exportExhibitorsModule:"exportExhibitorsModule",exportProgramModule:"exportProgramModule",aiImageCredits:"aiImageCredits",eventCustomPdfAppearance:"eventCustomPdfAppearance",eventCustomAppearance:"eventCustomAppearance",refund:"refund",equipmentDeliveryFee:"equipmentDeliveryFee"},t.Nf525PeriodType=t.$Enums.Nf525PeriodType={DAY:"DAY",MONTH:"MONTH",YEAR:"YEAR"},t.Nf525SourceDocumentType=t.$Enums.Nf525SourceDocumentType={INVOICE:"INVOICE",EVENT_INVOICE:"EVENT_INVOICE",RECEIPT:"RECEIPT",CREDIT_NOTE:"CREDIT_NOTE"},t.Nf525DocumentChainType=t.$Enums.Nf525DocumentChainType={TICKET_NOTE:"TICKET_NOTE",INVOICE_FLOW:"INVOICE_FLOW",DUPLICATE_TICKET:"DUPLICATE_TICKET",DUPLICATE_INVOICE:"DUPLICATE_INVOICE"},t.Nf525FiscalArchiveStatus=t.$Enums.Nf525FiscalArchiveStatus={PENDING:"PENDING",COMPLETED:"COMPLETED",FAILED:"FAILED"},t.Nf525KeyStatus=t.$Enums.Nf525KeyStatus={ACTIVE:"ACTIVE",RETIRED:"RETIRED",REVOKED:"REVOKED"},t.GuestPostPurchaseChoice=t.$Enums.GuestPostPurchaseChoice={pending:"pending",finalizeAccount:"finalizeAccount",emailTickets:"emailTickets"},t.GuestActionType=t.$Enums.GuestActionType={finalizeAccount:"finalizeAccount",emailTickets:"emailTickets",emailInvoice:"emailInvoice",viewTickets:"viewTickets"},t.InvitationActionType=t.$Enums.InvitationActionType={viewTickets:"viewTickets",viewBadges:"viewBadges"},t.OrderAccessActionType=t.$Enums.OrderAccessActionType={viewTickets:"viewTickets",viewBadges:"viewBadges"},t.CommercialisationTaskStatus=t.$Enums.CommercialisationTaskStatus={active:"active",clotured:"clotured",archived:"archived"},t.CommercialisationTaskTemperature=t.$Enums.CommercialisationTaskTemperature={hot:"hot",lukewarm:"lukewarm",cold:"cold"},t.CommercialisationTaskTargetType=t.$Enums.CommercialisationTaskTargetType={event:"event",organiser:"organiser",other:"other"},t.CommercialisationMeetingType=t.$Enums.CommercialisationMeetingType={phone:"phone",visio:"visio"},t.MailStatus=t.$Enums.MailStatus={created:"created",sent:"sent",received:"received",opened:"opened",bounced:"bounced",complained:"complained"},t.EmailDeliveryCategory=t.$Enums.EmailDeliveryCategory={orderConfirmation:"orderConfirmation",guestPostPurchase:"guestPostPurchase",guestTicketsEmail:"guestTicketsEmail",guestInvoiceEmail:"guestInvoiceEmail",ticketsIssue:"ticketsIssue",other:"other"},t.EmailDeliveryStatus=t.$Enums.EmailDeliveryStatus={created:"created",sent:"sent",delivered:"delivered",opened:"opened",clicked:"clicked",bounced:"bounced",complained:"complained",rejected:"rejected",renderingFailed:"renderingFailed"},t.EmailDeliveryEventType=t.$Enums.EmailDeliveryEventType={send:"send",delivery:"delivery",bounce:"bounce",complaint:"complaint",open:"open",click:"click",reject:"reject",renderingFailure:"renderingFailure",unknown:"unknown"},t.CustomPosterTextStyleAlignment=t.$Enums.CustomPosterTextStyleAlignment={left:"left",center:"center",right:"right",justify:"justify"},t.CustomPosterTextStyleFont=t.$Enums.CustomPosterTextStyleFont={anton:"anton",gliker:"gliker",intro_rust:"intro_rust",lovelo:"lovelo",trend_sans_one:"trend_sans_one",baron:"baron",high_tide:"high_tide",kingsland:"kingsland",vancouver:"vancouver",poppins_black_font:"poppins_black_font",oswald:"oswald",chivo_black:"chivo_black",amarante:"amarante",caprasimo:"caprasimo",franklin_gothic:"franklin_gothic",roboto_slab:"roboto_slab",aleo:"aleo",brandon_grotesque:"brandon_grotesque",league_gothic:"league_gothic",gilmer:"gilmer"},t.CustomPosterFormat=t.$Enums.CustomPosterFormat={format4x3:"format4x3",format16x9:"format16x9",format21x9:"format21x9"},t.CustomCalendarModel=t.$Enums.CustomCalendarModel={verticalDayHour:"verticalDayHour",verticalDayList:"verticalDayList",verticalWeekly:"verticalWeekly",horizontalMonthly:"horizontalMonthly",verticalByPlace:"verticalByPlace"},t.Prisma.ModelName={DateRange:"DateRange",File:"File",AutomatedPdfJob:"AutomatedPdfJob",ScrapedEvent:"ScrapedEvent",PotentialDuplicateEvent:"PotentialDuplicateEvent",Conversation:"Conversation",ArchivedConversation:"ArchivedConversation",Message:"Message",RightsRole:"RightsRole",Right:"Right",User:"User",BetterAuthSession:"BetterAuthSession",BetterAuthAccount:"BetterAuthAccount",BetterAuthVerification:"BetterAuthVerification",UserReporting:"UserReporting",VerifyEmailToken:"VerifyEmailToken",ResetPasswordToken:"ResetPasswordToken",ExpoNotificationToken:"E
12xpoNotificationToken",UserSharedInformation:"UserSharedInformation",UserRole:"UserRole",Organiser:"Organiser",Consent:"Consent",ConsentHistory:"ConsentHistory",CommercialUnavailability:"CommercialUnavailability",Commercial:"Commercial",BusinessSector:"BusinessSector",Structure:"Structure",ScannedStructure:"ScannedStructure",Like:"Like",Visitor:"Visitor",OrganiserStructure:"OrganiserStructure",EventStructure:"EventStructure",StructureProduct:"StructureProduct",StructureProductImage:"StructureProductImage",StructureDocument:"StructureDocument",EventStructureDocument:"EventStructureDocument",Place:"Place",TouristicPlace:"TouristicPlace",TouristicPlaceOpening:"TouristicPlaceOpening",TouristicPlaceTimetable:"TouristicPlaceTimetable",TouristicPlaceExceptionalOpening:"TouristicPlaceExceptionalOpening",Address:"Address",PlaceEntrance:"PlaceEntrance",Area:"Area",EventEntrance:"EventEntrance",EventPicture:"EventPicture",Event:"Event",EventDate:"EventDate",EventFormQuestion:"EventFormQuestion",EventFormQuestionOption:"EventFormQuestionOption",EventFormQuestionOnEvent:"EventFormQuestionOnEvent",EventFormAnswerUser:"EventFormAnswerUser",EventFormAnswer:"EventFormAnswer",EventUserInterest:"EventUserInterest",PendingEventToken:"PendingEventToken",EventCreatedByVisitor:"EventCreatedByVisitor",EventGate:"EventGate",EventReport:"EventReport",EventInspector:"EventInspector",EventLike:"EventLike",ExhibitorInspector:"ExhibitorInspector",EventEquipmentRequest:"EventEquipmentRequest",EventEquipmentAllocations:"EventEquipmentAllocations",Equipment:"Equipment",CreditNote:"CreditNote",CreditNoteItem:"CreditNoteItem",ProPaymentMethod:"ProPaymentMethod",OnlineCardPayment:"OnlineCardPayment",CashRegisterPayment:"CashRegisterPayment",OnlineOrderDetails:"OnlineOrderDetails",CashRegisterOrderDetails:"CashRegisterOrderDetails",Order:"Order",OrderItem:"OrderItem",OrderItemDegressivePrice:"OrderItemDegressivePrice",OrderItemDiscountCode:"OrderItemDiscountCode",CashRegisterReceipt:"CashRegisterReceipt",ReceiptInvoice:"ReceiptInvoice",Invoice:"Invoice",EventInvoice:"EventInvoice",Basket:"Basket",BasketItem:"BasketItem",BackofficePrestation:"BackofficePrestation",Ticket:"Ticket",Badge:"Badge",ScannedTicket:"ScannedTicket",ScannedTicketError:"ScannedTicketError",Ticketing:"Ticketing",TicketType:"TicketType",BadgeType:"BadgeType",Discount:"Discount",DegressivePrice:"DegressivePrice",DiscountCode:"DiscountCode",DiscountCodeToUser:"DiscountCodeToUser",Price:"Price",DiscountCodePricing:"DiscountCodePricing",Pricing:"Pricing",Activity:"Activity",EventPlace:"EventPlace",ActivityArea:"ActivityArea",Socials:"Socials",ActivityTimetable:"ActivityTimetable",Timetable:"Timetable",EventTimetable:"EventTimetable",EventDateRange:"EventDateRange",EventExceptionalClosingDate:"EventExceptionalClosingDate",ParticipationRequest:"ParticipationRequest",ActivityProgramRequest:"ActivityProgramRequest",FaqQuestions:"FaqQuestions",AnalyticsExhibitor:"AnalyticsExhibitor",AnalyticsOrganizer:"AnalyticsOrganizer",AnalyticsEvent:"AnalyticsEvent",DatedAnalyticsExhibitor:"DatedAnalyticsExhibitor",DatedAnalyticsOrganizer:"DatedAnalyticsOrganizer",DatedAnalyticsEvent:"DatedAnalyticsEvent",Notification:"Notification",BankDetails:"BankDetails",GlobalReport:"GlobalReport",ExhibitorAdvancedStatistics:"ExhibitorAdvancedStatistics",EmailConsent:"EmailConsent",StructureEventQrCode:"StructureEventQrCode",Group:"Group",GroupTicketTypeLimit:"GroupTicketTypeLimit",CustomAppearance:"CustomAppearance",CustomPdfAppearance:"CustomPdfAppearance",CustomEventAppearance:"CustomEventAppearance",CustomStructureAppearance:"CustomStructureAppearance",CommercialMeeting:"CommercialMeeting",CommercialClientScan:"CommercialClientScan",CommercialClient:"CommercialClient",ChatbotMessage:"ChatbotMessage",RagFaq:"RagFaq",RagDocument:"RagDocument",RagEmbedding:"RagEmbedding",BuyableItem:"BuyableItem",JetEvent:"JetEvent",SystemConfig:"SystemConfig",Nf525GtPeriodic:"Nf525GtPeriodic",Nf525GtPeriodicVat:"Nf525GtPeriodicVat",Nf525SourceDocument:"Nf525SourceDocument",Nf525DocumentDuplicate:"Nf525DocumentDuplicate",Nf525FiscalArchive:"Nf525FiscalArchive",Nf525Keyring:"Nf525Keyring",CashRegisterChange:"CashRegisterChange",CashRegisterState:"CashRegisterState",CashRegisterSession:"CashRegisterSession",CashRegisterHolder:"CashRegisterHolder",CashRegister:"CashRegister",GuestCheckout:"GuestCheckout",GuestCheckoutActionToken:"GuestCheckoutActionToken",InvitationActionToken:"InvitationActionToken",OrderAccessToken:"OrderAccessToken",CommercialisationTaskComment:"CommercialisationTaskComment",CommercialisationTask:"CommercialisationTask",CommercialisationMeeting:"CommercialisationMeeting",CommercialisationInterlocutor:"CommercialisationInterlocutor",CommercialisationOrganiserEvents:"CommercialisationOrganiserEvents",Mail:"Mail",EmailDelivery:"EmailDelivery",EmailDeliveryEvent:"EmailDeliveryEvent",EventAdditionalInformation:"EventAdditionalInformation",CustomPosterTextStyle:"CustomPosterTextStyle",CustomPosterAddedText:"CustomPosterAddedText",CustomPosterLogo:"CustomPosterLogo",CustomPosterP
12icture:"CustomPosterPicture",CustomPoster:"CustomPoster",PosterStyle:"PosterStyle",SummarizedEventContext:"SummarizedEventContext",CustomCalendar:"CustomCalendar",CustomCalendarTemplate:"CustomCalendarTemplate",EntryNotificationSubscription:"EntryNotificationSubscription",CustomPdfAppearanceTemplate:"CustomPdfAppearanceTemplate",VisitorEmailNotification:"VisitorEmailNotification",CommunicationKit:"CommunicationKit"};class c{constructor(){return new Proxy(this,{get(e,t){let n=s();throw Error((n.isEdge?`PrismaClient is not configured to run in ${n.prettyName}. In order to run Prisma Client on edge runtime, either:
13- Use Prisma Accelerate: https://pris.ly/d/accelerate
14- Use Driver Adapters: https://pris.ly/d/driver-adapters
15`:"PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `"+n.prettyName+"`).")+`
16If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`)}})}}t.PrismaClient=c,Object.assign(t,u)},23183:(e,t,n)=>{var r=n(25248),i=n(42209),a=n(91544),o=n(13920),s=n(48039),l=n(43092);e.exports=function(e,t,n){t=r(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var h=l(t[u]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&o(h,c)&&(a(e)||i(e))}},23282:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},23319:(e,t,n)=>{e.exports=n(23161)},23330:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),n(89687);let r=n(74495),i=n(89227),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l(e,t){var n,l;let u,c,d,{src:h,sizes:f,unoptimized:p=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:w,fill:x=!1,style:C,overrideSrc:E,onLoad:S,onLoadingComplete:A,placeholder:k="empty",blurDataURL:N,fetchPriority:P,decoding:I="async",layout:T,objectFit:O,objectPosition:L,lazyBoundary:M,lazyRoot:D,...j}=e,{imgConf:_,showAltText:R,blurComplete:F,defaultLoader:z}=t,B=_||i.imageConfigDefault;if("allSizes"in B)u=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=null==(n=B.qualities)?void 0:n.sort((e,t)=>e-t);u={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let V=j.loader||z;delete j.loader,delete j.srcSet;let U="__next_img_default"in V;if(U){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=V;V=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(C={...C,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!f&&(f=t)}let q="",H=s(b),Z=s(w);if((l=h)&&"object"==typeof l&&(o(l)||void 0!==l.src)){let e=o(h)?h.default:h;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,N=N||e.blurDataURL,q=e.src,!x)if(H||Z){if(H&&!Z){let t=H/e.width;Z=Math.round(e.height*t)}else if(!H&&Z){let t=Z/e.height;H=Math.round(e.width*t)}}else H=e.width,Z=e.height}let W=!m&&("lazy"===g||void 0===g);(!(h="string"==typeof h?h:q)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,W=!1),u.unoptimized&&(p=!0),U&&
16!u.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(p=!0);let G=s(y),$=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:L}:{},R?{}:{color:"transparent"},C),K=F||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:H,heightInt:Z,blurWidth:c,blurHeight:d,blurDataURL:N||"",objectFit:$.objectFit})+'")':'url("'+k+'")',Y=a.includes($.objectFit)?"fill"===$.objectFit?"100% 100%":"cover":$.objectFit,X=K?{backgroundSize:Y,backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},Q=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:a,width:l[c]})}}({config:u,src:h,unoptimized:p,width:H,quality:G,sizes:f,loader:V});return{props:{...j,loading:W?"lazy":g,fetchPriority:P,width:H,height:Z,decoding:I,className:v,style:{...$,...X},sizes:Q.sizes,srcSet:Q.srcSet,src:E||Q.src},meta:{unoptimized:p,priority:m,placeholder:k,fill:x}}}},23356:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},23440:(e,t,n)=>{"use strict";n.d(t,{px:()=>o});var r=n(6029),i=n(39794);function a(e){let{className:t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("size-3",t,"rounded-full")})}function o(e){let{className:t}=e;return(0,r.jsx)(a,{className:(0,i.cn)(t,"bg-[#F04438]")})}},24090:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},24127:(e,t,n)=>{var r=n(25248),i=n(43092);e.exports=function(e,t){t=r(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[i(t[n++])];return n&&n==a?e:void 0}},24347:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(55729),i=n(35896);function a(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},24490:(e,t,n)=>{e.exports=n(54703)(n(45516),"WeakMap")},24782:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>l,ef:()=>o,xM:()=>s});let r=/^D+$/,i=/^Y+$/,a=["D","DD","YY","YYYY"];function o(e){return r.test(e)}function s(e){return i.test(e)}function l(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").
16concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),a.includes(e))throw RangeError(r)}},24877:(e,t,n)=>{var r=n(62272),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},24928:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(58309).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},24964:(e,t,n)=>{var r=n(93248),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=i(a.length-t,0),l=Array(s);++o<s;)l[o]=a[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=a[o];return u[t]=n(l),r(e,this,u)}}},25080:(e,t,n)=>{e.exports=n(45516).Symbol},25248:(e,t,n)=>{var r=n(91544),i=n(25907),a=n(8947),o=n(60567);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:a(o(e))}},25269:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},25628:(e,t,n)=>{"use strict";function r(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;let s=o[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}n.d(t,{A:()=>r})},25682:(e,t,n)=>{"use strict";function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>r})},25725:(e,t,n)=>{var r=n(81648),i=n(78492),a=n(68988),o=n(91544);e.exports=function(e,t){return function(n,s){var l=o(n)?r:i,u=t?t():{};return l(n,e,a(s,2),u)}}},25739:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},25907:(e,t,n)=>{var r=n(91544),i=n(50515),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},26194:(e,t,n)=>{var r=n(83965),i=n(37390),a=n(45895),o=n(48877);e.exports=a(function(e,t){if(null==e)return[];var n=t.length;return n>1&&o(e,t[0],t[1])?t=[]:n>2&&o(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])})},26312:(e,t,n)=>{"use strict";var r,i,a,o=n(57388);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var l=573,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f=Array(576);s(f);var p=Array(60);s(p);var m=Array(512);s(m);var g=Array(256);s(g);var v=Array(29);s(v);var y=Array(30);function b(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function w(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function x(e){return e<256?m[e]:m[256+(e>>>7)]}function C(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function E(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,C(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function S(e,t,n){E(e,n[2*t],n[2*t+1])}function A(e,t){var n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1}function k(e,t,n){var r,i,a=Array(16),o=0;for(r=1;r<=15;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=A(a[s]++,s))}}function N(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function P(e){e.bi_valid>8?C(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function T(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&I(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!I(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;
16e.heap[n]=r}function O(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?S(e,i,t):(S(e,(a=g[i])+256+1,t),0!==(o=u[a])&&E(e,i-=v[a],o),S(e,a=x(--r),n),0!==(o=c[a])&&E(e,r-=y[a],o));while(s<e.last_lit);S(e,256,t)}function L(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(n=0,e.heap_len=0,e.heap_max=l;n<u;n++)0!==a[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)T(e,a,n);i=u;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],T(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,T(e,a,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,u=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<l;n++)(a=u[2*u[2*(r=e.heap[n])+1]+1]+1)>m&&(a=m,g++),u[2*r+1]=a,!(r>c)&&(e.bl_count[a]++,o=0,r>=p&&(o=f[r-p]),s=u[2*r],e.opt_len+=s*(a+o),h&&(e.static_len+=s*(d[2*r+1]+o)));if(0!==g){do{for(a=m-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[m]--,g-=2}while(g>0);for(a=m;0!==a;a--)for(r=e.bl_count[a];0!==r;)!((i=e.heap[--n])>c)&&(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),r--)}}(e,t),k(a,c,e.bl_count)}function M(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function D(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s<l)||i!==o){if(s<u)do S(e,i,e.bl_tree);while(0!=--s);else 0!==i?(i!==a&&(S(e,i,e.bl_tree),s--),S(e,16,e.bl_tree),E(e,s-3,2)):s<=10?(S(e,17,e.bl_tree),E(e,s-3,3)):(S(e,18,e.bl_tree),E(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}s(y);var j=!1;function _(e,t,n,r){E(e,0+ +!!r,3),P(e),C(e,n),C(e,~n),o.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}t._tr_init=function(e){j||(!function(){var e,t,n,o,s,l=Array(16);for(o=0,n=0;o<28;o++)for(e=0,v[o]=n;e<1<<u[o];e++)g[n++]=o;for(g[n-1]=o,s=0,o=0;o<16;o++)for(e=0,y[o]=s;e<1<<c[o];e++)m[s++]=o;for(s>>=7;o<30;o++)for(e=0,y[o]=s<<7;e<1<<c[o]-7;e++)m[256+s++]=o;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)f[2*e+1]=8,e++,l[8]++;for(;e<=255;)f[2*e+1]=9,e++,l[9]++;for(;e<=279;)f[2*e+1]=7,e++,l[7]++;for(;e<=287;)f[2*e+1]=8,e++,l[8]++;for(k(f,287,l),e=0;e<30;e++)p[2*e+1]=5,p[2*e]=A(e,5);r=new b(f,u,257,286,15),i=new b(p,c,0,30,15),a=new b([],d,0,19,7)}(),j=!0),e.l_desc=new w(e.dyn_ltree,r),e.d_desc=new w(e.dyn_dtree,i),e.bl_desc=new w(e.bl_tree,a),e.bi_buf=0,e.bi_valid=0,N(e)},t._tr_stored_block=_,t._tr_flush_block=function(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=0xf3ffc07f;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),L(e,e.l_desc),L(e,e.d_desc),o=function(e){var t;for(M(e,e.dyn_ltree,e.l_desc.max_code),M(e,e.dyn_dtree,e.d_desc.max_code),L(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?_(e,t,n,r):4===e.strategy||a===i?(E(e,2+ +!!r,3),O(e,f,p)):(E(e,4+ +!!r,3),function(e,t,n,r){var i;for(E(e,t-257,5),E(e,n-1,5),E(e,r-4,4),i=0;i<r;i++)E(e,e.bl_tree[2*h[i]+1],3);D(e,e.dyn_ltree,t-1),D(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),O(e,e.dyn_ltree,e.dyn_dtree)),N(e),r&&P(e)},t._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[(g[n]+256+1)*2]++,e.dyn_dtree[2*x(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){E(e,2,3),S(e,256,f),16===e.bi_valid?(C(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},26426:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(99034);function i(e,t,n){let[i,a]=(0,r.x)(null==n?void 0:n.in,e,t);return i.getFullYear()===a.getFullYear()}},26807:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var r=n(6029),i=n(64713),a=n(39794),o=n(78573),s=n(46102);
16function l(e){let{control:t,name:n,...a}=e;return(0,r.jsx)(i.zB,{control:t,name:n,render:e=>{let{field:t}=e;return(0,r.jsx)(u,{...a,field:t})}})}function u(e){let{variant:t,field:n,radioItems:l,className:u,containerClassName:c,itemClassName:d,itemContainerClassName:h,innerItemClassName:f,labelClassName:p="",onChange:m,disabled:g}=e,{value:v,onChange:y}=n,b=e=>(0,r.jsxs)(i.eI,{className:(0,a.cn)(s.YA,d),children:[(0,r.jsx)(i.MJ,{children:(0,r.jsx)(o.C,{variant:t,value:e.value,label:e.label,className:f,disabled:e.disabled})}),e.label&&"buttons"!==t&&"cards"!==t&&(0,r.jsx)(i.lR,{className:p,children:e.label})]},e.value);return(0,r.jsx)(i.eI,{className:(0,a.cn)("size-full flex-1",u),children:(0,r.jsx)(i.MJ,{children:(0,r.jsx)(o.z,{variant:t,onValueChange:e=>{y(e),m&&m(e)},defaultValue:v,value:String(v),className:c,disabled:g,children:l.map(e=>e.component?(0,r.jsxs)("div",{className:(0,a.cn)(h),children:[b(e),e.component]},e.value):b(e))})})})}},27002:(e,t,n)=>{"use strict";let r,i;n.d(t,{f:()=>eI,h:()=>eP});var a,o={};n.r(o),n.d(o,{Decoder:()=>eg,Encoder:()=>ep,PacketType:()=>a,protocol:()=>ef});var s=n(6029),l=n(73492),u=n(55729);let c=Object.create(null);c.open="0",c.close="1",c.ping="2",c.pong="3",c.message="4",c.upgrade="5",c.noop="6";let d=Object.create(null);Object.keys(c).forEach(e=>{d[c[e]]=e});let h={type:"error",data:"parser error"},f="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),p="function"==typeof ArrayBuffer,m=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,g=({type:e,data:t},n,r)=>{if(f&&t instanceof Blob)if(n)return r(t);else return v(t,r);
16if(p&&(t instanceof ArrayBuffer||m(t)))if(n)return r(t);else return v(new Blob([t]),r);return r(c[e]+(t||""))},v=(e,t)=>{let n=new FileReader;return n.onload=function(){t("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(e)};function y(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<b.length;e++)w[b.charCodeAt(e)]=e;let x="function"==typeof ArrayBuffer,C=(e,t)=>{if("string"!=typeof e)return{type:"message",data:S(e,t)};let n=e.charAt(0);return"b"===n?{type:"message",data:E(e.substring(1),t)}:d[n]?e.length>1?{type:d[n],data:e.substring(1)}:{type:d[n]}:h},E=(e,t)=>x?S((e=>{let t=.75*e.length,n=e.length,r,i=0,a,o,s,l;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let u=new ArrayBuffer(t),c=new Uint8Array(u);for(r=0;r<n;r+=4)a=w[e.charCodeAt(r)],o=w[e.charCodeAt(r+1)],s=w[e.charCodeAt(r+2)],l=w[e.charCodeAt(r+3)],c[i++]=a<<2|o>>4,c[i++]=(15&o)<<4|s>>2,c[i++]=(3&s)<<6|63&l;return u})(e),t):{base64:!0,data:e},S=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer;function A(e){return e.reduce((e,t)=>e+t.length,0)}function k(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function N(e){if(e){var t=e;for(var n in N.prototype)t[n]=N.prototype[n];return t}}N.prototype.on=N.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},N.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},N.prototype.off=N.prototype.removeListener=N.prototype.removeAllListeners=N.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},N.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},N.prototype.emitReserved=N.prototype.emit,N.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},N.prototype.hasListeners=function(e){return!!this.listeners(e).length};let P="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),I="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function T(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}let O=I.setTimeout,L=I.clearTimeout;function M(e,t){t.useNativeTimers?(e.setTimeoutFn=O.bind(I),e.clearTimeoutFn=L.bind(I)):(e.setTimeoutFn=I.setTimeout.bind(I),e.clearTimeoutFn=I.clearTimeout.bind(I))}function D(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class j extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class _ extends N{constructor(e){super(),this.writable=!1,M(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new j(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=C(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return -1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){let t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}class R extends _{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}
16doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)};((e,t)=>{let n=e.split("\x1e"),r=[];for(let e=0;e<n.length;e++){let i=C(n[e],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach(t),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{let n=e.length,r=Array(n),i=0;e.forEach((e,a)=>{g(e,!1,e=>{r[a]=e,++i===n&&t(r.join("\x1e"))})})})(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=D()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let F=!1;try{F="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}let z=F;function B(){}class V extends R{constructor(e){if(super(e),"undefined"!=typeof location){let t="https:"===location.protocol,n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class U extends N{constructor(e,t,n){super(),this.createRequest=e,M(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var e;let t=T(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let e in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this._opts.extraHeaders[e])}catch(e){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null==(e=this._opts.cookieJar)||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null==(e=this._opts.cookieJar)||e.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}"undefined"!=typeof document&&(this._index=U.requestsCount++,U.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=B,e)try{this._xhr.abort()}catch(e){}"undefined"!=typeof document&&delete U.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function q(){for(let e in U.requests)U.requests.hasOwnProperty(e)&&U.requests[e].abort()}U.requestsCount=0,U.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",q):"function"==typeof addEventListener&&addEventListener("onpagehide"in I?"pagehide":"unload",q,!1));let H=function(){let e=W({xdomain:!1});return e&&null!==e.responseType}();class Z extends V{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=H&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new U(W,this.uri(),e)}}function W(e){let t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||z))return new XMLHttpRequest}catch(e){}if(!t)try{return new I[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}let G="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class $ extends _{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,n=G?{}:T(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved("error",e)}
16this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;g(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(e){}r&&P(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=D()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}let K=I.WebSocket||I.MozWebSocket;class Y extends ${createSocket(e,t,n){return G?new K(e,t,n):t?new K(e,t):new K(e)}doWrite(e,t){this.ws.send(t)}}class X extends _{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=function(e,t){i||(i=new TextDecoder);let n=[],r=0,a=-1,o=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(0===r){if(1>A(n))break;let e=k(n,1);o=(128&e[0])==128,r=(a=127&e[0])<126?3:126===a?1:2}else if(1===r){if(2>A(n))break;let e=k(n,2);a=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(8>A(n))break;let e=k(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>2097151){l.enqueue(h);break}a=0x100000000*i+t.getUint32(4),r=3}else{if(A(n)<a)break;let e=k(n,a);l.enqueue(C(o?e:i.decode(e),t)),r=0}if(0===a||a>e){l.enqueue(h);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),a=new TransformStream({transform(e,t){var n;n=n=>{let r,i=n.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let e=new DataView((r=new Uint8Array(3)).buffer);e.setUint8(0,126),e.setUint16(1,i)}else{let e=new DataView((r=new Uint8Array(9)).buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)},f&&e.data instanceof Blob?e.data.arrayBuffer().then(y).then(n):p&&(e.data instanceof ArrayBuffer||m(e.data))?n(y(e.data)):g(e,!1,e=>{r||(r=new TextEncoder),n(r.encode(e))})}});a.readable.pipeTo(e.writable),this._writer=a.writable.getWriter();let o=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),o())}).catch(e=>{})};o();let s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&P(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null==(e=this._transport)||e.close()}}let Q={websocket:Y,webtransport:X,polling:Z},J=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ee=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function et(e){if(e.length>8e3)throw"URI too long";let t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=J.exec(e||""),a={},o=14;for(;o--;)a[ee[o]]=i[o]||"";return -1!=n&&-1!=r&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){let n=t.replace(/\/{2,9}/g,"/").split("/");return("/"==t.slice(0,1)||0===t.length)&&n.splice(0,1),"/"==t.slice(-1)&&n.splice(n.length-1,1),n}(0,a.path),a.queryKey=function(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,r){t&&(n[t]=r)}),n}(0,a.query),a}let en="function"==typeof addEventListener&&"function"==typeof removeEventListener,er=[];en&&addEventListener("offline",()=>
vendor: 1,397 bytes, line 16
16{er.forEach(e=>e())},!1);class ei extends N{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){let n=et(e);t.hostname=n.host,t.secure="https"===n.protocol||"wss"===n.protocol,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=et(t.host).host);M(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");
16t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),en&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},er.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let e=this.opts.rememberUpgrade&&ei.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",ei.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let t=Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n&&(e+="string"==typeof n?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size))),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,P(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(ei.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),en&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=er.indexOf(this._offlineEventListener);-1!==e&&er.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}ei.protocol=4;class ea extends ei{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;ei.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;ei.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{n||"closed"!==this.readyState&&(u(),this.setTransport(t),t.send([{type:"upgrade"}
16]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function i(){n||(n=!0,u(),t.close(),t=null)}let a=e=>{let n=Error("probe error: "+e);n.transport=t.name,i(),this.emitReserved("upgradeError",n)};function o(){a("transport closed")}function s(){a("socket closed")}function l(e){t&&e.name!==t.name&&i()}let u=()=>{t.removeListener("open",r),t.removeListener("error",a),t.removeListener("close",o),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",a),t.once("close",o),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}class eo extends ea{constructor(e,t={}){let n="object"==typeof e?e:t;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(e=>Q[e]).filter(e=>!!e)),super(e,n)}}eo.protocol;let es="function"==typeof ArrayBuffer,el=Object.prototype.toString,eu="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===el.call(Blob),ec="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===el.call(File);function ed(e){return es&&(e instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer))||eu&&e instanceof Blob||ec&&e instanceof File}let eh=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ef=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(a||(a={}));class ep{constructor(e){this.replacer=e}encode(e){return(e.type===a.EVENT||e.type===a.ACK)&&function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if(ed(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1==arguments.length)return e(t.toJSON(),!0);for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return!0;return!1}(e)?this.encodeAsBinary({type:e.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===a.BINARY_EVENT||e.type===a.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=function(e){let t=[],n=e.data;return e.data=function e(t,n){if(!t)return t;if(ed(t)){let e={_placeholder:!0,num:n.length};return n.push(t),e}if(Array.isArray(t)){let r=Array(t.length);for(let i=0;i<t.length;i++)r[i]=e(t[i],n);return r}if("object"==typeof t&&!(t instanceof Date)){let r={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=e(t[i],n));return r}return t}(n,t),e.attachments=t.length,{packet:e,buffers:t}}(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}function em(e){return"[object Object]"===Object.prototype.toString.call(e)}class eg extends N{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let n=(t=this.decodeString(e)).type===a.BINARY_EVENT;n||t.type===a.BINARY_ACK?(t.type=n?a.EVENT:a.ACK,this.reconstructor=new ev(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(ed(e)||e.base64)if(this.reconstructor)(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+e)}decodeString(e){let t=0,n={type:Number(e.charAt(0))};if(void 0===a[n.type])throw Error("unknown packet type "+n.type);if(n.type===a.BINARY_EVENT||n.type===a.BINARY_ACK){let r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);let i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw Error("Illegal attachments");n.attachments=Number(i)}if("/"===e.charAt(t+1)){let r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);
16n.nsp=e.substring(r,t)}else n.nsp="/";let r=e.charAt(t+1);if(""!==r&&Number(r)==r){let r=t+1;for(;++t;){let n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){let r=this.tryParse(e.substr(t));if(eg.isPayloadValid(n.type,r))n.data=r;else throw Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case a.CONNECT:return em(t);case a.DISCONNECT:return void 0===t;case a.CONNECT_ERROR:return"string"==typeof t||em(t);case a.EVENT:case a.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===eh.indexOf(t[0]));case a.ACK:case a.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ev{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t,n;let e=(t=this.reconPack,n=this.buffers,t.data=function e(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw Error("illegal attachments")}if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(let r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=e(t[r],n));return t}(t.data,n),delete t.attachments,t);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ey(e,t,n){return e.on(t,n),function(){e.off(t,n)}}let eb=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class ew extends N{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[ey(e,"open",this.onopen.bind(this)),ey(e,"packet",this.onpacket.bind(this)),ey(e,"error",this.onerror.bind(this)),ey(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,r,i;if(eb.hasOwnProperty(e))throw Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let o={type:a.EVENT,data:t};if(o.options={},o.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){let e=this.ids++,n=t.pop();this._registerAckCallback(e,n),o.id=e}let s=null==(r=null==(n=this.io.engine)?void 0:n.transport)?void 0:r.writable,l=this.connected&&!(null==(i=this.io.engine)?void 0:i._hasPingExpired());return this.flags.volatile&&!s||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var n;let r=null!=(n=this.flags.timeout)?n:this._opts.ackTimeout;if(void 0===r){this.acks[e]=t;return}let i=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error("operation has timed out"))},r),a=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};a.withError=!0,this.acks[e]=a}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>{if(n===this._queue[0])return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()}),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;let t=this._queue[0];(!t.pending||e)&&(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:a.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}
16_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case a.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.EVENT:case a.BINARY_EVENT:this.onevent(e);break;case a.ACK:case a.BINARY_ACK:this.onack(e);break;case a.DISCONNECT:this.ondisconnect();break;case a.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){let t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length)for(let t of this._anyListeners.slice())t.apply(this,e);super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:a.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:a.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let t of this._anyOutgoingListeners.slice())t.apply(this,e.data)}}function ex(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}ex.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(1&Math.floor(10*t))==0?e-n:e+n}return 0|Math.min(e,this.max)},ex.prototype.reset=function(){this.attempts=0},ex.prototype.setMin=function(e){this.ms=e},ex.prototype.setMax=function(e){this.max=e},ex.prototype.setJitter=function(e){this.jitter=e};class eC extends N{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,M(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(n=t.randomizationFactor)?n:.5),this.backoff=new ex({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;let r=t.parser||o;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null==(t=this.backoff)||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null==(t=this.backoff)||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null==(t=this.backoff)||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new eo(this.uri,this.opts);let t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let r=ey(t,"open",function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},a=ey(t,"error",i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error("timeout")),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(ey(e,"ping",this.onping.bind(this)),ey(e,"data",this.ondata.bind(this)),ey(e,"error",this.onerror.bind(this)),ey(e,"close",this.onclose.bind(this)),ey(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){P(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new ew(this,e,t),this.nsps[e]=n),n}_destroy(e){for(let e of Object.keys(this.nsps))if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;
16n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),null==(n=this.engine)||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{!e.skipReconnect&&(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}let eE={};function eS(e,t){let n;"object"==typeof e&&(t=e,e=void 0);let r=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=et(e)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),i=r.source,a=r.id,o=r.path,s=eE[a]&&o in eE[a].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?n=new eC(i,t):(eE[a]||(eE[a]=new eC(i,t)),n=eE[a]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(eS,{Manager:eC,Socket:ew,io:eS,connect:eS});var eA=n(37890),ek=n(92351);let eN=(0,u.createContext)({socket:null,isConnected:!1,sendMessage:()=>{},subscribe:()=>()=>{}}),eP=()=>(0,u.useContext)(eN),eI=e=>{let{children:t}=e,{user:n,isAuthenticated:r}=(0,eA.u)(),i=(0,u.useRef)(null),[a,o]=(0,u.useState)(!1),c=(0,u.useRef)(!1),d=(0,u.useRef)(0),h=(0,u.useRef)(null),f=(0,u.useRef)(null),p=(0,u.useRef)(n),m=(0,u.useRef)(r);(0,u.useEffect)(()=>{p.current=n,m.current=r},[n,r]);let g=(0,u.useCallback)(()=>{f.current&&(f.current.abort(),f.current=null),c.current=!1,h.current&&(clearTimeout(h.current),h.current=null),i.current&&(i.current.disconnect(),i.current=null),o(!1)},[]),v=(0,u.useCallback)(async()=>{var e;let t=p.current;if(!t||!m.current||c.current||(null==(e=i.current)?void 0:e.connected))return;i.current&&(i.current.disconnect(),i.current=null),c.current=!0;let n=new AbortController;f.current=n;try{let{wsToken:e}=await (0,l.EOc)();if(n.signal.aborted)return;let r=eS(ek.A.API_HOST,{transports:["websocket"],query:{connectId:t.connectId},auth:{token:e},withCredentials:!0,reconnection:!1});i.current=r,r.on("connect",()=>{d.current=0,o(!0)}),r.on("disconnect",()=>{if(o(!1),i.current=null,d.current<5){let e=1e3*Math.pow(2,d.current);d.current+=1,h.current=setTimeout(()=>{c.current=!1,v()},e)}}),r.on("connect_error",()=>{var e;if(null==(e=i.current)||e.disconnect(),i.current=null,d.current<5){let e=1e3*Math.pow(2,d.current);d.current+=1,h.current=setTimeout(()=>{c.current=!1,v()},e)}})}catch(e){if(console.error("Failed to establish WebSocket connection:",e),i.current=null,d.current<5){let e=1e3*Math.pow(2,d.current);d.current+=1,h.current=setTimeout(()=>{c.current=!1,v()},e)}}finally{c.current=!1}},[]);return(0,u.useEffect)(()=>{if(!n||!r){g(),d.current=0;return}return v(),()=>{g(),d.current=0}},[n,r,v,g]),(0,s.jsx)(eN.Provider,{value:{socket:i.current,isConnected:a,sendMessage:(e,t,n)=>{i.current&&i.current.emit(e,t,n)},subscribe:(e,t)=>(i.current?i.current.on(e,t):console.warn("Socket is not initialized. Cannot subscribe to event: ".concat(e)),()=>{i.current&&i.current.off(e,t)})},children:t})}}
16,27133:(e,t,n)=>{"use strict";e.exports=n(85596)},27288:(e,t,n)=>{var r=n(86347);e.exports=n(43862)(r)},27420:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(20444)),i=n(72756);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},27423:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r,i=n(81705),a=n(55729);let o=null!=(r=a.useInsertionEffect)?r:i.N;function s(e){let t=(0,a.useRef)(null);return o(()=>{t.current=e},[e]),(0,a.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},27555:(e,t,n)=>{"use strict";n.d(t,{lg:()=>v,qW:()=>h,bL:()=>g});var r,i=n(55729),a=n(25269),o=n(19639),s=n(40041),l=n(9613),u=n(6029),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:g,onInteractOutside:v,onDismiss:y,...b}=e,w=i.useContext(d),[x,C]=i.useState(null),E=x?.ownerDocument??globalThis?.document,[,S]=i.useState({}),A=(0,s.s)(t,e=>C(e)),k=Array.from(w.layers),[N]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),P=k.indexOf(N),I=x?k.indexOf(x):-1,T=w.layersWithOutsidePointerEventsDisabled.size>0,O=I>=P,L=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){m("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...w.branches].some(e=>e.contains(t));O&&!n&&(f?.(e),v?.(e),e.defaultPrevented||y?.())},E),M=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&m("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(g?.(e),v?.(e),e.defaultPrevented||y?.())},E);return!function(e,t=globalThis?.document){let n=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{I===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},E),i.useEffect(()=>{if(x)return n&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),p(),()=>{n&&1===w.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=r)}},[x,E,n,w]),i.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,w]),i.useEffect(()=>{let e=()=>S({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(o.sG.div,{...b,ref:A,style:{pointerEvents:T?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.mK)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,a.mK)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,a.mK)(e.onPointerDownCapture,L.onPointerDownCapture)})});h.displayName="DismissableLayer";var f=i.forwardRef((e,t)=>{let n=i.useContext(d),r=i.useRef(null),a=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(o.sG.div,{...e,ref:a})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.hO)(i,a):i.dispatchEvent(a)}f.displayName="DismissableLayerBranch";var g=h,v=f},27780:(e,t,n)=>{"use strict";n.d(t,{L3:()=>V,UC:()=>en,VY:()=>ei,ZL:()=>ee,bL:()=>Q,bm:()=>ea,hE:()=>er,hJ:()=>et,l9:()=>J,rr:()=>q});
16var r=n(55729),i=n(25269),a=n(40041),o=n(99829),s=n(67913),l=n(16697),u=n(27555),c=n(41679),d=n(61486),h=n(78749),f=n(19639),p=n(74249),m=n(22703),g=n(20184),v=n(97628),y=n(6029),b="Dialog",[w,x]=(0,o.A)(b),[C,E]=w(b),S=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:u=!0}=e,c=r.useRef(null),d=r.useRef(null),[h,f]=(0,l.i)({prop:i,defaultProp:a??!1,onChange:o,caller:b});return(0,y.jsx)(C,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:h,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:u,children:n})};S.displayName=b;var A="DialogTrigger",k=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=E(A,n),s=(0,a.s)(t,o.triggerRef);return(0,y.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":W(o.open),...r,ref:s,onClick:(0,i.mK)(e.onClick,o.onOpenToggle)})});k.displayName=A;var N="DialogPortal",[P,I]=w(N,{forceMount:void 0}),T=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:a}=e,o=E(N,t);return(0,y.jsx)(P,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,y.jsx)(h.C,{present:n||o.open,children:(0,y.jsx)(d.Z,{asChild:!0,container:a,children:e})}))})};T.displayName=N;var O="DialogOverlay",L=r.forwardRef((e,t)=>{let n=I(O,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=E(O,e.__scopeDialog);return a.modal?(0,y.jsx)(h.C,{present:r||a.open,children:(0,y.jsx)(D,{...i,ref:t})}):null});L.displayName=O;var M=(0,v.TL)("DialogOverlay.RemoveScroll"),D=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=E(O,n);return(0,y.jsx)(m.A,{as:M,allowPinchZoom:!0,shards:[i.contentRef],children:(0,y.jsx)(f.sG.div,{"data-state":W(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),j="DialogContent",_=r.forwardRef((e,t)=>{let n=I(j,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=E(j,e.__scopeDialog);return(0,y.jsx)(h.C,{present:r||a.open,children:a.modal?(0,y.jsx)(R,{...i,ref:t}):(0,y.jsx)(F,{...i,ref:t})})});_.displayName=j;var R=r.forwardRef((e,t)=>{let n=E(j,e.__scopeDialog),o=r.useRef(null),s=(0,a.s)(t,n.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,g.Eq)(e)},[]),(0,y.jsx)(z,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,t)=>{let n=E(j,e.__scopeDialog),i=r.useRef(!1),a=r.useRef(!1);return(0,y.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),z=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...l}=e,d=E(j,n),h=r.useRef(null),f=(0,a.s)(t,h);return(0,p.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s,children:(0,y.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":W(d.open),...l,ref:f,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Y,{titleId:d.titleId}),(0,y.jsx)(X,{contentRef:h,descriptionId:d.descriptionId})]})]})}),B="DialogTitle",V=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=E(B,n);return(0,y.jsx)(f.sG.h2,{id:i.titleId,...r,ref:t})});V.displayName=B;var U="DialogDescription",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=E(U,n);return(0,y.jsx)(f.sG.p,{id:i.descriptionId,...r,ref:t})});q.displayName=U;var H="DialogClose",Z=r.forwardRef((e,t)=>
16{let{__scopeDialog:n,...r}=e,a=E(H,n);return(0,y.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>a.onOpenChange(!1))})});function W(e){return e?"open":"closed"}Z.displayName=H;var G="DialogTitleWarning",[$,K]=(0,o.q)(G,{contentName:j,titleName:B,docsSlug:"dialog"}),Y=({titleId:e})=>{let t=K(G),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
17
18If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
19
20For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},X=({contentRef:e,descriptionId:t})=>{let n=K("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},Q=S,J=k,ee=T,et=L,en=_,er=V,ei=q,ea=Z},28220:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),o=r.forwardRef((e,t)=>
20r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="WarningIcon";let s=o},28321:(e,t,n)=>{"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(85765),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28340:(e,t,n)=>{var r=n(33573),i=n(48039),a=n(3619),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&i(e.length)&&!!o[r(e)]}},28392:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<f;++h)if(t=arguments[h],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(p&&i&&(o(i)||(u=a(i)))?(u?(u=!1,c=r&&a(r)?r:[]):c=r&&o(r)?r:{},s(d,{name:n,newValue:e(p,c,i)})):void 0!==i&&s(d,{name:n,newValue:i}));return d}},28469:(e,t,n)=>{var r=n(28617),i=n(87567);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var a=t[n],o=e[a];t[n]=[a,o,r(o)]}return t}},28617:(e,t,n)=>{var r=n(23356);e.exports=function(e){return e==e&&!r(e)}},29090:(e,t,n)=>{var r=n(22926),i=n(98501),a=n(82694);e.exports=function(e,t,n,o,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var v=e[p],y=t[p];if(o)var b=u?o(y,v,p,t,e,l):o(v,y,p,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!i(t,function(e,t){if(!a(g,t)&&(v===e||s(v,e,n,o,l)))return g.push(t)})){m=!1;break}}else if(!(v===y||s(v,y,n,o,l))){m=!1;break}}return l.delete(e),l.delete(t),m}},29561:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(58309).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},29624:(e,t,n)=>{"use strict";n.d(t,{f:()=>ed,A:()=>eh});var r=n(6029),i=n(73492),a=n(1660),o=n(73848),s=n(39794),l=n(34245),u=n(65403),c=n(24928),d=n(58309);let h=(0,d.A)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]),f=(0,d.A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var p=n(55729),m=n(17325),g=n(52789),v=n(28220),y=n(23319),b=n(93251),w=n(16932),x=n(66310),C=n(59018),E=n.n(C),S=n(82203),A=n.n(S),k=n(81278),N=n(1909),P=n(72579),I=n(37890),T=n(61924),O=n(81198);let L=(0,p.createContext)(void 0);function M(){let e=(0,p.useContext)(L);if(!e)throw Error("useEventFormsContext must be used within an EventFormsProvider");return e}function D(e){let{children:t}=e,[n,a]=(0,p.useState)({}),{mutateAsync:o}=(0,i.sSM)(),s=(0,p.useCallback)((e,t)=>{a(n=>({...n,[e]:t}))},[]),l=(0,p.useCallback)(e=>n[e],[n]),u=(0,p.useCallback)(e=>e in n,[n]),c=(0,p.useCallback)(e=>{e?a(t=>{let{[e]:n,...r}=t;return r}):a({})},[]),d=(0,p.useCallback)(e=>{a(t=>{if(0===Object.keys(t).filter(t=>!e.has(t)).length)return t;let n={};for(let r of Object.keys(t))e.has(r)&&(n[r]=t[r]);return n})},[]),h=(0,p.useCallback)(async e=>{let t=Object.keys(n).filter(t=>e.includes(n[t].eventId)).map(e=>o({data:n[e]}));await Promise.all(t)},[o,n]);return(0,r.jsx)(L.Provider,{value:{formAnswers:n,saveFormAnswers:s,getFormAnswers:l,clearFormAnswers:c,cleanOrphanedFormAnswers:d,submitStoredForms:h,hasStoredAnswers:u},children:t})}var j=n(4516),_=n(32337),R=n(59359),F=n(64713),z=n(58718),B=n(76710),V=n(56061),U=n(90198),q=n(831),H=n.n(q),Z=n(46360);let W=function(e){var t,n,a,o;let{transactionForm:s,discountCodeForm:l,cart:d,organisersMapping:h,structuresMapping:f,isPaid:g,onApplyDiscountCode:v,onRemoveDiscountCode:y,isApplyingDiscount:b}=e,{data:w}=(0,i.gEv)(),x=void 0===w||!!(null==w?void 0:w.isGuestCheckout),[C,E]=(0,p.useState)(!0),S=(null!=(o=null==d||null==(t=d.appliedDiscountCodes)?void 0:t.length)?o:0)>0,A=l.watch("discountCode"),k=(0,p.useCallback)(()=>{v()},[v]);(0,p.useEffect)(()=>{let e=e=>{"Enter"===e.key&&k()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[k,A]);let N=s.watch("organisers"),P=s.watch("structures"),I=l.register("discountCode"),T=s.watch("email"),O=s.watch("firstName"),L=s.watch("lastName");return(0,p.useEffect)(()=>
20{if(!x)return void Z.qk.forEach(e=>{s.clearErrors(e)});let e=Z.Uc.safeParse({email:null!=T?T:"",firstName:null!=O?O:"",lastName:null!=L?L:""}),t=new Map;e.success||e.error.issues.forEach(e=>{let n=e.path[0];("email"===n||"firstName"===n||"lastName"===n)&&t.set(n,e.message)}),Z.qk.forEach(e=>{var n;let r=t.get(e),i=null==(n=s.getFieldState(e).error)?void 0:n.message;if(!r){i&&s.clearErrors(e);return}i!==r&&s.setError(e,{message:r})})},[T,O,L,x,s]),(0,p.useEffect)(()=>{x&&w&&[["email",w.email],["firstName",w.firstName],["lastName",w.lastName]].forEach(e=>{let[t,n]=e;n&&(s.getValues(t)||s.setValue(t,n,{shouldDirty:!1,shouldTouch:!1,shouldValidate:!1}))})},[x,s,w]),(0,p.useEffect)(()=>{if(!x||!g||!C)return;let e=s.getValues("address.firstName"),t=s.getValues("address.lastName");O&&e!==O&&s.setValue("address.firstName",O,{shouldDirty:!0,shouldValidate:!0}),L&&t!==L&&s.setValue("address.lastName",L,{shouldDirty:!0,shouldValidate:!0})},[x,g,C,O,L,s]),(0,r.jsxs)("div",{className:"flex flex-col gap-4 overflow-y-auto",children:[g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex grow flex-col gap-2 rounded-lg bg-white p-6",children:[(0,r.jsx)("p",{className:"font-bold",children:"Codes promos"}),(0,r.jsxs)("div",{className:"flex w-full max-w-sm items-center space-x-2",children:[(0,r.jsx)(_.p,{placeholder:"Code",...I,onChange:e=>{I.onChange(e),""===e.target.value&&l.clearErrors("discountCode")}}),(0,r.jsx)(u.$,{onClick:k,disabled:b,children:"Valider"})]}),(null==(n=l.formState.errors.discountCode)?void 0:n.message)&&(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2 py-1",children:[(0,r.jsx)(c.A,{className:"float-left size-4 self-start text-red-500"}),(0,r.jsx)("p",{className:"text-center text-xs font-semibold text-red-500",children:null==(a=l.formState.errors.discountCode)?void 0:a.message})]}),d&&d.appliedDiscountCodes.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:H()(d.appliedDiscountCodes,"code").map(e=>(0,r.jsxs)("div",{className:"inline-flex w-fit flex-wrap items-center whitespace-nowrap rounded-lg border py-[2px] pl-[9px] pr-1 text-sm",children:["Code#",e.code,(0,r.jsx)("button",{onClick:()=>y(e.code),className:"ml-2",children:(0,r.jsx)(R.B,{name:"close",alt:"fermer",className:"size-4"})})]},e.id))})]}
20),(0,r.jsxs)("div",{className:"flex grow flex-col gap-4 rounded-lg bg-white p-6",children:[(0,r.jsx)("p",{className:"font-bold",children:"Mode de paiement"}),(0,r.jsxs)("div",{className:"flex select-none items-center gap-2 rounded-lg border px-4 py-3",children:[(0,r.jsx)(j.BF,{width:20,height:20}),(0,r.jsx)("span",{className:"text-sm",children:"Carte bancaire"})]})]})]}):null,(0,r.jsx)("div",{className:"flex grow flex-col gap-2 rounded-lg bg-white p-6",children:(0,r.jsxs)(F.lV,{...s,children:[x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"font-bold",children:"Identit\xe9"}),(0,r.jsx)(z.Z,{control:s.control,name:"email",label:"Email",placeholder:"Email",type:"email",disabled:S}),S&&(0,r.jsx)("p",{className:"text-xs text-gray-500",children:"Retirez le code promo pour modifier votre email."}),(0,r.jsx)(z.Z,{control:s.control,name:"lastName",label:"Nom",placeholder:"Nom",type:"text"}),(0,r.jsx)(z.Z,{control:s.control,name:"firstName",label:"Pr\xe9nom",placeholder:"Pr\xe9nom",type:"text"})]}):null,g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"font-bold",children:"Facturation"}),x&&(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,r.jsx)(U.S,{id:"useSameNameForBilling",checked:C,onCheckedChange:e=>E(!0===e)}),(0,r.jsx)("label",{htmlFor:"useSameNameForBilling",className:"cursor-pointer",children:"Utiliser le m\xeame nom et pr\xe9nom pour la facturation"})]}),(!x||!C)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z.Z,{control:s.control,name:"address.lastName",label:"Nom",placeholder:"Nom",type:"text"}),(0,r.jsx)(z.Z,{control:s.control,name:"address.firstName",label:"Pr\xe9nom",placeholder:"Pr\xe9nom",type:"text"})]}),(0,r.jsx)(z.Z,{control:s.control,name:"address.address1",label:"Adresse postale",className:"grow",placeholder:"Adresse"}),(0,r.jsx)(z.Z,{control:s.control,name:"address.address2",label:"Compl\xe9ment d'adresse",className:"grow",placeholder:"Compl\xe9ment d'adresse"}),(0,r.jsxs)("div",{className:"flex w-full grow items-end gap-2",children:[(0,r.jsx)(z.Z,{control:s.control,name:"address.city",className:"grow",label:"Ville",placeholder:"Ville"}),(0,r.jsx)(z.Z,{control:s.control,name:"address.zipCode",className:"grow",label:"Code Postal",placeholder:"Code Postal"})]}),(0,r.jsx)(B.F,{control:s.control,name:"address.countryCode",label:"Pays",items:m.$TD.map(e=>({value:e["country-code"],label:e.name}))})]}):null,(0,r.jsx)(V.c,{control:s.control,name:"acceptedTerms",className:"mt-2",checkboxClassNames:s.getFieldState("acceptedTerms").error?"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background rounded-[5px] ring-1 focus-visible:ring-offset-1":void 0,labelClassName:"text-sm",labelContent:(0,r.jsxs)("p",{children:["J'ai lu et j'accepte les"," ",(0,r.jsx)("a",{href:"/cgv",className:"text-blue-400 underline",target:"_blank",children:"conditions g\xe9n\xe9rales de vente"}),x&&(0,r.jsxs)(r.Fragment,{children:[", les"," ",(0,r.jsx)("a",{href:"/cgu",className:"text-blue-400 underline",target:"_blank",children:"conditions g\xe9n\xe9rales d'utilisation"})]})," ","et j'ai pris connaissance de la"," ",(0,r.jsx)("a",{className:"text-blue-400 underline",href:"/politique-de-confidentialite",target:"_blank",children:"politique de confidentialit\xe9"})," ","de Connect'Events"]})}),N&&(null==N?void 0:N.map((e,t)=>{let n=null==h?void 0:h.get(e.id);return n?(0,r.jsx)(V.c,{control:s.control,name:"organisers.".concat(t,".hasConsented"),className:"mt-2",labelClassName:"text-sm",labelContent:(0,r.jsxs)("p",{children:["En cochant cette case, j'accepte de recevoir des offres promotionnelles par courrier \xe9lectronique de la part de ",n.name," et que mes donn\xe9es personnelles soient collect\xe9es \xe0 cette fin."]})},e.id):null})),P&&(null==P?void 0:P.map((e,t)=>{let n=null==f?void 0:f.get(e.id);return n?(0,r.jsx)(V.c,{control:s.control,name:"structures.".concat(t,".hasConsented"),className:"mt-2",labelClassName:"text-sm",labelContent:(0,r.jsxs)("p",{children:["En cochant cette case, j'accepte de recevoir des offres promotionnelles par courrier \xe9lectronique de la part de ",n.name," et que mes donn\xe9es personnelles soient collect\xe9es \xe0 cette fin."]})},e.id):null}))]})})]})};var G=n(11636),$=n(78573),K=n(62883),Y=n(11211);let X=new Map([["bold",p.createElement(p.Fragment,null,p.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",p.createElement(p.Fragment,null,p.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),p.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",p.createElement(p.Fragment,null,p.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",p.createElement(p.Fragment,null,p.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",p.createElement(p.Fragment,null,p.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",p.createElement(p.Fragment,null,p.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Q=p.forwardRef((e,t)=>
20p.createElement(Y.A,{ref:t,...e,weights:X}));Q.displayName="CaretDownIcon";var J=n(55648);let ee=e=>{let{question:t,control:n,index:i,eventId:a}=e,{field:o,fieldState:s}=(0,N.as)({control:n,name:"answers.".concat(i,".answerList")}),l=o.value||[];return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("p",{className:"text-sm text-gray-600",children:[t.theme," : ",t.question]}),(0,r.jsx)(J.a,{selectedIds:l,onConfirm:e=>{o.onChange(e)},eventId:a,children:(0,r.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between rounded-lg border border-gray-200 bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,r.jsx)("span",{className:"flex-1 truncate text-sm text-gray-700",children:(0,m.qDl)(l.length,"S\xe9lectionner vos centres d'int\xe9r\xeat")}),(0,r.jsx)(Q,{size:20,className:"text-gray-400"})]})}),s.error&&(0,r.jsx)("p",{className:"text-sm text-red-500",children:s.error.message})]})},et=[{value:"listed-and-contacted",label:"Appara\xeetre dans la liste des inscrits et pouvoir \xeatre contact\xe9 par des exposants de mon secteur d'activit\xe9"},{value:"listed-only",label:"Appara\xeetre dans la liste des inscrits"},{value:"not-listed",label:"Ne pas appara\xeetre dans la liste des inscrits"}];function en(e){var t,n;let{ticketForms:a,onBack:o,onComplete:s}=e,[l,c]=(0,p.useState)(0),[d,h]=(0,p.useState)(new Set),f=a[l],v=a.length,b=l===v-1,{saveFormAnswers:w,hasStoredAnswers:x,getFormAnswers:C}=M(),E=(0,N.mN)({resolver:(0,g.u)(i.lNd),defaultValues:{...i.xAe,eventId:(null==f?void 0:f.eventId)||""}}),{control:S,handleSubmit:A,reset:k,setValue:P,watch:I}=E,T=I("wantsToAppearInRegisteredList"),O=I("wantsExhibitorContact"),L=(t=null!=T&&T,n=null!=O&&O,t&&n?"listed-and-contacted":t?"listed-only":"not-listed"),D=(0,p.useCallback)(e=>{P("wantsToAppearInRegisteredList","not-listed"!==e),P("wantsExhibitorContact","listed-and-contacted"===e)},[P]),{interestQuestionData:_,otherQuestions:R,otherQuestionsFieldIndices:z}=(0,p.useMemo)(()=>{let e=(null==f?void 0:f.questions)||[],t=e.findIndex(e=>e.question.id===m.aOS),n=e.map((e,t)=>({question:e,originalIndex:t})).filter(e=>e.question.question.id!==m.aOS);return{interestQuestionData:t>=0?{question:e[t],index:t}:null,otherQuestions:n.map(e=>e.question),otherQuestionsFieldIndices:n.map(e=>e.originalIndex)}},[null==f?void 0:f.questions]),B=e=>{h(t=>new Set(t).add(e))};(0,p.useEffect)(()=>{var e,t;if(!f)return;let n=f.ticketId,r=C(n),i=r?r.answers:f.questions.map(e=>({questionId:e.question.id,answer:"",answerList:[]})),a=f.eventType===y.EventType.professionalFair;k({eventId:f.eventId,answers:i,wantsToAppearInRegisteredList:null!=(e=null==r?void 0:r.wantsToAppearInRegisteredList)?e:a,wantsExhibitorContact:null!=(t=null==r?void 0:r.wantsExhibitorContact)?t:a}),x(n)&&B(n)},[f,k,x,C]);let V=e=>{if(!f)return;let t=f.ticketId;w(t,e),B(t),b?s():c(e=>e+1)};return f?(0,r.jsxs)("div",{className:"flex h-full flex-col",children:[(0,r.jsx)("div",{className:"flex items-center justify-between border-b p-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{onClick:()=>{l>0?c(e=>e-1):o()},children:(0,r.jsx)(j.A6,{width:20,height:20})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm text-gray-600",children:v>1?"Billet ".concat(l+1," sur ").concat(v):"Formulaire"}),(0,r.jsx)("h3",{className:"font-semibold",children:f.eventName}),(0,r.jsx)("p",{className:"text-xs text-gray-500",children:f.ticketName})]})]})}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto p-4",children:(0,r.jsx)(F.lV,{...E,children:(0,r.jsxs)("form",{onSubmit:A(V),className:"space-y-4",children:[_&&(0,r.jsx)(ee,{question:_.question.question,control:S,index:_.index,eventId:f.eventId}),R.length>0&&(0,r.jsx)(G.A,{eventFormQuestionsOnEvent:R,control:S,isReadOnly:!1,fieldIndices:z}),f.eventType===y.EventType.professionalFair&&(0,r.jsxs)($.z,{value:L,onValueChange:D,className:"flex flex-col gap-3",children:[(0,r.jsx)("p",{className:"text-sm font-medium",children:"Gestion de mes donn\xe9es personnelles"}),et.map(e=>(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)($.C,{value:e.value,id:"consent-".concat(e.value),className:"mt-0.5"}),(0,r.jsx)(K.J,{htmlFor:"consent-".concat(e.value),className:"text-sm font-normal leading-snug",children:e.label})]},e.value))]})]})})}),(0,r.jsx)("div",{className:"flex-[0.1] border-t p-4",children:(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(u.$,{type:"submit",variant:"blue",onClick:A(V),children:b?"Terminer":"Suivant"})})}),v>1&&(0,r.jsxs)("div",{className:"border-t p-4",children:[(0,r.jsx)("div",{className:"flex space-x-2",children:a.map((e,t)=>{var n;return(0,r.jsx)("div",{className:"h-2 flex-1 rounded ".concat((n=e.ticketId,d.has(n)?"bg-green-500":t===l?"bg-blue-500":"bg-gray-200"))},e.ticketId)})}),(0,r.jsxs)("p",{className:"mt-2 text-center text-xs text-gray-600",children:[d.size," sur ",v," formulaires compl\xe9t\xe9s"]})]})]}):null}var er=n(21841);function ei(e){var t,n,i,a,o,l,u,c,d,h,f,p,g,v,y,b,w,x,C,E,S;let{item:A,errors:k,formatPrice:N,incrementItem:P,decrementItem:I,removeItem:T,getItemFinalPricing:O,baseQuantities:L}=e,M=A.pricing,D=(0,m.KBx)(null!=(h=null==(t=M.price)?void 0:t.priceTTC)?h:0),_=O(A.key),R=null!=(f=null==_?void 0:_.quantity)?f:1,F=(null!=(p=null==_?void 0:_.degressiveDiscountAmount)?p:0)/R,z=(0,m.KBx)((null!=(g=null==(n=M.price)?void 0:n.priceTTC)?g:0)-F),B=F>0,V=null!=(y=null!=(v=null==(i=A.buyableItem.ticketType)?void 0:i.name)?v:null==(a=A.buyableItem.badgeType)?void 0:a.name)?y:"",U=null!=(w=null!=(b=null==(o=A.buyableItem.ticketType)?void 0:o.quantityLeft)?b:null==(l=A.buyableItem.badgeType)?void 0:l.quantityLeft)?w:null,q=null!=(C=null!=(x=null==(u=A.buyableItem.ticketType)?void 0:u.groupMinSize)?x:null==(c=A.buyableItem.badgeType)?void 0:c.groupMinSize)?C:null,H=k.length>0,Z=null!=(E=k[0])?E:null,W=A.quantity<=0||null!==q&&q>=A.quantity||Z===er.G1Z||Z===er.PaK,G=null!=(S=null==(d=A.buyableItem.ticketType)?void 0:d.buyingLimitForUserType)?S:null,$=H||null!==U&&U<=A.quantity||null!==G&&A.quantity>=G;return(0,r.jsxs)("div",{className:"mb-4 grid grid-cols-[1fr_max-content] items-center justify-between gap-y-2 rounded-lg border bg-white px-4 py-3",children:[(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("div",{className:"flex flex-col gap-1",children:(0,r.jsx)("p",{className:"text-base font-bold",children:V})}),(0,r.jsx)("div",{className:"pt-3",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{onClick:()=>I(A.key),disabled:W,children:(0,r.jsx)(j.Kf,{width:26,height:26,fill:W?"#98A2B3":"#287BB9"})}),(0,r.jsx)("span",{className:"text-center text-base font-bold",children:A.quantity}),(0,r.jsx)("button",{onClick:()=>P(A.key),disabled:$,children:(0,r.jsx)(j.GY,{width:24,height:24,fill:$?"#98A2B3":"#287BB9"})})]})})]}),(0,r.jsxs)("div",{className:"flex flex-col items-end",children:[(0,r.jsx)("button",{className:"mb-4",onClick:()=>T(A.key),children:(0,r.jsx)(j.uc,{width:24,height:24,fill:"#F04438"})}),(0,r.jsxs)("p",{className:"mt-2 font-bold",children:[B&&(0,r.jsx)("span",{className:"mr-2",children:N(z)}),(0,r.jsx)("span",{className:(0,s.cn)(B&&"text-xs text-gray-500 line-through"),children:N(D)})]}),B&&(0,r.jsxs)("span",{className:"text-right text-[10px] leading-none text-gray-500",children:["Prix du billet suivant apr\xe8s",(0,r.jsx)("br",{}),"application de la d\xe9gressivit\xe9"]})]}),Z&&(0,r.jsxs)("p",{className:"col-span-full text-sm text-red-500",children:[Z,(Z===er.hH3||Z===er.MhE)&&(0,r.jsxs)("span",{children:[" (reste ",U,")"]})]})]},A.key)}let ea=function(e){let{cartItems:t,getErrors:n}=e,i=t.filter(e=>"ticket"===e.buyableItem.buyableType),a=t.filter(e=>"badge"===e.buyableItem.buyableType),o=e=>0===e?"Gratuit":"".concat(e.toFixed(2),"€");return(0,r.jsx)(r.Fragment,{children:0===i.length&&0===a.length?(0,r.jsxs)("div",{className:"flex h-full flex-col items-center justify-center text-center",children:[(0,r.jsx)(j.UH,{width:24,height:24,fill:"#98A2B3"}),(0,r.jsx)("p",{className:"text-gray-500",children:"Aucun article dans votre panier"})]}):(0,r.jsxs)("div",{className:"flex-1 overflow-auto p-4",children:[i.map(t=>(0,r.jsx)(ei,{item:t,errors:n(t.key),formatPrice:o,...e},t.key)),a.map(t=>(0,r.jsx)(ei,{item:t,errors:n(t.key),formatPrice:o,...e},t.key))]})})};function eo(e){let{warning:t}=e;return(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-lg bg-orange-50 p-3",children:[(0,r.jsx)(v.N,{color:"orange",size:20,className:"shrink-0"}),(0,r.jsx)("p",{className:"text-sm font-medium text-orange-700",children:t})]})}function es(e){let{cartOrder:t,hasError:n,isMobile:i,onClose:a}=e,l=(0,k.useRouter)(),u=t.status===y.OrderStatus.success,c=()=>{a(),l.push("/profile/mes-billets")};return(0,r.jsx)(o.XW,{className:"mt-auto border-t p-4 pb-0",children:(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[(0,r.jsx)("div",{className:"flex w-full items-center justify-center gap-2",children:u&&(0,r.jsx)("button",{disabled:n,onClick:c,className:(0,s.cn)("rounded-lg border border-blue-500 px-9 py-[10px] text-base font-semibold text-blue-500 disabled:bg-gray-300",{"px-4":i}),children:"Voir mes billets"})}),u&&!n&&(0,r.jsxs)("p",{className:"text-center text-xs text-gray-600",children:["Retrouvez vos factures dans la page"," ",(0,r.jsx)(A(),{href:"/profile/mes-billets",onClick:c,className:"text-blue-500",children:"Mes billets"})]})]})})}function el(e){let{isBelowMinimum:t,minimumCardPaymentWarning:n,cartDiscount:i,cartDiscountedTotal:a,hasError:l,isAwaitingUserData:u,isMobile:c,isPaidCheckout:d,onCheckout:h}=e;return(0,r.jsxs)(o.XW,{className:"mt-auto flex flex-col gap-2 border-t p-4 pb-0",children:[t&&(0,r.jsx)(eo,{warning:n}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsxs)("p",{className:"text-2xl font-bold",children:[(null!=i?i:0)>0&&(0,r.jsx)("span",{className:"text-sm text-gray-500 line-through",children:"".concat((a+(null!=i?i:0)).toFixed(2),"€")}
20),(0,r.jsx)("span",{children:" ".concat(a.toFixed(2),"€")})]}),(0,r.jsx)("p",{className:"text-sm font-medium text-gray-500",children:"TOTAL"})]}),(0,r.jsx)("button",{disabled:l||u||t,onClick:h,className:(0,s.cn)("rounded-lg bg-blue-500 py-[10px] font-semibold text-white disabled:bg-gray-300 md:px-4",{"px-[10px] text-sm":c,"text-base":!c}),children:u?"V\xe9rification...":c?(0,r.jsxs)(r.Fragment,{children:["Commander"," ",d?(0,r.jsxs)(r.Fragment,{children:["avec obligation ",(0,r.jsx)("br",{})," de paiement"]}):null]}):"Commander".concat(d?" avec obligation de paiement":"")})]})]})}function eu(e){let{isBelowMinimum:t,minimumCardPaymentWarning:n,discount:i,total:a,hasError:s,onValidate:l,activityWarning:u}=e;return(0,r.jsxs)(o.XW,{className:"mt-auto flex flex-col gap-2 border-t p-4 pb-0",children:[t&&(0,r.jsx)(eo,{warning:n}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsxs)("p",{className:"text-2xl font-bold",children:[i>0&&(0,r.jsx)("span",{className:"text-sm text-gray-500 line-through",children:"".concat((a+i).toFixed(2),"€")}),(0,r.jsx)("span",{children:" ".concat(a.toFixed(2),"€")})]}),(0,r.jsx)("p",{className:"text-sm font-medium text-gray-500",children:"TOTAL"})]}),(0,r.jsx)("button",{disabled:s||t,onClick:l,className:"rounded-lg bg-blue-500 px-9 py-[10px] text-base font-semibold text-white disabled:bg-gray-300",children:"Valider mon panier"})]}),u]})}function ec(){var e,t;let n=(0,s.al)(),c=(0,b.jE)(),{isOpen:d,cartOrder:h,toggleCart:f,updateCartOrder:C}=(0,O.B)(),[S,A]=(0,p.useState)(!1),[L,D]=(0,p.useState)(!1),[_,R]=(0,p.useState)(!1),[F,z]=(0,p.useState)(!1),[B,V]=(0,p.useState)(!1),{submitStoredForms:U,clearFormAnswers:q,cleanOrphanedFormAnswers:H}=M(),{data:G,isLoading:$,refetch:K}=(0,i.gEv)(),{user:Y,isAuthenticated:X}=(0,I.u)(),{mutateAsync:Q}=(0,i.qdU)(),{mutateAsync:J}=(0,i.Imk)("store"),{mutate:ee}=(0,i.lOo)(),{mutate:et}=(0,i.ybg)(),{mutateAsync:er}=(0,i.s5h)(),{mutateAsync:ei}=(0,w.n)({mutationFn:i.DDM}),{mutateAsync:eo}=(0,w.n)({mutationFn:i.$Q9}),{toast:ec}=(0,l.dj)(),eh=(0,a.kZ)({basketType:"store",isAuthenticated:X}),{cart:ef,totalPricing:ep,baseCartHasError:em,forceMutate:eg,setOrderRedirect:ev,hasItems:ey,isSynced:eb,cartItems:ew}=eh,ex=ep.total+(null!=(e=ep.codeDiscount)?e:0),eC=null!=(t=ep.degressiveDiscount)?t:0,eE=(0,k.useRouter)(),eS=ep.discount,eA=ep.total,ek=!!Y&&$,eN=(0,m.KBx)(m.Pc2),eP=ex>0&&ex<eN,eI="Le montant minimum pour un paiement par carte est de 1 €.",{organiserIds:eT,structureIds:eO,organisersMapping:eL,structuresMapping:eM}=function(e){let{cart:t}=e,{organisersMapping:n,structuresMapping:r}=(0,p.useMemo)(()=>{var e;let n=new Map,r=new Map;return null==t||null==(e=t.basketItem)||e.forEach(e=>{let t=e.buyableItem,i=null==t?void 0:t.ticketType;if(null==i?void 0:i.event){let{event:e,activity:t}=i,{organiser:a}=e,o=n.get(a.id);if(t&&t.structure){let{structure:e}=t;if(!r.get(e.id)&&e&&e.admin){let{admin:t}=e,n=t.businessName||(0,m.mG7)({firstName:t.firstName,lastName:t.lastName});r.set(e.id,{id:e.id,name:n})}}else if(!o&&a){let{admin:e}=a,t=e.businessName||(0,m.mG7)({firstName:e.firstName,lastName:e.lastName});n.set(a.id,{id:a.id,name:t})}}}),{organisersMapping:n,structuresMapping:r}},[null==t?void 0:t.basketItem]),i=Array.from(new Set([...Array.from(n.values()).map(e=>e.name),...Array.from(r.values()).map(e=>e.name)])).join(", ");return{profesionnalNames:i,organiserIds:(0,p.useMemo)(()=>Array.from(n.keys()),[n]),structureIds:(0,p.useMemo)(()=>Array.from(r.keys()),[r]),organisersMapping:n,structuresMapping:r}}({cart:ef}),{data:eD}=(0,i.pPh)(eT,eO),ej=(null==G?void 0:G.id)!==void 0&&((null==eD?void 0:eD.some(e=>!e.hasConsented))||!eD||0===eD.length),e_=(0,p.useMemo)(()=>({basketId:null==ef?void 0:ef.id}),[null==ef?void 0:ef.id]),eR=(0,N.mN)({resolver:(0,g.u)(i.yHQ),defaultValues:e_}),eF=(0,p.useMemo)(()=>((e,t,n,r,i)=>{var a,o,s,l,u,c,d,h;let f=(e,t)=>E()(e).reduce((e,r)=>{var i;return(null==n||null==(i=n.find(e=>e[t]===r))?void 0:i.hasConsented)?e=e.filter(e=>e.id!==r):e.push({id:r,hasConsented:!1}),e},[]),p={acceptedTerms:!1,organisers:f(r,"organiserId"),structures:f(i,"structureId")},m=(null==e?void 0:e.isGuestCheckout)?{email:null!=(a=e.email)?a:"",firstName:null!=(o=e.firstName)?o:"",lastName:null!=(s=e.lastName)?s:""}:{};return e&&0!==t?{address:{firstName:null!=(l=e.firstName)?l:"",lastName:null!=(u=e.lastName)?u:"",address1:null!=(c=e.address)?c:"",zipCode:null!=(d=e.zipCode)?d:"",city:null!=(h=e.city)?h:"",countryCode:"250"},...p,...m}:{...p,...m}})(G,ex,eD,eT,eO),[eD,ex,G,eT,eO]),ez=(0,N.mN)({resolver:(0,g.u)(i.awg.extend({address:i.awg.shape.address.omit({businessName:!0})}
20)),defaultValues:eF});(0,p.useEffect)(()=>{ez.formState.isDirty||ez.reset(eF)},[eF]),(0,p.useEffect)(()=>{(null==ef?void 0:ef.id)&&eR.reset(e_)},[null==ef?void 0:ef.id,e_]),(0,p.useEffect)(()=>{d||(A(!1),D(!1),R(!1),z(!1))},[d]);let{data:eB}=(0,i.qTi)(),eV=(0,p.useMemo)(()=>{if(0===ew.length)return[];let e=new Set;return ew.forEach(t=>{var n,r,i,a;let o=t.buyableItem;(null==o||null==(r=o.ticketType)||null==(n=r.event)?void 0:n.id)&&e.add(o.ticketType.event.id),(null==o||null==(a=o.badgeType)||null==(i=a.event)?void 0:i.id)&&e.add(o.badgeType.event.id)}),Array.from(e)},[ew]),{data:eU}=(0,i.tKx)(eV),eq=(0,p.useMemo)(()=>{if(!eU||0===ew.length)return[];let e=e=>{var t,n,r,i,a,o;return(null==(r=e.buyableItem)||null==(n=r.ticketType)||null==(t=n.event)?void 0:t.id)||(null==(o=e.buyableItem)||null==(a=o.badgeType)||null==(i=a.event)?void 0:i.id)};return ew.filter(t=>{var n,r;let i=e(t);if(!i||(null==(r=t.buyableItem)||null==(n=r.ticketType)?void 0:n.activityId))return!1;let a=eU[i];return a&&a.questions.length>0}).map((t,n)=>{var r,i;let a=t.buyableItem,o=e(t),s=eU[o],l=(null==a||null==(r=a.ticketType)?void 0:r.name)||(null==a||null==(i=a.badgeType)?void 0:i.name)||"";return{ticketId:t.key,eventId:o,eventName:s.eventName,ticketName:l,ticketIndex:n+1,organiserId:s.organiserId,eventType:s.eventType,questions:s.questions}})},[eU,ew]),eH=eq.length;function eZ(){(null==h?void 0:h.status)===y.OrderStatus.success&&(A(!1),R(!1),C(null)),f(!1),eg()}(0,p.useEffect)(()=>{H(new Set(eq.map(e=>e.ticketId)))},[eq,H]);let eW=(0,p.useCallback)(()=>{em||(eH>0?R(!0):(D(ex>0),A(!0)))},[em,eH,ex]);(0,p.useEffect)(()=>{Y&&F&&z(!1)},[Y,F]);let eG=async()=>{var e,t,n,r;let i={email:null!=(e=ez.getValues("email"))?e:"",firstName:null!=(t=ez.getValues("firstName"))?t:"",lastName:null!=(n=ez.getValues("lastName"))?n:""},o=!!(null==G?void 0:G.isGuestCheckout)&&(null==G?void 0:G.email)!==i.email;if(!(!Y||o))return null!=(r=null==ef?void 0:ef.id)?r:null;let s=Z.Uc.safeParse(i);if(!s.success){let e=new Map;return s.error.issues.forEach(t=>{let n=t.path[0];("email"===n||"firstName"===n||"lastName"===n)&&e.set(n,t.message)}),Z.qk.forEach(t=>{let n=e.get(t);n&&ez.setError(t,{message:n})}),eR.setError("discountCode",{message:"Renseignez votre email, votre nom et votre pr\xe9nom dans la section Identit\xe9 pour appliquer un code promo."}),null}if(0===ew.length)return null;try{await Q(i),await K();let e=await J({type:"store",items:ew.map(e=>({buyableItem:e.buyableItem,quantity:e.quantity}))});return(0,a.u2)("store"),e.basket.id}catch(e){return ec({title:"Erreur",description:(0,m.u1b)(e,"Une erreur est survenue lors de la cr\xe9ation du compte invit\xe9.")}),null}},e$=async()=>{if(!await eR.trigger("discountCode"))return;let e=eR.getValues("discountCode");V(!0);try{let t=await eG();if(!t)return;let n=await ei({basketId:t,discountCode:e});n.length>0&&ec({description:n.map(e=>e.replacedCodesMessage).join("\n"),duration:5e3}),c.invalidateQueries({queryKey:i.f9K.get("store")}),eR.setValue("discountCode",""),eR.clearErrors("discountCode")}catch(e){eR.setError("discountCode",{message:(0,m.u1b)(e,"Une erreur est survenue, le code n'a pas pu \xeatre appliqu\xe9")})}finally{V(!1)}},eK=async e=>{if(!ef)return;let t=ef.appliedDiscountCodes.filter(t=>t.code===e);try{await Promise.all(t.map(e=>eo({discountCodeId:e.id,basketId:ef.id}))),c.invalidateQueries({queryKey:i.f9K.get("store")}),eR.clearErrors("discountCode")}catch(e){eR.setError("discountCode",{message:(0,m.u1b)(e,"Une erreur est survenue, le code n'a pas pu \xeatre retir\xe9")})}},eY=async()=>{let e=await J({type:"store",items:ew.map(e=>({buyableItem:e.buyableItem,quantity:e.quantity}))});return(0,a.u2)("store"),{id:e.basket.id,finalPrice:e.basket.finalPrice}},eX=e=>{var t;if(!(0,x.F0)(e)){ec({title:"Erreur",description:"Une erreur est survenue."}),c.invalidateQueries({queryKey:i.f9K.get("store")});return}let n=null==(t=e.response)?void 0:t.data;if((null==n?void 0:n.basketErrors)&&ec({title:"Erreur",description:"Des tickets ne sont plus disponibles dans la quantit\xe9 souhait\xe9e."}),null==n?void 0:n.discountError){let{previousPrice:e,newPrice:t}=n.discountError;ec({title:"Erreur",description:e!==t?"Le prix de votre panier a chang\xe9 (diff\xe9rence de ".concat(((e-t)/100).toFixed(2),"€). Veuillez v\xe9rifier votre commande."):"Un ou plusieurs codes promos ont expir\xe9 ou ne sont plus disponibles."})}c.invalidateQueries({queryKey:i.f9K.get("store")})},eQ=async(e,t)=>{var n;let r=ez.getValues().address,o={orderId:e,address:(null!=(n=null==r?void 0:r.address1.length)?n:0)>0?r:void 0,...t?{email:ez.getValues("email"),firstName:ez.getValues("firstName"),lastName:ez.getValues("lastName")}:{}},s=await er(o);try{await U(eV)}catch(e){console.error("Error submitting event forms:",e)}if(!s.shouldPay){if(c.invalidateQueries({queryKey:i.f9K.get("store")}),t){(0,a.u2)("store"),f(!1),q(),ev(eE.asPath),eE.push("/guest/after-purchase?orderId=".concat(e));return}A(!1),C(s.data),q(),f(!0);return}ev(eE.asPath),(0,Z.NP)(s.data)},eJ=async()=>{var e,t,n;if(ek)return;let r={email:null!=(e=ez.getValues("email"))?e:"",firstName:null!=(t=ez.getValues("firstName"))?t:"",lastName:null!=(n=ez.getValues("lastName"))?n:""},i=!Y,a=(null==G?void 0:G.isGuestCheckout)&&G.email!==r.email,o=i||a;if(o&&!(e=>{let t=Z.Uc.safeParse(e),n=new Map;
20return t.success||t.error.issues.forEach(e=>{let t=e.path[0];("email"===t||"firstName"===t||"lastName"===t)&&n.set(t,e.message)}),Z.qk.forEach(e=>{let t=n.get(e);if(!t){ez.getFieldState(e).error&&ez.clearErrors(e);return}ez.setError(e,{message:t})}),t.success})(r))return;let s=!L||await ez.trigger("address"),l=await ez.trigger("acceptedTerms");if(!s||!l)return;let u=null;if(o)try{await Q(r),ew.length>0&&(u=await eY())}catch(e){ec({title:"Erreur",description:(0,m.u1b)(e,"Une erreur est survenue lors de la cr\xe9ation du compte invit\xe9.")});return}let c=o||!!(null==G?void 0:G.isGuestCheckout);if(!u&&c&&ew.length>0&&(!(null==ef?void 0:ef.id)||!X))try{u=await eY()}catch(e){ec({title:"Erreur",description:(0,m.u1b)(e,"Erreur lors de la synchronisation du panier.")});return}let d=null!=u?u:ef;if(!d)return;let h=()=>{var e;return ee({basketId:d.id,displayedPrice:null!=(e=null==u?void 0:u.finalPrice)?e:(0,m.Ek_)(ep.total)},{onSuccess:async e=>{let{id:t}=e;return eQ(t,c)},onError:eX})};(null==G?void 0:G.id)&&ej?et({organisers:ez.getValues().organisers,structures:ez.getValues().structures},{onSuccess:()=>h(),onError:()=>{ec({title:"Erreur",description:"Une erreur est survenue."})}}):h()};return(0,r.jsx)(o.cj,{open:d,onOpenChange:e=>!e&&eZ(),children:(0,r.jsxs)(o.h,{className:(0,s.cn)("flex w-full flex-col bg-gray-50 md:max-w-lg",{"px-0":n}),children:[(0,r.jsxs)(o.Fm,{className:"flex items-center justify-between border-b p-4 pt-0",children:[(0,r.jsx)(o.qp,{children:h?"Statut":F?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{onClick:()=>{z(!1)},children:(0,r.jsx)(j.A6,{width:20,height:20})}),(0,r.jsx)("p",{children:"Finaliser ma commande"})]}):_?"Formulaire".concat(eH>1?"s":""):S?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{onClick:()=>{eH>0&&R(!0),A(!1),D(!1)},children:(0,r.jsx)(j.A6,{width:20,height:20})}),(0,r.jsx)("p",{children:L?"Paiement":"Confirmation"})]}):"Mon panier"}),(0,r.jsx)(o.kN,{asChild:!0,children:(0,r.jsx)("button",{className:"focus:outline-none",children:(0,r.jsx)(T.R,{name:"close",alt:"close",width:24,height:24})})})]}),h?(0,r.jsx)(ed,{order:h}):F?(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-6 p-6",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Pour finaliser votre commande"}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:"Connectez-vous ou continuez en tant qu'invit\xe9"})]}),(0,r.jsxs)("div",{className:"flex w-full max-w-sm flex-col gap-4",children:[(0,r.jsx)(u.$,{variant:"blue",onClick:()=>{P.A.setModalVisible(!0)},className:"w-full",children:"Se connecter / S'inscrire"}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-gray-300"}),(0,r.jsx)("span",{className:"text-sm text-gray-500",children:"ou"}),(0,r.jsx)("div",{className:"h-px flex-1 bg-gray-300"})]}),(0,r.jsx)(u.$,{variant:"outline",onClick:()=>{z(!1),eW()},className:"w-full",children:"Continuer en tant qu'invit\xe9"})]})]}):_?(0,r.jsx)(en,{ticketForms:eq,onBack:()=>{R(!1)},onComplete:()=>{R(!1),D(ex>0),A(!0)}}):S?(0,r.jsx)(W,{transactionForm:ez,discountCodeForm:eR,cart:ef,organisersMapping:eL,structuresMapping:eM,isPaid:L,onApplyDiscountCode:e$,onRemoveDiscountCode:eK,isApplyingDiscount:B}):(0,r.jsx)(ea,{...eh}),_||F?null:h?(0,r.jsx)(es,{cartOrder:h,hasError:em,isMobile:n,onClose:eZ}):S?(0,r.jsx)(el,{isBelowMinimum:eA>0&&eA<eN,minimumCardPaymentWarning:eI,cartDiscount:eS,cartDiscountedTotal:eA,hasError:em,isAwaitingUserData:ek,isMobile:n,isPaidCheckout:L,onCheckout:eJ}):ey?(0,r.jsx)(eu,{isBelowMinimum:eP,minimumCardPaymentWarning:eI,discount:eC,total:ex,hasError:em,onValidate:function(){let e=()=>{if(!Y)return void z(!0);eW()};if(eb)return void e();eg({onSuccess(){e()}})},activityWarning:(()=>{if(!eB)return null;let e=eB.activityTicketQuantity-eB.eventTicketQuantity;if(!(eB.hasMultipleEvents||e>0))return null;let t=eB.hasMultipleEvents?"ATTENTION, vous avez ajout\xe9 des billets animations dans votre panier. Vous devez \xe9galement ajouter les billets d'entr\xe9es correspondants pour pouvoir acc\xe9der aux \xe9v\xe9nements.":"ATTENTION, vous avez ajout\xe9 ".concat(eB.activityTicketQuantity," ").concat(eB.activityTicketQuantity>1?"billets":"billet"," d'animation dans votre panier. Vous devez \xe9galement ajouter ").concat(e," billet").concat(e>1?"s":""," d'entr\xe9e pour pouvoir acc\xe9der \xe0 l'\xe9v\xe9nement");return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(v.N,{color:"orange",size:24}),(0,r.jsx)("p",{className:"text-xs italic text-gray-500",children:t})]})})()}):null]})})}function ed(e){let{order:t,children:n,disableDescription:i}=e;return(0,r.jsx)("div",{className:"flex flex-1 flex-col items-center justify-center gap-4 overflow-y-auto",children:(0,r.jsxs)("div",{className:"flex w-2/3 flex-col items-center justify-center gap-2 pb-8",children:[t.status===y.OrderStatus.refused?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.A,{size:40,color:"red"}),(0,r.jsx)("h3",{className:"text-center font-semibold",children:"\xc9chec du paiement."}),!i&&(0,r.jsx)("p",{className:"text-center text-sm",children:"Une erreur est survenue et votre commande n'a pas pu \xeatre finalis\xe9e."})]}):t.status===y.OrderStatus.canceled?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h,{size:40,color:"orange"}),(0,r.jsx)("h3",{className:"text-center font-semibold",children:"Abandon de la commande"}),!i&&(0,r.jsx)("p",{className:"text-center text-sm",children:"La commande a \xe9t\xe9 abandonn\xe9e. Vos articles se trouvent toujours dans votre panier."})]}):t.status===y.OrderStatus.error?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h,{size:40,color:"orange"}),(0,r.jsx)("h3",{className:"text-center font-semibold",children:"Erreur lors de la commande"}),(0,r.jsx)("p",{className:"text-center text-sm",children:"Il y a eu une erreur durant votre achat. Merci de nous contacter. Vos articles se trouvent toujours dans votre panier."})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{size:40,color:"green"}),(0,r.jsx)("h3",{className:"text-center font-semibold",children:"Paiement effectu\xe9 !"}),!i&&(0,r.jsx)("p",{className:"text-center text-sm",children:"Retrouvez vos achats dans les onglets correspondants."}),(0,r.jsxs)("p",{className:"text-center text-xs",children:["R\xe9f\xe9rence : ",t.reference]})]}),n]})})}let eh=function(){return(0,r.jsx)(D,{children:(0,r.jsx)(ec,{})})}}
20,29652:(e,t,n)=>{"use strict";n.d(t,{LE:()=>f,eg:()=>u,lR:()=>h,o1:()=>c,yB:()=>d});var r=n(81705),i=n(27423),a=n(83063),o=n(30062),s=n(95752),l=n(55729);function u(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function c(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function d(e){let t=(0,l.useRef)({isFocused:!1,observer:null});(0,r.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,i.J)(t=>{null==e||e(t)});return(0,l.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(u(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let h=!1;function f(e){for(;e&&!(0,a.t)(e);)e=e.parentElement;let t=(0,o.mD)(e),n=t.document.activeElement;if(!n||n===e)return;h=!0;let r=!1,i=e=>{(e.target===n||r)&&e.stopImmediatePropagation()},l=t=>{(t.target===n||r)&&(t.stopImmediatePropagation(),e||r||(r=!0,(0,s.e)(n),d()))},u=t=>{(t.target===e||r)&&t.stopImmediatePropagation()},c=t=>{(t.target===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,(0,s.e)(n),d()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",l,!0),t.addEventListener("focusin",c,!0),t.addEventListener("focus",u,!0);let d=()=>{cancelAnimationFrame(f),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",l,!0),t.removeEventListener("focusin",c,!0),t.removeEventListener("focus",u,!0),h=!1,r=!1},f=requestAnimationFrame(d);return d}},29778:(e,t,n)=>{var r=n(17085),i=n(42209),a=n(91544),o=n(9541),s=n(13920),l=n(43562),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),c=!n&&i(e),d=!n&&!c&&o(e),h=!n&&!c&&!d&&l(e),f=n||c||d||h,p=f?r(e.length,String):[],m=p.length;for(var g in e)(t||u.call(e,g))&&!(f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m)))&&p.push(g);return p}},29794:(e,t,n)=>{var r=n(65517),i=n(91544);e.exports=function(e,t,n){var a=t(e);return i(e)?a:r(a,n(e))}},30062:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>a,TW:()=>r,mD:()=>i});let r=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function a(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},30147:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}},30484:(e,t,n)=>{"use strict";n.d(t,{Hx:()=>d,OB:()=>u,R8:()=>o,TU:()=>p,V7:()=>h,Yz:()=>a,uZ:()=>f,z3:()=>l});var r=n(55729);let i=function(){try{let e="nuqs-localStorage-test";if("undefined"==typeof localStorage)return!1;localStorage.setItem(e,e);let t=localStorage.getItem(e)===e;return localStorage.removeItem(e),t&&(localStorage.getItem("debug")||"").includes("nuqs")}catch{return!1}}();function a(e,...t){if(!i)return;let n=function(e,...t){return e.replace(/%[sfdO]/g,e=>{let n=t.shift();return"%O"===e&&n?JSON.stringify(n).replace(/"([^"]+)":/g,"$1:"):String(n)})}(e,...t);performance.mark(n);try{console.log(e,...t)}catch{console.log(n)}}function o(e,...t){i&&console.warn(e,...t)}let s={303:"Multiple adapter contexts detected. This might happen in monorepos.",404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` (via the %s adapter) was about to load on top.",414:"Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL.",422:"Invalid options combination: `limitUrlUpdates: debounce` should be used in SSR scenarios, with `shallow: false`",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cac
20he. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?"};function l(e){return`[nuqs] ${s[e]}
21  See https://nuqs.dev/NUQS-${e}`}function u(e){if(0===e.size)return"";let t=[];for(let[n,r]of e.entries()){let e=n.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${r.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/[\x00-\x1F]/g,e=>encodeURIComponent(e))}`)}return"?"+t.join("&")}let c=(0,r.createContext)({useAdapter(){throw Error(l(404))}});function d(e){return({children:t,defaultOptions:n,processUrlSearchParams:i,...a})=>(0,r.createElement)(c.Provider,{...a,value:{useAdapter:e,defaultOptions:n,processUrlSearchParams:i}},t)}function h(e){let t=(0,r.useContext)(c);if(!("useAdapter"in t))throw Error(l(404));return t.useAdapter(e)}c.displayName="NuqsAdapterContext",i&&"undefined"!=typeof window&&(window.__NuqsAdapterContext&&window.__NuqsAdapterContext!==c&&console.error(l(303)),window.__NuqsAdapterContext=c);let f=()=>(0,r.useContext)(c).defaultOptions,p=()=>(0,r.useContext)(c).processUrlSearchParams},30535:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouter",{enumerable:!0,get:function(){return a}});let r=n(55729),i=n(11828);function a(){return(0,r.useContext)(i.RouterContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30616:(e,t,n)=>{"use strict";n.d(t,{x:()=>s,c:()=>o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,20A108,108,0,0,0,31.85,177.23L21,209.66A20,20,0,0,0,46.34,235l32.43-10.81A108,108,0,1,0,128,20Zm0,192a84,84,0,0,1-42.06-11.27,12,12,0,0,0-6-1.62,12.1,12.1,0,0,0-3.8.62l-29.79,9.93,9.93-29.79a12,12,0,0,0-1-9.81A84,84,0,1,1,128,212Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,128A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,26A102,102,0,0,0,38.35,176.69L26.73,211.56a14,14,0,0,0,17.71,17.71l34.87-11.62A102,102,0,1,0,128,26Zm0,192a90,90,0,0,1-45.06-12.08,6.09,6.09,0,0,0-3-.81,6.2,6.2,0,0,0-1.9.31L40.65,217.88a2,2,0,0,1-2.53-2.53L50.58,178a6,6,0,0,0-.5-4.91A90,90,0,1,1,128,218Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,28A100,100,0,0,0,40.53,176.5l-11.9,35.69a12,12,0,0,0,15.18,15.18l35.69-11.9A100,100,0,1,0,128,28Zm0,192a92,92,0,0,1-46.07-12.35,4.05,4.05,0,0,0-2-.54,3.93,3.93,0,0,0-1.27.21L41.28,219.78a4,4,0,0,1-5.06-5.06l12.46-37.38a4,4,0,0,0-.33-3.27A92,92,0,1,1,128,220Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="ChatCircleIcon";let s=o},30682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let r=n(30758),i=n(78963),a=n(6029),o=i._(n(55729)),s=r._(n(56760)),l=r._(n(44807)),u=n(23330),c=n(89227),d=n(5533);n(89687);let h=n(11828),f=r._(n(92402)),p=n(91609),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,n,r,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>
21{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function v(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:h,placeholder:f,loading:m,unoptimized:y,fill:b,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:C,setShowAltText:E,sizesInput:S,onLoad:A,onError:k,...N}=e,P=(0,o.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&g(e,f,w,x,C,y,S))},[n,f,w,x,C,k,y,S]),I=(0,p.useMergedRef)(t,P);return(0,a.jsx)("img",{...N,...v(h),loading:m,width:l,height:s,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:I,onLoad:e=>{g(e.currentTarget,f,w,x,C,y,S)},onError:e=>{E(!0),"empty"!==f&&C(!0),k&&k(e)}})});function b(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let w=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(h.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=m||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:i,qualities:a}},[r]),{onLoad:s,onLoadingComplete:l}=e,p=(0,o.useRef)(s);(0,o.useEffect)(()=>{p.current=s},[s]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[v,w]=(0,o.useState)(!1),[x,C]=(0,o.useState)(!1),{props:E,meta:S}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:v,showAltText:x});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{...E,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:C,sizesInput:e.sizes,ref:t}),S.priority?(0,a.jsx)(b,{isAppRouter:!n,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(88846),i=n(65436);function a(e,t,n){let a=(0,i.a)(e,null==n?void 0:n.in),o=a.getFullYear(),s=a.getDate(),l=(0,r.w)((null==n?void 0:n.in)||e,0);l.setFullYear(o,t,15),l.setHours(0,0,0,0);let u=function(e,t){let n=(0,i.a)(e,void 0),a=n.getFullYear(),o=n.getMonth(),s=(0,r.w)(n,0);return s.setFullYear(a,o+1,0),s.setHours(0,0,0,0),s.getDate()}(l);return a.setMonth(t,Math.min(s,u)),a}},31023:(e,t,n)=>{"use strict";n.d(t,{Dn:()=>o,V:()=>h,Vv:()=>a,ex:()=>p,zj:()=>s});var r=n(30484),i=n(55729);let a={method:"throttle",timeMs:function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{let e=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(e[1])>=17?120:320}catch{return 320}}()};function o(e){return null===e||Array.isArray(e)&&0===e.length}function s(){let e=new Map;return{on(t,n){let r=e.get(t)||[];return r.push(n),e.set(t,r),()=>this.off(t,n)},off(t,n){let r=e.get(t);r&&e.set(t,r.filter(e=>e!==n))},emit(t,n){e.get(t)?.forEach(e=>e(n))}}}function l(e,t,n){let r=setTimeout(function(){e(),n.removeEventListener("abort",i)},t);function i(){clearTimeout(r),n.removeEventListener("abort",i)}n.addEventListener("abort",i)}function u(){let e=Promise;if(Promise.hasOwnProperty("withResolvers"))return Promise.withResolvers();let t=()=>{},n=()=>{};return{promise:new e((e,r)=>{t=e,n=r}),resolve:t,reject:n}}function c(){return new URLSearchParams(location.search)}var d=class{updateMap=new Map;options={history:"replace",scroll:!1,shallow:!0};timeMs=a.timeMs;transitions=new Set;resolvers=null;controller=null;lastFlushedAt=0;resetQueueOnNextPush=!1;push({key:e,query:t,options:n},i=a.timeMs){this.resetQueueOnNextPush&&(this.reset(),this.resetQueueOnNextPush=!1),(0,r.Yz)("[nuqs gtq] Enqueueing %s=%s %O",e,t,n),this.updateMap.set(e,t),"push"===n.history&&(this.options.history="push"),n.scroll&&(this.options.scroll=!0),!1===n.shallow&&(this.options.shallow=!1),n.startTransition&&this.transitions.add(n.startTransition),(!Number.isFinite(this.timeMs)||i>this.timeMs)&&(this.timeMs=i)}getQueuedQuery(e){return this.updateMap.get(e)}
21getPendingPromise({getSearchParamsSnapshot:e=c}){return this.resolvers?.promise??Promise.resolve(e())}flush({getSearchParamsSnapshot:e=c,rateLimitFactor:t=1,...n},i){if(this.controller??=new AbortController,!Number.isFinite(this.timeMs))return(0,r.Yz)("[nuqs gtq] Skipping flush due to throttleMs=Infinity"),Promise.resolve(e());if(this.resolvers)return this.resolvers.promise;this.resolvers=u();let a=()=>{this.lastFlushedAt=performance.now();let[t,r]=this.applyPendingUpdates({...n,autoResetQueueOnUpdate:n.autoResetQueueOnUpdate??!0,getSearchParamsSnapshot:e},i);null===r?(this.resolvers.resolve(t),this.resetQueueOnNextPush=!0):this.resolvers.reject(t),this.resolvers=null},o=()=>{let e=performance.now()-this.lastFlushedAt,n=this.timeMs,i=t*Math.max(0,n-e);(0,r.Yz)("[nuqs gtq] Scheduling flush in %f ms. Throttled at %f ms (x%f)",i,n,t),0===i?a():l(a,i,this.controller.signal)};return l(o,0,this.controller.signal),this.resolvers.promise}abort(){return this.controller?.abort(),this.controller=new AbortController,this.resolvers?.resolve(new URLSearchParams),this.resolvers=null,this.reset()}reset(){let e=Array.from(this.updateMap.keys());return(0,r.Yz)("[nuqs gtq] Resetting queue %s",JSON.stringify(Object.fromEntries(this.updateMap))),this.updateMap.clear(),this.transitions.clear(),this.options={history:"replace",scroll:!1,shallow:!0},this.timeMs=a.timeMs,e}applyPendingUpdates(e,t){let{updateUrl:n,getSearchParamsSnapshot:i}=e,a=i();if((0,r.Yz)("[nuqs gtq] Applying %d pending update(s) on top of %s",this.updateMap.size,a.toString()),0===this.updateMap.size)return[a,null];let o=Array.from(this.updateMap.entries()),s={...this.options},l=Array.from(this.transitions);for(let[t,n]of(e.autoResetQueueOnUpdate&&this.reset(),(0,r.Yz)("[nuqs gtq] Flushing queue %O with options %O",o,s),o))null===n?a.delete(t):a=function(e,t,n){if("string"==typeof e)n.set(t,e);else{for(let r of(n.delete(t),e))n.append(t,r);n.has(t)||n.set(t,"")}return n}(n,t,a);t&&(a=t(a));try{return!function(e,t){let n=t;for(let t=e.length-1;t>=0;t--){let r=e[t];if(!r)continue;let i=n;n=()=>r(i)}n()}(l,()=>{n(a,s)}),[a,null]}catch(e){return console.error((0,r.z3)(429),o.map(([e])=>e).join(),e),[a,e]}}};let h=new d;var f=class{callback;resolvers=u();controller=new AbortController;queuedValue=void 0;constructor(e){this.callback=e}abort(){this.controller.abort(),this.queuedValue=void 0}push(e,t){return this.queuedValue=e,this.controller.abort(),this.controller=new AbortController,l(()=>{let t=this.resolvers;try{(0,r.Yz)("[nuqs dq] Flushing debounce queue",e);let n=this.callback(e);(0,r.Yz)("[nuqs dq] Reset debounce queue %O",this.queuedValue),this.queuedValue=void 0,this.resolvers=u(),n.then(e=>t.resolve(e)).catch(e=>t.reject(e))}catch(e){this.queuedValue=void 0,t.reject(e)}},t,this.controller.signal),this.resolvers.promise}};let p=new class{throttleQueue;queues=new Map;queuedQuerySync=s();constructor(e=new d){this.throttleQueue=e}useQueuedQueries(e){return function(e,t,n){let r=(0,i.useCallback)(()=>{let t=Object.fromEntries(e.map(e=>[e,n(e)]));return[JSON.stringify(t),t]},[e.join(","),n]),a=(0,i.useRef)(null);null===a.current&&(a.current=r());let o=(0,i.useCallback)(n=>{let r=e.map(e=>t(e,n));return()=>r.forEach(e=>e())},[e.join(","),t]);return(0,i.useSyncExternalStore)(o,()=>{let[e,t]=r();return a.current[0]===e?a.current[1]:(a.current=[e,t],t)},()=>a.current[1])}(e,(e,t)=>this.queuedQuerySync.on(e,t),e=>this.getQueuedQuery(e))}push(e,t,n){if(!Number.isFinite(t))return Promise.resolve((n.getSearchParamsSnapshot??c)());let i=e.key;if(!this.queues.has(i)){(0,r.Yz)("[nuqs dqc] Creating debounce queue for `%s`",i);let e=new f(e=>(this.throttleQueue.push(e),this.throttleQueue.flush(n).finally(()=>{this.queues.get(e.key)?.queuedValue===void 0&&((0,r.Yz)("[nuqs dqc] Cleaning up empty queue for `%s`",e.key),this.queues.delete(e.key)),this.queuedQuerySync.emit(e.key)})));this.queues.set(i,e)}(0,r.Yz)("[nuqs dqc] Enqueueing debounce update %O",e);let a=this.queues.get(i).push(e,t);return this.queuedQuerySync.emit(i),a}abort(e){let t=this.queues.get(e);return t?((0,r.Yz)("[nuqs dqc] Aborting debounce queue %s=%s",e,t.queuedValue?.query),this.queues.delete(e),t.abort(),this.queuedQuerySync.emit(e),e=>(e.then(t.resolvers.resolve,t.resolvers.reject),e)):e=>e}abortAll(){for(let[e,t]of this.queues.entries())(0,r.Yz)("[nuqs dqc] Aborting debounce queue %s=%s",e,t.queuedValue?.query),t.abort(),t.resolvers.resolve(new URLSearchParams),this.queuedQuerySync.emit(e);this.queues.clear()}getQueuedQuery(e){let t=this.queues.get(e)?.queuedValue?.query;return void 0!==t?t:this.throttleQueue.getQueuedQuery(e)}}(h)},31078:(e,t,n)=>{"use strict";let r;n.d(t,{Ay:()=>ti,z:()=>ti}),function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>
21"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(e9||(e9={})),(e7||(e7={})).mergeShapes=(e,t)=>({...e,...t});let i=e9.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),a=e=>{switch(typeof e){case"undefined":return i.undefined;case"string":return i.string;case"number":return isNaN(e)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":if(Array.isArray(e))return i.array;if(null===e)return i.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return i.promise;if("undefined"!=typeof Map&&e instanceof Map)return i.map;if("undefined"!=typeof Set&&e instanceof Set)return i.set;if("undefined"!=typeof Date&&e instanceof Date)return i.date;return i.object;default:return i.unknown}}
vendor: 4,492 bytes, line 21
21,o=e9.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class s extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof s))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,e9.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}s.create=e=>new s(e);let l=(e,t)=>{let n;switch(e.code){case o.invalid_type:n=e.received===i.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case o.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,e9.jsonStringifyReplacer)}`;break;case o.unrecognized_keys:n=`Unrecognized key(s) in object: ${e9.joinValues(e.keys,", ")}`;break;case o.invalid_union:n="Invalid input";break;case o.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${e9.joinValues(e.options)}`;break;case o.invalid_enum_value:n=`Invalid enum value. Expected ${e9.joinValues(e.options)}, received '${e.received}'`;break;case o.invalid_arguments:n="Invalid function arguments";break;case o.invalid_return_type:n="Invalid function return type";break;case o.invalid_date:n="Invalid date";break;case o.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:e9.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case o.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case o.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case o.custom:n="Invalid input";break;case o.invalid_intersection_types:n="Intersection results could not be merged";break;case o.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case o.not_finite:n="Number must be finite";break;default:n=t.defaultError,e9.assertNever(e)}return{message:n}},u=l;function c(){return u}let d=e=>
21{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function h(e,t){let n=c(),r=d({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===l?void 0:l].filter(e=>!!e)});e.common.issues.push(r)}class f{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return p;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return f.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return p;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let p=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),g=e=>({status:"valid",value:e}),v=e=>"aborted"===e.status,y=e=>"dirty"===e.status,b=e=>"valid"===e.status,w=e=>"undefined"!=typeof Promise&&e instanceof Promise;function x(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function C(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(te||(te={}));class E{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let S=(e,t)=>{if(b(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new s(e.common.issues);return this._error=t,this._error}}};function A(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,o;let{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!=(a=null!=s?s:r)?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!=(o=null!=s?s:n)?o:i.defaultError}},description:i}}class k{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return a(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new f,ctx:{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(w(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!=(n=null==t?void 0:t.async)&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},i=this._parseSync({data:e,path:r.path,parent:r});return S(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},r=this._parse({data:e,path:n.path,parent:n});return S(n,await (w(r)?r:Promise.resolve(r)))}refine(e,t){return this._refinement((n,r)=>{let i=e(n),a=()=>r.addIssue({code:o.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(n):t});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new eg({schema:this,typeName:tr.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ev.create(this,this._def)}nullable(){return ey.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J.create(this,this._def)}promise(){return em.create(this,this._def)}or(e){return et.create([this,e],this._def)}and(e){return ei.create(this,e,this._def)}transform(e){return new eg({...A(this._def),schema:this,typeName:tr.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eb({...A(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:tr.ZodDefault})}brand(){return new eE({typeName:tr.ZodBranded,type:this,...A(this._def)})}catch(e){return new ew({...A(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:tr.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eS.create(this,e)}readonly(){return eA.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let N=/^c[^\s-]{8,}
21$/i,P=/^[0-9a-z]+$/,I=/^[0-9A-HJKMNP-TV-Z]{26}$/,T=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,O=/^[a-z0-9_-]{21}$/i,L=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,M=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,D=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,j=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,_=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,R="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",F=RegExp(`^${R}$`);function z(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function B(e){let t=`${R}T${z(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class V extends k{_parse(e){var t,n;let a;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==i.string){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.string,received:t.parsedType}),p}let s=new f;for(let i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(h(a=this._getOrReturnCtx(e,a),{code:o.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if("max"===i.kind)e.data.length>i.value&&(h(a=this._getOrReturnCtx(e,a),{code:o.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if("length"===i.kind){let t=e.data.length>i.value,n=e.data.length<i.value;(t||n)&&(a=this._getOrReturnCtx(e,a),t?h(a,{code:o.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):n&&h(a,{code:o.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),s.dirty())}else if("email"===i.kind)M.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"email",code:o.invalid_string,message:i.message}),s.dirty());else if("emoji"===i.kind)r||(r=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),r.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"emoji",code:o.invalid_string,message:i.message}),s.dirty());else if("uuid"===i.kind)T.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"uuid",code:o.invalid_string,message:i.message}),s.dirty());else if("nanoid"===i.kind)O.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"nanoid",code:o.invalid_string,message:i.message}),s.dirty());else if("cuid"===i.kind)N.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"cuid",code:o.invalid_string,message:i.message}),s.dirty());else if("cuid2"===i.kind)P.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"cuid2",code:o.invalid_string,message:i.message}),s.dirty());else if("ulid"===i.kind)I.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"ulid",code:o.invalid_string,message:i.message}),s.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(t){h(a=this._getOrReturnCtx(e,a),{validation:"url",code:o.invalid_string,message:i.message}),s.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"regex",code:o.invalid_string,message:i.message}),s.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),s.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{startsWith:i.value},message:i.message}),s.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{endsWith:i.value},message:i.message}),s.dirty()):"datetime"===i.kind?B(i).test(e.data)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"datetime",message:i.message}),s.dirty()):"date"===i.kind?F.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"date",message:i.message}),s.dirty()):"time"===i.kind?RegExp(`^${z(i)}$`).test(e.data)||(h(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"time",message:i.message}),s.dirty()):"duration"===i.kind?L.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"duration",code:o.invalid_string,message:i.message}),s.dirty()):"ip"===i.kind?(t=e.data,!(("v4"===(n=i.version)||!n)&&D.test(t)||("v6"===n||!n)&&j.test(t))&&1&&(h(a=this._getOrReturnCtx(e,a),{validation:"ip",code:o.invalid_string,message:i.message}),s.dirty())):"base64"===i.kind?_.test(e.data)||(h(a=this._getOrReturnCtx(e,a),{validation:"base64",code:o.invalid_string,message:i.message}),s.dirty()):e9.assertNever(i);return{status:s.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:o.invalid_string,...te.errToObj(n)})}_addCheck(e){return new V({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...te.errToObj(e)})}url(e){return this._addCheck({kind:"url",...te.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...te.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...te.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...te.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...te.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...te.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...te.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...te.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...te.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,local:null!=(n=null==e?void 0:e.local)&&n,...te.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...te.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...te.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...te.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...te.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...te.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...te.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...te.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...te.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...te.errToObj(t)})}nonempty(e){return this.min(1,te.errToObj(e))}trim(){return new V({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new V({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new V({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}
21get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}V.create=e=>{var t;return new V({checks:[],typeName:tr.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...A(e)})};class U extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==i.number){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.number,received:t.parsedType}),p}let n=new f;for(let r of this._def.checks)"int"===r.kind?e9.isInteger(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:o.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:o.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:o.not_finite,message:r.message}),n.dirty()):e9.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,te.toString(t))}gt(e,t){return this.setLimit("min",e,!1,te.toString(t))}lte(e,t){return this.setLimit("max",e,!0,te.toString(t))}lt(e,t){return this.setLimit("max",e,!1,te.toString(t))}setLimit(e,t,n,r){return new U({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:te.toString(r)}]})}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:te.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:te.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:te.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:te.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:te.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:te.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:te.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:te.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:te.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&e9.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;else"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}}U.create=e=>new U({checks:[],typeName:tr.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...A(e)});class q extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==i.bigint){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.bigint,received:t.parsedType}),p}let n=new f;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(h(t=this._getOrReturnCtx(e,t),{code:o.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):e9.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,te.toString(t))}gt(e,t){return this.setLimit("min",e,!1,te.toString(t))}lte(e,t){return this.setLimit("max",e,!0,te.toString(t))}lt(e,t){return this.setLimit("max",e,!1,te.toString(t))}setLimit(e,t,n,r){return new q({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:te.toString(r)}]})}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}
21positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:te.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:te.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:te.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:te.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:te.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}q.create=e=>{var t;return new q({checks:[],typeName:tr.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...A(e)})};class H extends k{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==i.boolean){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.boolean,received:t.parsedType}),p}return g(e.data)}}H.create=e=>new H({typeName:tr.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...A(e)});class Z extends k{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==i.date){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.date,received:t.parsedType}),p}if(isNaN(e.data.getTime()))return h(this._getOrReturnCtx(e),{code:o.invalid_date}),p;let n=new f;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(h(t=this._getOrReturnCtx(e,t),{code:o.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):e9.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Z({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:te.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:te.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}Z.create=e=>new Z({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:tr.ZodDate,...A(e)});class W extends k{_parse(e){if(this._getType(e)!==i.symbol){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.symbol,received:t.parsedType}),p}return g(e.data)}}W.create=e=>new W({typeName:tr.ZodSymbol,...A(e)});class G extends k{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.undefined,received:t.parsedType}),p}return g(e.data)}}G.create=e=>new G({typeName:tr.ZodUndefined,...A(e)});class $ extends k{_parse(e){if(this._getType(e)!==i.null){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.null,received:t.parsedType}),p}return g(e.data)}}$.create=e=>new $({typeName:tr.ZodNull,...A(e)});class K extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return g(e.data)}}K.create=e=>new K({typeName:tr.ZodAny,...A(e)});class Y extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return g(e.data)}}Y.create=e=>new Y({typeName:tr.ZodUnknown,...A(e)});class X extends k{_parse(e){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.never,received:t.parsedType}),p}}X.create=e=>new X({typeName:tr.ZodNever,...A(e)});class Q extends k{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.void,received:t.parsedType}),p}return g(e.data)}}Q.create=e=>new Q({typeName:tr.ZodVoid,...A(e)});class J extends k{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==i.array)return h(t,{code:o.invalid_type,expected:i.array,received:t.parsedType}),p;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(h(t,{code:e?o.too_big:o.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(h(t,{code:o.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(h(t,{code:o.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new E(t,e,t.path,n)))).then(e=>f.mergeArray(n,e));let a=[...t.data].map((e,n)=>r.type._parseSync(new E(t,e,t.path,n)));return f.mergeArray(n,a)}
21get element(){return this._def.type}min(e,t){return new J({...this._def,minLength:{value:e,message:te.toString(t)}})}max(e,t){return new J({...this._def,maxLength:{value:e,message:te.toString(t)}})}length(e,t){return new J({...this._def,exactLength:{value:e,message:te.toString(t)}})}nonempty(e){return this.min(1,e)}}J.create=(e,t)=>new J({type:e,minLength:null,maxLength:null,exactLength:null,typeName:tr.ZodArray,...A(t)});class ee extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=e9.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==i.object){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.object,received:t.parsedType}),p}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof X&&"strip"===this._def.unknownKeys))for(let e in n.data)a.includes(e)||s.push(e);let l=[];for(let e of a){let t=r[e],i=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new E(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof X){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)s.length>0&&(h(n,{code:o.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new E(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>f.mergeObjectSync(t,e)):f.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return te.errToObj,new ee({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,a,o;let s=null!=(a=null==(i=(r=this._def).errorMap)?void 0:i.call(r,t,n).message)?a:n.defaultError;return"unrecognized_keys"===t.code?{message:null!=(o=te.errToObj(e).message)?o:s}:{message:s}}}:{}})}strip(){return new ee({...this._def,unknownKeys:"strip"})}passthrough(){return new ee({...this._def,unknownKeys:"passthrough"})}extend(e){return new ee({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ee({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:tr.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ee({...this._def,catchall:e})}pick(e){let t={};return e9.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new ee({...this._def,shape:()=>t})}omit(e){let t={};return e9.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ee({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ee){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=ev.create(e(i))}return new ee({...t._def,shape:()=>n})}if(t instanceof J)return new J({...t._def,type:e(t.element)});if(t instanceof ev)return ev.create(e(t.unwrap()));if(t instanceof ey)return ey.create(e(t.unwrap()));if(t instanceof ea)return ea.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return e9.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new ee({...this._def,shape:()=>t})}required(e){let t={};return e9.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof ev;)e=e._def.innerType;t[n]=e}}),new ee({...this._def,shape:()=>t})}keyof(){return eh(e9.objectKeys(this.shape))}}ee.create=(e,t)=>new ee({shape:()=>e,unknownKeys:"strip",catchall:X.create(),typeName:tr.ZodObject,...A(t)}),ee.strictCreate=(e,t)=>new ee({shape:()=>e,unknownKeys:"strict",catchall:X.create(),typeName:tr.ZodObject,...A(t)}),ee.lazycreate=(e,t)=>new ee({shape:e,unknownKeys:"strip",catchall:X.create(),typeName:tr.ZodObject,...A(t)});class et extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new s(e.ctx.common.issues));return h(t,{code:o.invalid_union,unionErrors:n}),p});{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new s(e));return h(t,{code:o.invalid_union,unionErrors:i}),p}}get options(){return this._def.options}}et.create=(e,t)=>
21new et({options:e,typeName:tr.ZodUnion,...A(t)});let en=e=>{if(e instanceof ec)return en(e.schema);if(e instanceof eg)return en(e.innerType());if(e instanceof ed)return[e.value];if(e instanceof ef)return e.options;if(e instanceof ep)return e9.objectValues(e.enum);else if(e instanceof eb)return en(e._def.innerType);else if(e instanceof G)return[void 0];else if(e instanceof $)return[null];else if(e instanceof ev)return[void 0,...en(e.unwrap())];else if(e instanceof ey)return[null,...en(e.unwrap())];else if(e instanceof eE)return en(e.unwrap());else if(e instanceof eA)return en(e.unwrap());else if(e instanceof ew)return en(e._def.innerType);else return[]};class er extends k{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.object)return h(t,{code:o.invalid_type,expected:i.object,received:t.parsedType}),p;let n=this.discriminator,r=t.data[n],a=this.optionsMap.get(r);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(h(t,{code:o.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),p)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=en(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new er({typeName:tr.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...A(n)})}}class ei extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(v(e)||v(r))return p;let s=function e(t,n){let r=a(t),o=a(n);if(t===n)return{valid:!0,data:t};if(r===i.object&&o===i.object){let r=e9.objectKeys(n),i=e9.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1};a[r]=i.data}return{valid:!0,data:a}}if(r===i.array&&o===i.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let i=0;i<t.length;i++){let a=e(t[i],n[i]);if(!a.valid)return{valid:!1};r.push(a.data)}return{valid:!0,data:r}}if(r===i.date&&o===i.date&&+t==+n)return{valid:!0,data:t};return{valid:!1}}(e.value,r.value);return s.valid?((y(e)||y(r))&&t.dirty(),{status:t.value,value:s.data}):(h(n,{code:o.invalid_intersection_types}),p)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ei.create=(e,t,n)=>new ei({left:e,right:t,typeName:tr.ZodIntersection,...A(n)});class ea extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.array)return h(n,{code:o.invalid_type,expected:i.array,received:n.parsedType}),p;if(n.data.length<this._def.items.length)return h(n,{code:o.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),p;!this._def.rest&&n.data.length>this._def.items.length&&(h(n,{code:o.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new E(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>f.mergeArray(t,e)):f.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new ea({...this._def,rest:e})}}ea.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ea({items:e,typeName:tr.ZodTuple,rest:null,...A(t)})};class eo extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.object)return h(n,{code:o.invalid_type,expected:i.object,received:n.parsedType}),p;let r=[],a=this._def.keyType,s=this._def.valueType;for(let e in n.data)r.push({key:a._parse(new E(n,e,n.path,e)),value:s._parse(new E(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?f.mergeObjectAsync(t,r):f.mergeObjectSync(t,r)}
21get element(){return this._def.valueType}static create(e,t,n){return new eo(t instanceof k?{keyType:e,valueType:t,typeName:tr.ZodRecord,...A(n)}:{keyType:V.create(),valueType:e,typeName:tr.ZodRecord,...A(t)})}}class es extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.map)return h(n,{code:o.invalid_type,expected:i.map,received:n.parsedType}),p;let r=this._def.keyType,a=this._def.valueType,s=[...n.data.entries()].map(([e,t],i)=>({key:r._parse(new E(n,e,n.path,[i,"key"])),value:a._parse(new E(n,t,n.path,[i,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of s){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return p;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of s){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return p;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}es.create=(e,t,n)=>new es({valueType:t,keyType:e,typeName:tr.ZodMap,...A(n)});class el extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==i.set)return h(n,{code:o.invalid_type,expected:i.set,received:n.parsedType}),p;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(h(n,{code:o.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(h(n,{code:o.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let a=this._def.valueType;function s(e){let n=new Set;for(let r of e){if("aborted"===r.status)return p;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>a._parse(new E(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>s(e)):s(l)}min(e,t){return new el({...this._def,minSize:{value:e,message:te.toString(t)}})}max(e,t){return new el({...this._def,maxSize:{value:e,message:te.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}el.create=(e,t)=>new el({valueType:e,minSize:null,maxSize:null,typeName:tr.ZodSet,...A(t)});class eu extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.function)return h(t,{code:o.invalid_type,expected:i.function,received:t.parsedType}),p;function n(e,n){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),l].filter(e=>!!e),issueData:{code:o.invalid_arguments,argumentsError:n}})}function r(e,n){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),l].filter(e=>!!e),issueData:{code:o.invalid_return_type,returnTypeError:n}})}let a={errorMap:t.common.contextualErrorMap},u=t.data;if(this._def.returns instanceof em){let e=this;return g(async function(...t){let i=new s([]),o=await e._def.args.parseAsync(t,a).catch(e=>{throw i.addIssue(n(t,e)),i}),l=await Reflect.apply(u,this,o);return await e._def.returns._def.type.parseAsync(l,a).catch(e=>{throw i.addIssue(r(l,e)),i})})}{let e=this;return g(function(...t){let i=e._def.args.safeParse(t,a);if(!i.success)throw new s([n(t,i.error)]);let o=Reflect.apply(u,this,i.data),l=e._def.returns.safeParse(o,a);if(!l.success)throw new s([r(o,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eu({...this._def,args:ea.create(e).rest(Y.create())})}returns(e){return new eu({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eu({args:e||ea.create([]).rest(Y.create()),returns:t||Y.create(),typeName:tr.ZodFunction,...A(n)})}}class ec extends k{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ec.create=(e,t)=>
21new ec({getter:e,typeName:tr.ZodLazy,...A(t)});class ed extends k{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return h(t,{received:t.data,code:o.invalid_literal,expected:this._def.value}),p}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eh(e,t){return new ef({values:e,typeName:tr.ZodEnum,...A(t)})}ed.create=(e,t)=>new ed({value:e,typeName:tr.ZodLiteral,...A(t)});class ef extends k{constructor(){super(...arguments),tt.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{expected:e9.joinValues(n),received:t.parsedType,code:o.invalid_type}),p}if(x(this,tt,"f")||C(this,tt,new Set(this._def.values),"f"),!x(this,tt,"f").has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{received:t.data,code:o.invalid_enum_value,options:n}),p}return g(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ef.create(e,{...this._def,...t})}exclude(e,t=this._def){return ef.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}tt=new WeakMap,ef.create=eh;class ep extends k{constructor(){super(...arguments),tn.set(this,void 0)}_parse(e){let t=e9.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==i.string&&n.parsedType!==i.number){let e=e9.objectValues(t);return h(n,{expected:e9.joinValues(e),received:n.parsedType,code:o.invalid_type}),p}if(x(this,tn,"f")||C(this,tn,new Set(e9.getValidEnumValues(this._def.values)),"f"),!x(this,tn,"f").has(e.data)){let e=e9.objectValues(t);return h(n,{received:n.data,code:o.invalid_enum_value,options:e}),p}return g(e.data)}get enum(){return this._def.values}}tn=new WeakMap,ep.create=(e,t)=>new ep({values:e,typeName:tr.ZodNativeEnum,...A(t)});class em extends k{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==i.promise&&!1===t.common.async?(h(t,{code:o.invalid_type,expected:i.promise,received:t.parsedType}),p):g((t.parsedType===i.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}em.create=(e,t)=>new em({type:e,typeName:tr.ZodPromise,...A(t)});class eg extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===tr.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{h(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return p;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?p:"dirty"===r.status||"dirty"===t.value?m(r.value):r});{if("aborted"===t.value)return p;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?p:"dirty"===r.status||"dirty"===t.value?m(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?p:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?p:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type)if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>b(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!b(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}e9.assertNever(r)}}
21eg.create=(e,t,n)=>new eg({schema:e,typeName:tr.ZodEffects,effect:t,...A(n)}),eg.createWithPreprocess=(e,t,n)=>new eg({schema:t,effect:{type:"preprocess",transform:e},typeName:tr.ZodEffects,...A(n)});class ev extends k{_parse(e){return this._getType(e)===i.undefined?g(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ev.create=(e,t)=>new ev({innerType:e,typeName:tr.ZodOptional,...A(t)});class ey extends k{_parse(e){return this._getType(e)===i.null?g(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:tr.ZodNullable,...A(t)});class eb extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===i.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eb.create=(e,t)=>new eb({innerType:e,typeName:tr.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...A(t)});class ew extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return w(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new s(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}ew.create=(e,t)=>new ew({innerType:e,typeName:tr.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...A(t)});class ex extends k{_parse(e){if(this._getType(e)!==i.nan){let t=this._getOrReturnCtx(e);return h(t,{code:o.invalid_type,expected:i.nan,received:t.parsedType}),p}return{status:"valid",value:e.data}}}ex.create=e=>new ex({typeName:tr.ZodNaN,...A(e)});let eC=Symbol("zod_brand");class eE extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class eS extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new eS({in:e,out:t,typeName:tr.ZodPipeline})}}class eA extends k{_parse(e){let t=this._def.innerType._parse(e),n=e=>(b(e)&&(e.value=Object.freeze(e.value)),e);return w(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function ek(e,t={},n){return e?K.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null==(o=null!=(a=e.fatal)?a:n)||o,l="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...l,fatal:s})}}):K.create()}eA.create=(e,t)=>new eA({innerType:e,typeName:tr.ZodReadonly,...A(t)});let eN={object:ee.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(tr||(tr={}));let eP=V.create,eI=U.create,eT=ex.create,eO=q.create,eL=H.create,eM=Z.create,eD=W.create,ej=G.create,e_=$.create,eR=K.create,eF=Y.create,ez=X.create,eB=Q.create,eV=J.create,eU=ee.create,eq=ee.strictCreate,eH=et.create,eZ=er.create,eW=ei.create,eG=ea.create,e$=eo.create,eK=es.create,eY=el.create,eX=eu.create,eQ=ec.create,eJ=ed.create,e0=ef.create,e1=ep.create,e2=em.create,e5=eg.create,e4=ev.create,e3=ey.create,e6=eg.createWithPreprocess,e8=eS.create;var e9,e7,te,tt,tn,tr,ti=Object.freeze({__proto__:null,defaultErrorMap:l,setErrorMap:function(e){u=e},getErrorMap:c,makeIssue:d,EMPTY_PATH:[],addIssueToContext:h,ParseStatus:f,INVALID:p,DIRTY:m,OK:g,isAborted:v,isDirty:y,isValid:b,isAsync:w,get util(){return e9},get objectUtil(){return e7},ZodParsedType:i,getParsedType:a,ZodType:k,datetimeRegex:B,ZodString:V,ZodNumber:U,ZodBigInt:q,ZodBoolean:H,ZodDate:Z,ZodSymbol:W,ZodUndefined:G,ZodNull:$,ZodAny:K,ZodUnknown:Y,ZodNever:X,ZodVoid:Q,ZodArray:J,ZodObject:ee,ZodUnion:et,ZodDiscriminatedUnion:er,ZodIntersection:ei,ZodTuple:ea,ZodRecord:eo,ZodMap:es,ZodSet:el,ZodFunction:eu,ZodLazy:ec,ZodLiteral:ed,ZodEnum:ef,ZodNativeEnum:ep,ZodPromise:em,ZodEffects:eg,ZodTransformer:eg,ZodOptional:ev,ZodNullable:ey,ZodDefault:eb,ZodCatch:ew,ZodNaN:ex,BRAND:eC,ZodBranded:eE,ZodPipeline:eS,ZodReadonly:eA,custom:ek,Schema:k,ZodSchema:k,late:eN,get ZodFirstPartyTypeKind(){return tr},coerce:{string:e=>V.create({...e,coerce:!0}),number:e=>U.create({...e,coerce:!0}),boolean:e=>H.create({...e,coerce:!0}),bigint:e=>q.create({...e,coerce:!0}),date:e=>Z.create({...e,coerce:!0})},any:eR,array:eV,bigint:eO,boolean:eL,date:eM,discriminatedUnion:eZ,effect:e5,enum:e0,function:eX,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>ek(t=>t instanceof e,t),intersection:eW,lazy:eQ,literal:eJ,map:eK,nan:eT,nativeEnum:e1,never:ez,null:e_,nullable:e3,number:eI,object:eU,oboolean:()=>eL().optional(),onumber:()=>eI().optional(),optional:e4,ostring:()=>eP().optional(),pipeline:e8,preprocess:e6,promise:e2,record:e$,set:eY,strictObject:eq,string:eP,symbol
21:eD,transformer:e5,tuple:eG,undefined:ej,union:eH,unknown:eF,void:eB,NEVER:p,ZodIssueCode:o,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:s})},31736:(e,t,n)=>{e.exports=n(54703)(n(45516),"Set")},31835:(e,t,n)=>{var r=n(25080),i=n(50025),a=n(66581),o=n(29090),s=n(45852),l=n(48546),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var p=1&r;if(f||(f=l),e.size!=t.size&&!p)break;var m=h.get(e);if(m)return m==t;r|=2,h.set(e,t);var g=o(f(e),f(t),r,u,d,h);return h.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},31838:(e,t)=>{t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=r;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=u}return(f?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,h=5960464477539062e-23*(23===i),f=r?0:a-1,p=r?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[n+f]=255&o,f+=p,o/=256,u-=8);e[n+f-p]|=128*m}},32337:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(6029),i=n(55729),a=n(39794);let o=(0,i.forwardRef)((e,t)=>{let{className:n,type:i,...o}=e;return(0,r.jsx)("input",{type:i,className:(0,a.cn)("border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-normal focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...o})});o.displayName="Input"},32351:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},32933:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(95819),i=n(55729),a=n(5001);let o={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(e){let{children:t,elementType:n="div",isFocusable:s,style:l,...u}=e,{visuallyHiddenProps:c}=function(e={}){let{style:t,isFocusable:n}=e,[r,s]=(0,i.useState)(!1),{focusWithinProps:l}=(0,a.R)({isDisabled:!n,onFocusWithinChange:e=>s(e)}),u=(0,i.useMemo)(()=>r?t:t?{...o,...t}:o,[r]);return{visuallyHiddenProps:{...l,style:u}}}(e);return i.createElement(n,(0,r.v)(u,c),t)}},32988:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}(n)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},33027:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}},33138:e=>{"use strict";var t=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();e.exports=function(e,n,r,i){var a=i+r;e^=-1;for(var o=i;o<a;o++)e=e>>>8^t[(e^n[o])&255];return -1^e}},33276:(e,t,n)=>{var r=n(95149),i=n(37175),a=n(11720),o=n(38684),s=n(35844);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},33481:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(65436);function i(e,t){return+(0,r.a)(e)>+(0,r.a)(t)}},33573:(e,t,n)=>{var r=n(25080),i=n(13574),a=n(23079),o=r?r.toStringTag:void 0;
21e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):a(e)}},33863:e=>{e.exports=function(e){return function(){return e}}},33883:(e,t,n)=>{var r=n(90843);e.exports=function(e,t,n){for(var i=-1,a=e.criteria,o=t.criteria,s=a.length,l=n.length;++i<s;){var u=r(a[i],o[i]);if(u){if(i>=l)return u;return u*("desc"==n[i]?-1:1)}}return e.index-t.index}},33946:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},34024:(e,t,n)=>{var r=n(21248),i=n(87567);e.exports=function(e,t){return e&&r(e,t,i)}},34142:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let a=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var a;let o=(null==(a=e.current.get(r))?void 0:a.fn)||r;t.removeEventListener(n,o,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},34245:(e,t,n)=>{"use strict";n.d(t,{dj:()=>d,oR:()=>c});var r=n(55729);let i=0,a=new Map,o=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),u({type:"REMOVE_TOAST",toastId:e})},5e3);a.set(e,t)},s=[],l={toasts:[]};function u(e){l=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:n}=t;return n?o(n):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||void 0===n?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(l,e),s.forEach(e=>{e(l)})}function c(e){let{variant:t="default",...n}=e,r=(i=(i+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...n,id:r,open:!0,variant:t,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function d(){let[e,t]=r.useState(l);return r.useEffect(()=>(s.push(t),()=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},34359:e=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},34759:(e,t,n)=>{"use strict";n.d(t,{Cf:()=>f,Es:()=>m,HM:()=>d,L3:()=>g,LC:()=>h,c7:()=>p,lG:()=>l,zM:()=>u});var r=n(6029),i=n(27780),a=n(55729),o=n(39794),s=n(59359);let l=i.bL,u=i.l9,c=i.ZL,d=i.bm,h=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(i.hJ,{ref:t,className:(0,o.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/40 backdrop-blur-sm",n),...a}
21)});h.displayName=i.hJ.displayName;let f=a.forwardRef((e,t)=>{let{className:n,overlayClassName:a,children:l,withCloseButton:u=!0,...d}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(h,{className:a}),(0,r.jsxs)(i.UC,{ref:t,className:(0,o.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg","max-h-screen overflow-y-auto",n),...d,children:[l,u&&(0,r.jsx)(i.bm,{className:"absolute right-4 top-4 z-50 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:(0,r.jsx)(s.B,{name:"close",alt:"fermer"})})]})]})});f.displayName=i.UC.displayName;let p=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 sm:text-left",t),...n})};p.displayName="DialogHeader";let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};m.displayName="DialogFooter";let g=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(i.hE,{ref:t,className:(0,o.cn)("text-xl font-extrabold leading-none",n),...a}
21)});g.displayName=i.hE.displayName,a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(i.VY,{ref:t,className:(0,o.cn)("text-muted-foreground text-sm",n),...a})}).displayName=i.VY.displayName},34817:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(88846),i=n(98051),a=n(65436);function o(e,t){let n=(0,a.a)(e,null==t?void 0:t.in),o=n.getFullYear(),s=(0,r.w)(n,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let l=(0,i.b)(s),u=(0,r.w)(n,0);u.setFullYear(o,0,4),u.setHours(0,0,0,0);let c=(0,i.b)(u);return n.getTime()>=l.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}},35003:(e,t,n)=>{var r=n(33863),i=n(36607),a=n(5549),o=Object.prototype.toString;e.exports=i(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=o.call(t)),e[t]=n},r(a))},35077:(e,t,n)=>{"use strict";n.d(t,{AM:()=>q,hl:()=>Z,Wv:()=>H});var r=n(6029),i=n(55729),a=n(25269),o=n(40041),s=n(99829),l=n(27555),u=n(74249),c=n(41679),d=n(67913),h=n(20609),f=n(61486),p=n(78749),m=n(19639),g=n(97628),v=n(16697),y=n(20184),b=n(22703),w="Popover",[x,C]=(0,s.A)(w,[h.Bk]),E=(0,h.Bk)(),[S,A]=x(w),k=e=>{let{__scopePopover:t,children:n,open:a,defaultOpen:o,onOpenChange:s,modal:l=!1}=e,u=E(t),c=i.useRef(null),[f,p]=i.useState(!1),[m,g]=(0,v.i)({prop:a,defaultProp:o??!1,onChange:s,caller:w});return(0,r.jsx)(h.bL,{...u,children:(0,r.jsx)(S,{scope:t,contentId:(0,d.B)(),triggerRef:c,open:m,onOpenChange:g,onOpenToggle:i.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:f,onCustomAnchorAdd:i.useCallback(()=>p(!0),[]),onCustomAnchorRemove:i.useCallback(()=>p(!1),[]),modal:l,children:n})})};k.displayName=w;var N="PopoverAnchor";i.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,o=A(N,n),s=E(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=o;return i.useEffect(()=>(l(),()=>u()),[l,u]),(0,r.jsx)(h.Mz,{...s,...a,ref:t})}).displayName=N;var P="PopoverTrigger",I=i.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,s=A(P,n),l=E(n),u=(0,o.s)(t,s.triggerRef),c=(0,r.jsx)(m.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":V(s.open),...i,ref:u,onClick:(0,a.mK)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?c:(0,r.jsx)(h.Mz,{asChild:!0,...l,children:c})});I.displayName=P;var T="PopoverPortal",[O,L]=x(T,{forceMount:void 0}),M=e=>{let{__scopePopover:t,forceMount:n,children:i,container:a}=e,o=A(T,t);return(0,r.jsx)(O,{scope:t,forceMount:n,children:(0,r.jsx)(p.C,{present:n||o.open,children:(0,r.jsx)(f.Z,{asChild:!0,container:a,children:i})})})};M.displayName=T;var D="PopoverContent",j=i.forwardRef((e,t)=>{let n=L(D,e.__scopePopover),{forceMount:i=n.forceMount,...a}=e,o=A(D,e.__scopePopover);return(0,r.jsx)(p.C,{present:i||o.open,children:o.modal?(0,r.jsx)(R,{...a,ref:t}):(0,r.jsx)(F,{...a,ref:t})})});j.displayName=D;var _=(0,g.TL)("PopoverContent.RemoveScroll"),R=i.forwardRef((e,t)=>{let n=A(D,e.__scopePopover),s=i.useRef(null),l=(0,o.s)(t,s),u=i.useRef(!1);return i.useEffect(()=>{let e=s.current;if(e)return(0,y.Eq)(e)},[]),(0,r.jsx)(b.A,{as:_,allowPinchZoom:!0,children:(0,r.jsx)(z,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),F=i.forwardRef((e,t)=>{let n=A(D,e.__scopePopover),a=i.useRef(!1),o=i.useRef(!1);return(0,r.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),z=i.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:m,...g}=e,v=A(D,n),y=E(n);return(0,u.Oh)(),(0,r.jsx)(c.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,r.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>v.onOpenChange(!1),children:(0,r.jsx)(h.UC,{"data-state":V(v.open),role:"dialog",id:v.contentId,...y,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),B="PopoverClose";function V(e){return e?"open":"closed"}i.forwardRef((e,t)=>
21{let{__scopePopover:n,...i}=e,o=A(B,n);return(0,r.jsx)(m.sG.button,{type:"button",...i,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=B,i.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,a=E(n);return(0,r.jsx)(h.i3,{...a,...i,ref:t})}).displayName="PopoverArrow";var U=n(39794);let q=k,H=I,Z=i.forwardRef((e,t)=>{let{className:n,align:i="center",sideOffset:a=4,...o}=e;return(0,r.jsx)(M,{children:(0,r.jsx)(j,{ref:t,align:i,sideOffset:a,className:(0,U.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-none",n),...o})})});Z.displayName=j.displayName},35829:(e,t,n)=>{"use strict";n.d(t,{Gv:()=>l,XE:()=>s,cc:()=>u,cd:()=>r,pq:()=>i});let r="redirect",i="openCart",a=["email","goto","step","type","invitationId"],o="https://internal.invalid",s=e=>{if(!e.startsWith("/")||e.startsWith("//")||e.includes("\\"))return!1;try{return new URL(e,o).origin===o}catch(e){return!1}},l=e=>{let[t,n]=e.split("#"),[r,i]=t.split("?");if(!i)return e;let o=new URLSearchParams(i);a.forEach(e=>o.delete(e));let s=o.toString(),l=s?"".concat(r,"?").concat(s):r;return n?"".concat(l,"#").concat(n):l},u=(e,t)=>{let n="".concat(window.location.origin).concat("/complete-profile");if(e&&s(e)){let a=(null==t?void 0:t.openCart)?(e=>{let t=new URL(e,o);return t.searchParams.set(i,"1"),"".concat(t.pathname).concat(t.search).concat(t.hash)})(e):e;return"".concat(n,"?").concat(r,"=").concat(encodeURIComponent(a))}return n}},35844:(e,t,n)=>{var r=n(86414);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},35896:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(55729),i=globalThis?.document?r.useLayoutEffect:()=>{}},36019:(e,t,n)=>{"use strict";function r(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}n.d(t,{u:()=>r})},36021:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(93900)}])},36022:e=>{e.exports=function(e){return this.__data__.has(e)}},36592:(e,t,n)=>{var r=n(66581);e.exports=function(e,t){for(var n=e.length;n--;
21)if(r(e[n][0],t))return n;return -1}},36607:(e,t,n)=>{var r=n(44642);e.exports=function(e,t){return function(n,i){return r(n,e,t(i),{})}}},36704:e=>{e.exports=function(e){return this.__data__.has(e)}},36975:(e,t,n)=>{var r=n(33573),i=n(3619);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},36978:(e,t,n)=>{"use strict";var r=n(67118),i=n(57388),a=n(98145),o=n(74059),s=n(5251),l=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t,n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var c=r.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(0!==c)throw Error(o[c]);if(n.header&&r.deflateSetHeader(this.strm,n.header),n.dictionary){if(t="string"==typeof n.dictionary?a.string2buf(n.dictionary):"[object ArrayBuffer]"===l.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,0!==(c=r.deflateSetDictionary(this.strm,t)))throw Error(o[c]);this._dict_set=!0}}function c(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}u.prototype.push=function(e,t){var n,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:4*(!0===t),"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,o))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&(4===o||2===o))&&("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===o?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):(2===o&&(this.onEnd(0),s.avail_out=0),!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=u,t.deflate=c,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},37175:(e,t,n)=>{var r=n(86414);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},37390:(e,t,n)=>{var r=n(88601),i=n(24127),a=n(68988),o=n(93733),s=n(1864),l=n(3540),u=n(33883),c=n(5549),d=n(91544);e.exports=function(e,t,n){t=t.length?r(t,function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[c];var h=-1;return t=r(t,l(a)),s(o(e,function(e,n,i){return{criteria:r(t,function(t){return t(e)}),index:++h,value:e}}),function(e,t){return u(e,t,n)})}},37511:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,44H32A20,20,0,0,0,12,64V88a20,20,0,0,0,16,19.6V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V107.6A20,20,0,0,0,244,88V64A20,20,0,0,0,224,44ZM36,68H220V84H36ZM52,188V108H204v80Zm112-52a12,12,0,0,1-12,12H104a12,12,0,0,1,0-24h48A12,12,0,0,1,164,136Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,96v96a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96Z",opacity:"0.2"}),r.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm-72,96H104a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm72-56H32V64H224V88Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,50H32A14,14,0,0,0,18,64V88a14,14,0,0,0,14,14h2v90a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V102h2a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50ZM210,192a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V102H210ZM226,88a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2ZM98,136a6,6,0,0,1,6-6h48a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,52H32A12,12,0,0,0,20,64V88a12,12,0,0,0,12,12h4v92a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V100h4a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52ZM212,192a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V100H212ZM228,88a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4ZM100,136a4,4,0,0,1,4-4h48a4,4,0,0,1,0,8H104A4,4,0,0,1,100,136Z"}))]]),o=r.forwardRef((e,t)=>
21r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="ArchiveIcon";let s=o},37890:(e,t,n)=>{"use strict";n.d(t,{u:()=>d,v:()=>c});var r=n(6029),i=n(73492),a=n(1660),o=n(93251),s=n(66818),l=n(55729);let u=(0,l.createContext)({});function c(e){var t;let{children:n}=e,c=(0,o.jE)(),{data:d,isPending:h,refetch:f}=s.yK.useSession(),p=!!(null==d?void 0:d.user),m=null==d||null==(t=d.user)?void 0:t.id;(0,a.Hi)(p,f);let{data:g,isLoading:v,refetch:y}=(0,i.gEv)();(0,l.useEffect)(()=>{m&&m!==(null==g?void 0:g.id)&&y()},[m,null==g?void 0:g.id,y]);let b=(0,l.useCallback)(async()=>{await s.yK.signOut(),c.removeQueries()},[c]),w=h||v,x=(0,l.useMemo)(()=>({user:g,disconnect:b,refetchSession:f,isLoading:w,isAuthenticated:p}),[g,b,f,w,p]);return(0,r.jsx)(u.Provider,{value:x,children:n})}let d=()=>(0,l.useContext)(u)},38302:e=>{e.exports=function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return -1}},38372:function(e,t,n){var r,i;void 0===(i="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
21t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,n,o){var s=a.URL||a.webkitURL,l=document.createElement("a");l.download=n=n||e.name||"download",l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):r(l.href)?t(e,n,o):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){i(l)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e){var o;navigator.msSaveOrOpenBlob((void 0===(o=a)?o={autoBom:!1}:"object"!=typeof o&&(console.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e),n)}else if(r(e))t(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){i(s)})}}:function(e,n,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||s&&l||o)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},c.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,h=d.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout(function(){d.revokeObjectURL(h)},4e4)}});a.saveAs=s.saveAs=s,e.exports=s})?r.apply(t,[]):r)||(e.exports=i)},38535:(e,t)=>
21{t.TF=function(e){return e.replace(/[^\u0000-\u007e]/g,function(e){return r[e]||e})};for(var n=[{base:" ",chars:"\xa0"},{base:"0",chars:"߀"},{base:"A",chars:"ⒶA\xc0\xc1\xc2ẦẤẪẨ\xc3ĀĂẰẮẴẲȦǠ\xc4ǞẢ\xc5ǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"\xc6ǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČ\xc7ƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"\xd0"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃ\xd1ṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"\xde"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊU\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚ\xe0\xe1\xe2ầấẫẩ\xe3āăằắẵẳȧǡ\xe4ǟả\xe5ǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"\xe6ǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"\xf0"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"\xdf"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"\xfe"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],r={},i=0;i<n.length;i+=1)for(var a=n[i].chars,o=0;o<a.length;o+=1)r[a[o]]=n[i].base},38684:(e,t,n)=>{var r=n(86414);e.exports=function(e){return r(this,e).has(e)}},38719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(55729);function i(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},39794:(e,t,n)=>{"use strict";n.d(t,{cn:()=>ei,al:()=>ea,jB:()=>es,Ww:()=>eo});var r=n(55729);function i(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){let[a,o]=(0,r.useState)(n?t:!!("undefined"!=typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches);return(0,r.useEffect)(()=>{try{let n=window.matchMedia(e);o(n.matches);var t=e=>o(e.matches);try{return n.addEventListener("change",t),()=>n.removeEventListener("change",t)}catch(e){return n.addListener(t),()=>n.removeListener(t)}}catch(e){return}},[e]),a||!1}var a=n(50212);let o=(e,t)=>{if(0===e.length)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?o(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},s=/^\[(.+)\]$/,l=(e,t,n,r)=>
21{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=n;return}if("function"==typeof e)return c(e)?void l(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{l(i,u(t,e),n,r)})})},u=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},c=e=>e.isThemeGetter,d=/\s+/;function h(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=f(e))&&(r&&(r+=" "),r+=t);return r}let f=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=f(e[r]))&&(n&&(n+=" "),n+=t);return n},p=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},m=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,g=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v=/^\d+\/\d+$/,y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,w=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,x=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,C=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>v.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),A=e=>!!e&&Number.isInteger(Number(e)),k=e=>e.endsWith("%")&&S(e.slice(0,-1)),N=e=>y.test(e),P=()=>!0,I=e=>b.test(e)&&!w.test(e),T=()=>!1,O=e=>x.test(e),L=e=>C.test(e),M=e=>!j(e)&&!V(e),D=e=>$(e,Q,T),j=e=>m.test(e),_=e=>$(e,J,I),R=e=>$(e,ee,S),F=e=>$(e,Y,T),z=e=>$(e,X,L),B=e=>$(e,en,O),V=e=>g.test(e),U=e=>K(e,J),q=e=>K(e,et),H=e=>K(e,Y),Z=e=>K(e,Q),W=e=>K(e,X),G=e=>K(e,en,!0),$=(e,t,n)=>{let r=m.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},K=(e,t,n=!1)=>{let r=g.exec(e);return!!r&&(r[1]?t(r[1]):n)},Y=e=>"position"===e||"percentage"===e,X=e=>"image"===e||"url"===e,Q=e=>"length"===e||"size"===e||"bg-size"===e,J=e=>"length"===e,ee=e=>"number"===e,et=e=>"family-name"===e,en=e=>"shadow"===e;Symbol.toStringTag;let er=function(e,...t){let n,r,i,a=function(c){let d;return r=(n={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),++t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n,r=[],i=0,a=0,o=0;for(let n=0;n<e.length;n++){let s=e[n];if(0===i&&0===a){if(":"===s){r.push(e.slice(o,n)),o=n+1;continue}if("/"===s){t=n;continue}}"["===s?i++:"]"===s?i--:"("===s?a++:")"===s&&a--}let s=0===r.length?e:e.substring(o),l=(n=s).endsWith("!")?n.substring(0,n.length-1):n.startsWith("!")?n.substring(1):n;return{modifiers:r,hasImportantModifier:l!==s,baseClassName:l,maybePostfixModifierPosition:t&&t>o?t-o:void 0}};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r})(d),sortModifiers:(e=>{let t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;let n=[],r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}})(d),...(e=>{let t=(e=>{let{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(let e in n)l(n[e],r,e,t);return r})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),o(n,t)||(e=>{if(s.test(e)){let t=s.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}})(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}})(d)}).cache.get,i=n.cache.set,a=u,u(c)};function u(e){let t=r(e);if(t)return t;let a=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(d),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=n(t);if(u){l=t+(l.length>0?" "+l:l);continue}let p=!!f,m=r(p?h.substring(0,f):h);if(!m){if(!p||!(m=r(h))){l=t+(l.length>0?" "+l:l);continue}p=!1}let g=a(c).join(":"),v=d?g+"!":g,y=v+m;if(o.includes(y))continue;o.push(y);let b=i(m,p);for(let e=0;e<b.length;++e){let t=b[e];o.push(v+t)}l=t+(l.length>0?" "+l:l)}return l}
vendor: 4,153 bytes, line 21
21)(e,n);return i(e,a),a}return function(){return a(h.apply(null,arguments))}}(()=>{let e=p("color"),t=p("font"),n=p("text"),r=p("font-weight"),i=p("tracking"),a=p("leading"),o=p("breakpoint"),s=p("container"),l=p("spacing"),u=p("radius"),c=p("shadow"),d=p("inset-shadow"),h=p("text-shadow"),f=p("drop-shadow"),m=p("blur"),g=p("perspective"),v=p("aspect"),y=p("ease"),b=p("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...x(),V,j],I=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],O=()=>[V,j,l],L=()=>[E,"full","auto",...O()],$=()=>[A,"none","subgrid",V,j],K=()=>["auto",{span:["full",A,V,j]},A,V,j],Y=()=>[A,"auto",V,j],X=()=>["auto","min","max","fr",V,j],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...O()],et=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],en=()=>[e,V,j],er=()=>[...x(),H,F,{position:[V,j]}],ei=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ea=()=>["auto","cover","contain",Z,D,{size:[V,j]}],eo=()=>[k,U,_],es=()=>["","none","full",u,V,j],el=()=>["",S,U,_],eu=()=>["solid","dashed","dotted","double"],ec=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ed=()=>[S,k,H,F],eh=()=>["","none",m,V,j],ef=()=>["none",S,V,j],ep=()=>["none",S,V,j],em=()=>[S,V,j],eg=()=>[E,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[P],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[M],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",S],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,j,V,v]}],container:["container"],columns:[{columns:[S,j,V,s]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{start:L()}],end:[{end:L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",V,j]}],basis:[{basis:[E,"full","auto",s,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,E,"auto","initial","none",j]}],grow:[{grow:["",S,V,j]}],shrink:[{shrink:["",S,V,j]}],order:[{order:[A,"first","last","none",V,j]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:K()}],"col-start":[{"col-start":Y()}
vendor: 11,006 bytes, line 21
21],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:K()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":X()}],"auto-rows":[{"auto-rows":X()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:et()}],w:[{w:[s,"screen",...et()]}],"min-w":[{"min-w":[s,"screen","none",...et()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...et()]}],h:[{h:["screen","lh",...et()]}],"min-h":[{"min-h":["screen","lh","none",...et()]}],"max-h":[{"max-h":["screen","lh",...et()]}],"font-size":[{text:["base",n,U,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,V,R]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",k,j]}],"font-family":[{font:[q,j,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,V,j]}],"line-clamp":[{"line-clamp":[S,"none",V,R]}],leading:[{leading:[a,...O()]}],"list-image":[{"list-image":["none",V,j]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",V,j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:en()}],"text-color":[{text:en()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eu(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",V,_]}],"text-decoration-color":[{decoration:en()}],"underline-offset":[{"underline-offset":[S,"auto",V,j]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V,j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V,j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:er()}],"bg-repeat":[{bg:ei()}],"bg-size":[{bg:ea()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,V,j],radial:["",V,j],conic:[A,V,j]},W,z]}],"bg-color":[{bg:en()}],"gradient-from-pos":[{from:eo()}],"gradient-via-pos":[{via:eo()}],"gradient-to-pos":[{to:eo()}],"gradient-from":[{from:en()}],"gradient-via":[{via:en()}],"gradient-to":[{to:en()}],rounded:[{rounded:es()}],"rounded-s":[{"rounded-s":es()}],"rounded-e":[{"rounded-e":es()}],"rounded-t":[{"rounded-t":es()}],"rounded-r":[{"rounded-r":es()}],"rounded-b":[{"rounded-b":es()}],"rounded-l":[{"rounded-l":es()}],"rounded-ss":[{"rounded-ss":es()}],"rounded-se":[{"rounded-se":es()}],"rounded-ee":[{"rounded-ee":es()}],"rounded-es":[{"rounded-es":es()}],"rounded-tl":[{"rounded-tl":es()}],"rounded-tr":[{"rounded-tr":es()}],"rounded-br":[{"rounded-br":es()}],"rounded-bl":[{"rounded-bl":es()}],"border-w":[{border:el()}],"border-w-x":[{"border-x":el()}],"border-w-y":[{"border-y":el()}],"border-w-s":[{"border-s":el()}],"border-w-e":[{"border-e":el()}],"border-w-t":[{"border-t":el()}],"border-w-r":[{"border-r":el()}],"border-w-b":[{"border-b":el()}],"border-w-l":[{"border-l":el()}],"divide-x":[{"divide-x":el()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":el()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eu(),"hidden","none"]}],"divide-style":[{divide:[...eu(),"hidden","none"]}],"border-color":[{border:en()}],"border-color-x":[{"border-x":en()}],"border-color-y":[{"border-y":en()}],"border-color-s":[{"border-s":en()}],"border-color-e":[{"border-e":en()}],"border-color-t":[{"border-t":en()}],"border-color-r":[{"border-r":en()}],"border-color-b":[{"border-b":en()}],"border-color-l":[{"border-l":en()}],"divide-color":[{divide:en()}],"outline-style":[{outline:[...eu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,V,j]}],"outline-w":[{outline:["",S,U,_]}],"outline-color":[{outline:en()}],shadow:[{shadow:["","none",c,G,B]}],"shadow-color":[{shadow:en()}],"inset-shadow":[{"inset-shadow":["none",d,G,B]}],"inset-shadow-color":[{"inset-shadow":en()}],"ring-w":[{ring:el()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:en()}],"ring-offset-w":[{"ring-offset":[S,_]}],"ring-offset-color":[{"ring-offset":en()}],"inset-ring-w":[{"inset-ring":el()}],"inset-ring-color":[{"inset-ring":en()}],"text-shadow":[{"text-shadow":["none",h,G,B]}],"text-shadow-color":[{"text-shadow":en()}],opacity:[{opacity:[S,V,j]}],"mix-blend":[{"mix-blend":[...ec(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ec()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":ed()}],"mask-image-linear-to-pos":[{"mask-linear-to":ed()}],"mask-image-linear-from-color":[{"mask-linear-from":en()}],"mask-image-linear-to-color":[{"mask-linear-to":en()}],"mask-image-t-from-pos":[{"mask-t-from":ed()}],"mask-image-t-to-pos":[{"mask-t-to":ed()}],"mask-image-t-from-color":[{"mask-t-from":en()}],"mask-image-t-to-color":[{"mask-t-to":en()}],"mask-image-r-from-pos":[{"mask-r-from":ed()}],"mask-image-r-to-pos":[{"mask-r-to":ed()}],"mask-image-r-from-color":[{"mask-r-from":en()}],"mask-image-r-to-color":[{"mask-r-to":en()}],"mask-image-b-from-pos":[{"mask-b-from":ed()}],"mask-image-b-to-pos":[{"mask-b-to":ed()}],"mask-image-b-from-color":[{"mask-b-from":en()}],"mask-image-b-to-color":[{"mask-b-to":en()}],"mask-image-l-from-pos":[{"mask-l-from":ed()}],"mask-image-l-to-pos":[{"mask-l-to":ed()}],"mask-image-l-from-color":[{"mask-l-from":en()}],"mask-image-l-to-color":[{"mask-l-to":en()}],"mask-image-x-from-pos":[{"mask-x-from":ed()}],"mask-image-x-to-pos":[{"mask-x-to":ed()}],"mask-image-x-from-color":[{"mask-x-from":en()}],"mask-image-x-to-color":[{"mask-x-to":en()}],"mask-image-y-from-pos":[{"mask-y-from":ed()}],"mask-image-y-to-pos":[{"mask-y-to":ed()}],"mask-image-y-from-color":[{"mask-y-from":en()}],"mask-image-y-to-color":[{"mask-y-to":en()}],"mask-image-radial":[{"mask-radial":[V,j]}],"mask-image-radial-from-pos":[{"mask-radial-from":ed()}],"mask-image-radial-to-pos":[{"mask-radial-to":ed()}],"mask-image-radial-from-color":[{"mask-radial-from":en()}],"mask-image-radial-to-color":[{"mask-radial-to":en()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":ed()}],"mask-image-conic-to-pos":[{"mask-conic-to":ed()}],"mask-image-conic-from-color":[{"mask-conic-from":en()}],"mask-image-conic-to-color":[{"mask-conic-to":en()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:er()}],"mask-repeat":[{mask:ei()}],"mask-size":[{mask:ea()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",V,j]}],filter:[{filter:["","none",V,j]}],blur:[{blur:eh()}],brightness:[{brightness:[S,V,j]}],contrast:[{contrast:[S,V,j]}],"drop-shadow":[{"drop-shadow":["","none",f,G,B]}],"drop-shadow-color":[{"drop-shadow":en()}],grayscale:[{grayscale:["",S,V,j]}],"hue-rotate":[{"hue-rotate":[S,V,j]}],invert:[{invert:["",S,V,j]}],saturate:[{saturate:[S,V,j]}],sepia:[{sepia:["",S,V,j]}],"backdrop-filter":[{"backdrop-filter":["","none",V,j]}],"backdrop-blur":[{"backdrop-blur":eh()}],"backdrop-brightness":[{"backdrop-brightness":[S,V,j]}],"backdrop-contrast":[{"backdrop-contrast":[S,V,j]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,V,j]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,V,j]}],"backdrop-invert":[{"backdrop-invert":["",S,V,j]}],"backdrop-opacity":[{"backdrop-opacity":[S,V,j]}],"backdrop-saturate":[{"backdrop-saturate":[S,V,j]}],"backdrop-sepia":[{"backdrop-sepia":["",S,V,j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",V,j]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",V,j]}],ease:[{ease:["linear","initial",y,V,j]}],delay:[{delay:[S,V,j]}],animate:[{animate:["none",b,V,j]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,V,j]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:ef()}],"rotate-x":[{"rotate-x":ef()}],"rotate-y":[{"rotate-y":ef()}],"rotate-z":[{"rotate-z":ef()}],scale:[{scale:ep()}],"scale-x":[{"scale-x":ep()}],"scale-y":[{"scale-y":ep()}],"scale-z":[{"scale-z":ep()}],"scale-3d":["scale-3d"],skew:[{skew:em()}],"skew-x":[{"skew-x":em()}],"skew-y":[{"skew-y":em()}],transform:[{transform:[V,j,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:eg()}],"translate-x":[{"translate-x":eg()}],"translate-y":[{"translate-y":eg()}],"translate-z":[{"translate-z":eg()}],"translate-none":["translate-none"],accent:[{accent:en()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:en()}
21],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V,j]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V,j]}],fill:[{fill:["none",...en()]}],"stroke-w":[{stroke:[S,U,_,R]}],stroke:[{stroke:["none",...en()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ei(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return er((0,a.$)(t))}function ea(){return i("(max-width: 768px)")}function eo(){return i("(max-width: 1280px)")}function es(){return i("(max-width: 1024px)")}},40041:(e,t,n)=>{"use strict";n.d(t,{s:()=>o,t:()=>a});var r=n(55729);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function o(...e){return r.useCallback(a(...e),e)}},40334:(e,t,n)=>{"use strict";n.d(t,{Co:()=>s,w8:()=>o}),n(38372);var r=n(92351),i=n(39794),a=n(55729);let o=(e,t,n)=>e&&t?"media"===t?r.A.NEXT_MEDIAS_CLOUDFRONT_BASE_URL?"".concat(r.A.NEXT_MEDIAS_CLOUDFRONT_BASE_URL,"/").concat(e,"?format=webp").concat(n?"&width=".concat(n):""):"https://".concat(r.A.NEXT_PUBLIC_MEDIAS_BUCKET_NAME,".s3.eu-west-3.amazonaws.com/").concat(e):"ticket"===t?"https://".concat(r.A.NEXT_PUBLIC_TICKETS_BUCKET_NAME,".s3.eu-west-3.amazonaws.com/").concat(e):"https://".concat(r.A.NEXT_PUBLIC_DOCUMENTS_BUCKET_NAME,".s3.eu-west-3.amazonaws.com/").concat(e):"",s=()=>{let e=(0,i.al)();return{getFileUrl:(0,a.useCallback)((t,n,r)=>r&&r<768?o(t,n,r):e?o(t,n,768):o(t,n,r),[e])}}}
21,40483:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(99034),i=n(48592);function a(e,t,n){let[a,o]=(0,r.x)(null==n?void 0:n.in,e,t);return+(0,i.o)(a)==+(0,i.o)(o)}},40549:(e,t,n)=>{"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>r})},40611:(e,t,n)=>{"use strict";n.d(t,{W:()=>c});var r=n(6029),i=n(64713),a=n(32337),o=n(39794),s=n(46102),l=n(65767),u=n(55729);function c(e){let{control:t,name:n,label:c,hasMessage:d=!1,errorRing:h=!0,inputClassName:f,...p}=e,[m,g]=(0,u.useState)(!1);function v(e){e.preventDefault(),g(e=>!e)}return(0,r.jsx)(i.zB,{control:t,name:n,render:e=>{let{field:t,fieldState:n}=e;return(0,r.jsxs)(i.eI,{className:(0,o.cn)(s.sl,p.className),children:[c&&c.length>0?(0,r.jsx)(i.lR,{className:s.Ci,children:c}):null,(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(i.MJ,{children:(0,r.jsx)(a.p,{...t,...p,className:(0,o.cn)(s.Ol,f,{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":n.error}),type:m?"text":"password"})}),(0,r.jsx)(l.P,{name:m?"eye_slash":"eye",alt:"eye icon",onClick:v,type:"button",className:"absolute right-5 top-2.5 size-4"})]}),d?(0,r.jsx)(i.C5,{}):null]})}})}},40748:(e,t,n)=>{"use strict";n.d(t,{Qg:()=>o,bL:()=>l,s6:()=>s});var r=n(55729),i=n(19639),a=n(6029),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=r.forwardRef((e,t)=>(0,a.jsx)(i.sG.span,{...e,ref:t,style:{...o,...e.style}}));s.displayName="VisuallyHidden";var l=s},41016:(e,t,n)=>{var r=n(81707),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},41099:(e,t,n)=>{var r=n(68749),i=n(3540),a=n(73696),o=a&&a.isDate;e.exports=o?i(o):r},41145:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>H,UC:()=>$,ZI:()=>_,ZL:()=>G,bL:()=>Z,i3:()=>K,k$:()=>T,l9:()=>W});var r=n(55729),i=n(25269),a=n(40041),o=n(99829),s=n(27555),l=n(67913),u=n(20609),c=n(61486),d=n(78749),h=n(19639),f=n(97628),p=n(16697),m=n(40748),g=n(6029),[v,y]=(0,o.A)("Tooltip",[u.Bk]),b=(0,u.Bk)(),w="TooltipProvider",x="tooltip.open",[C,E]=v(w),S=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:a=!1,children:o}=e,s=r.useRef(!0),l=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(C,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:l,onPointerInTransitChange:r.useCallback(e=>{l.current=e},[]),disableHoverableContent:a,children:o})};S.displayName=w;var A="Tooltip",[k,N]=v(A),P=e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:a,onOpenChange:o,disableHoverableContent:s,delayDuration:c}=e,d=E(A,e.__scopeTooltip),h=b(t),[f,m]=r.useState(null),v=(0,l.B)(),y=r.useRef(0),w=s??d.disableHoverableContent,C=c??d.delayDuration,S=r.useRef(!1),[N,P]=(0,p.i)({prop:i,defaultProp:a??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(x))):d.onClose(),o?.(e)},caller:A}),I=r.useMemo(()=>N?S.current?"delayed-open":"instant-open":"closed",[N]),T=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,S.current=!1,P(!0)},[P]),O=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,P(!1)},[P]),L=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{S.current=!0,P(!0),y.current=0},C)},[C,P]);return r.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,g.jsx)(u.bL,{...h,children:(0,g.jsx)(k,{scope:t,contentId:v,open:N,stateAttribute:I,trigger:f,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayedRef.current?L():T()},[d.isOpenDelayedRef,L,T]),onTriggerLeave:r.useCallback(()=>{w?O():(window.clearTimeout(y.current),y.current=0)},[O,w]),onOpen:T,onClose:O,disableHoverableContent:w,children:n})})};P.displayName=A;var I="TooltipTrigger",T=r.forwardRef((e,t)=>
21{let{__scopeTooltip:n,...o}=e,s=N(I,n),l=E(I,n),c=b(n),d=r.useRef(null),f=(0,a.s)(t,d,s.onTriggerChange),p=r.useRef(!1),m=r.useRef(!1),v=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(h.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...o,ref:f,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{p.current||s.onOpen()}),onBlur:(0,i.mK)(e.onBlur,s.onClose),onClick:(0,i.mK)(e.onClick,s.onClose)})})});T.displayName=I;var O="TooltipPortal",[L,M]=v(O,{forceMount:void 0}),D=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=N(O,t);return(0,g.jsx)(L,{scope:t,forceMount:n,children:(0,g.jsx)(d.C,{present:n||a.open,children:(0,g.jsx)(c.Z,{asChild:!0,container:i,children:r})})})};D.displayName=O;var j="TooltipContent",_=r.forwardRef((e,t)=>{let n=M(j,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=N(j,e.__scopeTooltip);return(0,g.jsx)(d.C,{present:r||o.open,children:o.disableHoverableContent?(0,g.jsx)(V,{side:i,...a,ref:t}):(0,g.jsx)(R,{side:i,...a,ref:t})})}),R=r.forwardRef((e,t)=>{let n=N(j,e.__scopeTooltip),i=E(j,e.__scopeTooltip),o=r.useRef(null),s=(0,a.s)(t,o),[l,u]=r.useState(null),{trigger:c,onClose:d}=n,h=o.current,{onPointerInTransitChange:f}=i,p=r.useCallback(()=>{u(null),f(!1)},[f]),m=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(c&&h){let e=e=>m(e,h),t=e=>m(e,c);return c.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[c,h,m,p]),r.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||h?.contains(t),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],l=o.x,u=o.y,c=s.x,d=s.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(i=!i)}return i}(n,l);r?p():i&&(p(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,h,l,d,p]),(0,g.jsx)(V,{...e,ref:s})}),[F,z]=v(A,{isInside:!1}),B=(0,f.Dc)("TooltipContent"),V=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:i,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,d=N(j,n),h=b(n),{onClose:f}=d;return r.useEffect(()=>(document.addEventListener(x,f),()=>document.removeEventListener(x,f)),[f]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;t?.contains(d.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,f]),(0,g.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,g.jsxs)(u.UC,{"data-state":d.stateAttribute,...h,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(B,{children:i}),(0,g.jsx)(F,{scope:n,isInside:!0,children:(0,g.jsx)(m.bL,{id:d.contentId,role:"tooltip",children:a||i})})]})})});_.displayName=j;var U="TooltipArrow",q=r.forwardRef((e,t)=>
21{let{__scopeTooltip:n,...r}=e,i=b(n);return z(U,n).isInside?null:(0,g.jsx)(u.i3,{...i,...r,ref:t})});q.displayName=U;var H=S,Z=P,W=T,G=D,$=_,K=q},41256:(e,t,n)=>{"use strict";function r(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>r})},41679:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(55729),i=n(40041),a=n(19639),o=n(9613),s=n(6029),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:g,onUnmountAutoFocus:v,...y}=e,[b,w]=r.useState(null),x=(0,o.c)(g),C=(0,o.c)(v),E=r.useRef(null),S=(0,i.s)(t,e=>w(e)),A=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(A.paused||!b)return;let t=e.target;b.contains(t)?E.current=t:p(E.current,{select:!0})},t=function(e){if(A.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||p(E.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,b,A.paused]),r.useEffect(()=>{if(b){m.add(A);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(l,c);b.addEventListener(l,x),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(h(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(l,x),setTimeout(()=>{let t=new CustomEvent(u,c);b.addEventListener(u,C),b.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),b.removeEventListener(u,C),m.remove(A)},0)}}},[b,x,C,A]);let k=r.useCallback(e=>{if(!n&&!d||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,a]=function(e){let t=h(e);return[f(t,e),f(t.reverse(),e)]}(t);i&&a?e.shiftKey||r!==a?e.shiftKey&&r===i&&(e.preventDefault(),n&&p(a,{select:!0})):(e.preventDefault(),n&&p(i,{select:!0})):r===t&&e.preventDefault()}},[n,d,A.paused]);return(0,s.jsx)(a.sG.div,{tabIndex:-1,...y,ref:S,onKeyDown:k})});function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var m=function(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=g(e,t)).unshift(t)},remove(t){e=g(e,t),e[0]?.resume()}}}();function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},41813:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(6029),i=n(55729),a=n(39794);let o=i.forwardRef((e,t)=>{let{className:n,containerClassname:i,maxLength:o,value:s,...l}=e;return"number"==typeof s&&(s=s.toString()),(0,r.jsxs)("div",{className:(0,a.cn)("relative",i),children:[(0,r.jsx)("textarea",{className:(0,a.cn)("border-input placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[60
21px] w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,maxLength:o,value:s,...l}),o&&(0,r.jsxs)("p",{className:"absolute bottom-2 right-2 text-xs text-gray-500",children:[null==s?void 0:s.length,"/",o]})]})});o.displayName="Textarea"},41877:(e,t,n)=>{"use strict";n.d(t,{I:()=>f});var r=n(6029),i=n(73492),a=n(34245),o=n(34759),s=n(65403),l=n(13471),u=n(67695);let c=(0,n(58309).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var d=n(53706),h=n(55729);let f=(0,d.PA)(()=>{let[e,t]=(0,h.useState)(!1),n=u.A.userEmail,d=u.A.getModalIsVisible(),{mutate:f}=(0,i.UQw)(),{toast:p}=(0,a.dj)();return((0,h.useEffect)(()=>{d&&(t(!0),u.A.setModalVisible(!1))},[d]),n)?(0,r.jsx)(o.lG,{open:e,onOpenChange:t,children:(0,r.jsx)(o.Cf,{className:"sm:max-w-[587px]",children:(0,r.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,r.jsx)("div",{className:"flex h-[104px] w-full flex-col items-center gap-3",children:(0,r.jsx)(l.A,{src:"/images/logos/logo_connect_events_vertical.png",alt:"logo avec nom Connect'Events vertical",className:"static h-28 w-auto"})}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-12",children:[(0,r.jsxs)("div",{className:"flex w-full max-w-[312px] flex-col items-center gap-5",children:[(0,r.jsx)(c,{size:24,className:"text-primary-500"}),(0,r.jsx)("p",{className:"text-center text-[20px] font-extrabold leading-[24px]",children:"V\xe9rifiez votre bo\xeete mail"}),(0,r.jsxs)("p",{className:"text-center text-[14px] font-normal leading-[21px]",children:["Un email de confirmation a \xe9t\xe9 envoy\xe9 \xe0 l'adresse suivante :",(0,r.jsx)("p",{className:"text-center text-[14px] font-bold leading-[21px]",children:n})]})]}),(0,r.jsx)(s.$,{onClick:()=>{f({email:n},{onError:e=>{p({title:"Erreur",description:e.message})}}),t(!1)},className:"h-[44px] w-full",variant:"outline-blue",children:(0,r.jsx)("p",{className:"text-[16px] font-semibold leading-[24px]",children:"Renvoyer l'email"})})]})]})})}):null})},42209:(e,t,n)=>{var r=n(36975),i=n(3619),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable;e.exports=r(function(){return arguments}())?r:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")}},42260:(e,t,n)=>{"use strict";n.d(t,{Bc:()=>s,ZI:()=>c,k$:()=>u,m_:()=>l});var r=n(6029),i=n(55729),a=n(41145),o=n(39794);let s=a.Kq,l=a.bL,u=a.l9;a.i3;let c=i.forwardRef((e,t)=>{let{className:n,sideOffset:i=4,...s}=e;return(0,r.jsx)(a.ZL,{children:(0,r.jsx)(a.UC,{ref:t,sideOffset:i,className:(0,o.cn)("text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-w-[500px] overflow-hidden rounded-md border bg-white px-3 py-1.5 text-xs",n),...s})})});c.displayName=a.UC.displayName},43064:(e,t,n)=>{"use strict";n.d(t,{II:()=>c,cc:()=>u,v_:()=>l});var r=n(19848),i=n(2663),a=n(47504),o=n(4308);function s(e){return Math.min(1e3*2**e,3e4)}function l(e){return(e??"online")!=="online"||i.t.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){let t,n=!1,c=0,d=(0,a.T)(),h=()=>r.m.isFocused()&&("always"===e.networkMode||i.t.isOnline())&&e.canRun(),f=()=>l(e.networkMode)&&e.canRun(),p=e=>{"pending"===d.status&&(t?.(),d.resolve(e))},m=e=>{"pending"===d.status&&(t?.(),d.reject(e))},g=()=>new Promise(n=>{t=e=>{("pending"!==d.status||h())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===d.status&&e.onContinue?.()}),v=()=>{let t;if("pending"!==d.status)return;let r=0===c?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(p).catch(t=>{if("pending"!==d.status)return;let r=e.retry??3*!o.S$,i=e.retryDelay??s,a="function"==typeof i?i(c,t):i,l=!0===r||"number"==typeof r&&c<r||"function"==typeof r&&r(c,t);if(n||!l)return void m(t);c++,e.onFail?.(c,t),(0,o.yy)(a).then(()=>h()?void 0:g()).then(()=>{n?m(t):v()})})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let n=new u(t);m(n),e.onCancel?.(n)}},continue:()=>(t?.(),d),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:f,start:()=>(f()?v():g().then(v),d)}}}
21,43072:(e,t,n)=>{"use strict";n.d(t,{Wx:()=>u});var r=n(55729),i=Object.defineProperty,a=new Map,o=new WeakMap,s=0,l=void 0;function u({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:c,triggerOnce:d,skip:h,initialInView:f,fallbackInView:p,onChange:m}={}){var g;let[v,y]=r.useState(null),b=r.useRef(m),[w,x]=r.useState({inView:!!f,entry:void 0});b.current=m,r.useEffect(()=>{let r;if(!h&&v)return r=function(e,t,n={},r=l){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?!(n=e.root)?"0":(o.has(n)||(s+=1,o.set(n,s.toString())),o.get(n)):e[t]}`}).toString(),n=a.get(t);if(!n){let r,i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let a=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(n=i.get(t.target))||n.forEach(e=>{e(a,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},a.set(t,n)}return n}(n),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),a.delete(i))}}(v,(e,t)=>{x({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&d&&r&&(r(),r=void 0)},{root:c,rootMargin:i,threshold:e,trackVisibility:n,delay:t},p),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,v,c,i,d,h,n,p,t]);let C=null==(g=w.entry)?void 0:g.target,E=r.useRef(void 0);v||!C||d||h||E.current===C||(E.current=C,x({inView:!!f,entry:void 0}));let S=[y,w.inView,w.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}r.Component},43092:(e,t,n)=>{var r=n(50515),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},43379:(e,t,n)=>{"use strict";n.d(t,{PL:()=>i,RQ:()=>l,rB:()=>s});var r=n(4308);function i(e){return{onFetch:(t,n)=>{let i=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],u=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},d=0,h=async()=>{let n=!1,h=(0,r.ZM)(t.options,t.fetchOptions),f=async(e,i,a)=>{if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let o=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta};return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)}),e})(),s=await h(o),{maxPages:l}=t.options,u=a?r.ZZ:r.y9;return{pages:u(e.pages,s,l),pageParams:u(e.pageParams,i,l)}};if(s&&l.length){let e="backward"===s,t={pages:l,pageParams:u},n=(e?o:a)(i,t);c=await f(t,n,e)}else{let t=e??l.length;do{let e=0===d?u[0]??i.initialPageParam:a(i,c);if(d>0&&null==e)break;c=await f(c,e),d++}while(d<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=h}}}function a(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function o(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function s(e,t){return!!t&&null!=a(e,t)}function l(e,t){return!!t&&!!e.getPreviousPageParam&&null!=o(e,t)}},43408:(e,t,n)=>{"use strict";n.d(t,{AU:()=>u,D8:()=>A,E0:()=>C,Rb:()=>p,Re:()=>d,WQ:()=>a,XH:()=>S,YP:()=>y,d_:()=>E,gt:()=>w,hZ:()=>h,ib:()=>f,tY:()=>v,xy:()=>b});var r=n(539),i=n(1715);function a(e,t){let n=e.copy(),r="hour"in n?g(n,t):0;o(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,s(n),l(n),n.day+=7*(t.weeks||0),n.day+=t.days||0,n.day+=r,function(e){for(;e.day<1;)e.month--,s(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,s(e)}(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a,u;let e=null==(a=(u=n.calendar).isInverseEra)?void 0:a.call(u,n);
21n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let c=n.calendar.getMonthsInYear(n);return n.month>c&&(n.month=c,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function o(e,t){var n,r;(null==(n=(r=e.calendar).isInverseEra)?void 0:n.call(r,e))&&(t=-t),e.year+=t}function s(e){for(;e.month<1;)o(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,o(e,1)}function l(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function u(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),l(e)}function c(e){let t={};for(let n in e)"number"==typeof e[n]&&(t[n]=-e[n]);return t}function d(e,t){return a(e,c(t))}function h(e,t){let n=e.copy();return null!=t.era&&(n.era=t.era),null!=t.year&&(n.year=t.year),null!=t.month&&(n.month=t.month),null!=t.day&&(n.day=t.day),u(n),n}function f(e,t){let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),p(n),n}function p(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function m(e,t){let n=e%t;return n<0&&(n+=t),n}function g(e,t){let n;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=m(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=m(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=m(e.minute,60),n=Math.floor(e.hour/24),e.hour=m(e.hour,24),n}function v(e,t){let n=e.copy();return g(n,t),n}function y(e,t){return v(e,c(t))}function b(e,t,n,r){let i=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error("Invalid era: "+e.era);a=x(a,n,0,t.length-1,null==r?void 0:r.round),i.era=t[a],u(i);break}case"year":var a,o;(null==(a=(o=i.calendar).isInverseEra)?void 0:a.call(o,i))&&(n=-n),i.year=x(e.year,n,-1/0,9999,null==r?void 0:r.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=x(e.month,n,1,e.calendar.getMonthsInYear(e),null==r?void 0:r.round);break;case"day":i.day=x(e.day,n,1,e.calendar.getDaysInMonth(e),null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),u(i),i}function w(e,t,n,r){let i=e.copy();switch(t){case"hour":{let t=e.hour,a=0,o=23;if((null==r?void 0:r.hourCycle)===12){let e=t>=12;a=12*!!e,o=e?23:11}i.hour=x(t,n,a,o,null==r?void 0:r.round);break}case"minute":i.minute=x(e.minute,n,0,59,null==r?void 0:r.round);break;case"second":i.second=x(e.second,n,0,59,null==r?void 0:r.round);break;case"millisecond":i.millisecond=x(e.millisecond,n,0,999,null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return i}function x(e,t,n,r,i=!1){if(i){(e+=Math.sign(t))<n&&(e=r);let i=Math.abs(t);(e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i)>r&&(e=n)}else(e+=t)<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function C(e,t){let n;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let i=a((0,r.tR)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=(0,r.Tr)(i,e.timeZone)}else n=(0,r.oU)(e)-e.offset;n+=t.milliseconds||0,n+=1e3*(t.seconds||0),n+=6e4*(t.minutes||0),n+=36e5*(t.hours||0);let i=(0,r.Yd)(n,e.timeZone);return(0,r.yP)(i,e.calendar)}function E(e,t){return C(e,c(t))}function S(e,t,n,a){switch(t){case"hour":{let t=0,o=23;if((null==a?void 0:a.hourCycle)===12){let n=e.hour>=12;t=12*!!n,o=n?23:11}let s=(0,r.tR)(e),l=(0,r.yP)(f(s,{hour:t}),new(0,i.FG)),u=[(0,r.Tr)(l,e.timeZone,"earlier"),(0,r.Tr)(l,e.timeZone,"later")].filter(t=>(0,r.Yd)(t,e.timeZone).day===l.day)[0],c=(0,r.yP)(f(s,{hour:o}),new(0,i.FG)),d=[(0,r.Tr)(c,e.timeZone,"earlier"),(0,r.Tr)(c,e.timeZone,"later")].filter(t=>(0,r.Yd)(t,e.timeZone).day===c.day).pop(),h=(0,r.oU)(e)-e.offset,p=Math.floor(h/36e5),m=h%36e5;return h=36e5*x(p,n,Math.floor(u/36e5),Math.floor(d/36e5),null==a?void 0:a.roun
21d)+m,(0,r.yP)((0,r.Yd)(h,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return w(e,t,n,a);case"era":case"year":case"month":case"day":{let i=b((0,r.tR)(e),t,n,a),o=(0,r.Tr)(i,e.timeZone);return(0,r.yP)((0,r.Yd)(o,e.timeZone),e.calendar)}default:throw Error("Unsupported field "+t)}}function A(e,t,n){let i=(0,r.tR)(e),a=f(h(i,t),t);if(0===a.compare(i))return e;let o=(0,r.Tr)(a,e.timeZone,n);return(0,r.yP)((0,r.Yd)(o,e.timeZone),e.calendar)}},43562:(e,t,n)=>{var r=n(28340),i=n(3540),a=n(73696),o=a&&a.isTypedArray;e.exports=o?i(o):r},43685:(e,t,n)=>{"use strict";n.d(t,{IL:()=>r.I,HI:()=>l,QT:()=>p,Ag:()=>m}),n(41877);var r=n(21667),i=n(6029),a=n(58718),o=n(83566),s=n(92486);let l=e=>{let{control:t,setValue:n,siretName:r,vatName:l,businessNameName:u,countryName:c,isSiretVisible:d,isVATVisible:h,onSiretVisibilityChange:f,onVATVisibilityChange:p}=e;return(0,i.jsxs)("div",{className:"space-y-4 rounded-lg bg-gray-50 p-4",children:[(0,i.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,i.jsx)(s.A,{control:t,name:r,label:"SIRET ou SIREN",placeholder:"SIRET ou SIREN",resetField:()=>n(r,void 0),toggleText:"Je ne dispose pas de n\xb0siret/siren",hasMessage:!0,initialVisible:d,onCheckedChange:e=>{e&&(n(l,void 0),p(!1)),f(!d)},maxLength:14},"siret-".concat(d)),(0,i.jsx)(s.A,{control:t,name:l,label:"TVA",placeholder:"TVA",resetField:()=>n(l,void 0),toggleText:"Je ne dispose pas de n\xb0 de T.V.A.",hasMessage:!0,initialVisible:h,onCheckedChange:e=>{e||f(!0),p(!h)},maxLength:13},"vat-".concat(h))]}),(0,i.jsx)(a.Z,{control:t,name:u,label:"Raison sociale (facultatif)",placeholder:"Raison sociale",maxLength:64}),(0,i.jsx)(o.N,{control:t,name:c,label:"Pays"})]})};var u=n(64713),c=n(39794),d=n(59359);function h(e){let{desc:t,title:n,svgName:r,selected:a,onClick:o,className:s}=e;return(0,i.jsxs)("div",{role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&o()},className:(0,c.cn)("relative flex select-none flex-col items-center rounded-2xl border p-5",{"bg-primary-blue":a,"bg-white":!a},s),onClick:o,children:[a?(0,i.jsx)(d.B,{name:"check",alt:"check",className:"absolute left-3 top-3"}):null,(0,i.jsx)(d.B,{name:r+(a?"_gray_25":"_gray_400"),alt:"",isColored:!0}),(0,i.jsx)("p",{className:(0,c.cn)("text-center text-xl",{"text-gray-50":a,"text-gray-600":!a}),children:t})]})}let f=[{desc:"Particulier",title:"Particulier",svgName:"presentation",isProfessional:!1},{desc:"Professionnel",title:"Professionnel",svgName:"briefcase",isProfessional:!0}],p=e=>{let{control:t,name:n,hasError:r}=e;return(0,i.jsx)(u.zB,{control:t,name:n,render:e=>{let{field:t}=e;return(0,i.jsx)(u.eI,{className:"grid grid-cols-2 gap-4",children:f.map(e=>(0,i.jsx)(h,{desc:e.desc,title:e.title,svgName:e.svgName,selected:t.value===e.isProfessional,onClick:()=>t.onChange(e.isProfessional),className:r?"rounded-[5px] ring-1 ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-1 focus-visible:ring-offset-background":void 0},e.isProfessional.toString()))})}})},m=e=>{let{isProfessional:t}=e;return(0,i.jsxs)("p",{children:["J'ai lu et j'accepte les"," ",(0,i.jsx)("a",{href:"/cgu",className:"text-blue-400 underline",target:"_blank",children:"conditions g\xe9n\xe9rales d'utilisation"}),t&&(0,i.jsxs)(i.Fragment,{children:[", ",(0,i.jsx)("a",{href:"https://professionnels.connect-events.fr/conditions-d-acces-pro",target:"_blank",rel:"noreferrer",className:"text-blue-400 underline",children:"les conditions d'acc\xe8s pro"})]})," ","et j'ai pris connaissance de la"," ",(0,i.jsx)("a",{className:"text-blue-400 underline",href:t?"https://professionnels.connect-events.fr/politique-de-confidentialite":"/politique-de-confidentialite",target:"_blank",rel:"noreferrer",children:"politique de confidentialit\xe9"})]})}},43701:(e,t,n)=>{var r=n(23282),i=n(7131),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},43862:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),a=16-(i-r);if(r=i,a>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}}
21,43877:e=>{e.exports=function(e){return void 0===e}},44007:(e,t,n)=>{"use strict";function r(){return!1}n.d(t,{Nf:()=>r})},44072:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r=n(6029),i=n(46102),a=n(39794),o=n(41813),s=n(64713);function l(e){let{control:t,name:n,className:l,containerClassName:u,label:c,placeholder:d,hasMessage:h=!1,errorRing:f=!0,...p}=e;return(0,r.jsx)(s.zB,{control:t,name:n,render:e=>{let{field:t,fieldState:n}=e;return(0,r.jsxs)(s.eI,{className:(0,a.cn)(i.sl,u),children:[(0,r.jsx)(s.lR,{children:c}),(0,r.jsx)(s.MJ,{children:(0,r.jsx)(o.T,{placeholder:d,className:(0,a.cn)("resize-none",l,{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":n.error&&f}),...t,...p})}),h?(0,r.jsx)(s.C5,{}):null]})}})}},44642:(e,t,n)=>{var r=n(34024);e.exports=function(e,t,n,i){return r(e,function(e,r,a){t(i,n(e),r,a)}),i}},45516:(e,t,n)=>{var r=n(97397),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||i||Function("return this")()},45852:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},45895:(e,t,n)=>{var r=n(5549),i=n(24964),a=n(27288);e.exports=function(e,t){return a(i(e,t,r),e+"")}},46102:(e,t,n)=>{"use strict";n.d(t,{Ci:()=>r,Ol:()=>i,T0:()=>l,YA:()=>o,sl:()=>a,t5:()=>s});let r="text-sm text-gray-700",i="border-gray-300 bg-white shadow-sm",a="flex flex-col gap-1.5",o="flex-1 flex flex-row items-center gap-2",s="data-[state=checked]:bg-primary-blue data-[state=checked]:border-primary-blue flex size-5 items-center justify-center rounded-[6px] border-gray-300 bg-white text-white",l="".concat(s," rounded-full")},46360:(e,t,n)=>{"use strict";n.d(t,{NP:()=>s,Uc:()=>i,pN:()=>l,qk:()=>a});var r=n(31078);let i=r.z.object({email:r.z.string().email("Veuillez entrer un email valide"),firstName:r.z.string().min(1,"Veuillez entrer un pr\xe9nom"),lastName:r.z.string().min(1,"Veuillez entrer un nom")}),a=["email","firstName","lastName"];function o(e,t,n){let r=document.createElement("form");for(let[i,a]of(r.method="POST",r.action=t,n&&(r.target=n),e)){let e=document.createElement("input");e.type="hidden",e.name=i,e.value=String(a),r.appendChild(e)}return document.body.appendChild(r),r}function s(e){let{fields:t,url:n}=e;o(t,n).submit()}function l(e){let{fields:t,url:n}=e,r="paymentIframe";if(!document.querySelector('iframe[name="'.concat(r,'"]')))return void console.error('Iframe with name "'.concat(r,'" not found.'));let i=o(t,n,r);i.submit(),document.body.removeChild(i)}},46468:e=>{e.exports=function(e){return this.__data__.get(e)}},46726:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(70238),i=n(98051),a=n(88846),o=n(34817),s=n(65436);function l(e,t){let n=(0,s.a)(e,null==t?void 0:t.in);return Math.round(((0,i.b)(n)-function(e,t){let n=(0,o.p)(e,void 0),r=(0,a.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,i.b)(r)}(n))/r.my)+1}},46963:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});let r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},a={p:i,P:(e,t)=>{let n,a=e.match(/(P+)(p+)?/)||[],o=a[1],s=a[2];if(!s)return r(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(o,t)).replace("{{time}}",i(s,t))}}},47352:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},47504:(e,t,n)=>{"use strict";n.d(t,{T:()=>i,b:()=>a});var r=n(4308);function i(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function a(e){let t;if(e.then(e=>(t=e,e),r.lQ)?.catch(r.lQ),void 0!==t)return{data:t}}},47508:(e,t,n)=>{var r=n(81707);e.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},48039:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},48535:(e,t,n)=>{e.exports=n(30535)},48546:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}}
21,48574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return o}});let r=n(30758);n(6029),n(55729);let i=r._(n(9321));function a(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let s=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(a):Promise.resolve(a(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48592:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}},48629:(e,t,n)=>{"use strict";n.d(t,{GP:()=>N});var r=n(82606),i=n(25739),a=n(73936),o=n(90271),s=n(65436),l=n(46726),u=n(34817),c=n(75397),d=n(88606);function h(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return h("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):h(n+1,2)},d:(e,t)=>h(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>h(e.getHours()%12||12,t.length),H:(e,t)=>h(e.getHours(),t.length),m:(e,t)=>h(e.getMinutes(),t.length),s:(e,t)=>h(e.getSeconds(),t.length),S(e,t){let n=t.length;return h(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},p={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},m={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,r){let i=(0,d.h)(e,r),a=i>0?i:1-i;return"YY"===t?h(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):h(a,t.length)},R:function(e,t){return h((0,u.p)(e),t.length)},u:function(e,t){return h(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return h(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return h(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return h(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=(0,c.N)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):h(i,t.length)},I:function(e,t,n){let r=(0,l.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):h(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let r=function(e,t){let n=(0,s.a)(e,void 0);
21return(0,a.m)(n,(0,o.D)(n))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):h(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return h(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return h(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return h(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,i=e.getHours();switch(r=12===i?p.noon:0===i?p.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,i=e.getHours();switch(r=i>=17?p.evening:i>=12?p.afternoon:i>=4?p.morning:p.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):h(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):h(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return v(r);case"XXXX":case"XX":return y(r);default:return y(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return v(r);case"xxxx":case"xx":return y(r);default:return y(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},t:function(e,t,n){return h(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return h(+e,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return 0===a?n+String(i):n+String(i)+t+h(a,2)}function v(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):y(e,t)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+h(Math.trunc(n/60),2)+t+h(n%60,2)}var b=n(46963),w=n(24782),x=n(40549);let C=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,S=/^'([^]*?)'?$/,A=/''/g,k=/[a-zA-Z]/;function N(e,t,n){var a,o,l,u,c,d,h,f,p,g,v,y,N,P,I,T,O,L;let M=(0,i.q)(),D=null!=(g=null!=(p=null==n?void 0:n.locale)?p:M.locale)?g:r.c,j=null!=(P=null!=(N=null!=(y=null!=(v=null==n?void 0:n.firstWeekContainsDate)?v:null==n||null==(o=n.locale)||null==(a=o.options)?void 0:a.firstWeekContainsDate)?y:M.firstWeekContainsDate)?N:null==(u=M.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?P:1,_=null!=(L=null!=(O=null!=(T=null!=(I=null==n?void 0:n.weekStartsOn)?I:null==n||null==(d=n.locale)||null==(c=d.options)?void 0:c.weekStartsOn)?T:M.weekStartsOn)?O:null==(f=M.locale)||null==(h=f.options)?void 0:h.weekStartsOn)?L:0,R=(0,s.a)(e,null==n?void 0:n.in);if(!(0,x.$)(R)&&"number"!=typeof R||isNaN(+(0,s.a)(R)))throw RangeError("Invalid time value");let F=t.match(E).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,b.m[t])(e,D.formatLong):e}).join("").match(C).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(S);return t?t[1].replace(A,"'"):e}(e)};if(m[t])return{isToken:!0,value:e};
21if(t.match(k))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});D.localize.preprocessor&&(F=D.localize.preprocessor(R,F));let z={firstWeekContainsDate:j,weekStartsOn:_,locale:D};return F.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,w.xM)(i)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,w.ef)(i))&&(0,w.Ss)(i,t,String(e)),(0,m[i[0]])(R,i,D.localize,z)}).join("")}},48877:(e,t,n)=>{var r=n(66581),i=n(16799),a=n(13920),o=n(23356);e.exports=function(e,t,n){if(!o(n))return!1;var s=typeof t;return("number"==s?!!(i(n)&&a(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}},48983:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,a=l(e),o=a[0],s=a[1],u=new i((o+s)*3/4-s),c=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],o=0,s=r-i;o<s;o+=16383)a.push(function(e,t,r){for(var i,a=[],o=t;o<r;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&a.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),a.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)n[o]=a[o],r[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},49769:(e,t,n)=>{"use strict";n.d(t,{e:()=>s,$:()=>o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),r.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="MagnifyingGlassIcon";let s=o},50016:(e,t,n)=>{"use strict";n.d(t,{$p$:()=>S,D3D:()=>c,MKb:()=>y,Mtm:()=>g,Oer:()=>C,RiX:()=>w,Srz:()=>l,TBE:()=>o,YJP:()=>h,vKP:()=>p});var r=n(55729);function i(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var a=["color"],o=(0,r.forwardRef)(function(e,t){var n=e.color,o=i(e,a);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),(0,r.createElement)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819
21L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),s=["color"],l=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,s);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],c=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,u);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),d=["color"],h=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,d);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),f=["color"],p=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,f);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),m=["color"],g=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,m);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),v=["color"],y=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,v);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),b=["color"],w=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,b);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:void 0===n?"currentColor":n}))}),x=["color"],C=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,x);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),E=["color"],S=(0,r.forwardRef)(function(e,t){var n=e.color,a=i(e,E);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))})},50025:(e,t,n)=>{e.exports=n(45516).Uint8Array}
21,50123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return C},useLinkStatus:function(){return x}});let r=n(78963),i=n(6029),a=r._(n(55729)),o=n(86425),s=n(61413),l=n(32584),u=n(92018),c=n(51991),d=n(11828),h=n(52056),f=n(28321),p=n(35588),m=n(91609);n(32351);let g=new Set;function v(e,t,n,r){if((0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=a.default.forwardRef(function(e,t){let n,r,{href:l,as:g,children:b,prefetch:w=null,passHref:x,replace:C,shallow:E,scroll:S,locale:A,onClick:k,onNavigate:N,onMouseEnter:P,onTouchStart:I,legacyBehavior:T=!1,...O}=e;n=b,T&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let L=a.default.useContext(d.RouterContext),M=!1!==w,{href:D,as:j}=a.default.useMemo(()=>{if(!L){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(L,l,!0);return{href:e,as:g?(0,o.resolveHref)(L,g):t||e}},[L,l,g]),_=a.default.useRef(D),R=a.default.useRef(j);T&&(r=a.default.Children.only(n));let F=T?r&&"object"==typeof r&&r.ref:t,[z,B,V]=(0,h.useIntersection)({rootMargin:"200px"}),U=a.default.useCallback(e=>{(R.current!==j||_.current!==D)&&(V(),R.current=j,_.current=D),z(e)},[j,D,V,z]),q=(0,m.useMergedRef)(U,F);a.default.useEffect(()=>{L&&B&&M&&v(L,D,j,{locale:A})},[j,D,B,A,M,null==L?void 0:L.locale,L]);let H={ref:q,onClick(e){T||"function"!=typeof k||k(e),T&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&(e.defaultPrevented||function(e,t,n,r,i,a,o,l,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,s.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==o||o;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:l,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,L,D,j,C,E,S,A,N))},onMouseEnter(e){T||"function"!=typeof P||P(e),T&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&v(L,D,j,{locale:A,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){T||"function"!=typeof I||I(e),T&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&v(L,D,j,{locale:A,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(j))H.href=j;else if(!T||x||"a"===r.type&&!("href"in r.props)){let e=void 0!==A?A:null==L?void 0:L.locale;H.href=(null==L?void 0:L.isLocaleDomain)&&(0,f.getDomainLocale)(j,e,null==L?void 0:L.locales,null==L?void 0:L.domainLocales)||(0,p.addBasePath)((0,c.addLocale)(j,e,null==L?void 0:L.defaultLocale))}return T?a.default.cloneElement(r,H):(0,i.jsx)("a",{...O,...H,children:n})}),w=(0,a.createContext)({pending:!1}),x=()=>(0,a.useContext)(w),C=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50172:e=>{"use strict";e.exports=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v,y,b,w,x,C,E,S,A,k;n=e.state,r=e.next_in,A=e.input,i=r+(e.avail_in-5),a=e.next_out,k=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;n:do for(p<15&&(f+=A[r++]<<p,p+=8,f+=A[r++]<<p,p+=8),b=m[f&v];;){if(f>>>=w=b>>>24,p-=w,0==(w=b>>>16&255))k[a++]=65535&b;else if(16&w)for(x=65535&b,(w&=15)&&(p<w&&(f+=A[r++]<<p,p+=8),x+=f&(1<<w)-1,f>>>=w,p-=w),p<15&&(f+=A[r++]<<p,p+=8,f+=A[r++]<<p,p+=8),b=g[f&y];;){if(f>>>=w=b>>>24,p-=w,16&(w=b>>>16&255)){if(C=65535&b,p<(w&=15)&&(f+=A[r++]<<p,(p+=8)<w&&(f+=A[r++]<<p,p+=8)),(C+=f&(1<<w)-1)>
21l){e.msg="invalid distance too far back",n.mode=30;break n}if(f>>>=w,p-=w,C>(w=a-o)){if((w=C-w)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break n}if(E=0,S=h,0===d){if(E+=u-w,w<x){x-=w;do k[a++]=h[E++];while(--w);E=a-C,S=k}}else if(d<w){if(E+=u+d-w,(w-=d)<x){x-=w;do k[a++]=h[E++];while(--w);if(E=0,d<x){x-=w=d;do k[a++]=h[E++];while(--w);E=a-C,S=k}}}else if(E+=d-w,w<x){x-=w;do k[a++]=h[E++];while(--w);E=a-C,S=k}for(;x>2;)k[a++]=S[E++],k[a++]=S[E++],k[a++]=S[E++],x-=3;x&&(k[a++]=S[E++],x>1&&(k[a++]=S[E++]))}else{E=a-C;do k[a++]=k[E++],k[a++]=k[E++],k[a++]=k[E++],x-=3;while(x>2);x&&(k[a++]=k[E++],x>1&&(k[a++]=k[E++]))}}else if((64&w)==0){b=g[(65535&b)+(f&(1<<w)-1)];continue}else{e.msg="invalid distance code",n.mode=30;break n}break}else if((64&w)==0){b=m[(65535&b)+(f&(1<<w)-1)];continue}else if(32&w){n.mode=12;break n}else{e.msg="invalid literal/length code",n.mode=30;break n}break}while(r<i&&a<s);r-=x=p>>3,p-=x<<3,f&=(1<<p)-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?5+(i-r):5-(r-i),e.avail_out=a<s?257+(s-a):257-(a-s),n.hold=f,n.bits=p}},50212:(e,t,n)=>{"use strict";function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{$:()=>r,A:()=>i});let i=r},50515:(e,t,n)=>{var r=n(33573),i=n(3619);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},50623:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(17325),i=n(87540),a=n(21841);class o{filterSelectedNumber(){return[this.selectedEventTypes.length>0,this.setSelectedEventTags.length>0,void 0!==this.startDate,void 0!==this.endDate,this.place.length>0,this.selectedPlaceTypes.length>0,null!==this.location||null!==this.locationDistance].reduce((e,t)=>(t&&e++,e),0)}setSelectedEventTypes(e){this.selectedEventTypes=e}setSelectedPlaceTypes(e){this.selectedPlaceTypes=e}setCurrentPage(e){this.currentPage=e}setEventsPerPage(e){this.eventsPerPage=e}setActiveData(e){this.activeData="events"}setSelectedEventTags(e){this.selectedEventTags=e}setStartDate(e){this.startDate=e}setEndDate(e){this.endDate=e}setSelectedDateOption(e){this.selectedDateOption=e,null===e&&this.setRangeDate({from:void 0,to:void 0})}setRangeDate(e){this.rangeDate=e,this.startDate=(null==e?void 0:e.from)||(null==e?void 0:e.to),this.endDate=(null==e?void 0:e.to)||(null==e?void 0:e.from)}setShowMap(e){this.showMap=e}setDebounceTimeout(e){this.debounceTimeout=e}isLoading(){return this.loading}setLoading(e){this.loading=e}setLocationFilter(e,t,n){this.zipCode=e,this.city=t,this.country=n}setMapBounds(e){this.mapBoundsDebounceTimeout&&clearTimeout(this.mapBoundsDebounceTimeout),this.mapBoundsDebounceTimeout=setTimeout(()=>{this.setMapBoundsImmediate(e)},300)}setMapBoundsImmediate(e){this.mapBounds=e}setMapZoomLevel(e){this.setMapZoomLevelImmediate(e)}setMapZoomLevelImmediate(e){this.mapZoomLevel=e}setMapBoundsAndZoom(e,t){this.mapBoundsDebounceTimeout&&clearTimeout(this.mapBoundsDebounceTimeout),this.mapBoundsDebounceTimeout=setTimeout(()=>{this.setMapBoundsImmediate(e),this.setMapZoomLevelImmediate(t)},300)}setLocationAndFilter(e,t,n,r,i){this.setLoading(!0),this.location=e,this.locationText=t,this.zipCode=n,this.city=r,this.country=i,this.setLoading(!1)}resetStore(){this.setSelectedEventTags([]),this.setSelectedEventTypes([]),this.setSelectedDateOption(a.AOA.DEFAULT),this.setPlace(""),this.setRangeDate({from:void 0,to:void 0}),this.setSelectedPlaceTypes([]),this.setSearchText(""),this.setTypedSearchText(""),this.setDebounceTimeout(null),this.mapBoundsDebounceTimeout&&(clearTimeout(this.mapBoundsDebounceTimeout),this.mapBoundsDebounceTimeout=null),this.setLocation(null),this.setLocationDistance(20),this.setLocationText(""),this.setLocationFilter(null,null,null)}get filtersEvents(){var e,t;return{sortBy:a.gxp.CLOSEST_DATES,searchText:this.searchText,locationDistance:this.locationDistance,lat:null==(e=this.location)?void 0:e.lat,long:null==(t=this.location)?void 0:t.lng,dates:this.selectedDateOption,startDate:this.selectedDateOption===a.AOA.CUSTOM&&this.startDate?(0,r.UwG)(this.startDate):void 0,endDate:this.selectedDateOption===a.AOA.CUSTOM&&this.endDate?(0,r.UwG)(this.endDate):void 0,places:this.place,eventTypes:this.selectedEventTypes,placeTypes:[],entryFree:!!this.selectedEventTags.includes("free")||void 0,entryPaid:!!this.selectedEventTags.includes("paid")||void 0,venueIndoor:!!this.selectedEventTags.includes("indoor")||void 0,venueOutdoor:!!this.selectedEventTags.includes("outdoor")||void 0,zipCode:this.zipCode,city:this.city,country:this.country,bounds:this.mapBounds?{northeast:{lat:this.mapBounds.getNorthEast().lat(),lng:this.mapBounds.getNorthEast().lng()}
21,southwest:{lat:this.mapBounds.getSouthWest().lat(),lng:this.mapBounds.getSouthWest().lng()}}:void 0,zoomLevel:this.mapZoomLevel,pagination:{pageIndex:this.currentPage,pageSize:this.eventsPerPage}}}get filtersPlaces(){var e,t;return{name:this.place,searchText:this.searchText,locationDistance:this.locationDistance,lat:null==(e=this.location)?void 0:e.lat,long:null==(t=this.location)?void 0:t.lng,places:this.place,placeTypes:this.selectedPlaceTypes,entryFree:!!this.selectedEventTags.includes("free")||void 0,entryPaid:!!this.selectedEventTags.includes("paid")||void 0,venueIndoor:!!this.selectedEventTags.includes("indoor")||void 0,venueOutdoor:!!this.selectedEventTags.includes("outdoor")||void 0,dates:this.selectedDateOption,customDates:this.selectedDateOption===a.AOA.CUSTOM&&this.startDate&&this.endDate?[this.startDate,this.endDate]:void 0}}constructor(){this.place="",this.selectedEventTypes=[],this.selectedPlaceTypes=[],this.selectedEventTags=[],this.selectedDateOption=a.AOA.DEFAULT,this.rangeDate={from:void 0,to:void 0},this.showMap=!1,this.startDate=void 0,this.endDate=void 0,this.activeData="events",this.eventsPerPage=28,this.currentPage=0,this.typedSearchText="",this.searchText="",this.location=null,this.locationText="",this.locationDistance=20,this.debounceTimeout=null,this.mapBoundsDebounceTimeout=null,this.loading=!0,this.zipCode=null,this.city=null,this.country=null,this.mapBounds=null,this.mapZoomLevel=null,this.setPlace=e=>{this.place=e},this.setLocationText=e=>{this.locationText=null!=e?e:""},this.setTypedSearchText=e=>{this.typedSearchText=e,this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.setCurrentPage(0),this.setSearchText(this.typedSearchText)},500)},this.setSearchText=e=>{this.searchText=e},this.setLocationDistance=e=>{this.locationDistance=e},this.setLocation=e=>{this.location=e},(0,i.l_)(this)}}let s=new o},50761:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6029),i=n(39794),a=n(6109),o=n(23440),s=n(59359);let l=e=>{let{imgUrl:t,name:n,className:l,containerClassName:u,width:c=32,fallbackName:d="userFillBlue",pellet:h=!1,avatarImgClassName:f}=e,p=null!=n?n:"user_avatar";return(0,r.jsxs)("div",{className:(0,i.cn)("relative inline-block",u),children:[(0,r.jsxs)(a.eu,{className:(0,i.cn)(l),children:[(0,r.jsx)(a.BK,{src:t,alt:p,className:f,draggable:!1}),(0,r.jsx)(a.q5,{className:"bg-blue-50",children:(0,r.jsx)(s.B,{name:d,alt:p,width:c})})]}),h&&(0,r.jsx)(o.px,{className:"absolute bottom-0 right-0 size-2.5"})]})}},50874:(e,t,n)=>{e.exports=n(54703)(n(45516),"Map")},50956:(e,t,n)=>{var r=n(34024);e.exports=n(10656)(r)},51642:(e,t,n)=>{"use strict";var r=n(48983),i=n(31838),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var a=0|p(r,i),l=o(a),u=l.write(r,i);return u!==a&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(I(c,Uint8Array)){var m=new Uint8Array(c);return h(m.buffer,m.byteOffset,m.byteLength)}return d(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(I(e,ArrayBuffer)||e&&I(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(I(e,SharedArrayBuffer)||e&&I(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return s.from(g,t,n);var v=function(e){if(s.isBuffer(e)){var t=0|f(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(v)return v;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 17,093 bytes, line 21
21if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),r}function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||I(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return N(e).length;default:if(i)return r?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i,a,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a<n;++a)i+=T[e[a]];return i}(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return i=this,a=t,o=n,0===a&&o===i.length?r.fromByteArray(i):r.fromByteArray(i.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",a=0;a<r.length-1;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}(this,t,n);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){var a;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(a=n*=1)!=a&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return y(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else -1!==c&&(a-=a-c),c=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,h=0;h<l;h++)if(u(e,a+h)!==u(t,h)){d=!1;break}if(d)return a}return -1}function b(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a,o,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}var h=r,f=h.length;if(f<=4096)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<f;)p+=String.fromCharCode.apply(String,h.slice(m,m+=4096));return p}function w(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function C(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function E(e,t,n,r,a){return t*=1,n>>>=0,a||C(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,a){return t*=1,n>>>=0,a||C(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(I(a,Uint8Array))i+a.length>r.length?s.from(a).copy(r,i):Uint8Array.prototype.set.call(r,a,i);else if(s.isBuffer(a))a.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,l=Math.min(a,o),u=this.slice(r,i),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],o=c[d];break}return a<o?-1:+(o<a)},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,l,u,c,d,h=this.length-t;if((void 0===n||n>h)&&(n=h),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var f=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s,l=parseInt(t.substr(2*o,2),16);if((s=l)!=s)break;e[n+o]=l}return o}(this,e,t,n);case"utf8":case"utf-8":return i=t,a=n,P(k(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return o=t,s=n,P(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,o,s);case"base64":return l=t,u=n,P(N(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=n,P(function(e,t){for(var n,r,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(f)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),f=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=255&e;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return E(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return E(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===r&&a<128||"latin1"===r)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,r),l=o.length;
21if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%l]}return this};var A=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function N(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function I(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var T=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},51826:e=>{"use strict";e.exports=JSON.parse('["br","cy","dv","sw","eu","af","am","ha","ku","ml","mt","no","ps","sd","so","sq","ta","tg","tt","ug","ur","vi","ar","az","be","bg","bn","bs","ca","cs","da","de","el","en","es","et","fa","fi","fr","ga","gl","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km","ko","ky","lt","lv","mk","mn","mr","ms","nb","nl","nn","pl","pt","ro","ru","sk","sl","sr","sv","th","tk","tr","uk","uz","zh"]')},51907:(e,t,n)=>{"use strict";n.d(t,{Ec:()=>o,Jg:()=>i,Nu:()=>l,SE:()=>s,Xj:()=>d,oT:()=>f,tB:()=>a,xz:()=>h});var r=n(539);function i(e,t){var n,r,i,a;return null!=(a=null!=(i=null==(n=e.isEqual)?void 0:n.call(e,t))?i:null==(r=t.isEqual)?void 0:r.call(t,e))?a:e.identifier===t.identifier}function a(e){return(0,r.Yd)(Date.now(),e)}function o(e){return(0,r.gw)(a(e))}function s(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function l(e,t){return u(e)-u(t)}function u(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let c=null;function d(){return null==c&&(c=new Intl.DateTimeFormat().resolvedOptions().timeZone),c}function h(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function f(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}},52056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(55729),i=n(54455),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!a,[c,d]=(0,r.useState)(!1),h=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{h.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(u||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:a}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),o.set(n,t),t}(n);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,h.current]),[f,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52182:(e,t,n)=>{var r=n(36592);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},52278:(e,t,n)=>{"use strict";n.d(t,{l6:()=>eO,gC:()=>eR,s3:()=>eL,eb:()=>eF,bq:()=>eD,yv:()=>eM});var r=n(6029),i=n(55729),a=n(50016),o=n(56760),s=n(52535),l=n(25269),u=n(70140),c=n(40041),d=n(99829),h=n(71979),f=n(27555),p=n(74249),m=n(41679),g=n(67913),v=n(20609),y=n(61486),b=n(19639),w=n(97628),x=n(9613),C=n(16697),E=n(35896),S=n(38719),A=n(40748),k=n(20184),N=n(22703),P=[" ","Enter","ArrowUp","ArrowDown"],I=[" ","Enter"],T="Select",[O,L,M]=(0,u.N)(T),[D,j]=(0,d.A)(T,[M,v.Bk]),_=(0,v.Bk)(),[R,F]=D(T),[z,B]=D(T),V=e=>{let{__scopeSelect:t,children:n,open:a,defaultOpen:o,onOpenChange:s,value:l,defaultValue:u,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:y,form:b}=e,w=_(t),[x,E]=i.useState(null),[S,A]=i.useState(null),[k,N]=i.useState(!1),P=(0,h.jH)(d),[I,L]=(0,C.i)({prop:a,defaultProp:o??!1,onChange:s,caller:T}),[M,D]=(0,C.i)({prop:l,defaultProp:u,onChange:c,caller:T}),j=i.useRef(null),F=!x||b||!!x.closest("form"),[B,V]=i.useState(new Set),U=Array.from(B).map(e=>e.props.value).join(";");return(0,r.jsx)(v.bL,{...w,children:(0,r.jsxs)(R,{required:y,scope:t,trigger:x,onTriggerChange:E,valueNode:S,onValueNodeChange:A,valueNodeHasChildren:k,onValueNodeHasChildrenChange:N,contentId:(0,g.B)(),value:M,onValueChange:D,open:I,onOpenChange:L,dir:P,triggerPointerDownPosRef:j,disabled:m,children:[(0,r.jsx)(O.Provider,{scope:t,children:(0,r.jsx)(z,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(e=>{V(t=>new Set(t).add(e))},[]),onNativeOptionRemove:i.useCallback(e=>{V(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),F?(0,r.jsxs)(ek,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:p,value:M,onChange:e=>D(e.target.value),disabled:m,form:b,children:[void 0===M?(0,r.jsx)("option",{value:""}):null,Array.from(B)]},U):null]})})};V.displayName=T;var U="SelectTrigger",q=i.forwardRef((e,t)=>
21{let{__scopeSelect:n,disabled:a=!1,...o}=e,s=_(n),u=F(U,n),d=u.disabled||a,h=(0,c.s)(t,u.onTriggerChange),f=L(n),p=i.useRef("touch"),[m,g,y]=eP(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=eI(t,e,n);void 0!==r&&u.onValueChange(r.value)}),w=e=>{d||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,r.jsx)(v.Mz,{asChild:!0,...s,children:(0,r.jsx)(b.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":eN(u.value)?"":void 0,...o,ref:h,onClick:(0,l.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:(0,l.mK)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,l.mK)(o.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&P.includes(e.key)&&(w(),e.preventDefault())})})})});q.displayName=U;var H="SelectValue",Z=i.forwardRef((e,t)=>{let{__scopeSelect:n,className:i,style:a,children:o,placeholder:s="",...l}=e,u=F(H,n),{onValueNodeHasChildrenChange:d}=u,h=void 0!==o,f=(0,c.s)(t,u.onValueNodeChange);return(0,E.N)(()=>{d(h)},[d,h]),(0,r.jsx)(b.sG.span,{...l,ref:f,style:{pointerEvents:"none"},children:eN(u.value)?(0,r.jsx)(r.Fragment,{children:s}):o})});Z.displayName=H;var W=i.forwardRef((e,t)=>{let{__scopeSelect:n,children:i,...a}=e;return(0,r.jsx)(b.sG.span,{"aria-hidden":!0,...a,ref:t,children:i||"▼"})});W.displayName="SelectIcon";var G=e=>(0,r.jsx)(y.Z,{asChild:!0,...e});G.displayName="SelectPortal";var $="SelectContent",K=i.forwardRef((e,t)=>{let n=F($,e.__scopeSelect),[a,s]=i.useState();return((0,E.N)(()=>{s(new DocumentFragment)},[]),n.open)?(0,r.jsx)(J,{...e,ref:t}):a?o.createPortal((0,r.jsx)(Y,{scope:e.__scopeSelect,children:(0,r.jsx)(O.Slot,{scope:e.__scopeSelect,children:(0,r.jsx)("div",{children:e.children})})}),a):null});K.displayName=$;var[Y,X]=D($),Q=(0,w.TL)("SelectContent.RemoveScroll"),J=i.forwardRef((e,t)=>{let{__scopeSelect:n,position:a="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:u,side:d,sideOffset:h,align:g,alignOffset:v,arrowPadding:y,collisionBoundary:b,collisionPadding:w,sticky:x,hideWhenDetached:C,avoidCollisions:E,...S}=e,A=F($,n),[P,I]=i.useState(null),[T,O]=i.useState(null),M=(0,c.s)(t,e=>I(e)),[D,j]=i.useState(null),[_,R]=i.useState(null),z=L(n),[B,V]=i.useState(!1),U=i.useRef(!1);i.useEffect(()=>{if(P)return(0,k.Eq)(P)},[P]),(0,p.Oh)();let q=i.useCallback(e=>{let[t,...n]=z().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:"nearest"}),n===t&&T&&(T.scrollTop=0),n===r&&T&&(T.scrollTop=T.scrollHeight),n?.focus(),document.activeElement!==i))return},[z,T]),H=i.useCallback(()=>q([D,P]),[q,D,P]);i.useEffect(()=>{B&&H()},[B,H]);let{onOpenChange:Z,triggerPointerDownPosRef:W}=A;i.useEffect(()=>{if(P){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(W.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(W.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||Z(!1),document.removeEventListener("pointermove",t),W.current=null};return null!==W.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,Z,W]),i.useEffect(()=>{let e=()=>Z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[Z]);let[G,K]=eP(e=>{let t=z().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eI(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),X=i.useCallback((e,t,n)=>{let r=!U.current&&!n;(void 0!==A.value&&A.value===t||r)&&(j(e),r&&(U.current=!0))},[A.value]),J=i.useCallback(()=>P?.focus(),[P]),en=i.useCallback((e,t,n)=>{let r=!U.current&&!n;(void 0!==A.value&&A.value===t||r)&&R(e)},[A.value]),er="popper"===a?et:ee,ei=er===et?{side:d,sideOffset:h,align:g,alignOffset:v,arrowPadding:y,collisionBoundary:b,collisionPadding:w,sticky:x,hideWhenDetached:C,avoidCollisions:E}:{};return(0,r.jsx)(Y,{scope:n,content:P,viewport:T,onViewportChange:O,itemRefCallback:X,selectedItem:D,onItemLeave:J,itemTextRefCallback:en,focusSelectedItem:H,selectedItemText:_,position:a,isPositioned:B,searchRef:G,children:(0,r.jsx)(N.A,{as:Q,allowPinchZoom:!0,children:(0,r.jsx)(m.n,{asChild:!0,trapped:A.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.mK)(o,e=>{A.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,r.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:(0,r.jsx)(er,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:e=>e.preventDefault(),...S,...ei,onPlaced:()=>V(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:(0,l.mK)(S.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
21if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||K(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=z().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>q(t)),e.preventDefault()}})})})})})})});J.displayName="SelectContentImpl";var ee=i.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:a,...o}=e,l=F($,n),u=X($,n),[d,h]=i.useState(null),[f,p]=i.useState(null),m=(0,c.s)(t,e=>p(e)),g=L(n),v=i.useRef(!1),y=i.useRef(!0),{viewport:w,selectedItem:x,selectedItemText:C,focusSelectedItem:S}=u,A=i.useCallback(()=>{if(l.trigger&&l.valueNode&&d&&f&&w&&x&&C){let e=l.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=l.valueNode.getBoundingClientRect(),r=C.getBoundingClientRect();if("rtl"!==l.dir){let i=r.left-t.left,a=n.left-i,o=e.left-a,l=e.width+o,u=Math.max(l,t.width),c=window.innerWidth-10,h=(0,s.q)(a,[10,Math.max(10,c-u)]);d.style.minWidth=l+"px",d.style.left=h+"px"}else{let i=t.right-r.right,a=window.innerWidth-n.right-i,o=window.innerWidth-e.right-a,l=e.width+o,u=Math.max(l,t.width),c=window.innerWidth-10,h=(0,s.q)(a,[10,Math.max(10,c-u)]);d.style.minWidth=l+"px",d.style.right=h+"px"}let i=g(),o=window.innerHeight-20,u=w.scrollHeight,c=window.getComputedStyle(f),h=parseInt(c.borderTopWidth,10),p=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),y=h+p+u+parseInt(c.paddingBottom,10)+m,b=Math.min(5*x.offsetHeight,y),E=window.getComputedStyle(w),S=parseInt(E.paddingTop,10),A=parseInt(E.paddingBottom,10),k=e.top+e.height/2-10,N=x.offsetHeight/2,P=h+p+(x.offsetTop+N);if(P<=k){let e=i.length>0&&x===i[i.length-1].ref.current;d.style.bottom="0px";let t=Math.max(o-k,N+(e?A:0)+(f.clientHeight-w.offsetTop-w.offsetHeight)+m);d.style.height=P+t+"px"}else{let e=i.length>0&&x===i[0].ref.current;d.style.top="0px";let t=Math.max(k,h+w.offsetTop+(e?S:0)+N);d.style.height=t+(y-P)+"px",w.scrollTop=P-k+w.offsetTop}d.style.margin="10px 0",d.style.minHeight=b+"px",d.style.maxHeight=o+"px",a?.(),requestAnimationFrame(()=>v.current=!0)}},[g,l.trigger,l.valueNode,d,f,w,x,C,l.dir,a]);(0,E.N)(()=>A(),[A]);let[k,N]=i.useState();(0,E.N)(()=>{f&&N(window.getComputedStyle(f).zIndex)},[f]);let P=i.useCallback(e=>{e&&!0===y.current&&(A(),S?.(),y.current=!1)},[A,S]);return(0,r.jsx)(en,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:v,onScrollButtonChange:P,children:(0,r.jsx)("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,r.jsx)(b.sG.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});ee.displayName="SelectItemAlignedPosition";var et=i.forwardRef((e,t)=>{let{__scopeSelect:n,align:i="start",collisionPadding:a=10,...o}=e,s=_(n);return(0,r.jsx)(v.UC,{...s,...o,ref:t,align:i,collisionPadding:a,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});et.displayName="SelectPopperPosition";var[en,er]=D($,{}),ei="SelectViewport",ea=i.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:a,...o}=e,s=X(ei,n),u=er(ei,n),d=(0,c.s)(t,s.onViewportChange),h=i.useRef(0);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,r.jsx)(O.Slot,{scope:n,children:(0,r.jsx)(b.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,l.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(r?.current&&n){let e=Math.abs(h.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<r){let a=i+e,o=Math.min(r,a),s=a-o;n.style.height=o+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}h.current=t.scrollTop})})})]})});ea.displayName=ei;var eo="SelectGroup",[es,el]=D(eo),eu=i.forwardRef((e,t)=>
21{let{__scopeSelect:n,...i}=e,a=(0,g.B)();return(0,r.jsx)(es,{scope:n,id:a,children:(0,r.jsx)(b.sG.div,{role:"group","aria-labelledby":a,...i,ref:t})})});eu.displayName=eo;var ec="SelectLabel",ed=i.forwardRef((e,t)=>{let{__scopeSelect:n,...i}=e,a=el(ec,n);return(0,r.jsx)(b.sG.div,{id:a.id,...i,ref:t})});ed.displayName=ec;var eh="SelectItem",[ef,ep]=D(eh),em=i.forwardRef((e,t)=>{let{__scopeSelect:n,value:a,disabled:o=!1,textValue:s,...u}=e,d=F(eh,n),h=X(eh,n),f=d.value===a,[p,m]=i.useState(s??""),[v,y]=i.useState(!1),w=(0,c.s)(t,e=>h.itemRefCallback?.(e,a,o)),x=(0,g.B)(),C=i.useRef("touch"),E=()=>{o||(d.onValueChange(a),d.onOpenChange(!1))};if(""===a)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,r.jsx)(ef,{scope:n,value:a,disabled:o,textId:x,isSelected:f,onItemTextChange:i.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,r.jsx)(O.ItemSlot,{scope:n,value:a,disabled:o,textValue:p,children:(0,r.jsx)(b.sG.div,{role:"option","aria-labelledby":x,"data-highlighted":v?"":void 0,"aria-selected":f&&v,"data-state":f?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:w,onFocus:(0,l.mK)(u.onFocus,()=>y(!0)),onBlur:(0,l.mK)(u.onBlur,()=>y(!1)),onClick:(0,l.mK)(u.onClick,()=>{"mouse"!==C.current&&E()}),onPointerUp:(0,l.mK)(u.onPointerUp,()=>{"mouse"===C.current&&E()}),onPointerDown:(0,l.mK)(u.onPointerDown,e=>{C.current=e.pointerType}),onPointerMove:(0,l.mK)(u.onPointerMove,e=>{C.current=e.pointerType,o?h.onItemLeave?.():"mouse"===C.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.mK)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&h.onItemLeave?.()}),onKeyDown:(0,l.mK)(u.onKeyDown,e=>{(h.searchRef?.current===""||" "!==e.key)&&(I.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});em.displayName=eh;var eg="SelectItemText",ev=i.forwardRef((e,t)=>{let{__scopeSelect:n,className:a,style:s,...l}=e,u=F(eg,n),d=X(eg,n),h=ep(eg,n),f=B(eg,n),[p,m]=i.useState(null),g=(0,c.s)(t,e=>m(e),h.onItemTextChange,e=>d.itemTextRefCallback?.(e,h.value,h.disabled)),v=p?.textContent,y=i.useMemo(()=>(0,r.jsx)("option",{value:h.value,disabled:h.disabled,children:v},h.value),[h.disabled,h.value,v]),{onNativeOptionAdd:w,onNativeOptionRemove:x}=f;return(0,E.N)(()=>(w(y),()=>x(y)),[w,x,y]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.sG.span,{id:h.textId,...l,ref:g}),h.isSelected&&u.valueNode&&!u.valueNodeHasChildren?o.createPortal(l.children,u.valueNode):null]})});ev.displayName=eg;var ey="SelectItemIndicator";i.forwardRef((e,t)=>{let{__scopeSelect:n,...i}=e;return ep(ey,n).isSelected?(0,r.jsx)(b.sG.span,{"aria-hidden":!0,...i,ref:t}):null}).displayName=ey;var eb="SelectScrollUpButton",ew=i.forwardRef((e,t)=>{let n=X(eb,e.__scopeSelect),a=er(eb,e.__scopeSelect),[o,s]=i.useState(!1),l=(0,c.s)(t,a.onScrollButtonChange);return(0,E.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){s(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,r.jsx)(eE,{...e,ref:l,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ew.displayName=eb;var ex="SelectScrollDownButton",eC=i.forwardRef((e,t)=>{let n=X(ex,e.__scopeSelect),a=er(ex,e.__scopeSelect),[o,s]=i.useState(!1),l=(0,c.s)(t,a.onScrollButtonChange);return(0,E.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,r.jsx)(eE,{...e,ref:l,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eC.displayName=ex;var eE=i.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:a,...o}=e,s=X("SelectScrollButton",n),u=i.useRef(null),c=L(n),d=i.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),(0,E.N)(()=>{let e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,r.jsx)(b.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,l.mK)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(a,50))}),onPointerMove:(0,l.mK)(o.onPointerMove,()=>{s.onItemLeave?.(),null===u.current&&(u.current=window.setInterval(a,50))}),onPointerLeave:(0,l.mK)(o.onPointerLeave,()=>{d()})})}),eS=i.forwardRef((e,t)=>
21{let{__scopeSelect:n,...i}=e;return(0,r.jsx)(b.sG.div,{"aria-hidden":!0,...i,ref:t})});eS.displayName="SelectSeparator";var eA="SelectArrow";i.forwardRef((e,t)=>{let{__scopeSelect:n,...i}=e,a=_(n),o=F(eA,n),s=X(eA,n);return o.open&&"popper"===s.position?(0,r.jsx)(v.i3,{...a,...i,ref:t}):null}).displayName=eA;var ek=i.forwardRef(({__scopeSelect:e,value:t,...n},a)=>{let o=i.useRef(null),s=(0,c.s)(a,o),l=(0,S.Z)(t);return i.useEffect(()=>{let e=o.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(l!==t&&n){let r=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[l,t]),(0,r.jsx)(b.sG.select,{...n,style:{...A.Qg,...n.style},ref:s,defaultValue:t})});function eN(e){return""===e||void 0===e}function eP(e){let t=(0,x.c)(e),n=i.useRef(""),r=i.useRef(0),a=i.useCallback(e=>{let i=n.current+e;t(i),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),o=i.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,o]}function eI(e,t,n){var r,i;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,s=(r=e,i=Math.max(o,0),r.map((e,t)=>r[(i+t)%r.length]));1===a.length&&(s=s.filter(e=>e!==n));let l=s.find(e=>e.textValue.toLowerCase().startsWith(a.toLowerCase()));return l!==n?l:void 0}ek.displayName="SelectBubbleInput";var eT=n(39794);let eO=V,eL=eu,eM=Z,eD=i.forwardRef((e,t)=>{let{className:n,children:i,...o}=e;return(0,r.jsxs)(q,{ref:t,className:(0,eT.cn)("border-input ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border bg-white px-3 py-2 text-sm shadow-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",n),...o,children:[i,(0,r.jsx)(W,{asChild:!0,children:(0,r.jsx)(a.TBE,{className:"size-4 opacity-50"})})]})});eD.displayName=q.displayName;let ej=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(ew,{ref:t,className:(0,eT.cn)("flex cursor-default items-center justify-center py-1",n),...i,children:(0,r.jsx)(a.Mtm,{})})});ej.displayName=ew.displayName;let e_=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(eC,{ref:t,className:(0,eT.cn)("flex cursor-default items-center justify-center py-1",n),...i,children:(0,r.jsx)(a.D3D,{})})});e_.displayName=eC.displayName;let eR=i.forwardRef((e,t)=>{let{className:n,children:i,position:a="popper",...o}=e;return(0,r.jsx)(G,{children:(0,r.jsxs)(K,{ref:t,className:(0,eT.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n),position:a,...o,children:[(0,r.jsx)(ej,{}),(0,r.jsx)(ea,{className:(0,eT.cn)("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:i}),(0,r.jsx)(e_,{})]})})});eR.displayName=K.displayName,i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(ed,{ref:t,className:(0,eT.cn)("px-2 py-1.5 text-sm font-semibold",n),...i})}).displayName=ed.displayName;let eF=i.forwardRef((e,t)=>{let{className:n,children:i,...a}=e;return(0,r.jsx)(em,{ref:t,className:(0,eT.cn)("focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...a,children:(0,r.jsx)(ev,{children:i})})});eF.displayName=em.displayName,i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(eS,{ref:t,className:(0,eT.cn)("bg-muted -mx-1 my-1 h-px",n),...i})}).displayName=eS.displayName},52444:(e,t,n)=>{"use strict";n.d(t,{T:()=>
21o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,60a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,60Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,124Zm0-112a92.1,92.1,0,0,0-92,92c0,77.36,81.64,135.4,85.12,137.83a12,12,0,0,0,13.76,0,259,259,0,0,0,42.18-39C205.15,170.57,220,136.37,220,104A92.1,92.1,0,0,0,128,12Zm31.3,174.71A249.35,249.35,0,0,1,128,216.89a249.35,249.35,0,0,1-31.3-30.18C80,167.37,60,137.31,60,104a68,68,0,0,1,136,0C196,137.31,176,167.37,159.3,186.71Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24a80,80,0,0,0-80,80c0,72,80,128,80,128s80-56,80-128A80,80,0,0,0,128,24Zm0,112a32,32,0,1,1,32-32A32,32,0,0,1,128,136Z",opacity:"0.2"}),r.createElement("path",{d:"M128,64a40,40,0,1,0,40,40A40,40,0,0,0,128,64Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,128Zm0-112a88.1,88.1,0,0,0-88,88c0,31.4,14.51,64.68,42,96.25a254.19,254.19,0,0,0,41.45,38.3,8,8,0,0,0,9.18,0A254.19,254.19,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25A88.1,88.1,0,0,0,128,16Zm0,206c-16.53-13-72-60.75-72-118a72,72,0,0,1,144,0C200,161.23,144.53,209,128,222Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,16a88.1,88.1,0,0,0-88,88c0,75.3,80,132.17,83.41,134.55a8,8,0,0,0,9.18,0C136,236.17,216,179.3,216,104A88.1,88.1,0,0,0,128,16Zm0,56a32,32,0,1,1-32,32A32,32,0,0,1,128,72Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,66a38,38,0,1,0,38,38A38,38,0,0,0,128,66Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,130Zm0-112a86.1,86.1,0,0,0-86,86c0,30.91,14.34,63.74,41.47,94.94a252.32,252.32,0,0,0,41.09,38,6,6,0,0,0,6.88,0,252.32,252.32,0,0,0,41.09-38c27.13-31.2,41.47-64,41.47-94.94A86.1,86.1,0,0,0,128,18Zm0,206.51C113,212.93,54,163.62,54,104a74,74,0,0,1,148,0C202,163.62,143,212.93,128,224.51Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,64a40,40,0,1,0,40,40A40,40,0,0,0,128,64Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,128Zm0-112a88.1,88.1,0,0,0-88,88c0,31.4,14.51,64.68,42,96.25a254.19,254.19,0,0,0,41.45,38.3,8,8,0,0,0,9.18,0A254.19,254.19,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25A88.1,88.1,0,0,0,128,16Zm0,206c-16.53-13-72-60.75-72-118a72,72,0,0,1,144,0C200,161.23,144.53,209,128,222Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,68a36,36,0,1,0,36,36A36,36,0,0,0,128,68Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,132Zm0-112a84.09,84.09,0,0,0-84,84c0,30.42,14.17,62.79,41,93.62a250,250,0,0,0,40.73,37.66,4,4,0,0,0,4.58,0A250,250,0,0,0,171,197.62c26.81-30.83,41-63.2,41-93.62A84.09,84.09,0,0,0,128,20Zm37.1,172.23A254.62,254.62,0,0,1,128,227a254.62,254.62,0,0,1-37.1-34.81C73.15,171.8,52,139.9,52,104a76,76,0,0,1,152,0C204,139.9,182.85,171.8,165.1,192.23Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="MapPinIcon"},52535:(e,t,n)=>{"use strict";function r(e,[t,n]){return Math.min(n,Math.max(t,e))}n.d(t,{q:()=>r})},52789:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(1909);let i=(e,t,n)=>{if(e&&"reportValidity"in e){let i=(0,r.Jt)(n,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},a=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?i(r.ref,n,e):r.refs&&r.refs.forEach(t=>i(t,n,e))}},o=(e,t)=>e.some(e=>e.startsWith(t+"."));var s=function(e,t){for(var n={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");if(!n[s])if("unionErrors"in i){var l=i.unionErrors[0].errors[0];n[s]={message:l.message,type:l.code}}else n[s]={message:o,type:a};if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=n[s].types,c=u&&u[i.code];n[s]=(0,r.Gb)(s,t,n,a,c?[].concat(c,i.message):i.message)}e.shift()}return n},l=function(e,t,n){return void 0===n&&(n={}),function(i,l,u){try{return Promise.resolve(function(r,o){try{var s=Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](i,t)).then(function(e){return u.shouldUseNativeValidation&&a({},u),{errors:{},values:n.raw?i:e}})}catch(e){return o(e)}return s&&s.then?s.then(void 0,o):s}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:((e,t)=>{t.shouldUseNativeValidation&&a(e,t);let n={};for(let i in e){let a=(0,r.Jt)(t.fields,i),s=Object.assign(e[i]||{},{ref:a&&a.ref});if(o(t.names||Object.keys(e),i)){let e=Object.assign({},(0,r.Jt)(n,i));(0,r.hZ)(e,"root",s),(0,r.hZ)(n,i,e)}else(0,r.hZ)(n,i,s)}return n})(s(e.errors,!u.shouldUseNativeValidation&&"all"===u.criteriaMode),u)};throw e}))}catch(e){return Promise.reject(e)}}}},53140:(e,t,n)=>{var r=n(64593),i=n(50874),a=n(9929),o=n(31736),s=n(24490),l=n(33573),u=n(99048),c="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=u(r),g=u(i),v=u(a),y=u(o),b=u(s),w=l;
21(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=c||a&&w(a.resolve())!=d||o&&w(new o)!=h||s&&w(new s)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return p;case g:return c;case v:return d;case y:return h;case b:return f}return t}),e.exports=w},53325:(e,t,n)=>{var r=n(1278);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},53706:(e,t,n)=>{"use strict";n.d(t,{eO:()=>d,PA:()=>w});var r,i,a=n(87540),o=n(55729);if(!o.useState)throw Error("mobx-react-lite requires React with Hooks support");if(!a.Gn)throw Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var s=n(56760);function l(e){e()}function u(e){return(0,a.yl)(e)}var c=!1;function d(e){c=e}var h=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),f=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:h)(function(e){var t;null==(t=e.reaction)||t.dispose(),e.reaction=null}),p=n(27133);function m(e){e.reaction=new a.qT("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null==(t=e.onStoreChange)||t.call(e)})}var g="function"==typeof Symbol&&Symbol.for,v=null!=(i=null==(r=Object.getOwnPropertyDescriptor(function(){},"name"))?void 0:r.configurable)&&i,y=g?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)(function(e){return null}).$$typeof,b=g?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)(function(e){return null}).$$typeof;function w(e,t){if(b&&e.$$typeof===b)throw Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(c)return e;var n,r,i,a=null!=(i=null==t?void 0:t.forwardRef)&&i,s=e,l=e.displayName||e.name;if(y&&e.$$typeof===y&&(a=!0,"function"!=typeof(s=e.render)))throw Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var d=function(e,t){return function(e,t){if(void 0===t&&(t="observed"),c)return e();var n,r,i=o.useRef(null);if(!i.current){var a={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return f.unregister(a),a.onStoreChange=e,a.reaction||(m(a),a.stateVersion=Symbol()),function(){var e;a.onStoreChange=null,null==(e=a.reaction)||e.dispose(),a.reaction=null}},getSnapshot:function(){return a.stateVersion}};i.current=a}var s=i.current;if(s.reaction||(m(s),f.register(i,s,s)),o.useDebugValue(s.reaction,u),(0,p.useSyncExternalStore)(s.subscribe,s.getSnapshot,s.getSnapshot),s.reaction.track(function(){try{n=e()}catch(e){r=e}}),r)throw r;return n}(function(){return s(e,t)},l)};return d.displayName=e.displayName,v&&Object.defineProperty(d,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(d.contextTypes=e.contextTypes),a&&(d=(0,o.forwardRef)(d)),n=e,r=d=(0,o.memo)(d),Object.keys(n).forEac
21h(function(e){x[e]||Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),d}var x={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};!function(e){e||(e=l),(0,a.jK)({reactionScheduler:e})}(s.unstable_batchedUpdates),f.finalizeAllImmediately},54052:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029);n(55729);var i=n(67733);let a=e=>{let{fill:t="",width:n=32,height:i=32,className:a=""}=e;return(0,r.jsx)("svg",{width:n,height:i,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,r.jsx)("path",{d:"M26.7075 12.7076L16.7075 22.7076C16.6146 22.8005 16.5043 22.8743 16.3829 22.9246C16.2615 22.975 16.1314 23.0009 16 23.0009C15.8686 23.0009 15.7385 22.975 15.6171 22.9246C15.4957 22.8743 15.3854 22.8005 15.2925 22.7076L5.29251 12.7076C5.10487 12.5199 4.99945 12.2654 4.99945 12.0001C4.99945 11.7347 5.10487 11.4802 5.29251 11.2926C5.48015 11.1049 5.73464 10.9995 6.00001 10.9995C6.26537 10.9995 6.51987 11.1049 6.70751 11.2926L16 20.5863L25.2925 11.2926C25.3854 11.1997 25.4957 11.126 25.6171 11.0757C25.7385 11.0254 25.8686 10.9995 26 10.9995C26.1314 10.9995 26.2615 11.0254 26.3829 11.0757C26.5043 11.126 26.6146 11.1997 26.7075 11.2926C26.8004 11.3855 26.8741 11.4958 26.9244 11.6172C26.9747 11.7386 27.0006 11.8687 27.0006 12.0001C27.0006 12.1315 26.9747 12.2616 26.9244 12.383C26.8741 12.5044 26.8004 12.6147 26.7075 12.7076Z"})})};a.propTypes=i.W;let o=a},54703:(e,t,n)=>{var r=n(66046),i=n(72053);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},55648:(e,t,n)=>{"use strict";n.d(t,{a:()=>h});var r=n(6029),i=n(73492),a=n(17325),o=n(75282),s=n(55729);function l(e,t){return e===t}var u=n(65403),c=n(19083),d=n(35077);let h=e=>{let{children:t,selectedIds:n,onConfirm:h,eventId:f,confirmLabel:p="Confirmer",resetLabel:m="R\xe9initialiser"}=e,[g,v]=(0,s.useState)(!1),[y,b]=(0,s.useState)(n),[w,x]=(0,s.useState)(""),[C]=function(e,t,n){var r=(0,s.useRef)(e),i=(0,s.useState)({})[1],a=function(e,t,n,r){var i=this,a=(0,s.useRef)(null),o=(0,s.useRef)(0),l=(0,s.useRef)(0),u=(0,s.useRef)(null),c=(0,s.useRef)([]),d=(0,s.useRef)(),h=(0,s.useRef)(),f=(0,s.useRef)(e),p=(0,s.useRef)(!0);f.current=e;var m="undefined"!=typeof window,g=!t&&0!==t&&m;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var v=!!(n=n||{}).leading,y=!("trailing"in n)||!!n.trailing,b="maxWait"in n,w="debounceOnServer"in n&&!!n.debounceOnServer,x=b?Math.max(+n.maxWait||0,t):null;return(0,s.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,s.useMemo)(function(){var e=function(e){var t=c.current,n=d.current;return c.current=d.current=null,o.current=e,l.current=l.current||e,h.current=f.current.apply(n,t)},n=function(e,t){g&&cancelAnimationFrame(u.current),u.current=g?requestAnimationFrame(e):setTimeout(e,t)},s=function(e){if(!p.current)return!1;var n=e-a.current;return!a.current||n>=t||n<0||b&&e-o.current>=x},C=function(t){return u.current=null,y&&c.current?e(t):(c.current=d.current=null,h.current)},E=function e(){var r=Date.now();if(v&&l.current===o.current&&S(),s(r))return C(r);if(p.current){var i=t-(r-a.current);n(e,b?Math.min(i,x-(r-o.current)):i)}},S=function(){r&&r({})},A=function(){if(m||w){var r=Date.now(),l=s(r);if(c.current=[].slice.call(arguments),d.current=i,a.current=r,l){if(!u.current&&p.current)return o.current=a.current,n(E,t),v?e(a.current):h.current;if(b)return n(E,t),e(a.current)}return u.current||n(E,t),h.current}};return A.cancel=function(){var e=u.current;e&&(g?cancelAnimationFrame(u.current):clearTimeout(u.current)),o.current=0,c.current=a.current=d.current=u.current=null,e&&r&&r({})},A.isPending=function(){return!!u.current},A.flush=function(){return u.current?C(Date.now()):h.current},A},[v,b,t,x,y,g,m,w,r])}((0,s.useCallback)(function(e){r.current=e,i({})},[i]),300,n,i),o=(0,s.useRef)(e);return l(o.current,e)||(a(e),o.current=e),[r.current,a]}(w,0),E=(0,s.useRef)(null);(0,s.useEffect)(()=>{g&&(b(n),x(""))},[g,n]);let{data:S,fetchNextPage:A,hasNextPage:k,isFetchingNextPage:N,isLoading:P}=(0,i.bE0)({searchText:C||void 0,eventId:f,excludeChildren:!0}),I=(0,s.useMemo)(()=>{var e;return null!=(e=null==S?void 0:S.pages.flatMap(e=>e.data))?e:[]},[S]),T=(0,s.useCallback)(e=>{b(t=>(0,a.LFN)(t,e))},[]),O=e=>{e||h(y),v(e)},L=(0,s.useCallback)(()=>
21{if(!E.current)return;let{scrollTop:e,scrollHeight:t,clientHeight:n}=E.current;t-e<=n+50&&k&&!N&&A()},[k,N,A]),M=(0,s.useCallback)(e=>{e.stopPropagation()},[]);return(0,r.jsxs)(d.AM,{open:g,onOpenChange:O,children:[(0,r.jsx)(d.Wv,{asChild:!0,children:t}),(0,r.jsx)(d.hl,{className:"w-80 p-0",align:"start",children:(0,r.jsxs)(c.uB,{shouldFilter:!1,children:[(0,r.jsx)(c.G7,{placeholder:"Rechercher un secteur...",value:w,onValueChange:x}),(0,r.jsx)(c.oI,{ref:E,onScroll:L,onWheel:M,className:"max-h-[250px]",children:P?(0,r.jsx)("div",{className:"py-6 text-center text-sm text-gray-500",children:"Chargement..."}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.xL,{children:"Aucun secteur trouv\xe9"}),(0,r.jsx)(c.L$,{children:I.map(e=>{let t=y.includes(e.id);return(0,r.jsxs)(c.h_,{value:e.id,onSelect:()=>T(e.id),className:"flex cursor-pointer items-center gap-2",children:[(0,r.jsx)("div",{className:"flex size-4 items-center justify-center rounded border ".concat(t?"border-primary-500 bg-primary-500":"border-gray-300"),children:t&&(0,r.jsx)(o.S,{size:12,className:"text-white",weight:"bold"})}),(0,r.jsx)("span",{className:"flex-1 text-sm",children:e.name})]},e.id)})}),N&&(0,r.jsx)("div",{className:"py-2 text-center text-sm text-gray-500",children:"Chargement..."})]})}),(0,r.jsxs)("div",{className:"flex gap-2 border-t p-2",children:[(0,r.jsx)(u.$,{type:"button",variant:"outline",size:"sm",onClick:()=>{b([])},className:"flex-1",children:m}),(0,r.jsx)(u.$,{type:"button",variant:"blue",size:"sm",onClick:()=>{O(!1)},className:"flex-1",children:p})]})]})})]})}},55765:(e,t,n)=>{var r=n(33276);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},55801:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81278);let i=()=>{let{query:e}=(0,r.useRouter)(),t=e.email&&"string"==typeof e.email?e.email:null,n=e.goto&&"string"==typeof e.goto?e.goto:null,i=e.step&&"string"==typeof e.step?e.step:null;return{email:t,goto:n,step:i,type:e.type&&"string"==typeof e.type?e.type:null,invitationId:e.invitationId&&"string"==typeof e.invitationId?e.invitationId:null}}},56061:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(6029),i=n(64713),a=n(90198),o=n(58552),s=n(39794),l=n(46102);
21function u(e){let{control:t,name:n,className:u,labelContent:c,labelClassName:d="",hasMessage:h=!1,onCheckedChange:f,onCheckedAfterChange:p,checkboxClassNames:m,...g}=e;return(0,r.jsx)(i.zB,{control:t,name:n,render:e=>{let{field:t,fieldState:v}=e;return(0,r.jsxs)(i.eI,{className:"w-full flex-1",children:[(0,r.jsxs)("div",{className:(0,s.cn)(l.YA,u),children:[(0,r.jsx)(i.MJ,{children:(0,r.jsx)(a.S,{checked:t.value,onCheckedChange:e=>{f&&f(e),t.onChange(e),p&&p(e)},id:n.replaceAll(".","-"),className:(0,s.cn)(l.t5,{"border-destructive":v.error},m),...g})}),c?(0,r.jsx)(o.J,{className:d,htmlFor:n.replaceAll(".","-"),children:c}):null]}),h?(0,r.jsx)(i.C5,{className:"mt-2"}):null]})}})}},56121:(e,t,n)=>{e.exports=n(61847)()},57140:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},57388:(e,t)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)return void e.set(t.subarray(n,n+r),i);for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(t=0,r=0,n=e.length;t<n;t++)r+=e[t].length;for(t=0,o=new Uint8Array(r),i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,r)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(n)},57428:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),r.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]])},57760:e=>{e.exports=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}},57827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(30758)._(n(55729)).default.createContext(null)},58309:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55729);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:d,...h}=e;return(0,r.createElement)("svg",{ref:t,...o,width:i,height:i,stroke:n,strokeWidth:l?24*Number(s)/Number(i):s,className:a("lucide",u),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(h)&&{"aria-hidden":"true"},...h},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>
21{let n=(0,r.forwardRef)((n,o)=>{let{className:l,...u}=n;return(0,r.createElement)(s,{ref:o,iconNode:t,className:a("lucide-".concat(i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),l),...u})});return n.displayName=i(e),n}},58552:(e,t,n)=>{"use strict";n.d(t,{J:()=>o,b:()=>s});var r=n(55729),i=n(19639),a=n(6029),o=r.forwardRef((e,t)=>(0,a.jsx)(i.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var s=o},58718:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f,A:()=>m});var r=n(6029),i=n(55729),a=n(11211);let o=new Map([["bold",i.createElement(i.Fragment,null,i.createElement("path",{d:"M252,128a60,60,0,0,1-102.43,42.43l-.49-.53L89.22,102.31a36,36,0,1,0,0,51.38l3.08-3.48a12,12,0,1,1,18,15.91l-3.35,3.78-.49.53a60,60,0,1,1,0-84.86l.49.53,59.86,67.59a36,36,0,1,0,0-51.38l-3.08,3.48a12,12,0,1,1-18-15.91l3.35-3.78.49-.53A60,60,0,0,1,252,128Z"}))],["duotone",i.createElement(i.Fragment,null,i.createElement("path",{d:"M225.94,161.94a48,48,0,0,1-67.88,0L128,128l30.06-33.94a48,48,0,0,1,67.88,67.88ZM30.06,94.06a48,48,0,0,0,67.88,67.88L128,128,97.94,94.06A48,48,0,0,0,30.06,94.06Z",opacity:"0.2"}),i.createElement("path",{d:"M248,128a56,56,0,0,1-95.6,39.6l-.33-.35L92.12,99.55a40,40,0,1,0,0,56.9l8.52-9.62a8,8,0,1,1,12,10.61l-8.69,9.81-.33.35a56,56,0,1,1,0-79.2l.33.35,59.95,67.7a40,40,0,1,0,0-56.9l-8.52,9.62a8,8,0,1,1-12-10.61l8.69-9.81.33-.35A56,56,0,0,1,248,128Z"}))],["fill",i.createElement(i.Fragment,null,i.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM204.28,156.28a40,40,0,0,1-56.4.17L97.29,111.34,97,111A24,24,0,1,0,97,145c.36-.36.71-.73,1-1.1a8,8,0,1,1,12,10.6c-.55.62-1.13,1.23-1.71,1.81a40,40,0,1,1-.17-56.73l50.58,45.11.33.31A24,24,0,1,0,159,111c-.36.36-.7.72-1,1.1a8,8,0,0,1-12-10.59c.54-.62,1.12-1.24,1.71-1.82a40,40,0,0,1,56.57,56.56Z"}))],["light",i.createElement(i.Fragment,null,i.createElement("path",{d:"M246,128a54,54,0,0,1-92.18,38.18,3.07,3.07,0,0,1-.25-.26l-60-67.74a42,42,0,1,0,0,59.64l8.57-9.67a6,6,0,1,1,9,8l-8.69,9.81a3.07,3.07,0,0,1-.25.26,54,54,0,1,1,0-76.36,3.07,3.07,0,0,1,.25.26l60,67.74a42,42,0,1,0,0-59.64l-8.57,9.67a6,6,0,1,1-9-8l8.69-9.81a3.07,3.07,0,0,1,.25-.26A54,54,0,0,1,246,128Z"}))],["regular",i.createElement(i.Fragment,null,i.createElement("path",{d:"M248,128a56,56,0,0,1-95.6,39.6l-.33-.35L92.12,99.55a40,40,0,1,0,0,56.9l8.52-9.62a8,8,0,1,1,12,10.61l-8.69,9.81-.33.35a56,56,0,1,1,0-79.2l.33.35,59.95,67.7a40,40,0,1,0,0-56.9l-8.52,9.62a8,8,0,1,1-12-10.61l8.69-9.81.33-.35A56,56,0,0,1,248,128Z"}))],["thin",i.createElement(i.Fragment,null,i.createElement("path",{d:"M244,128a52,52,0,0,1-88.77,36.77l-.17-.18L95,96.8a44,44,0,1,0,0,62.4l8.6-9.72a4,4,0,0,1,6,5.3l-8.68,9.81-.17.18a52,52,0,1,1,0-73.54l.17.18,60,67.79a44,44,0,1,0,0-62.4l-8.6,9.72a4,4,0,0,1-6-5.3l8.68-9.81.17-.18A52,52,0,0,1,244,128Z"}))]]),s=i.forwardRef((e,t)=>i.createElement(a.A,{ref:t,...e,weights:o}));s.displayName="InfinityIcon";var l=n(46102),u=n(59359),c=n(39794),d=n(32337),h=n(64713);function f(e){let{control:t,name:n,...i}=e;return(0,r.jsx)(h.zB,{control:t,name:n,render:e=>(0,r.jsx)(p,{...i,...e})})}function p(e){var t;let{label:n,hasMessage:i=!1,messageClassName:a,className:o,inputClassName:f,unit:p,errorRing:m=!0,svg:g,Icon:v,type:y="text",showInfiniteButton:b=!1,onInfiniteClick:w,transformValue:x,field:C,fieldState:E,...S}=e,{onChange:A,disabled:k}=S,N=e=>{let t=x?x(e.target.value):e.target.value;if(""===t)return void C.onChange("");let n=Number(t);!isNaN(n)&&(C.onChange(n),A&&A(e))},P=e=>{let t=x?x(e.target.value):e.target.value;C.onChange(t),A&&A(e)};return(0,r.jsxs)(h.eI,{className:(0,c.cn)(l.sl,o),children:[n?(0,r.jsx)(h.lR,{children:n}):null,(0,r.jsx)(h.MJ,{children:(0,r.jsxs)("div",{className:"relative",children:[g&&(0,r.jsx)(u.B,{name:g.name,alt:g.alt,className:(0,c.cn)("absolute inset-y-0 left-2 h-full w-5",g.className),isColored:g.isColored}),v&&(0,r.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-2 flex h-full w-5 items-center",children:v}),b&&(0,r.jsx)("button",{type:"button",onClick:()=>{null==w||w()},className:"absolute inset-y-0 right-2 flex items-center justify-center px-2","aria-label":"Set to Infinity",children:(0,r.jsx)(s,{size:16})}),p?(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(d.p,{...C,...S,..."number"===y?{onChange:N}:{onChange:P}
21,type:y,className:(0,c.cn)(l.Ol,"rounded-r-none",{"pl-8":g||v},f,{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":E.error&&m,"cursor-not-allowed bg-gray-100 text-gray-500":k})}),(0,r.jsx)("span",{className:(0,c.cn)("bg-gray-25 h-full content-center rounded-r-md border border-l-0 border-gray-300 px-3 py-[7px] text-sm text-gray-700",{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":E.error&&m,"cursor-not-allowed bg-gray-100 text-gray-500":k}),children:p})]}):(0,r.jsx)(d.p,{...C,value:null!=(t=C.value)?t:"",...S,..."number"===y?{onChange:N}:{onChange:P},type:y,className:(0,c.cn)(l.Ol,{"pl-8":g||v},f,{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":E.error&&m,"cursor-not-allowed bg-gray-100 text-gray-500":k})})]})}),i?(0,r.jsx)(h.C5,{className:a}):null]})}let m=f},59018:(e,t,n)=>{var r=n(22180);e.exports=function(e){return e&&e.length?r(e):[]}},59359:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(6029);let i=e=>{let{name:t,alt:n,className:i,isColored:a=!1,width:o}=e;return(0,r.jsx)("img",{src:a?"/images/svg/svg_colors/".concat(t,".svg"):"/images/svg/".concat(t,".svg"),alt:n,className:i,style:{width:o,height:o?"auto":void 0}})}},59690:(e,t,n)=>{var r=n(19962),i=n(70930),a=n(68988);e.exports=function(e,t){return e&&e.length?r(e,a(t,2),i):void 0}},60449:(e,t,n)=>{var r=n(24127);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},60567:(e,t,n)=>{var r=n(16153);e.exports=function(e){return null==e?"":r(e)}},61486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(55729),i=n(56760),a=n(19639),o=n(35896),s=n(6029),l=r.forwardRef((e,t)=>{let{container:n,...l}=e,[u,c]=r.useState(!1);(0,o.N)(()=>c(!0),[]);let d=n||u&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(a.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},61847:(e,t,n)=>{"use strict";var r=n(4140);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
21;return n.PropTypes=n,n}},61924:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(6029),i=n(8588),a=n.n(i);let o=e=>{let{name:t,alt:n,className:i,width:o,height:s,fill:l,isColored:u=!1}=e;return(0,r.jsx)(a(),{src:u?"/images/svg/svg_colors/".concat(t,".svg"):"/images/svg/".concat(t,".svg"),alt:n,loading:"lazy",className:i,width:0,height:0,style:{width:o,height:"auto"}})}},62220:(e,t,n)=>{var r=n(81707),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},62272:(e,t,n)=>{e.exports=n(45516)["__core-js_shared__"]},62719:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(65436);function i(e,t,n){let i=+(0,r.a)(e,null==n?void 0:n.in),[a,o]=[+(0,r.a)(t.start,null==n?void 0:n.in),+(0,r.a)(t.end,null==n?void 0:n.in)].sort((e,t)=>e-t);return i>=a&&i<=o}},62883:(e,t,n)=>{"use strict";n.d(t,{J:()=>u});var r=n(6029),i=n(55729),a=n(58552),o=n(72262),s=n(39794);let l=(0,o.F)("text-sm font-medium leading-none text-gray-700 peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(a.b,{ref:t,className:(0,s.cn)(l(),n),...i})});u.displayName=a.b.displayName},62988:()=>{},63173:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(88846),i=n(65436);function a(e,t){let n,a=null==t?void 0:t.in;return e.forEach(e=>{a||"object"!=typeof e||(a=r.w.bind(null,e));let t=(0,i.a)(e,a);(!n||n<t||isNaN(+t))&&(n=t)}),(0,r.w)(a,n||NaN)}},63778:(e,t,n)=>{var r=n(57140),i=n(88274),a=n(25907),o=n(43092);e.exports=function(e){return a(e)?r(o(e)):i(e)}},63912:e=>{e.exports=function(){return[]}},63984:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{A:()=>r})},64132:(e,t,n)=>{"use strict";n.d(t,{RG:()=>x,bL:()=>T,q7:()=>O});var r=n(55729),i=n(25269),a=n(70140),o=n(40041),s=n(99829),l=n(67913),u=n(19639),c=n(9613),d=n(16697),h=n(71979),f=n(6029),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.N)(g),[w,x]=(0,s.A)(g,[b]),[C,E]=w(g),S=r.forwardRef((e,t)=>(0,f.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(A,{...e,ref:t})})}));S.displayName=g;var A=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:s=!1,dir:l,currentTabStopId:v,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:E=!1,...S}=e,A=r.useRef(null),k=(0,o.s)(t,A),N=(0,h.jH)(l),[P,T]=(0,d.i)({prop:v,defaultProp:b??null,onChange:w,caller:g}),[O,L]=r.useState(!1),M=(0,c.c)(x),D=y(n),j=r.useRef(!1),[_,R]=r.useState(0);return r.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(p,M),()=>e.removeEventListener(p,M)},[M]),(0,f.jsx)(C,{scope:n,orientation:a,dir:N,loop:s,currentTabStopId:P,onItemFocus:r.useCallback(e=>T(e),[T]),onItemShiftTab:r.useCallback(()=>L(!0),[]),onFocusableItemAdd:r.useCallback(()=>R(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>R(e=>e-1),[]),children:(0,f.jsx)(u.sG.div,{tabIndex:O||0===_?-1:0,"data-orientation":a,...S,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{j.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!j.current;if(e.target===e.currentTarget&&t&&!O){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=D().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===P),...e].filter(Boolean).map(e=>e.ref.current),E)}}j.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>L(!1))})})}),k="RovingFocusGroupItem",N=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:o=!1,tabStopId:s,children:c,...d}=e,h=(0,l.B)(),p=s||h,m=E(k,n),g=m.currentTabStopId===p,b=y(n),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:C}=m;return r.useEffect(()=>{if(a)return w(),()=>x()},[a,w,x]),(0,f.jsx)(v.ItemSlot,{scope:n,id:p,focusable:a,active:o,children:(0,f.jsx)(u.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{a?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return P[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=b().filter(e=>
21e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=m.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>I(n))}}),children:"function"==typeof c?c({isCurrentTabStop:g,hasTabStop:null!=C}):c})})});N.displayName=k;var P={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var T=S,O=N},64507:(e,t,n)=>{"use strict";let r;n.d(t,{Tw:()=>d,Bi:()=>c,X1:()=>h});var i=n(81705),a=n(27423),o=n(55729),s=n(74407);let l=!!("undefined"!=typeof window&&window.document&&window.document.createElement),u=new Map;function c(e){let[t,n]=(0,o.useState)(e),a=(0,o.useRef)(null),c=(0,s.Cc)(t),d=(0,o.useRef)(null);if(r&&r.register(d,c),l){let e=u.get(c);e&&!e.includes(a)?e.push(a):u.set(c,[a])}return(0,i.N)(()=>()=>{r&&r.unregister(d),u.delete(c)},[c]),(0,o.useEffect)(()=>{let e=a.current;return e&&n(e),()=>{e&&(a.current=null)}}),c}function d(e,t){if(e===t)return e;let n=u.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=u.get(t);return r?(r.forEach(t=>t.current=e),e):t}function h(e=[]){let t=c(),[n,r]=function(e){let[t,n]=(0,o.useState)(e),r=(0,o.useRef)(null),s=(0,a.J)(()=>{if(!r.current)return;let e=r.current.next();if(e.done){r.current=null;return}t===e.value?s():n(e.value)});(0,i.N)(()=>{r.current&&s()});let l=(0,a.J)(e=>{r.current=e(t),s()});return[t,l]}(t),s=(0,o.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return(0,i.N)(s,[t,s,...e]),n}"undefined"!=typeof FinalizationRegistry&&(r=new FinalizationRegistry(e=>{u.delete(e)}))},64593:(e,t,n)=>{e.exports=n(54703)(n(45516),"DataView")},64713:(e,t,n)=>{"use strict";n.d(t,{lV:()=>c,MJ:()=>v,zB:()=>h,eI:()=>m,lR:()=>g,C5:()=>y});var r=n(6029),i=n(97628),a=n(1909),o=n(39794),s=n(62883),l=n(55729),u=n(46102);let c=a.Op,d=(0,l.createContext)({}),h=e=>{let{...t}=e;if(!(0,a.xW)())throw Error("Form context is not defined (maybe check your imports)");return(0,r.jsx)(d.Provider,{value:{name:t.name},children:(0,r.jsx)(a.xI,{...t})})},f=()=>{let e=(0,l.useContext)(d),t=(0,l.useContext)(p),{getFieldState:n,formState:r}=(0,a.xW)(),i=n(e.name,r);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=t;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...i}},p=(0,l.createContext)({}),m=(0,l.forwardRef)((e,t)=>{let{className:n,...i}=e,a=(0,l.useId)();return(0,r.jsx)(p.Provider,{value:{id:a},children:(0,r.jsx)("div",{ref:t,className:(0,o.cn)("",n),...i})})});m.displayName="FormItem";let g=(0,l.forwardRef)((e,t)=>{let{className:n,...i}=e,{error:a,formItemId:l}=f();return(0,r.jsx)(s.J,{ref:t,className:(0,o.cn)(u.Ci,n,{"text-destructive":a}),htmlFor:l,...i})});g.displayName="FormLabel";let v=(0,l.forwardRef)((e,t)=>{let{...n}=e,{error:a,formItemId:o,formDescriptionId:s,formMessageId:l}=f();return(0,r.jsx)(i.DX,{ref:t,id:o,"aria-describedby":a?"".concat(s," ").concat(l):"".concat(s),"aria-invalid":!!a,...n})});v.displayName="FormControl",(0,l.forwardRef)((e,t)=>{let{className:n,...i}=e,{formDescriptionId:a}=f();return(0,r.jsx)("p",{ref:t,id:a,className:(0,o.cn)("text-muted-foreground text-[0.8rem]",n),...i})}).displayName="FormDescription";let y=(0,l.forwardRef)((e,t)=>{let{className:n,children:i,...a}=e,{error:s,formMessageId:l}=f(),u=s&&s.message?String(null==s?void 0:s.message):i;return u?(0,r.jsx)("p",{ref:t,id:l,className:(0,o.cn)("text-destructive text-[0.8rem] font-medium",n),...a,children:u}):null});y.displayName="FormMessage"},65403:(e,t,n)=>{"use strict";n.d(t,{$:()=>h,r:()=>d});var r=n(6029),i=n(97628),a=n(72262),o=n(55729),s=n(29561),l=n(39794),u=n(23440);let c={variants:{variant:{default:"bg-primary hover:bg-primary/90 text-blue-500 shadow",null:"",destructive:"bg-destructive-background text-destructive-foreground hover:bg-destructive-background/90","outline-destructive":"border-destructive bg-destructive-background text-destructive-foreground hover:bg-destructive-background/90 border","destructive-filled":"bg-destructive text-destructive-background hover:bg-destructive/90 shadow",outline:"border-input bg-background hover:bg-accent hover:text-accent-foreground border shadow-sm",secondary:"bg-secondary-500 hover:bg-secondary-400 text-white shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground","ghost-blue":"hover:bg-accent font-bold text-blue-500 hover:text-blue-600",transparent:"hover:opacity-80",link:"text-primary underline-offset-4 hover:underline",blue:"bg-primary-blue hover:bg-primary-blue/90 text-white shadow-none",red:"bg-primary-red hover:bg-primary-red/90 text-white shadow-none","outline-blue":"bg-blue-25 hover:bg-primary-100 border border-blue-400 text-blue-600 shadow-none","outline-red":"bg-red-25 hover:bg-primary-100 border border-red-400 text-red-600 shadow-none","outline-white":"border border-gray-300 bg-white text-blue-500 shadow-none hover:bg-blue-100","third-blue":"bg-primary-50 text-primary-700 hover:bg-primary-100 shadow-none","outline-white-blue":"border-primary-400 text-primary-600 border bg-white shadow-none hover:bg-blue-100",disabled:"bg-gray-400 text-gray-700",hidden:"block rounded-none",unstyled:""},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"size-9",fit:"size-fit",full:"size-full"}},defaultVariants:{variant:"default",size:"default"}},d=(0,a.F)("focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",c),h=o.forwardRef((e,t)=>
21{let{className:n,variant:a,size:o,disabled:h,isLoading:f,children:p,asChild:m=!1,hasPing:g,...v}=e,y=m?i.DX:"button",b="unstyled"===a?(0,l.cn)(o?c.variants.size[o]:"",n):(0,l.cn)(d({variant:a,size:o,className:n}));return(0,r.jsx)(y,{className:b,disabled:h||f,ref:t,...v,children:(0,r.jsxs)(r.Fragment,{children:[p,f&&(0,r.jsx)(s.A,{className:"ml-2 animate-spin"}),g&&(0,r.jsx)(u.px,{className:"ml-2 size-1"})]})})});h.displayName="Button"},65436:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(88846);function i(e,t){return(0,r.w)(t||e,e)}},65479:(e,t,n)=>{var r=n(68988),i=n(57760);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):0}},65517:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},65767:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(6029),i=n(55729),a=n(39794),o=n(65403);let s=(0,i.forwardRef)((e,t)=>{let{name:n,alt:i,className:s,svgClassName:l,isColored:u=!1,label:c,variant:d="transparent",...h}=e;return(0,r.jsxs)(o.$,{size:"icon",variant:d,className:(0,a.cn)("flex w-fit items-center",{"px-2":c,"gap-2":c},s),"aria-label":i,ref:t,...h,children:[(0,r.jsx)("img",{src:u?"/images/svg/svg_colors/".concat(n,".svg"):"/images/svg/".concat(n,".svg"),alt:i,className:l}),c&&(0,r.jsx)("p",{children:c})]})});s.displayName="SvgButton"},66046:(e,t,n)=>{var r=n(98499),i=n(24877),a=n(23356),o=n(99048),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(r(e)?d:s).test(o(e))}},66177:(e,t,n)=>{"use strict";n.d(t,{n4:()=>nY,g0:()=>nX,lq:()=>nK});let r={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
216-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}
21|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
21)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8}
21)","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50
vendor: 10,689 bytes, line 21
21))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8
213)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2
21-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6
vendor: 18,815 bytes, line 21
21"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","
21[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-68]))\\d{4}|(?:2742|305[3-9]|(?:472|983)[2-47-9]|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4}
21)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var i={}.constructor;function a(e){return null!=e&&e.constructor===i}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){var t,n,r,i,u=function(e){if(Array.isArray(e))return e}(t=Array.prototype.slice.call(e))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{a=(n=n.call(e)).next,!1;for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(t,4)||function(e,t){if(e){if("string"==typeof e)return l(e,4);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(t,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=u[0],d=u[1],h=u[2],f=u[3];if("string"==typeof c)n=c;else throw TypeError("A text for parsing must be a string.");if(d&&"string"!=typeof d)if(a(d))h?(r=d,i=h):i=d;else throw Error("Invalid second argument: ".concat(d));else f?(r=h,i=f):(r=void 0,i=h),d&&(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({defaultCountry:d},r));return{text:n,options:r,metadata:i}}var c="0-90-9٠-٩۰-۹",d="".concat("-‐-―−ー-").concat("//").concat("..").concat(" \xa0\xad​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),h="++";function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(m())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&g(i,n.prototype),i}(e,arguments,v(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),g(n,e)})(e)}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){function t(e){var n,r,i;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return r=t,i=[e],r=v(r),Object.setPrototypeOf(n=function(e,t){if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,m()?Reflect.construct(r,i||[],v(this).constructor):r.apply(this,i)),t.prototype),n.name=n.constructor.name,n}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(p(Error));function b(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return -1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=w(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==w(t)?t:t+""}(r.key),r)}}function E(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var S=" ext. ",A=/^\d+$/,k=E(function e(t){x(this,e),L(t),this.metadata=t,_.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!this.v1&&!this.v2&&!this.v3)return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;
vendor: 4,993 bytes, line 21
21if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&A.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw Error("Unknown country: ".concat(e));this.numberingPlan=new N(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error("Unknown calling code: ".concat(t));this.numberingPlan=new N(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),N=E(function e(t,n){x(this,e),this.globalMetadataObject=n,this.metadata=t,_.call(this,n.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new P(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&O(this.types(),e))return new T(O(this.t
21ypes(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?S:this.metadata[13]||S}}]),P=E(function e(t,n){x(this,e),this._format=t,this.metadata=n},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||I.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),I=/^\(?\$1\)?$/,T=E(function e(t,n){x(this,e),this.type=t,this.metadata=n},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
21ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]);function O(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function L(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!a(e)||!a(e.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(a(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+M(e)+": "+e,"."))}var M=function(e){return w(e)};function D(e,t){if((t=new k(t)).hasCountry(e))return t.country(e).countryCallingCode();throw Error("Unknown country: ".concat(e))}function j(e,t){return t.countries.hasOwnProperty(e)}function _(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===b(t,"1.2.0")?this.v2=!0:-1===b(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var R=function(e){return"([".concat(c,"]{1,").concat(e,"})")};function F(e){var t="[ \xa0\\t,]*",n="[:\\..]?[ \xa0\\t,-]*",r="[ \xa0\\t]*";return";ext="+R("20")+"|"+(t+"(?:e?xt(?:ensi(?:ó?|\xf3))?n?|e?xtn?|доб|anexo)"+n+R("20"))+"#?|"+(t+"(?:[xx##~~]|int|int)"+n+R("9"))+"#?|"+("[- ]+"+R("6"))+"#|"+(r+"(?:,{2}|;)"+n+R("15"))+"#?|"+(r+"(?:,)+"+n+R("9"))+"#?"}var z="["+h+"]{0,1}(?:["+d+"]*["+c+"]){3,}["+d+c+"]*",B=RegExp("^["+h+"]{0,1}(?:["+d+"]*["+c+"]){1,2}$","i"),V=RegExp("^["+c+"]{2}$|^"+(z+"(?:"+F())+")?$","i"),U=RegExp("(?:"+F()+")$","i");function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var H={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Z(e){for(var t,n="",r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return q(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=r()).done;){var i=H[t.value];i&&(n+=i)}return n}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function G(e){for(var t,n="",r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=r()).done;){var i=t.value;n+=$(i,n)||""}return n}function $(e,t,n){if("+"===e){if(t){"function"==typeof n&&n("end");return}return"+"}return H[e]}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Y(e,t){return function e(t,n,r){var i=r.type(n),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===n){if(!r.type("FIXED_LINE"))return e(t,"MOBILE",r);var o=r.type("MOBILE");o&&(a=function(e,t){for(var n,r=e.slice(),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return K(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=i()).done;){var a=n.value;0>e.indexOf(a)&&r.push(a)}return r.sort(function(e,t){return e-t})}(a,o.possibleLengths()))}else if(n&&!i)return"INVALID_LENGTH";var s=t.length,l=a[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":a[a.length-1]<s?"TOO_LONG":a.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,void 0,t)}function X(e,t){return"IS_POSSIBLE"===Y(e,t)}function Q(e,t){return e=e||"",RegExp("^(?:"+t+")$").test(e)}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ee=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function et(e,t,n){if(t=t||{},e.country||e.countryCallingCode){(n=new k(n)).selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Q(r,n.nationalNumberPattern())){if(en(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()||!n.type("MOBILE")||en(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";
21for(var i,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return J(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ee);!(i=a()).done;){var o=i.value;if(en(r,o,n))return o}}}}function en(e,t,n){return!(!(t=n.type(t))||!t.pattern()||t.possibleLengths()&&0>t.possibleLengths().indexOf(e.length))&&Q(e,t.pattern())}var er=RegExp("(["+c+"])");function ei(e,t,n,r){if(t){var i=new k(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(0===e.search(a)){var o=(e=e.slice(e.match(a)[0].length)).match(er);if(!o||null==o[1]||!(o[1].length>0)||"0"!==o[1])return e}}}function ea(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,a,o,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)i=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(a=r[1]);else{var u=r[0];i=e.slice(u.length),l&&(a=r[1])}if(l){var c=e.indexOf(r[1]);e.slice(0,c)===t.numberingPlan.nationalPrefix()&&(o=t.numberingPlan.nationalPrefix())}else o=r[0];return{nationalNumber:i,nationalPrefix:o,carrierCode:a}}}return{nationalNumber:e}}function eo(e,t){var n,r,i,a=ea(e,t),o=a.carrierCode,s=a.nationalNumber;return s!==e&&(n=e,r=s,!(!Q(n,(i=t).nationalNumberPattern())||Q(r,i.nationalNumberPattern()))||t.possibleLengths()&&!function(e,t){switch(Y(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(s,t))?{nationalNumber:e}:{nationalNumber:s,carrierCode:o}}function es(e,t,n,r){var i=t?D(t,r):n;if(0===e.indexOf(i)){(r=new k(r)).selectNumberingPlan(t,n);var a=e.slice(i.length),o=eo(a,r).nationalNumber,s=eo(e,r).nationalNumber;if(!Q(s,r.nationalNumberPattern())&&Q(o,r.nationalNumberPattern())||"TOO_LONG"===Y(s,r))return{countryCallingCode:i,number:a}}return{number:e}}function el(e,t,n,r){if(!e)return{};if("+"!==e[0]){var i,a=ei(e,t,n,r);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n){var o=es(e,t,n,r),s=o.countryCallingCode,l=o.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:l}}return{number:e}}}if("0"===e[1])return{};r=new k(r);for(var u=2;u-1<=3&&u<=e.length;){var c=e.slice(1,u);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:e.slice(u)};u++}return{}}function eu(e){return e.replace(RegExp("[".concat(d,"]+"),"g")," ").trim()}var ec=/(\$\d)/;function ed(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(ec,t.nationalPrefixFormattingRule()):t.format());return r?eu(a):a}var eh=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ef(e){return(ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ep(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?em(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=ef(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ef(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ef(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEac
21h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ev={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function ey(e,t,n,r,i){var a=function(e,t){for(var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ep(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ep(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var i=n.value;if(i.leadingDigitsPatterns().length>0){var a=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(0!==t.search(a))continue}if(Q(t,i.pattern()))return i}}(r.formats(),e);return a?ed(e,a,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:t,metadata:r}):e}function eb(e){return(eb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ew(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ex(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ew(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=eC(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ew(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eC(e){var t=function(e,t){if("object"!=eb(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eb(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eb(t)?t:t+""}var eE=function(){var e,t;return e=function e(t,n,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");if(!t)throw TypeError("First argument is required");if("string"!=typeof t)throw TypeError("First argument must be a string");if("+"===t[0]&&!n)throw TypeError("`metadata` argument not passed");if(a(n)&&a(n.countries)){r=n;var i=t;if(!eS.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=el(i,void 0,void 0,r),s=o.countryCallingCode;if(n=o.number,t=s,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw TypeError("`nationalNumber` argument must be a string");L(r);var l=function(e,t){var n,r,i=new k(t);return/^[A-Z]{2}$/.test(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}(t,r),u=l.country,c=l.countryCallingCode;this.country=u,this.countryCallingCode=c,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},t=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){var e,t,n,r;return this.country?[this.country]:(e=this.countryCallingCode,t=this.nationalNumber,(r=new k(n=this.getMetadata()).getCountryCodesForCallingCode(e))?r.filter(function(e){var r,i,a;return r=t,i=e,(a=new k(n)).selectNumberingPlan(i),a.numberingPlan.possibleLengths().indexOf(r.length)>=0}):[])}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new k(n),t.v2){if(!e.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return X(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var e,t;return(e=e={v2:!0},(t=new k(t=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),t.hasTypes())?void 0!==et(this,e,t.metadata):Q(e.v2?this.nationalNumber:this.phone,t.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new k(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return et(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return function(e,t,n,r){if(n=n?eg(eg({},ev),n):ev,r=new k(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));r.country(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var i,a,o,s,l,u,c,d,h,f,p,m,g,v=r.countryCallingCode(),y=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":if(!y)return"";return i=g=ey(y,e.carrierCode,"NATIONAL",r,n),a=e.ext,o=r,s=n.formatExtension,a?s(i,a,o):i;case"INTERNATIONAL":if(!y)return"+".concat(v);return g=ey(y,null,"INTERNATIONAL",r,n),l=g="+".concat(v," ").concat(g),u=e.ext,c=r,d=n.formatExtension,u?d(l,u,c):l;case"E.164":return"+".concat(v).concat(y);case"RFC3966":var b={number:"+".concat(v).concat(y),ext:e.ext},w=b.number,x=b.ext;if(!w)return"";if("+"!==w[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');
21return"tel:".concat(w).concat(x?";ext="+x:"");case"IDD":if(!n.fromCountry)return;return h=function(e,t,n,r,i){if(D(r,i.metadata)===n){var a,o,s=ey(e,t,"NATIONAL",i);return"1"===n?n+" "+s:s}var l=(a=void 0,((o=new k(i.metadata)).selectNumberingPlan(r,a),o.defaultIDDPrefix())?o.defaultIDDPrefix():eh.test(o.IDDPrefix())?o.IDDPrefix():void 0);if(l)return"".concat(l," ").concat(n," ").concat(ey(e,null,"INTERNATIONAL",i))}(y,e.carrierCode,v,n.fromCountry,r),f=e.ext,p=r,m=n.formatExtension,f?m(h,f,p):h;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,e,t?ex(ex({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,eC(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),eS=/^\+\d+$/;function eA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ek(e,t){var n=t.countries,r=(t.defaultCountry,t.metadata);r=new k(r);for(var i,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return eA(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eA(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(i=a()).done;){var o=i.value;if(r.country(o),r.leadingDigits()){if(e&&0===e.search(r.leadingDigits()))return o}else if(et({phone:e,country:o},void 0,r.metadata))return o}}function eN(e,t){var n=t.nationalNumber,r=t.defaultCountry,i=t.metadata,a=i.getCountryCodesForCallingCode(e);if(a)return 1===a.length?a[0]:ek(n,{countries:a,defaultCountry:r,metadata:i.metadata})}var eP="(["+c+"]|[\\-\\.\\(\\)]?)",eI=RegExp("^\\+"+eP+"*["+c+"]"+eP+"*$","g"),eT=RegExp("^("+("["+c+"]+((\\-)*[")+c+"])*\\.)*[a-zA-Z]+((\\-)*["+c+"])*\\.?$","g"),eO="tel:",eL=";phone-context=",eM=RegExp("["+h+c+"]"),eD=RegExp("[^"+c+"#]+$");function ej(e){return(ej="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?e_(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=ej(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ej(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ej(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eF(e){return(eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ez(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?ez(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=eF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eF(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eF(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ez(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eV(e,t,n){t&&t.defaultCountry&&!j(t.defaultCountry,n)&&(t=eB(eB({},t),{},{defaultCountry:void 0}));try{var r;return r=t,function(e,t,n){if(t=t||{},n=new k(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new y("INVALID_COUNTRY");throw Error("Unknown country: ".concat(t.defaultCountry))}var r,i,a,o,s=function(e,t,n){var r=function(e,t){var n=t.extractFormattedPhoneNumber,r=function(e){var t=e.indexOf(eL);if(t<0)return null;var n=t+eL.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!(null===r||0!==r.length&&(eI.test(r)||eT.test(r))))throw new y("NOT_A_NUMBER");if(null===r)i=n(e)||"";else{i="","+"===r.charAt(0)&&(i+=r);var i,a,o=e.indexOf(eO);a=o>=0?o+eO.length:0;var s=e.indexOf(eL);i+=e.substring(a,s)}var l=i.indexOf(";isub=");if(l>0&&(i=i.substring(0,l)),""!==i)return i}(e,{extractFormattedPhoneNumber:function(e){if(e){if(e.length>250){if(t)throw new y("TOO_LONG");return}if(!1===n)return e;var r=e.search(eM);return r<0?void 0:e.slice(r).replace(eD,"")}}});if(!r)return{};if(!(r.length>=2&&V.test(r)))return B.test(r)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(U);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(U),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(r);return i.ext?i:{number:r}}(e,t.v2,t.extract),l=s.number,u=s.ext,c=s.error;if(!l){if(t.v2){if("TOO_SHORT"===c)throw new y("TOO_SHORT");throw new y("NOT_A_NUMBER")}return{}}var d=function(e,t,n,r){var i,a=el(G(e),t,n,r.metadata),o=a.countryCallingCodeSource,s=a.countryCallingCode,l=a.number;if(s)r.selectNumberingPlan(s);else{if(!l||!t&&!n)return{};r.selectNumberingPlan(t,n),t&&(i=t),s=n||D(t,r.metadata)}if(!l)return{countryCallingCodeSource:o,countryCallingCode:s};var u=eo(G(l),r),c=u.nationalNumber,d=u.carrierCode,h=eN(s,{nationalNumber:c,defaultCountry:t,metadata:r});return h&&(i=h,"001"===h||r.country(i)),{country:i,countryCallingCode:s,countryCallingCodeSource:o,nationalNumber:c,carrierCode:d}}(l,t.defaultCountry,t.defaultCallingCode,n),h=d.country,f=d.nationalNumber,p=d.countryCallingCode,m=d.countryCallingCodeSource,g=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new y("INVALID_COUNTRY");return{}}if(!f||f.length<2){if(t.v2)throw new y("TOO_SHORT");return{}}if(f.length>17){if(t.v2)throw new y("TOO_LONG");return{}}if(t.v2){var v=new eE(p,f,n.metadata);return h&&(v.country=h),g&&(v.carrierCode=g),u&&(v.ext=u),v.__countryCallingCodeSource=m,v}var b=(t.extended?!!n.hasSelectedNumberingPlan():!!h)&&Q(f,n.nationalNumberPattern());return t.extended?{country:h,countryCallingCode:p,carrierCode:g,valid:b,possible:!!b||!!(!0===t.extended&&n.possibleLengths()&&X(f,n)),phone:f,ext:u}:b?(r=h,i=f,a=u,o={country:r,phone:i},a&&(o.ext=a),o):{}}(e,eR(eR({},r),{},{v2:!0}),n)}catch(e){if(e instanceof y);else throw e}}function eU(){var e=u(arguments);return eV(e.text,e.options,e.metadata)}function eq(e){return(eq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eH(e,t,n){if(n||"object"!==eq(t)||(n=t,t="NATIONAL"),!e)return"";var r=eU(e,n);if(!r)return"";switch(t){case"National":t="NATIONAL";break;case"International":t="INTERNATIONAL"}return r.format(t)}function eZ(e){return(eZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?eW(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=eZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eZ(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eZ(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function e$(){var e=u(arguments),t=e.text,n=e.options,r=e.metadata,i=eV(t,n=eG(eG({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}var eK=n(55729);let eY={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"\xc5land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xe7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var eX=n(56121),eQ=eX.shape({country_calling_codes:eX.object.isRequired,countries:eX.object.isRequired}),eJ=eX.objectOf(eX.string),e0=n(32988);function e1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function e2(e,t){for(var n,r=0,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return e1(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e1(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(n=i()).done;)n.value===e&&r++;return r}function e5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var e4={Backspace:8,Delete:46};function e3(e,t){void 0!==t&&(function(){if("undefined"!=typeof navigator)return e6.test(navigator.userAgent)}()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}var e6=/Android/i;function e8(e,t,n,r,i){var a=function(e,t,n){for(var r={},i="",a=0,o=0;o<e.length;){var s=n(e[o],i,r);void 0!==s&&(i+=s,void 0!==t&&(t===o?a=i.length-1:t>o&&(a=i.length))),o++}return void 0===t&&(a=i.length),{value:i,caret:a}}(e.value,e.selectionStart,t),o=a.value,s=a.caret;if(r){var l=function(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1)}return{value:e,caret:t}}(o,s,r);o=l.value,s=l.caret}var u=function(e,t,n){"string"==typeof n&&(n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(e){return{text:e}};var r=e2(t,e);return function(i){if(!i)return{text:"",template:e};for(var a,o=0,s="",l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return e5(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e5(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(a=l()).done;){var u=a.value;if(u!==t){s+=u;continue}if(s+=i[o],++o===i.length&&i.length<r)break}return n&&(s=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",i=e.length,a=e2("(",e)-e2(")",e);a>0&&i<t.length;)e+=t[i].replace(n,r),")"===t[i]&&a--,i++;return e}(s,e)),{text:s,template:e}}}(n));var r=n(e)||{},i=r.text,a=r.template;if(void 0===i&&(i=e),a)if(void 0===t)t=i.length;else{for(var o=0,s=!1,l=-1;o<i.length&&o<a.length;){if(i[o]!==a[o]){if(0===t){s=!0,t=o;break}l=o,t--}o++}s||(t=l+1)}return{text:i,caret:t}}(o,s,n),c=u.text;s=u.caret,e.value=c,e3(e,s),i&&i(o)}var e9=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function e7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?e7(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e7(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tt=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tr(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,m,g,v=e.inputComponent,y=e.parse,b=e.format,w=e.value,x=e.defaultValue,C=e.onChange,E=e.controlled,S=e.onKeyDown,A=e.type,k=(r=(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:t,parse:y,format:b,value:w,defaultValue:x,onChange:C,controlled:E,onKeyDown:S,type:void 0===A?"text":A},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,tt))).ref,i=n.parse,a=n.format,o=n.value,s=n.defaultValue,l=n.controlled,u=n.onChange,c=n.onKeyDown,d=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,e9),h=(0,eK.useRef)(),f=(0,eK.useCallback)(function(e){h.current=e,r&&("function"==typeof r?r(e):r.current=e)},[r]),p=(0,eK.useCallback)(function(e){e8(h.current,i,a,void 0,u)},[h,i,a,u]),m=(0,eK.useCallback)(function(e){if(c&&c(e),!e.defaultPrevented){var t=h.current;if(!t.hasAttribute("readonly")){var n=function(e){switch(e.keyCode){case e4.Backspace:return"Backspace";case e4.Delete:return"Delete"}}(e);switch(n){case"Delete":case"Backspace":e.preventDefault();var r,o,s,l=function(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}(t);if(l){return r=t,o=l,s=r.value,r.value=s=s.slice(0,o.start)+s.slice(o.end),e3(r,o.start),e8(t,i,a,void 0,u)}return e8(t,i,a,n,u)}}return}},[h,i,a,u,c]),g=te(te({},d),{},{ref:f,onChange:p,onKeyDown:m}),void 0===l||l?te(te({},g),{},{value:a(null==o?"":o).text}):te(te({},g),{},{defaultValue:a(null==s?"":s).text}));return eK.createElement(void 0===v?"input":v,k)}(tr=eK.forwardRef(tr)).propTypes={parse:eX.func.isRequired,format:eX.func.isRequired,inputComponent:eX.elementType,type:eX.string,value:eX.string,defaultValue:eX.string,onChange:eX.func,controlled:eX.bool,onKeyDown:eX.func,onCut:eX.func,onPaste:eX.func};let ti=tr;function ta(e){return(ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var to=function(){var e,t;return e=function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.onCountryChange=n,this.onCallingCodeChange=r},t=[{key:"reset",value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:"initCountryAndCallingCode",value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:"setCountry",value:function(e){this.country=e,this.onCountryChange(e)}},{key:"setCallingCode",value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:"startInternationalNumber",value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:"appendDigits",value:function(e){this.digits+=e}},{key:"appendNationalSignificantNumberDigits",value:function(e){this.nationalSignificantNumber+=e}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=ta(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ta(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ta(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function ts(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tl=/x/;function tu(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function tc(e,t){return")"===e[t]&&t++,function(e){for(var t=[],n=0;n<e.length;)"("===e[n]?t.push(n):")"===e[n]&&t.pop(),n++;var r=0,i="";t.push(e.length);for(var a=0;a<t.length;a++){var o=t[a];i+=e.slice(r,o),r=o+1}return i}(e.slice(0,t))}function td(e,t,n){var r,i,a=n.metadata,o=n.useNationalPrefixFormattingRule,
21s=n.getSeparatorAfterNationalPrefix,l=ed(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:o,metadata:a});if(!o&&(e.nationalPrefix?l=e.nationalPrefix+s(t)+l:e.complexPrefixBeforeNationalSignificantNumber&&(l=e.complexPrefixBeforeNationalSignificantNumber+" "+l)),r=l,i=e,Z(r)===i.getNationalDigits())return l}function th(e){return(th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tf=function(){var e,t;return e=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")},t=[{key:"parse",value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),1!==this.context.length)throw Error("Non-finalized contexts left when pattern parse ended");var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:"|",args:n.concat([tg(r)])};if(0===r.length)throw Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(e){this.context.push(e)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(e){if(!e)throw Error("Pattern is required");var t=e.match(tm);if(!t){if(tp.test(e))throw Error("Illegal characters found in a pattern: ".concat(e));this.getContext().instructions=this.getContext().instructions.concat(e.split(""));return}var n=t[1],r=e.slice(0,t.index),i=e.slice(t.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw Error('No instructions found after "|" operator in an "or" group');var a=this.getContext().branches;a.push(tg(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:a});break;case"|":if(!this.getContext().or)throw Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches)if(1===this.context.length)this.getContext().branches=[];else throw Error('"branches" not found in an "or" group context');this.getContext().branches.push(tg(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:function(e){for(var t=[],n=0;n<e.length;){if("-"===e[n]){if(0===n||n===e.length-1)throw Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,i=e[n+1].charCodeAt(0)-1,a=r;a<=i;)t.push(String.fromCharCode(a)),a++}else t.push(e[n]);n++}return t}(r)});break;default:throw Error("Unknown operator: ".concat(n))}i&&this.parsePattern(i)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=th(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=th(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==th(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),tp=/[\(\)\[\]\?\:\|]/,tm=RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function tg(e){return 1===e.length?e[0]:e}function tv(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ty(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ty(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tb(e){return(tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tw=function(){var e,t;return e=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.matchTree=new tf().parse(t)},t=[{key:"match",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowOverflow;
21if(!e)throw Error("String is required");var r=function e(t,n,r){if("string"==typeof n){var i=t.join("");return 0===n.indexOf(i)?t.length===n.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===i.indexOf(n)?r&&t.length>n.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,n.length)}:void 0}if(Array.isArray(n)){for(var a=t.slice(),o=0;o<n.length;){var s=e(a,n[o],r&&o===n.length-1);if(!s)return;if(s.overflow)return s;if(s.match){if(0===(a=a.slice(s.matchedChars.length)).length)if(o===n.length-1)return{match:!0,matchedChars:t};else return{partialMatch:!0}}else if(s.partialMatch)return{partialMatch:!0};else throw Error("Unsupported match result:\n".concat(JSON.stringify(s,null,2)));o++}return r?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-a.length)}}switch(n.op){case"|":for(var l,u,c=tv(n.args);!(u=c()).done;){var d=e(t,u.value,r);if(d)if(d.overflow)return d;else if(d.match)return{match:!0,matchedChars:d.matchedChars};else if(d.partialMatch)l=!0;else throw Error("Unsupported match result:\n".concat(JSON.stringify(d,null,2)))}if(l)return{partialMatch:!0};return;case"[]":for(var h,f=tv(n.args);!(h=f()).done;){var p=h.value;if(t[0]===p){if(1===t.length)return{match:!0,matchedChars:t};if(r)return{overflow:!0};return{match:!0,matchedChars:[p]}}}return;default:throw Error("Unsupported instruction tree: ".concat(n))}}(e.split(""),this.matchTree,!0);if(r&&r.match&&delete r.matchedChars,!r||!r.overflow||n)return r}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=tb(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tb(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tb(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function tx(e){return(tx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tC(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tE(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tE(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tS=tu("9",15),tA=/[- ]/,tk=RegExp("["+d+"]*\\$1["+d+"]*(\\$\\d["+d+"]*)*$"),tN=function(){var e,t;return e=function e(t){t.state;var n=t.metadata;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.metadata=n,this.resetFormat()},t=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(e,t){this.resetFormat(),e?(this.isNANP="1"===e.callingCode(),this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,t){var n=this;if("IS_POSSIBLE"===Y(t.nationalSignificantNumber,this.metadata))for(var r,i=tC(this.matchingFormats);!(r=i()).done;){var a=r.value,o=function(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(e.nationalSignificantNumber))return function(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var o=td(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:r});if(o)return o}return td(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:r})}(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}(t,a,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(o)return this.resetFormat(),this.chosenFormat=a,this.setNationalNumberTemplate(o.replace(/\d/g,"x"),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf("x"),o}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)if(r===n)return this.formatNextNationalNumberDigits(e);else return this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,a=n.length-3;a<0&&(a=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,n,a)}),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(0===r)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<3)try{return void 0!==new tw(i).match(t,{allowOverflow:!0})}catch(e){return console.error(e),!0}return new RegExp("^(".concat(i,")")).test(t)}},{key:"getFormatFormat",value:function(e,t){return t?e.internationalFormat():e.format()}},{key:"chooseFormat",value:function(e){for(var t,n,r,i=this,a=tC(this.matchingFormats.slice());!(r=a()).done&&0!==(t=r.value,n=i.chosenFormat===t?0:tk.test(i.getFormatFormat(t,e.international))?i.createTemplateForFormat(t,e)?(i.chosenFormat=t,0):(i.matchingFormats=i.matchingFormats.filter(function(e){return e!==t}),1):1);)if(1===n)continue;return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(e,t){if(!(e.pattern().indexOf("|")>=0)){var n=this.getTemplateForFormat(e,t);if(n)return this.setNationalNumberTemplate(n,t),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&tA.test(e.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&!1===t.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):"";n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf("x",t+1),n++;return tc(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,"x")+tu("x",t.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,t){var n,r=t.nationalSignificantNumber,i=t.international,a=t.nationalPrefix,o=t.complexPrefixBeforeNationalSignificantNumber,s=e.pattern();s=s.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var l=tS.match(s)[0];if(!(r.length>l.length)){var u=RegExp("^"+s+"$"),c=r.replace(/\d/g,"9");u.test(c)&&(l=c);var d=this.getFormatFormat(e,i);if(this.shouldTryNationalPrefixFormattingRule(e,{international:i,nationalPrefix:a})){var h=d.replace(ec,e.nationalPrefixFormattingRule());if(Z(e.nationalPrefixFormattingRule())===(a||"")+Z("$1")&&(d=h,n=!0,a))for(var f=a.length;f>0;)d=d.replace(/\d/,"x"),f--}var p=l.replace(new RegExp(s),d).replace(/9/g,"x");return!n&&(o?p=tu("x",o.length)+" "+p:a&&(p=tu("x",a.length)+this.getSeparatorAfterNationalPrefix(e)+p)),i&&(p=eu(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(e){var t=function(e,t,n){for(var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ts(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ts(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.split(""));!(r=i()).done;){var a=r.value;if(0>e.slice(t+1).search(tl))return;t=e.search(tl),e=e.replace(tl,a)}return[e,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);return t?(this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],tc(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)):void this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=tx(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tx(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tx(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function tP(e){return(tP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}
21finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tT(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tT(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tO=RegExp("^["+d+c+"]+$","i"),tL="(?:["+h+"]["+d+c+"]*|["+d+c+"]+)",tM=RegExp("[^"+d+c+"]+.*$"),tD=/[^\d\[\]]/,tj=function(){var e,t;return e=function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a},t=[{key:"input",value:function(e,t){var n,r,i,a,o,s=tI((i=(r=tI("+"===(n=function(e){var t,n=e.search(tL);if(!(n<0))return"+"===(e=e.slice(n))[0]&&(t=!0,e=e.slice(1)),e=e.replace(tM,""),t&&(e="+"+e),e}(e)||"")[0]?[n.slice(1),!0]:[n],2))[0],a=r[1],tO.test(i)||(i=""),[i,a]),2),l=s[0],u=s[1],c=Z(l);return u&&!t.digits&&(t.startInternationalNumber(),c||(o=!0)),c&&this.inputDigits(c,t),{digits:c,justLeadingPlus:o}}},{key:"inputDigits",value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:"isWaitingForCountryCallingCode",value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:"extractCountryCallingCode",value:function(e){var t=el("+"+e.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&tD.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(e,t){if(this.hasSelectedNumberingPlan){var n=ea(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,a=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,a,i,e,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=ea(e,this.metadata),i=r.nationalPrefix,a=r.nationalNumber,o=r.carrierCode;if(a!==t)return this.onExtractedNationalNumber(i,o,a,e,n),!0}}},{key:"onExtractedNationalNumber",value:function(e,t,n,r,i){var a,o,s=r.lastIndexOf(n);if(s>=0&&s===r.length-n.length){o=!0;var l=r.slice(0,s);l!==e&&(a=l)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:a}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(e){return!!this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)})||(this.extractIddPrefix(e)||this.fixMissingPlus(e)?(this.extractCallingCodeAndNationalSignificantNumber(e),!0):void 0)}},{key:"extractIddPrefix",value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!t&&!n){var i=ei(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==i&&i!==r)return e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(e){if(!e.international){var t=es(e.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode;if(t.number,n)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(e,t){var n=t.country,r
21=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=tP(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tP(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tP(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function t_(e){return(t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tF=function(){var e,t;return e=function e(t,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.metadata=new k(n);var r,i=function(e){if(Array.isArray(e))return e}(r=this.getCountryAndCallingCode(t))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{a=(n=n.call(e)).next,!1;for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(r,2)||function(e,t){if(e){if("string"==typeof e)return tR(e,2);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tR(e,t):void 0}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],o=i[1];this.defaultCountry=a,this.defaultCallingCode=o,this.reset()},t=[{key:"getCountryAndCallingCode",value:function(e){var t,n;return e&&(a(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,n]}},{key:"input",value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(n){if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),void 0===r&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var r,i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var e=this;return this.state=new to({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new tN({state:this.state,metadata:this.metadata}),this.parser=new tj({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){var e=this.state.country;return e}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?"".concat(r," ").concat(e):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return e}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.complexPrefixBeforeNationalSignificantNumber,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:"getNonFormattedNumber",value:function(){var e=this.state.nationalSignificantNumberMatchesInput;
21return this.getFullNumber(e?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,"x")}},{key:"isCountryCallingCodeAmbiguous",value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(eN(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())if(n)return"+"+n+i;else return"+"+t;else if(r||n)return"+"+(r?this.metadata.countryCallingCode():n)+i}}},{key:"getNumber",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,i=this._getCountry();if(t&&(i||r)){if(i&&i===this.defaultCountry){var a=new k(this.metadata.metadata);a.selectNumberingPlan(i);var o=a.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(o);if(s.length>1){var l=ek(t,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});l&&(i=l)}}var u=new eE(i||r,t,this.metadata.metadata);return n&&(u.carrierCode=n),u}}},{key:"isPossible",value:function(){var e=this.getNumber();return!!e&&e.isPossible()}},{key:"isValid",value:function(){var e=this.getNumber();return!!e&&e.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=t_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=t_(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==t_(t)?t:t+""}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function tz(e){var t=e.inputFormat,n=e.country,r=e.metadata;return"NATIONAL_PART_OF_INTERNATIONAL"===t?"+".concat(D(n,r)):""}function tB(e,t){return t&&" "===(e=e.slice(t.length))[0]&&(e=e.slice(1)),e}function tV(e,t,n){if(!n||!n.ignoreRest)return $(e,t,function(e){n&&"end"===e&&(n.ignoreRest=!0)})}function tU(e){var t=e.onKeyDown,n=e.inputFormat;return(0,eK.useCallback)(function(e){if(e.keyCode===tq&&"INTERNATIONAL"===n&&e.target instanceof HTMLInputElement&&e.target.selectionStart===tH.length)return void e.preventDefault();t&&t(e)},[t,n])}var tq=8,tH="+",tZ=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function tW(){return(tW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let tG=function(e){function t(e,t){var n=e.onKeyDown,r=e.country,i=e.inputFormat,a=e.metadata,o=void 0===a?void 0:a,s=(e.international,e.withCountryCallingCode,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,tZ)),l=(0,eK.useCallback)(function(e){var t=new tF(r,o),n=tz({inputFormat:i,country:r,metadata:o}),a=t.input(n+e),s=t.getTemplate();return n&&(a=tB(a,n),s&&(s=tB(s,n))),{text:a,template:s}},[r,o]),u=tU({onKeyDown:n,inputFormat:i});return eK.createElement(ti,tW({},s,{ref:t,parse:tV,format:l,onKeyDown:u}))}return(t=eK.forwardRef(t)).propTypes={value:eX.string.isRequired,onChange:eX.func.isRequired,onKeyDown:eX.func,country:eX.string,inputFormat:eX.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:eX.object},t}();var t$=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function tK(){return(tK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let tY=function(e){function t(e,t){var n=e.value,r=e.onChange,i=e.onKeyDown,a=e.country,o=e.inputFormat,s=e.metadata,l=void 0===s?void 0:s,u=e.inputComponent,c=(e.international,e.withCountryCallingCode,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,t$)),d=tz({inputFormat:o,country:a,metadata:l}),h=(0,eK.useCallback)(function(e){var t=G(e.target.value);
21t===n&&0===tX(d,t,a,l).indexOf(e.target.value)&&(t=t.slice(0,-1)),r(t)},[d,n,r,a,l]),f=tU({onKeyDown:i,inputFormat:o});return eK.createElement(void 0===u?"input":u,tK({},c,{ref:t,value:tX(d,n,a,l),onChange:h,onKeyDown:f}))}return(t=eK.forwardRef(t)).propTypes={value:eX.string.isRequired,onChange:eX.func.isRequired,onKeyDown:eX.func,country:eX.string,inputFormat:eX.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:eX.object,inputComponent:eX.elementType},t}();function tX(e,t,n,r){var i,a,o;return tB((i=e+t,a=n,(o=r)||(o=a,a=void 0),new tF(a,o).input(i)),e)}function tQ(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var tJ=["value","onChange","options","disabled","readOnly"],t0=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function t1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t2(){return(t2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t5(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function t4(e){var t=e.value,n=e.onChange,r=e.options,i=e.disabled,a=e.readOnly,o=t5(e,tJ),s=(0,eK.useCallback)(function(e){var t=e.target.value;n("ZZ"===t?void 0:t)},[n]);return(0,eK.useMemo)(function(){return t9(r,t)},[r,t]),eK.createElement("select",t2({},o,{disabled:i||a,readOnly:a,value:t||"ZZ",onChange:s}),r.map(function(e){var t=e.value,n=e.label,r=e.divider;return eK.createElement("option",{key:r?"|":t||"ZZ",value:r?"|":t||"ZZ",disabled:!!r,style:r?t3:void 0},n)}))}t4.propTypes={value:eX.string,onChange:eX.func.isRequired,options:eX.arrayOf(eX.shape({value:eX.string,label:eX.string,divider:eX.bool})).isRequired,disabled:eX.bool,readOnly:eX.bool};var t3={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function t6(e){var t=e.value,n=e.options,r=e.className,i=e.iconComponent,a=(e.getIconAspectRatio,e.arrowComponent),o=e.unicodeFlags,s=t5(e,t0),l=(0,eK.useMemo)(function(){return t9(n,t)},[n,t]);return eK.createElement("div",{className:"PhoneInputCountry"},eK.createElement(t4,t2({},s,{value:t,options:n,className:e0("PhoneInputCountrySelect",r)})),l&&(o&&t?eK.createElement("div",{className:"PhoneInputCountryIconUnicode"},tQ(t[0])+tQ(t[1])):eK.createElement(i,{"aria-hidden":!0,country:t,label:l.label,aspectRatio:o?1:void 0})),eK.createElement(void 0===a?t8:a,null))}function t8(){return eK.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function t9(e,t){for(var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return t1(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t1(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var i,a,o=n.value;if(!o.divider&&(i=o.value,a=t,null==i?null==a:i===a))return o}}t6.propTypes={iconComponent:eX.elementType,arrowComponent:eX.elementType,unicodeFlags:eX.bool};var t7=["country","countryName","flags","flagUrl"];function ne(){return(ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nt(e){var t=e.country,n=e.countryName,r=e.flags,i=e.flagUrl,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,t7);return r&&r[t]?r[t]({title:n}):eK.createElement("img",ne({},a,{alt:n,role:n?void 0:"presentation",src:i.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}nt.propTypes={country:eX.string.isRequired,countryName:eX.string.isRequired,flags:eX.objectOf(eX.elementType),flagUrl:eX.string.isRequired};var nn=["aspectRatio"],nr=["title"],ni=["title"];function na(){return(na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function no(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ns(e){var t=e.aspectRatio,n=no(e,nn);
21return 1===t?eK.createElement(nu,n):eK.createElement(nl,n)}function nl(e){var t=e.title,n=no(e,nr);return eK.createElement("svg",na({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),eK.createElement("title",null,t),eK.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},eK.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),eK.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),eK.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),eK.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),eK.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),eK.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),eK.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function nu(e){var t=e.title,n=no(e,ni);return eK.createElement("svg",na({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),eK.createElement("title",null,t),eK.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},eK.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),eK.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),eK.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),eK.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),eK.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),eK.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),eK.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function nc(e){!function(e){if(e.length<2||"+"!==e[0])return!1;for(var t=1;t<e.length;){var n=e.charCodeAt(t);if(!(n>=48)||!(n<=57))return!1;t++}return!0}(e)&&console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nh(e,t){return!!j(e,t)||(console.error("Country not found: ".concat(e)),!1)}function nf(e,t){return e&&0===(e=e.filter(function(e){return nh(e,t)})).length&&(e=void 0),e}function np(e){return new k(e).getCountries()}ns.propTypes={title:eX.string.isRequired,aspectRatio:eX.number},nl.propTypes={title:eX.string.isRequired},nu.propTypes={title:eX.string.isRequired};
21var nm=["country","label","aspectRatio"];function ng(){return(ng=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nv(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,i=e.internationalIcon;function a(e){var a=e.country,o=e.label,s=e.aspectRatio,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,nm),u=i===ns?s:void 0;return eK.createElement("div",ng({},l,{className:e0("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===u,"PhoneInputCountryIcon--border":a})}),a?eK.createElement(r,{country:a,countryName:o,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):eK.createElement(i,{title:o,aspectRatio:u,className:"PhoneInputCountryIconImg"}))}return a.propTypes={country:eX.string,label:eX.string.isRequired,aspectRatio:eX.number},a}function ny(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nb(e,t){return"+"+D(e,t)}nv({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:nt,internationalIcon:ns});function nw(e,t,n){if(e){if("+"===e[0]){if("+"===e)return;var r=new tF(t,n);return r.input(e),r.getNumberValue()}if(t){var i=nS(e,t,n);return"+".concat(D(t,n)).concat(i||"")}}}function nx(e,t){var n,r,i=t.country,a=t.countries,o=t.defaultCountry,s=t.latestCountrySelectedByUser,l=t.required,u=t.metadata;if("+"===e)return i;var c=(n=e,(r=new tF(null,u)).input(n),r.getCountry());if(c)if(!a||a.indexOf(c)>=0)return c;else return;if(i){if(nA(e,i,u)){if(s&&nA(e,s,u))return s;else if(o&&nA(e,o,u))return o;else if(!l)return}else if(!l)return}return i}function nC(e,t,n){if(0!==e.indexOf(nb(t,n)))return e.replace(/\D/g,"");var r=new tF(t,n);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}function nE(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:+(e>t)}function nS(e,t,n){var r=new tF(t,n);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function nA(e,t,n){for(var r=nb(t,n),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function nk(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.international,a=e.useNationalFormat,o=e.metadata;return(!1===i||a)&&n&&n.country?n.formatNational().replace(/\D/g,""):!t&&i&&r?nb(r,o):t}function nN(e){return(nN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nP(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],(i=function(e){var t=function(e,t){if("object"!=nN(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=nN(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nN(t)?t:t+""}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nT(e,t){return null===e&&(e=void 0),null===t&&(t=void 0),e===t}var nO=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","
21smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function nL(e){return(nL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nM(Object(n),!0).forEach(function(t){nB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nj(){return(nj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function n_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nV(r.key),r)}}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nR=function(){return!!e})()}function nF(e){return(nF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nz(e,t){return(nz=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nB(e,t,n){return(t=nV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nV(e){var t=function(e,t){if("object"!=nL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=nL(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nL(t)?t:t+""}var nU=function(e){var t,n;function r(e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");d=r,h=[e],d=nF(d),nB(f=function(e,t){if(t&&("object"===nL(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,nR()?Reflect.construct(d,h||[],nF(this).constructor):d.apply(this,h)),"setInputRef",function(e){!function(e,t){for(var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ny(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ny(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var i,a,o=n.value;o&&(i=o,a=t,"function"==typeof i?i(a):i.current=a)}}([f.props.inputRef,f.inputRef],e)}),nB(f,"isCountrySupportedWithError",function(e){return nh(e,f.props.metadata)}),nB(f,"onCountryChange",function(e){var t=f.props,n=t.international,r=t.metadata,i=t.onChange,a=t.focusInputOnCountrySelection,o=f.state,s=function(e,t){var n=t.prevCountry,r
21=t.newCountry,i=t.metadata,a=t.useNationalFormat;if(n===r)return e;if(!e)if(a)return"";else return r?nb(r,i):"";if(r){if("+"===e[0]){if(a)return 0===e.indexOf("+"+D(r,i))?function(e,t,n){if(t){var r="+"+D(t,n);if(e.length<r.length){if(0===r.indexOf(e))return""}else if(0===e.indexOf(r))return e.slice(r.length)}for(var i=0,a=Object.keys(n.country_calling_codes);i<a.length;i++){var o=a[i];if(1===e.indexOf(o))return e.slice(1+o.length)}return""}(e,r,i):"";if(n){var o=nb(r,i);if(0!==e.indexOf(o))return o}else{var s=nb(r,i);return 0===e.indexOf(s)?e:s}}}else if("+"!==e[0])return nw(e,n,i)||"";return e}(o.phoneDigits,{prevCountry:o.country,newCountry:e,metadata:r,useNationalFormat:!n}),l=nw(s,e,r);a&&f.inputRef.current.focus(),f.setState({country:e,latestCountrySelectedByUser:e,hasUserSelectedACountry:!0,phoneDigits:s,value:l},function(){i(l)})}),nB(f,"onChange",function(e){var t=f.props,n=t.defaultCountry,r=t.onChange,i=t.addInternationalOption,a=t.international,o=t.limitMaxLength,s=t.countryCallingCodeEditable,l=t.metadata,u=f.state,c=u.countries,d=u.phoneDigits,h=u.country,p=u.latestCountrySelectedByUser,m=function(e,t){var n,r=t.prevPhoneDigits,i=t.country,a=t.defaultCountry,o=t.latestCountrySelectedByUser,s=t.countryRequired,l=t.getAnyCountry,u=t.countries,c=t.international,d=t.limitMaxLength,h=t.countryCallingCodeEditable,f=t.metadata;if(c&&!1===h&&i){var p,m=nb(i,f);if(0!==e.indexOf(m))return e&&"+"!==e[0]?p=nw(e=m+e,i,f):e=m,{phoneDigits:e,value:p,country:i}}return!1===c&&i&&e&&"+"===e[0]&&(e=nC(e,i,f)),e&&i&&d&&(e=function(e,t,n){var r=nS(e,t,n);if(r){var i,a,o=r.length-(i=t,(a=new k(a=n)).selectNumberingPlan(i),a.numberingPlan.possibleLengths()[a.numberingPlan.possibleLengths().length-1]);if(o>0)return e.slice(0,e.length-o)}return e}(e,i,f)),e&&"+"!==e[0]&&(!i||c)&&(e="+"+e),!e&&r&&"+"===r[0]&&(i=c?void 0:a),"+"===e&&r&&"+"===r[0]&&r.length>1&&(i=void 0),e&&(n="+"===e[0]&&("+"===e||i&&0===nb(i,f).indexOf(e))?void 0:nw(e,i,f)),n&&(i=nx(n,{country:i,countries:u,defaultCountry:a,latestCountrySelectedByUser:o,required:!1,metadata:f}),!1===c&&i&&e&&"+"===e[0]&&(n=nw(e=nC(e,i,f),i,f))),!i&&s&&(i=a||l()),{phoneDigits:e,country:i,value:n}}(e,{prevPhoneDigits:d,country:h,countryRequired:!i,defaultCountry:n,latestCountrySelectedByUser:p,getAnyCountry:function(){return f.getFirstSupportedCountry({countries:c})},countries:c,international:a,limitMaxLength:o,countryCallingCodeEditable:s,metadata:l}),g=m.phoneDigits,v=m.country,y=m.value,b={phoneDigits:g,value:y,country:v};p&&y&&!nA(y,p,l)&&(b.latestCountrySelectedByUser=void 0),!1!==s||y||g!==f.state.phoneDigits||(b.forceRerender={}),f.setState(b,function(){return r(y)})}),nB(f,"_onFocus",function(){return f.setState({isFocused:!0})}),nB(f,"_onBlur",function(){return f.setState({isFocused:!1})}),nB(f,"onFocus",function(e){f._onFocus();var t=f.props.onFocus;t&&t(e)}),nB(f,"onBlur",function(e){var t=f.props.onBlur;f._onBlur(),t&&t(e)}),nB(f,"onCountryFocus",function(e){f._onFocus();var t=f.props.countrySelectProps;if(t){var n=t.onFocus;n&&n(e)}}),nB(f,"onCountryBlur",function(e){f._onBlur();var t=f.props.countrySelectProps;if(t){var n=t.onBlur;n&&n(e)}}),f.inputRef=eK.createRef();var t,n,i,a,o,s,l,u,c,d,h,f,p=f.props,m=p.value,g=(p.labels,p.international),v=p.addInternationalOption,y=p.displayInitialValueAsLocalNumber,b=p.initialValueFormat,w=p.metadata,x=f.props,C=x.defaultCountry,E=x.countries;C&&!f.isCountrySupportedWithError(C)&&(C=void 0),m&&nc(m),E=nf(E,w);var S=eU(m||"",w);f.CountryIcon=nv(f.props);var A=(i=(t={value:m,phoneNumber:S,defaultCountry:C,required:!v,countries:E||np(w),getAnyCountry:function(){return f.getFirstSupportedCountry({countries:E})},metadata:w}).value,a=t.phoneNumber,o=t.defaultCountry,s=t.getAnyCountry,l=t.countries,u=t.required,c=t.metadata,a&&a.country?n=a.country:o&&(!i||nA(i,o,c))&&(n=o),l&&0>l.indexOf(n)&&(n=void 0),!n&&u&&l&&l.length>0&&(n=s()),n);return f.state={props:f.props,country:A,countries:E,phoneDigits:nk({value:m,phoneNumber:S,defaultCountry:C,international:g,useNationalFormat:y||"national"===b,metadata:w}),value:m},f}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&nz(r,e),t=[{key:"componentDidMount",value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,n=this.state.country;e&&(t&&!this.isCountrySupportedWithError(t)&&(t=void 0),n!==t&&e(n))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.onCountryChange,r=this.state.country;n&&r!==t.country&&n(r)}},{key:"getCountrySelectOptions",value:function(e){var t=e.countries,n=this.props,r=n.international,i=n.countryCallingCodeEditable,a=n.countryOptionsOrder,o=n.addInternationalOption,s=n.labels,l=n.locales,u=n.metadata;return this.useMemoCountrySelectOptions(function(){var e,n,c,d,h,f,p;return function(e,t){if(!t)return e;for(var n,r=[],i=[],a=r,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nd(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nd(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=o()).done;)!function(){var t=n.value;if("|"===t)a.push({divider:!0});else if("..."===t||"…"===t)a=i;else{var r="\uD83C\uDF10"===t?void 0:t,o=e.indexOf(e.filter(function(e){return e.value===r})[0]),s=e[o];e.splice(o,1),a.push(s)}}();return r.concat(e).concat(i)}((n=(e={countries:t||np(u),countryNames:s,addInternationalOption:(!r||!1!==i)&&o,compareStringsLocales:l}).countries,c=e.countryNames,d=e.addInternationalOption,h=e.compareStringsLocales,(f=e.compareStrings)||(f=nE),(p=n.map(function(e){return{value:e,label:c[e]||e}})).sort(function(e,t){return f(e.label,t.label,h)}),d&&p.unshift({label:c.ZZ}),p),function(e,t){if(e&&(e=e.filter(function(e){switch(e){case"\uD83C\uDF10":case"|":case"...":case"…":return!0;default:return nh(e,t)}})).length>0)return e}(a,u))},[t,a,o,s,u])}},{key:"useMemoCountrySelectOptions",value:function(e,t){return this.countrySelectOptionsMemoDependencies&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}(t,this.countrySelectOptionsMemoDependencies)||(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.disabled,r=e.readOnly,i=e.autoComplete,a=e.style,o=e.className,s=(e.inputRef,e.inputComponent),l=e.numberInputProps,u=e.smartCaret,c=e.countrySelectComponent,d=e.countrySelectProps,h=e.containerComponent,f=e.containerComponentProps,p=(e.defaultCountry,e.countries,e.countryOptionsOrder,e.labels),m=(e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset,e.metadata),g=e.international,v=(e.locales,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,nO)),y=this.state,b=y.country,w=y.countries,x=y.phoneDigits,C=y.isFocused,E=this.getCountrySelectOptions({countries:w});return eK.createElement(h,nj({style:a,className:e0(o,"PhoneInput",{"PhoneInput--focus":C,"PhoneInput--disabled":n,"PhoneInput--readOnly":r})},f),eK.createElement(c,nj({name:t?"".concat(t,"Country"):void 0,"aria-label":p.country},d,{value:b,options:E,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:n||d&&d.disabled,readOnly:r||d&&d.readOnly,iconComponent:this.CountryIcon})),eK.createElement(u?tG:tY,nj({ref:this.setInputRef,type:"tel",autoComplete:i},l,v,{inputFormat:!0===g?"INTERNATIONAL":!1===g?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:!!g||void 0,withCountryCallingCode:!!g||void 0,name:t,metadata:m,country:b,value:x||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:n,readOnly:r,inputComponent:s,className:e0("PhoneInputInput",l&&l.className,v.className)})))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return nD({props:e},function(e,t,n){var r=e.metadata,i=e.countries,a=e.defaultCountry,o=e.value,s=e.reset,l=e.international,u=e.displayInitialValueAsLocalNumber,c=e.initialValueFormat,d=t.defaultCountry,h=t.value,f=t.reset;n.country;var p=n.value,m=n.hasUserSelectedACountry,g=n.latestCountrySelectedByUser,v=function(e){return nk(nI(nI({},e),{},{international:l,useNationalFormat:u||"national"===c,metadata:r}))};if(s!==f)return{phoneDigits:v({value:void 0,defaultCountry:a}),value:void 0,country:a,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(a!==d){var y=!a||nh(a,r),b=!p||l&&p===v({value:void 0,defaultCountry:d}),w=!o&&b;if(!m&&y&&w)return{country:a,phoneDigits:v({value:void 0,defaultCountry:a}),value:void 0}}if(!nT(o,h)&&!nT(o,p)){if(o){o&&nc(o);var x,C,E=eU(o||"",r),S=nf(i,r);E&&E.country?(!S||S.indexOf(E.country)>=0)&&(x=E.country):(x=nx(o,{country:void 0,countries:S,metadata:r}))||!a||0!==o.indexOf(nb(a,r))||(x=a)}return o?g&&((x?g===x:nA(o,g,r))?x||(x=g):C={latestCountrySelectedByUser:void 0}):C={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},nI(nI({},C),{},{phoneDigits:v({phoneNumber:E,value:o,defaultCountry:a}
21),value:o,country:o?x:a})}}(e,t.props,t))}}],t&&n_(r.prototype,t),n&&n_(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}(eK.PureComponent),nq=eK.forwardRef(function(e,t){return eK.createElement(nU,nj({},function(e){for(var t in e=nD({},e),nH)void 0===e[t]&&(e[t]=nH[t]);return e}(e),{inputRef:t}))});nq.propTypes={value:eX.string,onChange:eX.func.isRequired,onFocus:eX.func,onBlur:eX.func,disabled:eX.bool,readOnly:eX.bool,autoComplete:eX.string,initialValueFormat:eX.oneOf(["national"]),displayInitialValueAsLocalNumber:eX.bool,defaultCountry:eX.string,countries:eX.arrayOf(eX.string),labels:eJ,locales:eX.oneOfType([eX.string,eX.arrayOf(eX.string)]),flagUrl:eX.string,flags:eX.objectOf(eX.elementType),flagComponent:eX.elementType,addInternationalOption:eX.bool,internationalIcon:eX.elementType,countryOptionsOrder:eX.arrayOf(eX.string),style:eX.object,className:eX.string,countrySelectComponent:eX.elementType,countrySelectProps:eX.object,inputComponent:eX.elementType,numberInputProps:eX.object,containerComponent:eX.elementType,containerComponentProps:eX.object,smartCaret:eX.bool,international:eX.bool,limitMaxLength:eX.bool,countryCallingCodeEditable:eX.bool,metadata:eQ,onCountryChange:eX.func,focusInputOnCountrySelection:eX.bool};var nH={autoComplete:"tel",countrySelectComponent:t6,flagComponent:nt,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:ns,inputComponent:"input",containerComponent:"div",reset:eX.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0},nZ=["metadata","labels"];function nW(){return(nW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nG(e){var t=eK.forwardRef(function(t,n){var r=t.metadata,i=t.labels,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,nZ);return eK.createElement(nq,nW({},a,{ref:n,metadata:void 0===r?e:r,labels:void 0===i?eY:i}))});return t.propTypes={metadata:eQ,labels:eJ},t}function n$(e,t){var n=Array.prototype.slice.call(t);return n.push(r),e.apply(this,n)}function nK(){return n$(eU,arguments)}function nY(){return n$(eH,arguments)}function nX(){return n$(e$,arguments)}nG(),nG(r)},66310:(e,t,n)=>{"use strict";n.d(t,{F0:()=>d});let{Axios:r,AxiosError:i,CanceledError:a,isCancel:o,CancelToken:s,VERSION:l,all:u,Cancel:c,isAxiosError:d,spread:h,toFormData:f,AxiosHeaders:p,HttpStatusCode:m,formToJSON:g,getAdapter:v,mergeConfig:y}=n(75119).A},66581:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},66678:(e,t,n)=>{var r=n(38302),i=n(2882),a=n(91994);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,i,n)}},66818:(e,t,n)=>{"use strict";n.d(t,{yK:()=>el});var r=n(29143);let i=Object.create(null),a=e=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?i:globalThis),o=new Proxy(i,{get:(e,t)=>a()[t]??i[t],has:(e,t)=>t in a()||t in i,set:(e,t,n)=>(a(!0)[t]=n,!0),deleteProperty(e,t){if(!t)return!1;let n=a(!0);return delete n[t],!0},ownKeys:()=>Object.keys(a(!0))});function s(e,t){return void 0!==r&&r.env?r.env[e]??t:"undefined"!=typeof Deno?Deno.env.get(e)??t:"undefined"!=typeof Bun?Bun.env[e]??t:t}void 0!==r&&r.env,Object.freeze({get BETTER_AUTH_SECRET(){return s("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return s("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return s("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return s("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return s("NODE_ENV","development")},get PACKAGE_VERSION(){return s("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return s("BETTER_AUTH_TELEMETRY_ENDPOINT","https://telemetry.better-auth.com/v1/track")}});let l={eterm:4,cons25:4,console:4,cygwin:4,dtterm:4,gnome:4,hurd:4,jfbterm:4,konsole:4,kterm:4,mlterm:4,mosh:24,putty:4,st:4,"rxvt-unicode-24bit":24,terminator:24,"xterm-kitty":24},u=new Map(Object.entries({APPVEYOR:8,BUILDKITE:8,CIRCLECI:24,DRONE:8,GITEA_ACTIONS:24,GITHUB_ACTIONS:24,GITLAB_CI:8,TRAVIS:8})),c=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/],d={reset:"\x1b[0m",bright:"\x1b[1m",dim:"\x1b[2m",fg:{black:"\x1b[30m",red:"\x1b[31m",green:"\x1b[32m",
21yellow:"\x1b[33m",blue:"\x1b[34m",magenta:"\x1b[35m",cyan:"\x1b[36m",white:"\x1b[37m"}},h=["debug","info","success","warn","error"],f={info:d.fg.blue,success:d.fg.green,warn:d.fg.yellow,error:d.fg.red,debug:d.fg.magenta};(e=>{let t=e?.disabled!==!0,n=e?.level??"error",r=e?.disableColors!==void 0?!e.disableColors:1!==function(){if(void 0!==s("FORCE_COLOR"))switch(s("FORCE_COLOR")){case"":case"1":case"true":return 4;case"2":return 8;case"3":return 24;default:return 1}if(void 0!==s("NODE_DISABLE_COLORS")&&""!==s("NODE_DISABLE_COLORS")||void 0!==s("NO_COLOR")&&""!==s("NO_COLOR")||"dumb"===s("TERM"))return 1;if(s("TMUX"))return 24;if("TF_BUILD"in o&&"AGENT_NAME"in o)return 4;if("CI"in o){for(let{0:e,1:t}of u)if(e in o)return t;return"codeship"===s("CI_NAME")?8:1}if("TEAMCITY_VERSION"in o)return null!==/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(s("TEAMCITY_VERSION"))?4:1;switch(s("TERM_PROGRAM")){case"iTerm.app":if(!s("TERM_PROGRAM_VERSION")||null!==/^[0-2]\./.exec(s("TERM_PROGRAM_VERSION")))return 8;return 24;case"HyperTerm":case"MacTerm":return 24;case"Apple_Terminal":return 8}if("truecolor"===s("COLORTERM")||"24bit"===s("COLORTERM"))return 24;if(s("TERM")){if(null!==/truecolor/.exec(s("TERM")))return 24;if(null!==/^xterm-256/.exec(s("TERM")))return 8;let e=s("TERM").toLowerCase();if(l[e])return l[e];if(c.some(t=>null!==t.exec(e)))return 4}return s("COLORTERM")?4:1}();return{...Object.fromEntries(h.map(i=>[i,(...[a,...o])=>((i,a,o=[])=>{if(!t||!(h.indexOf(i)>=h.indexOf(n)))return;let s=((e,t,n)=>{let r=new Date().toISOString();return n?`${d.dim}${r}${d.reset} ${f[e]}${e.toUpperCase()}${d.reset} ${d.bright}[Better Auth]:${d.reset} ${t}`:`${r} ${e.toUpperCase()} [Better Auth]: ${t}`})(i,a,r);if(!e||"function"!=typeof e.log)return void("error"===i?console.error(s,...o):"warn"===i?console.warn(s,...o):console.log(s,...o));e.log("success"===i?"info":i,a,...o)})(i,a,o)])),get level(){return n}}})();var p=class extends Error{constructor(e,t){super(e),this.name="BetterAuthError",this.message=e,this.cause=t,this.stack=""}};function m(e,t="/api/auth"){try{let t=new URL(e);if("http:"!==t.protocol&&"https:"!==t.protocol)throw new p(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(t){if(t instanceof p)throw t;throw new p(`Invalid base URL: ${e}. Please provide a valid base URL.`,String(t))}if(function(e){try{return"/"!==(new URL(e).pathname.replace(/\/+$/,"")||"/")}catch{throw new p(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}(e))return e;let n=e.replace(/\/+$/,"");return t&&"/"!==t?(t=t.startsWith("/")?t:`/${t}`,`${n}${t}`):n}let g={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect&&"undefined"!=typeof window&&window.location&&window.location)try{window.location.href=e.data.url}catch{}}}},v={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},y=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,b={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:1/0,"-infinity":-1/0},w=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/,x=[],C=0,E=0,S=e=>{let t=[],n={get:()=>(n.lc||n.listen(()=>{})(),n.value),lc:0,listen:e=>(n.lc=t.push(e),()=>{for(let t=C+4;t<x.length;)x[t]===e?x.splice(t,4):t+=4;let r=t.indexOf(e);~r&&(t.splice(r,1),--n.lc||n.off())}),notify(e,r){E++;let i=!x.length;for(let i of t)x.push(i,n.value,e,r);if(i){for(C=0;C<x.length;C+=4)x[C](x[C+1],x[C+2],x[C+3]);x.length=0}},off(){},set(e){let t=n.value;t!==e&&(n.value=e,n.notify(t))},subscribe(e){let t=n.listen(e);return e(n.value),t},value:e};return n},A=(e,t)=>((e,t,n,r)=>(e.events=e.events||{},e.events[n+10]||(e.events[n+10]=r(t=>{e.events[n].reduceRight((e,t)=>(t(e),e),{shared:{},...t})})),e.events[n]=e.events[n]||[],e.events[n].push(t),()=>{let r=e.events[n],i=r.indexOf(t);r.splice(i,1),r.length||(delete e.events[n],e.events[n+10](),delete e.events[n+10])}))(e,n=>{let r=t(n);r&&e.events[6].push(r)},5,t=>{let n=e.listen;e.listen=(...r)=>(e.lc||e.active||(e.active=!0,t()),n(...r));let r=e.off;return e.events[6]=[],e.off=()=>{r(),setTimeout(()=>
21{if(e.active&&!e.lc){for(let t of(e.active=!1,e.events[6]))t();e.events[6]=[]}},1e3)},()=>{e.listen=n,e.off=r}}),k=()=>"undefined"==typeof window,N=Symbol.for("better-auth:broadcast-channel");var P=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if("undefined"!=typeof window)try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:Math.floor(Date.now()/1e3)}))}catch{}}setup(){if("undefined"==typeof window||void 0===window.addEventListener)return()=>{};let e=e=>{if(e.key!==this.name)return;let t=JSON.parse(e.newValue??"{}");t?.event==="session"&&t?.data&&this.listeners.forEach(e=>e(t))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function I(e="better-auth.message"){return globalThis[N]||(globalThis[N]=new P(e)),globalThis[N]}let T=Symbol.for("better-auth:focus-manager");var O=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach(t=>t(e))}setup(){if("undefined"==typeof window||"undefined"==typeof document||void 0===window.addEventListener)return()=>{};let e=()=>{"visible"===document.visibilityState&&this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function L(){return globalThis[T]||(globalThis[T]=new O),globalThis[T]}let M=Symbol.for("better-auth:online-manager");var D=class{listeners=new Set;isOnline="undefined"==typeof navigator||navigator.onLine;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach(t=>t(e))}setup(){if("undefined"==typeof window||void 0===window.addEventListener)return()=>{};let e=()=>this.setOnline(!0),t=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",t,!1)}}};function j(){return globalThis[M]||(globalThis[M]=new D),globalThis[M]}let _=()=>Math.floor(Date.now()/1e3);var R=Object.defineProperty,F=Object.defineProperties,z=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,q=(e,t,n)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||(t={}))V.call(t,n)&&q(e,n,t[n]);if(B)for(var n of B(t))U.call(t,n)&&q(e,n,t[n]);return e},Z=(e,t)=>F(e,z(t)),W=class extends Error{constructor(e,t,n){super(t||e.toString(),{cause:n}),this.status=e,this.statusText=t,this.error=n,Error.captureStackTrace(this,this.constructor)}},G=async(e,t)=>{var n,r,i,a,o,s;let l=t||{},u={onRequest:[null==t?void 0:t.onRequest],onResponse:[null==t?void 0:t.onResponse],onSuccess:[null==t?void 0:t.onSuccess],onError:[null==t?void 0:t.onError],onRetry:[null==t?void 0:t.onRetry]};if(!t||!(null==t?void 0:t.plugins))return{url:e,options:l,hooks:u};for(let c of(null==t?void 0:t.plugins)||[]){if(c.init){let r=await (null==(n=c.init)?void 0:n.call(c,e.toString(),t));l=r.options||l,e=r.url}u.onRequest.push(null==(r=c.hooks)?void 0:r.onRequest),u.onResponse.push(null==(i=c.hooks)?void 0:i.onResponse),u.onSuccess.push(null==(a=c.hooks)?void 0:a.onSuccess),u.onError.push(null==(o=c.hooks)?void 0:o.onError),u.onRetry.push(null==(s=c.hooks)?void 0:s.onRetry)}return{url:e,options:l,hooks:u}},$=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},K=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}},Y=async e=>{let t={},n=async e=>"function"==typeof e?await e():e;
21if(null==e?void 0:e.auth){if("Bearer"===e.auth.type){let r=await n(e.auth.token);if(!r)return t;t.authorization=`Bearer ${r}`}else if("Basic"===e.auth.type){let[r,i]=await Promise.all([n(e.auth.username),n(e.auth.password)]);if(!r||!i)return t;t.authorization=`Basic ${btoa(`${r}:${i}`)}`}else if("Custom"===e.auth.type){let[r,i]=await Promise.all([n(e.auth.prefix),n(e.auth.value)]);if(!i)return t;t.authorization=`${null!=r?r:""} ${i}`}}return t},X=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Q(e){if(void 0===e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}function J(e){try{return JSON.parse(e)}catch(t){return e}}function ee(e){return"function"==typeof e}async function et(e){let t=new Headers(null==e?void 0:e.headers);for(let[n,r]of Object.entries(await Y(e)||{}))t.set(n,r);if(!t.has("content-type")){let n=Q(null==e?void 0:e.body)?"application/json":null;n&&t.set("content-type",n)}return t}var en=class e extends Error{constructor(t,n){super(n||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,e.prototype)}};async function er(e,t){let n=await e["~standard"].validate(t);if(n.issues)throw new en(n.issues);return n.value}var ei=["get","post","put","patch","delete"],ea=async(e,t)=>{var n,r,i,a,o,s,l,u;let{hooks:c,url:d,options:h}=await G(e,t),f=function(e){if(null==e?void 0:e.customFetchImpl)return e.customFetchImpl;if("undefined"!=typeof globalThis&&ee(globalThis.fetch))return globalThis.fetch;if("undefined"!=typeof window&&ee(window.fetch))return window.fetch;throw Error("No fetch implementation found")}(h),p=new AbortController,m=null!=(n=h.signal)?n:p.signal,g=function(e,t){let{baseURL:n,params:r,query:i}=t||{query:{},params:{},baseURL:""},a=e.startsWith("http")?e.split("/").slice(0,3).join("/"):n||"";if(e.startsWith("@")){let t=e.toString().split("@")[1].split("/")[0];ei.includes(t)&&(e=e.replace(`@${t}/`,"/"))}a.endsWith("/")||(a+="/");let[o,s]=e.replace(a,"").split("?"),l=new URLSearchParams(s);for(let[e,t]of Object.entries(i||{})){let n;if(null!=t){if("string"==typeof t)n=t;else if(Array.isArray(t)){for(let n of t)l.append(e,n);continue}else n=JSON.stringify(t);l.set(e,n)}}if(r)if(Array.isArray(r))for(let[e,t]of o.split("/").filter(e=>e.startsWith(":")).entries()){let n=r[e];o=o.replace(t,n)}else for(let[e,t]of Object.entries(r))o=o.replace(`:${e}`,String(t));(o=o.split("/").map(encodeURIComponent).join("/")).startsWith("/")&&(o=o.slice(1));let u=l.toString();return(u=u.length>0?`?${u}`.replace(/\+/g,"%20"):"",a.startsWith("http"))?new URL(`${o}${u}`,a):`${a}${o}${u}`}(d,h),v=function(e){if(!(null==e?void 0:e.body))return null;let t=new Headers(null==e?void 0:e.headers);if(Q(e.body)&&!t.has("content-type")){for(let[t,n]of Object.entries(null==e?void 0:e.body))n instanceof Date&&(e.body[t]=n.toISOString());return JSON.stringify(e.body)}return t.has("content-type")&&"application/x-www-form-urlencoded"===t.get("content-type")&&Q(e.body)?new URLSearchParams(e.body).toString():e.body}(h),y=await et(h),b=function(e,t){var n;if(null==t?void 0:t.method)return t.method.toUpperCase();if(e.startsWith("@")){let r=null==(n=e.split("@")[1])?void 0:n.split("/")[0];return ei.includes(r)?r.toUpperCase():(null==t?void 0:t.body)?"POST":"GET"}return(null==t?void 0:t.body)?"POST":"GET"}(d,h),w=Z(H({},h),{url:g,headers:y,body:v,method:b,signal:m});for(let e of c.onRequest)if(e){let t=await e(w);"object"==typeof t&&null!==t&&(w=t)}("pipeTo"in w&&"function"==typeof w.pipeTo||"function"==typeof(null==(r=null==t?void 0:t.body)?void 0:r.pipe))&&!("duplex"in w)&&(w.duplex="half");let{clearTimeout:x}=function(e,t){let n;return!(null==e?void 0:e.signal)&&(null==e?void 0:e.timeout)&&(n=setTimeout(()=>null==t?void 0:t.abort(),null==e?void 0:e.timeout)),{abortTimeout:n,clearTimeout:()=>{n&&clearTimeout(n)}}}(h,p),C=await f(w.url,w);x();let E={response:C,request:w};for(let e of c.onResponse)if(e){let n=await e(Z(H({},E),{response:(null==(i=null==t?void 0:t.hookOptions)?void 0:i.cloneResponse)?C.clone():C}));n instanceof Response?C=n:"object"==typeof n&&null!==n&&(C=n.response)}if(C.ok){if("HEAD"===w.method)return{data:"",error:null};let e=function(e){let t=e.headers.get("content-type"),n=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";let r=t.split(";").shift()||"";return X.test(r)?"json":n.has(r)||r.startsWith("text/")?"text":"blob"}(C),n={data:null,response:C,request:w};if("json"===e||"text"===e){let e=await C.text(),t=null!=(a=w.jsonParser)?a:J;n.data=await t(e)}else n.data=await C[e]();for(let e of((null==w?void 0:w.output)&&w.output&&!w.disableValidation&&(n.data=await er(w.output,n.data)),c.onSuccess))e&&await e(Z(H({},n),{response:(null==(o=null==t?void 0:t.hookOptions)?void 0:o.cloneResponse)?C.clone():C}));return(null==t?void 0:t.throw)?n.data:{data:n.data,error:null}}let S=null!=(s=null==t?void 0:t.jsonParser)?s:J,A=await C.text(),k=function(e){try{return JSON.parse(e),!0}catch(e){return!1}}(A),N=k?await S(A):null,P={response:C,responseText:A,request:w,error:Z(H({},N),{status:C.status,statusText:C.statusText})};for(let e of c.onError)e&&await e(Z(H({},P),{response:(null==(l=null==t?void 0:t.hookOptions)?void 0:l.cloneResponse)?C.clone():C}));if(null==t?void 0:t.retry){let n=function(e){if("number"==typeof e)return new $({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new $(e);case"exponential":return new K(e);default:throw Error("Invalid retry strategy")}}(t.retry),r=null!=(u=t.retryAttempt)?u:0;
21if(await n.shouldAttemptRetry(r,C)){for(let e of c.onRetry)e&&await e(E);let i=n.getDelay(r);return await new Promise(e=>setTimeout(e,i)),await ea(e,Z(H({},t),{retryAttempt:r+1}))}}if(null==t?void 0:t.throw)throw new W(C.status,C.statusText,k?N:A);return{data:null,error:Z(H({},N),{status:C.status,statusText:C.statusText})}},eo=n(55729),es=n(92351);let el=function(e){var t;let{pluginPathMethods:n,pluginsActions:r,pluginsAtoms:i,$fetch:a,$store:s,atomListeners:l}=((e,t)=>{let n,r="credentials"in Request.prototype,i=function(e,t,n,r,i){if(e)return m(e,t);if(!1!==r){let e=o.BETTER_AUTH_URL||o.NEXT_PUBLIC_BETTER_AUTH_URL||o.PUBLIC_BETTER_AUTH_URL||o.NUXT_PUBLIC_BETTER_AUTH_URL||o.NUXT_PUBLIC_AUTH_URL||("/"!==o.BASE_URL?o.BASE_URL:void 0);if(e)return m(e,t)}n?.headers.get("x-forwarded-host"),n?.headers.get("x-forwarded-proto");if(n){let e=function(e){try{let t=new URL(e);return"null"===t.origin?null:t.origin}catch{return null}}(n.url);if(!e)throw new p("Could not get origin from request. Please provide a valid base URL.");return m(e,t)}if("undefined"!=typeof window&&window.location)return m(window.location.origin,t)}(e?.baseURL,e?.basePath,void 0,t)??"/api/auth",a=e?.plugins?.flatMap(e=>e.fetchPlugins).filter(e=>void 0!==e)||[],s={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:u,onRequest:c,onResponse:d,...h}=e?.fetchOptions||{},f=(n={baseURL:i,...r?{credentials:"include"}:{},method:"GET",jsonParser:e=>e?function(e,t={strict:!0}){return function(e,t={}){let{strict:n=!1,warnings:r=!1,reviver:i,parseDates:a=!0}=t;if("string"!=typeof e)return e;let o=e.trim();if(o.length>0&&'"'===o[0]&&o.endsWith('"')&&!o.slice(1,-1).includes('"'))return o.slice(1,-1);let s=o.toLowerCase();if(s.length<=9&&s in b)return b[s];if(!y.test(o)){if(n)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(v).some(([e,t])=>{let n=t.test(o);return n&&r&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${e} pattern`),n})&&n)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(o,(e,t)=>{if("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t){r&&console.warn(`[better-json] Dropping "${e}" key to prevent prototype pollution`);return}if(a&&"string"==typeof t){let e=function(e){let t=w.exec(e);if(!t)return null;let[,n,r,i,a,o,s,l,u,c,d]=t,h=new Date(Date.UTC(parseInt(n,10),parseInt(r,10)-1,parseInt(i,10),parseInt(a,10),parseInt(o,10),parseInt(s,10),l?parseInt(l.padEnd(3,"0"),10):0));if(u){let e=(60*parseInt(c,10)+parseInt(d,10))*("+"===u?-1:1);h.setUTCMinutes(h.getUTCMinutes()+e)}return h instanceof Date&&!isNaN(h.getTime())?h:null}(t);if(e)return e}return i?i(e,t):t})}catch(t){if(n)throw t;return e}}(e,t)}(e,{strict:!1}):null,customFetchImpl:fetch,...h,plugins:[s,...h.plugins||[],...e?.disableDefaultFetchPlugins?[]:[g],...a]},async function(e,t){let r,i=Z(H(H({},n),t),{plugins:[...(null==n?void 0:n.plugins)||[],(r=n||{},{id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(e,t){var n,i,a,o;let s=(null==(i=null==(n=r.plugins)?void 0:n.find(t=>{var n;return null!=(n=t.schema)&&!!n.config&&(e.startsWith(t.schema.config.baseURL||"")||e.startsWith(t.schema.config.prefix||""))}))?void 0:i.schema)||r.schema;if(s){let n=e;(null==(a=s.config)?void 0:a.prefix)&&n.startsWith(s.config.prefix)&&(n=n.replace(s.config.prefix,""),s.config.baseURL&&(e=e.replace(s.config.prefix,s.config.baseURL))),(null==(o=s.config)?void 0:o.baseURL)&&n.startsWith(s.config.baseURL)&&(n=n.replace(s.config.baseURL,""));let r=s.schema[n];if(r){let n=Z(H({},t),{method:r.method,output:r.output});return(null==t?void 0:t.disableValidation)||(n=Z(H({},n),{body:r.input?await er(r.input,null==t?void 0:t.body):null==t?void 0:t.body,params:r.params?await er(r.params,null==t?void 0:t.params):null==t?void 0:t.params,query:r.query?await er(r.query,null==t?void 0:t.query):null==t?void 0:t.query})),{url:e,options:n}}}return{url:e,options:t}}}),...(null==t?void 0:t.plugins)||[]]});if(null==n?void 0:n.catchAllError)try{return await ea(e,i)}catch(e){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:e}}}return await ea(e,i)}),{$sessionSignal:x,session:C}=function(e,t){let n=S(!1),r=((e,t,n,r)=>{let i=S({data:null,error:null,isPending:!0,isRefetching:!1,refetch:e=>a(e)}),a=async e=>new Promise(a=>{let o="function"==typeof r?r({data:i.get().data,error:i.get().error,
21isPending:i.get().isPending}):r;n(t,{...o,query:{...o?.query,...e?.query},async onSuccess(e){i.set({data:e.data,error:null,isPending:!1,isRefetching:!1,refetch:i.value.refetch}),await o?.onSuccess?.(e)},async onError(e){let{request:t}=e,n="number"==typeof t.retry?t.retry:t.retry?.attempts,r=t.retryAttempt||0;n&&r<n||(i.set({error:e.error,data:null,isPending:!1,isRefetching:!1,refetch:i.value.refetch}),await o?.onError?.(e))},async onRequest(e){let t=i.get();i.set({isPending:null===t.data,data:t.data,error:null,isRefetching:!0,refetch:i.value.refetch}),await o?.onRequest?.(e)}}).catch(e=>{i.set({error:e,data:null,isPending:!1,isRefetching:!1,refetch:i.value.refetch})}).finally(()=>{a(void 0)})});e=Array.isArray(e)?e:[e];let o=!1;for(let t of e)t.subscribe(async()=>{k()||(o?await a():A(i,()=>{let e=setTimeout(async()=>{o||(await a(),o=!0)},0);return()=>{i.off(),t.off(),clearTimeout(e)}}))});return i})(n,"/get-session",e,{method:"GET"});return A(r,()=>{let i=function(e){let{sessionAtom:t,sessionSignal:n,$fetch:r,options:i={}}=e,a=i.sessionOptions?.refetchInterval??0,o=i.sessionOptions?.refetchOnWindowFocus??!0,s=i.sessionOptions?.refetchWhenOffline??!1,l={lastSync:0,lastSessionRequest:0,cachedSession:void 0},u=e=>{if(!(s||j().isOnline))return;if(e?.event==="storage"){l.lastSync=_(),n.set(!n.get());return}let i=t.get();if(e?.event==="poll"){l.lastSessionRequest=_(),r("/get-session").then(e=>{e.error?t.set({...i,data:null,error:e.error}):t.set({...i,data:e.data,error:null}),l.lastSync=_(),n.set(!n.get())}).catch(()=>{});return}if(e?.event==="visibilitychange"){if(_()-l.lastSessionRequest<5)return;l.lastSessionRequest=_()}(i?.data===null||i?.data===void 0||e?.event==="visibilitychange")&&(l.lastSync=_(),n.set(!n.get()))};return{init:()=>{a&&a>0&&(l.pollInterval=setInterval(()=>{t.get()?.data&&u({event:"poll"})},1e3*a)),l.unsubscribeBroadcast=I().subscribe(()=>{u({event:"storage"})}),o&&(l.unsubscribeFocus=L().subscribe(()=>{u({event:"visibilitychange"})})),l.unsubscribeOnline=j().subscribe(e=>{e&&u({event:"visibilitychange"})}),I().setup(),L().setup(),j().setup()},cleanup:()=>{l.pollInterval&&(clearInterval(l.pollInterval),l.pollInterval=void 0),l.unsubscribeBroadcast&&(l.unsubscribeBroadcast(),l.unsubscribeBroadcast=void 0),l.unsubscribeFocus&&(l.unsubscribeFocus(),l.unsubscribeFocus=void 0),l.unsubscribeOnline&&(l.unsubscribeOnline(),l.unsubscribeOnline=void 0),l.lastSync=0,l.lastSessionRequest=0,l.cachedSession=void 0},triggerRefetch:u,broadcastSessionUpdate:e=>{I().post({event:"session",data:{trigger:e},clientId:Math.random().toString(36).substring(7)})}}}({sessionAtom:r,sessionSignal:n,$fetch:e,options:t});return i.init(),()=>{i.cleanup()}}),{session:r,$sessionSignal:n}}(f,e),E=e?.plugins||[],N={},P={$sessionSignal:x,session:C},T={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},O=[{signal:"$sessionSignal",matcher:e=>"/sign-out"===e||"/update-user"===e||"/sign-up/email"===e||"/sign-in/email"===e||"/delete-user"===e||"/verify-email"===e||"/revoke-sessions"===e||"/revoke-session"===e||"/change-email"===e}];for(let e of E)e.getAtoms&&Object.assign(P,e.getAtoms?.(f)),e.pathMethods&&Object.assign(T,e.pathMethods),e.atomListeners&&O.push(...e.atomListeners);let M={notify:e=>{P[e].set(!P[e].get())},listen:(e,t)=>{P[e].subscribe(t)},atoms:P};for(let t of E)t.getActions&&Object.assign(N,t.getActions?.(f,M,e));return{get baseURL(){return i},pluginsActions:N,pluginsAtoms:P,pluginPathMethods:T,atomListeners:O,$fetch:f,$store:M}})(e),u={};for(let[e,t]of Object.entries(i))u[function(e){return`use${e.charAt(0).toUpperCase()+e.slice(1)}`}(e)]=()=>(function(e,t={}){let n=(0,eo.useRef)(e.get()),{keys:r,deps:i=[e,r]}=t,a=(0,eo.useCallback)(t=>{let i=e=>{n.current!==e&&(n.current=e,t())};if(i(e.value),r?.length){let t;return t=new Set(r).add(void 0),e.listen((e,n,r)=>{t.has(r)&&i(e,n,r)})}return e.listen(i)},i),o=()=>n.current;return(0,eo.useSyncExternalStore)(a,o,o)})(t);return t={...r,...u,$fetch:a,$store:s},function e(r=[]){return new Proxy(function(){},{get(n,i){var a;if("string"!=typeof i||"then"===i||"catch"===i||"finally"===i)return;let o=[...r,i],s=t;for(let e of o)if(s&&"object"==typeof s&&e in s)s=s[e];else{s=void 0;break}return"function"==typeof s?s:"object"==typeof(a=s)&&null!==a&&"get"in a&&"function"==typeof a.get&&"lc"in a&&"number"==typeof a.lc?s:e(o)},apply:async(e,t,o)=>{let s="/"+r.map(e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)).join("/"),u=o[0]||{},c=o[1]||{},{query:d,fetchOptions:h,...f}=u,p={...c,...h},m=function(e,t,n){let r=t[e],{fetchOptions:i,query:a,...o}=n||{};return r||(i?.method?i.method:o&&Object.keys(o).length>0?"POST":"GET")}(s,n,u);return await a(s,{...p,body:"GET"===m?void 0:{...f,...p?.body||{}},query:d||p?.query,method:m,async onSuccess(e){if(await p?.onSuccess?.(e),!l||p.disableSignal)return;let t=l.filter(e=>e.matcher(s));if(!t.length)return;let n=new Set;for(let e of t){let t=i[e.signal];if(!t)return;if(n.has(e.signal))continue;n.add(e.signal);let r=t.get();setTimeout(()=>{t.set(!r)},10)}}})}})}()}({baseURL:"".concat(es.A.API_HOST,"/api/better-auth"),fetchOptions:{credentials:"include",headers:{"X-Platform":"webApp"}}}),{useSession:eu,signIn:ec,signOut:ed,signUp:eh}=el},67118:(e,t,n)=>{"use strict";var r,i=n(57388),a=n(26312),o=n(72452),s=n(33138),l=n(74059),u=573;function c(e,t){return e.msg=l[t],t}function d(e){return(e<<1)-9*(e>4)}function h(e){for(var t=e.length;--t>=0;)e[t]=0}function f(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pen
21ding_out=0))}function p(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function m(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function v(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+258,f=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+o]!==p||u[n+o-1]!==f||u[n]!==u[a]||u[++n]!==u[a+1])continue;a+=2,n++;do;while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<h);if(r=258-(h-a),a=h-258,r>o){if(e.match_start=t,o=r,r>=s)break;f=u[a+o-1],p=u[a+o]}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function y(e){var t,n,r,a,l,u=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-262)){i.arraySet(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=u?r-u:0;while(--n);t=n=u;do r=e.prev[--t],e.prev[t]=r>=u?r-u:0;while(--n);a+=u}if(0===e.strm.avail_in)break;if(n=function(e,t,n,r){var a=e.avail_in;return(a>r&&(a=r),0===a)?0:(e.avail_in-=a,i.arraySet(t,e.input,e.next_in,a,n),1===e.state.wrap?e.adler=o(e.adler,t,a,n):2===e.state.wrap&&(e.adler=s(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)}(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function b(e,t){for(var n,r;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=v(e,n)),e.match_length>=3)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(p(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,4===t)?(p(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}function w(e,t){for(var n,r,i;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=v(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(p(e,!1),0===e.strm.avail_out))return 1}
21else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&p(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(r=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t)?(p(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}function x(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function C(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*u),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),h(this.dyn_ltree),h(this.dyn_dtree),h(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),h(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),h(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function E(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=0,a._tr_init(t),0):c(e,-2)}function S(e){var t,n=E(e);return 0===n&&((t=e.state).window_size=2*t.w_size,h(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function A(e,t,n,r,a,o){if(!e)return -2;var s=1;if(-1===t&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),a<1||a>9||8!==n||r<8||r>15||t<0||t>9||o<0||o>4)return c(e,-2);8===r&&(r=9);var l=new C;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=n,S(e)}r=[new x(0,0,0,0,function(e,t){var n=65535;for(65535>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,p(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(p(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(p(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(p(e,!1),e.strm.avail_out),1)}),new x(4,4,8,4,b),new x(4,5,16,8,b),new x(4,6,32,32,b),new x(4,4,16,16,w),new x(8,16,32,32,w),new x(8,16,128,128,w),new x(8,32,128,256,w),new x(32,128,258,1024,w),new x(32,258,258,4096,w)],t.deflateInit=function(e,t){return A(e,t,8,15,8,0)},t.deflateInit2=A,t.deflateReset=S,t.deflateResetKeep=E,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?c(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return c(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,m(i,31),m(i,139),m(i,8),i.gzhead?(m(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),m(i,255&i.gzhead.time),m(i,i.gzhead.time>>8&255),m(i,i.gzhead.time>>16&255),m(i,i.gzhead.time>>24&255),m(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),m(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(m(i,255&i.gzhead.extra.length),m(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gz
vendor: 4,440 bytes, line 21
21index=0,i.status=69):(m(i,0),m(i,0),m(i,0),m(i,0),m(i,0),m(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),m(i,3),i.status=113);else{var n,i,o,l,u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=113,g(i,u),0!==i.strstart&&(g(i,e.adler>>>16),g(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),f(e),o=i.pending,i.pending!==i.pending_buf_size));)m(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),f(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,m(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),f(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,m(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&f(e),i.pending+2<=i.pending_buf_size&&(m(i,255&e.adler),m(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(f(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&d(t)<=d(n)&&4!==t)return c(e,-5);if(666===i.status&&0!==e.avail_in)return c(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var v=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(p(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(p(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+258;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(p(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(p(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if((3===v||4===v)&&(i.status=666),1===v||3===v)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===v&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(h(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),f(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(m(i,255&e.adler),m(i,e.adler>>8&255),m(i,e.adler>>16&255),m(i,e.adler>>24&255),m(i,255&e.total_in),m(i,e.total_in>>8&255),m(i,e.total_in>>16&255),m(i,e.total_in>>24&255)):(g(i,e.adler>>>16),g(i,65535&e.adler)),f(e),i.wrap>0&&(i.wrap=-i.wrap),+(0===i.pending))},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?c(e,-2):(e.state=null,113===t?c(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var n,r,a,s,l,u,c,d,f=t.length;if(!e||!e.state||2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return -2;for(1===s&&(e.adler=o(e.adler,t,f,0)),n.wrap=0,f>=n.w_size&&(0===s&&(h(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,f-n.w_size,n.w_size,0),t=d,f=n.w_size),l=e.avail_in,u=e.next_in,
21c=e.input,e.avail_in=f,e.next_in=0,e.input=t,y(n);n.lookahead>=3;){r=n.strstart,a=n.lookahead-2;do n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++;while(--a);n.strstart=r,n.lookahead=2,y(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,n.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},67290:(e,t,n)=>{var r=n(6802),i=n(28469),a=n(20764);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},67305:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,k:()=>l});var r=n(4308),i=n(95913),a=n(43064),o=n(77332),s=class extends o.k{#g;#v;#y;#a;#l;#b;#w;constructor(e){super(),this.#w=!1,this.#b=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#y=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#g=u(this.options),this.state=e.state??this.#g,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#l?.promise}setOptions(e){if(this.options={...this.#b,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=u(this.options);void 0!==e.data&&(this.setData(e.data,{updatedAt:e.dataUpdatedAt,manual:!0}),this.#g=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#y.remove(this)}setData(e,t){let n=(0,r.pl)(this.state.data,e,this.options);return this.#u({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#u({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#l?.promise;return this.#l?.cancel(e),t?t.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#g)}isActive(){return this.observers.some(e=>!1!==(0,r.Eh)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,r.d2)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,r.j3)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#l?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#l?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#y.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#l&&(this.#w?this.#l.cancel({revert:!0}):this.#l.cancelRetry()),this.scheduleGc()),this.#y.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#l?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#l)return this.#l.continueRetry(),this.#l.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#w=!0,n.signal)})},o=()=>{let e=(0,r.ZM)(this.options,t),n=(()=>{let e={client:this.#a,queryKey:this.queryKey,meta:this.meta};return i(e),e})();return(this.#w=!1,this.options.persister)?this.options.persister(e,n,this):e(n)},s=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:o};return i(e),e})();this.options.behavior?.onFetch(s,this),this.#v=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#u({type:"fetch",meta:s.fetchOptions?.meta}),this.#l=(0,a.II)({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:e=>{e instanceof a.cc&&e.revert&&this.setState({...this.#v,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{let e=await this.#l.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#y.config.onSuccess?.(e,this),this.#y.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.cc){if(e.silent)return this.#l.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#u({type:"error",error:e}),this.#y.config.onError?.(e,this),this.#y.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#u(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#v=e.manual?n:void 0,n;case"error":let r=e.error;
21return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.jG.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#y.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}},67695:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(87540);class i{getModalIsVisible(){return this.modalVisible}setModalVisible(e){this.modalVisible=e}setUserEmail(e){this.userEmail=e}constructor(){this.modalVisible=!1,this.userEmail=null,(0,r.Gn)(this,{modalVisible:r.sH,userEmail:r.sH,setUserEmail:r.XI})}}let a=new i},67733:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(56121),i=n.n(r);let a={fill:i().string,width:i().number,height:i().number,className:i().string}},67913:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r,i=n(55729),a=n(35896),o=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(o());return(0,a.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},68668:(e,t,n)=>{var r=n(66678);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},68749:(e,t,n)=>{var r=n(33573),i=n(3619);e.exports=function(e){return i(e)&&"[object Date]"==r(e)}},68935:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6029),i=n(81278),a=n(61924),o=n(53706),s=n(55729);let l=(0,o.PA)(e=>{var t;let{className:n,id:o,store:l,onSubmit:u}=e,c=(0,i.useRouter)();return(0,s.useEffect)(()=>{if(!l)return;let e=e=>{let t=document.activeElement;"Enter"===e.key&&((null==t?void 0:t.id)===o?null==u||u():l.setSearchText(l.searchText))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c,l]),(0,r.jsx)("div",{className:n,children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3",children:(0,r.jsx)(a.R,{name:"magnifyingGlass",alt:"magnifying_glass",width:20,height:20})}),(0,r.jsx)("input",{id:o,tabIndex:-1,type:"search",className:"block w-full rounded-lg border-gray-300 bg-gray-200 p-3.5 ps-10 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500",placeholder:"Rechercher",value:null!=(t=null==l?void 0:l.typedSearchText)?t:"",onChange:void 0!==l?e=>l.setTypedSearchText(e.target.value):void 0})]})})})},68988:(e,t,n)=>{var r=n(67290),i=n(10931),a=n(5549),o=n(91544),s=n(63778);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?o(e)?i(e[0],e[1]):r(e):s(e)}},69194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(30758),i=n(23330),a=n(30682),o=r._(n(92402));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=a.Image},70140:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var r=n(55729),i=n(99829),a=n(40041),o=n(97628),s=n(6029);function l(e){let t=e+"CollectionProvider",[n,l]=(0,i.A)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,i=r.useRef(null),a=r.useRef(new Map).current;return(0,s.jsx)(u,{scope:t,itemMap:a,collectionRef:i,children:n})};d.displayName=t;let h=e+"CollectionSlot",f=(0,o.TL)(h),p=r.forwardRef((e,t)=>
21{let{scope:n,children:r}=e,i=c(h,n),o=(0,a.s)(t,i.collectionRef);return(0,s.jsx)(f,{ref:o,children:r})});p.displayName=h;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,o.TL)(m),y=r.forwardRef((e,t)=>{let{scope:n,children:i,...o}=e,l=r.useRef(null),u=(0,a.s)(t,l),d=c(m,n);return r.useEffect(()=>(d.itemMap.set(l,{ref:l,...o}),()=>void d.itemMap.delete(l))),(0,s.jsx)(v,{...{[g]:""},ref:u,children:i})});return y.displayName=m,[{Provider:d,Slot:p,ItemSlot:y},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}var u=new WeakMap;function c(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=d(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#x;constructor(e){super(e),this.#x=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#x[this.#x.indexOf(e)]=e:this.#x.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#x.length,o=d(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let u=this.size+ +!i;o<0&&s++;let c=[...this.#x],h=!1;for(let e=s;e<u;e++)if(s===e){let a=c[e];c[e]===t&&(a=c[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{h||c[e-1]!==t||(h=!0);let n=c[h?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#x.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#x.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#x.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#x.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#x=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#x.splice(this.#x.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#x,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#x,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#x.indexOf(e)}keyAt(e){return c(this.#x,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}})},70238:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>a,F6:()=>u,Nw:()=>l,_P:()=>c,_m:()=>s,my:()=>r,s0:()=>o,w4:()=>i});let r=6048e5,i=864e5,a=6e4,o=36e5,s=1e3,l=43200,u=1440,c=Symbol.for("constructDateFrom")},70491:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(23,59,59,999),n}},70930:e=>{e.exports=function(e,t){return e>t}},70979:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(65436);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},71024:(e,t,n)=>{e.exports=n(48574)},71182:(e,t,n)=>{"use strict";n.d(t,{bq:()=>
21o,sD:()=>a,wt:()=>s});var r=n(30062),i=n(44007);function a(e,t){if(!(0,i.Nf)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}let o=(e=document)=>{var t;if(!(0,i.Nf)())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null==(t=n.shadowRoot)?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function s(e){return(0,i.Nf)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},71503:(e,t,n)=>{"use strict";var r=n(57388),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,n,l,u,c,d,h){var f,p,m,g,v,y,b,w,x,C=h.bits,E=0,S=0,A=0,k=0,N=0,P=0,I=0,T=0,O=0,L=0,M=null,D=0,j=new r.Buf16(16),_=new r.Buf16(16),R=null,F=0;for(E=0;E<=15;E++)j[E]=0;for(S=0;S<l;S++)j[t[n+S]]++;for(k=15,N=C;k>=1&&0===j[k];k--);if(N>k&&(N=k),0===k)return u[c++]=0x1400000,u[c++]=0x1400000,h.bits=1,0;for(A=1;A<k&&0===j[A];A++);for(N<A&&(N=A),T=1,E=1;E<=15;E++)if(T<<=1,(T-=j[E])<0)return -1;if(T>0&&(0===e||1!==k))return -1;for(E=1,_[1]=0;E<15;E++)_[E+1]=_[E]+j[E];for(S=0;S<l;S++)0!==t[n+S]&&(d[_[t[n+S]]++]=S);if(0===e?(M=R=d,y=19):1===e?(M=i,D-=257,R=a,F-=257,y=256):(M=o,R=s,y=-1),L=0,S=0,E=A,v=c,P=N,I=0,m=-1,g=(O=1<<N)-1,1===e&&O>852||2===e&&O>592)return 1;for(;;){b=E-I,d[S]<y?(w=0,x=d[S]):d[S]>y?(w=R[F+d[S]],x=M[D+d[S]]):(w=96,x=0),f=1<<E-I,A=p=1<<P;do u[v+(L>>I)+(p-=f)]=b<<24|w<<16|x;while(0!==p);for(f=1<<E-1;L&f;)f>>=1;if(0!==f?(L&=f-1,L+=f):L=0,S++,0==--j[E]){if(E===k)break;E=t[n+d[S]]}if(E>N&&(L&g)!==m){for(0===I&&(I=N),v+=A,T=1<<(P=E-I);P+I<k&&!((T-=j[P+I])<=0);)P++,T<<=1;if(O+=1<<P,1===e&&O>852||2===e&&O>592)return 1;u[m=L&g]=N<<24|P<<16|v-c}}return 0!==L&&(u[v+L]=E-I<<24|4194304),h.bits=N,0}},71979:(e,t,n)=>{"use strict";n.d(t,{jH:()=>a});var r=n(55729);n(6029);var i=r.createContext(void 0);function a(e){let t=r.useContext(i);return e||t||"ltr"}},72053:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},72262:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(50212);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=r.$,o=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],r=null==s?void 0:s[e];if(null===t)return null;let a=i(t)||i(r);return o[e][a]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return a(e,l,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},72452:e=>{"use strict";e.exports=function(e,t,n,r){for(var i=65535&e,a=e>>>16&65535,o=0;0!==n;){o=n>2e3?2e3:n,n-=o;do a=a+(i=i+t[r++]|0)|0;while(--o);i%=65521,a%=65521}return i|a<<16}},72579:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(87540);class i{getModalIsVisible(){return this.modalVisible}setModalVisible(e){this.modalVisible=e,e||(this.initialStep="LOGIN")}openModal(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"LOGIN";this.initialStep=e,this.modalVisible=!0}getInitialStep(){return this.initialStep}setPendingAction(e){this.pendingAction=e}consumePendingAction(){let e=this.pendingAction;return this.pendingAction=null,e}constructor(){this.modalVisible=!1,this.initialStep="LOGIN",this.pendingAction=null,(0,r.Gn)(this,{modalVisible:r.sH,initialStep:r.sH,setModalVisible:r.XI,openModal:r.XI})}}let a=new i},72756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,l):e.replace(a,l)).replace(r,s))}},72811:(e,t,n)=>{e.exports=n(23161)}
21,72902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,n:()=>s});var r=n(55729),i=n(11211),a=n(57428);let o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a.A}));o.displayName="ArrowLeftIcon";let s=o},73210:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.88,207.93l-160-176A12,12,0,1,0,39.12,48.07l14.8,16.29A83.58,83.58,0,0,0,44,104c0,25.58-4.59,47-13.27,61.93A20.08,20.08,0,0,0,30.68,186,19.75,19.75,0,0,0,48,196H84.19a44,44,0,0,0,87.62,0h1.79l25.52,28.07a12,12,0,0,0,17.76-16.14ZM68,104a59.84,59.84,0,0,1,3.52-20.29L151.78,172H54.68C63.52,154,68,131.14,68,104Zm60,108a20,20,0,0,1-19.6-16h39.2A20,20,0,0,1,128,212ZM88.89,42.35a12,12,0,0,1,6.37-15.73A84,84,0,0,1,212,104c0,18.68,2.38,34.93,7.07,48.28a12,12,0,1,1-22.64,8C190.83,144.32,188,125.4,188,104a60,60,0,0,0-83.38-55.28A12,12,0,0,1,88.89,42.35Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,192H48a8,8,0,0,1-6.88-12C47.71,168.6,56,139.81,56,104a72,72,0,0,1,144,0c0,35.82,8.3,64.6,14.9,76A8,8,0,0,1,208,192Z",opacity:"0.2"}),r.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L58.82,63.8A79.59,79.59,0,0,0,48,104c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.8a40,40,0,0,0,78.4,0h15.44l19.44,21.38a8,8,0,1,0,11.84-10.76ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a63.65,63.65,0,0,1,6.26-27.62L168.09,184Zm166-4.73a8.13,8.13,0,0,1-2.93.55,8,8,0,0,1-7.44-5.08C196.35,156.19,192,129.75,192,104A64,64,0,0,0,96.43,48.31a8,8,0,0,1-7.9-13.91A80,80,0,0,1,208,104c0,35.35,8.05,58.59,10.52,64.88A8,8,0,0,1,214,179.25Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.84,192v0a1.85,1.85,0,0,1-3,.28L83.27,43.19a4,4,0,0,1,.8-6A79.55,79.55,0,0,1,129.17,24C173,24.66,207.8,61.1,208,104.92c.14,34.88,8.31,61.54,13.82,71A15.89,15.89,0,0,1,221.84,192Zm-7.92,18.62a8,8,0,0,1-11.85,10.76L182.62,200H167.16a40,40,0,0,1-78.41,0H47.91a15.78,15.78,0,0,1-13.59-7.59,16.42,16.42,0,0,1-.09-16.68c5.55-9.73,13.7-36.64,13.7-71.73A79.42,79.42,0,0,1,58.79,63.85L42,45.38A8,8,0,1,1,53.84,34.62ZM150.59,200H105.32a24,24,0,0,0,45.27,0Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L61.31,63.56A77.45,77.45,0,0,0,50,104c0,35.74-8.42,63.2-14.08,72.94A14,14,0,0,0,48,198h42.5a38,38,0,0,0,75,0h18l20,22a6,6,0,0,0,8.88-8.08ZM128,218a26,26,0,0,1-25.29-20h50.58A26,26,0,0,1,128,218ZM48,186a1.9,1.9,0,0,1-1.7-1,2,2,0,0,1,0-2C53.86,170,62,139.69,62,104a65.63,65.63,0,0,1,7.78-31.12L172.62,186Zm165.29-8.62a5.88,5.88,0,0,1-2.2.42,6,6,0,0,1-5.58-3.81c-7.2-18.31-11.49-44.48-11.49-70A66,66,0,0,0,95.45,46.57a6,6,0,1,1-5.93-10.43A78,78,0,0,1,206,104c0,35.7,8.16,59.24,10.66,65.61A6,6,0,0,1,213.27,177.38Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L58.82,63.8A79.59,79.59,0,0,0,48,104c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.8a40,40,0,0,0,78.4,0h15.44l19.44,21.38a8,8,0,1,0,11.84-10.76ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a63.65,63.65,0,0,1,6.26-27.62L168.09,184Zm166-4.73a8.13,8.13,0,0,1-2.93.55,8,8,0,0,1-7.44-5.08C196.35,156.19,192,129.75,192,104A64,64,0,0,0,96.43,48.31a8,8,0,0,1-7.9-13.91A80,80,0,0,1,208,104c0,35.35,8.05,58.59,10.52,64.88A8,8,0,0,1,214,179.25Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L63.8,63.32A75.52,75.52,0,0,0,52,104c0,36.13-8.58,64-14.36,73.95A12,12,0,0,0,48,196H92.23a36,36,0,0,0,71.54,0h20.64L205,218.69a4,4,0,1,0,5.92-5.38ZM128,220a28,28,0,0,1-27.71-24h55.42A28,28,0,0,1,128,220ZM48,188a3.89,3.89,0,0,1-3.43-2,4,4,0,0,1,0-4C52,169.17,60,139.32,60,104a67.58,67.58,0,0,1,9.4-34.51L177.14,188Zm164.55-12.48a3.94,3.94,0,0,1-1.46.28,4,4,0,0,1-3.72-2.54C200.24,155.17,196,129.28,196,104A68,68,0,0,0,94.46,44.83a4,4,0,1,1-4-6.95A76,76,0,0,1,204,104c0,36.05,8.26,59.89,10.79,66.34A4,4,0,0,1,212.53,175.52Z"}))]])},73492:(e,t,n)=>{"use strict";n.d(t,{yHQ:()=>eq,agC:()=>eZ,gAK:()=>ez,awg:()=>eW,IEk:()=>tI,dB8:()=>tS,IPk:()=>V,DDM:()=>Z,f9K:()=>E,bm5:()=>S,sAx:()=>A,GAA:()=>tg,lNd:()=>ta,MYZ:()=>tv,xAe:()=>to,NK$:()=>eL,ZLk:()=>em,iBS:()=>ey,Tto:()=>tr,kSQ:()=>tT,vO7:()=>tk,r2m:()=>tl,uuT:()=>tV,Dog:()=>ep,Y9p:()=>eg,oMU:()=>ev,V3p:()=>aR,_oc:()=>a_,JDH:()=>tn,EOc:()=>iC,rHV:()=>aj,eRD:()=>a,vee:()=>rk,$Q9:()=>W,Myb:()=>s,DTS:()=>l,xmH:()=>eE,Ohv:()=>tB,m9u:()=>U,Q0s:()=>er,qdU:()=>r3,d2$:()=>ea,yN1:()=>ib,rot:()=>ix,lOo:()=>B,gM2:()=>iX,ZTT:()=>rQ,K77:()=>rx,sSM:()=>eu,s5h:()=>rz,jJp:()=>r$,HCE:()=>rY,ttK:()=>ai,dY6:()=>aT,AVs:()=>ak,pPh:()=>i_,ZBb:()=>iU,Owu:()=>iB,cwk:()=>i1,tKx:()=>iW,edR:()=>iH,UQU:()=>i8,aR2:()=>i5,UH6:()=>iJ,qiN:()=>i3,wpP:()=>aS,EMg:()=>iY,N7r:()=>i$,ncL:()=>ay,DAv:()=>i7,qTi:()=>iT,D3x:()=>iF,oxY:()=>ao,pVh:()=>aw,xSV:()=>ap,lhn:()=>aP,V55:()=>ag,Kto:()=>aC,qIX:()=>aD,mNG:()=>aL,hIV:()=>iS,bP:()=>iP,ErY:()=>ah,bE0:()=>iD,UK3:()=>rT,xd2:()=>rj,VT6:()=>rH,Zp_:()=>rU,gEv:()=>ik,nIW:()=>rE,$nu:()=>rR,ZtT:()=>ac,qQ:()=>al,QQy:()=>es,DvY:()=>r2,jL2:()=>rM,UQw:()=>g,Lvx:()=>w,iYl:()=>y,EQi:()=>et,thf:()=>r8,iO1:()=>p,rUz:()=>h,Imk:()=>H,SRW:()=>rA,oBy:()=>r0,lkt:()=>rW,OCM:()=>an,lJ2:()=>K,ybg:()=>X,ZyR:()=>rP,Fm8:()=>rB,juA:()=>ek,z27:()=>eS});var r,i=n(75119);let a=i.A.create({headers:{"Content-Type":"application/json"},withCredentials:!0}),o=i.A.create({headers:{"Content-Type":"application/json"},withCredentials:!0}),s=e=>{a.defaults.baseURL=e,o.defaults.baseURL=e},l=e=>{a.defaults.headers.common["X-Platform"]=e,o.defaults.headers.common["X-Platform"]=e};o.interceptors.request.use(e=>e),o.interceptors.response.use(e=>e,e=>{var t;return null==(t=e.response)||t.status,Promise.reject(e)});var u=n(16932),c=n(66310);let d=async e=>{try{let{data:t}=await a.post("/auth/signup",e);return t}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},h=()=>(0,u.n)({mutationFn:e=>d(e)}),f=async e=>{try{let{data:t}=await a.post("/auth/signup-individual",e);return t}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},p=()=>(0,u.n)({mutationFn:e=>f(e)}),m=async e=>{try{await a.post("/auth/resend-confirmation-mail",e)}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},g=()=>(0,u.n)({mutationFn:e=>m(e)}),v=async e=>{try{let{data:t}=await a.post("/auth/reset-password",e);return t}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},y=()=>(0,u.n)({mutationFn:e=>v(e)}),b=async e=>{if(e.token)try{let{data:t}=await a.post("/auth/reset-password/".concat(e.token),{password:e.password});return t}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},w=()=>(0,u.n)({mutationFn:e=>b(e)});var x=n(17325);let C={checkIfResetPasswordTokenIsValid:e=>["check-reset-password-token-is-valid",e],checkIfVerifyTokenIsValid:(e,t)=>["check-verify-email-token-is-valid",e,t]},E={all:["basket"],get:e=>[...E.all,"get",e],getById:e=>[...E.all,"getById",e],activityWarning:()=>[...E.all,"activity-warning"]},S={all:["consent"],mine:()=>[...S.all,"mine"],lists:e=>
21[...S.all,"lists",e],getConsent:(e,t,n)=>[...S.all,"getConsent",e,t,n],getConsentWithMultipleProfesionnals:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...S.all,"getConsentWithMultipleProfesionnals",...e,...t]},history:e=>[...S.all,"history",e]},A={all:["conversation"],lists:()=>[...A.all,"list"],list:e=>[...A.lists(),e],details:()=>[...A.all,"detail"],detail:e=>[...A.details(),e]},k={all:["creditNotes"],lists:e=>[...k.all,e],acExpo:{all:["creditNotes","acExpo"],orderItems:e=>["creditNotes","acExpo","orderItems",e]}},N={all:["event-form-answers"],userAnswers:(e,t)=>[...N.all,"user-answers",e,t],export:e=>[...N.all,"export",e]},P={all:"events-exhibitors",lists:()=>[P.all,"lists"],list:e=>[...P.lists(),e],filteredList:(e,t)=>[...P.list(e),t],details:()=>[P.all,"details"],detail:(e,t)=>[...P.details(),e,t]},I={all:["events"],lists:()=>[...I.all,"list"],list:e=>[...I.lists(),{filters:e}],map:e=>[...I.all,"map",{filters:e}],me:e=>[...I.all,"me",{filters:e}],meInfinite:e=>[...I.all,"me","infinite",{filters:e}],get:e=>[...I.all,"get",e],getBySlug:e=>[...I.all,"getBySlug",e],getComplete:e=>[...I.get(e),"complete"],autocomplete:e=>[...I.all,"autocomplete",e],exhibitTo:e=>[...I.all,"exhibit-to",e],cashRegisters:e=>[...I.get(e),"cash-registers"],cashRegistersWithParams:(e,t)=>[...I.cashRegisters(e),t],gates:(e,t)=>[...I.get(e),"gates",t],entries:e=>[...I.get(e),"entries"],proVisitors:e=>[...I.get(e),"pro-visitors"],proVisitorsWithParams:(e,t)=>[...I.proVisitors(e),t]},T={likes:["likes"],ids:()=>[...T.likes,"id"],summaries:()=>[...T.likes,"summary"],summariesCard:()=>[...T.likes,"summary","card"]},O={visited:["visited"],summaries:()=>[...O.visited,"summary"],summariesCard:()=>[...O.visited,"summary","card"]},L={all:["organiser-exhibitors"],me:()=>[...L.all,"me"],get:e=>[...L.all,e],getByAdminId:e=>[...L.all,e],getAsOrganiser:e=>[...L.all,e,"as-organiser"],getByConnectId:e=>[...L.all,"connect",e],event:e=>[...L.all,"event",e],eventStructures:e=>[...L.all,"event-structures",e],eventStructuresPaginated:(e,t)=>[...L.eventStructures(e),"paginated",t]},M={structures:"structures",commercials:["commercials"],meetings:["meetings"],all:["structures"],structure:()=>[M.structures,"mine"],request:e=>[M.structures,"request",e],requestParticipations:()=>[M.structures,"request"],get:(e,t)=>[...t?[M.structures,t]:[],e],commercialBase:(e,t)=>[M.structures,"commercial",e,null!=t?t:""],commercial:(e,t,n)=>[...M.commercialBase(e,t),n],getByCommercialId:e=>["structures",e],meetingByCommercialId:e=>[M.meetings,e],list:e=>[M.structures,e],getEvents:e=>["events",e],visitors:(e,t)=>["visitors",e,t],qrCode:(e,t)=>["qr-code",e,t],salesHistory:()=>[...M.all,"salesHistory"],public:(e,t)=>["public",e,t],exponentView:(e,t)=>t?["exponent-view",e,t]:["exponent-view",e],visitorsPaginated:(e,t,n)=>["visitors","paginated",e,t,n],directory:e=>[...M.all,"directory",e]},D={all:["ticketing"],lists:()=>[...D.all,"lists"],event:e=>[...D.all,"event",e],scanCount:e=>[...D.event(e),"scanCount"],list:e=>[...j.all,"list",e]},j={all:["tickets-types"],event:e=>[...j.all,"event",e],get:(e,t)=>[...j.all,"get",e,t],ticket:(e,t)=>[...j.all,"ticket",e,t],remainingTicketsCount:(e,t)=>[...j.all,"remaining-tickets-count",e,t],remainingBadgesCount:(e,t)=>[...j.all,"remaining-badges-count",e,t],cashRegister:()=>[...j.all,"cash-register"]},_={all:["touristic-places"],me:()=>[..._.all,"me"],get:e=>[..._.all,"get",e],list:e=>[..._.all,"list",e],detail:e=>[..._.all,"detail",e]},R={all:["users"],me:()=>[...R.all,"me"],connect:e=>[...R.all,"connect",e],lists:()=>[...R.all,"lists"],list:e=>[...R.lists(),"list",e],details:()=>[...R.all,"details"],detail:e=>[...R.all,"detail",e],purchasesHistory:()=>[...R.all,"purchases-history"],salesHistory:()=>[...R.all,"sales-history"],acExpo:()=>[...R.all,"ac-expo"],byId:e=>[...R.all,e,"byId"]};var F=n(93251);async function z(e){return(await o.post("/basket/validate",e)).data}function B(){return(0,u.n)({mutationFn:z})}async function V(e,t){let{data:n}=await o.post("/basket/items",{...e,type:t});return n}let U=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",t=arguments.length>1?arguments[1]:void 0,n=(0,F.jE)();return(0,u.n)({mutationFn:t=>V(t,e),...t,onSuccess:function(){for(var r,i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];null==t||null==(r=t.onSuccess)||r.call(t,...a),n.invalidateQueries({queryKey:E.get(e)}),n.invalidateQueries({queryKey:E.activityWarning()})}})};async function q(e){let{data:t}=await o.put("/basket/sync",e);return t}let H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",t=arguments.length>1?arguments[1]:void 0,n=(0,F.jE)();return(0,u.n)({mutationFn:q,...t,onSuccess:function(r){for(var i,a=arguments.length,o=Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];null==t||null==(i=t.onSuccess)||i.call(t,r,...o),n.setQueryData(E.get(e),r.basket),n.invalidateQueries({queryKey:E.get(e)}),n.invalidateQueries({queryKey:E.activityWarning()})}})};async function Z(e){try{return(await o.post("/basket/discount-code",e)).data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}}async function W(e){try{return(await o.delete("/basket/discount-code",{data:e})).data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}}let G={all:["business-sector"],lists:()=>[...G.all,"lists"],list:e=>[...G.lists(),e],infiniteLists:()=>[...G.all,"infinite-lists"],infiniteList:e=>[...G.infiniteLists(),e]},$=async e=>{let{data:t}=await o.post("/consents/upsert",e);return t},K=()=>(0,u.n)({mutationFn:e=>$(e)}),Y=async e=>{let{data:t}=await o.post("/consents/upsert-multiple-profesionnals",e);return t},X=()=>(0,u.n)({mutationFn:e=>Y(e)});
21var Q=n(87837),J=n.n(Q);let ee=async e=>(await o.post("/conversation",e)).data;function et(){let e=(0,F.jE)();return(0,u.n)({mutationFn:ee,onSuccess:(t,n)=>{e.setQueryData(A.detail(n.toUserId),e=>{var t;return{...e,messages:[{id:J()(),content:n.messageContent,sentAt:new Date().toISOString(),isRead:!0,senderId:""},...null!=(t=null==e?void 0:e.messages)?t:[]]}}),e.invalidateQueries({queryKey:A.lists()})}})}let en=async e=>(await o.post("/conversation/".concat(e,"/archive"))).data;function er(){let e=(0,F.jE)();return(0,u.n)({mutationFn:en,onSuccess:()=>{e.invalidateQueries({queryKey:A.lists()})}})}let ei=async e=>{try{let{data:t}=await o.post("/discount-codes/check-validity",e);return t}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}},ea=()=>(0,u.n)({mutationFn:ei}),eo=async e=>{let{data:t}=await a.post("/email-consents/refuse",e);return t},es=()=>(0,u.n)({mutationFn:e=>eo(e)}),el=async e=>{let{data:t}=e;try{let{data:e}=await o.post("/event-form-answers",t);return e}catch(e){var n,r;throw(0,c.F0)(e)&&(e.message=null!=(r=null==(n=e.response)?void 0:n.data.message)?r:e.message),e}},eu=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:el,onSuccess:()=>{e.invalidateQueries({queryKey:N.all})}})},ec={all:["event-form-questions"],lists:e=>[...ec.all,"list",e],allowed:e=>[...ec.all,"allowed",e],details:e=>[...ec.all,"detail",e],onEvent:e=>[...ec.all,"on-event",e],batchOnEvents:e=>[...ec.all,"batch-on-events",[...e].sort((e,t)=>e.localeCompare(t)).join(",")]};var ed=n(21841);let eh=async e=>{try{let{data:t}=await e();return t}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}};var ef=n(31078);let ep=ef.z.object({email:ef.z.string().email("Veuillez entrer un email valide")}),em={email:""},eg=ef.z.object({token:ef.z.string(),password:ef.z.string().superRefine((e,t)=>{if(e.length<8||!/[a-z]/.test(e)||!/[A-Z]/.test(e)||!/[ !"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(e)||!/[0-9]/.test(e))return t.addIssue({code:ef.z.ZodIssueCode.custom,message:(0,x.$dm)(e)})})});eg.extend({firstName:ef.z.string().max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:ef.z.string().max(64,"Veuillez entrer un nom valide")});let ev=ef.z.object({emailOrConnectId:ef.z.union([ef.z.string().email("Veuillez entrer un email ou identifiant Connect’Events valide"),ef.z.string().length(10)]),password:ef.z.string()}),ey={emailOrConnectId:"",password:""};ef.z.object({emailOrConnectId:ef.z.union([ef.z.string().email("Veuillez entrer un email ou identifiant Connect’Events valide"),ef.z.string().length(10)]),password:ef.z.string().min(1,"Veuillez renseigner votre mot de passe")});let eb=ef.z.object({roles:ef.z.array(ef.z.enum(ed.jrW)).min(1,"Veuillez choisir au moins un profil").max(4)}),ew="Le num\xe9ro de TVA doit \xeatre de la forme FR00123456789",ex=ef.z.string().refine(e=>/^(\d{9}|\d{3} \d{3} \d{3})$/.test(e),{message:"Un num\xe9ro de SIREN contient 9 chiffres"}),eC=ef.z.string().refine(e=>/^(\d{14}|\d{3} \d{3} \d{3} \d{5})$/.test(e),{message:"Un num\xe9ro de SIRET contient 14 chiffres"}),eE=ef.z.string().refine(e=>e.replace(/\s/g,"").length<=14,{message:"Le num\xe9ro ne peut pas d\xe9passer 14 caract\xe8res"}).refine(e=>/^(\d{9}|\d{3} \d{3} \d{3})$/.test(e)||/^(\d{14}|\d{3} \d{3} \d{3} \d{5})$/.test(e),{message:"Veuillez saisir un num\xe9ro de SIREN (9 chiffres) ou SIRET (14 chiffres)"}),eS=ef.z.string().min(8,{message:ew}).refine(e=>/^[0-9A-Za-z]+$/.test(e),{message:ew}),eA=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"vat";return ef.z.string().min(8,{message:ew}).refine(e=>/^[0-9A-Za-z]+$/.test(e),{message:ew}).superRefine(r=>{if(!t)return!0;let i=r.match(/^FR(\d{2})(\d{9})$/i);return i?i[2]===(e=>{let t=e.replace(/\s/g,"");return 14===t.length?t.substring(0,9):t})(t)||(e.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le num\xe9ro de TVA doit contenir le SIREN de votre entreprise",path:[n]}),!1):(e.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le num\xe9ro de TVA est invalide",path:[n]}),!1)})},ek=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vat";t&&n&&eA(e,n,r).safeParse(t)},eN=ef.z.object({address:ef.z.string().nullable(),lat:ef.z.number().optional().nullable(),long:ef.z.number().optional().nullable(),zipCode:ef.z.string().optional().nullable(),city:ef.z.string().optional().nullable(),country:ef.z.string().optional().nullable()});eN.refine(e=>e.address&&e.lat&&e.long);let eP=eN.refine(e=>e.lat&&e.long);ef.z.object({price:ef.z.coerce.number()}),ef.z.coerce.number(),ef.z.array(ef.z.date());let eI=ef.z.object({key:ef.z.string(),name:ef.z.string(),type:ef.z.enum(ed.Pp5),isFromTemplate:ef.z.boolean().optional()},{message:"Le fichier est requis"});ef.z.object({picture:eI.nullable()});let eT=ef.z.object({id:ef.z.string().nullable(),backgroundPicture:eI.nullable(),headerPicture:eI.nullable(),backgroundColor:ef.z.string(),opacity:ef.z.number().min(0).max(100),headerColor:ef.z.string(),textColor:ef.z.string(),model:ef.z.enum(ed.Zps),pdfSectionsOrder:ef.z.array(ef.z.enum(ed._aL)),customSection1:ef.z.string().nullable(),customSection2:ef.z.string().nullable(),xBackgroun
21dPicture:ef.z.number(),yBackgroundPicture:ef.z.number(),hBackgroundPicture:ef.z.number(),wBackgroundPicture:ef.z.number(),xHeaderPicture:ef.z.number(),yHeaderPicture:ef.z.number(),hHeaderPicture:ef.z.number(),wHeaderPicture:ef.z.number(),textPictures:ef.z.array(eI)}),eO=ef.z.object({id:ef.z.string().nullable(),color:ef.z.string(),picture:eI.nullable(),order:ef.z.enum(ed.g0g),xPicture:ef.z.number(),yPicture:ef.z.number(),hPicture:ef.z.number(),wPicture:ef.z.number(),initialHPicture:ef.z.number(),initialWPicture:ef.z.number()});ef.z.object({id:ef.z.string().nullable(),backgroundPicture:eI.nullable(),backgroundColor:ef.z.enum(ed.I0q),opacity:ef.z.number().min(0).max(100),model:ef.z.number(),countdown:ef.z.boolean(),eventInfoSections:ef.z.array(ef.z.enum(ed.TRx))});let eL={color:"#FFFFFF",order:"qrCodeLast",picture:null,id:null,xPicture:0,yPicture:0,hPicture:0,wPicture:0,initialHPicture:0,initialWPicture:0};ef.z.object({templateName:ef.z.string().min(1).max(50),slot:ef.z.number().min(0).max(4)});let eM=ef.z.object({from:ef.z.date().optional(),to:ef.z.date().optional()});ef.z.object({roles:ef.z.array(ef.z.enum(ed.jrW)).min(1,"Veuillez choisir au moins un profil").max(4),siret:eE.optional(),vat:eS.optional(),businessName:ef.z.string().max(128,"Veuillez entrer un nom d'entreprise contenant moins de 128 caract\xe8res").optional(),country:ef.z.string().min(1),firstName:ef.z.string().min(2,"Veuillez entrer un pr\xe9nom valide").max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:ef.z.string().min(2,"Veuillez entrer un nom valide").max(64,"Veuillez entrer un nom valide"),email:ef.z.string().email(""),password:ef.z.string().superRefine((e,t)=>{if(e.length<x.m1N||!/[a-z]/.test(e)||!/[A-Z]/.test(e)||!/[ !"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(e)||!/[0-9]/.test(e))return t.addIssue({code:ef.z.ZodIssueCode.custom,message:(0,x.$dm)(e)})}),acceptedTerms:ef.z.boolean().refine(e=>e,"Veuillez accepter les conditions d'utilisation et notre politique de confidentialit\xe9")}).superRefine((e,t)=>{ek(t,e.vat,e.siret)}),eb.extend({businessName:ef.z.string().nullable().optional(),siret:eE.nullable().optional(),vat:eS.nullable().optional(),country:ef.z.string().min(1,"Pays est requis").optional()}).superRefine((e,t)=>{let{siret:n,vat:r}=e;null===n&&null!==r&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous devez renseigner le num\xe9ro de SIRET",path:["siret"]}),ek(t,r,n)});var eD=n(23319);let ej=ef.z.object({id:ef.z.string().optional(),type:ef.z.enum(ed.t7q),value:ef.z.coerce.number({invalid_type_error:"La r\xe9duction est requise"}).gt(0,"Le r\xe9duction doit \xeatre sup\xe9rieur \xe0 0")}).refine(e=>{let{type:t,value:n}=e;return"percentage"!==t||n<=100},{message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure \xe0 100%",path:["value"]}),e_=(eD.DiscountType.percentage,ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Le nom du code est requis").max(16,"Le nom est trop long"),isCumulable:ef.z.boolean(),isQuantityInfinite:ef.z.boolean().default(!1),quantity:ef.z.coerce.number().int().gt(0,"La quantit\xe9 doit \xeatre sup\xe9rieure \xe0 0").or(ef.z.literal("Infini")),validityDates:ef.z.array(ef.z.date({required_error:"La date de validit\xe9 est requise"}).refine(e=>!isNaN(e.getTime()),"Date de validit\xe9 invalide")).min(1,"Les dates de validit\xe9 sont requises"),discount:ej})),eR=ef.z.object({id:ef.z.string().optional(),minQuantity:ef.z.coerce.number().int().gte(0,"La quantit\xe9 minimale doit \xeatre positive").nullish(),maxQuantity:ef.z.coerce.number().int().gte(0,"La quantit\xe9 maximale do\xeet \xeatre positive").nullish(),discount:ef.z.object({id:ef.z.string().optional(),type:ef.z.enum(ed.t7q),value:ef.z.coerce.number({invalid_type_error:"La r\xe9duction est requise"}).gt(0,"Le r\xe9duction doit \xeatre sup\xe9rieur \xe0 0")}).refine(e=>{let{type:t,value:n}=e;return"percentage"!==t||n<=100},{message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure \xe0 100%",path:["value"]})}).refine(e=>{let{minQuantity:t,maxQuantity:n}=e;return t||n},{message:"Au moins une quantit\xe9 doit \xeatre renseign\xe9e"}).refine(e=>{let{minQuantity:t,maxQuantity:n}=e;return!t||!n||t<=n},{message:"La quantit\xe9 minimale doit \xeatre inf\xe9rieure \xe0 la quantit\xe9 maximale",path:["minQuantity"]}),eF=ef.z.coerce.number().int().gt(0,"La quantit\xe9 doit \xeatre sup\xe9rieure \xe0 0").or(ef.z.literal("Infini"));ef.z.object({prestationTypes:ef.z.array(ef.z.object({prestation:ef.z.nativeEnum(eD.BackofficePrestationType),quantity:eF})).default([]),equipmentTypes:ef.z.array(ef.z.object({equipmentId:ef.z.string(),quantity:eF})).default([]),includeDeliveryFees:ef.z.boolean().default(!1),generalAccount:ef.z.string().optional(),eventId:ef.z.string().optional().nullable(),eventName:ef.z.string().optional().nullable(),organiserId:ef.z.string().optional().nullable(),organiserName:ef.z.string().optional().nullable()}).merge(e_).refine(e=>e.prestationTypes.length+e.equipmentTypes.length>0,{message:"S\xe9lectionne au moins une prestation ou un mat\xe9riel",path:["prestationTypes"]}).refine(e=>!(e.eventName&&e.eventName.length>0&&!e.eventId),{message:"Veuillez choisir un \xe9v\xe9nement ou laisser le champ vide",path:["eventId"]}).refine(e=>!(e.organiserName&&e.organiserName.length>0&&!e.organiserId),{message:"Veuillez choisir un organisateur ou laisser le champ vide",path:["organiserId"]});let ez=ef.z.object({discountCode:ef.z.string().trim().min(1)});var eB=n(8544),eV=n(92434);let eU=ef.z.object({id:ef.z.string().optional(),priceTTC:ef.z.coerce.number().gt(0,"Le prix doit \xeatre sup\xe9rieur \xe0 0"),vatRate:ef.z.union([ef.z.coerce.number().gte(0,"Le taux doit \xeatre sup\xe9rieur \xe0 0%").lte(100,"Le taux ne peux pas d\xe9passer 100%"),ef.z.string().min(1,"Le taux doit \xeatre renseign\xe9")])});ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Le nom du ticket est requis").max(128,"Le nom du ticket est trop long"),quantity:ef.z.coerce.number({invali
21d_type_error:"La quantit\xe9 est n\xe9cessaire"}).int().or(ef.z.literal("Infini")),validityDates:ef.z.array(ef.z.date({required_error:"La date de validit\xe9 est requise"}).refine(e=>!isNaN(e.getTime()),"Date de validit\xe9 invalide")).min(1,"Les dates de validit\xe9 sont requises"),isSingleEntry:ef.z.boolean(),numberEntriesPerDay:ef.z.coerce.number().int().or(ef.z.literal("Infini")).nullish(),isInfiniteEntries:ef.z.boolean(),userType:ef.z.enum(ed.Gb5),buyingLimitForUserType:ef.z.coerce.number().gt(0,"Le nombre de billets par utilisateur doit \xeatre sup\xe9rieur \xe0 0").nullable(),isPaid:ef.z.boolean(),price:eU.nullish(),groupOnly:ef.z.boolean(),groupMinSize:ef.z.coerce.number().int().gt(1,"Les prix de groupes sont \xe0 partir de 2").nullish(),isDegressivePrice:ef.z.boolean(),degressivePrices:ef.z.array(eR).superRefine((e,t)=>e.forEach((n,r)=>{e.forEach((e,i)=>{var a,o,s,l;if(r===i)return;let u=null!=(a=n.minQuantity)?a:0,c=null!=(o=n.maxQuantity)?o:1/0,d=null!=(s=e.minQuantity)?s:0,h=null!=(l=e.maxQuantity)?l:1/0;c>=d&&u<=h&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Les plages de quantit\xe9s ne doivent pas se chevaucher",path:[r,u<=d?"maxQuantity":"minQuantity"]})})})),areDiscountsCodesEnabled:ef.z.boolean(),discountCodes:ef.z.array(e_),activityId:ef.z.string().optional(),hasCustomAppearance:ef.z.boolean().default(!1),customAppearance:eO.nullable(),customPdfAppearance:eT.nullable(),templatePdf:eI.nullable(),eventGates:ef.z.array(ef.z.string()),isAvailableOnCashRegister:ef.z.boolean(),isAvailableOnOnlineTicketing:ef.z.boolean(),saleStartDate:ef.z.date().nullable(),saleStartTime:ef.z.instanceof(eB.gX).nullish(),saleEndDate:ef.z.date().nullable(),saleEndTime:ef.z.instanceof(eB.gX).nullish(),hasEventGates:ef.z.boolean().default(!1),hasAlertThreshold:ef.z.boolean().default(!1),alertThreshold:ef.z.coerce.number().nullable().optional(),hasGroupVisibilityAndBuyingLimits:ef.z.boolean().default(!1),groupLimits:ef.z.array(ef.z.object({groupIds:ef.z.array(ef.z.string()).min(1,"Veuillez s\xe9lectionner un groupe"),maxTicketsPerUser:ef.z.coerce.number().gt(0,"Le nombre de billets par utilisateur doit \xeatre sup\xe9rieur \xe0 0").nullable()})).nullable()}).refine(e=>{let{groupOnly:t,groupMinSize:n}=e;return!t||!(0,x.uyv)(n)},{message:"La taille minimale du groupe est requise",path:["groupMinSize"]}).refine(e=>{let{isDegressivePrice:t,degressivePrices:n}=e;return!t||n.length>0},{message:"Au moins un prix d\xe9gressif est requis",path:["degressivePrices"]}).refine(e=>{let{areDiscountsCodesEnabled:t,discountCodes:n}=e;return!t||n.length>0},{message:"Au moins un code de r\xe9duction est requis",path:["discountCodes"]}).refine(e=>{let{isSingleEntry:t,numberEntriesPerDay:n}=e;return t&&!n||!t&&n},{message:"Le nombre d'entr\xe9es par jour est requis",path:["numberEntriesPerDay"]}).superRefine((e,t)=>{let{isPaid:n,groupOnly:r,isDegressivePrice:i,areDiscountsCodesEnabled:a}=e;!n&&(r&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des tickets est n\xe9cessaires.",path:["groupOnly"]}),i&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des tickets est n\xe9cessaire",path:["isDegressivePrice"]}),a&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des tickets est n\xe9cessaire",path:["areDiscountsCodesEnabled"]}))}).superRefine((e,t)=>{let{isPaid:n,price:r,degressivePrices:i,discountCodes:a}=e;n&&r&&(null==i||i.forEach((e,n)=>{e.discount.type===eD.DiscountType.euro&&e.discount.value>r.priceTTC&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure au prix du ticket",path:["degressivePrices",n,"discount","value"]})}),null==a||a.forEach((e,n)=>{e.discount.type===eD.DiscountType.euro&&e.discount.value>r.priceTTC&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure au prix du ticket",path:["discountCodes",n,"discount","value"]})}))}).superRefine((e,t)=>{let{degressivePrices:n,price:r,isPaid:i}=e;if(!i||!r)return;let a=n.map((e,t)=>({...e,index:t})).sort((e,t)=>(0,x.w91)(null==r?void 0:r.priceTTC,e.discount)-(0,x.w91)(null==r?void 0:r.priceTTC,t.discount));a.forEach((e,n)=>{for(let i=n+1;i<a.length;i++){var r;let n=a[i];if(!n.maxQuantity||(null!=(r=e.minQuantity)?r:0)<n.maxQuantity){let n="Cette r\xe9duction est plus avantageuse qu'une autre pouvant s'appliquer \xe0 plus de billets",r=["degressivePrices",e.index];t.addIssue({code:ef.z.ZodIssueCode.custom,message:n,path:[...r,"minQuantity"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:n,path:[...r,"maxQuantity"]})}}})}).refine(e=>{let{hasGroupVisibilityAndBuyingLimits:t,groupLimits:n}=e;return!t||t&&n&&n.length>0},{message:"Veuillez renseigner au moins une limite",path:["groupLimits"]}).superRefine(e=>{"Infini"===e.numberEntriesPerDay?e.isInfiniteEntries=!0:e.isInfiniteEntries&&(e.numberEntriesPerDay=null)}).refine(e=>{let{hasAlertThreshold:t,alertThreshold:n}=e;return!t||n&&n>=1},{message:"Le seuil d'alerte doit \xeatre d\xe9fini et sup\xe9rieur ou \xe9gal \xe0 1",path:["alertThreshold"]}).refine(e=>{let{hasGroupVisibilityAndBuyingLimits:t,groupLimits:n}=e;return!t||t&&n&&n.length>0},{message:"Veuillez renseigner au moins une limite",path:["groupLimits"]}).refine(e=>{let{saleStartDate:t,saleStartTime:n}=e;return t&&n||!t&&!n},{message:"La date et l'heure doivent \xeatre renseign\xe9es ensemble",path:["saleStartTime"]}).refine(e=>{let{saleEndDate:t,saleEndTime:n}=e;return t&&n||!t&&!n},{message:"La date et l'heure doivent \xeatre renseign\xe9es ensemble",path:["saleEndTime"]}).refine(e=>{let{saleStartDate:t,saleEndDate:n,saleStartTime:r,saleEndTime:i}=e;return!t||!r||!n||!i||(0,eV.Y)((0,x.fwl)(t,r),(0,x.fwl)(n,i))},{message:"La date de d\xe9but de mise en vente doit \xeatre ant\xe9rieure \xe0 la date de fin",path:["saleStartDate"]}),eD.TicketUserType.all,ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Le nom du badge est requis"),quantity:ef.z.coerce.number().int().or(ef.z.literal("Infini")),validityDates:ef.z.array(ef.z.date({required_error:"La date de validit\xe9 est requise"}).refine(e=>!isNaN(e.getTime()),"Date de validit\xe9 invalide")).min(1,"Les dates de validit\xe9 sont requises"),numberEntriesPerDay:ef.z.coerce.number().int().gt(0,"Le nombre d'entr\xe9es par jour doit \xeatre sup\xe9rieur \xe0 0").or(ef.z.literal("Infini")).nullish(),isInfiniteEntries:ef.z.boolean(),userType:ef.z.enum(ed.Gb5),isVisibleOnVisitorTicketing:ef.z.boolean(),isAvailableOnOnlineTicketing:ef.z.boolean(),isPaid:ef.z.boolean(),price:eU.nullish(),groupOnly:ef.z.boolean(),groupMinSize:ef.z.coerce.number().int().gt(1,"Les prix de groupes sont \xe0 partir de 2").nullish(),isDegressivePrice:ef.z.boolean(),degressivePrices:ef.z.array(eR).refine(e=>!e.some((t,n)=>e.some((e,r)=>{if(n===r)return!1;let i=(0,x.uyv)(t.minQuantity)?0:t.minQuantity,a=(0,x.uyv)(t.maxQuantity)?1/0:t.maxQuantity,o=(0,x.uyv)(e.minQuantity)?0:e.minQuantity,s=(0,x.uyv)(e.maxQuantity)?1/0:e.maxQuantity;return a>=o&&i<=s})),{message:"Les plages de quantit\xe9s ne doivent pas se chevaucher"}),areDiscountsCodesEnabled:ef.z.boolean(),discountCodes:ef.z.array(e_),hasCustomAppearance:ef.z.boolean().default(!1),customAppearance:eO.nullable(),customPdfAppearance:eT.nullable(),templatePdf:eI.nullable(),hasEventGates:ef.z.boolean().default(!1),eventGates:ef.z.array(ef.z.string()).default([])}).refine(e=>{let{groupOnly:t,groupMinSize:n}=e;return!t||!(0,x.uyv)(n)},{message:"La taille minimale du groupe est requise",path:["groupMinSize"]}).refine(e=>{let{isDegressivePrice:t,degressivePrices:n}=e;return!t||n.length>0},{message:"Au moins un prix d\xe9gressif est requis",path:["degressivePrices"]}
21).refine(e=>{let{areDiscountsCodesEnabled:t,discountCodes:n}=e;return!t||n.length>0},{message:"Au moins un code de r\xe9duction est requis",path:["discountCodes"]}).superRefine((e,t)=>{let{isPaid:n,groupOnly:r,isDegressivePrice:i,areDiscountsCodesEnabled:a}=e;!n&&(r&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des badges est n\xe9cessaires pour d\xe9finir des tarif du groupe.",path:["groupOnly"]}),i&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des badges est n\xe9cessaire pour d\xe9finir des tarifs d\xe9gressifs",path:["isDegressivePrice"]}),a&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le prix des badges est n\xe9cessaire pour activer les codes de r\xe9duction",path:["areDiscountsCodesEnabled"]}))}).superRefine((e,t)=>{let{isPaid:n,price:r,degressivePrices:i,discountCodes:a}=e;n&&r&&(null==i||i.forEach((e,n)=>{e.discount.type===eD.DiscountType.euro&&e.discount.value>r.priceTTC&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure au prix du badge",path:["degressivePrices",n,"discount","value"]})}),null==a||a.forEach((e,n)=>{e.discount.type===eD.DiscountType.euro&&e.discount.value>r.priceTTC&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La r\xe9duction ne peut pas \xeatre sup\xe9rieure au prix du badge",path:["discountCodes",n,"discount","value"]})}))}).superRefine((e,t)=>{let{degressivePrices:n,price:r,isPaid:i}=e;if(!i||!r)return;let a=n.map((e,t)=>({...e,index:t})).sort((e,t)=>(0,x.w91)(null==r?void 0:r.priceTTC,e.discount)-(0,x.w91)(null==r?void 0:r.priceTTC,t.discount));a.forEach((e,n)=>{for(let i=n+1;i<a.length;i++){var r;let n=a[i];(!n.maxQuantity||(null!=(r=e.minQuantity)?r:0)<n.maxQuantity)&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Cette r\xe9duction est plus avantageuse qu'une autre pouvant s'appliquer \xe0 plus de billets",path:["degressivePrices",e.index,"discount","value"]})}})}),eD.TicketUserType.all;let eq=ef.z.object({basketId:ef.z.string(),discountCode:ef.z.string().trim().min(1,{message:"Code invalide"})});ef.z.object({basketId:ef.z.string(),discountCodeId:ef.z.string().trim().min(1)});let eH=ef.z.object({address:ef.z.object({firstName:ef.z.string().min(2).max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:ef.z.string().min(2).max(64,"Veuillez entrer un nom valide"),address1:ef.z.string().min(1),address2:ef.z.string().optional(),city:ef.z.string().min(1),zipCode:ef.z.string().min(1),countryCode:ef.z.string(),businessName:ef.z.string().min(1)}),acceptedTerms:ef.z.boolean().refine(e=>e,"Veuillez accepter les conditions d'utilisation et notre politique de confidentialit\xe9"),organisers:ef.z.array(ef.z.object({id:ef.z.string(),hasConsented:ef.z.boolean()})).optional(),structures:ef.z.array(ef.z.object({id:ef.z.string(),hasConsented:ef.z.boolean()})).optional()}),eZ=eH.extend({address:eH.shape.address.omit({businessName:!0})}),eW=ef.z.object({orderId:ef.z.string()}).merge(eH);ef.z.object({orderId:ef.z.string()}).merge(eZ),ef.z.object({date:ef.z.date()});var eG=n(66177);let e$="URL invalide",eK=e=>"L'URL doit \xeatre valide pour ".concat(e),eY=e=>t=>{if(!t)return!0;try{let n=new URL(t);return e.some(e=>n.hostname.includes(e))}catch(e){return!1}};ef.z.object({picture:eI.nullable(),bannerPicture:eI.nullable(),businessName:ef.z.string().nullish(),businessSector:ef.z.string().nullish(),description:ef.z.string().max(200,"La description ne peut pas d\xe9passer 200 caract\xe8res").nullish(),businessEmail:ef.z.string().email("Email invalide").nullish(),phoneNumber:ef.z.string().refine(e=>(0,eG.g0)(e,"FR")).or(ef.z.literal("")).transform(e=>""===e?null:e).nullish(),address:ef.z.object({name:ef.z.string().nullish(),address:ef.z.string().nullish(),lat:ef.z.number().optional().nullable(),long:ef.z.number().optional().nullable(),zipCode:ef.z.string().nullish(),city:ef.z.string().nullish(),country:ef.z.string().nullish()}).nullish(),siret:eC.or(ef.z.literal("")).nullish().transform(e=>""===e?null:e),siren:ex.or(ef.z.literal("")).nullish().transform(e=>""===e?null:e),apeCode:ef.z.union([ef.z.string().length(5).refine(e=>/^[0-9]{4}[A-Z]$/.test(e)),ef.z.string().length(6).refine(e=>/^[0-9]{2}\.[0-9]{2}[A-Z]$/.test(e))]).or(ef.z.literal("")).nullish().transform(e=>""===e?null:e),vat:eS.or(ef.z.literal("")).nullish().transform(e=>""===e?null:e),socials:ef.z.object({websiteUrl:ef.z.string().url(e$).or(ef.z.literal("")).nullish(),linkedinUrl:ef.z.string().url(e$).refine(eY(["linkedin.com"]),{message:eK("LinkedIn")}).or(ef.z.literal("")).nullish(),facebookUrl:ef.z.string().url(e$).refine(eY(["facebook.com"]),{message:eK("Facebook")}).or(ef.z.literal("")).nullish(),twitterUrl:ef.z.string().url(e$).refine(eY(["twitter.com","x.com"]),{message:eK("X (Twitter)")}).or(ef.z.literal("")).nullish(),instagramUrl:ef.z.string().url(e$).refine(eY(["instagram.com"]),{message:eK("Instagram")}).or(ef.z.literal("")).nullish(),youtubeUrl:ef.z.string().url(e$).refine(eY(["youtube.com"]),{message:eK("YouTube")}).or(ef.z.literal("")).nullish()}).nullish()}).superRefine((e,t)=>
21{let n=e.siret||e.siren;ek(t,e.vat,n)}),ef.z.object({backgroundPicture:eI.nullable(),filterOpacity:ef.z.number().min(0).max(100),backgroundColor:ef.z.enum(ed.I0q)}),ef.z.object({firstName:ef.z.string().min(1,"Le pr\xe9nom est requis").max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:ef.z.string().min(1,"Le nom est requis").max(64,"Veuillez entrer un nom valide"),email:ef.z.string().email("Email invalide").min(1,"L'email est requis")});let eX={admin:"admin",commercial:"commercial",guest:"guest"},eQ=ef.z.nativeEnum(eX),eJ=ef.z.string().min(10,"Veuillez entrer un ID Connect'Events").optional().or(ef.z.literal("")),e0=ef.z.string().email("Email invalide").optional().or(ef.z.literal(""));ef.z.object({connectId:eJ,mail:e0,commercialRole:eQ,jobTitle:ef.z.string().min(1)}).refine(e=>e.connectId||e.mail,{message:"Veuillez entrer soit un ID Connect'Events, soit un email valide",path:["form"]}),ef.z.object({commercialRole:eQ,jobTitle:ef.z.string().min(1).optional(),visibleOnExhibitorPage:ef.z.boolean().optional()}),eX.commercial,eX.commercial;let e1=ef.z.enum([eD.CommercialRoles.commercial,eD.CommercialRoles.guest]),e2=ef.z.nativeEnum(eD.CommercialRoles),e5=ef.z.string().length(10,"L'identifiant doit contenir exactement ".concat(10," caract\xe8res")),e4=ef.z.string().min(8,"Le mot de passe doit contenir au moins ".concat(8," caract\xe8res")),e3=ef.z.object({firstName:ef.z.string().min(1,"Le pr\xe9nom est requis"),lastName:ef.z.string().min(1,"Le nom est requis"),identifier:e5,password:e4,commercialRole:e1,jobTitle:ef.z.string().min(1,"La fonction est requise")});ef.z.object({firstName:ef.z.string().min(1).optional(),lastName:ef.z.string().min(1).optional(),identifier:e5.optional(),password:e4.optional().or(ef.z.literal("")),email:ef.z.string().email("Email invalide").optional().or(ef.z.literal("")),commercialRole:e2.optional(),jobTitle:ef.z.string().min(1).optional()}),ef.z.object({commercials:ef.z.array(e3).min(1)}),eD.CommercialRoles.commercial,ef.z.object({documentType:ef.z.enum(["file","link"]),name:ef.z.string().min(1,"Le nom du document est requis"),link:ef.z.union([ef.z.string().url(),ef.z.literal("")]).optional(),pdfFile:eI.nullable(),thumbnail:eI}).refine(e=>"file"!==e.documentType||null!==e.pdfFile,{message:"Un fichier PDF est requis",path:["pdfFile"]}).refine(e=>"link"!==e.documentType||e.link&&e.link.trim().length>0,{message:"Un lien est requis",path:["link"]}).refine(e=>null!==e.thumbnail,{message:"Une miniature est requise",path:["thumbnail"]});let e6=ef.z.union([ef.z.string().url(),ef.z.string().length(0)]).optional();ef.z.object({connectEventId:ef.z.union([ef.z.string().length(0,"L'ID Connect'Events n'est pas valide"),ef.z.string().length(10)]),businessName:ef.z.string(),businessSector:ef.z.string(),businessEmail:ef.z.string().min(1,"Mail requis").email("Email invalide"),phoneNumber:ef.z.union([ef.z.string().refine(e=>(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),ef.z.string().length(0)]),address:ef.z.string(),city:ef.z.string(),zipCode:ef.z.string(),websiteUrl:e6,linkedinUrl:ef.z.string().url(e$).refine(eY(["linkedin.com"]),{message:eK("LinkedIn")}).or(ef.z.literal("")).nullish(),facebookUrl:ef.z.string().url(e$).refine(eY(["facebook.com"]),{message:eK("Facebook")}).or(ef.z.literal("")).nullish(),twitterUrl:ef.z.string().url(e$).refine(eY(["twitter.com","x.com"]),{message:eK("X (Twitter)")}).or(ef.z.literal("")).nullish(),instagramUrl:ef.z.string().url(e$).refine(eY(["instagram.com"]),{message:eK("Instagram")}).or(ef.z.literal("")).nullish(),youtubeUrl:ef.z.string().url(e$).refine(eY(["youtube.com"]),{message:eK("YouTube")}).or(ef.z.literal("")).nullish()});let e8=ef.z.union([ef.z.string().length(0,"L'ID Connect'Events n'est pas valide"),ef.z.string().length(10)]);ef.z.object({connectId:e8});let e9=ef.z.object({firstName:ef.z.string().max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:ef.z.string().max(64,"Veuillez entrer un nom valide"),email:ef.z.string().email("Email invalide"),zipCode:ef.z.string().nullish()});ef.z.object({visitors:ef.z.array(e9.extend({importedIndex:ef.z.number()}))});
21let e7=ef.z.union([ef.z.string().url({message:"URL invalide"}),ef.z.string().length(0)]).nullable().optional();ef.z.object({businessName:ef.z.string().min(1,"Veuillez entrer un nom"),businessSector:ef.z.string().nullable().optional(),businessEmail:ef.z.string().email("Email invalide"),phoneNumber:ef.z.union([ef.z.string().refine(e=>(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),ef.z.string().length(0)]).nullable().optional(),address:ef.z.string().nullable().optional(),city:ef.z.string().nullable().optional(),zipCode:ef.z.string().nullable().optional(),websiteUrl:e7,linkedinUrl:ef.z.string().url(e$).refine(eY(["linkedin.com"]),{message:eK("LinkedIn")}).or(ef.z.literal("")).nullish(),facebookUrl:ef.z.string().url(e$).refine(eY(["facebook.com"]),{message:eK("Facebook")}).or(ef.z.literal("")).nullish(),twitterUrl:ef.z.string().url(e$).refine(eY(["twitter.com","x.com"]),{message:eK("X (Twitter)")}).or(ef.z.literal("")).nullish(),instagramUrl:ef.z.string().url(e$).refine(eY(["instagram.com"]),{message:eK("Instagram")}).or(ef.z.literal("")).nullish(),youtubeUrl:ef.z.string().url(e$).refine(eY(["youtube.com"]),{message:eK("YouTube")}).or(ef.z.literal("")).nullish()}),ef.z.object({eventId:ef.z.string().min(1,"Veuillez s\xe9lectionner un \xe9v\xe9nement"),connectId:ef.z.string().length(10,"Veuillez entrer un Id Connect’Events")}),ef.z.object({connectId:ef.z.string().length(10,"Veuillez entrer un Id Connect’Events"),eventRef:ef.z.string().min(1,"Veuillez entrer une r\xe9f\xe9rence")}),ef.z.object({roleId:ef.z.string(),connectId:e8,email:ef.z.union([ef.z.string().email(),ef.z.literal("")])}).superRefine((e,t)=>{e.connectId||e.email||(t.addIssue({code:ef.z.ZodIssueCode.custom,path:["connectId"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,path:["email"]}))}),ef.z.object({roleId:ef.z.string(),connectId:e8,email:ef.z.string().email()});let te="Le nom est requis.",tt="La date de fin ne peut \xeatre avant celle du d\xe9but.";ef.z.object({text:ef.z.string().min(1,"Le commentaire ne doit pas \xeatre vide")}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),meetingType:ef.z.enum(ed.D6I),taskId:ef.z.string(),meetingId:ef.z.string().nullable(),targetId:ef.z.string().optional()}).superRefine((e,t)=>{let n=!e.meetingId;n&&null!==e.meetingId&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Ne pas fournir d'ID lors de la cr\xe9ation",path:["meetingId"]}),n||null!==e.meetingId||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"L'ID du rendez-vous est requis pour la mise \xe0 jour",path:["meetingId"]}),(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]})}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),meetingType:ef.z.enum(ed.D6I),basketId:ef.z.string(),meetingId:ef.z.string().nullable(),targetId:ef.z.string().optional()}).superRefine((e,t)=>{let n=!e.meetingId;n&&null!==e.meetingId&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Ne pas fournir d'ID lors de la cr\xe9ation",path:["meetingId"]}),n||null!==e.meetingId||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"L'ID du rendez-vous est requis pour la mise \xe0 jour",path:["meetingId"]}),(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]})}),ef.z.object({title:ef.z.string().min(1,"Le titre est requis"),date:ef.z.date(),status:ef.z.enum(ed.zVQ),targetType:ef.z.enum(ed.aDI),description:ef.z.string().optional(),assigneeId:ef.z.string().optional(),organiserId:ef.z.string().optional(),eventId:ef.z.string().optional(),organiserEmail:ef.z.string().optional(),organiserPhone:ef.z.string().optional(),otherName:ef.z.string().optional(),adoptedSolution:ef.z.string().optional()}),ef.z.object({targetType:ef.z.enum(ed.aDI),organiserId:ef.z.string().optional(),eventId:ef.z.string().optional(),organiserEmail:ef.z.string().optional(),organiserPhone:ef.z.string().optional(),otherName:ef.z.string().optional()}),ef.z.object({status:ef.z.enum(ed.zVQ)}),ef.z.object({assigneeId:ef.z.string()}),ef.z.object({organiserId:ef.z.string()}),ef.z.object({eventId:ef.z.string()}),ef.z.object({temperature:ef.z.enum(ed.Psi)}),ef.z.object({provenance:ef.z.string()}),ef.z.object({date:ef.z.date().refine(e=>!(0,eV.Y)(e,new Date),"La nouvelle \xe9ch\xe9ance doit \xeatre dans le futur.")}),ef.z.object({name:ef.z.string().min(1,te),startDate:ef.z.date(),endDate:ef.z.date(),exhibitorCount:ef.z.coerce.number(),visitorCount:ef.z.coerce.number(),animationCount:ef.z.coerce.number(),ticketingAmount:ef.z.coerce.number(),adoptedSolution:ef.z.string()}).superRefine((e,t)=>
21{(0,eV.Y)(new Date(e.endDate),new Date(e.startDate))&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:tt,path:["startDate"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:tt,path:["endDate"]}))}),ef.z.object({exhibitorCount:ef.z.coerce.number(),visitorCount:ef.z.coerce.number(),animationCount:ef.z.coerce.number(),ticketingAmount:ef.z.coerce.number()}),ef.z.object({name:ef.z.string().min(1,te),startDate:ef.z.date(),endDate:ef.z.date(),exhibitorCount:ef.z.coerce.number(),visitorCount:ef.z.coerce.number(),animationCount:ef.z.coerce.number(),ticketingAmount:ef.z.coerce.number(),adoptedSolution:ef.z.string()}).superRefine((e,t)=>{(0,eV.Y)(new Date(e.endDate),new Date(e.startDate))&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:tt,path:["startDate"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:tt,path:["endDate"]}))}),ef.z.object({name:ef.z.string().min(1,te),email:ef.z.string().email("L'email est invalide"),phone:ef.z.string().refine(e=>""===e||(0,eG.g0)(e,"FR"),"Num\xe9ro de t\xe9l\xe9phone invalide"),function:ef.z.string().min(1,"La fonction est requise"),adoptedSolution:ef.z.string().optional(),text:ef.z.string().optional(),gender:ef.z.nativeEnum(eD.GenderType).optional()}),ed.xp$.ACTIVE,ed.E1D.EVENT,ed.E1D.EVENT,ed.xp$.ACTIVE,(0,x.UwG)(new Date),ed.Zos.PHONE,(0,x.UwG)(new Date),ed.Zos.PHONE,ed.Glu.LUKEWARM,ef.z.object({mailContent:ef.z.string(),mailObject:ef.z.string(),mailPreview:ef.z.string(),mailTarget:ef.z.string(),isAdvancedStatisticsPromoted:ef.z.boolean(),isTicketingPromoted:ef.z.boolean(),isAccessCountrolAccountPromoted:ef.z.boolean(),isDetailedExhibitorProfilesPromoted:ef.z.boolean(),isEventPromotionPromoted:ef.z.boolean(),mailPictures:eI.array()}),ef.z.object({id:ef.z.string().optional(),title:ef.z.string(),subTitle:ef.z.string(),dates:ef.z.string(),place:ef.z.string(),textColor:ef.z.enum(ed.I0q),filterColor:ef.z.enum(ed.I0q),filterOpacity:ef.z.number().int().max(100).min(0),customButton:ef.z.boolean(),buttonText:ef.z.string(),buttonUrl:ef.z.string(),buttonColor:ef.z.enum(ed.I0q),buttonTextColor:ef.z.enum(ed.I0q),backgroundPicture:eI.nullable(),logoPicture:eI.nullable(),eventId:ef.z.string().nullable()}).superRefine((e,t)=>{!e.customButton||(e=>{try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}})(e.buttonUrl)||t.addIssue({code:ef.z.ZodIssueCode.custom,path:["buttonUrl"],message:"Le lien doit \xeatre une URL valide"})}),ef.z.object({token:ef.z.string().refine(e=>6===e.length),emailOrConnectId:ef.z.string(),password:ef.z.string()});let tn=ef.z.object({email:ef.z.string().email("Veuillez entrer une adresse email valide"),reason:ef.z.string().optional()}),tr={email:"",reason:""};ef.z.object({name:ef.z.string(),quantity:ef.z.coerce.number().min(0),description:ef.z.string().nullable(),tags:ef.z.array(ef.z.nativeEnum(eD.EquipmentTag))}),ef.z.object({deliveryFeePriceHt:ef.z.coerce.number().min(0,"Le prix doit \xeatre positif"),deliveryFeeVatRate:ef.z.coerce.number(),freeDeliveryThresholdCents:ef.z.coerce.number().min(0,"Le seuil doit \xeatre positif").nullable()});let ti=ef.z.object({id:ef.z.string().optional(),discountId:ef.z.string().optional(),minDays:ef.z.coerce.number().int().min(2,"Le nombre de jours doit \xeatre au moins 2"),cumulativePriceHT:ef.z.coerce.number().nullable(),onQuote:ef.z.boolean().default(!1)});ef.z.object({basePriceHT:ef.z.coerce.number().min(0,"Le prix de base doit \xeatre positif"),VAT:ef.z.coerce.number(),degressivePriceTiers:ef.z.array(ti)}).refine(e=>{let t=e.degressivePriceTiers.filter(e=>e.onQuote);if(0===t.length)return!0;if(t.length>1)return!1;let n=[...e.degressivePriceTiers].sort((e,t)=>e.minDays-t.minDays),r=n[n.length-1];return(null==r?void 0:r.onQuote)===!0},{message:'"Sur devis" ne peut \xeatre appliqu\xe9 qu\'au dernier palier',path:["degressivePriceTiers"]}).refine(e=>e.degressivePriceTiers.every(e=>e.onQuote||null!==e.cumulativePriceHT&&e.cumulativePriceHT>=0),{message:"Chaque palier doit avoir un prix ou \xeatre sur devis",path:["degressivePriceTiers"]}).refine(e=>{let t=e.degressivePriceTiers.map(e=>e.minDays);return new Set(t).size===t.length},{message:"Les paliers de jours doivent \xeatre uniques",path:["degressivePriceTiers"]}).refine(e=>{let t=[...e.degressivePriceTiers].filter(e=>!e.onQuote&&null!==e.cumulativePriceHT).sort((e,t)=>
21e.minDays-t.minDays),n=e.basePriceHT;for(let e of t){if(e.cumulativePriceHT<=n)return!1;n=e.cumulativePriceHT}return!0},{message:"Les prix cumulatifs doivent \xeatre croissants",path:["degressivePriceTiers"]}),ef.z.object({quantityLeft:ef.z.coerce.number().min(0),quantityRented:ef.z.coerce.number().min(0)});let ta=ef.z.object({eventId:ef.z.string().min(1),answers:ef.z.array(ef.z.object({questionId:ef.z.string().min(1),answer:ef.z.string().optional(),answerList:ef.z.array(ef.z.string())})).superRefine((e,t)=>{e.forEach((e,n)=>{let r=e.answer&&e.answer.trim().length>0,i=e.answerList&&e.answerList.length>0;r||i||(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Cette r\xe9ponse est requise",path:[n,"answer"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Veuillez s\xe9lectionner au moins une option",path:[n,"answerList"]}))})}),wantsToAppearInRegisteredList:ef.z.boolean().optional(),wantsExhibitorContact:ef.z.boolean().optional()}),to={answers:[],eventId:""};ef.z.object({theme:ef.z.string().min(1,"Le th\xe8me est requis").max(128,"Le th\xe8me ne doit pas d\xe9passer 128 caract\xe8res"),allowedEventTypes:ef.z.array(ef.z.enum([...ed.hm9])).min(1,"Au moins un type d'\xe9v\xe9nement doit \xeatre s\xe9lectionn\xe9"),question:ef.z.string().min(1,"La question est requise").max(128,"La question ne doit pas d\xe9passer 128 caract\xe8res"),answerType:ef.z.enum([...ed.Pvr]),options:ef.z.array(ef.z.object({label:ef.z.string().min(1,"Le libell\xe9 de l'option est requis").max(128,"Le libell\xe9 de l'option ne doit pas d\xe9passer 128 caract\xe8res"),order:ef.z.number().int().min(0)})).optional()}).refine(e=>!ed.csP.includes(e.answerType)||e.options&&e.options.length>0,{message:"Une option est requise pour ce type de r\xe9ponse",path:["options","root"]}),ef.z.object({questions:ef.z.array(ef.z.object({questionId:ef.z.string().min(1),order:ef.z.number().int().min(0)}))}),ef.z.object({hasTicketAlertThreshold:ef.z.boolean(),ticketAlertThreshold:ef.z.coerce.number().nullable().optional()}).refine(e=>{let{hasTicketAlertThreshold:t,ticketAlertThreshold:n}=e;return!t||n&&n>=1},{message:"Le seuil d'alerte doit \xeatre d\xe9fini et sup\xe9rieur ou \xe9gal \xe0 1",path:["ticketAlertThreshold"]}),ef.z.object({eventIds:ef.z.array(ef.z.string()).min(1,"Vous devez s\xe9lectionner au moins un \xe9v\xe9nement"),viewsCount:ef.z.coerce.number().min(1,"Le nombre de vues doit \xeatre sup\xe9rieur \xe0 0")}),ef.z.object({advancedStatistics:ef.z.boolean(),exportExhibitorsModule:ef.z.boolean(),exportProgramModule:ef.z.boolean(),isTicketingEnabled:ef.z.boolean(),accessControlAccounts:ef.z.number().int().min(0),exhibitorProfilesPack1Credits:ef.z.number().int().min(0),exhibitorProfilesPack2Credits:ef.z.number().int().min(0),exhibitorProfilesPack3Credits:ef.z.number().int().min(0),cashRegisterCredits:ef.z.number().int().min(0),aiImageCredits:ef.z.number().int().min(0),promotion:ef.z.boolean(),promotionDates:ef.z.array(ef.z.date()),exhibitorPromotion:ef.z.boolean(),exhibitorPromotionCredits:ef.z.number().int().min(0),eventCustomPdfAppearance:ef.z.boolean(),eventCustomAppearance:ef.z.boolean()}).strict();let ts=ef.z.object({name:ef.z.string().min(2,"Veuillez entrer le nom du lieu"),address:eP,entrances:ef.z.array(ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(2,"Veuillez entrer le nom de l'entr\xe9e"),address:eP}))}),tl={name:"",address:{address:"",lat:null,long:null,zipCode:null,city:null,country:null},entrances:[]};var tu=n(48629);let tc=ef.z.object({name:ef.z.string().min(1,"Le nom de l'\xe9v\xe9nement est requis"),type:ef.z.enum([...ed.hm9]),place:ts,dates:ef.z.object({from:ef.z.date().refine(e=>!isNaN(e.getTime()),"Date de d\xe9but invalide"),to:ef.z.date().refine(e=>!isNaN(e.getTime()),"Date de fin invalide")}).refine(e=>(0,tu.GP)(e.from,"yyyy-MM-dd")<=(0,tu.GP)(e.to,"yyyy-MM-dd"),{message:"La date de d\xe9but doit \xeatre avant la date de fin",path:["from"]}),organiserEmail:ef.z.string().email("Email invalide"),organiserPhone:ef.z.string().refine(e=>(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),entry:ef.z.enum(["free","paid"],{required_error:"Veuillez s\xe9lectionner un type d'entr\xe9e"}).default("free"),venue:ef.z.object({indoor:ef.z.boolean(),outdoor:ef.z.boolean()}).refine(e=>e.indoor||e.outdoor,{message:"Au moins un type de lieu doit \xeatre s\xe9lectionn\xe9"}),isAccepted:ef.z.boolean().optional()}),td={name:"",type:void 0,place:tl,dates:{from:new Date,to:new Date},organiserEmail:"",organiserPhone:"",entry:"free",venue:{indoor:!1,outdoor:!1}},th=ef.z.union([ef.z.string().url(),ef.z.string().length(0)]);ef.z.object({name:ef.z.string().min(1,"Le nom de l'\xe9v\xe9nement est requis"),organiser:ef.z.string().nullable().optional(),venue:ef.z.enum(["Interieur","Exterieur"]),entry:ef.z.enum(["Payant","Gratuit"]),websiteUrl:th.nullable().optional(),description:ef.z.string().nullable().optional(),address:ef.z.string().min(1,"L'adresse est requise"),place:ef.z.string().min(1,"Le nom du lieu est requis"),type:ef.z.enum(ed.hm9,{message:"Le type d'\xe9v\xe9nement n'est pas valide"}),linkedinUrl:ef.z.string().url(e$).refine(eY(["linkedin.com"]),{message:eK("LinkedIn")}).or(ef.z.literal("")).nullish(),facebookUrl:ef.z.string().url(e$).refine(eY(["facebook.com"]),{message:eK("Facebook")}).or(ef.z.literal("")).nullish(),twitterUrl:ef.z.string().url(e$).refine(eY(["twitter.com","x.com"]),{message:eK("X (Twitter)")}).or(ef.z.literal("")).nullish(),instagramUrl:ef.z.string().url(e$).refine(eY(["instagram.com"]),{message:eK("Instagram")}).or(ef.z.literal("")).nullish(),youtubeUrl:ef.z.string().url(e$).refine(eY(["youtube.com"]),{message:eK("YouTube")}).or(ef.z.literal("")).nullish(),dates:ef.z.array(ef.z.date()).min(1),schedules:ef.z.array(ef.z.string().min(1,"Les horaires sont requis"))});let tf=ef.z.date().refine(e=>!isNaN(new Date(e).getTime()),"Date invalide"),tp=ef.z.object({start:ef.z.string(),end:ef.z.string(),day:ef.z.string()}),tm=ef.z.object({from:tf,to:tf,times:ef.z.array(tp)}).refine(e=>new Date(e.from)<=new Date(e.to),{message:"La date de d\xe9but doit \xeatre avant la date de fin",path:["to"]}),tg=ef.z.object({name:ef.z.string().min(1,"Le nom de l'\xe9v\xe9nement est requis"),type:ef.z.enum([...ed.hm9,""]),place:ts,dates:tm,organiserName:ef.z.string().optional(),organiserEmail:ef.z.string().email("Email invalide").optional().or(ef.z.literal("")),organiserPhone:ef.z.string().optional().refine(e=>!e||(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),websiteUrl:ef.z.string().url().optional().or(ef.z.literal("")),entry:ef.z.enum(["free","paid"],{required_error:"Veuillez s\xe9lectionner un type d'entr\xe9e"}).default("free"),venue:ef.z.object({indoor:ef.z.boolean(),outdoor:ef.z.boolean()}).refine(e=>e.indoor||e.outdoor,{message:"Au moins un type de lieu doit \xeatre s\xe9lectionn\xe9"})}),tv={...td,dates:{from:new Date,to:new Date,times:[{start:"8:00",end:"18:00",day:(0,x.UwG)(new Date)}]}};ef.z.object({name:ef.z.string().min(1,"Le nom de l'\xe9v\xe9nement est requis"),type:ef.z.enum([...ed.hm9,""]),place:ef.z.string().min(1,"Le lieu est requis"),dates:ef.z.object({from:ef.z.date().refine(e=>!isNaN(e.getTime()),"Date de d\xe9but invalide"),to:ef.z.date().refine(e=>
21!isNaN(e.getTime()),"Date de fin invalide")}).refine(e=>(0,tu.GP)(e.from,"yyyy-MM-dd")<=(0,tu.GP)(e.to,"yyyy-MM-dd"),{message:"La date de d\xe9but doit \xeatre avant la date de fin",path:["from"]}),organiserEmail:ef.z.string().email("Email invalide"),organiserPhone:ef.z.string().refine(e=>(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),entry:ef.z.enum(["free","paid"],{required_error:"Veuillez s\xe9lectionner un type d'entr\xe9e"}).default("free"),venue:ef.z.object({indoor:ef.z.boolean(),outdoor:ef.z.boolean()}).refine(e=>e.indoor||e.outdoor,{message:"Au moins un type de lieu doit \xeatre s\xe9lectionn\xe9"})});let ty=ef.z.object({hour:ef.z.number(),minute:ef.z.number()}),tb=ef.z.object({day:ef.z.string(),start:ty,end:ty,isFullDay:ef.z.boolean().nullish().default(null).optional()}).refine(e=>e.isFullDay||((e,t)=>{let n=new Date,r=new Date;return n.setHours(e.hour,e.minute,0,0),r.setHours(t.hour,t.minute,0,0),n<r})(e.start,e.end),{message:"L'heure de d\xe9but doit \xeatre ant\xe9rieure \xe0 l'heure de fin",path:["start"]});tc.extend({id:ef.z.string(),relatedDataToDuplicate:ef.z.object({ticketing:ef.z.boolean().optional(),features:ef.z.boolean().optional()})}),ef.z.object({isPrivate:ef.z.boolean(),id:ef.z.string()}),ef.z.object({exhibitors:ef.z.array(ef.z.object({id:ef.z.string(),new:ef.z.boolean()}))}),ef.z.object({openTicketingWhenOnline:ef.z.boolean(),activateBadgesWhenOnline:ef.z.boolean(),setExhibitorsOnlineWhenOnline:ef.z.boolean(),setProgramOnlineWhenOnline:ef.z.boolean()}),ef.z.object({events:ef.z.array(ef.z.object({eventId:ef.z.string(),name:ef.z.string(),advancedStatistics:ef.z.boolean()}))});let tw="Heure invalide",tx=ef.z.instanceof(eB.gX,{message:tw}),tC=ef.z.object({id:ef.z.string().optional(),day:ef.z.enum(ed._36),state:ef.z.enum(ed.xPI),openingTime:tx.nullish(),closingTime:tx.nullish(),breakStartTime:tx.nullish(),breakEndTime:tx.nullish()}).refine(e=>{let{state:t,openingTime:n}=e;return"closed"===t||n},{message:tw,path:["openingTime"]}).refine(e=>{let{state:t,closingTime:n,openingTime:r,breakEndTime:i}=e;return"closed"===t||!!n&&("continuouslyOpened"===t?!r||n.compare(r)>0:!i||n.compare(i)>0)},{message:tw,path:["closingTime"]}).refine(e=>{let{state:t,breakStartTime:n,openingTime:r}=e;return"opened"!==t||!!n&&(!r||n.compare(r)>0)},{message:tw,path:["breakStartTime"]}).refine(e=>{let{state:t,breakEndTime:n,breakStartTime:r}=e;return"opened"!==t||!!n&&(!r||n.compare(r)>0)},{message:tw,path:["breakEndTime"]});ef.z.object({id:ef.z.string().optional(),date:ef.z.date().refine(e=>!isNaN(e.getTime()),{message:"Date invalide"})}),ef.z.object({id:ef.z.string().optional(),dates:ef.z.object({from:ef.z.date().refine(e=>!isNaN(e.getTime()),{message:"Date de d\xe9but invalide"}),to:ef.z.date().refine(e=>!isNaN(e.getTime()),{message:"Date de fin invalide"})}).nullish(),timetables:ef.z.array(tC).refine(e=>{let t=e.map(e=>e.day);return new Set(t).size===t.length},{message:"Tous les jours doivent \xeatre renseign\xe9s"})}).refine(e=>{let{dates:t}=e;return!t||(null==t?void 0:t.from)&&t.to},{message:"Veuillez renseigner les dates d'ouverture"}),ed._36.map(e=>({day:e,state:"continuouslyOpened",type:"sunday"===e?"close":"open"}));let tE=ef.z.enum(["male","female","other"]),tS=ef.z.object({picture:ef.z.string().nullable(),firstName:ef.z.string().min(2,"Veuillez entrer un pr\xe9nom valide").max(64,"Veuillez entrer un pr\xe9nom valide").optional(),lastName:ef.z.string().min(2,"Veuillez entrer un nom valide").max(64,"Veuillez entrer un nom valide").optional(),gender:tE.nullable(),dateOfBirth:ef.z.date().nullable(),email:ef.z.string().email("Veuillez entrer un email valide").optional(),phoneNumber:ef.z.string().nullable().refine(e=>!e||(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),address:ef.z.string().nullable(),city:ef.z.string().nullable(),zipCode:ef.z.string().nullable(),interest:ef.z.string().nullable(),businessName:ef.z.string().nullable(),isProfessional:ef.z.boolean().optional(),siret:eE.nullable(),vat:eS.nullable(),country:ef.z.string().optional().nullable(),sharedInformations:ef.z.object({firstName:ef.z.boolean().optional(),lastName:ef.z.boolean().optional(),email:ef.z.boolean().optional()}).optional()}).partial().superRefine((e,t)=>
21{let{sharedInformations:n,firstName:r,lastName:i,email:a,siret:o,country:s,vat:l}=e;if(void 0===n)return;let{firstName:u,lastName:c,email:d}=n;tA(u,r,"firstName",t),tA(c,i,"lastName",t),tA(d,a,"email",t),void 0===o||s||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous devez renseigner le pays de votre activit\xe9",path:["country"]}),void 0!==o&&void 0===l&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous devez renseigner le num\xe9ro de TVA",path:["vat"]}),ek(t,l,o)}),tA=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;e&&(!t||""===t)&&r.addIssue({code:ef.z.ZodIssueCode.custom,path:[n],message:"Vous devez renseigner ce champ"})},tk={picture:"",firstName:"",lastName:"",gender:null,dateOfBirth:new Date,email:"",phoneNumber:"",address:"",city:"",zipCode:"",interest:"",businessName:"",sharedInformations:{email:!0,firstName:!0,lastName:!0},siret:void 0,vat:void 0,country:null};ef.z.object({interlocutorGender:tE.optional(),interlocutorFirstName:ef.z.string().optional(),interlocutorLastName:ef.z.string().optional(),interlocutorEmail:ef.z.string().email("Email invalide").optional().or(ef.z.literal("")),interlocutorPhone:ef.z.string().refine(e=>!e||(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}).optional(),adoptedSolution:ef.z.string().optional(),text:ef.z.string().optional()}).superRefine((e,t)=>{((null==e?void 0:e.interlocutorFirstName)||(null==e?void 0:e.interlocutorLastName))&&((null==e?void 0:e.interlocutorEmail)||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"L'email de l'interlocuteur est requis",path:["interlocutorEmail"]}),(null==e?void 0:e.interlocutorPhone)||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Le t\xe9l\xe9phone de l'interlocuteur est requis",path:["interlocutorPhone"]}))}),ef.z.object({isStand:ef.z.boolean(),placeName:ef.z.string(),mode:ef.z.enum(["accept","refuse"]).optional()}).superRefine((e,t)=>{"refuse"!==e.mode&&(e.isStand||e.placeName.length>0||t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Veuillez renseigner un lieu",path:["placeName"]}))});var tN=n(40483);ef.z.object({id:ef.z.string(),name:ef.z.string().min(1,"Le nom de l'animation est requis"),description:ef.z.string(),dates:ef.z.array(tb).min(1).superRefine((e,t)=>{let n=new Date,r=n.getHours();e.forEach((e,i)=>{(0,tN.r)(e.day,n)&&e.start.hour<r&&!e.isFullDay&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous ne pouvez pas cr\xe9er une animation r\xe9troactivement",path:[i,"start"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous ne pouvez pas cr\xe9er une animation r\xe9troactivement",path:[i,"day"]}))})}),isRegistrationRequired:ef.z.boolean(),maxParticipantNumber:ef.z.coerce.number(),entry:ef.z.enum(["free","paid"]),place:ef.z.string(),structureSchedule:ef.z.boolean().optional(),organiserSchedule:ef.z.boolean().optional(),activityArea:ef.z.object({isOwnStand:ef.z.union([ef.z.string(),ef.z.boolean()]).transform(e=>"boolean"==typeof e?e:"true"===e).optional(),areaName:ef.z.string().optional(),area_id:ef.z.string().optional()}).optional(),structureId:ef.z.string().optional().nullable()}),ef.z.object({id:ef.z.string().optional(),eventId:ef.z.string().uuid(),model:ef.z.enum(ed.ZXe),opacity:ef.z.number().min(0).max(100),backgroundColor:ef.z.enum(ed.I0q),fullDayColor:ef.z.enum(ed.I0q),polyAnimationColor:ef.z.enum(ed.I0q),backgroundPicture:eI.nullable()}),ef.z.object({templateName:ef.z.string(),slot:ef.z.number().min(0).max(4)}),ef.z.object({count:ef.z.coerce.number()}),ef.z.object({gateId:ef.z.string().nullable()}),ef.z.object({count:ef.z.coerce.number().min(1,"Veuillez choisir au moins un compte")});let tP=ef.z.object({equipmentId:ef.z.string(),equipmentName:ef.z.string(),quantity:ef.z.coerce.number().min(0),dateRange:eM.optional(),price:ef.z.coerce.number().nullable()});ef.z.object({equipments:ef.z.array(tP)}),ef.z.object({phone:ef.z.string().refine(e=>(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"})}),ef.z.object({password:ef.z.string().min(8)}),ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Le nom de la porte est requis").max(64,"Le nom de la porte ne doit pas d\xe9passer 64 c
21aract\xe8res"),ticketTypes:ef.z.array(ef.z.string()).optional(),badgeTypes:ef.z.array(ef.z.string()).optional()}),ef.z.object({gates:ef.z.array(ef.z.object({id:ef.z.string(),name:ef.z.string().min(1,"Le nom de la porte est requis").max(64,"Le nom de la porte ne peut pas d\xe9passer 64 caract\xe8res")})),name:ef.z.string().max(64,"Le nom de la porte ne peut pas d\xe9passer 64 caract\xe8res").optional()});let tI=ef.z.object({reportOption:ef.z.enum(ed.Kfj),otherReason:ef.z.string().max(1e3,"Le texte de la description ne doit pas d\xe9passer 1000 caract\xe8res").optional()}).superRefine((e,t)=>{"other"!==e.reportOption||e.otherReason||t.addIssue({code:ef.z.ZodIssueCode.custom,path:["otherReason"]})}),tT={reportOption:"fakeEvent",otherReason:void 0};ef.z.object({cashRegisterCredits:ef.z.coerce.number().min(0).max(1e3)}),ef.z.object({email:ef.z.string().email("Veuillez entrer un email valide")}),ef.z.object({firstName:ef.z.string().min(1,{message:"Veuillez entrer un nom"}),lastName:ef.z.string().min(1,{message:"Veuillez entrer un pr\xe9nom"}),identifier:ef.z.string().max(10).min(10,{message:"Veuillez entrer un identifiant"}),password:ef.z.string().optional()}),ef.z.object({ids:ef.z.array(ef.z.string())});let tO=ef.z.object({id:ef.z.string(),isBadge:ef.z.boolean(),color:ef.z.string(),x:ef.z.number(),y:ef.z.number(),isHalf:ef.z.boolean(),name:ef.z.string(),price:ef.z.number(),page:ef.z.number()});ef.z.object({blocks:ef.z.array(tO)});let tL=ef.z.object({entryId:ef.z.string(),isBadge:ef.z.boolean(),quantity:ef.z.number(),price:ef.z.number()});ef.z.object({number:ef.z.number(),items:ef.z.array(tL),medium:ef.z.nativeEnum(eD.CashRegisterPaymentMethod),value:ef.z.number()});let tM=ef.z.object({oneCent:ef.z.number(),twoCent:ef.z.number(),fiveCent:ef.z.number(),tenCent:ef.z.number(),twentyCent:ef.z.number(),fiftyCent:ef.z.number(),oneEuro:ef.z.number(),twoEuro:ef.z.number(),fiveEuro:ef.z.number(),tenEuro:ef.z.number(),twentyEuro:ef.z.number(),fiftyEuro:ef.z.number(),oneHundredEuro:ef.z.number(),twoHundredEuro:ef.z.number(),fiveHundredEuro:ef.z.number()});tM.extend({}),tM.extend({isAddition:ef.z.boolean()}),ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Le nom de la caisse est requis").max(64,"Le nom de la caisse ne doit pas d\xe9passer 64 caract\xe8res")}),ef.Ay.object({selectedExhibitors:ef.Ay.array(ef.Ay.object({id:ef.Ay.string()}))}),ef.z.object({selectedDocuments:ef.z.array(ef.z.object({id:ef.z.string()}))});let tD=/^[A-Z0-9]{15,34}$/,tj=/^[A-Z]{6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3})?$/,t_="Veuillez entrer un nom";ef.z.object({accountName:ef.z.string().min(1,t_),ownerName:ef.z.string().min(1,t_),bankName:ef.z.string().min(1,t_),iban:ef.z.string().min(1,"Veuillez entrer un IBAN").refine(e=>e.replace(/ /g,"").toUpperCase().match(tD),"Veuillez entrer un IBAN valide"),bic:ef.z.string().min(1,"Veuillez entrer un BIC").refine(e=>e.replace(/ /g,"").toUpperCase().match(tj),"Veuillez entrer un BIC valide"),country:ef.z.string().min(1),zipCode:ef.z.string().min(1),city:ef.z.string().min(1),address:ef.z.string().min(1)});let tR="Veuillez entrer un nom";ef.z.object({accountName:ef.z.string().min(1,tR),ownerName:ef.z.string().min(1,tR),bankName:ef.z.string().min(1,tR),iban:ef.z.string().min(1,"Veuillez entrer un IBAN").refine(e=>e.replace(/ /g,"").toUpperCase().match(tD),"Veuillez entrer un IBAN valide"),bic:ef.z.string().min(1,"Veuillez entrer un BIC").refine(e=>e.replace(/ /g,"").toUpperCase().match(tj),"Veuillez entrer un BIC valide"),country:ef.z.string().min(1),zipCode:ef.z.string().min(1),city:ef.z.string().min(1),address:ef.z.string().min(1)});let tF=new Date().getFullYear(),tz=ef.z.object({month:ef.z.string().length(2).refine(e=>{let t=parseInt(e,10);return t>=1&&t<=12},{message:"Veuillez entrer un mois valide"}),year:ef.z.string().length(4).refine(e=>((e,t,n)=>{let r=parseInt(e,10);return r>=(null!=t?t:1e3)&&r<=(null!=n?n:9999)})(e,tF,tF+50),{message:"Veuillez entrer une ann\xe9e valide"})});ef.z.object({type:ef.z.enum(["card"]),ownerName:ef.z.string().min(1,"Veuillez entrer un nom"),cardNumber:ef.z.string().min(1,"Veuillez entrer un num\xe9ro de carte").refine(e=>16===e.replace(/\s/g,"").length),expirationDate:tz,cvv:ef.z.string().min(1,"Veuillez entrer un CVV").max(3)});let tB=ef.z.object({currentPassword:ef.z.string().optional(),newPassword:ef.z.string().superRefine((e,t)=>
21{!(e.length<x.m1N)&&/[a-z]/.test(e)&&/[A-Z]/.test(e)&&/[ !"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(e)&&/[0-9]/.test(e)||t.addIssue({code:ef.z.ZodIssueCode.custom,message:(0,x.$dm)(e)})})}),tV={currentPassword:"",newPassword:""};ef.z.object({firstName:ef.z.string().min(2,"Minimum 2 caract\xe8res").max(64).optional(),lastName:ef.z.string().min(2,"Minimum 2 caract\xe8res").max(64).optional(),email:ef.z.string().email("Veuillez entrer un email valide").optional(),phoneNumber:ef.z.string().nullable().refine(e=>!e||(0,eG.g0)(e,"FR"),{message:"T\xe9l\xe9phone invalide"}),businessName:ef.z.string().nullable(),siret:eE.optional().nullable(),vat:eS.optional().nullable(),password:ef.z.string().nullable(),country:ef.z.string().nullable()}).superRefine((e,t)=>{!e.siret&&e.vat&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Vous devez renseigner un num\xe9ro SIRET pour pouvoir renseigner un num\xe9ro de TVA",path:["vat"]}),ek(t,e.vat,e.siret)}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),firstName:ef.z.string(),lastName:ef.z.string(),email:ef.z.string().optional(),gender:tE,personalComment:ef.z.string().optional(),connectId:ef.z.string().optional(),ticketId:ef.z.string().optional(),ticketCount:ef.z.number().optional()}).superRefine((e,t)=>{(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]}),e.connectId||e.email||(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Un ID ou un Email doit \xeatre renseign\xe9.",path:["email"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Un ID ou un Email doit \xeatre renseign\xe9.",path:["connectId"]}))}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),firstName:ef.z.string(),lastName:ef.z.string(),email:ef.z.string().optional(),gender:tE,personalComment:ef.z.string().optional(),connectId:ef.z.string().optional(),commercialId:ef.z.string()}).superRefine((e,t)=>{(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]}),e.connectId||e.email||(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Un ID ou un Email doit \xeatre renseign\xe9.",path:["email"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Un ID ou un Email doit \xeatre renseign\xe9.",path:["connectId"]}))}),ef.z.object({commercialId:ef.z.string(),personalComment:ef.z.string().optional()}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),personalComment:ef.z.string().optional()}).superRefine((e,t)=>{(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]})});let tU=ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),isFullDay:ef.z.boolean()}).superRefine((e,t)=>{!e.isFullDay&&(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]})});ef.z.object({unavailabilities:ef.z.array(tU).superRefine((e,t)=>
21{let n=e.map(e=>({from:new Date(e.date+" "+e.beginningHour),to:new Date(e.date+" "+e.endHour)})).sort((e,t)=>(0,eV.Y)(e.from,t.from)?-1:1);for(let e=1;e<n.length;e++){let r=n[e-1].to;n[e].from<=r&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Les plages de dates ne doivent pas se chevaucher",path:[e,"dates"]})}}),commercialId:ef.z.string()}),ef.z.object({personalComment:ef.z.string()}),(0,x.UwG)(new Date);let tq=ef.z.object({clientId:ef.z.string(),quantity:ef.z.number().min(0)});ef.z.object({clients:ef.z.array(tq)}),ef.z.object({date:ef.z.string(),beginningHour:ef.z.string(),endHour:ef.z.string(),gender:tE,personalComment:ef.z.string().optional(),emailOrConnectId:ef.z.string().min(1,"L'email ou l'ID Connect Events est requis"),firstName:ef.z.string().min(1,"Le pr\xe9nom est requis"),lastName:ef.z.string().min(1,"Le nom est requis"),sendTicket:ef.z.boolean(),ticketCount:ef.z.number().min(0),selectedTicketId:ef.z.string().optional()}).superRefine((e,t)=>{(0,eV.Y)(new Date(e.date+" "+e.beginningHour),new Date)&&(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["date"]}),t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de d\xe9but ne peut pas \xeatre avant maintenant.",path:["beginningHour"]})),(0,eV.Y)(new Date(e.date+" "+e.endHour),new Date(e.date+" "+e.beginningHour))&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"La date de fin ne peut \xeatre avant celle du d\xe9but.",path:["endHour"]}),e.sendTicket&&0===e.ticketCount&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Veuillez s\xe9lectionner au moins un billet.",path:["ticketCount"]}),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.emailOrConnectId)&&e.emailOrConnectId.length<3&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"L'ID Connect Events doit contenir au moins 3 caract\xe8res.",path:["emailOrConnectId"]})}),(0,x.bIe)(),(0,x.lQ)(),(0,x.UwG)(new Date),ef.z.object({connectId:ef.z.string().min(10,"L'identifiant doit contenir au moins 10 caract\xe8res"),clearPassword:ef.z.string().min(8,"Le mot de passe doit contenir au moins 8 caract\xe8res")}),ef.z.object({question:ef.z.string().min(1),answer:ef.z.string().min(1).max(1500)}),ef.z.object({question:ef.z.string().min(1),answer:ef.z.string().min(1).max(1500),platform:ef.z.array(ef.z.nativeEnum(eD.RagFaqPlatform)).min(1)});var tH=["MO","TU","WE","TH","FR","SA","SU"],tZ=function(){function e(e,t){if(0===t)throw Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return e.fromStr=function(t){return new e(tH.indexOf(t))},e.prototype.nth=function(t){return this.n===t?this:new e(this.weekday,t)},e.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},e.prototype.toString=function(){var e=tH[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},e.prototype.getJsWeekday=function(){return 6===this.weekday?0:this.weekday+1},e}(),tW=function(e){return null!=e},tG=function(e){return"number"==typeof e},t$=function(e){return"string"==typeof e&&tH.includes(e)},tK=Array.isArray,tY=function(e,t){void 0===t&&(t=e),1==arguments.length&&(t=e,e=0);for(var n=[],r=e;r<t;r++)n.push(r);return n},tX=function(e,t){var n=0,r=[];if(tK(e))for(;n<t;n++)r[n]=[].concat(e);else for(;n<t;n++)r[n]=e;return r};function tQ(e,t,n){void 0===n&&(n=" ");var r=String(e);return(t|=0,r.length>t)?String(r):((t-=r.length)>n.length&&(n+=tX(n,t/n.length)),n.slice(0,t)+String(r))}var tJ=function(e,t,n){var r=e.split(t);return n?r.slice(0,n).concat([r.slice(n).join(t)]):r},t0=function(e,t){var n=e%t;return n*t<0?n+t:n},t1=function(e,t){return{div:Math.floor(e/t),mod:t0(e,t)}},t2=function(e){return!tW(e)||0===e.length},t5=function(e){return!t2(e)},t4=function(e,t){return t5(e)&&-1!==e.indexOf(t)},t3=function(e,t,n,r,i,a){return void 0===r&&(r=0),void 0===i&&(i=0),void 0===a&&(a=0),new Date(Date.UTC(e,t-1,n,r,i,a))},t6=[31,28,31,30,31,30,31,31,30,31,30,31],t8=t3(1970,1,1),t9=[6,0,1,2,3,4,5],t7=function(e){return e%4==0&&e%100!=0||e%400==0},ne=function(e){return e instanceof Date},nt=function(e){return ne(e)&&!isNaN(e.getTime())},nn=function(e){var t,n;return t=e,n=t8,Math.round((t.getTime()-n.getTime())/864e5)},nr=function(e){return new Date(t8.getTime()+864e5*e)},ni=function(e){var t=e.getUTCMonth();return 1===t&&t7(e.getUTCFullYear())?29:t6[t]},na=function(e){return t9[e.getUTCDay()]},no=function(e,t){var n=t3(e,t+1,1);return[na(n),ni(n)]},ns=function(e,t){return t=t||e,new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},nl=function(e){return new Date(e.getTime())},nu=function(e){for(var t=[],n=0;n<e.length;n++)t.push(nl(e[n]));return t},nc=function(e){e.sort(function(e,t){return e.getTime()-t.getTime()})},nd=function(e,t){void 0===t&&(t=!0);var n=new Date(e);return""+tQ(n.getUTCFullYear().toString(),4,"0")+tQ(n.getUTCMonth()+1,2,"0")+tQ(n.getUTCDate(),2,"0")+"T"+tQ(n.getUTCHours(),2,"0")+tQ(n.getUTCMinutes(),2,"0")+tQ(n.getUTCSeconds(),2,"0")+(t?"Z":"")},nh=function(e){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/.exec(e);if(!t)throw Error("Invalid UNTIL value: ".concat(e));return new Date(Date.UTC(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10),parseInt(t[5],10)||0,parseInt(t[6],10)||0,parseInt(t[7],10)||0))}
21,nf=function(e,t){return e.toLocaleString("sv-SE",{timeZone:t}).replace(" ","T")+"Z"},np=function(e,t){var n=new Date(nf(e,Intl.DateTimeFormat().resolvedOptions().timeZone)),r=new Date(nf(e,null!=t?t:"UTC")).getTime()-n.getTime();return new Date(e.getTime()-r)},nm=function(){function e(e,t){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=e,this.args=t,"between"===e?(this.maxDate=t.inc?t.before:new Date(t.before.getTime()-1),this.minDate=t.inc?t.after:new Date(t.after.getTime()+1)):"before"===e?this.maxDate=t.inc?t.dt:new Date(t.dt.getTime()-1):"after"===e&&(this.minDate=t.inc?t.dt:new Date(t.dt.getTime()+1))}return e.prototype.accept=function(e){++this.total;var t=this.minDate&&e<this.minDate,n=this.maxDate&&e>this.maxDate;if("between"===this.method){if(t)return!0;if(n)return!1}else if("before"===this.method){if(n)return!1}else if("after"===this.method)return!!t||(this.add(e),!1);return this.add(e)},e.prototype.add=function(e){return this._result.push(e),!0},e.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;default:return e.length?e[e.length-1]:null}},e.prototype.clone=function(){return new e(this.method,this.args)},e}(),ng=n(13829),nv=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.iterator=r,i}return(0,ng.C6)(t,e),t.prototype.add=function(e){return!!this.iterator(e,this._result.length)&&(this._result.push(e),!0)},t}(nm);let ny={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}};var nb=function(e,t){return -1!==e.indexOf(t)},nw=function(e){return e.toString()},nx=function(e,t,n){return"".concat(t," ").concat(n,", ").concat(e)},nC=function(){function e(e,t,n,r){if(void 0===t&&(t=nw),void 0===n&&(n=ny),void 0===r&&(r=nx),this.text=[],this.language=n||ny,this.gettext=t,this.dateFormatter=r,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var i=[].concat(this.options.bymonthday),a=[].concat(this.options.bynmonthday);i.sort(function(e,t){return e-t}),a.sort(function(e,t){return t-e}),this.bymonthday=i.concat(a),this.bymonthday.length||(this.bymonthday=null)}if(tW(this.origOptions.byweekday)){var o=tK(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],s=String(o);this.byweekday={allWeeks:o.filter(function(e){return!e.n}),someWeeks:o.filter(function(e){return!!e.n}),isWeekdays:-1!==s.indexOf("MO")&&-1!==s.indexOf("TU")&&-1!==s.indexOf("WE")&&-1!==s.indexOf("TH")&&-1!==s.indexOf("FR")&&-1===s.indexOf("SA")&&-1===s.indexOf("SU"),isEveryDay:-1!==s.indexOf("MO")&&-1!==s.indexOf("TU")&&-1!==s.indexOf("WE")&&-1!==s.indexOf("TH")&&-1!==s.indexOf("FR")&&-1!==s.indexOf("SA")&&-1!==s.indexOf("SU")};var l=function(e,t){return e.weekday-t.weekday};this.byweekday.allWeeks.sort(l),this.byweekday.someWeeks.sort(l),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}
21return e.isFullyConvertible=function(t){if(!(t.options.freq in e.IMPLEMENTED)||t.origOptions.until&&t.origOptions.count)return!1;for(var n in t.origOptions){if(nb(["dtstart","tzid","wkst","freq"],n))break;if(!nb(e.IMPLEMENTED[t.options.freq],n))return!1}return!0},e.prototype.isFullyConvertible=function(){return e.isFullyConvertible(this.rrule)},e.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in e.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[n7.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var n=this.options.until;this.add(this.dateFormatter(n.getUTCFullYear(),this.language.monthNames[n.getUTCMonth()],n.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(t(this.plural(this.options.count)?"times":"time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},e.prototype.HOURLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(e(this.plural(this.options.interval)?"hours":"hour"))},e.prototype.MINUTELY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(e(this.plural(this.options.interval)?"minutes":"minute"))},e.prototype.DAILY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(e(this.plural(this.options.interval)?"weekdays":"weekday")):this.add(e(this.plural(this.options.interval)?"days":"day")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},e.prototype.WEEKLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()).add(e(this.plural(this.options.interval)?"weeks":"week")),this.byweekday&&this.byweekday.isWeekdays?1===this.options.interval?this.add(e(this.plural(this.options.interval)?"weekdays":"weekday")):this.add(e("on")).add(e("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(e(this.plural(this.options.interval)?"days":"day")):(1===this.options.interval&&this.add(e("week")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},e.prototype.MONTHLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()).add(e("months")),this.plural(this.options.interval)&&this.add(e("in"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(e(this.plural(this.options.interval)?"months":"month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(e("on")).add(e("weekdays")):this.byweekday&&this._byweekday()},e.prototype.YEARLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()),this.add(e("years"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(e(this.plural(this.options.interval)?"years":"year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(e("on the")).add(this.list(this.options.byyearday,this.nth,e("and"))).add(e("day")),this.options.byweekno&&this.add(e("in")).add(e(this.plural(this.options.byweekno.length)?"weeks":"week")).add(this.list(this.options.byweekno,void 0,e("and")))},e.prototype._bymonthday=function(){var e=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,e("or"))).add(e("the")).add(this.list(this.bymonthday,this.nth,e("or"))):this.add(e("on the")).add(this.list(this.bymonthday,this.nth,e("and")))},e.prototype._byweekday=function(){var e=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(e("and")),this.add(e("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,e("and"))))},e.prototype._byhour=function(){var e=this.gettext;this.add(e("at")).add(this.list(this.origOptions.byhour,void 0,e("and")))},e.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},e.prototype.nth=function(e){e=parseInt(e.toString(),10);var t,n=this.gettext;if(-1===e)return n("last");var r=Math.abs(e);switch(r){case 1:case 21:case 31:t=r+n("st");break;
21case 2:case 22:t=r+n("nd");break;case 3:case 23:t=r+n("rd");break;default:t=r+n("th")}return e<0?t+" "+n("last"):t},e.prototype.monthtext=function(e){return this.language.monthNames[e-1]},e.prototype.weekdaytext=function(e){var t=tG(e)?(e+1)%7:e.getJsWeekday();return(e.n?this.nth(e.n)+" ":"")+this.language.dayNames[t]},e.prototype.plural=function(e){return e%100!=1},e.prototype.add=function(e){return this.text.push(" "),this.text.push(e),this},e.prototype.list=function(e,t,n,r){var i=this;void 0===r&&(r=","),tK(e)||(e=[e]),t=t||function(e){return e.toString()};var a=function(e){return t&&t.call(i,e)};if(!n)return e.map(a).join(r+" ");for(var o=e.map(a),s=r,l="",u=0;u<o.length;u++)0!==u&&(u===o.length-1?l+=" "+n+" ":l+=s+" "),l+=o[u];return l},e}(),nE=function(){function e(e){this.done=!0,this.rules=e}return e.prototype.start=function(e){return this.text=e,this.done=!1,this.nextSymbol()},e.prototype.isDone=function(){return this.done&&null===this.symbol},e.prototype.nextSymbol=function(){this.symbol=null,this.value=null;do{if(this.done)return!1;for(var e in t=null,this.rules){var t,n,r=this.rules[e].exec(this.text);r&&(null===t||r[0].length>t[0].length)&&(t=r,n=e)}if(null!=t&&(this.text=this.text.substr(t[0].length),""===this.text&&(this.done=!0)),null==t){this.done=!0,this.symbol=null,this.value=null;return}}while("SKIP"===n);return this.symbol=n,this.value=t,!0},e.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},e.prototype.acceptNumber=function(){return this.accept("number")},e.prototype.expect=function(e){if(this.accept(e))return!0;throw Error("expected "+e+" but found "+this.symbol)},e}();function nS(e,t){void 0===t&&(t=ny);var n={},r=new nE(t.tokens);if(!r.start(e))return null;return function(){r.expect("every");var e=r.acceptNumber();if(e&&(n.interval=parseInt(e[0],10)),r.isDone())throw Error("Unexpected end");switch(r.symbol){case"day(s)":n.freq=n7.DAILY,r.nextSymbol()&&(a(),u());break;case"weekday(s)":n.freq=n7.WEEKLY,n.byweekday=[n7.MO,n7.TU,n7.WE,n7.TH,n7.FR],r.nextSymbol(),a(),u();break;case"week(s)":n.freq=n7.WEEKLY,r.nextSymbol()&&(i(),a(),u());break;case"hour(s)":n.freq=n7.HOURLY,r.nextSymbol()&&(i(),u());break;case"minute(s)":n.freq=n7.MINUTELY,r.nextSymbol()&&(i(),u());break;case"month(s)":n.freq=n7.MONTHLY,r.nextSymbol()&&(i(),u());break;case"year(s)":n.freq=n7.YEARLY,r.nextSymbol()&&(i(),u());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":if(n.freq=n7.WEEKLY,n.byweekday=[n7[r.symbol.substr(0,2).toUpperCase()]],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw Error("Unexpected end");var t=s();if(!t)throw Error("Unexpected symbol "+r.symbol+", expected weekday");n.byweekday.push(n7[t]),r.nextSymbol()}a(),function(){r.accept("on"),r.accept("the");var e=l();if(e)for(n.bymonthday=[e],r.nextSymbol();r.accept("comma");){if(!(e=l()))throw Error("Unexpected symbol "+r.symbol+"; expected monthday");n.bymonthday.push(e),r.nextSymbol()}}(),u();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(n.freq=n7.YEARLY,n.bymonth=[o()],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw Error("Unexpected end");var c=o();if(!c)throw Error("Unexpected symbol "+r.symbol+", expected month");n.bymonth.push(c),r.nextSymbol()}i(),u();break;default:throw Error("Unknown symbol")}}(),n;function i(){var e=r.accept("on"),t=r.accept("the");if(e||t)do{var i=l(),a=s(),u=o();if(i)a?(r.nextSymbol(),n.byweekday||(n.byweekday=[]),n.byweekday.push(n7[a].nth(i))):(n.bymonthday||(n.bymonthday=[]),n.bymonthday.push(i),r.accept("day(s)"));else if(a)r.nextSymbol(),n.byweekday||(n.byweekday=[]),n.byweekday.push(n7[a]);else if("weekday(s)"===r.symbol)r.nextSymbol(),n.byweekday||(n.byweekday=[n7.MO,n7.TU,n7.WE,n7.TH,n7.FR]);else if("week(s)"===r.symbol){r.nextSymbol();var c=r.acceptNumber();if(!c)throw Error("Unexpected symbol "+r.symbol+", expected week number");for(n.byweekno=[parseInt(c[0],10)];r.accept("comma");){if(!(c=r.acceptNumber()))throw Error("Unexpected symbol "+r.symbol+"; expected monthday");n.byweekno.push(parseInt(c[0],10))}}else{if(!u)return;r.nextSymbol(),n.bymonth||(n.bymonth=[]),n.bymonth.push(u)}}while(r.accept("comma")||r.accept("the")||r.accept("on"))}function a(){if(r.accept("at"))do{var e=r.acceptNumber();if(!e)throw Error("Unexpected symbol "+r.symbol+", expected hour");for(n.byhour=[parseInt(e[0],10)];r.accept("comma");){if(!(e=r.acceptNumber()))throw Error("Unexpected symbol "+r.symbol+"; expected hour");n.byhour.push(parseInt(e[0],10))}}while(r.accept("comma")||r.accept("at"))}function o(){switch(r.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;
vendor: 4,533 bytes, line 21
21case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function s(){switch(r.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return r.symbol.substr(0,2).toUpperCase();default:return!1}}function l(){switch(r.symbol){case"last":return r.nextSymbol(),-1;case"first":return r.nextSymbol(),1;case"second":return r.nextSymbol(),r.accept("last")?-2:2;case"third":return r.nextSymbol(),r.accept("last")?-3:3;case"nth":var e=parseInt(r.value[1],10);if(e<-366||e>366)throw Error("Nth out of range: "+e);return r.nextSymbol(),r.accept("last")?-e:e;default:return!1}}function u(){if("until"===r.symbol){var e=Date.parse(r.text);if(!e)throw Error("Cannot parse until date:"+r.text);n.until=new Date(e)}else r.accept("for")&&(n.count=parseInt(r.value[0],10),r.expect("number"))}}function nA(e){return e<r.HOURLY}!function(e){e[e.YEARLY=0]="YEARLY",e[e.MONTHLY=1]="MONTHLY",e[e.WEEKLY=2]="WEEKLY",e[e.DAILY=3]="DAILY",e[e.HOURLY=4]="HOURLY",e[e.MINUTELY=5]="MINUTELY",e[e.SECONDLY=6]="SECONDLY"}(r||(r={}));var nk=["count","until","interval","byweekday","bymonthday","bymonth"];nC.IMPLEMENTED=[],nC.IMPLEMENTED[r.HOURLY]=nk,nC.IMPLEMENTED[r.MINUTELY]=nk,nC.IMPLEMENTED[r.DAILY]=["byhour"].concat(nk),nC.IMPLEMENTED[r.WEEKLY]=nk,nC.IMPLEMENTED[r.MONTHLY]=nk,nC.IMPLEMENTED[r.YEARLY]=["byweekno","byyearday"].concat(nk);var nN=nC.isFullyConvertible,nP=function(){function e(e,t,n,r){this.hour=e,this.minute=t,this.second=n,this.millisecond=r||0}return e.prototype.getHours=function(){return this.hour},e.prototype.getMinutes=function(){return this.minute},e.prototype.getSeconds=function(){return this.second},e.prototype.getMilliseconds=function(){return this.millisecond},e.prototype.getTime=function(){return(60*this.hour*60+60*this.minute+this.second)*1e3+this.millisecond},e}(),nI=function(e){function t(t,n,r,i,a,o,s){var l=e.call(this,i,a,o,s)||this;return l.year=t,l.month=n,l.day=r,l}return(0,ng.C6)(t,e),t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return na(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){return this.day},t.prototype.getMonth=function(){return this.month},t.prototype.getYear=function(){return this.year},t.prototype.addYears=function(e){this.year+=e},t.prototype.addMonths=function(e){if(this.month+=e,this.month>12){var t=Math.floor(this.month/12),n=t0(this.month,12);this.month=n,this.year+=t,0===this.month&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,t){t>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-t))+7*e:this.day+=-(this.getWeekday()-t)+7*e,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,t,n){for(t&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var r=t1(this.hour,24),i=r.div,a=r.mod;if(i&&(this.hour=a,this.addDaily(i)),t2(n)||t4(n,this.hour))break}},t.prototype.addMinutes=function(e,t,n,r){for(t&&(this.minute+=Math.floor((1439-(60*this.hour+this.minute))/e)*e);;){this.minute+=e;var i=t1(this.minute,60),a=i.div,o=i.mod;if(a&&(this.minute=o,this.addHours(a,!1,n)),(t2(n)||t4(n,this.hour))&&(t2(r)||t4(r,this.minute)))break}},t.prototype.addSeconds=function(e,t,n,r,i){for(t&&(this.second+=Math.floor((86399-(3600*this.hour+60*this.minute+this.second))/e)*e);;){this.second+=e;var a=t1(this.second,60),o=a.div,s=a.mod;if(o&&(this.second=s,this.addMinutes(o,!1,n,r)),(t2(n)||t4(n,this.hour))&&(t2(r)||t4(r,this.minute))&&(t2(i)||t4(i,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=no(this.year,this.month-1)[1];if(!(this.day<=e))for(;this.day>e;){if(this.day-=e,++this.month,13===this.month&&(this.month=1,++this.year,this.year>9999))return;e=no(this.year,this.month-1)[1]}}},t.prototype.add=function(e,t){var n=e.freq,i=e.interval,a=e.wkst,o=e.byhour,s=e.byminute,l=e.bysecond;switch(n){case r.YEARLY:return this.addYears(i);case r.MONTHLY:return this.addMonths(i);case r.WEEKLY:return this.addWeekly(i,a);case r.DAILY:return this.addDaily(i);case r.HOURLY:return this.addHours(i,t,o);case r.MINUTELY:return this.addMinutes(i,t,o,s);case r.SECONDLY:return this.addSeconds(i,t,o,s,l)}},t}(nP);function nT(e){for(var t=[],n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];
21t4(n9,i)||t.push(i),ne(e[i])&&!nt(e[i])&&t.push(i)}if(t.length)throw Error("Invalid options: "+t.join(", "));return(0,ng.Cl)({},e)}function nO(e){var t=e.split("\n").map(nM).filter(function(e){return null!==e});return(0,ng.Cl)((0,ng.Cl)({},t[0]),t[1])}function nL(e){var t={},n=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(e);if(!n)return t;var r=n[1],i=n[2];return r&&(t.tzid=r),t.dtstart=nh(i),t}function nM(e){if(!(e=e.replace(/^\s+|\s+$/,"")).length)return null;var t=/^([A-Z]+?)[:;]/.exec(e.toUpperCase());if(!t)return nD(e);var n=t[1];switch(n.toUpperCase()){case"RRULE":case"EXRULE":return nD(e);case"DTSTART":return nL(e);default:throw Error("Unsupported RFC prop ".concat(n," in ").concat(e))}}function nD(e){var t=nL(e.replace(/^RRULE:/i,""));return e.replace(/^(?:RRULE|EXRULE):/i,"").split(";").forEach(function(n){var i=n.split("="),a=i[0],o=i[1];switch(a.toUpperCase()){case"FREQ":t.freq=r[o.toUpperCase()];break;case"WKST":t.wkst=n6[o.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var s,l=-1!==(s=o).indexOf(",")?s.split(",").map(nj):nj(s);t[a.toLowerCase()]=l;break;case"BYWEEKDAY":case"BYDAY":t.byweekday=o.split(",").map(function(e){if(2===e.length)return n6[e];var t=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!t||t.length<3)throw SyntaxError("Invalid weekday string: ".concat(e));var n=Number(t[1]);return new tZ(n6[t[2]].weekday,n)});break;case"DTSTART":case"TZID":var u=nL(e);t.tzid=u.tzid,t.dtstart=u.dtstart;break;case"UNTIL":t.until=nh(o);break;case"BYEASTER":t.byeaster=Number(o);break;default:throw Error("Unknown RRULE property '"+a+"'")}}),t}function nj(e){return/^[+-]?\d+$/.test(e)?Number(e):e}var n_=function(){function e(e,t){if(isNaN(e.getTime()))throw RangeError("Invalid date passed to DateWithZone");this.date=e,this.tzid=t}return Object.defineProperty(e.prototype,"isUTC",{get:function(){return!this.tzid||"UTC"===this.tzid.toUpperCase()},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var e=nd(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(e):";TZID=".concat(this.tzid,":").concat(e)},e.prototype.getTime=function(){return this.date.getTime()},e.prototype.rezonedDate=function(){return this.isUTC?this.date:np(this.date,this.tzid)},e}();function nR(e){for(var t=[],n="",r=Object.keys(e),i=Object.keys(n8),a=0;a<r.length;a++)if("tzid"!==r[a]&&t4(i,r[a])){var o,s,l=r[a].toUpperCase(),u=e[r[a]],c="";if(!(!tW(u)||tK(u)&&!u.length)){switch(l){case"FREQ":c=n7.FREQUENCIES[e.freq];break;case"WKST":c=tG(u)?new tZ(u).toString():u.toString();break;case"BYWEEKDAY":l="BYDAY",c=(tK(u)?u:[u]).map(function(e){return e instanceof tZ?e:tK(e)?new tZ(e[0],e[1]):new tZ(e)}).toString();break;case"DTSTART":o=u,s=e.tzid,n=o?"DTSTART"+new n_(new Date(o),s).toString():"";break;case"UNTIL":c=nd(u,!e.tzid);break;default:if(tK(u)){for(var d=[],h=0;h<u.length;h++)d[h]=String(u[h]);c=d.toString()}else c=String(u)}c&&t.push([l,c])}}var f=t.map(function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n.toString())}).join(";"),p="";return""!==f&&(p="RRULE:".concat(f)),[n,p].filter(function(e){return!!e}).join("\n")}var nF=function(){function e(){this.all=!1,this.before=[],this.after=[],this.between=[]}return e.prototype._cacheAdd=function(e,t,n){t&&(t=t instanceof Date?nl(t):nu(t)),"all"===e?this.all=t:(n._value=t,this[e].push(n))},e.prototype._cacheGet=function(e,t){var n=!1,r=t?Object.keys(t):[],i=this[e];if("all"===e)n=this.all;else if(tK(i))for(var a=0;a<i.length;a++){var o=i[a];if(!(r.length&&function(e){for(var n=0;n<r.length;n++){var i=r[n];if(!function(e,t){return Array.isArray(e)?!!Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return e.getTime()===t[n].getTime()}):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():e===t}(t[i],e[i]))return!0}return!1}(o))){n=o._value;break}}if(!n&&this.all){for(var s=new nm(e,t),a=0;a<this.all.length&&s.accept(this.all[a]);a++);n=s.getValue(),this._cacheAdd(e,n,t)}return tK(n)?nu(n):n instanceof Date?nl(n):n},e}(),nz=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],tX(1,31),!0),tX(2,28),!0),tX(3,31),!0),tX(4,30),!0),tX(5,31),!0),tX(6,30),!0),tX(7,31),!0),tX(8,3
211),!0),tX(9,30),!0),tX(10,31),!0),tX(11,30),!0),tX(12,31),!0),tX(1,7),!0),nB=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],tX(1,31),!0),tX(2,29),!0),tX(3,31),!0),tX(4,30),!0),tX(5,31),!0),tX(6,30),!0),tX(7,31),!0),tX(8,31),!0),tX(9,30),!0),tX(10,31),!0),tX(11,30),!0),tX(12,31),!0),tX(1,7),!0),nV=tY(1,29),nU=tY(1,30),nq=tY(1,31),nH=tY(1,32),nZ=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],nH,!0),nU,!0),nH,!0),nq,!0),nH,!0),nq,!0),nH,!0),nH,!0),nq,!0),nH,!0),nq,!0),nH,!0),nH.slice(0,7),!0),nW=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],nH,!0),nV,!0),nH,!0),nq,!0),nH,!0),nq,!0),nH,!0),nH,!0),nq,!0),nH,!0),nq,!0),nH,!0),nH.slice(0,7),!0),nG=tY(-28,0),n$=tY(-29,0),nK=tY(-30,0),nY=tY(-31,0),nX=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],nY,!0),n$,!0),nY,!0),nK,!0),nY,!0),nK,!0),nY,!0),nY,!0),nK,!0),nY,!0),nK,!0),nY,!0),nY.slice(0,7),!0),nQ=(0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)((0,ng.fX)([],nY,!0),nG,!0),nY,!0),nK,!0),nY,!0),nK,!0),nY,!0),nY,!0),nK,!0),nY,!0),nK,!0),nY,!0),nY.slice(0,7),!0),nJ=[0,31,60,91,121,152,182,213,244,274,305,335,366],n0=[0,31,59,90,120,151,181,212,243,273,304,334,365],n1=function(){for(var e=[],t=0;t<55;t++)e=e.concat(tY(7));return e}(),n2=function(){function e(e){this.options=e}return e.prototype.rebuild=function(e,t){var n,r,i,a,o,s,l,u,c,d,h=this.options;if(e!==this.lastyear&&(this.yearinfo=function(e,t){var n,r,i,a,o,s=t3(e,1,1),l=t7(e)?366:365,u=t7(e+1)?366:365,c=nn(s),d=na(s),h=(0,ng.Cl)((0,ng.Cl)({yearlen:l,nextyearlen:u,yearordinal:c,yearweekday:d},(r=t7(n=e)?366:365,i=na(t3(n,1,1)),365===r?{mmask:nz,mdaymask:nW,nmdaymask:nQ,wdaymask:n1.slice(i),mrange:n0}:{mmask:nB,mdaymask:nZ,nmdaymask:nX,wdaymask:n1.slice(i),mrange:nJ})),{wnomask:null});if(t2(t.byweekno))return h;h.wnomask=tX(0,l+7);var f=a=t0(7-d+t.wkst,7);f>=4?(f=0,o=h.yearlen+t0(d-t.wkst,7)):o=l-f;for(var p=Math.floor(Math.floor(o/7)+t0(o,7)/4),m=0;m<t.byweekno.length;m++){var g=t.byweekno[m];if(g<0&&(g+=p+1),g>0&&g<=p){var v=void 0;g>1?(v=f+(g-1)*7,f!==a&&(v-=7-a)):v=f;for(var y=0;y<7&&(h.wnomask[v]=1,v++,h.wdaymask[v]!==t.wkst);y++);}}if(t4(t.byweekno,1)){var v=f+7*p;if(f!==a&&(v-=7-a),v<l)for(var m=0;m<7&&(h.wnomask[v]=1,v+=1,h.wdaymask[v]!==t.wkst);m++);}if(f){var b=void 0;if(t4(t.byweekno,-1))b=-1;else{var w=na(t3(e-1,1,1)),x=t0(7-w.valueOf()+t.wkst,7),C=t7(e-1)?366:365,E=void 0;x>=4?(x=0,E=C+t0(w-t.wkst,7)):E=l-f,b=Math.floor(52+t0(E,7)/4)}if(t4(t.byweekno,b))for(var v=0;v<f;v++)h.wnomask[v]=1}return h}(e,h)),t5(h.bynweekday)&&(t!==this.lastmonth||e!==this.lastyear)){var f=this.yearinfo,p=f.yearlen,m=f.mrange,g=f.wdaymask;this.monthinfo=function(e,t,n,r,i,a){var o={lastyear:e,lastmonth:t,nwdaymask:[]},s=[];if(a.freq===n7.YEARLY)if(t2(a.bymonth))s=[[0,n]];else for(var l=0;l<a.bymonth.length;l++)t=a.bymonth[l],s.push(r.slice(t-1,t+1));else a.freq===n7.MONTHLY&&(s=[r.slice(t-1,t+1)]);if(t2(s))return o;o.nwdaymask=tX(0,n);for(var l=0;l<s.length;l++)for(var u=s[l],c=u[0],d=u[1]-1,h=0;h<a.bynweekday.length;h++){var f=void 0,p=a.bynweekday[h],m=p[0],g=p[1];g<0?(f=d+(g+1)*7,f-=t0(i[f]-m,7)):(f=c+(g-1)*7,f+=t0(7-i[f]+m,7)),c<=f&&f<=d&&(o.nwdaymask[f]=1)}return o}(e,t,p,m,g,h)}tW(h.byeaster)&&(this.eastermask=(void 0===(n=h.byeaster)&&(n=0),r=e%19,i=Math.floor(e/100),a=e%100,o=Math.floor(i/4),s=Math.floor((i+8)/25),l=Math.floor((i-s+1)/3),u=Math.floor(19*r+i-o-l+15)%30,c=Math.floor(32+i%4*2+2*Math.floor(a/4)-u-a%4)%7,d=Math.floor((r+11*u+22*c)/451),[Math.ceil((Date.UTC(e,Math.floor((u+c-7*d+114)/31)-1,(u+c-7*d+114)%31+1+n)-Date.UTC(e,0,1))/864e5)]))},Object.defineProperty(e.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null}
21,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),e.prototype.ydayset=function(){return[tY(this.yearlen),0,this.yearlen]},e.prototype.mdayset=function(e,t){for(var n=this.mrange[t-1],r=this.mrange[t],i=tX(null,this.yearlen),a=n;a<r;a++)i[a]=a;return[i,n,r]},e.prototype.wdayset=function(e,t,n){for(var r=tX(null,this.yearlen+7),i=nn(t3(e,t,n))-this.yearordinal,a=i,o=0;o<7&&(r[i]=i,++i,this.wdaymask[i]!==this.options.wkst);o++);return[r,a,i]},e.prototype.ddayset=function(e,t,n){var r=tX(null,this.yearlen),i=nn(t3(e,t,n))-this.yearordinal;return r[i]=i,[r,i,i+1]},e.prototype.htimeset=function(e,t,n,r){var i=this,a=[];return this.options.byminute.forEach(function(t){a=a.concat(i.mtimeset(e,t,n,r))}),nc(a),a},e.prototype.mtimeset=function(e,t,n,r){var i=this.options.bysecond.map(function(n){return new nP(e,t,n,r)});return nc(i),i},e.prototype.stimeset=function(e,t,n,r){return[new nP(e,t,n,r)]},e.prototype.getdayset=function(e){switch(e){case r.YEARLY:return this.ydayset.bind(this);case r.MONTHLY:return this.mdayset.bind(this);case r.WEEKLY:return this.wdayset.bind(this);case r.DAILY:default:return this.ddayset.bind(this)}},e.prototype.gettimeset=function(e){switch(e){case r.HOURLY:return this.htimeset.bind(this);case r.MINUTELY:return this.mtimeset.bind(this);case r.SECONDLY:return this.stimeset.bind(this)}},e}();function n5(e,t){var n=t.dtstart,r=t.freq,i=t.interval,a=t.until,o=t.bysetpos,s=t.count;if(0===s||0===i)return n3(e);var l=nI.fromDate(n),u=new n2(t);u.rebuild(l.year,l.month);for(var c=function(e,t,n){var r=n.freq,i=n.byhour,a=n.byminute,o=n.bysecond;if(nA(r)){var s=n.dtstart.getTime()%1e3;if(!nA(n.freq))return[];var l=[];return n.byhour.forEach(function(e){n.byminute.forEach(function(t){n.bysecond.forEach(function(n){l.push(new nP(e,t,n,s))})})}),l}return r>=n7.HOURLY&&t5(i)&&!t4(i,t.hour)||r>=n7.MINUTELY&&t5(a)&&!t4(a,t.minute)||r>=n7.SECONDLY&&t5(o)&&!t4(o,t.second)?[]:e.gettimeset(r)(t.hour,t.minute,t.second,t.millisecond)}(u,l,t);;){var d=u.getdayset(r)(l.year,l.month,l.day),h=d[0],f=d[1],p=d[2],m=function(e,t,n,r,i){for(var a=!1,o=t;o<n;o++){var s=e[o];(a=function(e,t,n){var r=n.bymonth,i=n.byweekno,a=n.byweekday,o=n.byeaster,s=n.bymonthday,l=n.bynmonthday,u=n.byyearday;return t5(r)&&!t4(r,e.mmask[t])||t5(i)&&!e.wnomask[t]||t5(a)&&!t4(a,e.wdaymask[t])||t5(e.nwdaymask)&&!e.nwdaymask[t]||null!==o&&!t4(e.eastermask,t)||(t5(s)||t5(l))&&!t4(s,e.mdaymask[t])&&!t4(l,e.nmdaymask[t])||t5(u)&&(t<e.yearlen&&!t4(u,t+1)&&!t4(u,-e.yearlen+t)||t>=e.yearlen&&!t4(u,t+1-e.yearlen)&&!t4(u,-e.nextyearlen+t-e.yearlen))}(r,s,i))&&(e[s]=null)}return a}(h,f,p,u,t);if(t5(o))for(var g=function(e,t,n,r,i,a){for(var o=[],s=0;s<e.length;s++){var l=void 0,u=void 0,c=e[s];c<0?(l=Math.floor(c/t.length),u=t0(c,t.length)):(l=Math.floor((c-1)/t.length),u=t0(c-1,t.length));for(var d=[],h=n;h<r;h++){var f=a[h];tW(f)&&d.push(f)}var p=void 0;p=l<0?d.slice(l)[0]:d[l];var m=t[u],g=ns(nr(i.yearordinal+p),m);t4(o,g)||o.push(g)}return nc(o),o}(o,c,f,p,u,h),v=0;v<g.length;v++){var y=g[v];if(a&&y>a)return n3(e);if(y>=n){var b=n4(y,t);if(!e.accept(b)||s&&!--s)return n3(e)}}else for(var v=f;v<p;v++){var w=h[v];if(tW(w))for(var x=nr(u.yearordinal+w),C=0;C<c.length;C++){var y=ns(x,c[C]);if(a&&y>a)return n3(e);if(y>=n){var b=n4(y,t);if(!e.accept(b)||s&&!--s)return n3(e)}}}if(0===t.interval||(l.add(t,m),l.year>9999))return n3(e);nA(r)||(c=u.gettimeset(r)(l.hour,l.minute,l.second,0)),u.rebuild(l.year,l.month)}}function n4(e,t){return new n_(e,t.tzid).rezonedDate()}function n3(e){return e.getValue()}var n6={MO:new tZ(0),TU:new tZ(1),WE:new tZ(2),TH:new tZ(3),FR:new tZ(4),SA:new tZ(5),SU:new tZ(6)},n8={freq:r.YEARLY,dtstart:null,interval:1,wkst:n6.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},n9=Object.keys(n8),n7=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t=!1),this._cache=t?null:new nF,this.origOptions=nT(e);var n=function(e){var t=(0,ng.Cl)((0,ng.Cl)({},n8),nT(e));if(tW(t.byeaster)&&(t.freq=n7.YEARLY),!(tW(t.freq)&&n7.FREQUENCIES[t.freq]))throw Error("Invalid frequency: ".concat(t.freq," ").concat(e.freq));if(t.dtstart||(t.dtstart=new Date(new Date().setMilliseconds(0))),tW(t.wkst)?tG(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=n7.MO.weekday,tW(t.bysetpos)){tG(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var n=0;n<t.bysetpos.length;n++){var r=t.bysetpos[n];if(0===r||!(r>=-366&&r<=366))throw Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(t.byweekno||t5(t.byweekno)||t5(t.byyearday)||t.bymonthday||t5(t.bymonthday)||tW(t.byweekday)||tW(t.byeaster)))switch(t.freq){case n7.YEARLY:t.bymonth||(t.bymonth=t.dtstart.getUTCMonth()+1),t.bymonthday=t.dtstart.getUTCDate();break;case n7.MONTHLY:t.bymonthday=t.dtstart.getUTCDate();break;case n7.WEEKLY:t.byweekday=[na(t.dtstart)]}if(tW(t.bymonth)&&!tK(t.bymonth)&&(t.bymonth=[t.bymonth]),tW(t.byyearday)&&!tK(t.byyearday)&&tG(t.byyearday)&&(t.byyearday=[t.byyearday]),tW(t.bymonthday))if(tK(t.bymonthday)){for(var i=[],a=[],n=0;n<t.bymonthday.length;n++){var r=t.bymonthday[n];r>0?i.push(r):r<0&&a.push(r)}t.bymonthday=i,t.bynmonthday=a}else t.bymonthday<0?(t.bynmonthday=[t.bymonthday],t.bymonthday=[]):(t.bynmonthday=[],t.bymonthday=[t.bymonthday]);else t.bymonthday=[],t.bynmonthday=[];if(tW(t.byweekno)&&!tK(t.byweekno)&&(t.byweekno=[t.byweekno]),tW(t.byweekday))if(tG(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(t$(t.byweekday))t.byweekday=[tZ.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof tZ)!t.byweekday.n||t.freq>n7.MONTHLY?(t.byweekday=[t.byweekday.weekday],t.bynweekday=null):(t.bynweekday=[[t.byweekday.weekday,t.byweekday.n]],t.byweekday=null);else{for(var o=[],s=[],n=0;n<t.byweekday.length;n++){var l=t.byweekday[n];if(tG(l)){o.push(l);continue}if(t$(l)){o.push(tZ.fromStr(l).weekday);continue}!l.n||t.freq>n7.MONTHLY?o.push(l.weekday):s.push([l.weekday,l.n])}t.byweekday=t5(o)?o:null,t.bynweekday=t5(s)?s:null}else t.bynweekday=null;return tW(t.byhour)?tG(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<n7.HOURLY?[t.dtstart.getUTCHours()]:null,tW(t.byminute)?tG(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<n7.MINUTELY?[t.dtstart.getUTCMinutes()]:null,tW(t.bysecond)?tG(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<n7.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}(e).parsedOptions;this.options=n}return e.parseText=function(e,t){return nS(e,t)},e.fromText=function(e,t){var n;return void 0===(n=t)&&(n=ny),new n7(nS(e,n)||void 0)},e.fromString=function(t){return new e(e.parseString(t)||void 0)},e.prototype._iter=function(e){return n5(e,this.options)},e.prototype._cacheGet=function(e,t){return!!this._cache&&this._cache._cacheGet(e,t)},e.prototype._cacheAdd=function(e,t,n){if(this._cache)return this._cache._cacheAdd(e,t,n
21)},e.prototype.all=function(e){if(e)return this._iter(new nv("all",{},e));var t=this._cacheGet("all");return!1===t&&(t=this._iter(new nm("all",{})),this._cacheAdd("all",t)),t},e.prototype.between=function(e,t,n,r){if(void 0===n&&(n=!1),!nt(e)||!nt(t))throw Error("Invalid date passed in to RRule.between");var i={before:t,after:e,inc:n};if(r)return this._iter(new nv("between",i,r));var a=this._cacheGet("between",i);return!1===a&&(a=this._iter(new nm("between",i)),this._cacheAdd("between",a,i)),a},e.prototype.before=function(e,t){if(void 0===t&&(t=!1),!nt(e))throw Error("Invalid date passed in to RRule.before");var n={dt:e,inc:t},r=this._cacheGet("before",n);return!1===r&&(r=this._iter(new nm("before",n)),this._cacheAdd("before",r,n)),r},e.prototype.after=function(e,t){if(void 0===t&&(t=!1),!nt(e))throw Error("Invalid date passed in to RRule.after");var n={dt:e,inc:t},r=this._cacheGet("after",n);return!1===r&&(r=this._iter(new nm("after",n)),this._cacheAdd("after",r,n)),r},e.prototype.count=function(){return this.all().length},e.prototype.toString=function(){return nR(this.origOptions)},e.prototype.toText=function(e,t,n){return new nC(this,e,t,n).toString()},e.prototype.isFullyConvertibleToText=function(){return nN(this)},e.prototype.clone=function(){return new e(this.origOptions)},e.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],e.YEARLY=r.YEARLY,e.MONTHLY=r.MONTHLY,e.WEEKLY=r.WEEKLY,e.DAILY=r.DAILY,e.HOURLY=r.HOURLY,e.MINUTELY=r.MINUTELY,e.SECONDLY=r.SECONDLY,e.MO=n6.MO,e.TU=n6.TU,e.WE=n6.WE,e.TH=n6.TH,e.FR=n6.FR,e.SA=n6.SA,e.SU=n6.SU,e.parseString=nO,e.optionsToString=nR,e}(),re={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null};function rt(e,t){return void 0===t&&(t={}),function(e,t){var n,r,i,a,o,s,l,u=(n=[],r=[],i=[],a=[],s=(o=nL(e)).dtstart,l=o.tzid,(function(e,t){if(void 0===t&&(t=!1),!(e=e&&e.trim()))throw Error("Invalid empty string");if(!t)return e.split(/\s/);for(var n=e.split("\n"),r=0;r<n.length;){var i=n[r]=n[r].replace(/\s+$/g,"");i?r>0&&" "===i[0]?(n[r-1]+=i.slice(1),n.splice(r,1)):r+=1:n.splice(r,1)}return n})(e,t.unfold).forEach(function(e){if(e){var t,o=function(e){var t=function(e){if(-1===e.indexOf(":"))return{name:"RRULE",value:e};var t=tJ(e,":",1);return{name:t[0],value:t[1]}}(e),n=t.name,r=t.value,i=n.split(";");if(!i)throw Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:r}}(e),s=o.name,u=o.parms,c=o.value;switch(s.toUpperCase()){case"RRULE":if(u.length)throw Error("unsupported RRULE parm: ".concat(u.join(",")));n.push(nO(e));break;case"RDATE":var d=(null!=(t=/RDATE(?:;TZID=([^:=]+))?/i.exec(e))?t:[])[1];d&&!l&&(l=d),r=r.concat(rr(c,u));break;case"EXRULE":if(u.length)throw Error("unsupported EXRULE parm: ".concat(u.join(",")));i.push(nO(c));break;case"EXDATE":a=a.concat(rr(c,u));break;case"DTSTART":break;default:throw Error("unsupported property: "+s)}}}),{dtstart:s,tzid:l,rrulevals:n,rdatevals:r,exrulevals:i,exdatevals:a}),c=u.rrulevals,d=u.rdatevals,h=u.exrulevals,f=u.exdatevals,p=u.dtstart,m=u.tzid,g=!1===t.cache;if(t.compatible&&(t.forceset=!0,t.unfold=!0),t.forceset||c.length>1||d.length||h.length||f.length){var v=new ra(g);return v.dtstart(p),v.tzid(m||void 0),c.forEach(function(e){v.rrule(new n7(rn(e,p,m),g))}),d.forEach(function(e){v.rdate(e)}),h.forEach(function(e){v.exrule(new n7(rn(e,p,m),g))}),f.forEach(function(e){v.exdate(e)}),t.compatible&&t.dtstart&&v.rdate(p),v}var y=c[0]||{};return new n7(rn(y,y.dtstart||t.dtstart||p,y.tzid||t.tzid||m),g)}(e,function(e){var t=[],n=Object.keys(e),r=Object.keys(re);if(n.forEach(function(e){t4(r,e)||t.push(e)}),t.length)throw Error("Invalid options: "+t.join(", "));return(0,ng.Cl)((0,ng.Cl)({},re),e)}(t))}function rn(e,t,n){return(0,ng.Cl)((0,ng.Cl)({},e),{dtstart:t,tzid:n})}function rr(e,t){return t.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw Error("unsupported RDATE/EXDATE parm: "+e)}),e.split(",").map(function(e){return nh(e)})}function ri(e){var t=this;return function(n){if(void 0!==n&&(t["_".concat(e)]=n),void 0!==t["_".concat(e)])return t["_".concat(e)
21];for(var r=0;r<t._rrule.length;r++){var i=t._rrule[r].origOptions[e];if(i)return i}}}var ra=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this,{},t)||this;return n.dtstart=ri.apply(n,["dtstart"]),n.tzid=ri.apply(n,["tzid"]),n._rrule=[],n._rdate=[],n._exrule=[],n._exdate=[],n}return(0,ng.C6)(t,e),t.prototype._iter=function(e){return function(e,t,n,r,i,a){var o={},s=e.accept;function l(e,t){n.forEach(function(n){n.between(e,t,!0).forEach(function(e){o[Number(e)]=!0})})}i.forEach(function(e){o[Number(new n_(e,a).rezonedDate())]=!0}),e.accept=function(e){var t=Number(e);return isNaN(t)?s.call(this,e):!!o[t]||(l(new Date(t-1),new Date(t+1)),!!o[t])||(o[t]=!0,s.call(this,e))},"between"===e.method&&(l(e.args.after,e.args.before),e.accept=function(e){var t=Number(e);return!!o[t]||(o[t]=!0,s.call(this,e))});for(var u=0;u<r.length;u++){var c=new n_(r[u],a).rezonedDate();if(!e.accept(new Date(c.getTime())))break}t.forEach(function(t){n5(e,t.options)});var d=e._result;switch(nc(d),e.method){case"all":case"between":return d;case"before":return d.length&&d[d.length-1]||null;default:return d.length&&d[0]||null}}(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){ro(e,this._rrule)},t.prototype.exrule=function(e){ro(e,this._exrule)},t.prototype.rdate=function(e){rs(e,this._rdate)},t.prototype.exdate=function(e){rs(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return rt(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return rt(e.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(e){return new Date(e.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(e){return new Date(e.getTime())})},t.prototype.valueOf=function(){var e=[];return!this._rrule.length&&this._dtstart&&(e=e.concat(nR({dtstart:this._dtstart}))),this._rrule.forEach(function(t){e=e.concat(t.toString().split("\n"))}),this._exrule.forEach(function(t){e=e.concat(t.toString().split("\n").map(function(e){return e.replace(/^RRULE:/,"EXRULE:")}).filter(function(e){return!/^DTSTART/.test(e)}))}),this._rdate.length&&e.push(rl("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push(rl("EXDATE",this._exdate,this.tzid())),e},t.prototype.toString=function(){return this.valueOf().join("\n")},t.prototype.clone=function(){var e=new t(!!this._cache);return this._rrule.forEach(function(t){return e.rrule(t.clone())}),this._exrule.forEach(function(t){return e.exrule(t.clone())}),this._rdate.forEach(function(t){return e.rdate(new Date(t.getTime()))}),this._exdate.forEach(function(t){return e.exdate(new Date(t.getTime()))}),e},t}(n7);function ro(e,t){if(!(e instanceof n7))throw TypeError(String(e)+" is not RRule instance");t4(t.map(String),String(e))||t.push(e)}function rs(e,t){if(!(e instanceof Date))throw TypeError(String(e)+" is not Date instance");t4(t.map(Number),Number(e))||(t.push(e),nc(t))}function rl(e,t,n){var r=!n||"UTC"===n.toUpperCase(),i=r?"".concat(e,":"):"".concat(e,";TZID=").concat(n,":"),a=t.map(function(e){return nd(e.valueOf(),r)}).join(",");return"".concat(i).concat(a)}ef.z.object({freq:ef.z.string(),byhour:ef.z.number().min(0).max(23),interval:ef.z.number().min(1)}),r.WEEKLY.toString(),n7.MO,ef.z.object({name:ef.z.string().min(1,"Le nom du groupe ne peut pas \xeatre vide"),type:ef.z.enum(["visitor","exhibitor"]),visitorIds:ef.z.array(ef.z.object({id:ef.z.string()})).optional(),exhibitorIds:ef.z.array(ef.z.object({id:ef.z.string()})).optional()}).refine(e=>"visitor"===e.type?e.visitorIds&&e.visitorIds.length>1:"exhibitor"===e.type&&e.exhibitorIds&&e.exhibitorIds.length>1,e=>({message:"visitor"===e.type?"Au moins deux visiteurs doivent \xeatre s\xe9lectionn\xe9s":"Au moins deux exposants doivent \xeatre s\xe9lectionn\xe9s",path:"visitor"===e.type?["visitorIds"]:["exhibitorIds"]})),ef.z.object({name:ef.z.string().min(1,"Le nom du groupe ne peut pas \xeatre vide"),type:ef.z.enum(["visitor","exhibitor"]),visitorIds:ef.z.array(ef.z.object({id:ef.z.string()})).optional(),exhibitorIds:ef.z.array(ef.z.object({id:ef.z.string()})).optional()}).refine(e=>"visitor"===e.type?e.visitorIds&&e.visitorIds.length>1:"exhibitor"===e.type&&e.exhibitorIds&&e.exhibitorIds.length>1,e=>({message:"visitor"===e.type?"Au moins deux visiteurs doivent \xeatre s\xe9lectionn\xe9s":"Au moins deux exposants doivent \xeatre s\xe9lectionn\xe9s",path:"visitor"===e.type?["visitorIds"]:["exhibitorIds"]}));let ru=ef.z.object({firstName:ef.z.string().optional(),lastName:ef.z.string().optional(),email:ef.z.string().email().optional(),zipCode:ef.z.string().optional()});ef.z.object({name:ef.z.string().min(1,"Le nom du groupe ne peut pas \xeatre vide"),visitors:ef.z.array(ru).min(1,"Au moins un visiteur doit \xeatre ajout\xe9")});let rc=ef.z.object({id:ef.z.string().optional(),arrayId:ef.z.string(),name:ef.z.string().min(2,"Veuillez entrer un nom"),type:ef.z.enum(ed.HPB),customType:ef.z.string().optional(),surface:ef.z.coerce.number().min(1,"Veuillez entrer une surface"),capacity:ef.z.coerce.number().min(0,"Veuillez entrer une capacit\xe9")}),rd=ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(1,"Veuillez entrer un nom"),address:eP,city:ef.z.string(),zipCode:ef.z.string(),addressId:ef.z.string().optional(),country:ef.z.string().optional()});ef.z.object({id:ef.z.string().optional(),image:eI.refine(e=>{let{key:t}=e;return""!==t},{message:"Veuillez s\xe9lectionner une image"}),name:ef.z.string().min(2,"Veuillez entrer un nom"),description:ef.z.string().min(2,"Veuillez entrer une description"),structure:ef.z.enum(ed.Mg7),surface:ef.z.coerce.number().min(1,"Veuillez entrer une surface"),capacity:ef.z.coerce.number().min(1,"Veuillez entrer une capacit\xe9"),venue:ef.z.object({indoor:ef.z.boolean(),outdoor:ef.z.boolean()}).refine(e=>e.indoor||e.outdoor,{message:"Au moins un type de lieu doit \xeatre renseign\xe9"}),placeEntrances:ef.z.array(rd),areas:ef.z.array(rc)}),ef.z.object({eventId:ef.z.string(),styleId:ef.z.string().min(1,"Style is required"),addText:ef.z.boolean(),creationGuidance:ef.z.string().max(200).optional()}),ef.z.object({name:ef.z.string().min(1),exclTaxesPrice:ef.z.coerce.number().nullable(),inclTaxesPrice:ef.z.coerce.number().nullable(),VAT:ef.z.coerce.number(),data:ef.z.object({days:ef.z.coerce.number().optional()}).nullable()}).extend({data:ef.z.object({days:ef.z.coerce.number().nullable().optional().transform(e=>null===e?1:e)}).nullable()}),ef.z.object({name:ef.z.string().min(1,"Le nom du produit est requis"),images:ef.z.array(eI).min(1,"Au moins une image est requise").max(x.chK,"Maximum ".concat(x.chK," images autoris\xe9es")),description:ef.z.string().optional(),link:ef.z.string().url("URL invali
21de").optional().or(ef.z.literal(""))}),ef.z.object({name:ef.z.string().min(1)});let rh=ef.z.enum(ed.hmz);ef.z.object({statistics:ef.z.array(rh),clientExhibitor:ef.z.array(rh),clientVisitor:ef.z.array(rh),clientGroup:ef.z.array(rh),event:ef.z.array(rh),eventMain:ef.z.array(rh),eventTicketing:ef.z.array(rh),eventCashRegister:ef.z.array(rh),eventAccessControl:ef.z.array(rh),eventExhibitor:ef.z.array(rh),eventBadge:ef.z.array(rh),eventInvitation:ef.z.array(rh),eventSchedule:ef.z.array(rh),eventFunctionality:ef.z.array(rh),eventTransfer:ef.z.array(rh),eventCommunicationKit:ef.z.array(rh),conversation:ef.z.array(rh),userAccess:ef.z.array(rh)}).refine(e=>e.statistics.length>0||e.clientExhibitor.length>0||e.clientVisitor.length>0||e.clientGroup.length>0||e.event.length>0||e.eventMain.length>0||e.eventTicketing.length>0||e.eventCashRegister.length>0||e.eventAccessControl.length>0||e.eventExhibitor.length>0||e.eventBadge.length>0||e.eventInvitation.length>0||e.eventSchedule.length>0||e.eventFunctionality.length>0||e.eventTransfer.length>0||e.eventCommunicationKit.length>0||e.conversation.length>0||e.userAccess.length>0,{message:"Vous devez choisir au moins un droit"}),ef.z.object({acExpoDashboard:ef.z.array(rh),acExpoUser:ef.z.array(rh),acExpoAllEvent:ef.z.array(rh),acExpoEventBeforeOnlineControl:ef.z.array(rh),acExpoEventAfterVisitorCreationControl:ef.z.array(rh),acExpoEventReported:ef.z.array(rh),acExpoEventAfterAiCreationControl:ef.z.array(rh),acExpoAllTouristicPlace:ef.z.array(rh),acExpoTouristicPlaceBeforeOnlineControl:ef.z.array(rh),acExpoTouristicPlaceReported:ef.z.array(rh),acExpoConnectEventsData:ef.z.array(rh),acExpoAccountingTicketing:ef.z.array(rh),acExpoAccountingService:ef.z.array(rh),acExpoAccountingPurchase:ef.z.array(rh),acExpoAccountingInvoice:ef.z.array(rh),acExpoAccountingClient:ef.z.array(rh),acExpoAccountingCreditNote:ef.z.array(rh),acExpoConversation:ef.z.array(rh),acExpoUserAccess:ef.z.array(rh),acExpoNotification:ef.z.array(rh),acExpoSettingsStock:ef.z.array(rh),acExpoSettingsDiscountCode:ef.z.array(rh),acExpoSettingsFaq:ef.z.array(rh),acExpoSettingsPrestation:ef.z.array(rh),acExpoSettingsPayments:ef.z.array(rh),acExpoSettingsStats:ef.z.array(rh),acExpoRemoteControl:ef.z.array(rh),acExpoReporting:ef.z.array(rh),acExpoActionEmailNotification:ef.z.array(rh),acExpoSettingsEventFormQuestions:ef.z.array(rh),acExpoSettingsFaqChatbot:ef.z.array(rh),acExpoSettingsBusinessSector:ef.z.array(rh)}).refine(e=>e.acExpoDashboard.length>0||e.acExpoUser.length>0||e.acExpoAllEvent.length>0||e.acExpoEventBeforeOnlineControl.length>0||e.acExpoEventAfterVisitorCreationControl.length>0||e.acExpoEventReported.length>0||e.acExpoEventAfterAiCreationControl.length>0||e.acExpoAllTouristicPlace.length>0||e.acExpoTouristicPlaceBeforeOnlineControl.length>0||e.acExpoTouristicPlaceReported.length>0||e.acExpoConnectEventsData.length>0||e.acExpoAccountingTicketing.length>0||e.acExpoAccountingService.length>0||e.acExpoAccountingPurchase.length>0||e.acExpoAccountingInvoice.length>0||e.acExpoAccountingClient.length>0||e.acExpoAccountingCreditNote.length>0||e.acExpoConversation.length>0||e.acExpoUserAccess.length>0||e.acExpoNotification.length>0||e.acExpoSettingsStock.length>0||e.acExpoSettingsDiscountCode.length>0||e.acExpoSettingsFaq.length>0||e.acExpoSettingsPrestation.length>0||e.acExpoSettingsPayments.length>0||e.acExpoSettingsStats.length>0||e.acExpoRemoteControl.length>0||e.acExpoReporting.length>0||e.acExpoSettingsFaqChatbot.length>0||e.acExpoActionEmailNotification.length>0||e.acExpoSettingsEventFormQuestions.length>0||e.acExpoSettingsBusinessSector.length>0,{message:"Vous devez choisir au moins un droit"}),ef.z.object({itemId:ef.z.string().min(1,"Vous devez s\xe9lectionner un type de billet"),tickets:ef.z.array(ef.z.object({visitorId:ef.z.string().nullish(),exhibitorId:ef.z.string().nullish(),commercialId:ef.z.string().nullish(),quantity:ef.z.number()})).min(1,"Vous devez \xe9mettre au moins un billet"),quantityMax:ef.z.number()}).refine(e=>e.tickets.reduce((e,t)=>e+t.quantity,0)<=e.quantityMax,{message:"Il n'y pas assez de billets.",path:["quantityMax"]}),ef.z.object({id:ef.z.string().optional(),availabilityStartingDate:ef.z.date().refine(e=>!isNaN(e.getTime()),"Date de d\xe9but de validit\xe9 invalide").nullable(),availabilityEndingDate:ef.z.date().refine(e=>!isNaN(e.getTime()),"Date de fin de validit\xe9 invalide").nullable(),availabilityStartingTime:ef.z.instanceof(eB.gX).nullish(),availabilityEndingTime:ef.z.instanceof(eB.gX).nullish()}).refine(e=>{let{availabilityStartingDate:t,availabilityStartingTime:n}=e;return t&&n||!t&&!n},{message:"La date et l'heure doivent \xeatre renseign\xe9es ensemble",path:["availabilityStartingDate"]}).refine(e=>{let{availabilityEndingDate:t,availabilityEndingTime:n}=e;return t&&n||!t&&!n},{message:"La date et l'heure doivent \xeatre renseign\xe9es ensemble",path:["availabilityEndingDate"]}).refine(e=>{let{availabilityStartingDate:t,availabilityEndingDate:n,availabilityStartingTime:r,availabilityEndingTime:i}=e;return t&&r&&(!n||!i||(0,eV.Y)((0,x.fwl)(t,r),(0,x.fwl)(n,i)))},{message:"La date de d\xe9but doit \xeatre ant\xe9rieure \xe0 la date de fin",path:["availabilityStartingDate"]});let rf="Heure invalide",rp=ef.z.instanceof(eB.gX,{message:rf}),rm=ef.z.object({id:ef.z.string().optional(),day:ef.z.enum(ed._36),type:ef.z.enum(["open-continuously","open","close"]),openingTime:rp.nullish(),closingTime:rp.nullish(),breakStartTime:rp.nullish(),breakEndTime:rp.nullish()}).refine(e=>{let{type:t,openingTime:n}=e;return"close"===t||n},{message:rf,path:["openingTime"]}).refine(e=>{let{type:t,closingTime:n,openingTime:r,breakEndTime:i}=e;return"close"===t||!!n&&("open-continuously"===t?!r||n.compare(r)>0:!i||n.compare(i)>0)},{message:rf,path:["closingTime"]}).refine(e=>{let{type:t,breakStartTime:n,openingTime:r}=e;return"open"!==t||!!n&&(!r||n.compare(r)>0)},{message:rf,path:["breakStartTime"]}).refine(e=>{let{type:t,breakEndTime:n,breakStartTime:r}=e;return"open"!==t||!!n&&(!r||n.compare(r)>0)},{message:rf,path:["breakEndTime"]}),rg=ef.z.object({id:ef.z.string().optional(),date:ef.z.date().refine(e=>!isNaN(e.getTime()),{message:"Date invalide"}),timetable:rm}),rv=ef.z.object({id:ef.z.string().optional(),dates:ef.z.object({from:ef.z.date().refine(e=>!isNaN(e.getTime()),{message:"Date de d\xe9but invalide"}),to:ef.z.date().refine(e=>
21!isNaN(e.getTime()),{message:"Date de fin invalide"})}).nullish(),allYear:ef.z.boolean(),timetables:ef.z.array(rm).refine(e=>{let t=e.map(e=>e.day);return new Set(t).size===t.length},{message:"Tous les jours doivent \xeatre renseign\xe9s"})}).refine(e=>{let{allYear:t,dates:n}=e;return!!t||(null==n?void 0:n.from)&&n.to},{message:"Veuillez renseigner les dates d'ouverture"});ed._36.map(e=>({day:e,type:"sunday"===e?"close":"open"})),ef.z.object({id:ef.z.string().optional(),name:ef.z.string().min(2,"Veuillez entrer un nom"),description:ef.z.string().min(2,"Veuillez entrer une description"),type:ef.z.enum(ed.HLB,{message:"Veuillez s\xe9lectionner un type de lieu"}),websiteUrl:ef.z.union([ef.z.string().url(),ef.z.string().length(0)]).nullish(),entry:ef.z.enum(["free","paid"],{required_error:"Veuillez s\xe9lectionner un type d'entr\xe9e"}).default("free"),venue:ef.z.object({indoor:ef.z.boolean(),outdoor:ef.z.boolean()}).refine(e=>e.indoor||e.outdoor,{message:"Au moins un type de lieu doit \xeatre renseign\xe9"}),image:eI.refine(e=>{let{key:t}=e;return""!==t},{message:"Veuillez s\xe9lectionner une image"}).nullish(),address:eP,openings:ef.z.array(rv).superRefine((e,t)=>{if(e[0].allYear)return;let n=!1;if(e.forEach((e,r)=>{e.dates&&e.dates.from&&e.dates.to||(t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Veuillez renseigner les dates d'ouverture",path:[r,"dates"]}),n=!0)}),n)return;let r=e.map(e=>e.dates).sort((e,t)=>(0,eV.Y)(e.from,t.from)?-1:1);for(let e=1;e<r.length;e++){let n=r[e-1].to;r[e].from<=n&&t.addIssue({code:ef.z.ZodIssueCode.custom,message:"Les plages de dates ne doivent pas se chevaucher",path:[e,"dates"]})}}),exceptionalOpenings:ef.z.array(rg)});let ry={0:"sunday",1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday"},rb=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],rw=async e=>{try{return(await o.post("/events/create-event-as-visitor",e)).data}catch(e){if((0,c.F0)(e)){var t,n;e.message=null!=(n=null==(t=e.response)?void 0:t.data.message)?n:e.message}throw e}},rx=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{dates:t,websiteUrl:n,...r}=e,i=function(e){let t=new Map;return e.forEach(e=>{let n=ry[new Date(e.day).getDay()];t.set(n,{start:e.start,end:e.end})}),rb.map(e=>{let n=t.get(e);return n?{day:e,state:"opened",openingTime:n.start,closingTime:n.end}:{day:e,state:"closed"}})}(t.times);return rw({...r,...n&&{eventWebsite:n},dates:{schedules:[{fromDate:(0,x.UwG)(t.from),toDate:(0,x.UwG)(t.to),timetables:i}],exceptionalClosingDates:[],isContinuous:!1}})},onSuccess:()=>{e.invalidateQueries({queryKey:I.all})}})},rC=async(e,t)=>{let{data:n}=await o.post("/events/reported/new/".concat(e),t);return n},rE=e=>{let t=(0,F.jE)();return(0,u.n)({mutationFn:t=>rC(e,t),onSuccess:e=>{let{eventId:n}=e;t.invalidateQueries({queryKey:I.get(n)})}})},rS=async(e,t)=>{let{data:n}=await o.post("events/pending/".concat(e),{isAccepted:t});return n},rA=e=>(0,u.n)({mutationFn:t=>rS(e,t)}),rk=e=>eh(()=>a.post("/events/public/".concat(e,"/details-view"))),rN=async(e,t)=>{let{data:n}=await a.post("/events/public/".concat(e,"/verify-password"),{password:t});return n},rP=()=>(0,u.n)({mutationFn:e=>{let{eventId:t,password:n}=e;return rN(t,n)}});async function rI(e,t){try{let{data:n}=await o.post("/events/like",{eventId:e,like:t});return n}catch(e){if((0,c.F0)(e)){var n;throw Error((null==(n=e.response)?void 0:n.data.message)||e.message)}throw e}}function rT(){let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{eventId:t,like:n}=e;return rI(t,n)},onSuccess:(t,n)=>{let{eventId:r,like:i}=n;e.invalidateQueries({queryKey:T.likes})}})}let rO={all:["faq"]};async function rL(e){try{let{data:t}=await o.post("/structures/request",{eventId:e});return t}catch(e){var t,n,r;throw(0,c.F0)(e)&&(e.message=null!=(r=null==(n=e.response)||null==(t=n.data)?void 0:t.message)?r:e.message),e}}let rM=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{eventId:t}=e;return rL(t)},onSuccess:(t,n)=>{let{eventId:r}=n;e.invalidateQueries({queryKey:M.all}),e.invalidateQueries({queryKey:I.get(r)}),e.invalidateQueries({queryKey:P.list(r)})}})};async function rD(e,t){try{await o.post("/structures/like",{structureId:e,like:t})}catch(e){if((0,c.F0)(e)){var n;throw Error((null==(n=e.response)?void 0:n.data.message)||e.message)}throw e}}function rj(){let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{structureId:t,like:n}=e;return rD(t,n)},onSuccess:(t,n)=>{let{structureId:r,like:i}=n;e.setQueryData(L.get(r),e=>({...e,isLiked:i})),e.setQueryData(L.getAsOrganiser(r),e=>({...e,isLiked:i})),e.setQueriesData({queryKey:M.exponentView(r)},e=>({...e,isLiked:i}))}})}async function r_(e){try{let{data:t}=await o.post("/ticketing",e);return t}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}}function rR(){return(0,u.n)({mutationFn:r_})}async function rF(e){try{let t=await o.post("/transactions",e);return console.log("res.data",JSON.stringify(t.data)),t.data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}}function rz(){return(0,u.n)({mutationFn:rF})}
21async function rB(e){try{let t=e.startsWith("?")?"":"?",{data:n}=await o.get("/transactions/validate".concat(t).concat(e));return console.log("data in validateTransaction",JSON.stringify(n)),n}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}}let rV=async e=>{try{return(await o.patch("/users/me",e)).data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}},rU=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:rV,onSuccess:()=>{e.invalidateQueries({queryKey:R.me()})}})},rq=async e=>(await o.post("/users/modify-password",e)).data,rH=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:rq,onSuccess:()=>{e.invalidateQueries({queryKey:R.me()})}})},rZ=async e=>(await o.patch("/users/preferences/me",e)).data,rW=()=>(0,u.n)({mutationFn:rZ}),rG=async e=>{try{let{data:t}=await o.delete("/users/me",{params:e});return t}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}},r$=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:rG,onSuccess:()=>{e.invalidateQueries({queryKey:R.me()})}})},rK=async(e,t)=>{try{let{data:n}=await o.delete("/auth",{params:{withData:t},data:e});return n}catch(e){if((0,c.F0)(e)){var n;e.message=null==(n=e.response)?void 0:n.data.message}throw e}},rY=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{data:t,withData:n}=e;return rK(t,n)},onSuccess:()=>{e.invalidateQueries({queryKey:R.me()})}})},rX=async e=>{try{return(await o.patch("/users/complete-profile",e)).data}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},rQ=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:rX,onSuccess:()=>{e.invalidateQueries({queryKey:R.me()})}})},rJ=async e=>{try{return(await a.post("/visitor/update-invitation-status",{invitationId:e})).data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}},r0=()=>(0,u.n)({mutationFn:rJ}),r1=async e=>{try{return(await a.post("/visitor/refuse-participation",{invitationId:e})).data}catch(e){if((0,c.F0)(e)){var t;throw{...e,message:null==(t=e.response)?void 0:t.data.message}}throw e}},r2=()=>(0,u.n)({mutationFn:r1}),r5={all:["guest-checkout"],action:e=>[...r5.all,"action",e],status:e=>[...r5.all,"status",e]},r4=async e=>{try{let{data:t}=await a.post("/guest-checkout/auth",e,{withCredentials:!0});return t}catch(e){if((0,c.F0)(e)){var t;e.message=null==(t=e.response)?void 0:t.data.message}throw e}},r3=()=>(0,u.n)({mutationFn:r4}),r6=async(e,t)=>{try{let{data:n}=await o.post("/guest-checkout/orders/".concat(e,"/choice"),t);return n}catch(e){if((0,c.F0)(e)){var n;e.message=null==(n=e.response)?void 0:n.data.message}throw e}},r8=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>{let{orderId:t,choice:n}=e;return r6(t,{choice:n})},onSuccess:(t,n)=>{let{orderId:r}=n;e.invalidateQueries({queryKey:r5.status(r)})}})};var r9=n(19848),r7=n(95913),ie=n(67305),it=n(24090),ir=n(47504),ii=n(4308),ia=n(3789),io=class extends it.Q{constructor(e,t){super(),this.options=t,this.#a=e,this.#C=null,this.#E=(0,ir.T)(),this.bindMethods(),this.setOptions(t)}#a;#S=void 0;#A=void 0;#c=void 0;#k;#N;#E;#C;#P;#I;#T;#O;#L;#M;#D=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#S.addObserver(this),is(this.#S,this.options)?this.#j():this.updateResult(),this.#_())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return il(this.#S,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return il(this.#S,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#F(),this.#S.removeObserver(this)}setOptions(e){let t=this.options,n=this.#S;if(this.options=this.#a.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,ii.Eh)(this.options.enabled,this.#S))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#z(),this.#S.setOptions(this.options),t._defaulted&&!(0,ii.f8)(this.options,t)&&this.#a.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#S,observer:this});let r=this.hasListeners();r&&iu(this.#S,n,this.options,t)&&this.#j(),this.updateResult(),r&&(this.#S!==n||(0,ii.Eh)(this.options.enabled,this.#S)!==(0,ii.Eh)(t.enabled,this.#S)||(0,ii.d2)(this.options.staleTime,this.#S)!==(0,ii.d2)(t.staleTime,this.#S))&&this.#B();let i=this.#V();r&&(this.#S!==n||(0,ii.Eh)(this.options.enabled,this.#S)!==(0,ii.Eh)(t.enabled,this.#S)||i!==this.#M)&&this.#U(i)}getOptimisticResult(e){var t,n;let r=this.#a.getQueryCache().build(this.#a,e),i=this.createResult(r,e);return t=this,n=i,(0,ii.f8)(t.getCurrentResult(),n)||(this.#c=i,this.#N=this.options,this.#k=this.#S.state),i}getCurrentResult(){return this.#c}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"!==n||this.options.experimental_prefetchInRender||"pending"!==this.#E.status||this.#E.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,n))})}trackProp(e){this.#D.add(e)}getCurrentQuery(){return this.#S}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#a.defaultQueryOptions(e),n=this.#a.getQueryCache().build(this.#a,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#j({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#c))}#j(e){this.#z();let t=this.#S.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ii.lQ)),t}#B(){this.#R();let e=(0,ii.d2)(this.options.staleTime,this.#S);if(ii.S$||this.#c.isStale||!(0,ii.gn)(e))return;let t=(0,ii.j3)(this.#c.dataUpdatedAt,e);this.#O=ia.zs.setTimeout(()=>{this.#c.isStale||this.updateResult()},t+1)}#V(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#S):this.options.refetchInterval)??!1}#U(e){this.#F(),this.#M=e,!ii.S$&&!1!==(0,ii.Eh)(this.options.enabled,this.#S)&&(0,ii.gn)(this.#M)&&0!==this.#M&&(this.#L=ia.zs.setInterval(()=>
21{(this.options.refetchIntervalInBackground||r9.m.isFocused())&&this.#j()},this.#M))}#_(){this.#B(),this.#U(this.#V())}#R(){this.#O&&(ia.zs.clearTimeout(this.#O),this.#O=void 0)}#F(){this.#L&&(ia.zs.clearInterval(this.#L),this.#L=void 0)}createResult(e,t){let n,r=this.#S,i=this.options,a=this.#c,o=this.#k,s=this.#N,l=e!==r?e.state:this.#A,{state:u}=e,c={...u},d=!1;if(t._optimisticResults){let n=this.hasListeners(),a=!n&&is(e,t),o=n&&iu(e,r,t,i);(a||o)&&(c={...c,...(0,ie.k)(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:h,errorUpdatedAt:f,status:p}=c;n=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===p){let e;a?.isPlaceholderData&&t.placeholderData===s?.placeholderData?(e=a.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#T?.state.data,this.#T):t.placeholderData,void 0!==e&&(p="success",n=(0,ii.pl)(a?.data,e,t),d=!0)}if(t.select&&void 0!==n&&!m)if(a&&n===o?.data&&t.select===this.#P)n=this.#I;else try{this.#P=t.select,n=t.select(n),n=(0,ii.pl)(a?.data,n,t),this.#I=n,this.#C=null}catch(e){this.#C=e}this.#C&&(h=this.#C,n=this.#I,f=Date.now(),p="error");let g="fetching"===c.fetchStatus,v="pending"===p,y="error"===p,b=v&&g,w=void 0!==n,x={status:p,fetchStatus:c.fetchStatus,isPending:v,isSuccess:"success"===p,isError:y,isInitialLoading:b,isLoading:b,data:n,dataUpdatedAt:c.dataUpdatedAt,error:h,errorUpdatedAt:f,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:y&&!w,isPaused:"paused"===c.fetchStatus,isPlaceholderData:d,isRefetchError:y&&w,isStale:ic(e,t),refetch:this.refetch,promise:this.#E,isEnabled:!1!==(0,ii.Eh)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},n=()=>{t(this.#E=x.promise=(0,ir.T)())},i=this.#E;switch(i.status){case"pending":e.queryHash===r.queryHash&&t(i);break;case"fulfilled":("error"===x.status||x.data!==i.value)&&n();break;case"rejected":("error"!==x.status||x.error!==i.reason)&&n()}}return x}updateResult(){let e=this.#c,t=this.createResult(this.#S,this.options);if(this.#k=this.#S.state,this.#N=this.options,void 0!==this.#k.data&&(this.#T=this.#S),(0,ii.f8)(t,e))return;this.#c=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#D.size)return!0;let r=new Set(n??this.#D);return this.options.throwOnError&&r.add("error"),Object.keys(this.#c).some(t=>this.#c[t]!==e[t]&&r.has(t))};this.#p({listeners:n()})}#z(){let e=this.#a.getQueryCache().build(this.#a,this.options);if(e===this.#S)return;let t=this.#S;this.#S=e,this.#A=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#_()}#p(e){r7.jG.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#c)}),this.#a.getQueryCache().notify({query:this.#S,type:"observerResultsUpdated"})})}};function is(e,t){return!1!==(0,ii.Eh)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&il(e,t,t.refetchOnMount)}function il(e,t,n){if(!1!==(0,ii.Eh)(t.enabled,e)&&"static"!==(0,ii.d2)(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&ic(e,t)}return!1}function iu(e,t,n,r){return(e!==t||!1===(0,ii.Eh)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&ic(e,n)}function ic(e,t){return!1!==(0,ii.Eh)(t.enabled,e)&&e.isStaleByTime((0,ii.d2)(t.staleTime,e))}var id=n(55729);n(6029);var ih=id.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),ip=id.createContext(!1);ip.Provider;var im=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function ig(e,t,n){let r=id.useContext(ip),i=id.useContext(ih),a=(0,F.jE)(n),o=a.defaultQueryOptions(e);if(a.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=r?"isRestoring":"optimistic",o.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=o.staleTime;o.staleTime="function"==typeof t?(...n)=>e(t(...n)):e(t),"number"==typeof o.gcTime&&(o.gcTime=Math.max(o.gcTime,1e3))}(o.suspense||o.throwOnError||o.experimental_prefetchInRender)&&!i.isReset()&&(o.retryOnMount=!1),id.useEffect(()=>{i.clearReset()},[i]);let s=!a.getQueryCache().get(o.queryHash),[l]=id.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),c=!r&&!1!==e.subscribed;if(id.useSyncExternalStore(id.useCallback(e=>{let t=c?l.subscribe(r7.jG.batchCalls(e)):ii.lQ;return l.updateResult(),t},[l,c]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),id.useEffect(()=>{l.setOptions(o)},[o,l]),o?.suspense&&u.isPending)throw im(o,l,i);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&void 0===e.data||(0,ii.GU)(n,[e.error,r])))({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:a.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw u.error;if(a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!ii.S$&&u.isLoading&&u.isFetching&&!r){let e=s?im(o,l,i):a.getQueryCache().get(o.queryHash)?.promise;e?.catch(ii.lQ).finally(()=>{l.updateResult()})}return o.notifyOnChangeProps?u:l.trackResult(u)}function iv(e,t){return ig(e,io,t)}let iy=async e=>{let{data:t}=await a.get("/auth/reset-password/".concat(e));return t},ib=e=>iv({queryKey:C.checkIfResetPasswordTokenIsValid(e),queryFn:()=>iy(e),enabled:!!e}),iw=async(e,t)=>{let{data:n}=await a.post("/auth/verify-email/".concat(e),{email:t});return n},ix=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return iv({queryKey:C.checkIfVerifyTokenIsValid(t,e),queryFn:()=>iw(t,e),enabled:!!t})},iC=async()=>{let{data:e}=await o.get("/auth/ws-token");return e},iE=async()=>(await o.get("/users/badges")).data,iS=e=>iv({queryKey:[],queryFn:()=>iE(),...e}),iA=async()=>{let{data:e}=await o.get("/users/me");return e},ik=e=>iv({queryKey:R.me(),queryFn:iA,...e});async function iN(e){let{data:t}=await o.get("/basket",{params:{type:e}});return t}function iP(e){let{data:t}=ik();return iv({queryKey:E.get(e),queryFn:()=>iN(e),enabled:(null==t?void 0:t.id)!==void 0})}async function iI(){let{data:e}=await o.get("/basket/activity-warning");return e}function iT(){return iv({queryKey:E.activityWarning(),queryFn:()=>iI(),staleTime:0,refetchOnWindowFocus:!0,refetchOnReconnect:!0})}var iO=n(43379),iL=class extends io{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,iO.PL)()})}getOptimisticResult(e){return e.behavior=(0,iO.PL)(),super.getOptimisticResult(e)}
21fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:a,isError:o,isRefetchError:s}=r,l=n.fetchMeta?.fetchMore?.direction,u=o&&"forward"===l,c=i&&"forward"===l,d=o&&"backward"===l,h=i&&"backward"===l;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,iO.rB)(t,n.data),hasPreviousPage:(0,iO.RQ)(t,n.data),isFetchNextPageError:u,isFetchingNextPage:c,isFetchPreviousPageError:d,isFetchingPreviousPage:h,isRefetchError:s&&!u&&!d,isRefetching:a&&!c&&!h}}};let iM=async e=>(await o.get("/business-sector/paginated",{params:e})).data,iD=(e,t)=>ig({queryKey:G.infiniteList(e),queryFn:t=>{let{pageParam:n}=t;return iM({...e,pagination:n})},getNextPageParam:e=>{if(!((0,x.uyv)(e.pageIndex)||(0,x.uyv)(e.pageSize))&&!(e.count<=(e.pageIndex+1)*e.pageSize))return{pageIndex:e.pageIndex+1,pageSize:e.pageSize}},initialPageParam:{pageIndex:0,pageSize:10},...t},iL,void 0),ij=async(e,t)=>{let{data:n}=await o.get("/consents/profesionnals",{params:{organiserIds:e,structureIds:t}});return n},i_=(e,t)=>iv({queryKey:S.getConsentWithMultipleProfesionnals(e,t),queryFn:()=>ij(e,t)}),iR=async()=>{let{data:e}=await o.get("/consents/mine");return e},iF=()=>iv({queryKey:S.mine(),queryFn:iR}),iz=async e=>(await o.get("/conversation/list",{params:e})).data,iB=e=>iv({queryKey:A.list(e),queryFn:()=>iz(e)}),iV=async e=>(await o.get("/conversation/".concat(e))).data,iU=e=>iv({queryKey:A.detail(e),queryFn:()=>iV(e),enabled:!!e,placeholderData:e=>e});async function iq(e){try{let{data:t}=await o.get("/event-form-questions/".concat(e,"/questions"));return t}catch(e){if((0,c.F0)(e)){var t;throw{message:null==(t=e.response)?void 0:t.data.message}}throw e}}let iH=e=>iv({queryKey:ec.onEvent(e),queryFn:()=>iq(e),enabled:!!e});async function iZ(e){try{let{data:t}=await o.post("/event-form-questions/batch-questions",{eventIds:e});return t}catch(e){if((0,c.F0)(e)){var t;throw{message:null==(t=e.response)?void 0:t.data.message}}throw e}}let iW=e=>iv({queryKey:ec.batchOnEvents(e),queryFn:()=>iZ(e),enabled:e.length>0}),iG=async e=>(await o.get("/events/public/v2",{params:e})).data,i$=(e,t)=>iv({queryKey:I.list(e),queryFn:()=>iG(e),...t}),iK=async e=>(await o.get("/events/public/map",{params:e})).data,iY=(e,t)=>iv({queryKey:I.map(e),queryFn:()=>iK(e),...t}),iX=()=>{let e=(0,F.jE)();return(0,id.useCallback)(t=>{let n={...t,bounds:void 0,zoomLevel:void 0};e.removeQueries({queryKey:[...I.map(n),"accumulative"]})},[e])},iQ=async e=>(await o.get("/events/public/".concat(e))).data,iJ=(e,t)=>iv({queryKey:I.get(e),queryFn:()=>iQ(e),...t}),i0=async e=>(await o.get("/events/public/slug/".concat(e))).data,i1=(e,t)=>iv({queryKey:I.getBySlug(e),queryFn:()=>i0(e),...t}),i2=async()=>(await o.get("/events/like/summaries/card")).data,i5=e=>iv({queryKey:T.summariesCard(),queryFn:()=>i2(),...e}),i4=async()=>(await o.get("/events/visited/summaries/card")).data,i3=e=>iv({queryKey:O.summariesCard(),queryFn:()=>i4(),...e}),i6=async()=>(await o.get("/events/like")).data,i8=()=>iv({queryKey:T.ids(),queryFn:()=>i6()});async function i9(){let{data:e}=await o.get("/faq-questions");return e}let i7=()=>iv({queryKey:rO.all,queryFn:i9}),ae=async e=>{let{data:t}=await o({url:"/file/upload-signed-url",method:"get",params:{fileType:e}});return t},at=async(e,t)=>{let{signedUrl:n,key:r}=await ae(t);return await i.A.put(n,e,{headers:{"Content-Type":e.type}}),{key:r,fileName:e.name,fileType:t}},an=()=>(0,u.n)({mutationFn:e=>{let{file:t,fileType:n}=e;return at(t,n)}}),ar=async e=>{let{data:t}=await a.get("/guest-checkout/actions/".concat(e));return t},ai=e=>iv({queryKey:r5.action(e),queryFn:()=>ar(e),enabled:!!e}),aa=async e=>{let{data:t}=await o.get("/notifications",{params:e});return t},ao=()=>ig({queryKey:["notifications"],queryFn:e=>{let{pageParam:t}=e;return aa(t)},initialPageParam:{pageIndex:0,pageSize:20},getNextPageParam:e=>{if(e.pageSize&&(e.pageIndex||0===e.pageIndex)&&!(e.count<(e.pageIndex+1)*e.pageSize))return{pageIndex:e.pageIndex+1,pageSize:e.pageSize}}},iL,void 0),as=async e=>{let{data:t}=await o.post("notifications/".concat(e,"/read"));return t},al=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>as(e),onSuccess:()=>
21{e.invalidateQueries({queryKey:["notifications"]})}})},au=async e=>{let{data:t}=await o.post("notifications/read",{notificationIds:e});return t},ac=()=>{let e=(0,F.jE)();return(0,u.n)({mutationFn:e=>au(e),onSuccess:()=>{e.invalidateQueries({queryKey:["notifications"]})}})},ad=async()=>(await o.get("/structures/mine")).data,ah=()=>iv({queryKey:M.structure(),queryFn:ad}),af=async e=>{let{data:t}=await o.get("/structures/".concat(e));return t},ap=(e,t)=>iv({queryKey:L.get(e),queryFn:()=>af(e),enabled:!!e,...t}),am=async(e,t)=>{let{data:n}=await o.get("/structures/".concat(e,"/exponent-view"),{params:t?{eventId:t}:{}});return n},ag=(e,t,n)=>iv({queryKey:M.exponentView(e,null!=t?t:void 0),queryFn:()=>am(e,null!=t?t:void 0),enabled:!!e,...n}),av=async(e,t)=>{let{data:n}=await a.get("/events/".concat(e,"/exhibitors/").concat(t,"/pack"));return n},ay=(e,t)=>iv({queryKey:["exhibitor-pack",e,t],queryFn:()=>av(e,t),enabled:!!e&&!!t});async function ab(e){try{let{data:t}=await o.get("/structures/request-participations/".concat(e));return t}catch(e){if((0,c.F0)(e)){var t,n,r;if((null==(t=e.response)?void 0:t.status)===404)return null;e.message=null!=(r=null==(n=e.response)?void 0:n.data.message)?r:e.message}throw e}}function aw(e,t){return iv({queryKey:M.request(e),queryFn:()=>ab(e),enabled:null==t||t})}let ax=async e=>{try{return(await o.get("/structures",{params:e})).data}catch(e){if((0,c.F0)(e)){var t,n;e.message=null!=(n=null==(t=e.response)?void 0:t.data.message)?n:e.message}throw e}},aC=e=>iv({queryKey:M.list(e),queryFn:()=>ax(e)}),aE=async e=>{let{data:t}=await o.get("/structures/".concat(e,"/events"));return t},aS=(e,t)=>iv({queryFn:()=>aE(e),queryKey:M.getEvents(e),enabled:!!e,...t}),aA=async()=>{let{data:e}=await o.get("/structures/clients");return e},ak=e=>iv({queryKey:[],queryFn:()=>aA(),...e}),aN=async e=>{let{data:t}=await o.get("/structures/by-slug/".concat(e));return t},aP=(e,t)=>iv({queryKey:[...L.get(e),"slug"],queryFn:()=>aN(e),enabled:!!e,...t}),aI=async()=>(await o.get("/users/tickets/all")).data,aT=()=>iv({queryKey:D.lists(),queryFn:()=>aI()}),aO=async e=>(await o.get("/touristic-places/public?".concat(e))).data,aL=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new URLSearchParams(Object.fromEntries(Object.entries({sortBy:e.sortBy,...e.dates&&{dates:e.dates},..."custom"===e.dates&&e.customDates&&{startDate:e.customDates[0],endDate:e.customDates[1]},places:e.places,eventTypes:e.eventTypes,placeTypes:e.placeTypes,entryFree:e.entryFree,entryPaid:e.entryPaid,venueIndoor:e.venueIndoor,venueOutdoor:e.venueOutdoor,...e.searchText&&{searchText:e.searchText}}).filter(e=>{let[t,n]=e;return void 0!==n}))).toString();return iv({queryKey:_.list(n),queryFn:()=>aO(n),enabled:t})},aM=async e=>(await o.get("/touristic-places/public/".concat(e))).data,aD=e=>iv({queryKey:_.detail(e),queryFn:()=>aM(e)}),aj=(e,t)=>({name:e,data:t}),a_=async(e,t,n,r)=>{o.get("/events/".concat(e,"/tickets/download-tickets/").concat(t),{responseType:"blob"}).then(e=>{r(new File([e.data],"Billets - ".concat(n,".pdf"),{type:"application/pdf"}))})},aR=async(e,t,n,r)=>{o.get("/events/".concat(e,"/badges/download-badges/").concat(t),{responseType:"blob"}).then(e=>{r(new File([e.data],"Badges - ".concat(n,".pdf"),{type:"application/pdf"}))})}},73696:(e,t,n)=>{e=n.nmd(e);var r=n(97397),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},73848:(e,t,n)=>{"use strict";n.d(t,{CG:()=>u,Fm:()=>m,XW:()=>g,cj:()=>l,h:()=>p,kN:()=>c,qp:()=>v});var r=n(6029),i=n(55729),a=n(27780),o=n(72262),s=n(39794);let l=a.bL,u=a.l9,c=a.bm,d=a.ZL,h=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(a.hJ,{className:(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",n),...i,ref:t})});h.displayName=a.hJ.displayName;let f=(0,o.F)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 gap-4 p-6 shadow-lg !transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 border-t",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-lg",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-lg"}},defaultVariants:{side:"right"}}),p=i.forwardRef((e,t)=>
21{let{side:n="right",className:i,children:o,...l}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(h,{}),(0,r.jsxs)(a.UC,{ref:t,className:(0,s.cn)(f({side:n}),i),...l,children:[o,(0,r.jsx)(a.bm,{className:"data-[state=open]:bg-secondary ring-offset-background focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:(0,r.jsx)("span",{className:"sr-only",children:"Close"})})]})]})});p.displayName=a.UC.displayName;let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,s.cn)("flex items-center justify-between border-b p-4",t),...n})};m.displayName="SheetHeader";let g=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,s.cn)("mt-auto border-t p-4",t),...n})};g.displayName="SheetFooter";let v=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(a.hE,{ref:t,className:(0,s.cn)("text-foreground text-lg font-semibold",n),...i})});v.displayName=a.hE.displayName,i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(a.VY,{ref:t,className:(0,s.cn)("text-muted-foreground text-sm",n),...i})}).displayName=a.VY.displayName},73936:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(70979),i=n(99034),a=n(70238),o=n(48592);function s(e,t,n){let[s,l]=(0,i.x)(null==n?void 0:n.in,e,t),u=(0,o.o)(s),c=(0,o.o)(l);return Math.round((u-(0,r.G)(u)-(c-(0,r.G)(c)))/a.w4)}},74059:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},74249:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>a});var r=n(55729),i=0;function a(){r.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},74312:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",a="month",o="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},f="en",p={};p[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof w||!(!e||!e[m])},v=function e(t,n,r){var i;if(!t)return f;if("string"==typeof t){var a=t.toLowerCase();p[a]&&(i=a),n&&(p[a]=n,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;p[s]=t,i=s}return!r&&i&&(f=i),i||!r&&f},y=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},b={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),o=n-i<0,s=t.clone().add(r+(o?-1:1),a);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:a,y:s,w:i,d:"day",D:l,h:r,m:n,s:t,ms:e,Q:o})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=v,b.i=g,b.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function h(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return b},f.isValid=function(){return this.$d.toString()!==u},f.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return y(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<y(e)},f.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,o){var u=this,c=!!b.u(o)||o,d=b.p(e),h=function(e,t){var n=b.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},f=function(e,t){return b.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,m=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case s:return c?h(1,0):h(31,11);case a:return c?h(1,m):h(0,m+1);
21case i:var y=this.$locale().weekStart||0,w=(p<y?p+7:p)-y;return h(c?g-w:g+(6-w),m);case"day":case l:return f(v+"Hours",0);case r:return f(v+"Minutes",1);case n:return f(v+"Seconds",2);case t:return f(v+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,o){var u,c=b.p(i),d="set"+(this.$u?"UTC":""),h=((u={}).day=d+"Date",u[l]=d+"Date",u[a]=d+"Month",u[s]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],f="day"===c?this.$D+(o-this.$W):o;if(c===a||c===s){var p=this.clone().set(l,1);p.$d[h](f),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[b.p(e)]()},f.add=function(e,o){var l,u=this;e=Number(e);var c=b.p(o),d=function(t){var n=y(u);return b.w(n.date(n.date()+Math.round(t*e)),u)};if(c===a)return this.set(a,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var h=((l={})[n]=6e4,l[r]=36e5,l[t]=1e3,l)[c]||1,f=this.$d.getTime()+e*h;return b.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),a=this.$H,o=this.$m,s=this.$M,l=n.weekdays,c=n.months,h=n.meridiem,f=function(e,n,i,a){return e&&(e[
21n]||e(t,r))||i[n].slice(0,a)},p=function(e){return b.s(a%12||12,e,"0")},m=h||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return s+1;case"MM":return b.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,c,3);case"MMMM":return f(c,s);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,l,2);case"ddd":return f(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return b.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(a,o,!0);case"A":return m(a,o,!1);case"m":return String(o);case"mm":return b.s(o,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,u){var c,d=this,h=b.p(l),f=y(e),p=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,g=function(){return b.m(d,f)};switch(h){case s:c=g()/12;break;case a:c=g();break;case o:c=g()/3;break;case i:c=(m-p)/6048e5;break;case"day":c=(m-p)/864e5;break;case r:c=m/36e5;break;case n:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:b.a(c)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return p[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return b.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),x=w.prototype;return y.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",a],["$y",s],["$D",l]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,w,y),e.$i=!0),y},y.locale=v,y.isDayjs=g,y.unix=function(e){return y(1e3*e)},y.en=p[f],y.Ls=p,y.p={},y}()},74407:(e,t,n)=>{"use strict";n.d(t,{Cc:()=>l,wR:()=>h});var r=n(55729);let i={prefix:String(Math.round(1e10*Math.random())),current:0},a=r.createContext(i),o=r.createContext(!1);"undefined"!=typeof window&&window.document&&window.document.createElement;let s=new WeakMap,l="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(h()),a=n?"react-aria":`react-aria${i.prefix}`;return e||`${a}-${t}`}:function(e){let t=(0,r.useContext)(a),n=function(e=!1){let t=(0,r.useContext)(a),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,o;let e=null==(o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||null==(i=o.ReactCurrentOwner)?void 0:i.current;if(e){let n=s.get(e);null==n?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,s.delete(e))}n.current=++t.current}return n.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`};function u(){return!1}function c(){return!0}function d(e){return()=>{}}function h(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(d,u,c):(0,r.useContext)(o)}},74495:(e,t)=>{"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},74906:(e,t,n)=>{"use strict";function r(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(i.length)}}}n.d(t,{K:()=>r})},74951:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(88846),i=n(65436);function a(e,t){let n,a=null==t?void 0:t.in;
21return e.forEach(e=>{a||"object"!=typeof e||(a=r.w.bind(null,e));let t=(0,i.a)(e,a);(!n||n>t||isNaN(+t))&&(n=t)}),(0,r.w)(a,n||NaN)}},75119:(e,t,n)=>{"use strict";n.d(t,{A:()=>ti});var r,i,a={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(a),n.d(a,{hasBrowserEnv:()=>ed,hasStandardBrowserEnv:()=>ef,hasStandardBrowserWebWorkerEnv:()=>ep,navigator:()=>eh,origin:()=>em});var s=n(29143);let{toString:l}=Object.prototype,{getPrototypeOf:u}=Object,{iterator:c,toStringTag:d}=Symbol,h=(e=>t=>{let n=l.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),f=e=>(e=e.toLowerCase(),t=>h(t)===e),p=e=>t=>typeof t===e,{isArray:m}=Array,g=p("undefined");function v(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let y=f("ArrayBuffer"),b=p("string"),w=p("function"),x=p("number"),C=e=>null!==e&&"object"==typeof e,E=e=>{if("object"!==h(e))return!1;let t=u(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(d in e)&&!(c in e)},S=f("Date"),A=f("File"),k=f("Blob"),N=f("FileList"),P=f("URLSearchParams"),[I,T,O,L]=["ReadableStream","Request","Response","Headers"].map(f);function M(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e)if("object"!=typeof e&&(e=[e]),m(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;if(v(e))return;let a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function D(e,t){let n;if(v(e))return null;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,_=e=>!g(e)&&e!==j,R=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&u(Uint8Array)),F=f("HTMLFormElement"),z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),B=f("RegExp"),V=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};M(n,(n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)}),Object.defineProperties(e,r)},U=f("AsyncFunction"),q=(r="function"==typeof setImmediate,i=w(j.postMessage),r?setImmediate:i?((e,t)=>(j.addEventListener("message",({source:n,data:r})=>{n===j&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),j.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),H="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):void 0!==s&&s.nextTick||q,Z={isArray:m,isArrayBuffer:y,isBuffer:v,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||w(e.append)&&("formdata"===(t=h(e))||"object"===t&&w(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&y(e.buffer)},isString:b,isNumber:x,isBoolean:e=>!0===e||!1===e,isObject:C,isPlainObject:E,isEmptyObject:e=>{if(!C(e)||v(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:I,isRequest:T,isResponse:O,isHeaders:L,isUndefined:g,isDate:S,isFile:A,isBlob:k,isRegExp:B,isFunction:w,isStream:e=>C(e)&&w(e.pipe),isURLSearchParams:P,isTypedArray:R,isFileList:N,forEach:M,merge:function e(){let{caseless:t,skipUndefined:n}=_(this)&&this||{},r={},i=(i,a)=>{let o=t&&D(r,a)||a;E(r[o])&&E(i)?r[o]=e(r[o],i):E(i)?r[o]=e({},i):m(i)?r[o]=i.slice():n&&g(i)||(r[o]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],i);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(M(t,(t,r)=>{n&&w(t)?e[r]=o(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o,s={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=!1!==n&&u(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:h,kindOfTest:f,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!x(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n}
21,forEachEntry:(e,t)=>{let n,r=(e&&e[c]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n,r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:F,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:V,freezeMethods:e=>{V(e,(t,n)=>{if(w(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(w(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(m(e)?e:String(e).split(t)).forEach(e=>{n[e]=!0}),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:D,global:j,isContextDefined:_,isSpecCompliantForm:function(e){return!!(e&&w(e.append)&&"FormData"===e[d]&&e[c])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(C(e)){if(t.indexOf(e)>=0)return;if(v(e))return e;if(!("toJSON"in e)){t[r]=e;let i=m(e)?[]:{};return M(e,(e,t)=>{let a=n(e,r+1);g(a)||(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:U,isThenable:e=>e&&(C(e)||w(e))&&w(e.then)&&w(e.catch),setImmediate:q,asap:H,isIterable:e=>null!=e&&w(e[c])};function W(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Z.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});let G=W.prototype,$={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{$[e]={value:e}}),Object.defineProperties(W,$),Object.defineProperty(G,"isAxiosError",{value:!0}),W.from=(e,t,n,r,i,a)=>{let o=Object.create(G);Z.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return W.call(o,s,l,n,r,i),e&&null==o.cause&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",a&&Object.assign(o,a),o};var K=n(51642).hp;function Y(e){return Z.isPlainObject(e)||Z.isArray(e)}function X(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,n){return e?e.concat(t).map(function(e,t){return e=X(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let J=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)}),ee=function(e,t,n){if(!Z.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Z.isUndefined(t[e])})).metaTokens,i=n.visitor||u,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(Z.isBoolean(e))return e.toString();if(!s&&Z.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):K.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(Z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(Z.isArray(e)&&(u=e,Z.isArray(u)&&!u.some(Y))||(Z.isFileList(e)||Z.endsWith(n,"[]"))&&(s=Z.toArray(e)))return n=X(n),s.forEac
21h(function(e,r){Z.isUndefined(e)||null===e||t.append(!0===o?Q([n],r,a):null===o?n:n+"[]",l(e))}),!1}return!!Y(e)||(t.append(Q(i,n,a),l(e)),!1)}let c=[],d=Object.assign(J,{defaultVisitor:u,convertValue:l,isVisitable:Y});if(!Z.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!Z.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),Z.forEach(n,function(n,a){!0===(!(Z.isUndefined(n)||null===n)&&i.call(t,n,Z.isString(a)?a.trim():a,r,d))&&e(n,r?r.concat(a):[a])}),c.pop()}}(e),t};function et(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&ee(e,this,t)}let er=en.prototype;function ei(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ea(e,t,n){let r;if(!t)return e;let i=n&&n.encode||ei;Z.isFunction(n)&&(n={serialize:n});let a=n&&n.serialize;if(r=a?a(t,n):Z.isURLSearchParams(t)?t.toString():new en(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}er.append=function(e,t){this._pairs.push([e,t])},er.toString=function(e){let t=e?function(t){return e.call(this,t,et)}:et;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eo{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}let es={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},el="undefined"!=typeof URLSearchParams?URLSearchParams:en,eu="undefined"!=typeof FormData?FormData:null,ec="undefined"!=typeof Blob?Blob:null,ed="undefined"!=typeof window&&"undefined"!=typeof document,eh="object"==typeof navigator&&navigator||void 0,ef=ed&&(!eh||0>["ReactNative","NativeScript","NS"].indexOf(eh.product)),ep="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,em=ed&&window.location.href||"http://localhost",eg={...a,isBrowser:!0,classes:{URLSearchParams:el,FormData:eu,Blob:ec},protocols:["http","https","file","blob","url","data"]},ev=function(e){if(Z.isFormData(e)&&Z.isFunction(e.entries)){let t={};return Z.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let a=t[i++];if("__proto__"===a)return!0;let o=Number.isFinite(+a),s=i>=t.length;return(a=!a&&Z.isArray(r)?r.length:a,s)?Z.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n:(r[a]&&Z.isObject(r[a])||(r[a]=[]),e(t,n,r[a],i)&&Z.isArray(r[a])&&(r[a]=function(e){let t,n,r={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)r[n=i[t]]=e[n];return r}(r[a]))),!o}(Z.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null},ey={transitional:es,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=Z.isObject(e);if(a&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(ev(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1){var o,s;return(o=e,s=this.formSerializer,ee(o,new eg.classes.URLSearchParams,{visitor:function(e,t,n,r){return eg.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...s})).toString()}if((n=Z.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ee(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(a||i){t.setContentType("application/json",!1);var l=e;if(Z.isString(l))try{return(0,JSON.parse)(l),Z.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||ey.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw W.from(e,W.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eg.classes.FormData,Blob:eg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{ey.headers[e]={}});let eb=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ew=Symbol("internals");function ex(e){return e&&String(e).trim().toLowerCase()}function eC(e){return!1===e||null==e?e:Z.isArray(e)?e.map(eC):String(e)}function eE(e,t,n,r,i){if(Z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),Z.isString(t)){if(Z.isString(r))return -1!==t.indexOf(r);if(Z.isRegExp(r))return r.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=ex(t);if(!i)throw Error("header name must be a non-empty string");let a=Z.findKey(r,i);a&&void 0!==r[a]&&!0!==n&&(void 0!==n||!1===r[a])||(r[a||t]=eC(e))}let a=(e,t)=>
21Z.forEach(e,(e,n)=>i(e,n,t));if(Z.isPlainObject(e)||e instanceof this.constructor)a(e,t);else{let r;if(Z.isString(e)&&(e=e.trim())&&(r=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim())))a((e=>{let t,n,r,i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&eb[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i})(e),t);else if(Z.isObject(e)&&Z.isIterable(e)){let n={},r,i;for(let t of e){if(!Z.isArray(t))throw TypeError("Object iterator must return a key-value pair");n[i=t[0]]=(r=n[i])?Z.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else null!=e&&i(t,e,n)}return this}get(e,t){if(e=ex(e)){let n=Z.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t){let t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}if(Z.isFunction(t))return t.call(this,e,n);if(Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ex(e)){let n=Z.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eE(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=ex(e)){let i=Z.findKey(n,e);i&&(!t||eE(n,n[i],i,t))&&(delete n[i],r=!0)}}return Z.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eE(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return Z.forEach(this,(r,i)=>{let a=Z.findKey(n,i);if(a){t[a]=eC(r),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();o!==i&&delete t[i],t[o]=eC(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Z.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Z.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[ew]=this[ew]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=ex(e);if(!t[r]){let i=Z.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(n,t+i,{value:function(n,r,i){return this[t].call(this,e,n,r,i)},configurable:!0})}),t[r]=!0}}return Z.isArray(e)?e.forEach(r):r(e),this}}function eA(e,t){let n=this||ey,r=t||n,i=eS.from(r.headers),a=r.data;return Z.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function ek(e){return!!(e&&e.__CANCEL__)}function eN(e,t,n){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}function eP(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(eS.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Z.freezeMethods(eS),Z.inherits(eN,W,{__CANCEL__:!0});let eI=function(e,t){let n,r=Array(e=e||10),i=Array(e),a=0,o=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[o];n||(n=l),r[a]=s,i[a]=l;let c=o,d=0;for(;c!==a;)d+=r[c++],c%=e;if((a=(a+1)%e)===o&&(o=(o+1)%e),l-n<t)return;let h=u&&l-u;return h?Math.round(1e3*d/h):void 0}},eT=function(e,t){let n,r,i=0,a=1e3/t,o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},a-s)))},()=>n&&o(n)]},eO=(e,t,n=3)=>{let r=0,i=eI(50,250);return eT(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,l=i(s);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},eL=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eM=e=>(...t)=>Z.asap(()=>e(...t)),eD=eg.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,eg.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(eg.origin),eg.navigator&&/(msie|trident)/i.test(eg.navigator.userAgent)):()=>!0,ej=eg.hasStandardBrowserEnv?{write(e,t,n,r,i,a){let o=[e+"="+encodeURIComponent(t)];Z.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Z.isString(r)&&o.push("path="+r),Z.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function e_(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eR=e=>e instanceof eS?{...e}:e;function eF(e,t){t=t||{};let n={};function r(e,t,n,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,n,i){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e,n,i):r(e,t,n,i)}function a(e,t){if(!Z.isUndefined(t))return r(void 0,t)}function o(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
21dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(eR(e),eR(t),n,!0)};return Z.forEach(Object.keys({...e,...t}),function(r){let a=l[r]||i,o=a(e[r],t[r],r);Z.isUndefined(o)&&a!==s||(n[r]=o)}),n}let ez=e=>{let t=eF({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=eS.from(o),t.url=ea(e_(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Z.isFormData(n)){if(eg.hasStandardBrowserEnv||eg.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(Z.isFunction(n.getHeaders)){let e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}}if(eg.hasStandardBrowserEnv&&(r&&Z.isFunction(r)&&(r=r(t)),r||!1!==r&&eD(t.url))){let e=i&&a&&ej.read(a);e&&o.set(i,e)}return t},eB="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,a,o,s,l=ez(e),u=l.data,c=eS.from(l.headers).normalize(),{responseType:d,onUploadProgress:h,onDownloadProgress:f}=l;function p(){o&&o(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function g(){if(!m)return;let r=eS.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());eP(function(e){t(e),p()},function(e){n(e),p()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new W("Request aborted",W.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){let r=new W(t&&t.message?t.message:"Network Error",W.ERR_NETWORK,e,m);r.event=t||null,n(r),m=null},m.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||es;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new W(t,r.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,m)),m=null},void 0===u&&c.setContentType(null),"setRequestHeader"in m&&Z.forEach(c.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Z.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),d&&"json"!==d&&(m.responseType=l.responseType),f&&([a,s]=eO(f,!0),m.addEventListener("progress",a)),h&&m.upload&&([i,o]=eO(h),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(r=t=>{m&&(n(!t||t.type?new eN(null,e,m):t),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(v&&-1===eg.protocols.indexOf(v))return void n(new W("Unsupported protocol "+v+":",W.ERR_BAD_REQUEST,e));m.send(u||null)})},eV=function*(e,t){let n,r=e.byteLength;if(!t||r<t)return void(yield e);let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},eU=async function*(e,t){for await(let n of eq(e))yield*eV(n,t)},eq=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eH=(e,t,n,r)=>{let i,a=eU(e,t),o=0,s=e=>{!i&&(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await a.next();if(t){s(),e.close();return}let i=r.byteLength;if(n){let e=o+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:eZ}=Z,eW=(({Request:e,Response:t})=>({Request:e,Response:t}))(Z.global),{ReadableStream:eG,TextEncoder:e$}=Z.global,eK=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},eY=e=>{let t,{fetch:n,Request:r,Response:i}=e=Z.merge.call({skipUndefined:!0},eW,e),a=n?eZ(n):"function"==typeof fetch,o=eZ(r),s=eZ(i);if(!a)return!1;let l=a&&eZ(eG),u=a&&("function"==typeof e$?(t=new e$,e=>t.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer())),c=o&&l&&eK(()=>{let e=!1,t=new r(eg.origin,{body:new eG,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=s&&l&&eK(()=>Z.isReadableStream(new i("").body)),h={stream:d&&(e=>e.body)};
21a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{h[e]||(h[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new W(`Response type '${e}' is not supported`,W.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(null==e)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e)){let t=new r(eg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e))?(await u(e)).byteLength:void 0},p=async(e,t)=>{let n=Z.toFiniteNumber(e.getContentLength());return null==n?f(t):n};return async e=>{let t,{url:a,method:s,data:l,signal:u,cancelToken:f,timeout:m,onDownloadProgress:g,onUploadProgress:v,responseType:y,headers:b,withCredentials:w="same-origin",fetchOptions:x}=ez(e),C=n||fetch;y=y?(y+"").toLowerCase():"text";let E=((e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,o();let t=e instanceof Error?e:this.reason;r.abort(t instanceof W?t:new eN(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t),o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=r;return s.unsubscribe=()=>Z.asap(o),s}})([u,f&&f.toAbortSignal()],m),S=null,A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});try{if(v&&c&&"get"!==s&&"head"!==s&&0!==(t=await p(b,l))){let e,n=new r(a,{method:"POST",body:l,duplex:"half"});if(Z.isFormData(l)&&(e=n.headers.get("content-type"))&&b.setContentType(e),n.body){let[e,r]=eL(t,eO(eM(v)));l=eH(n.body,65536,e,r)}}Z.isString(w)||(w=w?"include":"omit");let n=o&&"credentials"in r.prototype,u={...x,signal:E,method:s.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:n?w:void 0};S=o&&new r(a,u);let f=await (o?C(S,x):C(a,u)),m=d&&("stream"===y||"response"===y);if(d&&(g||m&&A)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=f[t]});let t=Z.toFiniteNumber(f.headers.get("content-length")),[n,r]=g&&eL(t,eO(eM(g),!0))||[];f=new i(eH(f.body,65536,n,()=>{r&&r(),A&&A()}),e)}y=y||"text";let k=await h[Z.findKey(h,y)||"text"](f,e);return!m&&A&&A(),await new Promise((t,n)=>{eP(t,n,{data:k,headers:eS.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:S})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new W("Network Error",W.ERR_NETWORK,e,S),{cause:t.cause||t});throw W.from(t,t&&t.code,e,S)}}},eX=new Map,eQ=e=>{let t=e?e.env:{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,l,u=eX;for(;o--;)s=a[o],void 0===(l=u.get(s))&&u.set(s,l=o?new Map:eY(t)),u=l;return l};eQ();let eJ={http:null,xhr:eB,fetch:{get:eQ}};Z.forEach(eJ,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e0=e=>`- ${e}`,e1=e=>Z.isFunction(e)||null===e||!1===e,e2={getAdapter:(e,t)=>{let n,r,{length:i}=e=Z.isArray(e)?e:[e],a={};for(let o=0;o<i;o++){let i;if(r=n=e[o],!e1(n)&&void 0===(r=eJ[(i=String(n)).toLowerCase()]))throw new W(`Unknown adapter '${i}'`);if(r&&(Z.isFunction(r)||(r=r.get(t))))break;a[i||"#"+o]=r}if(!r){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new W("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(e0).join("\n"):" "+e0(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r}};function e5(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eN(null,e)}function e4(e){return e5(e),e.headers=eS.from(e.headers),e.data=eA.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e2.getAdapter(e.adapter||ey.adapter,e)(e).then(function(t){return e5(e),t.data=eA.call(e,e.transformResponse,t),t.headers=eS.from(t.headers),t},function(t){return!ek(t)&&(e5(e),t&&t.response&&(t.response.data=eA.call(e,e.transformResponse,t.response),t.response.headers=eS.from(t.response.headers))),Promise.reject(t)})}let e3="1.12.2",e6={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e6[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let e8={};e6.transitional=function(e,t,n){function r(e,t){return"[Axios v"+e3+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>
21{if(!1===e)throw new W(r(i," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!e8[i]&&(e8[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},e6.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};let e9={assertOptions:function(e,t,n){if("object"!=typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new W("option "+a+" must be "+n,W.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new W("Unknown option "+a,W.ERR_BAD_OPTION)}},validators:e6},e7=e9.validators;class te{constructor(e){this.defaults=e||{},this.interceptors={request:new eo,response:new eo}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:a,headers:o}=t=eF(this.defaults,t);void 0!==i&&e9.assertOptions(i,{silentJSONParsing:e7.transitional(e7.boolean),forcedJSONParsing:e7.transitional(e7.boolean),clarifyTimeoutError:e7.transitional(e7.boolean)},!1),null!=a&&(Z.isFunction(a)?t.paramsSerializer={serialize:a}:e9.assertOptions(a,{encode:e7.function,serialize:e7.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),e9.assertOptions(t,{baseUrl:e7.spelling("baseURL"),withXsrfToken:e7.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&Z.merge(o.common,o[t.method]);o&&Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eS.concat(s,o);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[e4.bind(this),void 0];for(e.unshift(...l),e.push(...c),r=e.length,n=Promise.resolve(t);d<r;)n=n.then(e[d++],e[d++]);return n}r=l.length;let h=t;for(;d<r;){let e=l[d++],t=l[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{n=e4.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,r=c.length;d<r;)n=n.then(c[d++],c[d++]);return n}getUri(e){return ea(e_((e=eF(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}
21Z.forEach(["delete","get","head","options"],function(e){te.prototype[e]=function(t,n){return this.request(eF(n||{},{method:e,url:t,data:(n||{}).data}))}}),Z.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eF(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}te.prototype[e]=t(),te.prototype[e+"Form"]=t(!0)});class tt{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new eN(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tt(function(t){e=t}),cancel:e}}}let tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
21alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tn).forEach(([e,t])=>{tn[t]=e});let tr=function e(t){let n=new te(t),r=o(te.prototype.request,n);return Z.extend(r,te.prototype,n,{allOwnKeys:!0}),Z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eF(t,n))},r}(ey);tr.Axios=te,tr.CanceledError=eN,tr.CancelToken=tt,tr.isCancel=ek,tr.VERSION=e3,tr.toFormData=ee,tr.AxiosError=W,tr.Cancel=tr.CanceledError,tr.all=function(e){return Promise.all(e)},tr.spread=function(e){return function(t){return e.apply(null,t)}},tr.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},tr.mergeConfig=eF,tr.AxiosHeaders=eS,tr.formToJSON=e=>ev(Z.isHTMLForm(e)?new FormData(e):e),tr.getAdapter=e2.getAdapter,tr.HttpStatusCode=tn,tr.default=tr;let ti=tr},75282:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,S:()=>o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="CheckIcon";let s=o},75397:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var r=n(70238),i=n(6730),a=n(25739),o=n(88846),s=n(88606),l=n(65436);function u(e,t){let n=(0,l.a)(e,null==t?void 0:t.in);return Math.round(((0,i.k)(n,t)-function(e,t){var n,r,l,u,c,d,h,f;let p=(0,a.q)(),m=null!=(f=null!=(h=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(r=t.locale)||null==(n=r.options)?void 0:n.firstWeekContainsDate)?d:p.firstWeekContainsDate)?h:null==(u=p.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?f:1,g=(0,s.h)(e,t),v=(0,o.w)((null==t?void 0:t.in)||e,0);return v.setFullYear(g,0,m),v.setHours(0,0,0,0),(0,i.k)(v,t)}(n,t))/r.my)+1}},76710:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var r=n(6029),i=n(64713),a=n(52278),o=n(39794),s=n(46102);function l(e){let{control:t,name:n,label:l,hasMessage:u=!1,errorRing:c=!0,items:d,className:h,placeholder:f,inputClassName:p,...m}=e,g=d.length>0?typeof d[0].value:"string";return(0,r.jsx)(i.zB,{control:t,name:n,render:e=>{let{field:t,fieldState:n}=e,v="number"===g?t.value.toString():t.value;return(0,r.jsxs)(i.eI,{className:(0,o.cn)(s.sl,h),children:[l?(0,r.jsx)(i.lR,{className:s.Ci,children:l}):null,(0,r.jsxs)(a.l6,{...m,onValueChange:e=>{if(!e&&t.value&&d.some(e=>e.value===t.value))return;let n="number"===g?Number(e):e;m.onValueChange&&m.onValueChange(n),t.onChange(n)},value:v,children:[(0,r.jsx)(i.MJ,{children:(0,r.jsx)(a.bq,{className:(0,o.cn)(p,{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":n.error&&c}),children:(0,r.jsx)(a.yv,{placeholder:f})})}),(0,r.jsx)(a.gC,{children:d.map((e,t)=>(0,r.jsx)(a.eb,{value:e.value.toString(),children:e.label},"".concat(e.value,"_").concat(t)))})]}),u?(0,r.jsx)(i.C5,{}):null]})}})}}
21,77153:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="TrashIcon";let s=o},77332:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(3789),i=n(4308),a=class{#q;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.gn)(this.gcTime)&&(this.#q=r.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.S$?1/0:3e5))}clearGcTimeout(){this.#q&&(r.zs.clearTimeout(this.#q),this.#q=void 0)}}},78383:e=>{e.exports=function(){}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,i){return r(e,function(e,r,a){t(i,e,n(e),a)}),i}},78573:(e,t,n)=>{"use strict";n.d(t,{z:()=>eq,C:()=>eZ});var r=n(6029),i=n(50016),a=n(55729),o=n(25269),s=n(40041),l=n(99829),u=n(19639),c=n(64132),d=n(16697),h=n(71979),f=n(24347),p=n(38719),m=n(78749),g="Radio",[v,y]=(0,l.A)(g),[b,w]=v(g),x=a.forwardRef((e,t)=>{let{__scopeRadio:n,name:i,checked:l=!1,required:c,disabled:d,value:h="on",onCheck:f,form:p,...m}=e,[g,v]=a.useState(null),y=(0,s.s)(t,e=>v(e)),w=a.useRef(!1),x=!g||p||!!g.closest("form");return(0,r.jsxs)(b,{scope:n,checked:l,disabled:d,children:[(0,r.jsx)(u.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":A(l),"data-disabled":d?"":void 0,disabled:d,value:h,...m,ref:y,onClick:(0,o.mK)(e.onClick,e=>{l||f?.(),x&&(w.current=e.isPropagationStopped(),w.current||e.stopPropagation())})}),x&&(0,r.jsx)(S,{control:g,bubbles:!w.current,name:i,value:h,checked:l,required:c,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});x.displayName=g;var C="RadioIndicator",E=a.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:i,...a}=e,o=w(C,n);return(0,r.jsx)(m.C,{present:i||o.checked,children:(0,r.jsx)(u.sG.span,{"data-state":A(o.checked),"data-disabled":o.disabled?"":void 0,...a,ref:t})})});E.displayName=C;var S=a.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:i=!0,...o},l)=>{let c=a.useRef(null),d=(0,s.s)(c,l),h=(0,p.Z)(n),m=(0,f.X)(t);return a.useEffect(()=>
21{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==n&&t){let r=new Event("click",{bubbles:i});t.call(e,n),e.dispatchEvent(r)}},[h,n,i]),(0,r.jsx)(u.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:d,style:{...o.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function A(e){return e?"checked":"unchecked"}S.displayName="RadioBubbleInput";var k=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],N="RadioGroup",[P,I]=(0,l.A)(N,[c.RG,y]),T=(0,c.RG)(),O=y(),[L,M]=P(N),D=a.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:i,defaultValue:a,value:o,required:s=!1,disabled:l=!1,orientation:f,dir:p,loop:m=!0,onValueChange:g,...v}=e,y=T(n),b=(0,h.jH)(p),[w,x]=(0,d.i)({prop:o,defaultProp:a??null,onChange:g,caller:N});return(0,r.jsx)(L,{scope:n,name:i,required:s,disabled:l,value:w,onValueChange:x,children:(0,r.jsx)(c.bL,{asChild:!0,...y,orientation:f,dir:b,loop:m,children:(0,r.jsx)(u.sG.div,{role:"radiogroup","aria-required":s,"aria-orientation":f,"data-disabled":l?"":void 0,dir:b,...v,ref:t})})})});D.displayName=N;var j="RadioGroupItem",_=a.forwardRef((e,t)=>{let{__scopeRadioGroup:n,disabled:i,...l}=e,u=M(j,n),d=u.disabled||i,h=T(n),f=O(n),p=a.useRef(null),m=(0,s.s)(t,p),g=u.value===l.value,v=a.useRef(!1);return a.useEffect(()=>{let e=e=>{k.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,r.jsx)(c.q7,{asChild:!0,...h,focusable:!d,active:g,children:(0,r.jsx)(x,{disabled:d,required:u.required,checked:g,...f,...l,name:u.name,ref:m,onCheck:()=>u.onValueChange(l.value),onKeyDown:(0,o.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.mK)(l.onFocus,()=>{v.current&&p.current?.click()})})})});_.displayName=j;var R=a.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...i}=e,a=O(n);return(0,r.jsx)(E,{...a,...i,ref:t})});R.displayName="RadioGroupIndicator";var F=n(72262),z=n(46102),B=n(39794),V=n(65403),U=n(56760),q=n(67913),H=n(70140),Z=n(27555),W=n(35896),G=n(9613),$=n(40748),K="NavigationMenu",[Y,X,Q]=(0,H.N)(K),[J,ee,et]=(0,H.N)(K),[en,er]=(0,l.A)(K,[Q,et]),[ei,ea]=en(K),[eo,es]=en(K),el=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,onValueChange:o,defaultValue:l,delayDuration:c=200,skipDelayDuration:f=300,orientation:p="horizontal",dir:m,...g}=e,[v,y]=a.useState(null),b=(0,s.s)(t,e=>y(e)),w=(0,h.jH)(m),x=a.useRef(0),C=a.useRef(0),E=a.useRef(0),[S,A]=a.useState(!0),[k,N]=(0,d.i)({prop:i,onChange:e=>{let t=f>0;""!==e?(window.clearTimeout(E.current),t&&A(!1)):(window.clearTimeout(E.current),E.current=window.setTimeout(()=>A(!0),f)),o?.(e)},defaultProp:l??"",caller:K}),P=a.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>N(""),150)},[N]),I=a.useCallback(e=>{window.clearTimeout(C.current),N(e)},[N]),T=a.useCallback(e=>{k===e?window.clearTimeout(C.current):x.current=window.setTimeout(()=>{window.clearTimeout(C.current),N(e)},c)},[k,N,c]);return a.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(C.current),window.clearTimeout(E.current)},[]),(0,r.jsx)(ec,{scope:n,isRootMenu:!0,value:k,dir:w,orientation:p,rootNavigationMenu:v,onTriggerEnter:e=>{window.clearTimeout(x.current),S?T(e):I(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),P()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:P,onItemSelect:e=>{N(t=>t===e?"":e)},onItemDismiss:()=>N(""),children:(0,r.jsx)(u.sG.nav,{"aria-label":"Main","data-orientation":p,dir:w,...g,ref:b})})});el.displayName=K;var eu="NavigationMenuSub";a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,onValueChange:a,defaultValue:o,orientation:s="horizontal",...l}=e,c=ea(eu,n),[h,f]=(0,d.i)({prop:i,onChange:a,defaultProp:o??"",caller:eu});return(0,r.jsx)(ec,{scope:n,isRootMenu:!1,value:h,dir:c.dir,orientation:s,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>f(e),onItemSelect:e=>f(e),onItemDismiss:()=>f(""),children:(0,r.jsx)(u.sG.div,{"data-orientation":s,...l,ref:t})})}).displayName=eu;var ec=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:i,dir:o,orientation:s,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:h,onTriggerLeave:f,onContentEnter:m,onContentLeave:g}=e,[v,y]=a.useState(null),[b,w]=a.useState(new Map),[x,C]=a.useState(null);return(0,r.jsx)(ei,{scope:t,isRootMenu:n,rootNavigationMenu:i,value:u,previousValue:(0,p.Z)(u),baseId:(0,q.B)(),dir:o,orientation:s,viewport:v,onViewportChange:y,indicatorTrack:x,onIndicatorTrackChange:C,onTriggerEnter:(0,G.c)(h),onTriggerLeave:(0,G.c)(f),onContentEnter:(0,G.c)(m),onContentLeave:(0,G.c)(g),onItemSelect:(0,G.c)(c),onItemDismiss:(0,G.c)(d),onViewportContentChange:a.useCallback((e,t)=>{w(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:a.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,r.jsx)(Y.Provider,{scope:t,children:(0,r.jsx)(eo,{scope:t,items:b,children:l})})})},ed="NavigationMenuList",eh=a.forwardRef((e,t)=>
21{let{__scopeNavigationMenu:n,...i}=e,a=ea(ed,n),o=(0,r.jsx)(u.sG.ul,{"data-orientation":a.orientation,...i,ref:t});return(0,r.jsx)(u.sG.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,r.jsx)(Y.Slot,{scope:n,children:a.isRootMenu?(0,r.jsx)(eT,{asChild:!0,children:o}):o})})});eh.displayName=ed;var ef="NavigationMenuItem",[ep,em]=en(ef);a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,...o}=e,s=(0,q.B)(),l=a.useRef(null),c=a.useRef(null),d=a.useRef(null),h=a.useRef(()=>{}),f=a.useRef(!1),p=a.useCallback((e="start")=>{if(l.current){h.current();let t=eM(l.current);t.length&&eD("start"===e?t:t.reverse())}},[]),m=a.useCallback(()=>{if(l.current){let e=eM(l.current);e.length&&(h.current=function(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}(e))}},[]);return(0,r.jsx)(ep,{scope:n,value:i||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:l,focusProxyRef:d,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:m,onContentFocusOutside:m,children:(0,r.jsx)(u.sG.li,{...o,ref:t})})}).displayName=ef;var eg="NavigationMenuTrigger",ev=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:i,...l}=e,c=ea(eg,e.__scopeNavigationMenu),d=em(eg,e.__scopeNavigationMenu),h=a.useRef(null),f=(0,s.s)(h,d.triggerRef,t),p=eR(c.baseId,d.value),m=eF(c.baseId,d.value),g=a.useRef(!1),v=a.useRef(!1),y=d.value===c.value;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Y.ItemSlot,{scope:n,value:d.value,children:(0,r.jsx)(eL,{asChild:!0,children:(0,r.jsx)(u.sG.button,{id:p,disabled:i,"data-disabled":i?"":void 0,"data-state":e_(y),"aria-expanded":y,"aria-controls":m,...l,ref:f,onPointerEnter:(0,o.mK)(e.onPointerEnter,()=>{v.current=!1,d.wasEscapeCloseRef.current=!1}),onPointerMove:(0,o.mK)(e.onPointerMove,ez(()=>{i||v.current||d.wasEscapeCloseRef.current||g.current||(c.onTriggerEnter(d.value),g.current=!0)})),onPointerLeave:(0,o.mK)(e.onPointerLeave,ez(()=>{i||(c.onTriggerLeave(),g.current=!1)})),onClick:(0,o.mK)(e.onClick,()=>{c.onItemSelect(d.value),v.current=y}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===c.dir?"ArrowLeft":"ArrowRight"}[c.orientation];y&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),y&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($.bL,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,n=e.relatedTarget,r=n===h.current,i=t?.contains(n);(r||!i)&&d.onFocusProxyEnter(r?"start":"end")}}),c.viewport&&(0,r.jsx)("span",{"aria-owns":m})]})]})});ev.displayName=eg;var ey="navigationMenu.linkSelect";a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:i,onSelect:a,...s}=e;return(0,r.jsx)(eL,{asChild:!0,children:(0,r.jsx)(u.sG.a,{"data-active":i?"":void 0,"aria-current":i?"page":void 0,...s,ref:t,onClick:(0,o.mK)(e.onClick,e=>{let t=e.target,n=new CustomEvent(ey,{bubbles:!0,cancelable:!0});if(t.addEventListener(ey,e=>a?.(e),{once:!0}),(0,u.hO)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eA,{bubbles:!0,cancelable:!0});(0,u.hO)(t,e)}},{checkForDefaultPrevented:!1})})})}).displayName="NavigationMenuLink";var eb="NavigationMenuIndicator",ew=a.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=ea(eb,e.__scopeNavigationMenu),o=!!a.value;return a.indicatorTrack?U.createPortal((0,r.jsx)(m.C,{present:n||o,children:(0,r.jsx)(ex,{...i,ref:t})}),a.indicatorTrack):null});ew.displayName=eb;var ex=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}
21=e,o=ea(eb,n),s=X(n),[l,c]=a.useState(null),[d,h]=a.useState(null),f="horizontal"===o.orientation,p=!!o.value;a.useEffect(()=>{let e=s(),t=e.find(e=>e.value===o.value)?.ref.current;t&&c(t)},[s,o.value]);let m=()=>{l&&h({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return ej(l,m),ej(o.indicatorTrack,m),d?(0,r.jsx)(u.sG.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":o.orientation,...i,ref:t,style:{position:"absolute",...f?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...i.style}}):null}),eC="NavigationMenuContent",eE=a.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=ea(eC,e.__scopeNavigationMenu),l=em(eC,e.__scopeNavigationMenu),u=(0,s.s)(l.contentRef,t),c=l.value===a.value,d={value:l.value,triggerRef:l.triggerRef,focusProxyRef:l.focusProxyRef,wasEscapeCloseRef:l.wasEscapeCloseRef,onContentFocusOutside:l.onContentFocusOutside,onRootContentClose:l.onRootContentClose,...i};return a.viewport?(0,r.jsx)(eS,{forceMount:n,...d,ref:u}):(0,r.jsx)(m.C,{present:n||c,children:(0,r.jsx)(ek,{"data-state":e_(c),...d,ref:u,onPointerEnter:(0,o.mK)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,o.mK)(e.onPointerLeave,ez(a.onContentLeave)),style:{pointerEvents:!c&&a.isRootMenu?"none":void 0,...d.style}})})});eE.displayName=eC;var eS=a.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=ea(eC,e.__scopeNavigationMenu);return(0,W.N)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,W.N)(()=>()=>r(e.value),[e.value,r]),null}),eA="navigationMenu.rootContentDismiss",ek=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,triggerRef:l,focusProxyRef:u,wasEscapeCloseRef:c,onRootContentClose:d,onContentFocusOutside:h,...f}=e,p=ea(eC,n),m=a.useRef(null),g=(0,s.s)(m,t),v=eR(p.baseId,i),y=eF(p.baseId,i),b=X(n),w=a.useRef(null),{onItemDismiss:x}=p;a.useEffect(()=>{let e=m.current;if(p.isRootMenu&&e){let t=()=>{x(),d(),e.contains(document.activeElement)&&l.current?.focus()};return e.addEventListener(eA,t),()=>e.removeEventListener(eA,t)}},[p.isRootMenu,e.value,l,x,d]);let C=a.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),r=i===p.value,a=n===e.indexOf(i);if(!r&&!a)return w.current;let o=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(a&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=o,o},[p.previousValue,p.value,p.dir,b,i]);return(0,r.jsx)(eT,{asChild:!0,children:(0,r.jsx)(Z.qW,{id:y,"aria-labelledby":v,"data-motion":C,"data-orientation":p.orientation,...f,ref:g,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eA,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{h();let t=e.target;p.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.target,n=b().some(e=>e.ref.current?.contains(t)),r=p.isRootMenu&&p.viewport?.contains(t);(n||r||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eM(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eD(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():u.current?.focus()}}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{c.current=!0})})})}),eN="NavigationMenuViewport",eP=a.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=!!ea(eN,e.__scopeNavigationMenu).value;return(0,r.jsx)(m.C,{present:n||a,children:(0,r.jsx)(eI,{...i,ref:t})})});eP.displayName=eN;var eI=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:i,...l}=e,c=ea(eN,n),d=(0,s.s)(t,c.onViewportChange),h=es(eC,e.__scopeNavigationMenu),[f,p]=a.useState(null),[g,v]=a.useState(null),y=f?f?.width+"px":void 0,b=f?f?.height+"px":void 0,w=!!c.value,x=w?c.value:c.previousValue;return ej(g,()=>{g&&p({width:g.offsetWidth,height:g.offsetHeight})}),(0,r.jsx)(u.sG.div,{"data-state":e_(w),"data-orientation":c.orientation,...l,ref:d,style:{pointerEvents:!w&&c.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":b,...l.style},onPointerEnter:(0,o.mK)(e.onPointerEnter,c.onContentEnter),onPointerLeave:(0,o.mK)(e.onPointerLeave,ez(c.onContentLeave)),children:Array.from(h.items).map(([e,{ref:t,forceMount:n,...i}])=>{let a=x===e;return(0,r.jsx)(m.C,{present:n||a,children:(0,r.jsx)(ek,{...i,ref:(0,s.t)(t,e=>{a&&e&&v(e)}
21)})},e)})})}),eT=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,a=ea("FocusGroup",n);return(0,r.jsx)(J.Provider,{scope:n,children:(0,r.jsx)(J.Slot,{scope:n,children:(0,r.jsx)(u.sG.div,{dir:a.dir,...i,ref:t})})})}),eO=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eL=a.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,a=ee(n),s=ea("FocusGroupItem",n);return(0,r.jsx)(J.ItemSlot,{scope:n,children:(0,r.jsx)(u.sG.button,{...i,ref:t,onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if(["Home","End",...eO].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===s.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eO.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eD(t)),e.preventDefault()}})})})});function eM(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eD(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ej(e,t){let n=(0,G.c)(t);(0,W.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function e_(e){return e?"open":"closed"}function eR(e,t){return`${e}-trigger-${t}`}function eF(e,t){return`${e}-content-${t}`}function ez(e){return t=>"mouse"===t.pointerType?e(t):void 0}a.forwardRef((e,t)=>{let{className:n,children:i,...a}=e;return(0,r.jsxs)(el,{ref:t,className:(0,B.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",n),...a,children:[i,(0,r.jsx)(eV,{})]})}).displayName=el.displayName,a.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(eh,{ref:t,className:(0,B.cn)("group flex flex-1 list-none items-center justify-center space-x-1",n),...i})}).displayName=eh.displayName;let eB=(0,F.F)("hover:text-accent-foreground focus:text-accent-foreground data-[active]:bg-accent/50 data-[state=open]:bg-accent/50 group inline-flex h-9 w-max items-center justify-center rounded-md bg-transparent px-4 py-2 text-sm font-medium transition-colors hover:bg-gray-200 focus:bg-gray-200 focus:outline-none disabled:pointer-events-none disabled:opacity-50");a.forwardRef((e,t)=>{let{className:n,children:a,...o}=e;return(0,r.jsxs)(ev,{ref:t,className:(0,B.cn)(eB(),"group",n),...o,children:[a," ",(0,r.jsx)(i.D3D,{className:"relative top-px ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}).displayName=ev.displayName,a.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(eE,{ref:t,className:(0,B.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto ",n),...i})}).displayName=eE.displayName;let eV=a.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)("div",{className:(0,B.cn)("absolute left-0 top-full flex justify-center"),children:(0,r.jsx)(eP,{className:(0,B.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",n),ref:t,...i})})});eV.displayName=eP.displayName,a.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(ew,{ref:t,className:(0,B.cn)("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",n),...i,children:(0,r.jsx)("div",{className:"bg-border relative top-[60%] size-2 rotate-45 rounded-tl-sm shadow-md"})})}).displayName=ew.displayName;let eU=(0,F.F)("",{variants:{variant:{default:"grid gap-0",buttons:"flex max-w-full gap-2 rounded-lg border border-gray-200 bg-gray-100 p-1",cards:"flex gap-2"}},defaultVariants:{variant:"default"}}),eq=a.forwardRef((e,t)=>
21{let{className:n,variant:i,...a}=e;return(0,r.jsx)(D,{className:(0,B.cn)(eU({variant:i,className:n})),...a,ref:t})});eq.displayName=D.displayName;let eH=(0,F.F)("",{variants:{variant:{default:(0,B.cn)("border-primary text-primary focus-visible:ring-ring aspect-square size-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",z.T0),buttons:(0,B.cn)((0,V.r)({variant:"ghost"}),eB(),"data-[state=checked]:text-primary-500 data-[state=checked]:bg-white data-[state=checked]:font-extrabold"),cards:(0,B.cn)("group flex flex-1 items-center justify-between gap-4 rounded-lg border border-gray-200 bg-white px-4 py-3","cursor-pointer transition-colors","hover:border-gray-300","focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","disabled:cursor-not-allowed disabled:opacity-50")}},defaultVariants:{variant:"default"}}),eZ=a.forwardRef((e,t)=>{let{className:n,variant:a,label:o,...s}=e;return"cards"===a?(0,r.jsxs)(_,{ref:t,className:(0,B.cn)(eH({variant:a,className:n})),...s,children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:null!=o?o:s.value}),(0,r.jsx)("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-full border-2 border-gray-300 group-data-[state=checked]:border-primary-500 group-data-[state=checked]:bg-primary-500",children:(0,r.jsx)(R,{className:"size-2 rounded-full bg-white"})})]}):(0,r.jsx)(_,{ref:t,className:(0,B.cn)(eH({variant:a,className:n})),...s,children:"buttons"!==a?(0,r.jsx)(R,{className:"flex items-center justify-center",children:(0,r.jsx)(i.Srz,{className:"fill-primary size-4"})}):null!=o?o:s.value})});eZ.displayName=_.displayName},78749:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(55729),i=n(40041),a=n(35896),o=e=>{let{present:t,children:n}=e,o=function(e){var t,n;let[i,o]=r.useState(),l=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):n&&r!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,a.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=s(l.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(h("ANIMATION_END"),!u.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(t),l="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),u=(0,i.s)(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||o.isPresent?r.cloneElement(l,{ref:u}):null};function s(e){return e?.animationName||"none"}o.displayName="Presence"},79823:(e,t,n)=>{"use strict";n.d(t,{m:()=>g});var r=n(88846),i=n(82606),a=n(25739),o=n(70979),s=n(99034),l=n(98457),u=n(70238),c=n(85272),d=n(33027),h=n(70491),f=n(65436),p=n(36019),m=n(86959);function g(e,t){return function(e,t,n){var r,g;let v,y=(0,a.q)(),b=null!=(g=null!=(r=null==n?void 0:n.locale)?r:y.locale)?g:i.c,w=(0,l.z)(e,t);if(isNaN(w))throw RangeError("Invalid time value");let x=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:w}),[C,E]=(0,s.x)(null==n?void 0:n.in,...w>0?[t,e]:[e,t]),S=function(e,t,n){let r=(0,m.b)(e,t)/1e3;return(0,p.u)(void 0)(r)}(E,C),A=Math.round((S-((0,o.G)(E)-(0,o.G)(C))/1e3)/60);if(A<2)if(null==n?void 0:n.includeSeconds)if(S<5)return b.formatDistance("lessThanXSeconds",5,x);else if(S<10)return b.formatDistance("lessThanXSeconds",10,x);else if(S<20)return b.formatDistance("lessThanXSeconds",20,x);else if(S<40)return b.formatDistance("halfAMinute",0,x);else if(S<60)return b.formatDistance("lessThanXMinutes",1,x);else return b.formatDistance("xMinutes",1,x);else if(0===A)return b.formatDistance("lessThanXMinutes",1,x);else return b.formatDistance("xMinutes",A,x);if(A<45)return b.formatDistance("xMinutes",A,x);if(A<90)return b.formatDistance("aboutXHours",1,x);if(A<u.F6){let e=Math.round(A/60);return b.formatDistance("aboutXHours",e,x)}if(A<2520)return b.formatDistance("xDays",1,x);else if(A<u.Nw){let e=Math.round(A/u.F6);return b.formatDistance("xDays",e,x)}else if(A<2*u.Nw)return v=Math.round(A/u.Nw),b.formatDistance("aboutXMonths",v,x);if((v=function(e,t,n){let[r,i,a]=(0,s.x)(void 0,e,e,t),o=(0,l.z)(i,a),u=Math.abs((0,c.U)(i,a));if(u<1)return 0;1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-o*u);let p=(0,l.z)(i,a)===-o;(function(e,t){let n=(0,f.a)(e,void 0);return+(0,d.D)(n,void 0)==+(0,h.p)(n,t)})(r)&&1===u&&1===(0,l.z)(r,a)&&(p=!1);let m=o*(u-p);return 0===m?0:m}(E,C))<12){let e=Math.round(A/u.Nw);return b.formatDistance("xMonths",e,x)}{let e=v%12,t=Math.trunc(v/12);return e<3?b.formatDistance("aboutXYears",t,x):e<9?b.formatDistance("overXYears",t,x):b.formatDistance("almostXYears",t+1,x)}}(e,(0,r.w)(e,Date.now()),t)}},79860:(e,t,n)=>{var r=n(31736),i=n(78383),a=n(48546);e.exports=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i},80489:()=>{},80617:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(56121),i=n.n(r);let a={fill:i().string,width:i().number,height:i().number,className:i().string}}
21,81198:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,e:()=>s});var r=n(6029),i=n(55729),a=n(23319);let o=(0,i.createContext)({});function s(e){let{children:t}=e,[n,s]=(0,i.useState)(!1),[l,u]=(0,i.useState)(null),c=(0,i.useCallback)(e=>{void 0===e?s(e=>!e):s(e)},[]),d=(0,i.useCallback)(e=>{if(!e)return void u(e);u({...e,status:e.status===a.OrderStatus.processing?a.OrderStatus.success:e.status})},[]),h=(0,i.useMemo)(()=>({isOpen:n,toggleCart:c,cartOrder:l,updateCartOrder:d}),[n,l,c,d]);return(0,r.jsx)(o.Provider,{value:h,children:t})}let l=()=>(0,i.useContext)(o)},81239:(e,t,n)=>{"use strict";n.d(t,{fr:()=>d});let r={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};var i=n(25682);let a={date:(0,i.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd’hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"};var s=n(41256);let l=["MMM","MMMM"],u={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&l.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let n,r=Number(e),i=null==t?void 0:t.unit;return 0===r?"0":(n=1===r?i&&["year","week","hour","minute","second"].includes(i)?"\xe8re":"er":"\xe8me",r+n)},era:(0,s.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};var c=n(25628);let d={code:"fr",formatDistance:(e,t,n)=>{let i,a=r[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"dans "+i;else return"il y a "+i;return i},formatLong:a,formatRelative:(e,t,n,r)=>o[e],localize:u,match:{ordinalNumber:(0,n(74906).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,c.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janv
21ier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},81278:(e,t,n)=>{e.exports=n(77006)},81409:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(6029),i=n(93520),a=n(55729);let o=e=>{let t=(0,i.T6)(),n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{t&&n.current&&t.controls[window.google.maps.ControlPosition[e.position]].push(n.current)},[t,n]),(0,r.jsx)("div",{ref:n,children:e.children})}},81597:(e,t,n)=>{var r=n(55765);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},81648:e=>{e.exports=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}},81705:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(55729);let i="undefined"!=typeof document?r.useLayoutEffect:()=>{}},81707:(e,t,n)=>{e.exports=n(54703)(Object,"create")},82203:(e,t,n)=>{e.exports=n(50123)},82606:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var i=n(25682);let a={date:(0,i.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var s=n(41256);let l={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,s.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
21ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var u=n(25628);let c={code:"en-US",formatDistance:(e,t,n)=>{let i,a=r[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:a,formatRelative:(e,t,n,r)=>o[e],localize:l,match:{ordinalNumber:(0,n(74906).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},82694:e=>{e.exports=function(e,t){return e.has(t)}},83063:(e,t,n)=>{"use strict";n.d(t,{t:()=>u,A:()=>c});var r=n(30062);let i="undefined"!=typeof Element&&"checkVisibility"in Element.prototype;function a(e,t){return i?e.checkVisibility()&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=(0,r.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:i}=e.style,a="none"!==n&&"hidden"!==i&&"collapse"!==i;if(a){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);a="none"!==n&&"hidden"!==r&&"collapse"!==r}return a}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||a(e.parentElement,e))}let o=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],s=o.join(":not([hidden]),")+",[tabindex]:not
21([disabled]):not([hidden])";o.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let l=o.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(s)&&a(e)&&!d(e)}function c(e){return e.matches(l)&&a(e)&&!d(e)}function d(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},83566:(e,t,n)=>{"use strict";n.d(t,{N:()=>C});var r=n(6029),i=n(64713),a=n(39794),o=n(46102),s=n(55729),l=n(35077),u=n(19083),c=n(58309);let d=(0,c.A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var h=n(11083);let f=(0,c.A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m={ac:!0,ad:!0,ae:!0,af:!0,afar:!0,ag:!0,ai:!0,al:!0,am:!0,ao:!0,aq:!0,ar:!0,as:!0,at:!0,au:!0,"au-aboriginal":!0,"au-act":!0,"au-nsw":!0,"au-nt":!0,"au-qld":!0,"au-tas":!0,"au-vic":!0,"au-wa":!0,aw:!0,ax:!0,az:!0,ba:!0,bb:!0,bd:!0,be:!0,bf:!0,bg:!0,bh:!0,bi:!0,bj:!0,bl:!0,bm:!0,bn:!0,bo:!0,"bq-bo":!0,"bq-sa":!0,"bq-se":!0,bq:!0,br:!0,bs:!0,bt:!0,bv:!0,bw:!0,by:!0,bz:!0,"ca-bc":!0,ca:!0,cc:!0,cd:!0,cf:!0,cg:!0,"ch-gr":!0,ch:!0,ci:!0,ck:!0,cl:!0,cm:!0,"cn-xj":!0,cn:!0,co:!0,cp:!0,cq:!0,cr:!0,cu:!0,cv:!0,cw:!0,cx:!0,cy:!0,cz:!0,de:!0,dg:!0,dj:!0,dk:!0,dm:!0,do:!0,dz:!0,ea:!0,earth:!0,east_african_federation:!0,easter_island:!0,"ec-w":!0,ec:!0,ee:!0,eg:!0,eh:!0,er:!0,"es-ar":!0,"es-ce":!0,"es-cn":!0,"es-ct":!0,"es-ga":!0,"es-ib":!0,"es-ml":!0,"es-pv":!0,"es-variant":!0,es:!0,"et-or":!0,"et-ti":!0,et:!0,eu:!0,european_union:!0,ewe:!0,fi:!0,fj:!0,fk:!0,fm:!0,fo:!0,"fr-20r":!0,"fr-bre":!0,"fr-cp":!0,fr:!0,fx:!0,ga:!0,"gb-con":!0,"gb-eng":!0,"gb-nir":!0,"gb-ork":!0,"gb-sct":!0,"gb-wls":!0,gb:!0,gd:!0,"ge-ab":!0,ge:!0,gf:!0,gg:!0,gh:!0,gi:!0,gl:!0,gm:!0,gn:!0,gp:!0,gq:!0,gr:!0,gs:!0,gt:!0,gu:!0,guarani:!0,gw:!0,gy:!0,hausa:!0,hk:!0,hm:!0,hmong:!0,hn:!0,hr:!0,ht:!0,hu:!0,ic:!0,id:!0,"id-jb":!0,"id-jt":!0,ie:!0,il:!0,im:!0,"in-as":!0,"in-gj":!0,"in-ka":!0,"in-or":!0,"in-tn":!0,in:!0,io:!0,iq:!0,ir:!0,is:!0,"it-23":!0,"it-82":!0,"it-88":!0,it:!0,je:!0,jm:!0,jo:!0,jp:!0,kanuri:!0,ke:!0,kg:!0,kh:!0,ki:!0,kikuyu:!0,km:!0,kn:!0,kongo:!0,kp:!0,kr:!0,kurdistan:!0,kw:!0,ky:!0,kz:!0,la:!0,lb:!0,lc:!0,li:!0,lk:!0,lr:!0,ls:!0,lt:!0,lu:!0,lv:!0,ly:!0,ma:!0,malayali:!0,manipur:!0,maori:!0,mc:!0,md:!0,me:!0,mf:!0,mg:!0,mh:!0,mizoram:!0,mk:!0,ml:!0,mm:!0,mn:!0,mo:!0,mp:!0,mq:!0,mr:!0,ms:!0,mt:!0,mu:!0,mv:!0,mw:!0,mx:!0,my:!0,mz:!0,na:!0,nato:!0,nc:!0,ne:!0,nf:!0,ng:!0,ni:!0,"nl-fr":!0,nl:!0,no:!0,northern_cyprus:!0,np:!0,nr:!0,nu:!0,nz:!0,occitania:!0,olympics:!0,om:!0,otomi:!0,pa:!0,pe:!0,pf:!0,pg:!0,ph:!0,"pk-jk":!0,"pk-sd":!0,pk:!0,pl:!0,pm:!0,pn:!0,pr:!0,ps:!0,"pt-20":!0,"pt-30":!0,pt:!0,pw:!0,py:!0,qa:!0,quechua:!0,re:!0,ro:!0,rs:!0,ru:!0,"ru-ba":!0,"ru-ce":!0,"ru-cu":!0,"ru-da":!0,"ru-ko":!0,"ru-ta":!0,"ru-ud":!0,rw:!0,sa:!0,sami:!0,sb:!0,sc:!0,sd:!0,se:!0,sg:!0,"sh-ac":!0,"sh-hl":!0,"sh-ta":!0,sh:!0,si:!0,sj:!0,sk:!0,sl:!0,sm:!0,sn:!0,so:!0,somaliland:!0,south_ossetia:!0,soviet_union:!0,sr:!0,ss:!0,st:!0,su:!0,sv:!0,sx:!0,sy:!0,sz:!0,ta:!0,tc:!0,td:!0,tf:!0,tg:!0,th:!0,tibet:!0,tj:!0,tk:!0,tl:!0,tm:!0,tn:!0,to:!0,torres_strait_islands:!0,tr:!0,transnistria:!0,tt:!0,tv:!0,tw:!0,tz:!0,ua:!0,ug:!0,uk:!0,um:!0,un:!0,united_nations:!0,"us-hi":!0,us:!0,uy:!0,uz:!0,va:!0,vc:!0,ve:!0,vg:!0,vi:!0,vn:!0,vu:!0,wf:!0,wiphala:!0,ws:!0,xk:!0,xx:!0,ye:!0,yorubaland:!0,yt:!0,za:!0,zm:!0,zw:!0},g=["countryCode","cdnUrl"],v=function(e){var t,n,r=e.countryCode,i=e.cdnUrl,a=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}(e,g);return s.createElement("img",p({"data-testid":"circle-country-flag"},(t=(m[r]?r:"xx").toLowerCase(),void 0===n&&(n=""),p({},a,{title:a.title||t,height:a.height||100,src:""+(i||"https://react-circle-flags.pages.dev/")+n+t+".svg"}))))},y=n(17325);let b=y.XrR,w=(e,t)=>{let{options:n=b,onChange:i,defaultValue:o,disabled:c=!1,placeholder:p="Select a country",slim:m=!1,isError:g=!1,...w}
21=e,[x,C]=(0,s.useState)(!1),[E,S]=(0,s.useState)(void 0),A=(0,s.useMemo)(()=>n.map(e=>{var t;return{...e,name:null!=(t=(0,y.qQz)(e.alpha2))?t:e.name}}),[n]);(0,s.useEffect)(()=>{if(o){let e=A.find(e=>e.alpha2===o);e?S(e):S(void 0)}else S(void 0)},[o,A]);let k=(0,s.useCallback)(e=>{S(e),null==i||i(e),C(!1)},[i]),N=(0,a.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-white px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",{"w-20":!0===m,"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":g});return(0,r.jsxs)(l.AM,{open:x,onOpenChange:C,children:[(0,r.jsxs)(l.Wv,{ref:t,className:N,disabled:c,...w,children:[E?(0,r.jsxs)("div",{className:"flex w-0 grow items-center gap-2 overflow-hidden",children:[(0,r.jsx)("div",{className:"inline-flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-full",children:(0,r.jsx)(v,{c
21ountryCode:E.alpha2.toLowerCase(),height:20})}),!1===m&&(0,r.jsx)("span",{className:"truncate",children:E.name})]}):(0,r.jsx)("span",{className:"text-muted-foreground",children:!1===m?p||S.name:(0,r.jsx)(d,{size:20})}),(0,r.jsx)(h.A,{size:16})]}),(0,r.jsx)(l.hl,{collisionPadding:10,side:"bottom",className:"min-w-[--radix-popper-anchor-width] p-0",children:(0,r.jsx)(u.uB,{className:"max-h-[200px] w-full sm:max-h-[270px]",children:(0,r.jsxs)(u.oI,{children:[(0,r.jsx)("div",{className:"bg-popover sticky top-0 z-10",children:(0,r.jsx)(u.G7,{placeholder:"Rechercher un pays..."})}),(0,r.jsx)(u.xL,{children:"Aucun pays trouv\xe9"}),(0,r.jsx)(u.L$,{children:A.filter(e=>e.name).map((e,t)=>(0,r.jsxs)(u.h_,{className:"flex w-full items-center gap-2",onSelect:()=>k(e),children:[(0,r.jsxs)("div",{className:"flex w-0 grow space-x-2 overflow-hidden",children:[(0,r.jsx)("div",{className:"inline-flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-full",children:(0,r.jsx)(v,{countryCode:e.alpha2.toLowerCase(),height:20})}),(0,r.jsx)("span",{className:"truncate",children:e.name})]}),(0,r.jsx)(f,{className:(0,a.cn)("ml-auto h-4 w-4 shrink-0",e.name===(null==E?void 0:E.name)?"opacity-100":"opacity-0")})]},t))})]})})})]})};w.displayName="CountryDropdownComponent";let x=(0,s.forwardRef)(w);function C(e){let{control:t,name:n,label:s,className:l,asName:u=!1,disabled:c}=e;return(0,r.jsx)(i.zB,{control:t,name:n,render:e=>{let{field:t,fieldState:{error:n}}=e,d=(0,y.RuJ)(t.value);return(0,r.jsxs)(i.eI,{className:(0,a.cn)(o.sl,l),children:[s?(0,r.jsx)(i.lR,{className:o.Ci,children:s}):null,(0,r.jsx)(x,{placeholder:"S\xe9lectionner un pays",defaultValue:d,onChange:e=>{t.onChange(u?(0,y.qQz)(e.alpha2):e.alpha2)},isError:!!n,disabled:c})]})}})}},83588:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}},83817:(e,t,n)=>{var r=n(7855);e.exports=function(e,t){return r(e,t)}},83965:(e,t,n)=>{var r=n(65517),i=n(12342);e.exports=function e(t,n,a,o,s){var l=-1,u=t.length;for(a||(a=i),s||(s=[]);++l<u;){var c=t[l];n>0&&a(c)?n>1?e(c,n-1,a,o,s):r(s,c):o||(s[s.length]=c)}return s}},85272:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(99034);function i(e,t,n){let[i,a]=(0,r.x)(null==n?void 0:n.in,e,t);return 12*(i.getFullYear()-a.getFullYear())+(i.getMonth()-a.getMonth())}},85596:(e,t,n)=>{"use strict";var r=n(55729),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,o=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),o(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},86152:e=>{e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},86347:(e,t,n)=>{var r=n(33863),i=n(1278),a=n(5549);e.exports=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a},86414:(e,t,n)=>{var r=n(89139);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},86496:(e,t,n)=>{"use strict";n.d(t,{r:()=>s,m:()=>o});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",opacity:"0.2"}),r.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z"}))]]),o=r.forwardRef((e,t)=>
21r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="FunnelIcon";let s=o},86959:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(65436);function i(e,t){return(0,r.a)(e)-(0,r.a)(t)}},87414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(6029),i=n(52444),a=n(49769),o=n(55729),s=n(46102),l=n(39794),u=n(65403),c=n(32337),d=n(35077);function h(e){let{className:t,inputDecorator:n,afterInputDecorator:i,elementsDecorator:a,placeholder:h,searchElements:f,inputValue:p,onChange:m,isError:g=!1,disabled:v=!1}=e,[y,b]=(0,o.useState)(!1),w=(0,o.useRef)(null),[x,C]=(0,o.useState)(null),E=(0,o.useRef)(null);f=f.slice(0,7);let S=e=>{e||C(null),b(e)},A=e=>{S(!0),m(e)},k=e=>{A(e),S(!1)},N=y&&f.length>0;return(0,r.jsx)("div",{className:(0,l.cn)(t),children:(0,r.jsxs)(d.AM,{open:N,modal:!1,children:[(0,r.jsxs)(d.Wv,{className:"relative w-full",tabIndex:-1,children:[n&&(0,r.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-2 m-[auto,0] flex items-center hover:cursor-text",children:n}),(0,r.jsx)(c.p,{ref:w,value:p,onFocus:()=>S(!0),onBlur:e=>{E.current&&!E.current.contains(e.relatedTarget)&&S(!1)},onKeyDown:e=>{S(!0),"ArrowDown"===e.key?(e.preventDefault(),C(e=>null===e||e===f.length-1?0:e+1)):"ArrowUp"===e.key?(e.preventDefault(),C(e=>null===e||0===e?f.length-1:e-1)):"Enter"===e.key&&null!==x?(e.preventDefault(),k(f[x])):"Escape"===e.key&&S(!1)},onChange:e=>A({label:e.target.value,value:null}),placeholder:h,className:(0,l.cn)(s.Ol,"w-full",{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":g,"pl-8":n},t),"aria-haspopup":"listbox","aria-expanded":N,"aria-controls":"search-element-list",disabled:v}),i&&(0,r.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-2 m-[auto,0] flex items-center hover:cursor-text",children:i})]}),(0,r.jsx)(d.hl,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),align:"start",className:"w-fit max-w-md p-1",children:(0,r.jsx)("ul",{className:"space-y-[2px]",ref:E,role:"listbox",id:"search-element-list",children:f.map((e,t)=>(0,r.jsx)("li",{id:"search-element-".concat(t),role:"option","aria-selected":x===t,children:(0,r.jsxs)(u.$,{className:(0,l.cn)("size-full justify-start gap-1 px-2",{"bg-accent text-accent-foreground  min-w-fit overflow-visible":x===t}),variant:"null",type:"button",onClick:()=>k(e),onMouseEnter:()=>C(t),children:[a,(0,r.jsx)("span",{className:"w-fit truncate text-base font-semibold leading-relaxed text-gray-700",children:e.label})]})},t))})})]})})}var f=n(64713);function p(e){let{control:t,isMapApiLoaded:n,name:u,label:c,placeholder:d,className:p,inputClassName:m,onPlaceFind:g,setValue:v,disabled:y,setAddress:b,setLocationFilter:w,setLocationAndFilter:x,inputDecorator:C,afterInputDecorator:E}=e,S=(0,o.useRef)(null),A=(0,o.useRef)(null),[k,N]=(0,o.useState)([]);return(0,o.useEffect)(()=>{if(n&&(S.current||(S.current=new google.maps.places.AutocompleteService),!A.current)){let e=new google.maps.Map(document.createElement("div"));A.current=new google.maps.places.PlacesService(e)}},[n]),(0,r.jsx)(f.zB,{control:t,name:u,render:e=>{var t,n;let{field:o,fieldState:u}=e;return(0,r.jsxs)(f.eI,{className:(0,l.cn)(s.sl,p),children:[c&&(0,r.jsx)(f.lR,{children:c}),(0,r.jsx)(f.MJ,{children:(0,r.jsx)(h,{className:m,elementsDecorator:(0,r.jsx)(i.T,{size:20,className:"text-primary-500 shrink-0"}),inputDecorator:C||(0,r.jsx)(a.$,{size:20,className:"text-primary-500 shrink-0"}),afterInputDecorator:E||null,placeholder:d,searchElements:k.map(e=>({label:e.description,value:e.place_id})),inputValue:null!=(n=null==(t=o.value)?void 0:t.address)?n:"",onChange:e=>((e,t)=>{let{label:n,value:r}=e;r&&A.current?A.current.getDetails({placeId:r},(e,n)=>{if(n===google.maps.places.PlacesServiceStatus.OK&&e){var r,i,a,o,s,l,u,c,d,h,f,p;if(g&&!1===g(e))return;let n=null==(i=e.address_components)||null==(r=i.find(e=>e.types.includes("postal_code")))?void 0:r.long_name,m=null==(o=e.address_components)||null==(a=o.find(e=>e.types.includes("locality")))?void 0:a.long_name,y=null==(l=e.address_components)||null==(s=l.find(e=>e.types.includes("country")))?void 0:s.long_name,b=null!=(f=null==(c=e.geometry)||null==(u=c.location)?void 0:u.lat())?f:null,C=null!=(p=null==(h=e.geometry)||null==(d=h.location)?void 0:d.lng())?p:null,E=e.formatted_address;null==v||v(E),x&&b&&C&&E?x({lat:b,lng:C},E,null!=n?n:null,null!=m?m:null,null!=y?y:null):null==w||w(null!=n?n:null,null!=m?m:null,null!=y?y:null),t.onChange({address:E,lat:b,long:C,zipCode:n,city:m,country:y})}}):(t.onChange({address:n,lat:null,long:null,zipCode:null,city:null,country:null}),null==w||w(null,null,null)),S.current&&S.current.getPlacePredictions({input:n},(e,t)=>{e&&t===google.maps.places.PlacesServiceStatus.OK&&N(e)}),null==b||b(n)})(e,o),isError:!!u.error,disabled:y})})]})}})}},87540:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{Gn:()=>tH,XI:()=>ty,jK:()=>tA,l_:()=>tW,qT:()=>to,sH:()=>eM,yl:()=>tN});var i,a,o,s,l,u={};function c(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:u}var d=Object.assign,h=Object.getOwnPropertyDescriptor,f=Object.defineProperty,p=Object.prototype,m=[];Object.freeze(m);var g={};Object.freeze(g);var v="undefined"!=typeof Proxy,y=Object.toString();function b(){v||r("Proxy not available")}function w(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var x=function(){};function C(e){return"function"==typeof e}function E(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function S(e){return null!==e&&"object"==typeof e}function A(e){if(!S(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===y}function k(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function N(e,t,n){f(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}
21function P(e,t,n){f(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function I(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return S(e)&&!0===e[n]}}function T(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function O(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var L=void 0!==Object.getOwnPropertySymbols,M="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:L?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function D(e){return null===e?null:"object"==typeof e?""+e:e}function j(e,t){return p.hasOwnProperty.call(e,t)}var _=Object.getOwnPropertyDescriptors||function(e){var t={};return M(e).forEach(function(n){t[n]=h(e,n)}),t};function R(e,t,n){return n?e|=t:e&=~t,e}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r.key),r)}}function B(e,t,n){return t&&z(e.prototype,t),n&&z(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return F(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function q(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return(H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Z=Symbol("mobx-stored-annotations");function W(e){return Object.assign(function(t,n){if($(n))return e.decorate_20223_(t,n);G(t,n,e)},e)}function G(e,t,n){j(e,Z)||N(e,Z,U({},e[Z])),"override"!==n.annotationType_&&(e[Z][t]=n)}function $(e){return"object"==typeof e&&"string"==typeof e.kind}var K=Symbol("mobx administration"),Y=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=o.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
21return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return ti(this)},t.reportChanged=function(){tn(),ta(this),tr()},t.toString=function(){return this.name_},B(e,[{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=R(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=R(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=R(this.flags_,e.diffValueMask_,1===t)}}])}();Y.isBeingObservedMask_=1,Y.isPendingUnobservationMask_=2,Y.diffValueMask_=4;var X=I("Atom",Y);function Q(e,t,n){void 0===t&&(t=x),void 0===n&&(n=x);var r=new Y(e);return t!==x&&tE("onBO",r,t,void 0),n!==x&&tC(r,n),r}var J={structural:function(e,t){return nE(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function ee(e,t,n){if(tj(e))return e;if(Array.isArray(e))return eM.array(e,{name:n});if(A(e))return eM.object(e,void 0,{name:n});if(T(e))return eM.map(e,{name:n});if(O(e))return eM.set(e,{name:n});if("function"==typeof e&&!tw(e)&&!tD(e))if(k(e))return tL(e);else return tb(n,e);return e}function et(e){return e}function en(e,t){return{annotationType_:e,options_:t,make_:er,extend_:ei,decorate_20223_:ea}}function er(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return+(null!==this.extend_(e,t,n,!1));if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(tw(n.value))return 1;var i,a=eo(e,this,t,n,!1);return f(r,t,a),2}function ei(e,t,n,r){var i=eo(e,this,t,n);return e.defineProperty_(t,i,r)}function ea(e,t){var n,i=t.kind,a=t.name,o=t.addInitializer,s=this,l=function(e){var t,n,r,i;return eU(null!=(t=null==(n=s.options_)?void 0:n.name)?t:a.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return tw(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(tw(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this[a].bind(this);e.isMobxAction=!0,this[a]=e}),e):void r("Cannot apply '"+s.annotationType_+"' to '"+String(a)+"' (kind: "+i+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function eo(e,t,n,r,i){void 0===i&&(i=e7.safeDescriptors),t.annotationType_,r.value;var a,o,s,l,u,c,d,h,f=r.value;return null!=(a=t.options_)&&a.bound&&(f=f.bind(null!=(h=e.proxy_)?h:e.target_)),{value:eU(null!=(o=null==(s=t.options_)?void 0:s.name)?o:n.toString(),f,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function es(e,t){return{annotationType_:e,options_:t,make_:el,extend_:eu,decorate_20223_:ec}}function el(e,t,n,r){if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(null!=(i=this.options_)&&i.bound&&(!j(e.target_,t)||!tD(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tD(n.value))return 1;var i,a=ed(e,this,t,n,!1,!1);return f(r,t,a),2}function eu(e,t,n,r){var i,a=ed(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,a,r)}function ec(e,t){var n,r=t.name,i=t.addInitializer;return tD(e)||(e=tL(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function ed(e,t,n,r,i,a){void 0===a&&(a=e7.safeDescriptors),t.annotationType_,r.value;var o,s=r.value;return tD(s)||(s=tL(s)),i&&((s=s.bind(null!=(o=e.proxy_)?o:e.target_)).isMobXFlow=!0),{value:s,configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function eh(e,t){return{annotationType_:e,options_:t,make_:ef,extend_:ep,decorate_20223_:em}}function ef(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function ep(e,t,n,r){var i,a;return i=this,a=n,i.annotationType_,a.get,e.defineComputedProperty_(t,U({},this.options_,{get:n.get,set:n.set}),r)}function em(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=no(this)[K],i=U({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new eW(i))}),function(){return this[K].getObservablePropValue_(r)}}function eg(e,t){return{annotationType_:e,options_:t,make_:ev,extend_:ey,decorate_20223_:eb}}function ev(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function ey(e,t,n,r){var i,a,o;return o=this,o.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(a=this.options_)?void 0:a.enhancer)?i:ee,r)}function eb(e,t){var n=this,r=t.kind,i=t.name,a=new WeakSet;function o(e,t){var r,o,s=no(e)[K],l=new eZ(t,null!=(r=null==(o=n.options_)?void 0:o.enhancer)?r:ee,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),a.add(e)}if("accessor"==r)return{get:function(){return a.has(this)||o(this,e.get.call(this)),this[K].getObservablePropValue_(i)},set:function(e){return a.has(this)||o(this,e),this[K].setObservablePropValue_(i,e)},init:function(e){return a.has(this)||o(this,e),e}}}var ew=ex();function ex(e){return{annotationType_:"true",options_:e,make_:eC,extend_:eE,decorate_20223_:eS}}function eC(e,t,n,r){if(n.get)return eR.make_(e,t,n,r);if(n.set){var i,a,o,s,l,u=eU(t.toString(),n.set);return r===e.target_?2*(null!==e.defineProperty_(t,{configurable:!e7.safeDescriptors||e.isPlainObject_,set:u})):(f(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return k(n.value)?(null!=(s=this.options_)&&s.autoBind?tL.bound:tL).make_(e,t,n,r):(null!=(o=this.options_)&&o.autoBind?tb.bound:tb).make_(e,t,n,r);var c=(null==(i=this.options_)?void 0:i.deep)===!1?eM.ref:eM;return"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function eE(e,t,n,r){var i,a,o;return n.get?eR.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!e7.safeDescriptors||e.isPlainObject_,set:eU(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(o=e.proxy_)?o:e.target_)),((null==(a=this.options_)?void 0:a.deep)===!1?eM.ref:eM).extend_(e,t,n,r))}function eS(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var eA={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eA);var ek=eg("observable"),eN=eg("observable.ref",{enhancer:et}),eP=eg("observable.shallow",{enhancer:function(e,t,n){return null==e||nu(e)||t5(e)||t8(e)||nt(e)?e:Array.isArray(e)?eM.array(e,{name:n,deep:!1}):A(e)?eM.object(e,void 0,{name:n,deep:!1}):T(e)?eM.map(e,{name:n,deep:!1}):O(e)?eM.set(e,{name:n,deep:!1}):void 0}}),eI=eg("observable.struct",{enhancer:function(e,t){return nE(e,t)?t:e}}),eT=W(ek);function eO(e){var t,n,r;return!0===e.deep?ee:!1===e.deep?et:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:ee}
21function eL(e,t,n){return $(t)?ek.decorate_20223_(e,t):E(t)?void G(e,t,ek):tj(e)?e:A(e)?eM.object(e,t,n):Array.isArray(e)?eM.array(e,t):T(e)?eM.map(e,t):O(e)?eM.set(e,t):"object"==typeof e&&null!==e?e:eM.box(e,t)}d(eL,eT);var eM=d(eL,{box:function(e,t){var n=t||eA;return new eZ(e,eO(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eA;return(!1===e7.useProxies||!1===n.proxy?function(e,t,n){return new ng(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),b(),nx(function(){var i=new tY(n,t,r,!1);P(i.values_,K,i);var a=new Proxy(i.values_,tK);return i.proxy_=a,e&&e.length&&i.spliceWithArray_(0,0,e),a})})(e,eO(n),n.name)},map:function(e,t){var n=t||eA;return new t6(e,eO(n),n.name)},set:function(e,t){var n=t||eA;return new ne(e,eO(n),n.name)},object:function(e,t,n){return nx(function(){var r,i,a,o;return tk(!1===e7.useProxies||(null==n?void 0:n.proxy)===!1?no({},n):(r={},i=n,b(),null!=(o=(a=(r=no(r,i))[K]).proxy_)?o:a.proxy_=new Proxy(r,tR)),e,t)})},ref:W(eN),shallow:W(eP),deep:eT,struct:W(eI)}),eD="computed",ej=eh(eD),e_=eh("computed.struct",{equals:J.structural}),eR=function(e,t){if($(t))return ej.decorate_20223_(e,t);if(E(t))return G(e,t,ej);if(A(e))return W(eh(eD,e));var n=A(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new eW(n)};Object.assign(eR,ej),eR.struct=W(e_);var eF=0,ez=1,eB=null!=(i=null==(a=h(function(){},"name"))?void 0:a.configurable)&&i,eV={value:"action",configurable:!0,writable:!1,enumerable:!1};function eU(e,t,n,i){function a(){return function(e,t,n,i,a){var o,s,l,u,c,d,h=(o=t,s=e7.trackingDerivation,l=!o||!s,tn(),u=e7.allowStateChanges,l&&(e1(),u=eq(!0)),eF=(c={runAsAction_:l,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:e5(!0),notifySpy_:!1,startTime_:0,actionId_:ez++,parentActionId_:eF}).actionId_,c);try{return n.apply(i,a)}catch(e){throw h.error_=e,e}finally{eF!==(d=h).actionId_&&r(30),eF=d.parentActionId_,void 0!==d.error_&&(e7.suppressReactionErrors=!0),eH(d.prevAllowStateChanges_),e4(d.prevAllowStateReads_),tr(),d.runAsAction_&&e2(d.prevDerivation_),e7.suppressReactionErrors=!1}}(e,n,t,i||this,arguments)}return void 0===n&&(n=!1),a.isMobxAction=!0,a.toString=function(){return t.toString()},eB&&(eV.value=e,f(a,"name",eV)),a}function eq(e){var t=e7.allowStateChanges;return e7.allowStateChanges=e,t}function eH(e){e7.allowStateChanges=e}var eZ=function(e){function t(t,n,r,i,a){var o;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===a&&(a=J.default),(o=e.call(this,r)||this).enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=n,o.name_=r,o.equals=a,o.value_=n(t,void 0,r),o}q(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==e7.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(eX(this),tF(this)){var t=tB(this,{object:this,type:t$,newValue:e});if(!t)return e7.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?e7.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tV(this)&&tq(this,{type:t$,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tz(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t$,newValue:this.value_,oldValue:void 0}),tU(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return D(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Y),eW=function(){function e(e){this.dependenciesState_=o.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=o.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e$(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=s.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eU("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?J.structural
21:J.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){var e;e=this,e.lowestObserverState_===o.UP_TO_DATE_&&(e.lowestObserverState_=o.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===o.UP_TO_DATE_&&(e.dependenciesState_=o.POSSIBLY_STALE_,e.onBecomeStale_())}))},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==e7.inBatch||0!==this.observers_.size||this.keepAlive_){if(ti(this),eY(this)){var e,t=e7.trackingContext;this.keepAlive_&&!t&&(e7.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==o.STALE_&&(e.lowestObserverState_=o.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===o.POSSIBLY_STALE_?t.dependenciesState_=o.STALE_:t.dependenciesState_===o.UP_TO_DATE_&&(e.lowestObserverState_=o.UP_TO_DATE_)}))),e7.trackingContext=t}}else eY(this)&&(this.warnAboutUntrackedRead_(),tn(),this.value_=this.computeValue_(!1),tr());var n=this.value_;if(eK(n))throw n.cause;return n},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===o.NOT_TRACKING_,n=this.computeValue_(!0),r=t||eK(e)||eK(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=eq(!1);if(e)t=eQ(this,this.derivation,this.scope_);else if(!0===e7.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e$(e)}return eH(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(eJ(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){void 0===t&&(t=g);var n,r,i,a,o,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l,u=(l=t).scheduler?l.scheduler:l.delay?function(e){return setTimeout(e,l.delay)}:tx,c=!1;o=new to(s,function(){c||(c=!0,u(function(){c=!1,o.isDisposed||o.track(d)}))},t.onError,t.requiresObservable)}else o=new to(s,function(){this.track(d)},t.onError,t.requiresObservable);function d(){e(o)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||o.schedule_(),o.getDisposer_(null==(a=t)?void 0:a.signal)}(function(){var a=n.get();if(!r||t){var o=e1();e({observableKind:"computed",debugObjectName:n.name_,type:t$,object:n,newValue:a,oldValue:i}),e2(o)}r=!1,i=a})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return D(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},B(e,[{key:"isComputing",get:function(){return!!(this.flags_&e.isComputingMask_)},set:function(t){this.flags_=R(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return!!(this.flags_&e.isRunningSetterMask_)},set:function(t){this.flags_=R(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=R(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=R(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=R(this.flags_,e.diffValueMask_,1===t)}}])}();eW.isComputingMask_=1,eW.isRunningSetterMask_=2,eW.isBeingObservedMask_=4,eW.isPendingUnobservationMask_=8,eW.diffValueMask_=16;var eG=I("ComputedValue",eW);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(o||(o={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(s||(s={}));var e$=function(e){this.cause=void 0,this.cause=e};function eK(e){return e instanceof e$}function eY(e){switch(e.dependenciesState_){case o.UP_TO_DATE_:return!1;case o.NOT_TRACKING_:case o.STALE_:return!0;case o.POSSIBLY_STALE_:for(var t=e5(!0),n=e1(),r=e.observing_,i=r.length,a=0;a<i;a++){var s=r[a];if(eG(s)){if(e7.disableErrorBoundaries)s.get();else try{s.get()}catch(e){return e2(n),e4(t),!0}
21if(e.dependenciesState_===o.STALE_)return e2(n),e4(t),!0}}return e3(e),e2(n),e4(t),!1}}function eX(e){}function eQ(e,t,n){var r,i=e5(!0);e3(e),e.newObserving_=Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++e7.runId;var a=e7.trackingDerivation;if(e7.trackingDerivation=e,e7.inBatch++,!0===e7.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new e$(e)}return e7.inBatch--,e7.trackingDerivation=a,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=o.UP_TO_DATE_,i=0,a=e.unboundDepsCount_,s=0;s<a;s++){var l=n[s];0===l.diffValue&&(l.diffValue=1,i!==s&&(n[i]=l),i++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=i,e.newObserving_=null,a=t.length;a--;){var u=t[a];0===u.diffValue&&te(u,e),u.diffValue=0}for(;i--;){var c,d,h=n[i];1===h.diffValue&&(h.diffValue=0,c=h,d=e,c.observers_.add(d),c.lowestObserverState_>d.dependenciesState_&&(c.lowestObserverState_=d.dependenciesState_))}r!==o.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),e4(i),r}function eJ(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)te(t[n],e);e.dependenciesState_=o.NOT_TRACKING_}function e0(e){var t=e1();try{return e()}finally{e2(t)}}function e1(){var e=e7.trackingDerivation;return e7.trackingDerivation=null,e}function e2(e){e7.trackingDerivation=e}function e5(e){var t=e7.allowStateReads;return e7.allowStateReads=e,t}function e4(e){e7.allowStateReads=e}function e3(e){if(e.dependenciesState_!==o.UP_TO_DATE_){e.dependenciesState_=o.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=o.UP_TO_DATE_}}var e6=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},e8=!0,e9=!1,e7=function(){var e=c();return(e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(e8=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new e6().version&&(e8=!1),e8)?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new e6):(setTimeout(function(){e9||r(35)},1),new e6)}();function te(e,t){e.observers_.delete(t),0===e.observers_.size&&tt(e)}function tt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,e7.pendingUnobservations.push(e))}function tn(){e7.inBatch++}function tr(){if(0==--e7.inBatch){tl();for(var e=e7.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof eW&&n.suspend_())}e7.pendingUnobservations=[]}}function ti(e){var t=e7.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&e7.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&e7.inBatch>0&&tt(e),!1)}function ta(e){e.lowestObserverState_!==o.STALE_&&(e.lowestObserverState_=o.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===o.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=o.STALE_}))}var to=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=o.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=s.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,e7.pendingReactions.push(this),tl())},t.runReaction_=function(){if(!this.isDisposed){tn(),this.isScheduled=!1;var e=e7.trackingContext;if(e7.trackingContext=this,eY(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}e7.trackingContext=e,tr()}},t.track=function(e){if(!this.isDisposed){tn(),this.isRunning=!0;var t=e7.trackingContext;e7.trackingContext=this;var n=eQ(this,e,void 0);e7.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&eJ(this),eK(n)&&this.reportExceptionInDerivation_(n.cause),tr()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(e7.disableErrorBoundaries)throw e;e7.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),e7.globalReactionErrorHandlers.forEac
21h(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed&&(this.isDisposed=!0,this.isRunning||(tn(),eJ(this),tr()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[K]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},B(e,[{key:"isDisposed",get:function(){return!!(this.flags_&e.isDisposedMask_)},set:function(t){this.flags_=R(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return!!(this.flags_&e.isScheduledMask_)},set:function(t){this.flags_=R(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return!!(this.flags_&e.isTrackPendingMask_)},set:function(t){this.flags_=R(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return!!(this.flags_&e.isRunningMask_)},set:function(t){this.flags_=R(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=R(this.flags_,e.diffValueMask_,1===t)}}])}();to.isDisposedMask_=1,to.isScheduledMask_=2,to.isTrackPendingMask_=4,to.isRunningMask_=8,to.diffValueMask_=16;var ts=function(e){return e()};function tl(){e7.inBatch>0||e7.isRunningReactions||ts(tu)}function tu(){e7.isRunningReactions=!0;for(var e=e7.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}e7.isRunningReactions=!1}var tc=I("Reaction",to),td="action",th="autoAction",tf=en(td),tp=en("action.bound",{bound:!0}),tm=en(th,{autoAction:!0}),tg=en("autoAction.bound",{autoAction:!0,bound:!0});function tv(e){return function(t,n){return C(t)?eU(t.name||"<unnamed action>",t,e):C(n)?eU(t,n,e):$(n)?(e?tm:tf).decorate_20223_(t,n):E(n)?G(t,n,e?tm:tf):E(t)?W(en(e?th:td,{name:t,autoAction:e})):void 0}}var ty=tv(!1);Object.assign(ty,tf);var tb=tv(!0);function tw(e){return C(e)&&!0===e.isMobxAction}Object.assign(tb,tm),ty.bound=W(tp),tb.bound=W(tg);var tx=function(e){return e()};function tC(e,t,n){return tE("onBUO",e,t,n)}function tE(e,t,n,r){var i="function"==typeof r?nb(t,n):nb(t),a=C(r)?r:n,o=e+"L";return i[o]?i[o].add(a):i[o]=new Set([a]),function(){var e=i[o];e&&(e.delete(a),0===e.size&&delete i[o])}}var tS="always";function tA(e){!0===e.isolateGlobalState&&function(){if((e7.pendingReactions.length||e7.inBatch||e7.isRunningReactions)&&r(36),e9=!0,e8){var e=c();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),e7=new e6}}();var t,n,i=e.useProxies,a=e.enforceActions;if(void 0!==i&&(e7.useProxies=i===tS||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(e7.verifyProxies=!0),void 0!==a){var o=a===tS?tS:"observed"===a;e7.enforceActions=o,e7.allowStateChanges=!0!==o&&o!==tS}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(e7[t]=!!e[t])}),e7.allowStateReads=!e7.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=ts,ts=function(e){return t(function(){return n(e)})})}function tk(e,t,n,r){var i=_(t);return nx(function(){var t=no(e,r)[K];M(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}function tN(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=Array.from(new Set(t.observing_)).map(e)),n}(nb(e,t))}var tP=0;function tI(){this.message="FLOW_CANCELLED"}tI.prototype=Object.create(Error.prototype);var tT=es("flow"),tO=es("flow.bound",{bound:!0}),tL=Object.assign(function(e,t){if($(t))return tT.decorate_20223_(e,t);if(E(t))return G(e,t,tT);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tP,a=ty(n+" - runid: "+i+" - init",e).apply(this,r),o=void 0,s=new Promise(function(e,r){var s=0;function l(e){var t;o=void 0;try{t=ty(n+" - runid: "+i+" - yield "+s++,a.next).call(a,e)}catch(e){return r(e)}c(t)}function u(e){var t;o=void 0;try{t=ty(n+" - runid: "+i+" - yield "+s++,a.throw).call(a,e)}catch(e){return r(e)}c(t)}function c(t){return C(null==t?void 0:t.then)?void t.then(c,r):t.done?e(t.value):(o=Promise.resolve(t.value)).then(l,u)}t=r,l(void 0)});return s.cancel=ty(n+" - runid: "+i+" - cancel",function(){try{o&&tM(o);var e=a.return(void 0),n=Promise.resolve(e.value);n.then(x,x),tM(n),t(new tI)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tT);function tM(e){C(e.cancel)&&e.cancel()}function tD(e){return(null==e?void 0:e.isMobXFlow)===!0}function tj(e){return!!e&&(nu(e)||!!e[K]||X(e)||tc(e)||eG(e))}function t_(e,t){void 0===t&&(t=void 0),tn();try{return e.apply(t)}finally{tr()}}tL.bound=W(tO);var tR={has:function(e,t){return e[K].has_(t)},get:function(e,t){return e[K].get_(t)},set:function(e,t,n){var r;
21return!!E(t)&&(null==(r=e[K].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!E(t)&&(null==(n=e[K].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[K].defineProperty_(t,n))||r},ownKeys:function(e){return e[K].ownKeys_()},preventExtensions:function(e){r(13)}};function tF(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tz(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),w(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tB(e,t){var n=e1();try{for(var i=[].concat(e.interceptors_||[]),a=0,o=i.length;a<o&&((t=i[a](t))&&!t.type&&r(14),t);a++);return t}finally{e2(n)}}function tV(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tU(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),w(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tq(e,t){var n=e1(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,a=r.length;i<a;i++)r[i](t);e2(n)}}function tH(e,t,n){return nx(function(){var r=no(e,n)[K];null!=t||(j(e,Z)||N(e,Z,U({},e[Z])),t=e[Z]),M(t).forEach(function(e){return r.make_(e,t[e])})}),e}var tZ=Symbol("mobx-keys");function tW(e,t,n){return A(e)?tk(e,e,t,n):(nx(function(){var r=no(e,n)[K];if(!e[tZ]){var i=Object.getPrototypeOf(e),a=new Set([].concat(M(e),M(i)));a.delete("constructor"),a.delete(K),N(i,tZ,a)}e[tZ].forEach(function(e){return r.make_(e,!t||!(e in t)||t[e])})}),e)}var tG="splice",t$="update",tK={get:function(e,t){var n=e[K];return t===K?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?j(tX,t)?tX[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[K];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},tY=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new Y(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return tz(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tU(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&ny(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=m),tF(this)){var a=tB(this,{object:this.proxy_,type:tG,index:e,removedCount:t,added:n});if(!a)return m;t=a.removedCount,n=a.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var o=n.length-t;this.updateArrayLength_(i,o)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var o=0;o<n.length;o++)this.values_[e+o]=n[o];for(var s=0;s<a.length;s++)this.values_[e+n.length+s]=a[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=tV(this),a=i||r?{observableKind:"array",object:this.proxy_,type:t$,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&tq(this,a)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=tV(this),a=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:tG,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&tq(this,a)},t.get_=function(e){return this.legacyMode_&&e>=this.values_.length?void console.warn("[mobx] Out of bounds read: "+e):(this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]))},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(tF(this)){var a=tB(this,{type:t$,object:this.proxy_,index:e,newValue:t});if(!a)return;t=a.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var o=Array(e+1-n.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=t,this.spliceWithArray_(n.length,0,o)}},e}(),tX={clear:function(){return this.splice(0)},replace:function(e){var t=this[K];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=this[K];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(e);case 2:return a.spliceWithArray_(e,t)}return a.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[K].spliceWithArray_(e,t,n)},push:function(){for(var e=this[K],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[K].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[K],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return e7.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){e7.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[K],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function tQ(e,t){"function"==typeof Array.prototype[e]&&(tX[e]=t(e))}function tJ(e){return function(){var t=this[K];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t0(e){return function(t,n){var r=this,i=this[K];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t1(e){return function(){var t=this,n=this[K];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}
21tQ("at",tJ),tQ("concat",tJ),tQ("flat",tJ),tQ("includes",tJ),tQ("indexOf",tJ),tQ("join",tJ),tQ("lastIndexOf",tJ),tQ("slice",tJ),tQ("toString",tJ),tQ("toLocaleString",tJ),tQ("toSorted",tJ),tQ("toSpliced",tJ),tQ("with",tJ),tQ("every",t0),tQ("filter",t0),tQ("find",t0),tQ("findIndex",t0),tQ("findLast",t0),tQ("findLastIndex",t0),tQ("flatMap",t0),tQ("forEach",t0),tQ("map",t0),tQ("some",t0),tQ("toReversed",t0),tQ("reduce",t1),tQ("reduceRight",t1);var t2=I("ObservableArrayAdministration",tY);function t5(e){return S(e)&&t2(e[K])}var t4={},t3="delete",t6=function(){function e(e,t,n){var i=this;void 0===t&&(t=ee),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[K]=t4,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,C(Map)||r(18),nx(function(){i.keysAtom_=Q("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!e7.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new eZ(this.has_(e),et,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tC(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tF(this)){var r=tB(this,{type:n?t$:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(eX(this.keysAtom_),tF(this)&&!tB(this,{type:t3,object:this,name:e}))return!1;if(this.has_(e)){var n=tV(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:t3,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return t_(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tq(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==e7.UNCHANGED){var r=tV(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t$,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tq(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,t_(function(){var r,i=new eZ(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tV(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tq(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return t9({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return t9({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=V(this);!(n=r()).done;){var i=n.value,a=i[0],o=i[1];e.call(t,o,a,this)}},t.merge=function(e){var t=this;return t8(e)&&(e=new Map(e)),t_(function(){A(e)?(function(e){var t=Object.keys(e);if(!L)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return p.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):T(e)?(null!==Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(e)))&&r(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&r(20,e)}),this},t.clear=function(){var e=this;t_(function(){e0(function(){for(var t,n=V(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return t_(function(){for(var n,i=function(e){if(T(e)||t8(e))return e;if(Array.isArray(e))return new Map(e);if(!A(e))return r(21,e);var t=new Map;for(var n in e)t.set(n,e[n]);return t}(e),a=new Map,o=!1,s=V(t.data_.keys());!(n=s()).done;){var l=n.value;if(!i.has(l))if(t.delete(l))o=!0;else{var u=t.data_.get(l);a.set(l,u)}}for(var c,d=V(i.entries());!(c=d()).done;){var h=c.value,f=h[0],p=h[1],m=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var g=t.data_.get(f);a.set(f,g),m||(o=!0)}}if(!o)if(t.data_.size!==a.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),y=a.keys(),b=v.next(),w=y.next();!b.done;){if(b.value!==w.value){t.keysAtom_.reportChanged();break}b=v.next(),w=y.next()}t.data_=a}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return tU(this,e)},t.intercept_=function(e){return tz(this,e)},B(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),t8=I("ObservableMap",t6);function t9(e){return e[Symbol.toStringTag]="MapIterator",nk(e)}var t7={},ne=function(){function e(e,t,n){var i=this;void 0===t&&(t=ee),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[K]=t7,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,C(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},nx(function(){i.atom_=Q(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;t_(function(){e0(function(){for(var t,n=V(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=V(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(eX(this.atom_),tF(this)){var n=tB(this,{type:"add",object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){t_(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=tV(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;r&&tq(this,i)}return this},t.delete=function(e){var t=this;if(tF(this)&&!tB(this,{type:t3,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tV(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:t3,object:this,oldValue:e}:null;return t_(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tq(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return nn({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return nn({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},t.intersection=function(e){return O(e)&&!nt(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return O(e)&&!nt(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return O(e)&&!nt(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return O(e)&&!nt(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return nt(e)&&(e=new Set(e)),t_(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):O(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return tU(this,e)},t.intercept_=function(e){return tz(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},B(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),nt=I("ObservableSet",ne);function nn(e){return e[Symbol.toStringTag]="SetIterator",nk(e)}var nr=Object.create(null),ni="remove",na=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ew),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=ne
21w Y("ObservableObject.keys"),this.isPlainObject_=A(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof eW)return n.set(t),!0;if(tF(this)){var r=tB(this,{type:t$,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==e7.UNCHANGED){var i=tV(this),a=i?{type:t$,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&tq(this,a)}return!0},t.get_=function(e){return e7.trackingDerivation&&!j(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return(void 0===n&&(n=!1),j(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!e7.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new eZ(e in this.target_,et,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(nd(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[Z])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==p;){var a=h(i,e);if(a){var o=t.make_(this,e,a,i);if(0===o)return;if(1===o)break}i=Object.getPrototypeOf(i)}nc(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&nc(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tn();var r=this.delete_(e);if(!r)return r;if(tF(this)){var i=tB(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var a=i.newValue;t.value!==a&&(t=U({},t,{value:a}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else f(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{tr()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{tn();var i=this.delete_(e);if(!i)return i;if(tF(this)){var a=tB(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!a)return null;t=a.newValue}var o=nl(e),s={configurable:!e7.safeDescriptors||this.isPlainObject_,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else f(this.target_,e,s);var l=new eZ(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{tr()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tn();var r=this.delete_(e);if(!r)return r;if(tF(this)&&!tB(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=nl(e),a={configurable:!e7.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else f(this.target_,e,a);this.values_.set(e,new eW(t)),this.notifyPropertyAddition_(e,void 0)}finally{tr()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),eX(this.keysAtom_),!j(this.target_,e))return!0;if(tF(this)&&!tB(this,{object:this.proxy_||this.target_,name:e,type:ni}))return null;try{tn();var n,r,i=tV(this),a=this.values_.get(e),o=void 0;if(!a&&(i||0)&&(o=null==(r=h(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof eZ&&(o=a.value_),ta(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i||0){var s={type:ni,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:o,name:e};i&&tq(this,s)}}finally{tr()}return!0},t.observe_=function(e,t){return tU(this,e)},t.intercept_=function(e){return tz(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=tV(this);if(r){var i=r?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&tq(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),M(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function no(e,t){if(j(e,K))return e;var n,r,i=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",a=new na(e,new Map,String(i),t?null!=(n=t.defaultDecorator)?n:ex(t):void 0);return N(e,K,a),e}var ns=I("ObservableObjectAdministration",na);function nl(e){return nr[e]||(nr[e]={get:function(){return this[K].getObservablePropValue_(e)}
21,set:function(t){return this[K].setObservablePropValue_(e,t)}})}function nu(e){return!!S(e)&&ns(e[K])}function nc(e,t,n){var r;null==(r=e.target_[Z])||delete r[n]}function nd(e,t,n){}var nh=nv(0),nf=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)["0"]=1,!1===e}(),np=0,nm=function(){};!function(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(nm,Array.prototype);var ng=function(e){function t(t,n,r,i){var a;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),a=e.call(this)||this,nx(function(){var e=new tY(r,n,i,!0);e.proxy_=a,P(a,K,e),t&&t.length&&a.spliceWithArray(0,0,t),nf&&Object.defineProperty(a,"0",nh)}),a}q(t,e);var n=t.prototype;return n.concat=function(){this[K].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return t5(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return nk({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},B(t,[{key:"length",get:function(){return this[K].getArrayLength_()},set:function(e){this[K].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(nm);function nv(e){return{enumerable:!1,configurable:!0,get:function(){return this[K].get_(e)},set:function(t){this[K].set_(e,t)}}}function ny(e){if(e>np){for(var t,n=np;n<e+100;n++)t=n,f(ng.prototype,""+t,nv(t));np=e}}function nb(e,t){if("object"==typeof e&&null!==e){if(t5(e))return void 0!==t&&r(23),e[K].atom_;if(nt(e))return e.atom_;if(t8(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,nw(e)),n}if(nu(e)){if(!t)return r(26);var i=e[K].values_.get(t);return i||r(27,t,nw(e)),i}if(X(e)||eG(e)||tc(e))return e}else if(C(e)&&tc(e[K]))return e[K];r(28)}function nw(e,t){var n;if(void 0!==t)n=nb(e,t);else{if(tw(e))return e.name;n=nu(e)||t8(e)||nt(e)?function e(t,n){return(t||r(29),void 0!==n)?e(nb(t,n)):X(t)||eG(t)||tc(t)||t8(t)||nt(t)?t:t[K]?t[K]:void r(24,t)}(e):nb(e)}return n.name_}function nx(e){var t=e1(),n=eq(!0);tn();try{return e()}finally{tr(),eH(n),e2(t)}}Object.entries(tX).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&N(ng.prototype,t,n)}),ny(1e3);var nC=p.toString;function nE(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,a){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var o=typeof t;if("function"!==o&&"object"!==o&&"object"!=typeof n)return!1;var s=nC.call(t);if(s!==nC.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nS(t),n=nS(n);var l="[object Array]"===s;if(!l){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,c=n.constructor;if(u!==c&&!(C(u)&&u instanceof u&&C(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),a=a||[];for(var d=(i=i||[]).length;d--;)if(i[d]===t)return a[d]===n;if(i.push(t),a.push(n),l){if((d=t.length)!==n.length)return!1;for(;d--;)if(!e(t[d],n[d],r-1,i,a))return!1}else{var h=Object.keys(t),f=h.length;if(Object.keys(n).length!==f)return!1;for(var p=0;p<f;p++){var m=h[p];if(!(j(n,m)&&e(t[m],n[m],r-1,i,a)))return!1}}return i.pop(),a.pop(),!0}(e,t,n)}function nS(e){return t5(e)?e.slice():T(e)||t8(e)||O(e)||nt(e)?Array.from(e.entries()):e}var nA=(null==(l=c().Iterator)?void 0:l.prototype)||{};function nk(e){return e[Symbol.iterator]=nN,Object.assign(Object.create(nA),e)}function nN(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===c()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:nw},$mobx:K})},87567:(e,t,n)=>{var r=n(29778),i=n(43701),a=n(16799);e.exports=function(e){return a(e)?r(e):i(e)}},87837:(e,t,n)=>{var r=n(60567),i=0;e.exports=function(e){var t=++i;return r(e)+t}}
21,88274:(e,t,n)=>{var r=n(24127);e.exports=function(e){return function(t){return r(t,e)}}},88601:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},88606:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(25739),i=n(88846),a=n(6730),o=n(65436);function s(e,t){var n,s,l,u,c,d,h,f;let p=(0,o.a)(e,null==t?void 0:t.in),m=p.getFullYear(),g=(0,r.q)(),v=null!=(f=null!=(h=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(s=t.locale)||null==(n=s.options)?void 0:n.firstWeekContainsDate)?d:g.firstWeekContainsDate)?h:null==(u=g.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?f:1,y=(0,i.w)((null==t?void 0:t.in)||e,0);y.setFullYear(m+1,0,v),y.setHours(0,0,0,0);let b=(0,a.k)(y,t),w=(0,i.w)((null==t?void 0:t.in)||e,0);w.setFullYear(m,0,v),w.setHours(0,0,0,0);let x=(0,a.k)(w,t);return+p>=+b?m+1:+p>=+x?m:m-1}},88846:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(70238);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},89139:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},89546:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(25739);function i(){return Object.assign({},(0,r.q)())}},90198:(e,t,n)=>{"use strict";n.d(t,{S:()=>T});var r=n(6029),i=n(55729),a=n(40041),o=n(99829),s=n(25269),l=n(16697),u=n(38719),c=n(24347),d=n(78749),h=n(19639),f="Checkbox",[p,m]=(0,o.A)(f),[g,v]=p(f);function y(e){let{__scopeCheckbox:t,checked:n,children:a,defaultChecked:o,disabled:s,form:u,name:c,onCheckedChange:d,required:h,value:p="on",internal_do_not_use_render:m}=e,[v,y]=(0,l.i)({prop:n,defaultProp:o??!1,onChange:d,caller:f}),[b,w]=i.useState(null),[x,C]=i.useState(null),E=i.useRef(!1),S=!b||!!u||!!b.closest("form"),A={checked:v,disabled:s,setChecked:y,control:b,setControl:w,name:c,form:u,value:p,hasConsumerStoppedPropagationRef:E,required:h,defaultChecked:!k(o)&&o,isFormControl:S,bubbleInput:x,setBubbleInput:C};return(0,r.jsx)(g,{scope:t,...A,children:"function"==typeof m?m(A):a})}var b="CheckboxTrigger",w=i.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...o},l)=>{let{control:u,value:c,disabled:d,checked:f,required:p,setControl:m,setChecked:g,hasConsumerStoppedPropagationRef:y,isFormControl:w,bubbleInput:x}=v(b,e),C=(0,a.s)(l,m),E=i.useRef(f);return i.useEffect(()=>{let e=u?.form;if(e){let t=()=>g(E.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[u,g]),(0,r.jsx)(h.sG.button,{type:"button",role:"checkbox","aria-checked":k(f)?"mixed":f,"aria-required":p,"data-state":N(f),"data-disabled":d?"":void 0,disabled:d,value:c,...o,ref:C,onKeyDown:(0,s.mK)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,s.mK)(n,e=>{g(e=>!!k(e)||!e),x&&w&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})})});w.displayName=b;var x=i.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:i,checked:a,defaultChecked:o,required:s,disabled:l,value:u,onCheckedChange:c,form:d,...h}=e;return(0,r.jsx)(y,{__scopeCheckbox:n,checked:a,defaultChecked:o,disabled:l,required:s,onCheckedChange:c,name:i,form:d,value:u,internal_do_not_use_render:({isFormControl:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{...h,ref:t,__scopeCheckbox:n}),e&&(0,r.jsx)(A,{__scopeCheckbox:n})]})})});x.displayName=f;var C="CheckboxIndicator",E=i.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:i,...a}=e,o=v(C,n);return(0,r.jsx)(d.C,{present:i||k(o.checked)||!0===o.checked,children:(0,r.jsx)(h.sG.span,{"data-state":N(o.checked),"data-disabled":o.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});E.displayName=C;var S="CheckboxBubbleInput",A=i.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:o,hasConsumerStoppedPropagationRef:s,checked:l,defaultChecked:d,required:f,disabled:p,name:m,value:g,form:y,bubbleInput:b,setBubbleInput:w}=v(S,e),x=(0,a.s)(n,w),C=(0,u.Z)(l),E=(0,c.X)(o);i.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!s.current;if(C!==l&&e){let n=new Event("click",{bubbles:t});
21b.indeterminate=k(l),e.call(b,!k(l)&&l),b.dispatchEvent(n)}},[b,C,l,s]);let A=i.useRef(!k(l)&&l);return(0,r.jsx)(h.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:d??A.current,required:f,disabled:p,name:m,value:g,form:y,...t,tabIndex:-1,ref:x,style:{...t.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function k(e){return"indeterminate"===e}function N(e){return k(e)?"indeterminate":e?"checked":"unchecked"}A.displayName=S;var P=n(50016),I=n(39794);let T=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,r.jsx)(x,{ref:t,className:(0,I.cn)("border-primary focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground peer h-4 w-4 shrink-0 rounded-sm border shadow focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",n),...i,children:(0,r.jsx)(E,{className:(0,I.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(P.Srz,{className:"size-4"})})})});T.displayName=x.displayName},90271:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},90843:(e,t,n)=>{var r=n(50515);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,a=e==e,o=r(e),s=void 0!==t,l=null===t,u=t==t,c=r(t);if(!l&&!c&&!o&&e>t||o&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!a)return 1;if(!i&&!o&&!c&&e<t||c&&n&&a&&!i&&!o||l&&n&&a||!s&&a||!u)return -1}return 0}},91353:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},91544:e=>{e.exports=Array.isArray},91609:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(55729);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=a(e,r)),t&&(i.current=a(t,r))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91625:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(55729),i=n(11211);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),r.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l
21-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(i.A,{ref:t,...e,weights:a}));o.displayName="PaperPlaneTiltIcon";let s=o},91994:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},92351:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={API_URL:"https://api.connect-events.fr/api",API_HOST:"https://api.connect-events.fr",NEXT_PUBLIC_DOCUMENTS_BUCKET_NAME:"ac-expo-bucket-prod-files",NEXT_PUBLIC_MEDIAS_BUCKET_NAME:"ac-expo-bucket-prod-medias",NEXT_PUBLIC_TICKETS_BUCKET_NAME:"ac-expo-bucket-prod-tickets",BACKOFFICE_URL:"https://app.connect-events.fr",NEXT_MEDIAS_CLOUDFRONT_BASE_URL:"https://d7roni70vs32b.cloudfront.net",NEXT_BASE_URL:"https://www.connect-events.fr",NEXT_PUBLIC_SENTRY_DSN:"https://12eafa44ba129b090f8fd9784448c8a8@o4509627932999680.ingest.de.sentry.io/4509638775799888"}},92402:(e,t)=>{"use strict";function n(e){var t;let{config:n,src:r,width:i,quality:a}=e,o=a||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return n.path+"?url="+encodeURIComponent(r)+"&w="+i+"&q="+o+(r.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},92434:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(65436);function i(e,t){return+(0,r.a)(e)<+(0,r.a)(t)}},92486:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),i=n(90198),a=n(46102),o=n(58718),s=n(55729),l=n(78383),u=n.n(l);let c=e=>{let{toggleText:t,resetField:n,initialVisible:l=!0,onCheckedChange:c=u(),...d}=e,{name:h}=d,f="toggle-field-".concat(h),[p,m]=(0,s.useState)(l);return(0,s.useEffect)(()=>{m(l)},[l]),(0,r.jsxs)(r.Fragment,{children:[p&&(0,r.jsx)(o.A,{...d}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.S,{className:a.t5,id:f,checked:!p,onCheckedChange:e=>{e&&n(h),m(e=>!e),c(e)}}),(0,r.jsx)("label",{className:"text-sm text-gray-500",htmlFor:f,children:t})]})]})}},92786:(e,t,n)=>{var r=n(36592);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},92803:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(25739),i=n(65436);function a(e,t){var n,a,o,s,l,u,c,d;let h=(0,r.q)(),f=null!=(d=null!=(c=null!=(u=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(a=t.locale)||null==(n=a.options)?void 0:n.weekStartsOn)?u:h.weekStartsOn)?c:null==(s=h.locale)||null==(o=s.options)?void 0:o.weekStartsOn)?d:0,p=(0,i.a)(e,null==t?void 0:t.in),m=p.getDay();return p.setDate(p.getDate()+((m<f?-7:0)+6-(m-f))),p.setHours(23,59,59,999),p}},92812:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},93248:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},93251:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>s,jE:()=>o});var r=n(55729),i=n(6029),a=r.createContext(void 0),o=e=>{let t=r.useContext(a);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(a.Provider,{value:e,children:t}))},93409:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function h(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:c,column:d};return function(t){return t.position=new p(e),v(r),t}}function p(e){this.start=e,this.end={line:c,column:d},this.source=l.source}p.prototype.content=e;var m=[];function g(t){var n=Error(l.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=d,n.source=e,l.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}v(r);var w,x=[];for(y(x);w=function(){var e=f(),n=v(i);if(n){if(b(),!v(a))return g("property missing ':'");var r=v(o),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(s),l}}();)!1!==w&&(x.push(w),y(x));return x}},93520:(e,t,n)=>{"use strict";n.d(t,{Fu:()=>e2,KD:()=>q,P3:()=>tM,T6:()=>y,i3:()=>tD,u6:()=>S});var r,i,a,o,s,l,u,c=n(6029),d=n(55729),h=n(56760);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t,n){var r;return(r=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==f(r)?r:r+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
21function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g=m(i?r:(i=1,r=function(e,t,n,r,i,a,o,s){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(l=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}})),v=(0,d.createContext)(null);function y(){g(!!d.useContext,"useGoogleMap is React hook and requires React version 16.8+");var e=(0,d.useContext)(v);return g(!!e,"useGoogleMap needs a GoogleMap available up in the tree"),e}function b(e){google.maps.event.removeListener(e)}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(b)}function x(e){var t,n,r,i,{updaterMap:a,eventMap:o,prevProps:s,nextProps:l,instance:u}=e,c=(t=function(e,t,n){return"function"==typeof l[n]&&e.push(google.maps.event.addListener(u,t,l[n])),e},n=[],Object.keys(o).reduce(function(e,n){return t(e,o[n],n)},n));return r={},i=(e,t)=>{var n=l[t];n!==s[t]&&(r[t]=n,e(u,n))},Object.keys(a).forEach(e=>i(a[e],e)),c}var C={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},E={extraMapTypes(e,t){t.forEach(function(t,n){e.mapTypes.set(String(n),t)})},center(e,t){e.setCenter(t)},clickableIcons(e,t){e.setClickableIcons(t)},heading(e,t){e.setHeading(t)},mapTypeId(e,t){e.setMapTypeId(t)},options(e,t){e.setOptions(t)},streetView(e,t){e.setStreetView(t)},tilt(e,t){e.setTilt(t)},zoom(e,t){e.setZoom(t)}};(0,d.memo)(function(e){var{children:t,options:n,id:r,mapContainerStyle:i,mapContainerClassName:a,center:o,onClick:s,onDblClick:l,onDrag:u,onDragEnd:h,onDragStart:f,onMouseMove:p,onMouseOut:m,onMouseOver:g,onMouseDown:y,onMouseUp:b,onRightClick:w,onCenterChanged:x,onLoad:C,onUnmount:E}=e,[S,A]=(0,d.useState)(null),k=(0,d.useRef)(null),[N,P]=(0,d.useState)(null),[I,T]=(0,d.useState)(null),[O,L]=(0,d.useState)(null),[M,D]=(0,d.useState)(null),[j,_]=(0,d.useState)(null),[R,F]=(0,d.useState)(null),[z,B]=(0,d.useState)(null),[V,U]=(0,d.useState)(null),[q,H]=(0,d.useState)(null),[Z,W]=(0,d.useState)(null),[G,$]=(0,d.useState)(null),[K,Y]=(0,d.useState)(null);return(0,d.useEffect)(()=>{n&&null!==S&&S.setOptions(n)},[S,n]),(0,d.useEffect)(()=>{null!==S&&void 0!==o&&S.setCenter(o)},[S,o]),(0,d.useEffect)(()=>{S&&l&&(null!==I&&google.maps.event.removeListener(I),T(google.maps.event.addListener(S,"dblclick",l)))},[l]),(0,d.useEffect)(()=>{S&&h&&(null!==O&&google.maps.event.removeListener(O),L(google.maps.event.addListener(S,"dragend",h)))},[h]),(0,d.useEffect)(()=>{S&&f&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(S,"dragstart",f)))},[f]),(0,d.useEffect)(()=>{S&&y&&(null!==j&&google.maps.event.removeListener(j),_(google.maps.event.addListener(S,"mousedown",y)))},[y]),(0,d.useEffect)(()=>{S&&p&&(null!==R&&google.maps.event.removeListener(R),F(google.maps.event.addListener(S,"mousemove",p)))},[p]),(0,d.useEffect)(()=>{S&&m&&(null!==z&&google.maps.event.removeListener(z),B(google.maps.event.addListener(S,"mouseout",m)))},[m]),(0,d.useEffect)(()=>{S&&g&&(null!==V&&google.maps.event.removeListener(V),U(google.maps.event.addListener(S,"mouseover",g)))},[g]),(0,d.useEffect)(()=>{S&&b&&(null!==q&&google.maps.event.removeListener(q),H(google.maps.event.addListener(S,"mouseup",b)))},[b]),(0,d.useEffect)(()=>{S&&w&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(S,"rightclick",w)))},[w]),(0,d.useEffect)(()=>{S&&s&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(S,"click",s)))},[s]),(0,d.useEffect)(()=>{S&&u&&(null!==K&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(S,"drag",u)))},[u]),(0,d.useEffect)(()=>{S&&x&&(null!==N&&google.maps.event.removeListener(N),P(google.maps.event.addListener(S,"center_changed",x)))},[s]),(0,d.useEffect)(()=>{var e=null===k.current?null:new google.maps.Map(k.current,n);return A(e),null!==e&&C&&C(e),()=>{null!==e&&E&&E(e)}},[]),(0,c.jsx)("div",{id:r,ref:k,style:i,className:a,children:(0,c.jsx)(v.Provider,{value:S,children:null!==S?t:null})})});class S extends d.PureComponent{constructor(){super(...arguments),p(this,"state",{map:null}),p(this,"registeredEvents",[]),p(this,"mapRef",null),p(this,"getInstance",()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options)),p(this,"panTo",e=>{var t=this.getInstance();t&&t.panTo(e)}),p(this,"setMapCallback",()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)}),p(this,"getRef",e=>{this.mapRef=e})}componentDidMount(){var e=this.getInstance();this.registeredEvents=x({updaterMap:E,eventMap:C,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{map:e}},this.setMapCallback)}componentDidUpdate(e){null!==this.state.map&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:E,eventMap:C,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),w(this.registeredEvents))}render(){return(0,c.jsx)("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:(0,c.jsx)(v.Provider,{value:this.state.map,children:null!==this.state.map?this.props.children:null})})}}function A(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function k(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){A(a,r,i,o,s,"next",e)}function s(e){A(a,r,i,o,s,"throw",e)}o(void 0)})}}function N(e){var{googleMapsApiKey:t,googleMapsClientId:n,version:r="weekly",language:i,region:a,libraries:o,channel:s,mapIds:l,authReferrerPolicy:u,apiUrl:c="https://maps.googleapis.com"}=e,d=[];return g(t&&n||!(t&&n),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),t?d.push("key=".concat(t)):n&&d.push("client=".concat(n)),r&&d.push("v=".concat(r)),i&&d.push("language=".concat(i)),a&&d.push("region=".concat(a)),o&&o.length&&d.push("libraries=".concat(o.sort().join(","))),s&&d.push("channel=".concat(s)),l&&l.length&&d.push("map_ids=".concat(l.join(","))),u&&d.push("auth_referrer_policy=".concat(u)),d.push("loading=async"),d.push("callback=initMap"),"".concat(c,"/maps/api/js?").concat(d.join("&"))}var P="undefined"!=typeof document;function I(e){var{url:t,id:n,nonce:r}=e;return P?new Promise(function(e,i){var a=document.getElementById(n),o=window;if(a){var s=a.getAttribute("data-state");if(a.src===t&&"error"!==s)if("ready"===s)return e(n);else{var l=o.initMap,u=a.onerror;o.initMap=function(){l&&l(),e(n)},a.onerror=function(e){u&&u(e),i(e)};return}a.remove()}var c=document.createElement("script");c.type="text/javascript",c.src=t,c.id=n,c.async=!0,c.nonce=r||"",c.onerror=function(e){c.setAttribute("data-state","error"),i(e)},o.initMap=function(){c.setAttribute("data-state","ready"),e(n)},document.head.appendChild(c)}).catch(e=>{throw console.error("injectScript error: ",e),e}):Promise.reject(Error("document is undefined"))}function T(e){var t=e.href;return!!t&&(0===t.indexOf("https://fonts.googleapis.com/css?family=Roboto")||0===t.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text"))||("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",!0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",!0):"style"===e.tagName.toLowerCase()&&!e.styleSheet&&!e.innerHTML)}function O(){var e=document.getElementsByTagName("head")[0];if(e){var t=e.insertBefore.bind(e);e.insertBefore=function(n,r){return T(n)||Reflect.apply(t,e,[n,r]),n};var n=e.appendChild.bind(e);e.appendChild=function(t){return T(t)||Reflect.apply(n,e,[t]),t}}}var L=!1;function M(){return(0,c.jsx)("div",{children:"Loading..."})}var D={id:"script-loader",version:"weekly"};class j extends d.PureComponent{constructor(){super(...arguments),p(this,"check",null),p(this,"state",{loaded:!1}),p(this,"cleanupCallback",()=>{delete window.google.maps,this.injectScript()}),p(this,"isCleaningUp",k(function*(){return new Promise(function(e){if(L){if(P)var t=window.setInterval(function(){L||(window.clearInterval(t),e())},1)}else e()})})),p(this,"cleanup",()=>{L=!0;var e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(e){return"string"==typeof e.src&&e.src.includes("maps.googleapis")}
21).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href}).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")}).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}),p(this,"injectScript",()=>{this.props.preventGoogleFontsLoading&&O(),g(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id),I({id:this.props.id,nonce:this.props.nonce,url:N(this.props)}).then(()=>{this.props.onLoad&&this.props.onLoad(),this.setState(function(){return{loaded:!0}})}).catch(e=>{this.props.onError&&this.props.onError(e),console.error("\n          There has been an Error with loading Google Maps API script, please check that you provided correct google API key (".concat(this.props.googleMapsApiKey||"-",") or Client ID (").concat(this.props.googleMapsClientId||"-",") to <LoadScript />\n          Otherwise it is a Network issue.\n        "))})}),p(this,"getRef",e=>{this.check=e})}componentDidMount(){if(P){if(window.google&&window.google.maps&&!L)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch(function(e){console.error("Error at injecting script after cleaning up: ",e)})}}componentDidUpdate(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),P&&e.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))}componentWillUnmount(){if(P){this.cleanup();var e=()=>{this.check||(delete window.google,L=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{ref:this.getRef}),this.state.loaded?this.props.children:this.props.loadingElement||(0,c.jsx)(M,{})]})}}function _(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}p(j,"defaultProps",D);var R=["loadingElement","onLoad","onError","onUnmount","children"],F=(0,c.jsx)(M,{});(0,d.memo)(function(e){var{loadingElement:t,onLoad:n,onError:r,onUnmount:i,children:o}=e,{isLoaded:s,loadError:l}=function(e){var{id:t=D.id,version:n=D.version,nonce:r,googleMapsApiKey:i,googleMapsClientId:o,language:s,region:l,libraries:u,preventGoogleFontsLoading:c,channel:h,mapIds:f,authReferrerPolicy:p,apiUrl:m="https://maps.googleapis.com"}=e,v=(0,d.useRef)(!1),[y,b]=(0,d.useState)(!1),[w,x]=(0,d.useState)(void 0);(0,d.useEffect)(function(){return v.current=!0,()=>{v.current=!1}},[]),(0,d.useEffect)(function(){P&&c&&O()},[c]),(0,d.useEffect)(function(){y&&g(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[y]);var C=N({version:n,googleMapsApiKey:i,googleMapsClientId:o,language:s,region:l,libraries:u,channel:h,mapIds:f,authReferrerPolicy:p,apiUrl:m});(0,d.useEffect)(function(){if(P){if(window.google&&window.google.maps&&a===C)return void e();I({id:t,url:C,nonce:r}).then(e).catch(function(e){v.current&&x(e),console.warn("\n        There has been an Error with loading Google Maps API script, please check that you provided correct google API key (".concat(i||"-",") or Client ID (").concat(o||"-",")\n        Otherwise it is a Network issue.\n      ")),console.error(e)})}function e(){v.current&&(b(!0),a=C)}},[t,C,r]);var E=(0,d.useRef)(void 0);
21return(0,d.useEffect)(function(){E.current&&u!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=u},[u]),{isLoaded:y,loadError:w,url:C}}(_(e,R));return(0,d.useEffect)(function(){s&&"function"==typeof n&&n()},[s,n]),(0,d.useEffect)(function(){l&&"function"==typeof r&&r(l)},[l,r]),(0,d.useEffect)(function(){return()=>{i&&i()}},[i]),s?o:t||F}),"function"==typeof SuppressedError&&SuppressedError;var z=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}),B="__googleMapsScriptId";!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(o||(o={}));class V{constructor(e){var{apiKey:t,authReferrerPolicy:n,channel:r,client:i,id:a=B,language:o,libraries:s=[],mapIds:l,nonce:u,region:c,retries:d=3,url:h="https://maps.googleapis.com/maps/api/js",version:f}=e;if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=i,this.id=a||B,this.language=o,this.libraries=s,this.mapIds=l,this.nonce=u,this.region=c,this.retries=d,this.url=h,this.version=f,V.instance){if(!z(this.options,V.instance.options))throw Error("Loader must not be called again with different options. ".concat(JSON.stringify(this.options)," !== ").concat(JSON.stringify(V.instance.options)));return V.instance}V.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?o.FAILURE:this.done?o.SUCCESS:this.loading?o.LOADING:o.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){var e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+="&key=".concat(this.apiKey)),this.channel&&(e+="&channel=".concat(this.channel)),this.client&&(e+="&client=".concat(this.client)),this.libraries.length>0&&(e+="&libraries=".concat(this.libraries.join(","))),this.language&&(e+="&language=".concat(this.language)),this.region&&(e+="&region=".concat(this.region)),this.version&&(e+="&v=".concat(this.version)),this.mapIds&&(e+="&map_ids=".concat(this.mapIds.join(","))),this.authReferrerPolicy&&(e+="&auth_referrer_policy=".concat(this.authReferrerPolicy)),e}deleteScript(){var e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(n=>{n?t(n.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();var e,t,n,r,i,a,o,s,l,u,c,d,h,f={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(f).forEach(e=>!f[e]&&delete f[e]),(null==(h=null==(d=null==window?void 0:window.google)?void 0:d.maps)?void 0:h.importLibrary)||(r="google",i="importLibrary",a=document,s=(o=(o=window)[r]||(o[r]={})).maps||(o.maps={}),l=new Set,u=new URLSearchParams,c=()=>e||(e=new Promise((i,o)=>{var c,d,h;return c=this,d=void 0,h=function*(){var c;for(n in yield t=a.createElement("script"),t.id=this.id,u.set("libraries",[...l]+""),f)u.set(n.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),f[n]);u.set("callback",r+".maps.__ib__"),t.src=this.url+"?"+u,s.__ib__=i,t.onerror=()=>e=o(Error("The Google Maps JavaScript API could not load.")),t.nonce=this.nonce||(null==(c=a.querySelector("script[n
21once]"))?void 0:c.nonce)||"",a.head.append(t)},new(d||(d=Promise))(function(e,t){function n(e){try{i(h.next(e))}catch(e){t(e)}}function r(e){try{i(h.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):((i=t.value)instanceof d?i:new d(function(e){e(i)})).then(n,r)}i((h=h.apply(c,[])).next())})})),s[i]?console.warn("The Google Maps JavaScript API only loads once. Ignoring:",f):s[i]=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.add(e)&&c().then(()=>s[i](e,...n))});var p=this.libraries.map(e=>this.importLibrary(e));p.length||p.push(this.importLibrary("core")),Promise.all(p).then(()=>this.callback(),e=>{var t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){var t=this.errors.length*Math.pow(2,this.errors.length);console.error("Failed to load Google Maps script, retrying in ".concat(t," ms.")),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}var U=["maps"];function q(e){var{id:t=D.id,version:n=D.version,nonce:r,googleMapsApiKey:i,language:a,region:o,libraries:s=U,preventGoogleFontsLoading:l,mapIds:u,authReferrerPolicy:c}=e,h=(0,d.useRef)(!1),[f,p]=(0,d.useState)(!1),[m,g]=(0,d.useState)(void 0);(0,d.useEffect)(function(){return h.current=!0,()=>{h.current=!1}},[]);var v=(0,d.useMemo)(()=>new V({id:t,apiKey:i,version:n,libraries:s,language:a||"en",region:o||"US",mapIds:u||[],nonce:r||"",authReferrerPolicy:c||"origin"}),[t,i,n,s,a,o,u,r,c]);(0,d.useEffect)(function(){f||v.load().then(()=>{h.current&&p(!0)}).catch(e=>{g(e)})},[]),(0,d.useEffect)(()=>{P&&l&&O()},[l]);var y=(0,d.useRef)();return(0,d.useEffect)(()=>{y.current&&s!==y.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),y.current=s},[s]),{isLoaded:f,loadError:m}}function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var W={},G={options(e,t){e.setOptions(t)}};(0,d.memo)(function(e){var{options:t,onLoad:n,onUnmount:r}=e,i=(0,d.useContext)(v),[a,o]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==a&&a.setMap(i)},[i]),(0,d.useEffect)(()=>{t&&null!==a&&a.setOptions(t)},[a,t]),(0,d.useEffect)(()=>{var e=new google.maps.TrafficLayer(Z(Z({},t),{},{map:i}));return o(e),n&&n(e),()=>{null!==a&&(r&&r(a),a.setMap(null))}},[]),null});class $ extends d.PureComponent{constructor(){super(...arguments),p(this,"state",{trafficLayer:null}),p(this,"setTrafficLayerCallback",()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)}),p(this,"registeredEvents",[])}componentDidMount(){var e=new google.maps.TrafficLayer(Z(Z({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:G,eventMap:W,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{trafficLayer:e}},this.setTrafficLayerCallback)}componentDidUpdate(e){null!==this.state.trafficLayer&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:G,eventMap:W,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),w(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}p($,"contextType",v),(0,d.memo)(function(e){var{onLoad:t,onUnmount:n}=e,r=(0,d.useContext)(v),[i,a]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==i&&i.setMap(r)},[r]),(0,d.useEffect)(()=>{var e=new google.maps.BicyclingLayer;return a(e),e.setMap(r),t&&t(e),()=>{null!==e&&(n&&n(e),e.setMap(null))}},[]),null});class K extends d.PureComponent{constructor(){super(...arguments),p(this,"state",{bicyclingLayer:null}),p(this,"setBicyclingLayerCallback",()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))})}componentDidMount(){var e=new google.maps.BicyclingLayer;this.setState(()=>({bicyclingLayer:e}),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}p(K,"contextType",v),(0,d.memo)(function(e){var{onLoad:t,onUnmount:n}=e,r=(0,d.useContext)(v),[i,a]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==i&&i.setMap(r)},[r]),(0,d.useEffect)(()=>{var e=new google.maps.TransitLayer;return a(e),e.setMap(r),t&&t(e),()=>{null!==i&&(n&&n(i),i.setMap(null))}},[]),null});class Y extends d.PureComponent{constructor(){super(...arguments),p(this,"state",{transitLayer:null}),p(this,"setTransitLayerCallback",()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))})}componentDidMount(){var e=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:e}},this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?X(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(Y,"contextType",v);var J={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},ee={drawingMode(e,t){e.setDrawingMode(t)},options(e,t){e.setOptions(t)}};(0,d.memo)(function(e){var{options:t,drawingMode:n,onCircleComplete:r,onMarkerComplete:i,onOverlayComplete:a,onPolygonComplete:o,onPolylineComplete:s,onRectangleComplete:l,onLoad:u,onUnmount:c}=e,h=(0,d.useContext)(v),[f,p]=(0,d.useState)(null),[m,y]=(0,d.useState)(null),[b,w]=(0,d.useState)(null),[x,C]=(0,d.useState)(null),[E,S]=(0,d.useState)(null),[A,k]=(0,d.useState)(null),[N,P]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==f&&f.setMap(h)},[h]),(0,d.useEffect)(()=>{t&&null!==f&&f.setOptions(t)},[f,t]),(0,d.useEffect)(()=>{null!==f&&f.setDrawingMode(null!=n?n:null)},[f,n]),(0,d.useEffect)(()=>{f&&r&&(null!==m&&google.maps.event.removeListener(m),y(google.maps.event.addListener(f,"circlecomplete",r)))},[f,r]),(0,d.useEffect)(()=>{f&&i&&(null!==b&&google.maps.event.removeListener(b),w(google.maps.event.addListener(f,"markercomplete",i)))},[f,i]),(0,d.useEffect)(()=>{f&&a&&(null!==x&&google.maps.event.removeListener(x),C(google.maps.event.addListener(f,"overlaycomplete",a)))},[f,a]),(0,d.useEffect)(()=>{f&&o&&(null!==E&&google.maps.event.removeListener(E),S(google.maps.event.addListener(f,"polygoncomplete",o)))},[f,o]),(0,d.useEffect)(()=>{f&&s&&(null!==A&&google.maps.event.removeListener(A),k(google.maps.event.addListener(f,"polylinecomplete",s)))},[f,s]),(0,d.useEffect)(()=>{f&&l&&(null!==N&&google.maps.event.removeListener(N),P(google.maps.event.addListener(f,"rectanglecomplete",l)))},[f,l]),(0,d.useEffect)(()=>{g(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var e=new google.maps.drawing.DrawingManager(Q(Q({},t),{},{map:h}));return n&&e.setDrawingMode(n),r&&y(google.maps.event.addListener(e,"circlecomplete",r)),i&&w(google.maps.event.addListener(e,"markercomplete",i)),a&&C(google.maps.event.addListener(e,"overlaycomplete",a)),o&&S(google.maps.event.addListener(e,"polygoncomplete",o)),s&&k(google.maps.event.addListener(e,"polylinecomplete",s)),l&&P(google.maps.event.addListener(e,"rectanglecomplete",l)),p(e),u&&u(e),()=>{null!==f&&(m&&google.maps.event.removeListener(m),b&&google.maps.event.removeListener(b),x&&google.maps.event.removeListener(x),E&&google.maps.event.removeListener(E),A&&google.maps.event.removeListener(A),N&&google.maps.event.removeListener(N),c&&c(f),f.setMap(null))}},[]),null});class et extends d.PureComponent{constructor(e){super(e),p(this,"registeredEvents",[]),p(this,"state",{drawingManager:null}),p(this,"setDrawingManagerCallback",()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)}),g(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){var e=new google.maps.drawing.DrawingManager(Q(Q({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:ee,eventMap:J,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{drawingManager:e}},this.setDrawingManagerCallback)}componentDidUpdate(e){null!==this.state.drawingManager&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:ee,eventMap:J,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),w(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?en(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(et,"contextType",v);var ei={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},ea={animation(e,t){e.setAnimation(t)},clickable(e,t){e.setClickable(t)},cursor(e,t){e.setCursor(t)},draggable(e,t){e.setDraggable(t)},icon(e,t){e.setIcon(t)},label(e,t){e.setLabel(t)},map(e,t){e.setMap(t)},opacity(e,t){e.setOpacity(t)},options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},shape(e,t){e.setShape(t)},title(e,t){e.setTitle(t)},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},eo={};(0,d.memo)(function(e){var{position:t,options:n,clusterer:r,noClustererRedraw:i,children:a,draggable:o,visible:s,animation:l,clickable:u,cursor:h,icon:f,label:p,opacity:m,shape:g,title:y,zIndex:b,onClick:w,onDblClick:x,onDrag:C,onDragEnd:E,onDragStart:S,onMouseOut:A,onMouseOver:k,onMouseUp:N,onMouseDown:P,onRightClick:I,onClickableChanged:T,onCursorChanged:O,onAnimationChanged:L,onDraggableChanged:M,onFlatChanged:D,onIconChanged:j,onPositionChanged:_,onShapeChanged:R,onTitleChanged:F,onVisibleChanged:z,onZindexChanged:B,onLoad:V,onUnmount:U}=e,q=(0,d.useContext)(v),[H,Z]=(0,d.useState)(null),[W,G]=(0,d.useState)(null),[$,K]=(0,d.useState)(null),[Y,X]=(0,d.useState)(null),[Q,J]=(0,d.useState)(null),[ee,et]=(0,d.useState)(null),[en,ei]=(0,d.useState)(null),[ea,es]=(0,d.useState)(null),[el,eu]=(0,d.useState)(null),[ec,ed]=(0,d.useState)(null),[eh,ef]=(0,d.useState)(null),[ep,em]=(0,d.useState)(null),[eg,ev]=(0,d.useState)(null),[ey,eb]=(0,d.useState)(null),[ew,ex]=(0,d.useState)(null),[eC,eE]=(0,d.useState)(null),[eS,eA]=(0,d.useState)(null),[ek,eN]=(0,d.useState)(null),[eP,eI]=(0,d.useState)(null),[eT,eO]=(0,d.useState)(null),[eL,eM]=(0,d.useState)(null),[eD,ej]=(0,d.useState)(null);(0,d.useEffect)(()=>{null!==H&&H.setMap(q)},[q]),(0,d.useEffect)(()=>{void 0!==n&&null!==H&&H.setOptions(n)},[H,n]),(0,d.useEffect)(()=>{void 0!==o&&null!==H&&H.setDraggable(o)},[H,o]),(0,d.useEffect)(()=>{t&&null!==H&&H.setPosition(t)},[H,t]),(0,d.useEffect)(()=>{void 0!==s&&null!==H&&H.setVisible(s)},[H,s]),(0,d.useEffect)(()=>{null==H||H.setAnimation(l)},[H,l]),(0,d.useEffect)(()=>{H&&void 0!==u&&H.setClickable(u)},[H,u]),(0,d.useEffect)(()=>{H&&void 0!==h&&H.setCursor(h)},[H,h]),(0,d.useEffect)(()=>{H&&void 0!==f&&H.setIcon(f)},[H,f]),(0,d.useEffect)(()=>{H&&void 0!==p&&H.setLabel(p)},[H,p]),(0,d.useEffect)(()=>{H&&void 0!==m&&H.setOpacity(m)},[H,m]),(0,d.useEffect)(()=>{H&&void 0!==g&&H.setShape(g)},[H,g]),(0,d.useEffect)(()=>{H&&void 0!==y&&H.setTitle(y)},[H,y]),(0,d.useEffect)(()=>{H&&void 0!==b&&H.setZIndex(b)},[H,b]),(0,d.useEffect)(()=>{H&&x&&(null!==W&&google.maps.event.removeListener(W),G(google.maps.event.addListener(H,"dblclick",x)))},[x]),(0,d.useEffect)(()=>{H&&E&&(null!==$&&google.maps.event.removeListener($),K(google.maps.event.addListener(H,"dragend",E)))},[E]),(0,d.useEffect)(()=>{H&&S&&(null!==Y&&google.maps.event.removeListener(Y),X(google.maps.event.addListener(H,"dragstart",S)))},[S]),(0,d.useEffect)(()=>{H&&P&&(null!==Q&&google.maps.event.removeListener(Q),J(google.maps.event.addListener(H,"mousedown",P)))},[P]),(0,d.useEffect)(()=>{H&&A&&(null!==ee&&google.maps.event.removeListener(ee),et(google.maps.event.addListener(H,"mouseout",A)))},[A]),(0,d.useEffect)(()=>{H&&k&&(null!==en&&google.maps.event.removeListener(en),ei(google.maps.event.addListener(H,"mouseover",k)))},[k]),(0,d.useEffect)(()=>{H&&N&&(null!==ea&&google.maps.event.removeListener(ea),es(google.maps.event.addListener(H,"mouseup",N)))}
21,[N]),(0,d.useEffect)(()=>{H&&I&&(null!==el&&google.maps.event.removeListener(el),eu(google.maps.event.addListener(H,"rightclick",I)))},[I]),(0,d.useEffect)(()=>{H&&w&&(null!==ec&&google.maps.event.removeListener(ec),ed(google.maps.event.addListener(H,"click",w)))},[w]),(0,d.useEffect)(()=>{H&&C&&(null!==eh&&google.maps.event.removeListener(eh),ef(google.maps.event.addListener(H,"drag",C)))},[C]),(0,d.useEffect)(()=>{H&&T&&(null!==ep&&google.maps.event.removeListener(ep),em(google.maps.event.addListener(H,"clickable_changed",T)))},[T]),(0,d.useEffect)(()=>{H&&O&&(null!==eg&&google.maps.event.removeListener(eg),ev(google.maps.event.addListener(H,"cursor_changed",O)))},[O]),(0,d.useEffect)(()=>{H&&L&&(null!==ey&&google.maps.event.removeListener(ey),eb(google.maps.event.addListener(H,"animation_changed",L)))},[L]),(0,d.useEffect)(()=>{H&&M&&(null!==ew&&google.maps.event.removeListener(ew),ex(google.maps.event.addListener(H,"draggable_changed",M)))},[M]),(0,d.useEffect)(()=>{H&&D&&(null!==eC&&google.maps.event.removeListener(eC),eE(google.maps.event.addListener(H,"flat_changed",D)))},[D]),(0,d.useEffect)(()=>{H&&j&&(null!==eS&&google.maps.event.removeListener(eS),eA(google.maps.event.addListener(H,"icon_changed",j)))},[j]),(0,d.useEffect)(()=>{H&&_&&(null!==ek&&google.maps.event.removeListener(ek),eN(google.maps.event.addListener(H,"position_changed",_)))},[_]),(0,d.useEffect)(()=>{H&&R&&(null!==eP&&google.maps.event.removeListener(eP),eI(google.maps.event.addListener(H,"shape_changed",R)))},[R]),(0,d.useEffect)(()=>{H&&F&&(null!==eT&&google.maps.event.removeListener(eT),eO(google.maps.event.addListener(H,"title_changed",F)))},[F]),(0,d.useEffect)(()=>{H&&z&&(null!==eL&&google.maps.event.removeListener(eL),eM(google.maps.event.addListener(H,"visible_changed",z)))},[z]),(0,d.useEffect)(()=>{H&&B&&(null!==eD&&google.maps.event.removeListener(eD),ej(google.maps.event.addListener(H,"zindex_changed",B)))},[B]),(0,d.useEffect)(()=>{var e=er(er(er({},n||eo),r?eo:{map:q}),{},{position:t}),a=new google.maps.Marker(e);return r?r.addMarker(a,!!i):a.setMap(q),t&&a.setPosition(t),void 0!==s&&a.setVisible(s),void 0!==o&&a.setDraggable(o),void 0!==u&&a.setClickable(u),"string"==typeof h&&a.setCursor(h),f&&a.setIcon(f),void 0!==p&&a.setLabel(p),void 0!==m&&a.setOpacity(m),g&&a.setShape(g),"string"==typeof y&&a.setTitle(y),"number"==typeof b&&a.setZIndex(b),x&&G(google.maps.event.addListener(a,"dblclick",x)),E&&K(google.maps.event.addListener(a,"dragend",E)),S&&X(google.maps.event.addListener(a,"dragstart",S)),P&&J(google.maps.event.addListener(a,"mousedown",P)),A&&et(google.maps.event.addListener(a,"mouseout",A)),k&&ei(google.maps.event.addListener(a,"mouseover",k)),N&&es(google.maps.event.addListener(a,"mouseup",N)),I&&eu(google.maps.event.addListener(a,"rightclick",I)),w&&ed(google.maps.event.addListener(a,"click",w)),C&&ef(google.maps.event.addListener(a,"drag",C)),T&&em(google.maps.event.addListener(a,"clickable_changed",T)),O&&ev(google.maps.event.addListener(a,"cursor_changed",O)),L&&eb(google.maps.event.addListener(a,"animation_changed",L)),M&&ex(google.maps.event.addListener(a,"draggable_changed",M)),D&&eE(google.maps.event.addListener(a,"flat_changed",D)),j&&eA(google.maps.event.addListener(a,"icon_changed",j)),_&&eN(google.maps.event.addListener(a,"position_changed",_)),R&&eI(google.maps.event.addListener(a,"shape_changed",R)),F&&eO(google.maps.event.addListener(a,"title_changed",F)),z&&eM(google.maps.event.addListener(a,"visible_changed",z)),B&&ej(google.maps.event.addListener(a,"zindex_changed",B)),Z(a),V&&V(a),()=>{null!==W&&google.maps.event.removeListener(W),null!==$&&google.maps.event.removeListener($),null!==Y&&google.maps.event.removeListener(Y),null!==Q&&google.maps.event.removeListener(Q),null!==ee&&google.maps.event.removeListener(ee),null!==en&&google.maps.event.removeListener(en),null!==ea&&google.maps.event.removeListener(ea),null!==el&&google.maps.event.removeListener(el),null!==ec&&google.maps.event.removeListener(ec),null!==ep&&google.maps.event.removeListener(ep),null!==eg&&google.maps.event.removeListener(eg),null!==ey&&google.maps.event.removeListener(ey),null!==ew&&google.maps.event.removeListener(ew),null!==eC&&google.maps.event.removeListener(eC),null!==eS&&google.maps.event.removeListener(eS),null!==ek&&google.maps.event.removeListener(ek),null!==eT&&google.maps.event.removeListener(eT),null!==eL&&google.maps.event.removeListener(eL),null!==eD&&google.maps.event.removeListener(eD),U&&U(a),r?r.removeMarker(a,!!i):a&&a.setMap(null)}},[]);var e_=(0,d.useMemo)(()=>a?d.Children.map(a,e=>(0,d.isValidElement)(e)?(0,d.cloneElement)(e,{anchor:H}):e):null,[a,H]);return(0,c.jsx)(c.Fragment,{children:e_})||null});class es extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[])}componentDidMount(){var e=this;return k(function*(){var t=er(er(er({},e.props.options||eo),e.props.clusterer?eo:{map:e.context}),{},{position:e.props.position});e.marker=new google.maps.Marker(t),e.props.clusterer?e.props.clusterer.addMarker(e.marker,!!e.props.noClustererRedraw):e.marker.setMap(e.context),e.registeredEvents=x({updaterMap:ea,eventMap:ei,prevProps:{},nextProps:e.props,instance:e.marker}),e.props.onLoad&&e.props.onLoad(e.marker)})()}componentDidUpdate(e){this.marker&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:ea,eventMap:ei,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),w(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){return(this.props.children?d.Children.map(this.props.children,e=>(0,d.isValidElement)(e)?(0,d.cloneElement)(e,{anchor:this.marker}):e):null)||null}}p(es,"contextType",v);var el=function(){function e(t,n){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(t.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return e.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},e.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},e.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var t=this.cluster.getClusterer();if(google.maps.event.trigger(t,"click",this.cluster),google.maps.event.trigger(t,"clusterclick",this.cluster),t.getZoomOnClick()){var n=t.getMaxZoom(),r=this.cluster.getBounds(),i=t.getMap();null!==i&&"fitBounds"in i&&i.fitBounds(r),this.timeOut=window.setTimeout(function(){var e=t.getMap();if(null!==e){"fitBounds"in e&&e.fitBounds(r);var i=e.getZoom()||0;null!==n&&i>n&&e.setZoom(n+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},e.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},e.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},e.prototype.onAdd=function(){this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),null==(e=this.getPanes())||e.overlayMouseTarget.appendChild(this.div);var e,t=this.getMap();null!==t&&(this.boundsChangedListener=google.maps.event.addListener(t,"boun
21ds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),null!==this.timeOut&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=null!==e?"".concat(e.y,"px"):"0",this.div.style.left=null!==e?"".concat(e.x,"px"):"0"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){var e,t,n,r,i,a;if(this.div&&this.center){var o=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,s=this.backgroundPosition.split(" "),l=parseInt((null==(e=s[0])?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),u=parseInt((null==(t=s[1])?void 0:t.replace(/^\s+|\s+$/g,""))||"0",10),c=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(null!==c?"".concat(c.y,"px"):"0","; left: ").concat(null!==c?"".concat(c.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var d=document.createElement("img");d.alt=o,d.src=this.url,d.width=this.width,d.height=this.height,d.setAttribute("style","position: absolute; top: ".concat(u,"px; left: ").concat(l,"px")),this.cluster.getClusterer().enableRetinaIcons||(d.style.clip="rect(-".concat(u,"px, -").concat(l+this.width,"px, -").concat(u+this.height,", -").concat(l,")"));var h=document.createElement("div");h.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),(null==(n=this.sums)?void 0:n.text)&&(h.innerText="".concat(null==(r=this.sums)?void 0:r.text)),(null==(i=this.sums)?void 0:i.html)&&(h.innerHTML="".concat(null==(a=this.sums)?void 0:a.html)),this.div.innerHTML="",this.div.appendChild(d),this.div.appendChild(h),this.div.title=o,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),n=t[Math.min(t.length-1,Math.max(0,e.index-1))];n&&(this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className="".concat(this.clusterClassName," ").concat(n.className)),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0")},e.prototype.setCenter=function(e){this.center=e},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return null!==t&&(t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0]),t},e}(),eu=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new el(this,this.markerClusterer.getStyles()),this.get
21Size=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return e.prototype.getSize=function(){return this.markers.length},e.prototype.getMarkers=function(){return this.markers},e.prototype.getCenter=function(){return this.center},e.prototype.getMap=function(){return this.map},e.prototype.getClusterer=function(){return this.markerClusterer},e.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),t=this.getMarkers(),n=0;n<t.length;n++){var r=t[n].getPosition();r&&e.extend(r)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var t=e.getPosition();if(t){var n=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(n-1)+t.lat())/n,(this.center.lng()*(n-1)+t.lng())/n),this.calculateBounds()}}}else{var r,t=e.getPosition();t&&(this.center=t,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var i=this.markers.length,a=this.markerClusterer.getMaxZoom(),o=null==(r=this.map)?void 0:r.getZoom();if(null!==a&&void 0!==o&&o>a)e.getMap()!==this.map&&e.setMap(this.map);else if(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var s=0,l=this.markers;s<l.length;s++)l[s].setMap(null);else e.setMap(null);return!0},e.prototype.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var t=e.getPosition();if(t)return this.bounds.contains(t)}return!1},e.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},e.prototype.updateIcon=function(){var e,t=this.markers.length,n=this.markerClusterer.getMaxZoom(),r=null==(e=this.map)?void 0:e.getZoom();if(null!==n&&void 0!==r&&r>n||t<this.minClusterSize)return void this.clusterIcon.hide();this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show()},e.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var t=0;t<this.markers.length;t++)if(e===this.markers[t])return!0;return!1},e}();function ec(e,t){var n=e.length,r=Math.min(n.toString().length,t);return{text:n.toString(),index:r,title:""}}var ed=[53,56,66,78,90],eh=function(){function e(t,n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createCluster
21s=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,void 0!==r.zoomOnClick&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,void 0!==r.averageCenter&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,void 0!==r.ignoreHidden&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,void 0!==r.enableRetinaIcons&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=r.imageExtension||"png",this.imageSizes=r.imageSizes||ed,this.calculator=r.calculator||ec,this.batchSize=r.batchSize||2e3,this.batchSizeIE=r.batchSizeIE||500,this.clusterClass=r.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(t)}return e.prototype.onZoomChanged=function(){var e,t;this.resetViewport(!1),((null==(e=this.getMap())?void 0:e.getZoom())===(this.get("minZoom")||0)||(null==(t=this.getMap())?void 0:t.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},e.prototype.onIdle=function(){this.redraw()},e.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),null!==e&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},e.prototype.onRemove=function(){for(var e=0,t=this.markers;e<t.length;e++){var n=t[e];n.getMap()!==this.activeMap&&n.setMap(this.activeMap)}
vendor: 5,880 bytes, line 21
21for(var r=0,i=this.clusters;r<i.length;r++)i[r].remove();this.clusters=[];for(var a=0,o=this.listeners;a<o.length;a++){var s=o[a];google.maps.event.removeListener(s)}this.listeners=[],this.activeMap=null,this.ready=!1},e.prototype.draw=function(){},e.prototype.getMap=function(){return null},e.prototype.getPanes=function(){return null},e.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},e.prototype.setMap=function(){},e.prototype.addListener=function(){return{remove:function(){}}},e.prototype.bindTo=function(){},e.prototype.get=function(){},e.prototype.notify=function(){},e.prototype.set=function(){},e.prototype.setValues=function(){},e.prototype.unbind=function(){},e.prototype.unbindAll=function(){},e.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,n=0;n<e.length;n++){var r=e[n].getPosition();r&&t.extend(r)}var i=this.getMap();null!==i&&"fitBounds"in i&&i.fitBounds(t)},e.prototype.getGridSize=function(){return this.gridSize},e.prototype.setGridSize=function(e){this.gridSize=e},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize},e.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.setMaxZoom=function(e){this.maxZoom=e},e.prototype.getStyles=function(){return this.styles},e.prototype.setStyles=function(e){this.styles=e},e.prototype.getTitle=function(){return this.title},e.prototype.setTitle=function(e){this.title=e},e.prototype.getZoomOnClick=function(){return this.zoomOnClick},e.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},e.prototype.getAverageCenter=function(){return this.averageCenter},e.prototype.setAverageCenter=function(e){this.averageCenter=e},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden},e.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},e.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},e.prototype.getImageExtension=function(){return this.imageExtension},e.prototype.setImageExtension=function(e){this.imageExtension=e},e.prototype.getImagePath=function(){return this.imagePath},e.prototype.setImagePath=function(e){this.imagePath=e},e.prototype.getImageSizes=function(){return this.imageSizes},e.prototype.setImageSizes=function(e){this.imageSizes=e},e.prototype.getCalculator=function(){return this.calculator},e.prototype.setCalculator=function(e){this.calculator=e},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE},e.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},e.prototype.getClusterClass=function(){return this.clusterClass},e.prototype.setClusterClass=function(e){this.clusterClass=e},e.prototype.getMarkers=function(){return this.markers},e.prototype.getTotalMarkers=function(){return this.markers.length},e.prototype.getClusters=function(){return this.clusters},e.prototype.getTotalClusters=function(){return this.clusters.length},e.prototype.addMarker=function(e,t){this.pushMarkerTo(e),t||this.redraw()},e.prototype.addMarkers=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];r&&this.pushMarkerTo(r)}t||this.redraw()},e.prototype.pushMarkerTo=function(e){var t=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){t.ready&&(e.isAdded=!1,t.repaint())}),e.isAdded=!1,this.markers.push(e)},e.prototype.removeMarker_=function(e){var t=-1;if(this.markers.indexOf)t=this.markers.indexOf(e);else for(var n=0;n<this.markers.length;n++)if(e===this.markers[n]){t=n;break}return -1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var n=this.removeMarker_(e);return!t&&n&&this.repaint(),n},e.prototype.removeMarkers=function(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];n=n||this.removeMarker_(i)}return!t&&n&&this.repaint(),n},e.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},e.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var t=0;t<e.length;t++)e[t].remove()},0)},e.prototype.getExtendedBounds=function(e){var t=this.getProjection(),n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));null!==n&&(n.x+=this.gridSize,n.y-=this.gridSize);var r=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(null!==r&&(r.x-=this.gridSize,r.y+=this.gridSize),null!==n){var i=t.fromDivPixelToLatLng(n);null!==i&&e.extend(i)}if(null!==r){var a=t.fromDivPixelToLatLng(r);null!==a&&e.extend(a)}return e},e.prototype.redraw=function(){this.createClusters(0)},e.prototype.resetViewport=function(e){for(var t=0,n=this.clusters;t<n.length;t++)n[t].remove();this.clusters=[];for(var r=0,i=this.markers;r<i.length;r++){var a=i[r];a.isAdded=!1,e&&a.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var n=(t.lat()-e.lat())*Math.PI/180,r=(t.lng()-e.lng())*Math.PI/180,i=Math.sin(n/2)*Math.sin(n/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))*6371},e.prototype.isMarkerInBounds=function(e,t){var n=e.getPosition();return!!n&&t.contains(n)},e.prototype.addToClosestCluster=function(e){for(var t,n=4e4,r=null,i=0,a=this.cluster
21s;i<a.length;i++){var o=(t=a[i]).getCenter(),s=e.getPosition();if(o&&s){var l=this.distanceBetweenPoints(o,s);l<n&&(n=l,r=t)}}r&&r.isMarkerInClusterBounds(e)?r.addMarker(e):((t=new eu(this)).addMarker(e),this.clusters.push(t))},e.prototype.createClusters=function(e){var t=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap(),r=null!==n&&("getBounds"in n)?n.getBounds():null,i=((null==n?void 0:n.getZoom())||0)>3?new google.maps.LatLngBounds(null==r?void 0:r.getSouthWest(),null==r?void 0:r.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),a=this.getExtendedBounds(i),o=Math.min(e+this.batchSize,this.markers.length),s=e;s<o;s++){var l=this.markers[s];l&&!l.isAdded&&this.isMarkerInBounds(l,a)&&(!this.ignoreHidden||this.ignoreHidden&&l.getVisible())&&this.addToClosestCluster(l)}if(o<this.markers.length)this.timerRefStatic=window.setTimeout(function(){t.createClusters(o)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);
21for(var u=0,c=this.clusters;u<c.length;u++)c[u].updateIcon()}}},e.prototype.extend=function(e,t){return(function(e){for(var t in e.prototype)this.prototype[t]=e.prototype[t];return this}).apply(e,[t])},e}();function ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var ep={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},em={averageCenter(e,t){e.setAverageCenter(t)},batchSizeIE(e,t){e.setBatchSizeIE(t)},calculator(e,t){e.setCalculator(t)},clusterClass(e,t){e.setClusterClass(t)},enableRetinaIcons(e,t){e.setEnableRetinaIcons(t)},gridSize(e,t){e.setGridSize(t)},ignoreHidden(e,t){e.setIgnoreHidden(t)},imageExtension(e,t){e.setImageExtension(t)},imagePath(e,t){e.setImagePath(t)},imageSizes(e,t){e.setImageSizes(t)},maxZoom(e,t){e.setMaxZoom(t)},minimumClusterSize(e,t){e.setMinimumClusterSize(t)},styles(e,t){e.setStyles(t)},title(e,t){e.setTitle(t)},zoomOnClick(e,t){e.setZoomOnClick(t)}},eg={};(0,d.memo)(function(e){var{children:t,options:n,averageCenter:r,batchSizeIE:i,calculator:a,clusterClass:o,enableRetinaIcons:s,gridSize:l,ignoreHidden:u,imageExtension:c,imagePath:h,imageSizes:f,maxZoom:m,minimumClusterSize:g,styles:y,title:b,zoomOnClick:w,onClick:x,onClusteringBegin:C,onClusteringEnd:E,onMouseOver:S,onMouseOut:A,onLoad:k,onUnmount:N}=e,[P,I]=(0,d.useState)(null),T=(0,d.useContext)(v),[O,L]=(0,d.useState)(null),[M,D]=(0,d.useState)(null),[j,_]=(0,d.useState)(null),[R,F]=(0,d.useState)(null),[z,B]=(0,d.useState)(null);return(0,d.useEffect)(()=>{P&&A&&(null!==R&&google.maps.event.removeListener(R),F(google.maps.event.addListener(P,ep.onMouseOut,A)))},[A]),(0,d.useEffect)(()=>{P&&S&&(null!==z&&google.maps.event.removeListener(z),B(google.maps.event.addListener(P,ep.onMouseOver,S)))},[S]),(0,d.useEffect)(()=>{P&&x&&(null!==O&&google.maps.event.removeListener(O),L(google.maps.event.addListener(P,ep.onClick,x)))},[x]),(0,d.useEffect)(()=>{P&&C&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(P,ep.onClusteringBegin,C)))},[C]),(0,d.useEffect)(()=>{P&&E&&(null!==j&&google.maps.event.removeListener(j),D(google.maps.event.addListener(P,ep.onClusteringEnd,E)))},[E]),(0,d.useEffect)(()=>{void 0!==r&&null!==P&&em.averageCenter(P,r)},[P,r]),(0,d.useEffect)(()=>{void 0!==i&&null!==P&&em.batchSizeIE(P,i)},[P,i]),(0,d.useEffect)(()=>{void 0!==a&&null!==P&&em.calculator(P,a)},[P,a]),(0,d.useEffect)(()=>{void 0!==o&&null!==P&&em.clusterClass(P,o)},[P,o]),(0,d.useEffect)(()=>{void 0!==s&&null!==P&&em.enableRetinaIcons(P,s)},[P,s]),(0,d.useEffect)(()=>{void 0!==l&&null!==P&&em.gridSize(P,l)},[P,l]),(0,d.useEffect)(()=>{void 0!==u&&null!==P&&em.ignoreHidden(P,u)},[P,u]),(0,d.useEffect)(()=>{void 0!==c&&null!==P&&em.imageExtension(P,c)},[P,c]),(0,d.useEffect)(()=>{void 0!==h&&null!==P&&em.imagePath(P,h)},[P,h]),(0,d.useEffect)(()=>{void 0!==f&&null!==P&&em.imageSizes(P,f)},[P,f]),(0,d.useEffect)(()=>{void 0!==m&&null!==P&&em.maxZoom(P,m)},[P,m]),(0,d.useEffect)(()=>{void 0!==g&&null!==P&&em.minimumClusterSize(P,g)},[P,g]),(0,d.useEffect)(()=>{void 0!==y&&null!==P&&em.styles(P,y)},[P,y]),(0,d.useEffect)(()=>{void 0!==b&&null!==P&&em.title(P,b)},[P,b]),(0,d.useEffect)(()=>{void 0!==w&&null!==P&&em.zoomOnClick(P,w)},[P,w]),(0,d.useEffect)(()=>{if(T){var e=new eh(T,[],function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ef(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n||eg));return r&&em.averageCenter(e,r),i&&em.batchSizeIE(e,i),a&&em.calculator(e,a),o&&em.clusterClass(e,o),s&&em.enableRetinaIcons(e,s),l&&em.gridSize(e,l),u&&em.ignoreHidden(e,u),c&&em.imageExtension(e,c),h&&em.imagePath(e,h),f&&em.imageSizes(e,f),m&&em.maxZoom(e,m),g&&em.minimumClusterSize(e,g),y&&em.styles(e,y),b&&em.title(e,b),w&&em.zoomOnClick(e,w),A&&F(google.maps.event.addListener(e,ep.onMouseOut,A)),S&&B(google.maps.event.addListener(e,ep.onMouseOver,S)),x&&L(google.maps.event.addListener(e,ep.onClick,x)),C&&D(google.maps.event.addListener(e,ep.onClusteringBegin,C)),E&&_(google.maps.event.addListener(e,ep.onClusteringEnd,E)),I(e),k&&k(e),()=>{null!==R&&google.maps.event.removeListener(R),null!==z&&google.maps.event.removeListener(z),null!==O&&google.maps.event.removeListener(O),null!==M&&google.maps.event.removeListener(M),null!==j&&google.maps.event.removeListener(j),N&&N(e)}}},[]),null!==P&&t(P)||null});class ev extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{markerClusterer:null}),p(this,"setClustererCallback",()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)})}componentDidMount(){if(this.context){var e=new eh(this.context,[],this.props.options);this.registeredEvents=x({updaterMap:em,eventMap:ep,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({markerClusterer:e}),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:em,eventMap:ep,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),w(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}function ey(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}p(ev,"contextType",v);var eb=function(){function e(t){void 0===t&&(t={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.b
vendor: 10,116 bytes, line 21
21ind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(e,google.maps.OverlayView),this.content=t.content||"",this.disableAutoPan=t.disableAutoPan||!1,this.maxWidth=t.maxWidth||0,this.pixelOffset=t.pixelOffset||new google.maps.Size(0,0),this.position=t.position||new google.maps.LatLng(0,0),this.zIndex=t.zIndex||null,this.boxClass=t.boxClass||"infoBox",this.boxStyle=t.boxStyle||{},this.closeBoxMargin=t.closeBoxMargin||"2px",this.closeBoxURL=t.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===t.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=t.infoBoxClearance||new google.maps.Size(1,1),void 0===t.visible&&(void 0===t.isHidden?t.visible=!0:t.visible=!t.isHidden),this.isHidden=!t.visible,this.alignBottom=t.alignBottom||!1,this.pane=t.pane||"floatPane",this.enableEventPropagation=t.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return e.prototype.createInfoBoxDiv=function(){var e=this;if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var t=this.getPanes();if(null!==t&&t[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var n=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-n.left-n.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=0,i=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"];r<i.length;r++){var a=i[r];this.eventListeners.push(google.maps.event.addListener(this.div,a,ey))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||ey(t)}),google.maps.event.trigger(this,"domready")}},e.prototype.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt="" aria-hidden="true" src=\''+this.closeBoxURL+"' align=right style=' position: relative; cursor: pointer;"+(" margin: "+this.closeBoxMargin)+";'>"),e},e.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&""!==this.closeBoxURL?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},e.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},e.prototype.getCloseClickHandler=function(){return this.closeClickHandler},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var n=0,r=0,i=t.getBounds();i&&!i.contains(this.position)&&t.setCenter(this.position);var a=t.getDiv(),o=a.offsetWidth,s=a.offsetHeight,l=this.pixelOffset.width,u=this.pixelOffset.height,c=this.div.offsetWidth,d=this.div.offsetHeight,h=this.infoBoxClearance.width,f=this.infoBoxClearance.height,p=this.getProjection().fromLatLngToContainerPixel(this.position);null!==p&&(p.x<-l+h?n=p.x+l-h:p.x+c+l+h>o&&(n=p.x+c+l+h-o),this.alignBottom?p.y<-u+f+d?r=p.y+u-f-d:p.y+u+f>s&&(r=p.y+u+f-s):p.y<-u+f?r=p.y+u-f:p.y+d+u+f>s&&(r=p.y+d+u+f-s)),(0!==n||0!==r)&&t.panBy(n,r)}}},e.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.div.style[t]=e[t]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},e.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var t=this.div.ownerDocument,n=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;n&&(e.top=parseInt(n.borderTopWidth||"",10)||0,e.bottom=parseInt(n.borderBottomWidth||"",10)||0,e.left=parseInt(n.borderLeftWidth||"",10)||0,e.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}return e},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);null!==e&&(this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},e.prototype.setOptions=function(e){void 0===e&&(e={}),void 0!==e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),void 0!==e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),void 0!==e.content&&this.setContent(e.content),void 0!==e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.pixelOffset&&(this.pixelOffset=e.pixelOffset),void 0!==e.alignBottom&&(this.alignBottom=e.alignBottom),void 0!==e.position&&this.setPosition(e.position),void 0!==e.zIndex&&this.setZIndex(e.zIndex),void 0!==e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),void 0!==e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),void 0!==e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),void 0!==e.isHidden&&(this.isHidden=e.isHidden),void 0!==e.visible&&(this.isHidden=!e.visible),void 0!==e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},e.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},e.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},e.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},e.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},e.prototype.getContent=function(){return this.content},e.prototype.getPosition=function(){return this.position},e.prototype.getZIndex=function(){return this.zIndex},e.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},e.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},e.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},e.prototype.open=function(e,t){var n=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",function(){var e=t.getPosition();n.setPosition(e)}),this.mapListener=google.maps.event.addListener(t,"map_changed",function(){n.setMap(t.map)})),this.setMap(e),this.div&&this.panBox()},e.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,t=this.eventListeners;e<t.length;e++){var n=t[e];google.maps.event.removeListener(n)}this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},e.prototype.extend=function(e,t){return(function(e){for(var t in e.prototype)Object.prototype.hasOwnProperty.call(this,t)||(this.prototype[t]=e.prototype[t]);return this}).apply(e,[t])},e}(),ew=["position"],ex=["position"];function eC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?eC(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eS={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},eA={options(e,t){e.setOptions(t)},position(e,t){t instanceof google.maps.LatLng?e.setPosition(t):e.setPosition(new google.maps.LatLng(t.lat,t.lng))},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},ek={};(0,d.memo)(function(e){var{children:t,anchor:n,options:r,position:i,zIndex:a,onCloseClick:o,onDomReady:s,onContentChanged:l,onPositionChanged:u,onZindexChanged:c,onLoad:f,onUnmount:p}=e,m=(0,d.useContext)(v),[y,b]=(0,d.useState)(null),[w,x]=(0,d.useState)(null),[C,E]=(0,d.useState)(null),[S,A]=(0,d.useState)(null),[k,N]=(0,d.useState)(null),[P,I]=(0,d.useState)(null),T=(0,d.useRef)(null);return(0,d.useEffect)(()=>{m&&null!==y&&(y.close(),n?y.open(m,n):y.getPosition()&&y.open(m))},[m,y,n]),(0,d.useEffect)(()=>{r&&null!==y&&y.setOptions(r)},[y,r]),(0,d.useEffect)(()=>{if(i&&null!==y){var e=i instanceof google.maps.LatLng?i:new google.maps.LatLng(i.lat,i.lng);y.setPosition(e)}},[i]),(0,d.useEffect)(()=>{"number"==typeof a&&null!==y&&y.setZIndex(a)},[a]),(0,d.useEffect)(()=>{y&&o&&(null!==w&&google.maps.event.removeListener(w),x(google.maps.event.addListener(y,"closeclick",o)))},[o]),(0,d.useEffect)(()=>{y&&s&&(null!==C&&google.maps.event.removeListener(C),E(google.maps.event.addListener(y,"domready",s)))},[s]),(0,d.useEffect)(()=>{y&&l&&(null!==S&&google.maps.event.removeListener(S),A(google.maps.event.addListener(y,"content_changed",l)))},[l]),(0,d.useEffect)(()=>{y&&u&&(null!==k&&google.maps.event.removeListener(k),N(google.maps.event.addListener(y,"position_changed",u)))},[u]),(0,d.useEffect)(()=>{y&&c&&(null!==P&&google.maps.event.removeListener(P),I(google.maps.event.addListener(y,"zindex_changed",c)))},[c]),(0,d.useEffect)(()=>{if(m){var e,t=r||ek,{position:i}=t,a=_(t,ew);!i||i instanceof google.maps.LatLng||(e=new google.maps.LatLng(i.lat,i.lng));var d=new eb(eE(eE({},a),e?{position:e}:{}));T.current=document.createElement("div"),b(d),o&&x(google.maps.event.addListener(d,"closeclick",o)),s&&E(google.maps.event.addListener(d,"domready",s)),l&&A(google.maps.event.addListener(d,"content_changed",l)),u&&N(google.maps.event.addListener(d,"position_changed",u)),c&&I(google.maps.event.addListener(d,"zindex_changed",c)),d.setContent(T.current),n?d.open(m,n):d.getPosition()?d.open(m):g(!1,"You must provide either an anchor or a position prop for <InfoBox>."),f&&f(d)}return()=>{null!==y&&(w&&google.maps.event.removeListener(w),S&&google.maps.event.removeListener(S),C&&google.maps.event.removeListener(C),k&&google.maps.event.removeListener(k),P&&google.maps.event.removeListener(P),p&&p(y),y.close())}},[]),T.current?(0,h.createPortal)(d.Children.only(t),T.current):null});class eN extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"containerElement",null),p(this,"state",{infoBox:null}),p(this,"open",(e,t)=>{t?null!==this.context&&e.open(this.context,t):e.getPosition()?null!==this.context&&e.open(this.context):g(!1,"You must provide either an anchor or a position prop for <InfoBox>.")}),p(this,"setInfoBoxCallback",()=>{null!==this.state.infoBox&&null!==this.containerElement&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))})}componentDidMount(){var e,t=this.props.options||{},{position:n}=t,r=_(t,ex);!n||n instanceof google.maps.LatLng||(e=new google.maps.LatLng(n.lat,n.lng));var i=new eb(eE(eE({},r),e?{position:e}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=x({updaterMap:eA,eventMap:eS,prevProps:{},nextProps:this.props,instance:i}),this.setState({infoBox:i},this.setInfoBoxCallback)}componentDidUpdate(e){var{infoBox:t}=this.state;null!==t&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:eA,eventMap:eS,prevProps:e,nextProps:this.props,instance:t}))}componentWillUnmount(){var{onUnmount:e}=this.props,{infoBox:t}=this.state;null!==t&&(e&&e(t),w(this.registeredEvents),t.close())}render(){return this.containerElement?(0,h.createPortal)(d.Children.only(this.props.children),this.containerElement):null}}p(eN,"contextType",v);var eP=m(l?s:(l=1,s=function e(t,n){if(t===n)return!0;
21if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n})),eI=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class eT{static from(e){if(!(e instanceof ArrayBuffer))throw Error("Data must be an instance of ArrayBuffer.");var[t,n]=new Uint8Array(e,0,2);if(219!==t)throw Error("Data does not appear to be in a KDBush format.");var r=n>>4;if(1!==r)throw Error("Got v".concat(r," data when expected v").concat(1,"."));var i=eI[15&n];if(!i)throw Error("Unrecognized array type.");var[a]=new Uint16Array(e,2,1),[o]=new Uint32Array(e,4,1);return new eT(o,a,i,e)}constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Float64Array,r=arguments.length>3?arguments[3]:void 0;if(isNaN(e)||e<0)throw Error("Unpexpected numItems value: ".concat(e,"."));this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=n,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;var i=eI.indexOf(this.ArrayType),a=2*e*this.ArrayType.BYTES_PER_ELEMENT,o=e*this.IndexArrayType.BYTES_PER_ELEMENT,s=(8-o%8)%8;if(i<0)throw Error("Unexpected typed array class: ".concat(n,"."));r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+o+s,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(8+a+o+s),this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+o+s,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){var n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=e,this.coords[this._pos++]=t,n}finish(){var e=this._pos>>1;if(e!==this.numItems)throw Error("Added ".concat(e," items when expected ").concat(this.numItems,"."));return function e(t,n,r,i,a,o){if(!(a-i<=r)){var s=i+a>>1;(function e(t,n,r,i,a,o){for(;a>i;){if(a-i>600){var s=a-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),h=Math.max(i,Math.floor(r-l*c/s+d)),f=Math.min(a,Math.floor(r+(s-l)*c/s+d));e(t,n,r,h,f,o)}var p=n[2*r+o],m=i,g=a;for(eO(t,n,i,r),n[2*a+o]>p&&eO(t,n,i,a);m<g;){for(eO(t,n,m,g),m++,g--;n[2*m+o]<p;)m++;for(;n[2*g+o]>p;)g--}n[2*i+o]===p?eO(t,n,i,g):eO(t,n,++g,a),g<=r&&(i=g+1),r<=g&&(a=g-1)}})(t,n,s,i,a,o),e(t,n,r,i,s-1,1-o),e(t,n,r,s+1,a,1-o)}}(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,n,r){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");for(var{ids:i,coords:a,nodeSize:o}=this,s=[0,i.length-1,0],l=[];s.length;){var u=s.pop()||0,c=s.pop()||0,d=s.pop()||0;if(c-d<=o){for(var h=d;h<=c;h++){var f=a[2*h],p=a[2*h+1];f>=e&&f<=n&&p>=t&&p<=r&&l.push(i[h])}continue}var m=d+c>>1,g=a[2*m],v=a[2*m+1];g>=e&&g<=n&&v>=t&&v<=r&&l.push(i[m]),(0===u?e<=g:t<=v)&&(s.push(d),s.push(m-1),s.push(1-u)),(0===u?n>=g:r>=v)&&(s.push(m+1),s.push(c),s.push(1-u))}return l}within(e,t,n){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");for(var{ids:r,coords:i,nodeSize:a}=this,o=[0,r.length-1,0],s=[],l=n*n;o.length;){var u=o.pop()||0,c=o.pop()||0,d=o.pop()||0;if(c-d<=a){for(var h=d;h<=c;h++)eM(i[2*h],i[2*h+1],e,t)<=l&&s.push(r[h]);continue}var f=d+c>>1,p=i[2*f],m=i[2*f+1];eM(p,m,e,t)<=l&&s.push(r[f]),(0===u?e-n<=p:t-n<=m)&&(o.push(d),o.push(f-1),o.push(1-u)),(0===u?e+n>=p:t+n>=m)&&(o.push(f+1),o.push(c),o.push(1-u))}return s}}function eO(e,t,n,r){eL(e,n,r),eL(t,2*n,2*r),eL(t,2*n+1,2*r+1)}
21function eL(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function eM(e,t,n,r){var i=e-n,a=t-r;return i*i+a*a}var eD={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},ej=Math.fround||(e=>t=>(e[0]=+t,e[0]))(new Float32Array(1));class e_{constructor(e){this.options=Object.assign(Object.create(eD),e),this.trees=Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){var{log:t,minZoom:n,maxZoom:r}=this.options;t&&console.time("total time");var i="prepare ".concat(e.length," points");t&&console.time(i),this.points=e;for(var a=[],o=0;o<e.length;o++){var s=e[o];if(s.geometry){var[l,u]=s.geometry.coordinates,c=ej(ez(l)),d=ej(eB(u));a.push(c,d,1/0,o,-1,1),this.options.reduce&&a.push(0)}}var h=this.trees[r+1]=this._createTree(a);t&&console.timeEnd(i);for(var f=r;f>=n;f--){var p=+Date.now();h=this.trees[f]=this._createTree(this._cluster(h,f)),t&&console.log("z%d: %d clusters in %dms",f,h.numItems,Date.now()-p)}return t&&console.timeEnd("total time"),this}getClusters(e,t){var n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){var o=this.getClusters([n,r,180,a],t),s=this.getClusters([-180,r,i,a],t);return o.concat(s)}var l=this.trees[this._limitZoom(t)],u=l.range(ez(n),eB(a),ez(i),eB(r)),c=l.data,d=[];for(var h of u){var f=this.stride*h;d.push(c[f+5]>1?eR(c,f,this.clusterProps):this.points[c[f+3]])}return d}getChildren(e){var t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",i=this.trees[n];if(!i)throw Error(r);var a=i.data;if(t*this.stride>=a.length)throw Error(r);var o=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=a[t*this.stride],l=a[t*this.stride+1],u=i.within(s,l,o),c=[];for(var d of u){var h=d*this.stride;a[h+4]===e&&c.push(a[h+5]>1?eR(a,h,this.clusterProps):this.points[a[h+3]])}if(0===c.length)throw Error(r);return c}getLeaves(e,t,n){t=t||10,n=n||0;var r=[];return this._appendLeaves(r,e,t,n,0),r}getTile(e,t,n){var r=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:a,radius:o}=this.options,s=o/a,l=(n-s)/i,u=(n+1+s)/i,c={features:[]};return this._addTileFeatures(r.range((t-s)/i,l,(t+1+s)/i,u),r.data,t,n,i,c),0===t&&this._addTileFeatures(r.range(1-s/i,l,1,u),r.data,i,n,i,c),t===i-1&&this._addTileFeatures(r.range(0,l,s/i,u),r.data,-1,n,i,c),c.features.length?c:null}getClusterExpansionZoom(e){for(var t=this._getOriginZoom(e)-1;t<=this.options.maxZoom;){var n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,r,i){for(var a of this.getChildren(t)){var o=a.properties;if(o&&o.cluster?i+o.point_count<=r?i+=o.point_count:i=this._appendLeaves(e,o.cluster_id,n,r,i):i<r?i++:e.push(a),e.length===n)break}return i}_createTree(e){for(var t=new eT(e.length/this.stride|0,this.options.nodeSize,Float32Array),n=0;n<e.length;n+=this.stride)t.add(e[n],e[n+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,n,r,i,a){for(var o of e){var s=o*this.stride,l=t[s+5]>1,u=void 0,c=void 0,d=void 0;if(l)u=eF(t,s,this.clusterProps),c=t[s],d=t[s+1];else{var h=this.points[t[s+3]];u=h.properties;var[f,p]=h.geometry.coordinates;c=ez(f),d=eB(p)}var m={type:1,geometry:[[Math.round(this.options.extent*(c*i-n)),Math.round(this.options.extent*(d*i-r))]],tags:u},g=void 0;void 0!==(g=l||this.options.generateId?t[s+3]:this.points[t[s+3]].id)&&(m.id=g),a.features.push(m)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){for(var{radius:n,extent:r,reduce:i,minPoints:a}=this.options,o=n/(r*Math.pow(2,t)),s=e.data,l=[],u=this.stride,c=0;c<s.length;c+=u)if(!(s[c+2]<=t)){s[c+2]=t;var d=s[c],h=s[c+1],f=e.within(s[c],s[c+1],o),p=s[c+5],m=p;for(var g of f){var v=g*u;s[v+2]>t&&(m+=s[v+5])}if(m>p&&m>=a){var y=d*p,b=h*p,w=void 0,x=-1,C=((c/u|0)<<5)+(t+1)+this.points.length;for(var E of f){var S=E*u;if(!(s[S+2]<=t)){s[S+2]=t;var A=s[S+5];y+=s[S]*A,b+=s[S+1]*A,s[S+4]=C,i&&(w||(w=this._map(s,c,!0),x=this.clusterProps.length,this.clusterProps.push(w)),i(w,this._map(s,S)))}}s[c+4]=C,l.push(y/m,b/m,1/0,C,-1,m),i&&l.push(x)}else{for(var k=0;k<u;
21k++)l.push(s[c+k]);if(m>1)for(var N of f){var P=N*u;if(!(s[P+2]<=t)){s[P+2]=t;for(var I=0;I<u;I++)l.push(s[P+I])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,n){if(e[t+5]>1){var r=this.clusterProps[e[t+6]];return n?Object.assign({},r):r}var i=this.points[e[t+3]].properties,a=this.options.map(i);return n&&a===i?Object.assign({},a):a}}function eR(e,t,n){return{type:"Feature",id:e[t+3],properties:eF(e,t,n),geometry:{type:"Point",coordinates:[(e[t]-.5)*360,360*Math.atan(Math.exp((180-360*e[t+1])*Math.PI/180))/Math.PI-90]}}}function eF(e,t,n){var r=e[t+5],i=r>=1e4?"".concat(Math.round(r/1e3),"k"):r>=1e3?"".concat(Math.round(r/100)/10,"k"):r,a=e[t+6];return Object.assign(-1===a?{}:Object.assign({},n[a]),{cluster:!0,cluster_id:e[t+3],point_count:r,point_count_abbreviated:i})}function ez(e){return e/360+.5}function eB(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function eV(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}class eU{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class eq{constructor(e){var{markers:t,position:n}=e;this.markers=t,n&&(n instanceof google.maps.LatLng?this._position=n:this._position=new google.maps.LatLng(n))}get bounds(){if(0!==this.markers.length||this._position){var e=new google.maps.LatLngBounds(this._position,this._position);for(var t of this.markers)e.extend(eU.getPosition(t));return e}}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>eU.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(eU.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class eH{constructor(e){var{maxZoom:t=16}=e;this.maxZoom=t}noop(e){var{markers:t}=e;return eZ(t)}}var eZ=e=>e.map(e=>new eq({position:eU.getPosition(e),markers:[e]}));class eW extends eH{constructor(e){var{maxZoom:t,radius:n=60}=e,r=eV(e,["maxZoom","radius"]);super({maxZoom:t}),this.state={zoom:-1},this.superCluster=new e_(Object.assign({maxZoom:this.maxZoom,radius:n},r))}calculate(e){var t=!1,n={zoom:e.map.getZoom()};if(!eP(e.markers,this.markers)){t=!0,this.markers=[...e.markers];var r=this.markers.map(e=>{var t=eU.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}});this.superCluster.load(r)}return!t&&(this.state.zoom<=this.maxZoom||n.zoom<=this.maxZoom)&&(t=!eP(this.state,n)),this.state=n,t&&(this.cluster
21s=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster(e){var{map:t}=e;return this.superCluster.getClusters([-180,-90,180,90],Math.round(t.getZoom())).map(e=>this.transformCluster(e))}transformCluster(e){var{geometry:{coordinates:[t,n]},properties:r}=e;if(r.cluster)return new eq({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(e=>e.properties.marker),position:{lat:n,lng:t}});var i=r.marker;return new eq({markers:[i],position:eU.getPosition(i)})}}class eG{constructor(e,t){this.markers={sum:e.length};var n=t.map(e=>e.count),r=n.reduce((e,t)=>e+t,0);this.clusters={count:t.length,markers:{mean:r/t.length,sum:r,min:Math.min(...n),max:Math.max(...n)}}}}class e${render(e,t,n){var{count:r,position:i}=e,a=r>Math.max(10,t.clusters.markers.mean)?"#ff0000":"#0000ff",o='<svg fill="'.concat(a,'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">\n<circle cx="120" cy="120" opacity=".6" r="70" />\n<circle cx="120" cy="120" opacity=".3" r="90" />\n<circle cx="120" cy="120" opacity=".2" r="110" />\n<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">').concat(r,"</text>\n</svg>"),s="Cluster of ".concat(r," markers"),l=Number(google.maps.Marker.MAX_ZINDEX)+r;if(eU.isAdvancedMarkerAvailable(n)){var u=new DOMParser().parseFromString(o,"image/svg+xml").documentElement;return u.setAttribute("transform","translate(0 25)"),new google.maps.marker.AdvancedMarkerElement({map:n,position:i,zIndex:l,title:s,content:u})}var c={position:i,zIndex:l,title:s,icon:{url:"data:image/svg+xml;base64,".concat(btoa(o)),anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(c)}}class eK{constructor(){!function(e,t){for(var n in t.prototype)e.prototype[n]=t.prototype[n]}(eK,google.maps.OverlayView)}}!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(u||(u={}));
21var eY=(e,t,n)=>{n.fitBounds(t.bounds)};class eX extends eK{constructor(e){var{map:t,markers:n=[],algorithmOptions:r={},algorithm:i=new eW(r),renderer:a=new e$,onClusterClick:o=eY}=e;super(),this.markers=[...n],this.clusters=[],this.algorithm=i,this.renderer=a,this.onClusterClick=o,t&&this.setMap(t)}addMarker(e,t){!this.markers.includes(e)&&(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach(e=>{this.addMarker(e,!0)}),t||this.render()}removeMarker(e,t){var n=this.markers.indexOf(e);return -1!==n&&(eU.setMap(e,null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){var n=!1;return e.forEach(e=>{n=this.removeMarker(e,!0)||n}),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){var e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,u.CLUSTERING_BEGIN,this);var{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(n||void 0==n){var r=new Set;for(var i of t)1==i.markers.length&&r.add(i.markers[0]);var a=[];for(var o of this.clusters)null!=o.marker&&(1==o.markers.length?r.has(o.marker)||eU.setMap(o.marker,null):a.push(o.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame(()=>a.forEach(e=>eU.setMap(e,null)))}google.maps.event.trigger(this,u.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>eU.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){var e=new eG(this.markers,this.clusters),t=this.getMap();this.clusters.forEach(n=>{1===n.markers.length?n.marker=n.markers[0]:(n.marker=this.renderer.render(n,e,t),n.markers.forEach(e=>eU.setMap(e,null)),this.onClusterClick&&n.marker.addListener("click",e=>{google.maps.event.trigger(this,u.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)})),eU.setMap(n.marker,t)})}}function eQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eQ(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}(0,d.memo)(function(e){var{children:t,options:n}=e,r=function(e){var t=y(),[n,r]=(0,d.useState)(null);return(0,d.useEffect)(()=>{t&&null===n&&r(new eX(eJ(eJ({},e),{},{map:t})))},[t]),n}(n);return null!==r?t(r):null});var e0={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},e1={options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},zIndex(e,t){e.setZIndex(t)}};(0,d.memo)(function(e){var{children:t,anchor:n,options:r,position:i,zIndex:a,onCloseClick:o,onDomReady:s,onContentChanged:l,onPositionChanged:u,onZindexChanged:c,onLoad:f,onUnmount:p}=e,m=(0,d.useContext)(v),[y,b]=(0,d.useState)(null),[w,x]=(0,d.useState)(null),[C,E]=(0,d.useState)(null),[S,A]=(0,d.useState)(null),[k,N]=(0,d.useState)(null),[P,I]=(0,d.useState)(null),T=(0,d.useRef)(null);return(0,d.useEffect)(()=>{null!==y&&(y.close(),n?y.open(m,n):y.getPosition()&&y.open(m))},[m,y,n]),(0,d.useEffect)(()=>{r&&null!==y&&y.setOptions(r)},[y,r]),(0,d.useEffect)(()=>{i&&null!==y&&y.setPosition(i)},[i]),(0,d.useEffect)(()=>{"number"==typeof a&&null!==y&&y.setZIndex(a)},[a]),(0,d.useEffect)(()=>{y&&o&&(null!==w&&google.maps.event.removeListener(w),x(google.maps.event.addListener(y,"closeclick",o)))},[o]),(0,d.useEffect)(()=>{y&&s&&(null!==C&&google.maps.event.removeListener(C),E(google.maps.event.addListener(y,"domready",s)))},[s]),(0,d.useEffect)(()=>{y&&l&&(null!==S&&google.maps.event.removeListener(S),A(google.maps.event.addListener(y,"content_changed",l)))},[l]),(0,d.useEffect)(()=>{y&&u&&(null!==k&&google.maps.event.removeListener(k),N(google.maps.event.addListener(y,"position_changed",u)))},[u]),(0,d.useEffect)(()=>{y&&c&&(null!==P&&google.maps.event.removeListener(P),I(google.maps.event.addListener(y,"zindex_changed",c)))},[c]),(0,d.useEffect)(()=>{var e=new google.maps.InfoWindow(r);return b(e),T.current=document.createElement("div"),o&&x(google.maps.event.addListener(e,"closeclick",o)),s&&E(google.maps.event.addListener(e,"domready",s)),l&&A(google.maps.event.addListener(e,"content_changed",l)),u&&N(google.maps.event.addListener(e,"position_changed",u)),c&&I(google.maps.event.addListener(e,"zindex_changed",c)),e.setContent(T.current),i&&e.setPosition(i),a&&e.setZIndex(a),n?e.open(m,n):e.getPosition()?e.open(m):g(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),f&&f(e),()=>{w&&google.maps.event.removeListener(w),S&&google.maps.event.removeListener(S),C&&google.maps.event.removeListener(C),k&&google.maps.event.removeListener(k),P&&google.maps.event.removeListener(P),p&&p(e),e.close()}},[]),T.current?(0,h.createPortal)(d.Children.only(t),T.current):null});class e2 extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"containerElement",null),p(this,"state",{infoWindow:null}),p(this,"open",(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):g(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")}),p(this,"setInfoWindowCallback",()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))})}componentDidMount(){var e=new google.maps.InfoWindow(this.props.options);this.containerElement=document.createElement("div"),this.registeredEvents=x({updaterMap:e1,eventMap:e0,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({infoWindow:e}),this.setInfoWindowCallback)}componentDidUpdate(e){null!==this.state.infoWindow&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:e1,eventMap:e0,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(w(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?(0,h.createPortal)(d.Children.only(this.props.children),this.containerElement):null}}function e5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?e5(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(e2,"contextType",v);var e3={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},e6={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},visible(e,t){e.setVisible(t)}},e8={};(0,d.memo)(function(e){var{options:t,draggable:n,editable:r,visible:i,path:a,onDblClick:o,onDragEnd:s,onDragStart:l,onMouseDown:u,onMouseMove:c,onMouseOut:h,onMouseOver:f,onMouseUp:p,onRightClick:m,onClick:g,onDrag:y,onLoad:b,onUnmount:w}=e,x=(0,d.useContext)(v),[C,E]=(0,d.useState)(null),[S,A]=(0,d.useState)(null),[k,N]=(0,d.useState)(null),[P,I]=(0,d.useState)(null),[T,O]=(0,d.useState)(null),[L,M]=(0,d.useState)(null),[D,j]=(0,d.useState)(null),[_,R]=(0,d.useState)(null),[F,z]=(0,d.useState)(null),[B,V]=(0,d.useState)(null),[U,q]=(0,d.useState)(null),[H,Z]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==C&&C.setMap(x)},[x]),(0,d.useEffect)(()=>{void 0!==t&&null!==C&&C.setOptions(t)},[C,t]),(0,d.useEffect)(()=>{void 0!==n&&null!==C&&C.setDraggable(n)},[C,n]),(0,d.useEffect)(()=>{void 0!==r&&null!==C&&C.setEditable(r)},[C,r]),(0,d.useEffect)(()=>{void 0!==i&&null!==C&&C.setVisible(i)},[C,i]),(0,d.useEffect)(()=>{void 0!==a&&null!==C&&C.setPath(a)},[C,a]),(0,d.useEffect)(()=>{C&&o&&(null!==S&&google.maps.event.removeListener(S),A(google.maps.event.addListener(C,"dblclick",o)))},[o]),(0,d.useEffect)(()=>{C&&s&&(null!==k&&google.maps.event.removeListener(k),N(google.maps.event.addListener(C,"dragend",s)))},[s]),(0,d.useEffect)(()=>{C&&l&&(null!==P&&google.maps.event.removeListener(P),I(google.maps.event.addListener(C,"dragstart",l)))},[l]),(0,d.useEffect)(()=>{C&&u&&(null!==T&&google.maps.event.removeListener(T),O(google.maps.event.addListener(C,"mousedown",u)))},[u]),(0,d.useEffect)(()=>{C&&c&&(null!==L&&google.maps.event.removeListener(L),M(google.maps.event.addListener(C,"mousemove",c)))},[c]),(0,d.useEffect)(()=>{C&&h&&(null!==D&&google.maps.event.removeListener(D),j(google.maps.event.addListener(C,"mouseout",h)))},[h]),(0,d.useEffect)(()=>{C&&f&&(null!==_&&google.maps.event.removeListener(_),R(google.maps.event.addListener(C,"mouseover",f)))},[f]),(0,d.useEffect)(()=>{C&&p&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(C,"mouseup",p)))},[p]),(0,d.useEffect)(()=>{C&&m&&(null!==B&&google.maps.event.removeListener(B),V(google.maps.event.addListener(C,"rightclick",m)))},[m]),(0,d.useEffect)(()=>{C&&g&&(null!==U&&google.maps.event.removeListener(U),q(google.maps.event.addListener(C,"click",g)))},[g]),(0,d.useEffect)(()=>{C&&y&&(null!==H&&google.maps.event.removeListener(H),Z(google.maps.event.addListener(C,"drag",y)))},[y]),(0,d.useEffect)(()=>{var e=new google.maps.Polyline(e4(e4({},t||e8),{},{map:x}));return a&&e.setPath(a),void 0!==i&&e.setVisible(i),void 0!==r&&e.setEditable(r),void 0!==n&&e.setDraggable(n),o&&A(google.maps.event.addListener(e,"dblclick",o)),s&&N(google.maps.event.addListener(e,"dragend",s)),l&&I(google.maps.event.addListener(e,"dragstart",l)),u&&O(google.maps.event.addListener(e,"mousedown",u)),c&&M(google.maps.event.addListener(e,"mousemove",c)),h&&j(google.maps.event.addListener(e,"mouseout",h)),f&&R(google.maps.event.addListener(e,"mouseover",f)),p&&z(google.maps.event.addListener(e,"mouseup",p)),m&&V(google.maps.event.addListener(e,"rightclick",m)),g&&q(google.maps.event.addListener(e,"click",g)),y&&Z(google.maps.event.addListener(e,"drag",y)),E(e),b&&b(e),()=>{null!==S&&google.maps.event.removeListener(S),null!==k&&google.maps.event.removeListener(k),null!==P&&google.maps.event.removeListener(P),null!==T&&google.maps.event.removeListener(T),null!==L&&google.maps.event.removeListener(L),null!==D&&google.maps.event.removeListener(
21D),null!==_&&google.maps.event.removeListener(_),null!==F&&google.maps.event.removeListener(F),null!==B&&google.maps.event.removeListener(B),null!==U&&google.maps.event.removeListener(U),w&&w(e),e.setMap(null)}},[]),null});class e9 extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{polyline:null}),p(this,"setPolylineCallback",()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)})}componentDidMount(){var e=new google.maps.Polyline(e4(e4({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:e6,eventMap:e3,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polyline:e}},this.setPolylineCallback)}componentDidUpdate(e){null!==this.state.polyline&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:e6,eventMap:e3,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),w(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}function e7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?e7(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e7(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(e9,"contextType",v);var tt={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},tn={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},paths(e,t){e.setPaths(t)},visible(e,t){e.setVisible(t)}};(0,d.memo)(function(e){var{options:t,draggable:n,editable:r,visible:i,path:a,paths:o,onDblClick:s,onDragEnd:l,onDragStart:u,onMouseDown:c,onMouseMove:h,onMouseOut:f,onMouseOver:p,onMouseUp:m,onRightClick:g,onClick:y,onDrag:b,onLoad:w,onUnmount:x,onEdit:C}=e,E=(0,d.useContext)(v),[S,A]=(0,d.useState)(null),[k,N]=(0,d.useState)(null),[P,I]=(0,d.useState)(null),[T,O]=(0,d.useState)(null),[L,M]=(0,d.useState)(null),[D,j]=(0,d.useState)(null),[_,R]=(0,d.useState)(null),[F,z]=(0,d.useState)(null),[B,V]=(0,d.useState)(null),[U,q]=(0,d.useState)(null),[H,Z]=(0,d.useState)(null),[W,G]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==S&&S.setMap(E)},[E]),(0,d.useEffect)(()=>{void 0!==t&&null!==S&&S.setOptions(t)},[S,t]),(0,d.useEffect)(()=>{void 0!==n&&null!==S&&S.setDraggable(n)},[S,n]),(0,d.useEffect)(()=>{void 0!==r&&null!==S&&S.setEditable(r)},[S,r]),(0,d.useEffect)(()=>{void 0!==i&&null!==S&&S.setVisible(i)},[S,i]),(0,d.useEffect)(()=>{void 0!==a&&null!==S&&S.setPath(a)},[S,a]),(0,d.useEffect)(()=>{void 0!==o&&null!==S&&S.setPaths(o)},[S,o]),(0,d.useEffect)(()=>{S&&"function"==typeof s&&(null!==k&&google.maps.event.removeListener(k),N(google.maps.event.addListener(S,"dblclick",s)))},[s]),(0,d.useEffect)(()=>{S&&(google.maps.event.addListener(S.getPath(),"insert_at",()=>{null==C||C(S)}),google.maps.event.addListener(S.getPath(),"set_at",()=>{null==C||C(S)}),google.maps.event.addListener(S.getPath(),"remove_at",()=>{null==C||C(S)}))},[S,C]),(0,d.useEffect)(()=>{S&&"function"==typeof l&&(null!==P&&google.maps.event.removeListener(P),I(google.maps.event.addListener(S,"dragend",l)))},[l]),(0,d.useEffect)(()=>{S&&"function"==typeof u&&(null!==T&&google.maps.event.removeListener(T),O(google.maps.event.addListener(S,"dragstart",u)))},[u]),(0,d.useEffect)(()=>{S&&"function"==typeof c&&(null!==L&&google.maps.event.removeListener(L),M(google.maps.event.addListener(S,"mousedown",c)))},[c]),(0,d.useEffect)(()=>{S&&"function"==typeof h&&(null!==D&&google.maps.event.removeListener(
21D),j(google.maps.event.addListener(S,"mousemove",h)))},[h]),(0,d.useEffect)(()=>{S&&"function"==typeof f&&(null!==_&&google.maps.event.removeListener(_),R(google.maps.event.addListener(S,"mouseout",f)))},[f]),(0,d.useEffect)(()=>{S&&"function"==typeof p&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(S,"mouseover",p)))},[p]),(0,d.useEffect)(()=>{S&&"function"==typeof m&&(null!==B&&google.maps.event.removeListener(B),V(google.maps.event.addListener(S,"mouseup",m)))},[m]),(0,d.useEffect)(()=>{S&&"function"==typeof g&&(null!==U&&google.maps.event.removeListener(U),q(google.maps.event.addListener(S,"rightclick",g)))},[g]),(0,d.useEffect)(()=>{S&&"function"==typeof y&&(null!==H&&google.maps.event.removeListener(H),Z(google.maps.event.addListener(S,"click",y)))},[y]),(0,d.useEffect)(()=>{S&&"function"==typeof b&&(null!==W&&google.maps.event.removeListener(W),G(google.maps.event.addListener(S,"drag",b)))},[b]),(0,d.useEffect)(()=>{var e=new google.maps.Polygon(te(te({},t),{},{map:E}));return a&&e.setPath(a),o&&e.setPaths(o),void 0!==i&&e.setVisible(i),void 0!==r&&e.setEditable(r),void 0!==n&&e.setDraggable(n),s&&N(google.maps.event.addListener(e,"dblclick",s)),l&&I(google.maps.event.addListener(e,"dragend",l)),u&&O(google.maps.event.addListener(e,"dragstart",u)),c&&M(google.maps.event.addListener(e,"mousedown",c)),h&&j(google.maps.event.addListener(e,"mousemove",h)),f&&R(google.maps.event.addListener(e,"mouseout",f)),p&&z(google.maps.event.addListener(e,"mouseover",p)),m&&V(google.maps.event.addListener(e,"mouseup",m)),g&&q(google.maps.event.addListener(e,"rightclick",g)),y&&Z(google.maps.event.addListener(e,"click",y)),b&&G(google.maps.event.addListener(e,"drag",b)),A(e),w&&w(e),()=>{null!==k&&google.maps.event.removeListener(k),null!==P&&google.maps.event.removeListener(P),null!==T&&google.maps.event.removeListener(T),null!==L&&google.maps.event.removeListener(L),null!==D&&google.maps.event.removeListener(D),null!==_&&google.maps.event.removeListener(_),null!==F&&google.maps.event.removeListener(F),null!==B&&google.maps.event.removeListener(B),null!==U&&google.maps.event.removeListener(U),null!==H&&google.maps.event.removeListener(H),x&&x(e),e.setMap(null)}},[]),null});class tr extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[])}componentDidMount(){var e=this.props.options||{};this.polygon=new google.maps.Polygon(e),this.polygon.setMap(this.context),this.registeredEvents=x({updaterMap:tn,eventMap:tt,prevProps:{},nextProps:this.props,instance:this.polygon}),this.props.onLoad&&this.props.onLoad(this.polygon)}componentDidUpdate(e){this.polygon&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tn,eventMap:tt,prevProps:e,nextProps:this.props,instance:this.polygon}))}componentWillUnmount(){this.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.polygon),w(this.registeredEvents),this.polygon&&this.polygon.setMap(null))}render(){return null}}function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ta(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tr,"contextType",v);var to={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ts={bounds(e,t){e.setBounds(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},visible(e,t){e.setVisible(t)}};(0,d.memo)(function(e){var{options:t,bounds:n,draggable:r,editable:i,visible:a,onDblClick:o,onDragEnd:s,onDragStart:l,onMouseDown:u,onMouseMove:c,onMouseOut:h,onMouseOver:f,onMouseUp:p,onRightClick:m,onClick:g,onDrag:y,onBoundsChanged:b,onLoad:w,onUnmount:x}=e,C=(0,d.useContext)(v),[E,S]=(0,d.useState)(null),[A,k]=(0,d.useState)(null),[N,P]=(0,d.useState)(null),[I,T]=(0,d.useState)(null),[O,L]=(0,d.useState)(null),[M,D]=(0,d.useState)(null),[j,_]=(0,d.useState)(null),[R,F]=(0,d.useState)(null),[z,B]=(0,d.useState)(null),[V,U]=(0,d.useState)(null),[q,H]=(0,d.useState)(null),[Z,W]=(0,d.useState)(null),[G,$]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==E&&E.setMap(C)},[C]),(0,d.useEffect)(()=>{void 0!==t&&null!==E&&E.setOptions(t)},[E,t]),(0,d.useEffect)(()=>{void 0!==r&&null!==E&&E.setDraggable(r)},[E,r]),(0,d.useEffect)(()=>{void 0!==i&&null!==E&&E.setEditable(i)},[E,i]),(0,d.useEffect)(()=>{void 0!==a&&null!==E&&E.setVisible(a)},[E,a]),(0,d.useEffect)(()=>{void 0!==n&&null!==E&&E.setBounds(n)},[E,n]),(0,d.useEffect)(()=>{E&&o&&(null!==A&&google.maps.event.removeListener(A),k(google.maps.event.addListener(E,"dblclick",o)))},[o]),(0,d.useEffect)(()=>{E&&s&&(null!==N&&google.maps.event.removeListener(N),P(google.maps.event.addListener(E,"dragend",s)))},[s]),(0,d.useEffect)(()=>{E&&l&&(null!==I&&google.maps.event.removeListener(I),T(google.maps.event.addListener(E,"dragstart",l)))},[l]),(0,d.useEffect)(()=>{E&&u&&(null!==O&&google.maps.event.removeListener(O),L(google.maps.event.addListener(E,"mousedown",u)))},[u]),(0,d.useEffect)(()=>
21{E&&c&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(E,"mousemove",c)))},[c]),(0,d.useEffect)(()=>{E&&h&&(null!==j&&google.maps.event.removeListener(j),_(google.maps.event.addListener(E,"mouseout",h)))},[h]),(0,d.useEffect)(()=>{E&&f&&(null!==R&&google.maps.event.removeListener(R),F(google.maps.event.addListener(E,"mouseover",f)))},[f]),(0,d.useEffect)(()=>{E&&p&&(null!==z&&google.maps.event.removeListener(z),B(google.maps.event.addListener(E,"mouseup",p)))},[p]),(0,d.useEffect)(()=>{E&&m&&(null!==V&&google.maps.event.removeListener(V),U(google.maps.event.addListener(E,"rightclick",m)))},[m]),(0,d.useEffect)(()=>{E&&g&&(null!==q&&google.maps.event.removeListener(q),H(google.maps.event.addListener(E,"click",g)))},[g]),(0,d.useEffect)(()=>{E&&y&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(E,"drag",y)))},[y]),(0,d.useEffect)(()=>{E&&b&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(E,"bounds_changed",b)))},[b]),(0,d.useEffect)(()=>{var e=new google.maps.Rectangle(ta(ta({},t),{},{map:C}));return void 0!==a&&e.setVisible(a),void 0!==i&&e.setEditable(i),void 0!==r&&e.setDraggable(r),void 0!==n&&e.setBounds(n),o&&k(google.maps.event.addListener(e,"dblclick",o)),s&&P(google.maps.event.addListener(e,"dragend",s)),l&&T(google.maps.event.addListener(e,"dragstart",l)),u&&L(google.maps.event.addListener(e,"mousedown",u)),c&&D(google.maps.event.addListener(e,"mousemove",c)),h&&_(google.maps.event.addListener(e,"mouseout",h)),f&&F(google.maps.event.addListener(e,"mouseover",f)),p&&B(google.maps.event.addListener(e,"mouseup",p)),m&&U(google.maps.event.addListener(e,"rightclick",m)),g&&H(google.maps.event.addListener(e,"click",g)),y&&W(google.maps.event.addListener(e,"drag",y)),b&&$(google.maps.event.addListener(e,"bounds_changed",b)),S(e),w&&w(e),()=>{null!==A&&google.maps.event.removeListener(A),null!==N&&google.maps.event.removeListener(N),null!==I&&google.maps.event.removeListener(I),null!==O&&google.maps.event.removeListener(O),null!==M&&google.maps.event.removeListener(M),null!==j&&google.maps.event.removeListener(j),null!==R&&google.maps.event.removeListener(R),null!==z&&google.maps.event.removeListener(z),null!==V&&google.maps.event.removeListener(V),null!==q&&google.maps.event.removeListener(q),null!==Z&&google.maps.event.removeListener(Z),null!==G&&google.maps.event.removeListener(G),x&&x(e),e.setMap(null)}},[]),null});class tl extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{rectangle:null}),p(this,"setRectangleCallback",()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)})}componentDidMount(){var e=new google.maps.Rectangle(ta(ta({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:ts,eventMap:to,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{rectangle:e}},this.setRectangleCallback)}componentDidUpdate(e){null!==this.state.rectangle&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:ts,eventMap:to,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),w(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}function tu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tu(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tl,"contextType",v);var td={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},th={center(e,t){e.setCenter(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},radius(e,t){e.setRadius(t)},visible(e,t){e.setVisible(t)}},tf={};(0,d.memo)(function(e){var{options:t,center:n,radius:r,draggable:i,editable:a,visible:o,onDblClick:s,onDragEnd:l,onDragStart:u,onMouseDown:c,onMouseMove:h,onMouseOut:f,onMouseOver:p,onMouseUp:m,onRightClick:g,onClick:y,onDrag:b,onCenterChanged:w,onRadiusChanged:x,onLoad:C,onUnmount:E}=e,S=(0,d.useContext)(v),[A,k]=(0,d.useState)(null),[N,P]=(0,d.useState)(null),[I,T]=(0,d.useState)(null),[O,L]=(0,d.useState)(null),[M,D]=(0,d.useState)(null),[j,_]=(0,d.useState)(null),[R,F]=(0,d.useState)(null),[z,B]=(0,d.useState)(null),[V,U]=(0,d.useState)(null),[q,H]=(0,d.useState)(null),[Z,W]=(0,d.useState)(null),[G,$]=(0,d.useState)(null),[K,Y]=(0,d.useState)(null),[X,Q]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==A&&A.setMap(S)},[S]),(0,d.useEffect)(()=>{void 0!==t&&null!==A&&A.setOptions(t)},[A,t]),(0,d.useEffect)(()=>{void 0!==i&&null!==A&&A.setDraggable(i)},[A,i]),(0,d.useEffect)(()=>{void 0!==a&&null!==A&&A.setEditable(a)},[A,a]),(0,d.useEffect)(()=>{void 0!==o&&null!==A&&A.setVisible(o)},[A,o]),(0,d.useEffect)(()=>{"number"==typeof r&&null!==A&&A.setRadius(r)},[A,r]),(0,d.useEffect)(()=>{void 0!==n&&null!==A&&A.setCenter(n)},[A,n]),(0,d.useEffect)(()=>{A&&s&&(null!==N&&google.maps.event.removeListener(N),P(google.maps.event.addListener(A,"dblclick",
21s)))},[s]),(0,d.useEffect)(()=>{A&&l&&(null!==I&&google.maps.event.removeListener(I),T(google.maps.event.addListener(A,"dragend",l)))},[l]),(0,d.useEffect)(()=>{A&&u&&(null!==O&&google.maps.event.removeListener(O),L(google.maps.event.addListener(A,"dragstart",u)))},[u]),(0,d.useEffect)(()=>{A&&c&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(A,"mousedown",c)))},[c]),(0,d.useEffect)(()=>{A&&h&&(null!==j&&google.maps.event.removeListener(j),_(google.maps.event.addListener(A,"mousemove",h)))},[h]),(0,d.useEffect)(()=>{A&&f&&(null!==R&&google.maps.event.removeListener(R),F(google.maps.event.addListener(A,"mouseout",f)))},[f]),(0,d.useEffect)(()=>{A&&p&&(null!==z&&google.maps.event.removeListener(z),B(google.maps.event.addListener(A,"mouseover",p)))},[p]),(0,d.useEffect)(()=>{A&&m&&(null!==V&&google.maps.event.removeListener(V),U(google.maps.event.addListener(A,"mouseup",m)))},[m]),(0,d.useEffect)(()=>{A&&g&&(null!==q&&google.maps.event.removeListener(q),H(google.maps.event.addListener(A,"rightclick",g)))},[g]),(0,d.useEffect)(()=>{A&&y&&(null!==Z&&google.maps.event.removeListener(Z),W(google.maps.event.addListener(A,"click",y)))},[y]),(0,d.useEffect)(()=>{A&&b&&(null!==G&&google.maps.event.removeListener(G),$(google.maps.event.addListener(A,"drag",b)))},[b]),(0,d.useEffect)(()=>{A&&w&&(null!==K&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(A,"center_changed",w)))},[y]),(0,d.useEffect)(()=>{A&&x&&(null!==X&&google.maps.event.removeListener(X),Q(google.maps.event.addListener(A,"radius_changed",x)))},[x]),(0,d.useEffect)(()=>{var e=new google.maps.Circle(tc(tc({},t||tf),{},{map:S}));return"number"==typeof r&&e.setRadius(r),void 0!==n&&e.setCenter(n),"number"==typeof r&&e.setRadius(r),void 0!==o&&e.setVisible(o),void 0!==a&&e.setEditable(a),void 0!==i&&e.setDraggable(i),s&&P(google.maps.event.addListener(e,"dblclick",s)),l&&T(google.maps.event.addListener(e,"dragend",l)),u&&L(google.maps.event.addListener(e,"dragstart",u)),c&&D(google.maps.event.addListener(e,"mousedown",c)),h&&_(google.maps.event.addListener(e,"mousemove",h)),f&&F(google.maps.event.addListener(e,"mouseout",f)),p&&B(google.maps.event.addListener(e,"mouseover",p)),m&&U(google.maps.event.addListener(e,"mouseup",m)),g&&H(google.maps.event.addListener(e,"rightclick",g)),y&&W(google.maps.event.addListener(e,"click",y)),b&&$(google.maps.event.addListener(e,"drag",b)),w&&Y(google.maps.event.addListener(e,"center_changed",w)),x&&Q(google.maps.event.addListener(e,"radius_changed",x)),k(e),C&&C(e),()=>{null!==N&&google.maps.event.removeListener(N),null!==I&&google.maps.event.removeListener(I),null!==O&&google.maps.event.removeListener(O),null!==M&&google.maps.event.removeListener(M),null!==j&&google.maps.event.removeListener(j),null!==R&&google.maps.event.removeListener(R),null!==z&&google.maps.event.removeListener(z),null!==V&&google.maps.event.removeListener(V),null!==q&&google.maps.event.removeListener(q),null!==Z&&google.maps.event.removeListener(Z),null!==K&&google.maps.event.removeListener(K),null!==X&&google.maps.event.removeListener(X),E&&E(e),e.setMap(null)}},[]),null});class tp extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{circle:null}),p(this,"setCircleCallback",()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)})}componentDidMount(){var e=new google.maps.Circle(tc(tc({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:th,eventMap:td,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{circle:e}},this.setCircleCallback)}componentDidUpdate(e){null!==this.state.circle&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:th,eventMap:td,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){if(null!==this.state.circle){var e;this.props.onUnmount&&this.props.onUnmount(this.state.circle),w(this.registeredEvents),null==(e=this.state.circle)||e.setMap(null)}}render(){return null}}function tm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?tm(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tp,"contextType",v);var tv={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},ty={add(e,t){e.add(t)},addgeojson(e,t,n){e.addGeoJson(t,n)},contains(e,t){e.contains(t)},foreach(e,t){e.forEach(t)},loadgeojson(e,t,n,r){e.loadGeoJson(t,n,r)},overridestyle(e,t,n){e.overrideStyle(t,n)},remove(e,t){e.remove(t)},revertstyle(e,t){e.revertStyle(t)},controlposition(e,t){e.setControlPosition(t)},controls(e,t){e.setControls(t)},drawingmode(e,t){e.setDrawingMode(t)},map(e,t){e.setMap(t)},style(e,t){e.setStyle(t)},togeojson(e,t){e.toGeoJson(t)}};(0,d.memo)(function(e){var{options:t,onClick:n,onDblClick:r,onMouseDown:i,onMouseMove:a,onMouseOut:o,onMouseOver:s,onMouseUp:l,onRightClick:u,onAddFeature:c,onRemoveFeature:h,onRemoveProperty:f,onSetGeometry:p,onSetProperty:m,onLoad:g,onUnmount:y}=e,b=(0,d.useContext)(v),[w,x]=(0,d.useState)(null),[C,E]=(0,d.useState)(null),[S,A]=(0,d.useState)(null),[k,N]=(0,d.useState)(null),[P,I]=(0,d.useState)(null),[T,O]=(0,d.useState)(null),[L,M]=(0,d.useState)(null),[D,j]=(0,d.useState)(null),[_,R]=(0,d.useState)(null),[F,z]=(0,d.useState)(null),[B,V]=(0,d.useState)(null),[U,q]=(0,d.useState)(null),[H,Z]=(0,d.useState)(null),[W,G]=(0,d.useState)(null);return(0,d.useEffect)(()=>{null!==w&&w.setMap(b)},[b]),(0,d.useEffect)(()=>{w&&r&&(null!==C&&google.maps.event.removeListener(C),E(google.maps.event.addListener(w,"dblclick",r)))},[r]),(0,d.useEffect)(()=>{w&&i&&(null!==S&&google.maps.event.removeListener(S),A(google.maps.event.addListener(w,"mousedown",i)))},[i]),(0,d.useEffect)(()=>{w&&a&&(null!==k&&google.maps.event.removeListener(k),N(google.maps.event.addListener(w,"mousemove",a)))},[a]),(0,d.useEffect)(()=>{w&&o&&(null!==P&&google.maps.event.removeListener(P),I(google.maps.event.addListener(w,"mouseout",o)))},[o]),(0,d.useEffect)(()=>{w&&s&&(null!==T&&google.maps.event.removeListener(T),O(google.maps.event.addListener(w,"mouseover",s)))},[s]),(0,d.useEffect)(()=>{w&&l&&(null!==L&&google.maps.event.removeListener(L),M(google.maps.event.addListener(w,"mouseup",l)))},[l]),(0,d.useEffect)(()=>{w&&u&&(null!==D&&google.maps.event.removeListener(D),j(google.maps.event.addListener(w,"rightclick",u)))},[u]),(0,d.useEffect)(()=>{w&&n&&(null!==_&&google.maps.event.removeListener(_),R(google.maps.event.addListener(w,"click",n)))},[n]),(0,d.useEffect)(()=>{w&&c&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(w,"addfeature",c)))},[c]),(0,d.useEffect)(()=>{w&&h&&(null!==B&&google.maps.event.removeListener(B),V(google.maps.event.addListener(w,"removefeature",h)))},[h]),(0,d.useEffect)(()=>{w&&f&&(null!==U&&google.maps.event.removeListener(U),q(google.maps.event.addListener(w,"removeproperty",f)))},[f]),(0,d.useEffect)(()=>{w&&p&&(null!==H&&google.maps.event.removeListener(H),Z(google.maps.event.addListener(w,"setgeometry",p)))},[p]),(0,d.useEffect)(()=>{w&&m&&(null!==W&&google.maps.event.removeListener(W),G(google.maps.event.addListener(w,"setproperty",m)))},[m]),(0,d.useEffect)(()=>{if(null!==b){var e=new google.maps.Data(tg(tg({},t),{},{map:b}));r&&E(google.maps.event.addListener(e,"dblclick",r)),i&&A(google.maps.event.addListener(e,"mousedown",i)),a&&N(google.maps.event.addListener(e,"mousemove",a)),o&&I(google.maps.event.addListener(e,"mouseout",o)),s&&O(google.maps.event.addListener(e,"mouseover",s)),l&&M(google.maps.event.addListener(e,"mouseup",l)),u&&j(google.maps.event.addListener(e,"rightclick",u)),n&&R(google.maps.event.addListener(e,"click",n)),c&&z(google.maps.event.addListener(e,"addfeature",c)),h&&V(google.maps.event.addListener(e,"removefeature",h)),f&&q(google.maps.event.addListener(e,"removeproperty",f)),p&&Z(google.maps.event.addListener(e,"setgeometry",p)),m&&G(google.maps.event.addListener(e,"setproperty",m)),x(e),g&&g(e)}return()=>{w&&(null!==C&&google.maps.event.removeListener(C),null!==S&&google.maps.event.removeListener(S),null!==k&&google.maps.event.removeListener(k),null!==P&&google.maps.event.removeListener(P),null!==T&&google.maps.event.removeListener(T),null!==L&&google.maps.event.removeListener(L),null!==D&&google.maps.event.removeListener(
21D),null!==_&&google.maps.event.removeListener(_),null!==F&&google.maps.event.removeListener(F),null!==B&&google.maps.event.removeListener(B),null!==U&&google.maps.event.removeListener(U),null!==H&&google.maps.event.removeListener(H),null!==W&&google.maps.event.removeListener(W),y&&y(w),w.setMap(null))}},[]),null});class tb extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{data:null}),p(this,"setDataCallback",()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)})}componentDidMount(){if(null!==this.context){var e=new google.maps.Data(tg(tg({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:ty,eventMap:tv,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({data:e}),this.setDataCallback)}}componentDidUpdate(e){null!==this.state.data&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:ty,eventMap:tv,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),w(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}function tw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tw(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tb,"contextType",v);var tC={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},tE={options(e,t){e.setOptions(t)},url(e,t){e.setUrl(t)},zIndex(e,t){e.setZIndex(t)}};class tS extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{kmlLayer:null}),p(this,"setKmlLayerCallback",()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)})}componentDidMount(){var e=new google.maps.KmlLayer(tx(tx({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:tE,eventMap:tC,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{kmlLayer:e}},this.setKmlLayerCallback)}componentDidUpdate(e){null!==this.state.kmlLayer&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tE,eventMap:tC,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),w(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}function tA(e,t){return"function"==typeof t?t(e.offsetWidth,e.offsetHeight):{x:0,y:0}}function tk(e,t){return new t(e.lat,e.lng)}function tN(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function tP(e,t,n,r){var i,a,o,s,l;return void 0!==n?(i=google.maps.LatLngBounds,a=n instanceof i?n:tN(n,i),o=e&&e.fromLatLngToDivPixel(a.getNorthEast()),s=e&&e.fromLatLngToDivPixel(a.getSouthWest
21()),o&&s?{left:"".concat(s.x+t.x,"px"),top:"".concat(o.y+t.y,"px"),width:"".concat(o.x-s.x-t.x,"px"),height:"".concat(s.y-o.y-t.y,"px")}:{left:"-9999px",top:"-9999px"}):function(e,t,n){var r=e&&e.fromLatLngToDivPixel(n);if(r){var{x:i,y:a}=r;return{left:"".concat(i+t.x,"px"),top:"".concat(a+t.y,"px")}}return{left:"-9999px",top:"-9999px"}}(e,t,(l=google.maps.LatLng,r instanceof l?r:tk(r,l)))}function tI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tO(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function tL(e){return e?(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+"":""}p(tS,"contextType",v);var tM=(0,d.memo)(function(e){var{position:t,bounds:n,mapPaneName:r,zIndex:i,onLoad:a,onUnmount:o,getPixelPositionOffset:s,children:l}=e,u=(0,d.useContext)(v),c=(0,d.useMemo)(()=>{var e=document.createElement("div");return e.style.position="absolute",e},[]),f=(0,d.useMemo)(()=>(function(e,t,n,r,i){class a extends google.maps.OverlayView{constructor(e,t,n,r){super(),this.container=e,this.pane=t,this.position=n,this.bounds=r}onAdd(){var e,t=null==(e=this.getPanes())?void 0:e[this.pane];null==t||t.appendChild(this.container)}draw(){for(var[e,t]of Object.entries(tP(this.getProjection(),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tI(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},this.container?tA(this.container,i):{x:0,y:0}),this.bounds,this.position)))this.container.style[e]=t}onRemove(){null!==this.container.parentNode&&this.container.parentNode.removeChild(this.container)}}return new a(e,t,n,r)})(c,r,t,n,s),[c,r,t,n]);return(0,d.useEffect)(()=>(null==a||a(f),null==f||f.setMap(u),()=>{null==o||o(f),null==f||f.setMap(null)}),[u,f]),(0,d.useEffect)(()=>{c.style.zIndex="".concat(i)},[i,c]),h.createPortal(l,c)});class tD extends d.PureComponent{constructor(e){super(e),p(this,"state",{paneEl:null,containerStyle:{position:"absolute"}}),p(this,"updatePane",()=>{var e=this.props.mapPaneName,t=this.overlayView.getPanes();g(!!e,"OverlayView requires props.mapPaneName but got %s",e),t?this.setState({paneEl:t[e]}):this.setState({paneEl:null})}),p(this,"onAdd",()=>{var e,t;this.updatePane(),null==(e=(t=this.props).onLoad)||e.call(t,this.overlayView)}),p(this,"onPositionElement",()=>{var e,t,n,r,i=tP(this.overlayView.getProjection(),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tT(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({x:0,y:0},this.containerRef.current?tA(this.containerRef.current,this.props.getPixelPositionOffset):{}),this.props.bounds,this.props.position);!function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.height&&e.height===t.height}(i,{left:this.state.containerStyle.left,top:this.state.containerStyle.top,width:this.state.containerStyle.width,height:this.state.containerStyle.height})&&this.setState({containerStyle:{top:null!=(e=i.top)?e:0,left:null!=(t=i.left)?t:0,width:null!=(n=i.width)?n:0,height:null!=(r=i.height)?r:0,position:"absolute"}})}),p(this,"draw",()=>{this.onPositionElement()}),p(this,"onRemove",()=>{var e,t;this.setState(()=>({paneEl:null})),null==(e=(t=this.props).onUnmount)||e.call(t,this.overlayView)}
21),this.containerRef=(0,d.createRef)();var t=new google.maps.OverlayView;t.onAdd=this.onAdd,t.draw=this.draw,t.onRemove=this.onRemove,this.overlayView=t}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){var t=tO(e.position),n=tO(this.props.position),r=tL(e.bounds),i=tL(this.props.bounds);(t!==n||r!==i)&&this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){var e=this.state.paneEl;return e?h.createPortal((0,c.jsx)("div",{ref:this.containerRef,style:this.state.containerStyle,children:d.Children.only(this.props.children)}),e):null}}function tj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tj(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tD,"FLOAT_PANE","floatPane"),p(tD,"MAP_PANE","mapPane"),p(tD,"MARKER_LAYER","markerLayer"),p(tD,"OVERLAY_LAYER","overlayLayer"),p(tD,"OVERLAY_MOUSE_TARGET","overlayMouseTarget"),p(tD,"contextType",v);var tR={onDblClick:"dblclick",onClick:"click"},tF={opacity(e,t){e.setOpacity(t)}};(0,d.memo)(function(e){var{url:t,bounds:n,options:r,visible:i}=e,a=(0,d.useContext)(v),o=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),s=(0,d.useMemo)(()=>new google.maps.GroundOverlay(t,o,r),[]);return(0,d.useEffect)(()=>{null!==s&&s.setMap(a)},[a]),(0,d.useEffect)(()=>{void 0!==t&&null!==s&&(s.set("url",t),s.setMap(a))},[s,t]),(0,d.useEffect)(()=>{void 0!==i&&null!==s&&s.setOpacity(+!!i)},[s,i]),(0,d.useEffect)(()=>{var e=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));void 0!==n&&null!==s&&(s.set("bounds",e),s.setMap(a))},[s,n]),null});class tz extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{groundOverlay:null}),p(this,"setGroundOverlayCallback",()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)})}componentDidMount(){g(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");var e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,t_(t_({},this.props.options),{},{map:this.context}));this.registeredEvents=x({updaterMap:tF,eventMap:tR,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{groundOverlay:e}},this.setGroundOverlayCallback)}componentDidUpdate(e){null!==this.state.groundOverlay&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tF,eventMap:tR,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}function tB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
21t%2?tB(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}p(tz,"defaultProps",{onLoad:function(){}}),p(tz,"contextType",v);var tU={},tq={data(e,t){e.setData(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)}};(0,d.memo)(function(e){var{data:t,onLoad:n,onUnmount:r,options:i}=e,a=(0,d.useContext)(v),[o,s]=(0,d.useState)(null);return(0,d.useEffect)(()=>{google.maps.visualization||g(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),(0,d.useEffect)(()=>{g(!!t,"data property is required in HeatmapLayer %s",t)},[t]),(0,d.useEffect)(()=>{null!==o&&o.setMap(a)},[a]),(0,d.useEffect)(()=>{i&&null!==o&&o.setOptions(i)},[o,i]),(0,d.useEffect)(()=>{var e=new google.maps.visualization.HeatmapLayer(tV(tV({},i),{},{data:t,map:a}));return s(e),n&&n(e),()=>{null!==o&&(r&&r(o),o.setMap(null))}},[]),null});class tH extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{heatmapLayer:null}),p(this,"setHeatmapLayerCallback",()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)})}componentDidMount(){g(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),g(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var e=new google.maps.visualization.HeatmapLayer(tV(tV({},this.props.options),{},{data:this.props.data,map:this.context}));this.registeredEvents=x({updaterMap:tq,eventMap:tU,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{heatmapLayer:e}},this.setHeatmapLayerCallback)}componentDidUpdate(e){w(this.registeredEvents),this.registeredEvents=x({updaterMap:tq,eventMap:tU,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),w(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}p(tH,"contextType",v);var tZ={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},tW={register(e,t,n){e.registerPanoProvider(t,n)},links(e,t){e.setLinks(t)},motionTracking(e,t){e.setMotionTracking(t)},options(e,t){e.setOptions(t)},pano(e,t){e.setPano(t)},position(e,t){e.setPosition(t)},pov(e,t){e.setPov(t)},visible(e,t){e.setVisible(t)},zoom(e,t){e.setZoom(t)}};class tG extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{streetViewPanorama:null}),p(this,"setStreetViewPanoramaCallback",()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)})}componentDidMount(){var e,t,n=null!=(e=null==(t=this.context)?void 0:t.getStreetView())?e:null;this.registeredEvents=x({updaterMap:tW,eventMap:tZ,prevProps:{},nextProps:this.props,instance:n}),this.setState(()=>({streetViewPanorama:n}),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){null!==this.state.streetViewPanorama&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tW,eventMap:tZ,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),w(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}p(tG,"contextType",v);class t$ extends d.PureComponent{constructor(){super(...arguments),p(this,"state",{streetViewService:null}),p(this,"setStreetViewServiceCallback",()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)})}componentDidMount(){var e=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:e}},this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}p(t$,"contextType",v),d.PureComponent;var tK={onDirectionsChanged:"directions_changed"},tY={directions(e,t){e.setDirections(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},panel(e,t){e.setPanel(t)},routeIndex(e,t){e.setRouteIndex(t)}};class tX extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"state",{directionsRenderer:null}),p(this,"setDirectionsRendererCallback",()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))})}componentDidMount(){var e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=x({updaterMap:tY,eventMap:tK,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{directionsRenderer:e}},this.setDirectionsRendererCallback)}componentDidUpdate(e){null!==this.state.directionsRenderer&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tY,eventMap:tK,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),w(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return null}}p(tX,"contextType",v),d.PureComponent;var tQ={onPlacesChanged:"places_changed"},tJ={bounds(e,t){e.setBounds(t)}};class t0 extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"containerElement",(0,d.createRef)()),p(this,"state",{searchBox:null}),p(this,"setSearchBoxCallback",()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox
21)})}componentDidMount(){if(g(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){var e=this.containerElement.current.querySelector("input");if(null!==e){var t=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=x({updaterMap:tJ,eventMap:tQ,prevProps:{},nextProps:this.props,instance:t}),this.setState(function(){return{searchBox:t}},this.setSearchBoxCallback)}}}componentDidUpdate(e){null!==this.state.searchBox&&(w(this.registeredEvents),this.registeredEvents=x({updaterMap:tJ,eventMap:tQ,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),w(this.registeredEvents))}render(){return(0,c.jsx)("div",{ref:this.containerElement,children:d.Children.only(this.props.children)})}}p(t0,"contextType",v);var t1={onPlaceChanged:"place_changed"},t2={bounds(e,t){e.setBounds(t)},restrictions(e,t){e.setComponentRestrictions(t)},fields(e,t){e.setFields(t)},options(e,t){e.setOptions(t)},types(e,t){e.setTypes(t)}};class t5 extends d.PureComponent{constructor(){super(...arguments),p(this,"registeredEvents",[]),p(this,"containerElement",(0,d.createRef)()),p(this,"state",{autocomplete:null}),p(this,"setAutocompleteCallback",()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)})}componentDidMount(){g(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var e,t=null==(e=this.containerElement.current)?void 0:e.querySelector("input");if(t){var n=new google.maps.places.Autocomplete(t,this.props.options);this.registeredEvents=x({updaterMap:t2,eventMap:t1,prevProps:{},nextProps:this.props,instance:n}),this.setState(()=>({autocomplete:n}),this.setAutocompleteCallback)}}componentDidUpdate(e){w(this.registeredEvents),this.registeredEvents=x({updaterMap:t2,eventMap:t1,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&w(this.registeredEvents)}render(){return(0,c.jsx)("div",{ref:this.containerElement,className:this.props.className,children:d.Children.only(this.props.children)})}}p(t5,"defaultProps",{className:""}),p(t5,"contextType",v)},93604:(e,t,n)=>{var r=n(19962),i=n(68988),a=n(13917);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),a):void 0}},93733:(e,t,n)=>{var r=n(50956),i=n(16799);e.exports=function(e,t){var n=-1,a=i(e)?Array(e.length):[];return r(e,function(e,r,i){a[++n]=t(e,r,i)}),a}},93900:(e,t,n)=>{"use strict";let r;n.r(t),n.d(t,{default:()=>ua});var i={};n.r(i),n.d(i,{boolean:()=>ag,booleanish:()=>av,commaOrSpaceSeparated:()=>aC,commaSeparated:()=>ax,number:()=>ab,overloadedBoolean:()=>ay,spaceSeparated:()=>aw});var a={};n.r(a),n.d(a,{attentionMarkers:()=>sg,contentInitial:()=>sc,disable:()=>sv,document:()=>su,flow:()=>sh,flowInitial:()=>sd,insideSpan:()=>sm,string:()=>sf,text:()=>sp});var o=n(6029),s=n(73492),l=n(39794),u=n(55729),c=n(50016),d=n(56760),h=n(25269),f=n(40041),p=n(70140),m=n(99829),g=n(27555),v=n(61486),y=n(78749),b=n(19639),w=n(9613),x=n(16697),C=n(35896),E=n(40748),S="ToastProvider",[A,k,N]=(0,p.N)("Toast"),[P,I]=(0,m.A)("Toast",[N]),[T,O]=P(S),L=e=>{let{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:s}=e,[l,c]=u.useState(null),[d,h]=u.useState(0),f=u.useRef(!1),p=u.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${S}\`. Expected non-empty \`string\`.`),(0,o.jsx)(A.Provider,{scope:t,children:(0,o.jsx)(T,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:d,viewport:l,onViewportChange:c,onToastAdd:u.useCallback(()=>h(e=>e+1),[]),onToastRemove:u.useCallback(()=>h(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:s})})};L.displayName=S;var M="ToastViewport",D=["F8"],j="toast.viewportPause",_="toast.viewportResume",R=u.forwardRef((e,t)=>
21{let{__scopeToast:n,hotkey:r=D,label:i="Notifications ({hotkey})",...a}=e,s=O(M,n),l=k(n),c=u.useRef(null),d=u.useRef(null),h=u.useRef(null),p=u.useRef(null),m=(0,f.s)(t,p,s.onViewportChange),v=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=s.toastCount>0;u.useEffect(()=>{let e=e=>{0!==r.length&&r.every(t=>e[t]||e.code===t)&&p.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]),u.useEffect(()=>{let e=c.current,t=p.current;if(y&&e&&t){let n=()=>{if(!s.isClosePausedRef.current){let e=new CustomEvent(j);t.dispatchEvent(e),s.isClosePausedRef.current=!0}},r=()=>{if(s.isClosePausedRef.current){let e=new CustomEvent(_);t.dispatchEvent(e),s.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||r()},a=()=>{e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),e.addEventListener("focusout",i),e.addEventListener("pointermove",n),e.addEventListener("pointerleave",a),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{e.removeEventListener("focusin",n),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",n),e.removeEventListener("pointerleave",a),window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}},[y,s.isClosePausedRef]);let w=u.useCallback(({tabbingDirection:e})=>{let t=l().map(t=>{let n=t.ref.current,r=[n,...function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}(n)];return"forwards"===e?r:r.reverse()});return("forwards"===e?t.reverse():t).flat()},[l]);return u.useEffect(()=>{let e=p.current;if(e){let t=t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r)return void d.current?.focus();let i=w({tabbingDirection:r?"backwards":"forwards"}),a=i.findIndex(e=>e===n);et(i.slice(a+1))?t.preventDefault():r?d.current?.focus():h.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[l,w]),(0,o.jsxs)(g.lg,{ref:c,role:"region","aria-label":i.replace("{hotkey}",v),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&(0,o.jsx)(z,{ref:d,onFocusFromOutsideViewport:()=>{et(w({tabbingDirection:"forwards"}))}}),(0,o.jsx)(A.Slot,{scope:n,children:(0,o.jsx)(b.sG.ol,{tabIndex:-1,...a,ref:m})}),y&&(0,o.jsx)(z,{ref:h,onFocusFromOutsideViewport:()=>{et(w({tabbingDirection:"backwards"}))}})]})});R.displayName=M;var F="ToastFocusProxy",z=u.forwardRef((e,t)=>{let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=O(F,n);return(0,o.jsx)(E.s6,{tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})});z.displayName=F;var B="Toast",V=u.forwardRef((e,t)=>{let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...s}=e,[l,u]=(0,x.i)({prop:r,defaultProp:i??!0,onChange:a,caller:B});return(0,o.jsx)(y.C,{present:n||l,children:(0,o.jsx)(H,{open:l,...s,ref:t,onClose:()=>u(!1),onPause:(0,w.c)(e.onPause),onResume:(0,w.c)(e.onResume),onSwipeStart:(0,h.mK)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,h.mK)(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${n}px`)}
21),onSwipeCancel:(0,h.mK)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,h.mK)(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${n}px`),u(!1)})})})});V.displayName=B;var[U,q]=P(B,{onClose(){}}),H=u.forwardRef((e,t)=>{let{__scopeToast:n,type:r="foreground",duration:i,open:a,onClose:s,onEscapeKeyDown:l,onPause:c,onResume:p,onSwipeStart:m,onSwipeMove:v,onSwipeCancel:y,onSwipeEnd:x,...C}=e,E=O(B,n),[S,k]=u.useState(null),N=(0,f.s)(t,e=>k(e)),P=u.useRef(null),I=u.useRef(null),T=i||E.duration,L=u.useRef(0),M=u.useRef(T),D=u.useRef(0),{onToastAdd:R,onToastRemove:F}=E,z=(0,w.c)(()=>{S?.contains(document.activeElement)&&E.viewport?.focus(),s()}),V=u.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(D.current),L.current=new Date().getTime(),D.current=window.setTimeout(z,e))},[z]);u.useEffect(()=>{let e=E.viewport;if(e){let t=()=>{V(M.current),p?.()},n=()=>{let e=new Date().getTime()-L.current;M.current=M.current-e,window.clearTimeout(D.current),c?.()};return e.addEventListener(j,n),e.addEventListener(_,t),()=>{e.removeEventListener(j,n),e.removeEventListener(_,t)}}},[E.viewport,T,c,p,V]),u.useEffect(()=>{a&&!E.isClosePausedRef.current&&V(T)},[a,T,E.isClosePausedRef,V]),u.useEffect(()=>(R(),()=>F()),[R,F]);let q=u.useMemo(()=>S?function e(t){let n=[];return Array.from(t.childNodes).forEach(t=>{var r;if(t.nodeType===t.TEXT_NODE&&t.textContent&&n.push(t.textContent),(r=t).nodeType===r.ELEMENT_NODE){let r=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!r)if(i){let e=t.dataset.radixToastAnnounceAlt;e&&n.push(e)}else n.push(...e(t))}}),n}(S):null,[S]);return E.viewport?(0,o.jsxs)(o.Fragment,{children:[q&&(0,o.jsx)(Z,{__scopeToast:n,role:"status","aria-live":"foreground"===r?"assertive":"polite",children:q}),(0,o.jsx)(U,{scope:n,onClose:z,children:d.createPortal((0,o.jsx)(A.ItemSlot,{scope:n,children:(0,o.jsx)(g.bL,{asChild:!0,onEscapeKeyDown:(0,h.mK)(l,()=>{E.isFocusedToastEscapeKeyDownRef.current||z(),E.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,o.jsx)(b.sG.li,{tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":E.swipeDirection,...C,ref:N,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,h.mK)(e.onKeyDown,e=>{"Escape"===e.key&&(l?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:(0,h.mK)(e.onPointerDown,e=>{0===e.button&&(P.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,h.mK)(e.onPointerMove,e=>{if(!P.current)return;let t=e.clientX-P.current.x,n=e.clientY-P.current.y,r=!!I.current,i=["left","right"].includes(E.swipeDirection),a=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),l="touch"===e.pointerType?10:2,u={x:o,y:s},c={originalEvent:e,delta:u};r?(I.current=u,J("toast.swipeMove",v,c,{discrete:!1})):ee(u,E.swipeDirection,l)?(I.current=u,J("toast.swipeStart",m,c,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(P.current=null)}),onPointerUp:(0,h.mK)(e.onPointerUp,e=>{let t=I.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),I.current=null,P.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};ee(t,E.swipeDirection,E.swipeThreshold)?J("toast.swipeEnd",x,r,{discrete:!0}):J("toast.swipeCancel",y,r,{discrete:!0}),n.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),E.viewport)})]}):null}),Z=e=>{let{__scopeToast:t,children:n,...r}=e,i=O(B,t),[a,s]=u.useState(!1),[l,c]=u.useState(!1);return function(e=()=>{}){let t=(0,w.c)(e);(0,C.N)(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}(()=>s(!0)),u.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,o.jsx)(v.Z,{asChild:!0,children:(0,o.jsx)(E.s6,{...r,children:a&&(0,o.jsxs)(o.Fragment,{children:[i.label," ",n]})})})},W=u.forwardRef((e,t)=>
21{let{__scopeToast:n,...r}=e;return(0,o.jsx)(b.sG.div,{...r,ref:t})});W.displayName="ToastTitle";var G=u.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e;return(0,o.jsx)(b.sG.div,{...r,ref:t})});G.displayName="ToastDescription";var $="ToastAction",K=u.forwardRef((e,t)=>{let{altText:n,...r}=e;return n.trim()?(0,o.jsx)(Q,{altText:n,asChild:!0,children:(0,o.jsx)(X,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${$}\`. Expected non-empty \`string\`.`),null)});K.displayName=$;var Y="ToastClose",X=u.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e,i=q(Y,n);return(0,o.jsx)(Q,{asChild:!0,children:(0,o.jsx)(b.sG.button,{type:"button",...r,ref:t,onClick:(0,h.mK)(e.onClick,i.onClose)})})});X.displayName=Y;var Q=u.forwardRef((e,t)=>{let{__scopeToast:n,altText:r,...i}=e;return(0,o.jsx)(b.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function J(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,b.hO)(i,a):i.dispatchEvent(a)}var ee=(e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return"left"===t||"right"===t?a&&r>n:!a&&i>n};function et(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var en=n(72262);let er=u.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,o.jsx)(R,{ref:t,className:(0,l.cn)("fixed top-auto z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:flex-col md:max-w-[420px]",n),...r})});er.displayName=R.displayName;let ei=(0,en.F)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none",{variants:{variant:{default:"bg-background text-foreground border",destructive:"destructive border-destructive bg-destructive text-destructive-foreground group",important:"important text-important-foreground bg-background group border-4 border-red-500"},position:{default:"top-0 sm:bottom-0 sm:right-0 sm:top-auto",top:"data-[state=closed]:slide-out-to-right-full right-0 top-0","top-left":"data-[state=closed]:slide-out-to-left-full left-0 top-0",bottom:"data-[state=open]:slide-in-from-bottom-full bottom-0 right-0 ","bottom-left":"data-[state=closed]:!slide-out-to-left-full bottom-0 left-0",center:"bottom-0 mx-auto w-auto sm:bottom-0"}},defaultVariants:{variant:"default",position:"bottom"}}),ea=u.forwardRef((e,t)=>{let{className:n,variant:r,position:i,...a}=e;return(0,o.jsx)(V,{ref:t,className:(0,l.cn)(ei({variant:r,position:i}),n),...a})});ea.displayName=V.displayName,u.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,o.jsx)(K,{ref:t,className:(0,l.cn)("hover:bg-secondary focus:ring-ring group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:outline-none focus:ring-1 disabled:pointer-events-none disabled:opacity-50",n),...r})}).displayName=K.displayName;let eo=u.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,o.jsx)(X,{ref:t,className:(0,l.cn)("text-foreground/50 hover:text-foreground absolute right-1 top-1 rounded-md p-1 opacity-0 transition-opacity focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...r,children:(0,o.jsx)(c.MKb,{className:"size-4"})})});eo.displayName=X.displayName;let es=u.forwardRef((e,t)=>
21{let{className:n,...r}=e;return(0,o.jsx)(W,{ref:t,className:(0,l.cn)("text-sm font-semibold [&+div]:text-xs",n),...r})});es.displayName=W.displayName;let el=u.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,o.jsx)(G,{ref:t,className:(0,l.cn)("text-sm opacity-90",n),...r})});el.displayName=G.displayName;var eu=n(34245);function ec(){let{toasts:e}=(0,eu.dj)();return(0,o.jsxs)(L,{children:[e.map(function(e){let{id:t,title:n,description:r,action:i,...a}=e;return(0,o.jsxs)(ea,{...a,children:[(0,o.jsxs)("div",{className:"grid gap-1",children:[n&&(0,o.jsx)(es,{children:n}),r&&(0,o.jsx)(el,{children:r})]}),i,(0,o.jsx)(eo,{})]},t)}),(0,o.jsx)(er,{className:e.some(e=>"bottom-left"===e.position)?"bottom-0 left-0":e.some(e=>"top"===e.position)?"top-0":"bottom-0 right-0"})]})}var ed=n(42260),eh=n(93251);n(62988);var ef=n(53706),ep=n(71024),em=n.n(ep),eg=n(81278),ev=n(30484),ey=n(31023),eb=n(48535);let ew=!1;function ex(){ew||((0,ev.Yz)("[nuqs] Aborting queues"),ey.ex.abortAll(),ey.V.abort().forEach(e=>ey.ex.queuedQuerySync.emit(e)))}let eC=(0,ev.Hx)(function(){let e=(0,eb.useRouter)();return(0,u.useEffect)(()=>(e?.events.on("routeChangeStart",ex),e?.events.on("beforeHistoryChange",ex),()=>{e?.events.off("routeChangeStart",ex),e?.events.off("beforeHistoryChange",ex)}),[]),{searchParams:(0,u.useMemo)(()=>{let t=new URLSearchParams;if(null===e)return t;for(let[n,r]of Object.entries(e.query))if("string"==typeof r)t.set(n,r);else if(Array.isArray(r))for(let e of r)t.append(n,e);return t},[JSON.stringify(e?.query)]),updateUrl:(0,u.useCallback)((e,t)=>{let n=window.next?.router,r=function(e,t){let n,r=new Set,i=/\[([^\]]+)\]/g;for(;null!==(n=i.exec(e));){let e=n[1];e&&r.add(e)}let a=Object.fromEntries(Object.entries(t).filter(([e])=>r.has(e))),o=/\[\.{3}([^\]]+)\]$/.exec(e);if(o&&o[1]){let e=o[1];a[e]=t[e]??[]}let s=/\[\[\.{3}([^\]]+)\]\]$/.exec(e);if(s&&s[1]){let e=s[1];a[e]=t[e]??[]}return a}(n.pathname,n.query),i=n.asPath.replace(/#.*$/,"").replace(/\?.*$/,"")+(0,ev.OB)(e)+location.hash;
21(0,ev.Yz)("[nuqs next/pages] Updating url: %s",i);let a="push"===t.history?n.push:n.replace;ew=!0,a.call(n,{pathname:n.pathname,query:{...function(e){let t={};for(let n of e.keys()){let r=e.getAll(n);1===r.length?t[n]=r[0]:r.length>1&&(t[n]=r)}return t}(e),...r}},i,{scroll:t.scroll,shallow:t.shallow}).finally(()=>{ew=!1})},[]),autoResetQueueOnUpdate:!1}});var eE=n(29624),eS=n(7885),eA=n(82203),ek=n.n(eA);let eN=function(){let[e,t]=(0,u.useState)(!0);return e?(0,o.jsxs)("div",{className:"relative flex flex-wrap justify-center gap-3 bg-primary-500 py-2 xl:py-3",children:[(0,o.jsxs)("div",{className:"flex flex-wrap items-center gap-2 xl:gap-4",children:[(0,o.jsx)("div",{className:"flex grow justify-center",children:(0,o.jsx)("img",{className:"size-12",src:"/images/logos/connect_events_logomark_white.png",alt:"Logo de l'application Connect'Events"})}),(0,o.jsxs)("p",{className:"text-justify text-base font-semibold text-white max-xl:mx-2 md:text-lg",children:[(0,o.jsx)("strong",{className:"font-bold",children:"T\xe9l\xe9chargez d\xe8s maintenant"})," ","notre application et profitez d’un contenu exclusif o\xf9 que vous soyez."]})]}),(0,o.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,o.jsx)(ek(),{className:"shrink-0",href:"https://play.google.com/store/apps/details?id=com.acexpoorganization.connectevents",children:(0,o.jsx)("img",{className:"h-10",src:"/images/google_play_badge.png",alt:"T\xe9l\xe9charger sur le Play Store"})}),(0,o.jsx)(ek(),{className:"shrink-0",href:"https://apps.apple.com/us/app/connectevents/id6503937582",children:(0,o.jsx)("img",{className:"h-10",src:"/images/svg/app_store_badge.svg",alt:"T\xe9l\xe9charger sur l'App Store"})}),(0,o.jsx)(eS.K,{className:"max-md:absolute max-md:right-5 max-md:top-5",svgType:"x",svgProps:{size:14,className:"text-white"},onClick:()=>t(!1)})]})]}):null};var eP=n(13471),eI=n(37890),eT=n(21841),eO=n(34759),eL=n(64713),eM=n(58718),eD=n(17325),ej=n(48629),e_=n(98457),eR=n(81239),eF=n(46102),ez=n(35077),eB=n(65403),eV=n(22642),eU=n(41099),eq=n.n(eU),eH=n(94194);let eZ=e=>(0,ej.GP)(e,"PPP",{locale:eR.fr});function eW(e){let{control:t,name:n,label:r,hasMessage:i=!1,mode:a,onPick:s,onClose:c,className:d,disabled:h,disabledDays:f,popoverProps:p,...m}=e,g=(0,l.al)(),[v,y]=(0,u.useState)(!1),b=e=>{!e&&c&&c(),y(e)};return(0,o.jsx)(eL.zB,{control:t,name:n,render:e=>{var t,n,u;let c,y,w,{field:x,fieldState:C}=e,{value:E,onChange:S}=x,A=e=>{if(!("single"===a&&eq()(e)||("range"===a||"acexpo-range"===a)&&(0,eH.oM)(e)||"multiple"===a&&Array.isArray(e)&&e.every(eq())||"multiple-range"===a&&Array.isArray(e)&&e.every(eH.oM)))throw Error("Invalid date type ".concat(a," for value ").concat(e));return s?void s(e,S):"multiple"===a&&Array.isArray(e)?void S(e.sort(e_.z)):void S(e)};return(0,o.jsxs)(eL.eI,{className:(0,l.cn)(eF.sl,d),children:[r&&r.length>0?(0,o.jsx)(eL.lR,{className:eF.Ci,children:r}):null,(0,o.jsxs)(ez.AM,{...p,open:v,onOpenChange:b,children:[(0,o.jsx)(ez.Wv,{asChild:!0,children:(0,o.jsx)(eL.MJ,{children:(0,o.jsx)(eB.$,{variant:"outline",className:(0,l.cn)("h-auto min-h-9 w-full justify-start text-wrap pl-3 text-left font-normal text-black",eF.Ol,{"border-red-500":C.error}),disabled:h,children:"range"===a||"acexpo-range"===a?(c=E)?(0,o.jsxs)("span",{children:[c.from?eZ(c.from):"Start date",c.to?" - ".concat(eZ(c.to)):null]}):(0,o.jsx)("span",{children:"Selectionner une plage de dates"}):"single"===a?(y=E)?eZ(y):(0,o.jsx)("span",{children:"Selectionner une date"}):(w=E)&&w.length>0?(0,eD.fRs)(...w):(0,o.jsx)("span",{children:"Selectionner une ou plusieurs dates"})})})}),(0,o.jsx)(ez.hl,{className:"w-auto p-0",align:"start",children:(0,o.jsx)(eV.V,{initialFocus:!0,mode:a,selected:E,onSelect:A,numberOfMonths:"range"!==a&&"acexpo-range"!==a||g?1:2,locale:eR.fr,defaultMonth:E&&"object"==typeof E&&("from"in E||"to"in E)?E.from:E,disabled:f,...m,startMonth:new Date(1970,0)})})]}),i&&C.error?(0,o.jsx)(eL.C5,{children:(t=C.error,(0,o.jsxs)(o.Fragment,{children:[t.message,null==(n=t.from)?void 0:n.message,null==(u=t.to)?void 0:u.message]}))}):null]})}})}var eG=n(76710),e$=n(56061),eK=n(90198),eY={};eY={"ar-AE":{calendar:`\u{627}\u{644}\u{62A}\u{642}\u{648}\u{64A}\u{645}`,day:`\u{64A}\u{648}\u{645}`,dayPeriod:`\u{635}/\u{645}`,endDate:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{627}\u{646}\u{62A}\u{647}\u{627}\u{621}`,era:`\u{627}\u{644}\u{639}\u{635}\u{631}`,hour:`\u{627}\u{644}\u{633}\u{627}\u{639}\u{627}\u{62A}`,minute:`\u{627}\u{644}\u{62F}\u{642}\u{627}\u{626}\u{642}`,month:`\u{627}\u{644}\u{634}\u{647}\u{631}`,second:`\u{627}\u{644}\u{62B}\u{648}\u{627}\u{646}\u{64A}`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,selectedTimeDescription:e=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}
21: ${e.time}`,startDate:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{628}\u{62F}\u{621}`,timeZoneName:`\u{627}\u{644}\u{62A}\u{648}\u{642}\u{64A}\u{62A}`,weekday:`\u{627}\u{644}\u{64A}\u{648}\u{645}`,year:`\u{627}\u{644}\u{633}\u{646}\u{629}`},"bg-BG":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,day:`\u{434}\u{435}\u{43D}`,dayPeriod:`\u{43F}\u{440}.\u{43E}\u{431}./\u{441}\u{43B}.\u{43E}\u{431}.`,endDate:`\u{41A}\u{440}\u{430}\u{439}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,era:`\u{435}\u{440}\u{430}`,hour:`\u{447}\u{430}\u{441}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,month:`\u{43C}\u{435}\u{441}\u{435}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{434}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${e.time}`,startDate:`\u{41D}\u{430}\u{447}\u{430}\u{43B}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,weekday:`\u{434}\u{435}\u{43D} \u{43E}\u{442} \u{441}\u{435}\u{434}\u{43C}\u{438}\u{446}\u{430}\u{442}\u{430}`,year:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`},"cs-CZ":{calendar:`Kalend\xe1\u{159}`,day:"den",dayPeriod:`\u{10D}\xe1st dne`,endDate:`Kone\u{10D}n\xe9 datum`,era:`letopo\u{10D}et`,hour:"hodina",minute:"minuta",month:`m\u{11B}s\xedc`,second:"sekunda",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} a\u{17E} ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd \u{10D}as: ${e.time}`,startDate:`Po\u{10D}\xe1te\u{10D}n\xed datum`,timeZoneName:`\u{10D}asov\xe9 p\xe1smo`,weekday:`den v t\xfddnu`,year:"rok"},"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:`\xe6ra`,hour:"time",minute:"minut",month:`m\xe5ned`,second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:`\xe5r`},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:`Tagesh\xe4lfte`,endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BB}\u{3CC}\u{3B3}\u{3B9}\u{3BF}`,day:`\u{3B7}\u{3BC}\u{3AD}\u{3C1}\u{3B1}`,dayPeriod:`\u{3C0}.\u{3BC}./\u{3BC}.\u{3BC}.`,endDate:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3BB}\u{3AE}\u{3BE}\u{3B7}\u{3C2}`,era:`\u{3C0}\u{3B5}\u{3C1}\u{3AF}\u{3BF}\u{3B4}\u{3BF}\u{3C2}`,hour:`\u{3CE}\u{3C1}\u{3B1}`,minute:`\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3CC}`,month:`\u{3BC}\u{3AE}\u{3BD}\u{3B1}\u{3C2}`,second:`\u{3B4}\u{3B5}\u{3C5}\u{3C4}\u{3B5}\u{3C1}\u{3CC}\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3BF}`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,selectedTimeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${e.time}`,startDate:`\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7}\u{3C2}`,timeZoneName:`\u{3B6}\u{3CE}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}\u{3C2}`,weekday:`\u{3BA}\u{3B1}\u{3B8}\u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3B9}\u{3BD}\u{3AE}`,year:`\u{3AD}\u{3C4}\u{3BF}\u{3C2}`},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",t
21imeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:`d\xeda`,dayPeriod:`a.\xa0m./p.\xa0m.`,endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:`d\xeda de la semana`,year:`a\xf1o`},"et-EE":{calendar:"Kalender",day:`p\xe4ev`,dayPeriod:`enne/p\xe4rast l\xf5unat`,endDate:`L\xf5ppkuup\xe4ev`,era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:`Alguskuup\xe4ev`,timeZoneName:`ajav\xf6\xf6nd`,weekday:`n\xe4dalap\xe4ev`,year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:`p\xe4iv\xe4`,dayPeriod:"vuorokaudenaika",endDate:`P\xe4\xe4ttymisp\xe4iv\xe4`,era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} \u{2013} ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:`Alkamisp\xe4iv\xe4`,timeZoneName:`aikavy\xf6hyke`,weekday:`viikonp\xe4iv\xe4`,year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:`\xe8re`,hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:`Date de d\xe9but`,timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:`ann\xe9e`},"he-IL":{calendar:`\u{5DC}\u{5D5}\u{5D7} \u{5E9}\u{5E0}\u{5D4}`,day:`\u{5D9}\u{5D5}\u{5DD}`,dayPeriod:`\u{5DC}\u{5E4}\u{5E0}\u{5D4}\u{5F4}\u{5E6}/\u{5D0}\u{5D7}\u{5D4}\u{5F4}\u{5E6}`,endDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E1}\u{5D9}\u{5D5}\u{5DD}`,era:`\u{5EA}\u{5E7}\u{5D5}\u{5E4}\u{5D4}`,hour:`\u{5E9}\u{5E2}\u{5D4}`,minute:`\u{5D3}\u{5E7}\u{5D4}`,month:`\u{5D7}\u{5D5}\u{5D3}\u{5E9}`,second:`\u{5E9}\u{5E0}\u{5D9}\u{5D9}\u{5D4}`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,selectedTimeDescription:e=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.time}`,startDate:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5EA}\u{5D7}\u{5DC}\u{5D4}`,timeZoneName:`\u{5D0}\u{5D6}\u{5D5}\u{5E8} \u{5D6}\u{5DE}\u{5DF}`,weekday:`\u{5D9}\u{5D5}\u{5DD} \u{5D1}\u{5E9}\u{5D1}\u{5D5}\u{5E2}`,year:`\u{5E9}\u{5E0}\u{5D4}`},"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:`Datum zavr\u{161}etka`,era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:`Datum po\u{10D}etka`,timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:`Napt\xe1r`,day:"nap",dayPeriod:"napszak",endDate:`Befejez\u{151} d\xe1tum`,era:`\xe9ra`,hour:`\xf3ra`,minute:"perc",month:`h\xf3nap`,second:`m\xe1sodperc`,selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}\u{2013}${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt id\u{151}: ${e.time}`,startDate:`Kezd\u{151} d\xe1tum`,timeZoneName:`id\u{151}z\xf3na`,weekday:`h\xe9t napja`,year:`\xe9v`},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endD
21ate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:`\u{30AB}\u{30EC}\u{30F3}\u{30C0}\u{30FC}`,day:`\u{65E5}`,dayPeriod:`\u{5348}\u{524D}/\u{5348}\u{5F8C}`,endDate:`\u{7D42}\u{4E86}\u{65E5}`,era:`\u{6642}\u{4EE3}`,hour:`\u{6642}`,minute:`\u{5206}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.startDate} \u{304B}\u{3089} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${e.time}`,startDate:`\u{958B}\u{59CB}\u{65E5}`,timeZoneName:`\u{30BF}\u{30A4}\u{30E0}\u{30BE}\u{30FC}\u{30F3}`,weekday:`\u{66DC}\u{65E5}`,year:`\u{5E74}`},"ko-KR":{calendar:`\u{B2EC}\u{B825}`,day:`\u{C77C}`,dayPeriod:`\u{C624}\u{C804}/\u{C624}\u{D6C4}`,endDate:`\u{C885}\u{B8CC}\u{C77C}`,era:`\u{C5F0}\u{D638}`,hour:`\u{C2DC}`,minute:`\u{BD84}`,month:`\u{C6D4}`,second:`\u{CD08}`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${e.time}`,startDate:`\u{C2DC}\u{C791}\u{C77C}`,timeZoneName:`\u{C2DC}\u{AC04}\u{B300}`,weekday:`\u{C694}\u{C77C}`,year:`\u{B144}`},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:`iki piet\u{173} / po piet\u{173}`,endDate:"Pabaigos data",era:"era",hour:"valanda",minute:`minut\u{117}`,month:`m\u{117}nuo`,second:`sekund\u{117}`,selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:`Prad\u{17E}ios data`,timeZoneName:"laiko juosta",weekday:`savait\u{117}s diena`,year:"metai"},"lv-LV":{calendar:`Kalend\u{101}rs`,day:"diena",dayPeriod:`priek\u{161}pusdien\u{101}/p\u{113}cpusdien\u{101}`,endDate:"Beigu datums",era:`\u{113}ra`,hour:"stundas",minute:`min\u{16B}tes`,month:`m\u{113}nesis`,second:"sekundes",selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: no ${e.startDate} l\u{12B}dz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u{12B}tais laiks: ${e.time}`,startDate:`S\u{101}kuma datums`,timeZoneName:"laika josla",weekday:`ned\u{113}\u{13C}as diena`,year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:`m\xe5ned`,second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:`\xe5r`},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:`dzie\u{144}`,dayPeriod:`rano / po po\u{142}udniu / wieczorem`,endDate:`Data ko\u{144}cowa`,era:"era",hour:"godzina",minute:"minuta",month:`miesi\u{105}c`,second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:`Data pocz\u{105}tkowa`,timeZoneName:"strefa czasowa",weekday:`dzie\u{144} tygodnia`,year:"rok"},"pt-BR":{calendar:`Calend\xe1rio`,day:"dia",dayPeriod:"AM/PM",endD
21ate:"Data final",era:"era",hour:"hora",minute:"minuto",month:`m\xeas`,second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:`fuso hor\xe1rio`,weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:`Calend\xe1rio`,day:"dia",dayPeriod:"am/pm",endDate:`Data de T\xe9rmino`,era:"era",hour:"hora",minute:"minuto",month:`m\xeas`,second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:`Data de In\xedcio`,timeZoneName:`fuso hor\xe1rio`,weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:`Dat\u{103} final`,era:`er\u{103}`,hour:`or\u{103}`,minute:"minut",month:`lun\u{103}`,second:`secund\u{103}`,selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u{103}: ${e.time}`,startDate:`Dat\u{103} \xeenceput`,timeZoneName:"fus orar",weekday:`ziua din s\u{103}pt\u{103}m\xe2n\u{103}`,year:"an"},"ru-RU":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}\u{44C}`,day:`\u{434}\u{435}\u{43D}\u{44C}`,dayPeriod:"AM/PM",endDate:`\u{414}\u{430}\u{442}\u{430} \u{43E}\u{43A}\u{43E}\u{43D}\u{447}\u{430}\u{43D}\u{438}\u{44F}`,era:`\u{44D}\u{440}\u{430}`,hour:`\u{447}\u{430}\u{441}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,month:`\u{43C}\u{435}\u{441}\u{44F}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}: ${e.time}`,startDate:`\u{414}\u{430}\u{442}\u{430} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{43E}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,weekday:`\u{434}\u{435}\u{43D}\u{44C} \u{43D}\u{435}\u{434}\u{435}\u{43B}\u{438}`,year:`\u{433}\u{43E}\u{434}`},"sk-SK":{calendar:`Kalend\xe1r`,day:`de\u{148}`,dayPeriod:"AM/PM",endDate:`D\xe1tum ukon\u{10D}enia`,era:`letopo\u{10D}et`,hour:"hodina",minute:`min\xfata`,month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd \u{10D}as: ${e.time}`,startDate:`D\xe1tum za\u{10D}atia`,timeZoneName:`\u{10D}asov\xe9 p\xe1smo`,weekday:`de\u{148} t\xfd\u{17E}d\u{148}a`,year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u{10D}as: ${e.time}`,startDate:`Datum za\u{10D}etka`,timeZoneName:`\u{10D}asovni pas`,weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:`\u{434}\u{430}\u{43D}`,dayPeriod:`\u{43F}\u{440}\u{435} \u{43F}\u{43E}\u{434}\u{43D}\u{435}/\u{43F}\u{43E} \u{43F}\u{43E}\u{434}\u{43D}\u{435}`,endDate:`Datum zavr\u{161}etka`,era:`\u{435}\u{440}\u{430}`,hour:`\u{441}\u{430}\u{442}`,minute:`\u{43C}\u{438}\u{43D}\u{443}\u{442}`,month:`\u{43C}\u{435}\u{441}\u{435}\u{446}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}`,selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:`Datum po\u{10D}etka`,timeZoneName:`\u{432}\u{440}\u{435}\u{43C}\u{435}\u{43D}\u{441}\u{43A}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,weekday:`\u{434}\u{430}\u{43D} \u{443} \u{43D}\u{435}\u{434}\u{435}\u{459}\u{438}`,year:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:`m\xe5nad`,second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>
21`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:`\xe5r`},"tr-TR":{calendar:"Takvim",day:`g\xfcn`,dayPeriod:`\xd6\xd6/\xd6S`,endDate:`Biti\u{15F} Tarihi`,era:`\xe7a\u{11F}`,hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:`Ba\u{15F}lang\u{131}\xe7 Tarihi`,timeZoneName:"saat dilimi",weekday:`haftan\u{131}n g\xfcn\xfc`,year:`y\u{131}l`},"uk-UA":{calendar:`\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,day:`\u{434}\u{435}\u{43D}\u{44C}`,dayPeriod:`\u{434}\u{43F}/\u{43F}\u{43F}`,endDate:`\u{414}\u{430}\u{442}\u{430} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{435}\u{43D}\u{43D}\u{44F}`,era:`\u{435}\u{440}\u{430}`,hour:`\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`,minute:`\u{445}\u{432}\u{438}\u{43B}\u{438}\u{43D}\u{430}`,month:`\u{43C}\u{456}\u{441}\u{44F}\u{446}\u{44C}`,second:`\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{2014} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${e.time}`,startDate:`\u{414}\u{430}\u{442}\u{430} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{43A}\u{443}`,timeZoneName:`\u{447}\u{430}\u{441}\u{43E}\u{432}\u{438}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,weekday:`\u{434}\u{435}\u{43D}\u{44C} \u{442}\u{438}\u{436}\u{43D}\u{44F}`,year:`\u{440}\u{456}\u{43A}`},"zh-CN":{calendar:`\u{65E5}\u{5386}`,day:`\u{65E5}`,dayPeriod:`\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,endDate:`\u{7ED3}\u{675F}\u{65E5}\u{671F}`,era:`\u{7EAA}\u{5143}`,hour:`\u{5C0F}\u{65F6}`,minute:`\u{5206}\u{949F}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${e.time}`,startDate:`\u{5F00}\u{59CB}\u{65E5}\u{671F}`,timeZoneName:`\u{65F6}\u{533A}`,weekday:`\u{5DE5}\u{4F5C}\u{65E5}`,year:`\u{5E74}`},"zh-TW":{calendar:`\u{65E5}\u{66C6}`,day:`\u{65E5}`,dayPeriod:`\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,endDate:`\u{7D50}\u{675F}\u{65E5}\u{671F}`,era:`\u{7EAA}\u{5143}`,hour:`\u{5C0F}\u{65F6}`,minute:`\u{5206}\u{949F}`,month:`\u{6708}`,second:`\u{79D2}`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${e.time}`,startDate:`\u{958B}\u{59CB}\u{65E5}\u{671F}`,timeZoneName:`\u{65F6}\u{533A}`,weekday:`\u{5DE5}\u{4F5C}\u{65E5}`,year:`\u{5E74}`}};var eX=n(30062),eQ=n(83063),eJ=n(71182),e0=n(44007);class e1{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,eJ.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,i=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),n=r=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,eJ.sD)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if("function"==typeof this.filter?n=this.filter(e):(null==(t=this.filter)?void 0:t.acceptNode)&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if("function"==typeof this.filter?e=this.filter(t):(null==(n=this.filter)?void 0:n.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(null==(t=this.filter)?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=r?r:null,this.whatToShow=null!=n?n:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var e2=n(29652);function e5(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function e4(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function e3(e){let t=null;return()=>(null==t&&(t=e()),t)}let e6=e3(function(){return e4(/^Mac/i)}),e8=e3(function(){return e4(/^iPhone/i)}),e9=e3(function(){return e4(/^iPad/i)||e6()&&navigator.maxTouchPoints>1}),e7=e3(function(){return e8()||e9()});e3(function(){return e6()||e7()});
21let te=e3(function(){return e5(/AppleWebKit/i)&&!tt()}),tt=e3(function(){return e5(/Chrome/i)}),tn=e3(function(){return e5(/Android/i)}),tr=e3(function(){return e5(/Firefox/i)});function ti(e){return""===e.pointerType&&!!e.isTrusted||(tn()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let ta=null,to=new Set,ts=new Map,tl=!1,tu=!1;function tc(e,t){for(let n of to)n(e,t)}function td(e){tl=!0,e.metaKey||!e6()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(ta="keyboard",tc("keyboard",e))}function th(e){ta="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(tl=!0,tc("pointer",e))}function tf(e){ti(e)&&(tl=!0,ta="virtual")}function tp(e){e.target!==window&&e.target!==document&&!e2.lR&&e.isTrusted&&(tl||tu||(ta="virtual",tc("virtual",e)),tl=!1,tu=!1)}function tm(){e2.lR||(tl=!1,tu=!0)}function tg(e){if("undefined"==typeof window||"undefined"==typeof document||ts.get((0,eX.mD)(e)))return;let t=(0,eX.mD)(e),n=(0,eX.TW)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){tl=!0,r.apply(this,arguments)},n.addEventListener("keydown",td,!0),n.addEventListener("keyup",td,!0),n.addEventListener("click",tf,!0),t.addEventListener("focus",tp,!0),t.addEventListener("blur",tm,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",th,!0),n.addEventListener("pointermove",th,!0),n.addEventListener("pointerup",th,!0)),t.addEventListener("beforeunload",()=>{tv(e)},{once:!0}),ts.set(t,{focus:r})}let tv=(e,t)=>{let n=(0,eX.mD)(e),r=(0,eX.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),ts.has(n)&&(n.HTMLElement.prototype.focus=ts.get(n).focus,r.removeEventListener("keydown",td,!0),r.removeEventListener("keyup",td,!0),r.removeEventListener("click",tf,!0),n.removeEventListener("focus",tp,!0),n.removeEventListener("blur",tm,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",th,!0),r.removeEventListener("pointermove",th,!0),r.removeEventListener("pointerup",th,!0)),ts.delete(n))};"undefined"!=typeof document&&function(e){let t,n=(0,eX.TW)(void 0);"loading"!==n.readyState?tg(void 0):(t=()=>{tg(e)},n.addEventListener("DOMContentLoaded",t)),()=>tv(e,t)}();let ty=new Map,tb=new Set;function tw(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=ty.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),ty.delete(n.target)),0===ty.size)){for(let e of tb)e();tb.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=ty.get(n.target);r||(r=new Set,ty.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function tx(e){requestAnimationFrame(()=>{for(let[e]of ty)"isConnected"in e&&!e.isConnected&&ty.delete(e);0===ty.size?e():tb.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?tw():document.addEventListener("DOMContentLoaded",tw));var tC=n(95752);function tE(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function tS(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{let t=(0,eX.TW)(e),n=(0,eJ.bq)(t);"virtual"===ta?tx(()=>{(0,eJ.bq)(t)===n&&e.isConnected&&(0,tC.e)(e)}):(0,tC.e)(e)}catch{}}function tA(e,t,n){var r,i,a;let o=(null==t?void 0:t.tabbable)?eQ.A:eQ.t,s=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,l=(0,eX.TW)(s),u=(r=e||l,i=NodeFilter.SHOW_ELEMENT,a={acceptNode(e){var r;return(null==t||null==(r=t.from)?void 0:r.contains(e))||(null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var n,r;let i=null==(r=e.form)||null==(n=r.elements)?void 0:n.namedItem(e.name);t=[...null!=i?i:[]]}else t=[...(0,eX.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===u.currentNode.tagName&&"radio"===u.currentNode.type&&u.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:o(e)&&(!n||tE(e,n))&&
21(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}},(0,e0.Nf)()?new e1(l,r,i,a):l.createTreeWalker(r,i,a));return(null==t?void 0:t.from)&&(u.currentNode=t.from),u}function tk(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:s=t.accept}=n,l=i||(0,eJ.bq)((0,eX.TW)(r)),u=tA(r,{tabbable:a,accept:s});r.contains(l)&&(u.currentNode=l);let c=u.nextNode();return!c&&o&&(u.currentNode=r,c=u.nextNode()),c&&tS(c,!0),c},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:s=t.accept}=n,l=i||(0,eJ.bq)((0,eX.TW)(r)),u=tA(r,{tabbable:a,accept:s});if(r.contains(l))u.currentNode=l;else{let e=tN(u);return e&&tS(e,!0),null!=e?e:null}let c=u.previousNode();if(!c&&o){u.currentNode=r;let e=tN(u);if(!e)return null;c=e}return c&&tS(c,!0),null!=c?c:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=tA(r,{tabbable:i,accept:a}).nextNode();return o&&tS(o,!0),o},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=tN(tA(r,{tabbable:i,accept:a}));return o&&tS(o,!0),null!=o?o:null}}}function tN(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class tP{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let i=new tI({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&tE(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new tP;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new tI({scopeRef:null}),this.fastMap.set(null,this.root)}}class tI{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new tP;var tT=n(95819);let tO=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),tL=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var tM=n(74407);let tD=Symbol.for("react-aria.i18n.locale");function tj(){let e="undefined"!=typeof window&&window[tD]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return tO.has(t.script)}let t=e.split("-")[0];return tL.has(t)}(e)?"ltr":"rtl"}}let t_=tj(),tR=new Set;function tF(){for(let e of(t_=tj(),tR))e(t_)}let tz=u.createContext(null);function tB(){let e=function(){let e=(0,tM.wR)(),[t,n]=(0,u.useState)(t_);return((0,u.useEffect)(()=>(0===tR.size&&window.addEventListener("languagechange",tF),tR.add(n),()=>{tR.delete(n),0===tR.size&&window.removeEventListener("languagechange",tF)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,u.useContext)(tz)||e}let tV="default",tU="",tq=new WeakMap;function tH(e){if(e7())"disabled"===tV&&(tV="restoring",setTimeout(()=>{tx(()=>{if("restoring"===tV){let t=(0,eX.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=tU||""),tU="",tV="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&tq.has(e)){let t=tq.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),tq.delete(e)}}let tZ=u.createContext({register:()=>{}});function tW(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}tZ.displayName="PressResponderContext";var tG=n(22758);function t$(e,t,n){var r=tW(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}var tK=n(81705),tY=n(34142),tX=n(27423),tQ=n(14690);function tJ(e,t,n=!0){var r,i;let{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}=t;tr()&&(null==(i=window.event)||null==(r=i.type)?void 0:r.startsWith("key"))&&"_blank"===e.target&&(e6()?a=!0:o=!0);let u=te()&&e6()&&!e9()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});tJ.isOpening=n,(0,tC.e)(e),e.dispatchEvent(u),tJ.isOpening=!1}tJ.isOpening=!1;var t0=new WeakMap;class t1{continuePropagation(){t$(this,t0,!1)}get shouldStopPropagation(){var e;return e=tW(this,t0,"get"),e.get?e.get.call(this):e.value}constructor(e,t,n,r){var i;(0,tG._)(this,t0,{writable:!0,value:void 0}),t$(this,t0,!0);
21let a=null!=(i=null==r?void 0:r.target)?i:n.currentTarget,o=null==a?void 0:a.getBoundingClientRect(),s,l=0,u,c=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,c=n.clientY),o&&(null!=u&&null!=c?(s=u-o.left,l=c-o.top):(s=o.width/2,l=o.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l}}let t2=Symbol("linkClicked"),t5="react-aria-pressable-style",t4="data-react-aria-pressable";function t3(e){return"A"===e.tagName&&e.hasAttribute("href")}function t6(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,eX.mD)(t).HTMLInputElement&&!ne(t,n)||t instanceof(0,eX.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&t3(t))&&"Enter"!==n)}function t8(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function t9(e,t){return e instanceof HTMLInputElement?!ne(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!t3(e))}let t7=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ne(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:t7.has(e.type)}function nt(e,t,n){let r=tA(e,{tabbable:!0}),i=r.nextNode(),a=null,o=1/0;for(;i;){let e=i.getBoundingClientRect().left-t,s=Math.abs(e);Math.sign(e)===n&&s<o&&(a=i,o=s),i=r.nextNode()}return a}let nn=0,nr=new Map,ni=new Set(["id"]),na=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),no=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ns=new Set(["dir","lang","hidden","inert","translate"]),nl=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),nu=/^(data-.*)$/;var nc=n(64507);function nd(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=(0,nc.Bi)(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),r||i||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}var nh=n(5001);let nf=Symbol.for("react-aria.i18n.locale"),np=Symbol.for("react-aria.i18n.strings");class nm{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[nf];if(void 0===r){let e=window[np];if(!e)return null;for(let n in r={},e)r[n]=new nm({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}let ng=new Map,nv=new Map;class ny{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let i=this.locale+":"+n,a=ng.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),ng.set(i,a)),"function"==typeof(r=t[a.select(e)]||t.other)?r():r}number(e){let t=nv.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),nv.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}let nb=new WeakMap;function nw(e,t){let n;return t&&nm.getGlobalDictionaryForPackage(t)||((n=nb.get(e))||(n=new nm(e),nb.set(e,n)),n)}function nx(e,t){let{locale:n}=tB(),r=nw(e,t);return(0,u.useMemo)(()=>new ny(n,r),[n,r])}let nC=new WeakMap,nE="__role_"+Date.now(),nS="__focusManager_"+Date.now();
21class nA{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e,t){this.locale=e,this.dictionary=t}}var nk=n(539),nN=n(8544);function nP(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function nI(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[r];break}t=t.offsetParent}return i}function nT(e,t,n,r){let i=(0,tX.J)(n),a=null==n;(0,u.useEffect)(()=>{if(a||!e.current)return;let n=e.current;return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}},[e,t,r,a,i])}let nO=new Map,nL=!1;try{nL="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let nM=!1;try{nM="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let nD={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class nj{format(e){let t="";if(t=nL||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);{if("never"===t)return e.format(Math.abs(n));let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),!r)return e.format(n);{let t=e.format(-n),r=e.format(n),i=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!=[...i].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(i,"+").replace("!!!",r)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!nM){var n;let{unit:e,unitDisplay:r="short",locale:i}=this.resolvedOptions();if(!e)return t;let a=null==(n=nD[e])?void 0:n[r];t+=a[i]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return nL||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),nM||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),"unit"===t.style&&!nM){var r;let{unit:e,unitDisplay:n="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(null==(r=nD[e])?void 0:r[n]))throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(nO.has(i))return nO.get(i);let a=new Intl.NumberFormat(e,t);return nO.set(i,a),a}(e,t),this.options=t}}let n_=RegExp("^.*\\(.*\\).*$"),nR=["latn","arab","hanidec","deva","beng","fullwide"];class nF{parse(e){return nB(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return nB(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return nB(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}}let nz=new Map;function nB(e,t,n){let r=nV(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of nR)if(i!==r.options.numberingSystem){let r=nV(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(r.isValidPartialNumber(n))return r}}return r}function nV(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>
21e[0]<t[0]?-1:1).join():""),r=nz.get(n);return r||(r=new nU(e,t),nz.set(n,r)),r}class nU{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=nZ(t,this.symbols.group,"")),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,"-")),t=t.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=t.indexOf("-"),n=(t=(t=t.replace("-","")).replace("+","")).indexOf(".");-1===n&&(n=t.length),t=t.replace(".",""),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?"0.00":`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if("percent"===this.options.style){var r,i;let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((null!=(r=this.options.minimumFractionDigits)?r:0)+2,20),maximumFractionDigits:Math.min((null!=(i=this.options.maximumFractionDigits)?i:0)+2,20)};return new nF(this.locale,e).parse(new nj(this.locale,e).format(n))}return"accounting"===this.options.currencySign&&n_.test(e)&&(n*=-1),n}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=(e=e.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(e=nZ(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&(e=nZ(e,"'",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&(e=nZ(e," ",this.symbols.group),e=nZ(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),!(this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&(this.symbols.group&&(e=nZ(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}constructor(e,t={}){var n,r;this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,n,r){var i,a,o,s,l;let u=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),c=u.formatToParts(-10000.111),d=u.formatToParts(10000.111),h=nH.map(e=>u.formatToParts(e)),f=null!=(l=null==(i=c.find(e=>"minusSign"===e.type))?void 0:i.value)?l:"-",p=null==(a=d.find(e=>"plusSign"===e.type))?void 0:a.value;p||(null==r?void 0:r.signDisplay)!=="exceptZero"&&(null==r?void 0:r.signDisplay)!=="always"||(p="+");let m=null==(o=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>"decimal"===e.type))?void 0:o.value,g=null==(s=c.find(e=>"group"===e.type))?void 0:s.value,v=[...new Set([...c.filter(e=>!nq.has(e.type)).map(e=>nW(e.value)),...h.flatMap(e=>e.filter(e=>!nq.has(e.type)).map(e=>nW(e.value)))])].sort((e,t)=>t.length-e.length),y=0===v.length?RegExp("[\\p{White_Space}]","gu"):RegExp(`${v.join("|")}|[\\p{White_Space}]`,"gu"),b=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),w=new Map(b.map((e,t)=>[e,t]));return{minusSign:f,plusSign:p,decimal:m,group:g,literals:y,numeral:RegExp(`[${b.join("")}]`,"g"),index:e=>String(w.get(e))}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((null!=(n=this.options.minimumFractionDigits)?n:0)>18||(null!=(r=this.options.maximumFractionDigits)?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}let nq=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),nH=[0,4,2,1,11,20,3,7,100,21,.1,1.1];
21function nZ(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function nW(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let nG=new Map;class n${format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==nQ&&(nQ="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),nQ&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=nY(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===r&&23===i)return"h23";if(24===r&&23===i)return"h24";if(0===r&&11===i)return"h11";if(12===r&&11===i)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=nY(e,t),this.options=t}}let nK={true:{ja:"h11"},false:{}};function nY(e,t={}){if("boolean"==typeof t.hour12&&(null==nX&&(nX="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),nX)){let n=nK[String((t={...t}).hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=null!=n?n:r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(nG.has(n))return nG.get(n);let r=new Intl.DateTimeFormat(e,t);return nG.set(n,r),r}let nX=null,nQ=null;function nJ(e){var t;let n;t=null!=e?e:{},n=(0,u.useRef)(null),t&&n.current&&n0(t,n.current)&&(t=n.current),n.current=t,e=t;let{locale:r}=tB();return(0,u.useMemo)(()=>new n$(r,e),[r,e])}function n0(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}let n1=new Map;var n2={};n2={"ar-AE":{Empty:`\u{641}\u{627}\u{631}\u{63A}`},"bg-BG":{Empty:`\u{418}\u{437}\u{43F}\u{440}\u{430}\u{437}\u{43D}\u{438}`},"cs-CZ":{Empty:`Pr\xe1zdn\xe9`},"da-DK":{Empty:"Tom"},"de-DE":{Empty:"Leer"},"el-GR":{Empty:`\u{386}\u{3B4}\u{3B5}\u{3B9}\u{3BF}`},"en-US":{Empty:"Empty"},"es-ES":{Empty:`Vac\xedo`},"et-EE":{Empty:`T\xfchjenda`},"fi-FI":{Empty:`Tyhj\xe4`},"fr-FR":{Empty:"Vide"},"he-IL":{Empty:`\u{5E8}\u{5D9}\u{5E7}`},"hr-HR":{Empty:"Prazno"},"hu-HU":{Empty:`\xdcres`},"it-IT":{Empty:"Vuoto"},"ja-JP":{Empty:`\u{7A7A}`},"ko-KR":{Empty:`\u{BE44}\u{C5B4} \u{C788}\u{C74C}`},"lt-LT":{Empty:`Tu\u{161}\u{10D}ias`},"lv-LV":{Empty:`Tuk\u{161}s`},"nb-NO":{Empty:"Tom"},"nl-NL":{Empty:"Leeg"},"pl-PL":{Empty:"Pusty"},"pt-BR":{Empty:"Vazio"},"pt-PT":{Empty:"Vazio"},"ro-RO":{Empty:"Gol"},"ru-RU":{Empty:`\u{41D}\u{435} \u{437}\u{430}\u{43F}\u{43E}\u{43B}\u{43D}\u{435}\u{43D}\u{43E}`},"sk-SK":{Empty:`Pr\xe1zdne`},"sl-SI":{Empty:"Prazen"},"sr-SP":{Empty:"Prazno"},"sv-SE":{Empty:"Tomt"},"tr-TR":{Empty:`Bo\u{15F}`},"uk-UA":{Empty:`\u{41F}\u{443}\u{441}\u{442}\u{43E}`},"zh-CN":{Empty:`\u{7A7A}`},"zh-TW":{Empty:`\u{7A7A}\u{767D}`}};let n5=null;class n4{isAttached(){var e;return null==(e=this.node)?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){var r,i;if(!this.node)return;let a=document.createElement("div");"object"==typeof e?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,"assertive"===t?null==(r=this.assertiveLog)||r.appendChild(a):null==(i=this.politeLog)||i.appendChild(a),""!==e&&setTimeout(()=>{a.remove()},n)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function n3(e){let{segment:t,state:n}=e,r=(0,u.useRef)(null),{segmentProps:{...i}}=function(e,t,n){let r,i,a,o,s=(0,u.useRef)(""),{locale:l,direction:c}=tB(),d=function(){var e;let{locale:t}
21=tB(),n=nw((e=eY)&&e.__esModule?e.default:e,"@react-aria/datepicker");return(0,u.useMemo)(()=>{try{return new Intl.DisplayNames(t,{type:"dateTimeField"})}catch{return new nA(t,n)}},[t,n])}(),{ariaLabel:h,ariaLabelledBy:f,ariaDescribedBy:p,focusManager:m}=nC.get(t),g=e.isPlaceholder?"":e.text,v=(0,u.useMemo)(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),y=nJ({month:"long",timeZone:v.timeZone}),b=nJ({hour:"numeric",hour12:v.hour12,timeZone:v.timeZone});if("month"!==e.type||e.isPlaceholder)"hour"!==e.type||e.isPlaceholder||(g=b.format(t.dateValue));else{let e=y.format(t.dateValue);g=e!==g?`${g} \u{2013} ${e}`:e}let{spinButtonProps:w}=function(e){var t;let n=(0,u.useRef)(void 0),{value:r,textValue:i,minValue:a,maxValue:o,isDisabled:s,isReadOnly:l,isRequired:c,onIncrement:d,onIncrementPage:h,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:g}=e,v=nx((t=n2)&&t.__esModule?t.default:t,"@react-aria/spinbutton"),y=()=>clearTimeout(n.current);(0,u.useEffect)(()=>()=>y(),[]);let b=(0,u.useRef)(!1),w=()=>{b.current=!0},x=()=>{b.current=!1},C=""===i?v.format("Empty"):(i||`${r}`).replace("-","−");(0,u.useEffect)(()=>{b.current&&(n5&&n5.clear("assertive"),function(e,t="assertive",n=7e3){n5?n5.announce(e,t,n):(n5=new n4,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?n5.announce(e,t,n):setTimeout(()=>{(null==n5?void 0:n5.isAttached())&&(null==n5||n5.announce(e,t,n))},100))}(C,"assertive"))},[C]);let E=(0,tX.J)(e=>{y(),null==d||d(),n.current=window.setTimeout(()=>{(void 0===o||isNaN(o)||void 0===r||isNaN(r)||r<o)&&E(60)},e)}),S=(0,tX.J)(e=>{y(),null==f||f(),n.current=window.setTimeout(()=>{(void 0===a||isNaN(a)||void 0===r||isNaN(r)||r>a)&&S(60)},e)}),A=e=>{e.preventDefault()},{addGlobalListener:k,removeAllGlobalListeners:N}=(0,tY.A)();return{spinButtonProps:{role:"spinbutton","aria-valuenow":void 0===r||isNaN(r)?void 0:r,"aria-valuetext":C,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":s||void 0,"aria-readonly":l||void 0,"aria-required":c||void 0,onKeyDown:e=>{if(!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey&&!l&&!e.nativeEvent.isComposing)switch(e.key){case"PageUp":if(h){e.preventDefault(),null==h||h();break}case"ArrowUp":case"Up":d&&(e.preventDefault(),null==d||d());break;case"PageDown":if(p){e.preventDefault(),null==p||p();break}case"ArrowDown":case"Down":f&&(e.preventDefault(),null==f||f());break;case"Home":m&&(e.preventDefault(),null==m||m());break;case"End":g&&(e.preventDefault(),null==g||g())}},onFocus:w,onBlur:x},incrementButtonProps:{onPressStart:()=>{E(400),k(window,"contextmenu",A)},onPressEnd:()=>{y(),N()},onFocus:w,onBlur:x},decrementButtonProps:{onPressStart:()=>{S(400),k(window,"contextmenu",A)},onPressEnd:()=>{y(),N()},onFocus:w,onBlur:x}}}({value:e.value,textValue:g,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{s.current="",t.increment(e.type)},onDecrement:()=>{s.current="",t.decrement(e.type)},onIncrementPage:()=>{s.current="",t.incrementPage(e.type)},onDecrementPage:()=>{s.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{s.current="",void 0!==e.maxValue&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{s.current="",void 0!==e.minValue&&t.setSegment(e.type,e.minValue)}}),x=(0,u.useMemo)(()=>new nF(l,{maximumFractionDigits:0}),[l]),C=()=>{if(e.text===e.placeholder&&m.focusPrevious(),!x.isValidPartialNumber(e.text)||t.isReadOnly||e.isPlaceholder)"dayPeriod"===e.type&&t.clearSegment(e.type);else{let n=e.text.slice(0,-1),r=x.parse(n);0===(n=0===r?"":n).length||0===r?t.clearSegment(e.type):t.setSegment(e.type,r),s.current=n}},{startsWith:E}=(r=function(e){let{locale:t}=tB(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n1.has(n))return n1.get(n);let r=new Intl.Collator(t,e);return n1.set(n,r),r}({usage:"search",sensitivity:"base"}),i=(0,u.useCallback)((e,t)=>0===t.length||(e=e.normalize("NFC"),t=t.normalize("NFC"),0===r.compare(e.slice(0,t.length),t)),[r]),a=(0,u.useCallback)((e,t)=>0===t.length||(e=e.normalize("NFC"),t=t.normalize("NFC"),0===r.compare(e.slice(-t.length),t)),[r]),o=(0,u.useCallback)((e,t)=>{if(0===t.length)return!0;e=e.normalize("NFC");let n=0,i=(t=t.normalize("NFC")).length;for(;n+i<=e.length;n++){let a=e.slice(n,n+i);if(0===r.compare(t,a))return!0}return!1},[r]),(0,u.useMemo)(()=>({startsWith:i,endsWith:a,contains:o}),[i,a,o])),S=nJ({hour:"numeric",hour12:!0}),A=(0,u.useMemo)(()=>{let e=new Date;return e.setHours(0),S.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[S]),k=(0,u.useMemo)(()=>{let e=new Date;return e.setHours(12),S.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[S]),N=nJ({year:"numeric",era:"narrow",timeZone:"UTC"}),P=(0,u.useMemo)(()=>
21{if("era"!==e.type)return[];let n=(0,nk.yP)(new(0,nN.ng)(1,1,1),t.calendar),r=t.calendar.getEras().map(e=>{let t=n.set({year:1,month:1,day:1,era:e}).toDate("UTC");return{era:e,formatted:N.formatToParts(t).find(e=>"era"===e.type).value}}),i=function(e){e.sort();let t=e[0],n=e[e.length-1];for(let e=0;e<t.length;e++)if(t[e]!==n[e])return e;return 0}(r.map(e=>e.formatted));if(i)for(let e of r)e.formatted=e.formatted.slice(i);return r},[N,t.calendar,e.type]),I=n=>{if(t.isDisabled||t.isReadOnly)return;let r=s.current+n;switch(e.type){case"dayPeriod":if(E(A,n))t.setSegment("dayPeriod",0);else if(E(k,n))t.setSegment("dayPeriod",12);else break;m.focusNext();break;case"era":{let e=P.find(e=>E(e.formatted,n));e&&(t.setSegment("era",e.era),m.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!x.isValidPartialNumber(r))return;let i=x.parse(r),a=i,o=0===e.minValue;if("hour"===e.type&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":i>11&&(a=x.parse(n));break;case"h12":o=!1,i>12&&(a=x.parse(n))}void 0!==e.value&&e.value>=12&&i>1&&(i+=12)}else void 0!==e.maxValue&&i>e.maxValue&&(a=x.parse(n));if(isNaN(i))return;let l=0!==a||o;l&&t.setSegment(e.type,a),void 0!==e.maxValue&&(Number(i+"0")>e.maxValue||r.length>=String(e.maxValue).length)?(s.current="",l&&m.focusNext()):s.current=r}}};nT((0,u.useRef)("undefined"!=typeof document?document:null),"selectionchange",()=>{var e;let t=window.getSelection();(null==t?void 0:t.anchorNode)&&(null==(e=n.current)?void 0:e.contains(null==t?void 0:t.anchorNode))&&t.collapse(n.current)});let T=(0,u.useRef)("");nT(n,"beforeinput",r=>{if(n.current)switch(r.preventDefault(),r.inputType){case"deleteContentBackward":case"deleteContentForward":x.isValidPartialNumber(e.text)&&!t.isReadOnly&&C();break;case"insertCompositionText":T.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:null!=r.data&&I(r.data)}}),nT(n,"input",e=>{let{inputType:t,data:r}=e;"insertCompositionText"===t&&(n.current&&(n.current.textContent=T.current),null!=r&&(E(A,r)||E(k,r))&&I(r))}),(0,tK.N)(()=>{let e=n.current;return()=>{document.activeElement===e&&(m.focusPrevious()||m.focusNext())}},[n,m]);let O=e7()||"timeZoneName"===e.type?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{};e===(0,u.useMemo)(()=>t.segments.find(e=>e.isEditable),[t.segments])||t.isInvalid||(p=void 0);let L=(0,nc.Bi)(),M=!t.isDisabled&&!t.isReadOnly&&e.isEditable,D="literal"===e.type?"":d.of(e.type),j=nd({"aria-label":`${D}${h?`, ${h}`:""}${f?", ":""}`,"aria-labelledby":f});if("literal"===e.type)return{segmentProps:{"aria-hidden":!0}};let _={caretColor:"transparent"};if("rtl"===c){_.unicodeBidi="embed";let t=v[e.type];("numeric"===t||"2-digit"===t)&&(_.direction="ltr")}return{segmentProps:(0,tT.v)(w,j,{id:L,...O,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":p,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:M,suppressContentEditableWarning:M,spellCheck:M?"false":void 0,autoCorrect:M?"off":void 0,[parseInt(u.version,10)>=17?"enterKeyHint":"enterkeyhint"]:M?"next":void 0,inputMode:t.isDisabled||"dayPeriod"===e.type||"era"===e.type||!M?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:e=>{if("a"===e.key&&(e6()?e.metaKey:e.ctrlKey)&&e.preventDefault(),!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey)switch(e.key){case"Backspace":case"Delete":e.preventDefault(),e.stopPropagation(),C()}},onFocus:()=>{s.current="",n.current&&function(e,t){if(e&&document.contains(e)){let o=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(o).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)nP(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))!function(e,t){let n=nI(e,t,"left"),r=nI(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,o=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u,scrollPaddingTop:c,scrollPaddingRight:d,scrollPaddingBottom:h,scrollPaddingLeft:f}=getComputedStyle(e),p=o+parseInt(u,10),m=s+parseInt(l,10),g=p+e.clientWidth,v=m+e.clientHeight,y=parseInt(c,10)||0,b=parseInt(h,10)||0,w=parseInt(d,10)||0,x=parseInt(f,10)||0;n<=o+x?o=n-parseInt(u,10)-x:n+i>g-w&&(o+=n+i-g+w),r<=m+y?s=r-parseInt(l,10)-y:r+a>v-b&&(s+=r+a-v+b),e.scrollLeft=o,e.scrollTop=s}(t,e);else{var n,r,i,a;let{left:o,top:s}=e.getBoundingClientRect();null==e||null==(n=e.scrollIntoView)||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(o-l)>1||Math.abs(s-u)>1)&&(null==t||null==(i=t.containingElement)||null==(r=i.scrollIntoView)||r.call(i,{block:"center",inline:"center"}),null==(a=e.scrollIntoView)||a.call(e,{block:"nearest"}))}}}(n.current,{containingElement:function(e,t){let n=e;for(nP(n,void 0)&&(n=n.parentElement);n&&!nP(n,void 0);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}(n.current)});let e=window.getSelection();null==e||e.collapse(n.current)},style:_,onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}(t,n,r);return(0,o.jsx)("div",{...i,ref:r,className:(0,l.cn)("focus:bg-accent focus:text-accent-foreground focus:rounded-[2px] focus:outline-none","literal"!==t.type?"px-[1px]":"",t.isPlaceholder?"text-muted-foreground":""),children:t.text})}var n6={};n6={"ar-AE":{rangeOverflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,rangeReversed:`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{628}\u{62F}\u{621} \u{64A}\u{62C}\u{628} \u{623}\u{646} \u{64A}\u{643}\u{648}\u{646} \u{642}\u{628}\u{644} \u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{627}\u{646}\u{62A}\u{647}\u{627}\u{621}.`,rangeUnderflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.minValue} \u{623}\u{648} \u{628}\u{639}\u{62F} \u{630}\u{644}\u{643}.`,unavailableDate:`\u{627}\u{644}\u{628}\u{64A}\u{627}\u{646}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}\u{629} \u{63A}\u{64A}\u{631} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`},"bg-BG":{rangeOverflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,rangeReversed:`\u{41D}\u{430}\u{447}\u{430}\u{43B}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} \u{43F}\u{440}\u{435}\u{434}\u{438} \u{43A}\u{440}\u{430}\u{439}\u{43D}\u{430}\u{442}\u{430}.`,rangeUnderflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.minValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{43A}\u{44A}\u{441}\u{43D}\u{43E}.`,unavailableDate:`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430}\u{442}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435} \u{435} \u{43D}\u{430}\u{43B}\u{438}\u{447}\u{43D}\u{430}.`},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,rangeReversed:`Datum zah\xe1jen\xed mus\xed p\u{159}edch\xe1zet datu ukon\u{10D}en\xed.`,rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozd\u{11B}j\u{161}\xed.`,unavailableDate:`Vybran\xe9 datum nen\xed k dispozici.`},"da-DK":{rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen skal v\xe6re f\xf8r slutdatoen.`,rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue}
21 eller nyere.`,unavailableDate:`Den valgte dato er ikke tilg\xe6ngelig.`},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:`Das ausgew\xe4hlte Datum ist nicht verf\xfcgbar.`},"el-GR":{rangeOverflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,rangeReversed:`\u{397} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7}\u{3C2} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3C0}\u{3C1}\u{3B9}\u{3BD} \u{3B1}\u{3C0}\u{3CC} \u{3C4}\u{3B7}\u{3BD} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3BB}\u{3AE}\u{3BE}\u{3B7}\u{3C2}.`,rangeUnderflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.minValue} \u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3B3}\u{3B5}\u{3BD}\u{3AD}\u{3C3}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,unavailableDate:`\u{397} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3B4}\u{3B5}\u{3BD} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B7}.`},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:`La fecha de inicio debe ser anterior a la fecha de finalizaci\xf3n.`,rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:`Alguskuup\xe4ev peab olema enne l\xf5ppkuup\xe4eva.`,rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:`Valitud kuup\xe4ev pole saadaval.`},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:`Aloitusp\xe4iv\xe4n on oltava ennen lopetusp\xe4iv\xe4\xe4.`,rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole k\xe4ytett\xe4viss\xe4.`},"fr-FR":{rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:`La date de d\xe9but doit \xeatre ant\xe9rieure \xe0 la date de fin.`,rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:`La date s\xe9lectionn\xe9e n\u{2019}est pas disponible.`},"he-IL":{rangeOverflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,rangeReversed:`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5D4}\u{5EA}\u{5D7}\u{5DC}\u{5D4} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} \u{5DC}\u{5E4}\u{5E0}\u{5D9} \u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5E1}\u{5D9}\u{5D5}\u{5DD}.`,rangeUnderflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.minValue} \u{5D0}\u{5D5} \u{5DE}\u{5D0}\u{5D5}\u{5D7}\u{5E8} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,unavailableDate:`\u{5D4}\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5E0}\u{5D1}\u{5D7}\u{5E8} \u{5D0}\u{5D9}\u{5E0}\u{5D5} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:`Datum po\u{10D}etka mora biti prije datuma zavr\u{161}etka.`,rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:`A kezd\u{151} d\xe1tumnak a befejez\u{151} d\xe1tumn\xe1l kor\xe1bbinak kell lennie.`,rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9s\u{151}bbinek kell lennie.`,unavailableDate:`A kiv\xe1lasztott d\xe1tum nem \xe9rhet\u{151} el.`},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`\u{5024}\u{306F} ${e.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeReversed:`\u{958B}\u{59CB}\u{65E5}\u{306F}\u{7D42}\u{4E86}\u{65E5}\u{3088}\u{308A}\u{524D}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeUnderflow:e=>`\u{5024}\u{306F} ${e.minValue} \u{4EE5}\u{4E0A}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,unavailableDate:`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8}\u{306F}\u{4F7F}\u{7528}\u{3067}\u{304D}\u{307E}\u{305B}\u{3093}\u{3002}`},"ko-KR":{rangeOverflow:e=>`\u{AC12}\u{C740} ${e.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeReversed:`\u{C2DC}\u{C791}\u{C77C}\u{C740} \u{C885}\u{B8CC}\u{C77C} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeUnderflow:e=>`\u{AC12}\u{C740} ${e.minValue} \u{C774}\u{C0C1}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,unavailableDate:`\u{C120}\u{D0DD}\u{D55C} \u{B0A0}\u{C9DC}\u{B97C} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C5C6}\u{C2B5}\u{B2C8}\u{B2E4}.`},"lt-LT":{rangeOverflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.maxValue} arba ankstesn\u{117}.`,rangeReversed:`Prad\u{17E}ios data turi b\u{16B}ti ankstesn\u{117} nei pabaigos data.`,rangeUnderflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.minValue} arba naujesn\u{117}.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.maxValue} vai agr\u{101}kai.`,rangeReversed:`S\u{101}kuma datumam ir j\u{101}b\u{16B}t pirms beigu datuma.`,rangeUnderflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.minValue} vai v\u{113}l\u{101}kai.`,unavailableDate:`Atlas\u{12B}tais datums nav pieejams.`},"nb-NO":{rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen m\xe5 v\xe6re f\xf8r sluttdatoen.`,rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.maxValue} lub wcze\u{15B}niejsz\u{105}.`,rangeReversed:`Data rozpocz\u{119}cia musi by\u{107} wcze\u{15B}niejsza ni\u{17C} data zako\u{144}czenia.`,rangeUnderflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.minValue} lub p\xf3\u{17A}niejsz\u{105}.`,unavailableDate:`Wybrana data jest niedost\u{119}pna.`},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:`A data inicial deve ser anterior \xe0 data final.`,rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indispon\xedvel.`},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:`A data de in\xedcio deve ser anterior \xe0 data de fim.`,rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indispon\xedvel.`},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie s\u{103} fie ${e.maxValue} sau anterioar\u{103}.`,rangeReversed:`Data de \xeenceput trebuie s\u{103} fie anterioar\u{103} datei de sf\xe2r\u{219}it.`,rangeUnderflow:e=>`Valoarea trebuie s\u{103} fie ${e.minValue} sau ulterioar\u{103}.`,unavailableDate:`Data selectat\u{103} nu este disponibil\u{103}.`},"ru-RU":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${e.maxValue}.`,rangeReversed:`\u{414}\u{430}\u{442}\u{430} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{430} \u{43F}\u{440}\u{435}\u{434}\u{448}\u{435}\u{441}\u{442}\u{432}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{434}\u{430}\u{442}\u{435} \u{43E}\u{43A}\u{43E}\u{43D}\u{447}\u{430}\u{43D}\u{438}\u{44F}.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{44C}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xed by\u{165} ${e.maxValue} alebo skor\u{161}ia.`,rangeReversed:`D\xe1tum za\u{10D}iatku mus\xed by\u{165} skor\u{161}\xed ako d\xe1tum konca.`,rangeUnderflow:e=>`Hodnota mus\xed by\u{165} ${e.minValue} alebo neskor\u{161}ia.`,unavailableDate:`Vybrat\xfd d\xe1tum je nedostupn\xfd.`},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u{161}a.`,rangeReversed:`Za\u{10D}etni datum mora biti pred kon\u{10D}nim datumom.`,rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u{161}a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:`Datum po\u{10D}etka mora biti pre datuma zavr\u{161}etka.`,rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:`Startdatumet m\xe5ste vara f\xf6re slutdatumet.`,rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:`Det valda datumet \xe4r inte tillg\xe4ngligt.`},"tr-TR":{rangeOverflow:e=>`De\u{11F}er, ${e.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,rangeReversed:`Ba\u{15F}lang\u{131}\xe7 tarihi biti\u{15F} tarihinden \xf6nce olmal\u{131}d\u{131}r.`,rangeUnderflow:e=>`De\u{11F}er, ${e.minValue} veya sonras\u{131} olmal\u{131}d\u{131}r.`,unavailableDate:`Se\xe7ilen tarih kullan\u{131}lam\u{131}yor.`},"uk-UA":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${e.maxValue}.`,rangeReversed:`\u{414}\u{430}\u{442}\u{430} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{43A}\u{443} \u{43C}\u{430}\u{454} \u{43F}\u{435}\u{440}\u{435}\u{434}\u{443}\u{432}\u{430}\u{442}\u{438} \u{434}\u{430}\u{442}\u{456} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{435}\u{43D}\u{43D}\u{44F}.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{456}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430} \u{43D}\u{435}\u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{430}.`},"zh-CN":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,rangeReversed:`\u{5F00}\u{59CB}\u{65E5}\u{671F}\u{5FC5}\u{987B}\u{65E9}\u{4E8E}\u{7ED3}\u{675F}\u{65E5}\u{671F}\u{3002}`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{65E5}\u{671F}\u{3002}`,unavailableDate:`\u{6240}\u{9009}\u{65E5}\u{671F}\u{4E0D}\u{53EF}\u{7528}\u{3002}`},"zh-TW":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,rangeReversed:`\u{958B}\u{59CB}\u{65E5}\u{671F}\u{5FC5}\u{9808}\u{5728}\u{7D50}\u{675F}\u{65E5}\u{671F}\u{4E4B}\u{524D}\u{3002}`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{3002}`,unavailableDate:`\u{6240}\u{9078}\u{65E5}\u{671F}\u{7121}\u{6CD5}\u{4F7F}\u{7528}\u{3002}`}};var n8=n(51907);
21let n9=new nm(function(e){return e&&e.__esModule?e.default:e}(n6)),n7={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},re={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function rt(e,t){var n;e={...t.shouldForceLeadingZeros?re:n7,...e};let r=t.granularity||"minute",i=Object.keys(e),a=i.indexOf(null!=(n=t.maxGranularity)?n:"year");a<0&&(a=0);let o=i.indexOf(r);if(o<0&&(o=2),a>o)throw Error("maxGranularity must be greater than granularity");let s=i.slice(a,o+1).reduce((t,n)=>(t[n]=e[n],t),{});return null!=t.hourCycle&&(s.hour12=12===t.hourCycle),s.timeZone=t.timeZone||"UTC",("hour"===r||"minute"===r||"second"===r)&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&0===a&&(s.era="short"),s}function rn(e,t){return null===e?null:e?(0,nk.yP)(e,t):void 0}function rr(e,t,n,r){if(e)return rn(e,n);let i=(0,nk.yP)((0,n8.tB)(null!=r?r:(0,n8.Xj)()).set({hour:0,minute:0,second:0,millisecond:0}),n);return"year"===t||"month"===t||"day"===t?(0,nk.gw)(i):r?i:(0,nk.tR)(i)}let ri=new nm({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"\xf1\xf1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xe9\xe9\xe9\xe9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},no:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");var ra=n(1715);let ro={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},rs={...ro,customError:!0,valid:!1}
21,rl={isInvalid:!1,validationDetails:ro,validationErrors:[]},ru=(0,u.createContext)({}),rc="__formValidationState"+Date.now();function rd(e){return e?Array.isArray(e)?e:[e]:[]}function rh(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:rs}:null}function rf(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function rp(e,t,n){let[r,i]=(0,u.useState)(e||t),a=(0,u.useRef)(void 0!==e),o=void 0!==e;(0,u.useEffect)(()=>{a.current,a.current=o},[o]);let s=o?e:r,l=(0,u.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(s,e)&&n(e,...t),o||(s=e)};"function"==typeof e?i((n,...i)=>{let a=e(o?s:n,...i);return(r(a,...t),o)?n:a}):(o||i(e),r(e,...t))},[o,s,n]);return[s,l]}let rm={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},rg={year:5,month:2,day:7,hour:2,minute:15,second:15},rv={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function ry(e,t,n){switch(t){case"era":{let t=e.calendar.getEras();return{value:t.indexOf(e.era),minValue:0,maxValue:t.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:(0,n8.xz)(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:(0,n8.oT)(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:12*(e.hour>=12),minValue:0,maxValue:12};case"hour":if(n.hour12){let t=e.hour>=12;return{value:e.hour,minValue:12*!!t,maxValue:t?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function rb(e,t=(0,n8.Ec)((0,n8.Xj)())){return e?"day"in e?e:(0,nk.tR)(t,e):null}function rw(e){var t;let n,r=(0,u.useRef)(null),{locale:i}=tB(),a=function(e){let{placeholderValue:t=new(0,nN.gX),minValue:n,maxValue:r,defaultValue:i,granularity:a,validate:o}=e,[s,l]=rp(e.value,null!=i?i:null,e.onChange),c=s||t,d=c&&"day"in c?c:void 0,h=i&&"timeZone"in i?i.timeZone:void 0,f=(0,u.useMemo)(()=>{let e=c&&"timeZone"in c?c.timeZone:void 0;return(e||h)&&t?(0,nk.uB)(rb(t),e||h):rb(t)},[t,c,h]),p=(0,u.useMemo)(()=>rb(n,d),[n,d]),m=(0,u.useMemo)(()=>rb(r,d),[r,d]),g=(0,u.useMemo)(()=>s&&"day"in s?(0,nk.xe)(s):s,[s]),v=(0,u.useMemo)(()=>null==s?null:rb(s),[s]),y=(0,u.useMemo)(()=>null==i?null:rb(i),[i]);return{...function(e){var t,n,r;let{locale:i,createCalendar:a,hideTimeZone:o,isDisabled:s=!1,isReadOnly:l=!1,isRequired:c=!1,minValue:d,maxValue:h,isDateUnavailable:f}=e,p=e.value||e.defaultValue||e.placeholderValue||null,[m,g]=function(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=(0,u.useState)([r,n]);return e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||(t=e?r:i[0]),[t,e?n:i[1]]}(p,e.granularity),v=g||"UTC";if(p&&!(m in p))throw Error("Invalid granularity "+m+" for value "+p.toString());let y=(0,u.useMemo)(()=>new n$(i),[i]),b=(0,u.useMemo)(()=>a(y.resolvedOptions().calendar),[a,y]),[w,x]=rp(e.value,null!=(t=e.defaultValue)?t:null,e.onChange),[C]=(0,u.useState)(w),E=(0,u.useMemo)(()=>{var e;return null!=(e=rn(w,b))?e:null},[w,b]),[S,A]=(0,u.useState)(()=>rr(e.placeholderValue,m,b,g)),k="gregory"===b.identifier&&"BC"===(E||S).era,N=(0,u.useMemo)(()=>{var t;return{granularity:m,maxGranularity:null!=(t=e.maxGranularity)?t:"year",timeZone:g,hideTimeZone:o,hourCycle:e.hourCycle,showEra:k,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,m,e.hourCycle,e.shouldForceLeadingZeros,g,o,k]),P=(0,u.useMemo)(()=>rt({},N),[N]),I=(0,u.useMemo)(()=>new n$(i,P),[i,P]),T=(0,u.useMemo)(()=>I.resolvedOptions(),[I]),O=(0,u.useMemo)(()=>I.formatToParts(new Date).filter(e=>rm[e.type]).reduce((e,t)=>(e[rv[t.type]||t.type]=!0,e),{}),[I]),[L,M]=(0,u.useState)(()=>e.value||e.defaultValue?{...O}:{}),D=(0,u.useRef)(null),j=(0,u.useRef)(b);(0,u.useEffect)(()=>{(0,n8.Jg)(b,j.current)||(j.current=b,A(t=>Object.keys(L).length>0?(0,nk.yP)(t,b):rr(e.placeholderValue,m,b,g)))},[b,m,L,g,e.placeholderValue]),w&&Object.keys(L).length<Object.keys(O).length&&M(L={...O}),null==w&&Object.keys(L).length===Object.keys(O).length&&(M(L={}),A(rr(e.placeholderValue,m,b,g)));let _=E&&Object.keys(L).length>=Object.keys(O).length?E:S,R=t=>{if(e.isDisabled||e.isReadOnly)return;let n=Object.keys(L),r=Object.keys(O);null==t?(x(null),A(rr(e.placeholderValue,m,b,g)),M({})):0===n.length&&null==D.current||n.length>=r.length||n.length===r.length-1&&O.dayPeriod&&!L.dayPeriod&&"dayPeriod"!==D.current?(0===n.length&&M(L={...O}),x(t=(0,nk.yP)(t,(null==p?void 0:p.calendar)||new(0,ra.FG)))):A(t),D.current=null},F=(0,u.useMemo)(()=>_.toDate(v),[_,v]),z=(0,u.useMemo)(()=>(function(e,t,n,r,i,a,o,s){let l=["hour","minute","second"],u=n.formatToParts(e),c=[];for(let e of u){var d;let n=rv[e.type]||e.type,u=rm[n];"era"===n&&1===a.getEras().length&&(u=!1);let h=rm[n]&&!t[n],f=rm[n]?(d=e.value,"era"===n||"dayPeriod"===n?d:"year"===n||"month"===n||"day"===n?ri.getStringForLocale(n,o):"––"):null,p={type:n,text:h?f:e.value,...r
21y(i,n,r),isPlaceholder:h,placeholder:f,isEditable:u};"hour"===n?(c.push({type:"literal",text:"⁦",...ry(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(p),n===s&&c.push({type:"literal",text:"⁩",...ry(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):l.includes(n)&&n===s?(c.push(p),c.push({type:"literal",text:"⁩",...ry(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(p)}return c})(F,L,I,T,_,b,i,m),[F,L,I,T,_,b,i,m]);O.era&&L.year&&!L.era?(L.era=!0,M({...L})):!O.era&&L.era&&(delete L.era,M({...L}));let B=e=>{L[e]=!0,"year"===e&&O.era&&(L.era=!0),M({...L})},V=(e,t)=>{if(L[e])R(function(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:"year"===t})}if("hour"in e)switch(t){case"dayPeriod":{let t=e.hour;return e.set({hour:t>=12?t-12:t+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:"hour"!==t,hourCycle:r.hour12?12:24})}throw Error("Unknown segment: "+t)}(_,e,t,T));else{B(e);let t=Object.keys(L),n=Object.keys(O);(t.length>=n.length||t.length===n.length-1&&O.dayPeriod&&!L.dayPeriod)&&R(_)}},U=(0,u.useMemo)(()=>(function(e,t,n,r,i){let a=null!=e&&null!=n&&e.compare(n)>0,o=null!=e&&null!=t&&0>e.compare(t),s=null!=e&&(null==r?void 0:r(e))||!1,l=a||o||s,u=[];if(l){let e=function(){let e="undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}(),r=new ny(e,nm.getGlobalDictionaryForPackage("@react-stately/datepicker")||n9),l=new n$(e,rt({},i)),c=l.resolvedOptions().timeZone;o&&null!=t&&u.push(r.format("rangeUnderflow",{minValue:l.format(t.toDate(c))})),a&&null!=n&&u.push(r.format("rangeOverflow",{maxValue:l.format(n.toDate(c))})),s&&u.push(r.format("unavailableDate"))}return{isInvalid:l,validationErrors:u,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!l}}})(w,d,h,f,N),[w,d,h,f,N]),q=function(e){if(e[rc]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[rc];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return function(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:o,validationBehavior:s="aria"}=e;n&&(t||(t="invalid"===n));let l=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:rs}:null,c=(0,u.useMemo)(()=>o&&null!=i?rh(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return rd(n)}return[]}(o,i)):null,[o,i]);(null==a?void 0:a.validationDetails.valid)&&(a=void 0);let d=(0,u.useContext)(ru),h=(0,u.useMemo)(()=>r?Array.isArray(r)?r.flatMap(e=>rd(d[e])):rd(d[r]):[],[d,r]),[f,p]=(0,u.useState)(d),[m,g]=(0,u.useState)(!1);d!==f&&(p(d),g(!1));let v=(0,u.useMemo)(()=>rh(m?[]:h),[m,h]),y=(0,u.useRef)(rl),[b,w]=(0,u.useState)(rl),x=(0,u.useRef)(rl),[C,E]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{if(!C)return;E(!1);let e=c||a||y.current;rf(e,x.current)||(x.current=e,w(e))}),{realtimeValidation:l||v||c||a||rl,displayValidation:"native"===s?l||v||b:l||v||c||a||b,updateValidation(e){"aria"!==s||rf(b,e)?y.current=e:w(e)},resetValidation(){rf(rl,x.current)||(x.current=rl,w(rl)),"native"===s&&E(!1),g(!0)},commitValidation(){"native"===s&&E(!0),g(!0)}}}(e)}({...e,value:w,builtinValidation:U}),H=q.displayValidation.isInvalid,Z=e.validationState||(H?"invalid":null);return{...q,value:E,defaultValue:null!=(n=e.defaultValue)?n:C,dateValue:F,calendar:b,setValue:R,segments:z,dateFormatter:I,validationState:Z,isInvalid:H,granularity:m,maxGranularity:null!=(r=e.maxGranularity)?r:"year",isDisabled:s,isReadOnly:l,isRequired:c,increment(e){V(e,1)},decrement(e){V(e,-1)},incrementPage(e){V(e,rg[e]||1)},decrementPage(e){V(e,-(rg[e]||1))},setSegment(e,t){B(e),R(function(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e&&"number"==typeof n)switch(t){case"dayPeriod":{let t=e.hour,r=t>=12;if(n>=12===r)return e;return e.set({hour:r?t-12:t+12})}case"hour":if(r.hour12){let t=e.hour>=12;t||12!==n||(n=0),t&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}throw Error("Unknown segment: "+t)}(_,e,t,T))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let t=Object.keys(L),n=Object.keys(O);t.length===n.length-1&&O.dayPeriod&&!L.dayPeriod&&(M(L={...O}),R(_.copy()))},clearSegment(t){delete L[t],D.current=t,M({...L});let n=rr(e.placeholderValue,m,b,g),r=_;if("dayPeriod"===t&&"hour"in _&&"hour"in n){let e=_.hour>=12,t=n.hour>=12;e&&!t?r=_.set({hour:_.hour-12}):!e&&t&&(r=_.set({hour:_.hour+12}))}else"hour"===t&&"hour"in _&&_.hour>=12&&L.dayPeriod?r=_.set({hour:n.hour+12}):t in _&&(r=_.set({[t]:n[t]}));x(null),R(r)},formatValue:e=>E?new n$(i,rt(e,N)).format(F):"",getDateFormatter:(e,t)=>new n$(e,rt({},{...N,...t}))}}({...e,value:v,defaultValue:y,minValue:p,maxValue:m,onChange:e=>{l(d||h?e:e&&(0,nk.xe)(e))},granularity:a||"minute",maxGranularity:"hour",placeholderValue:null!=f?f:void 0,createCalendar:()=>new(0,ra.FG),validate:(0,u.useCallback)(()=>null==o?void 0:o(s),[o,s])}),timeValue:g}}({...e,locale:i}),{fieldProps:{...s}}=((n=function(e,t,n){var r,i,a,o,s;
21let l,c,{isInvalid:d,validationErrors:h,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:g,errorMessageProps:v}=function(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:o}=function(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a="label"}=e;t=(0,nc.Bi)(t);let o=(0,nc.Bi)(),s={};return n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:"label"===a?t:void 0}),{labelProps:s,fieldProps:nd({id:t,"aria-label":i,"aria-labelledby":r})}}(e),s=(0,nc.X1)([!!t,!!n,r,i]),l=(0,nc.X1)([!!t,!!n,r,i]);return{labelProps:a,fieldProps:o=(0,tT.v)(o,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:l}}}({...e,labelElementType:"span",isInvalid:d,errorMessage:e.errorMessage||h}),y=(0,u.useRef)(null),{focusWithinProps:b}=(0,nh.R)({...e,onFocusWithin(n){var r;y.current=t.value,null==(r=e.onFocus)||r.call(e,n)},onBlurWithin:n=>{var r;t.confirmPlaceholder(),t.value!==y.current&&t.commitValidation(),null==(r=e.onBlur)||r.call(e,n)},onFocusWithinChange:e.onFocusChange}),w=nx((i=eY)&&i.__esModule?i.default:i,"@react-aria/datepicker"),x="hour"===t.maxGranularity?"selectedTimeDescription":"selectedDateDescription",C="hour"===t.maxGranularity?"time":"date",E=function(e){let[t,n]=(0,u.useState)();return(0,tK.N)(()=>{if(!e)return;let t=nr.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${nn++}`;n(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},nr.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),nr.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(t.value?w.format(x,{[C]:t.formatValue({month:"long"})}):""),S="presentation"===e[nE]?m["aria-describedby"]:[E["aria-describedby"],m["aria-describedby"]].filter(Boolean).join(" ")||void 0,A=e[nS],k=(0,u.useMemo)(()=>A||tk(n),[A,n]),N=function(e,t,n){let{direction:r}=tB(),i=(0,u.useMemo)(()=>tk(t),[t]),a=()=>{var e;if(!t.current)return;let n=null==(e=window.event)?void 0:e.target,r=tA(t.current,{tabbable:!0});if(n&&(r.currentNode=n,n=r.previousNode()),!n){let e;do(e=r.lastChild())&&(n=e);while(e)}for(;null==n?void 0:n.hasAttribute("data-placeholder");){let e=r.previousNode();if(e&&e.hasAttribute("data-placeholder"))n=e;else break}n&&n.focus()},{pressProps:o}=function(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:o,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:h,ref:f,...p}=function(e){var t;let n=(0,u.useContext)(tZ);if(n){let{register:t,...r}=n;e=(0,tT.v)(r,e),t()}return t=e.ref,(0,tK.N)(()=>{if(n&&n.ref&&t)return n.ref.current=t.current,()=>{n.ref&&(n.ref.current=null)}}),e}(e),[m,g]=(0,u.useState)(!1),v=(0,u.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:y,removeAllGlobalListeners:b}=(0,tY.A)(),w=(0,tX.J)((e,t)=>{let i=v.current;if(s||i.didFirePressStart)return!1;let a=!0;if(i.isTriggeringEvent=!0,r){let n=new t1("pressstart",t,e);r(n),a=n.shouldStopPropagation}return n&&n(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,g(!0),a}),x=(0,tX.J)((e,r,a=!0)=>{let o=v.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let l=!0;if(i){let t=new t1("pressend",r,e);i(t),l=t.shouldStopPropagation}if(n&&n(!1),g(!1),t&&a&&!s){let n=new t1("press",r,e);t(n),l&&(l=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,l}),C=(0,tX.J)((e,t)=>{let n=v.current;if(s)return!1;if(a){n.isTriggeringEvent=!0;let r=new t1("pressup",t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),E=(0,tX.J)(e=>{let t=v.current;if(t.isPressed&&t.target){for(let n of(t.didFirePressStart&&null!=t.pointerType&&x(t8(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,b(),h||tH(t.target),t.disposables))n();t.disposables=[]}}),S=(0,tX.J)(e=>{d&&E(e)}),A=(0,tX.J)(e=>{null==o||o(e)}),k=(0,tX.J)((e,t)=>{if(o){let n=new MouseEvent("click",e);(0,e2.o1)(n,t),o((0,e2.eg)(n))}}),N=(0,u.useMemo)(()=>{let e=v.current,t={onKeyDown(t){if(t6(t.nativeEvent,t.currentTarget)&&(0,eJ.sD)(t.currentTarget,(0,eJ.wt)(t.nativeEvent))){var r;t9((0,eJ.wt)(t.nativeEvent),t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",i=w(t,"keyboard");let r=t.currentTarget;y((0,eX.TW)(t.currentTarget),"keyup",(0,tQ.c)(t=>{t6(t,r)&&!t.repeat&&(0,eJ.sD)(r,(0,eJ.wt)(t))&&e.target&&C(t8(e.target,t),"keyboard")},n),!0)}i&&t.stopPropagation(),t.metaKey&&e6()&&(null==(r=e.metaKeyEvents)||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,eJ.sD)(t.currentTarget,(0,eJ.wt)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!tJ.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||ti(t.nativeEvent))){let e=w(t,"virtual"),r=C(t,"virtual"),i=x(t,"virtual");A(t),n=e&&r&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",i=C(t8(t.currentTarget,t),r),a=x(t8(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,A(t),E(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,i;if(e.isPressed&&e.target&&t6(t,e.target)){t9((0,eJ.wt)(t),t.key)&&t.preventDefault();let n=(0,eJ.wt)(t),i=(0,eJ.sD)(e.target,(0,eJ.wt)(t));x(t8(e.target,t),"keyboard",i),i&&k(t,e.target),b(),"Enter"!==t.key&&t3(e.target)&&(0,eJ.sD)(e.target,n)&&!t[t2]&&(t[t2]=!0,tJ(e.target,t,!1)),e.
21isPressed=!1,null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&(null==(n=e.metaKeyEvents)?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null==(i=e.target)||i.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var i;if(0!==t.button||!(0,eJ.sD)(t.currentTarget,(0,eJ.wt)(t.nativeEvent)))return;if(i=t.nativeEvent,!tn()&&0===i.width&&0===i.height||1===i.width&&1===i.height&&0===i.pressure&&0===i.detail&&"mouse"===i.pointerType){e.pointerType="virtual";return}e.pointerType=t.pointerType;let a=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,h||function(e){if(e7()){if("default"===tV){let t=(0,eX.TW)(e);tU=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}tV="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";tq.set(e,e.style[t]),e.style[t]="none"}}(e.target),a=w(t,e.pointerType);let i=(0,eJ.wt)(t.nativeEvent);"releasePointerCapture"in i&&i.releasePointerCapture(t.pointerId),y((0,eX.TW)(t.currentTarget),"pointerup",n,!1),y((0,eX.TW)(t.currentTarget),"pointercancel",r,!1)}a&&t.stopPropagation()},t.onMouseDown=t=>{if((0,eJ.sD)(t.currentTarget,(0,eJ.wt)(t.nativeEvent))&&0===t.button){if(c){let n=(0,e2.LE)(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{(0,eJ.sD)(t.currentTarget,(0,eJ.wt)(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||C(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,w(t8(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,x(t8(e.target,t),e.pointerType,!1),S(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,eJ.sD)(e.target,(0,eJ.wt)(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?E(t):((0,tC.e)(e.target),e.target.click()))},80);y(t.currentTarget,"click",()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else E(t);e.isOverTarget=!1}},r=e=>{E(e)};t.onDragStart=e=>{(0,eJ.sD)(e.currentTarget,(0,eJ.wt)(e.nativeEvent))&&E(e)}}return t},[y,s,c,b,h,E,S,x,w,C,A,k]);return(0,u.useEffect)(()=>{if(!f)return;let e=(0,eX.TW)(f.current);if(!e||!e.head||e.getElementById(t5))return;let t=e.createElement("style");t.id=t5,t.textContent=`
22@layer {
23  [${t4}] {
24    touch-action: pan-x pan-y pinch-zoom;
25  }
26}
27    `.trim(),e.head.prepend(t)},[f]),(0,u.useEffect)(()=>{let e=v.current;return()=>{var t;for(let n of(h||tH(null!=(t=e.target)?t:void 0),e.disposables))n();e.disposables=[]}},[h]),{isPressed:l||m,pressProps:(0,tT.v)(p,N,{[t4]:!0})}}({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){"mouse"===e.pointerType&&a()},onPress(e){("touch"===e.pointerType||"pen"===e.pointerType)&&a()}});return(0,tT.v)(o,{onKeyDown:a=>{if(a.currentTarget.contains(a.target)&&(a.altKey&&("ArrowDown"===a.key||"ArrowUp"===a.key)&&"setOpen"in e&&(a.preventDefault(),a.stopPropagation(),e.setOpen(!0)),!n))switch(a.key){case"ArrowLeft":if(a.preventDefault(),a.stopPropagation(),"rtl"===r){if(t.current){let e=a.target,n=nt(t.current,e.getBoundingClientRect().left,-1);n&&n.focus()}}else i.focusPrevious();break;case"ArrowRight":if(a.preventDefault(),a.stopPropagation(),"rtl"===r){if(t.current){let e=a.target,n=nt(t.current,e.getBoundingClientRect().left,1);n&&n.focus()}}else i.focusNext()}}})}(t,n,"presentation"===e[nE]);nC.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[p.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:S,focusManager:k});let P=(0,u.useRef)(e.autoFocus);l="presentation"===e[nE]?{role:"presentation"}:(0,tT.v)(m,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":S}),(0,u.useEffect)(()=>{P.current&&k.focusFirst(),P.current=!1},[k]),a=e.inputRef,o=t.defaultValue,s=t.setValue,c=(0,tX.J)(()=>{s&&s(o)}),(0,u.useEffect)(()=>{var e;let t=null==a||null==(e=a.current)?void 0:e.form;return null==t||t.addEventListener("reset",c),()=>{null==t||t.removeEventListener("reset",c)}},[a,c]),function(e,t,n){let{validationBehavior:r,focus:i}=e;(0,tK.N)(()=>
27{if("native"===r&&(null==n?void 0:n.current)&&!n.current.disabled){var e;let r,i=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(i),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:{badInput:(r=e.validity).badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let a=(0,u.useRef)(!1),o=(0,tX.J)(()=>{a.current||t.resetValidation()}),s=(0,tX.J)(e=>{var r,a;t.displayValidation.isInvalid||t.commitValidation();let o=null==n||null==(r=n.current)?void 0:r.form;!e.defaultPrevented&&n&&o&&function(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}(o)===n.current&&(i?i():null==(a=n.current)||a.focus(),ta="keyboard",tc("keyboard",null)),e.preventDefault()}),l=(0,tX.J)(()=>{t.commitValidation()});(0,u.useEffect)(()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form,r=null==t?void 0:t.reset;return t&&(t.reset=()=>{a.current=!window.event||"message"===window.event.type&&window.event.target instanceof MessagePort,null==r||r.call(t),a.current=!1}),e.addEventListener("invalid",s),e.addEventListener("change",l),null==t||t.addEventListener("reset",o),()=>{e.removeEventListener("invalid",s),e.removeEventListener("change",l),null==t||t.removeEventListener("reset",o),t&&(t.reset=r)}},[n,s,l,o,r])}({...e,focus(){k.focusFirst()}},t,e.inputRef);let I={type:"hidden",name:e.name,form:e.form,value:(null==(r=t.value)?void 0:r.toString())||"",disabled:e.isDisabled};"native"===e.validationBehavior&&(I.type="text",I.hidden=!0,I.required=e.isRequired,I.onChange=()=>{});let T=function(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(ni.has(t)||n&&na.has(t)||r&&no.has(t)||i&&ns.has(t)||a&&nl.has(t)||t.endsWith("Capture")&&nl.has(t.slice(0,-7))||(null==o?void 0:o.has(t))||nu.test(t))&&(s[t]=e[t]);return s}(e);return{labelProps:{...p,onClick:()=>{k.focusFirst()}},fieldProps:(0,tT.v)(T,l,N,b,{onKeyDown(t){e.onKeyDown&&e.onKeyDown(t)},onKeyUp(t){e.onKeyUp&&e.onKeyUp(t)},style:{unicodeBidi:"isolate"}}),inputProps:I,descriptionProps:g,errorMessageProps:v,isInvalid:d,validationErrors:h,validationDetails:f}}(e,a,r)).inputProps.value=(null==(t=a.timeValue)?void 0:t.toString())||"",n);return(0,o.jsx)("div",{...s,ref:r,className:(0,l.cn)("border-input ring-offset-background focus-within:ring-ring focus-visible:ring-ring inline-flex max-h-10 w-full flex-1 rounded-md border bg-transparent px-3 py-2 text-sm focus-within:ring-2 focus-within:ring-offset-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",{"cursor-not-allowed opacity-50":e.isDisabled,"ring-destructive focus-visible:ring-destructive focus-within:ring-destructive focus-visible:ring-offset-background focus-within:ring-offset-background ring-1 focus-within:ring-1 focus-within:ring-offset-1 focus-visible:ring-offset-1":e.hasError},e.className),children:a.segments.map((e,t)=>(0,o.jsx)(n3,{segment:e,state:a},t))})}let rx=u.forwardRef((e,t)=>(0,o.jsx)(rw,{...e,"aria-label":"Heure",isDisabled:e.disabled}));rx.displayName="TimePicker";var rC=n(26807),rE=n(52789),rS=n(23319),rA=n(92351),rk=n(72579),rN=n(73936),rP=n(12383),rI=n(1909),rT=n(87540);class rO{getModalIsVisible(){return this.modalVisible}setModalVisible(e){this.modalVisible=e}constructor(){this.modalVisible=!1,(0,rT.Gn)(this,{modalVisible:rT.sH,setModalVisible:rT.XI})}}let rL=new rO;var rM=n(87414),rD=n(16972),rj=n(93520),r_=n(96930),rR=n(59359),rF=n(81409);let rz={lat:46.60079157391875,lng:2.4799331427083393},rB={width:"100%",height:"450px"},rV={styles:[{featureType:"all",stylers:[{lightness:50}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]}],mapTypeId:"terrain",disableDefaultUI:!0,zoomControl:!0,streetViewControl:!1,mapTypeControl:!1,fullscreenControl:!1};
27function rU(e){let{isMapApiLoaded:t,label:n,control:r,name:i,onChange:a,showUserGeolocationButton:s,disabled:l}=e;return t?(0,o.jsx)(eL.zB,{control:r,name:i,render:e=>{let{field:t}=e;return(0,o.jsxs)(eL.eI,{className:eF.sl,children:[n&&(0,o.jsx)(eL.lR,{children:n}),(0,o.jsx)(eL.MJ,{children:(0,o.jsx)(rq,{values:t.value,onChange:e=>{!l&&(a&&!1===a(e)||t.onChange(e))},showUserGeolocationButton:s})})]})}}):(0,o.jsx)(r_.A,{})}function rq(e){var t,n;let{values:r,onChange:i,showUserGeolocationButton:a}=e,[s,l]=(0,u.useState)({lat:null!=(t=r.lat)?t:rz.lat,lng:null!=(n=r.long)?n:rz.lng}),[c,d]=(0,u.useState)(r.lat&&r.long?15:6),h=()=>{i({address:null,lat:null,long:null,zipCode:null,city:null,country:null})};return(0,o.jsxs)(rj.u6,{mapContainerStyle:rB,center:s,zoom:c,options:rV,onClick:e=>{var t,n,r,a;let o=null!=(r=null==(t=e.latLng)?void 0:t.lat())?r:null,s=null!=(a=null==(n=e.latLng)?void 0:n.lng())?a:null;o&&s&&i({address:null,lat:o,long:s,zipCode:null,city:null,country:null})},children:[a&&(0,o.jsx)(rF.E,{position:"RIGHT_TOP",children:(0,o.jsx)("div",{className:"mr-2 mt-2",children:(0,o.jsx)(eS.A,{svgType:"crosshair",svgProps:{size:24,className:"text-blue-500"},className:"px-1",type:"button",variant:"outline-blue",onClick:()=>{let e=navigator.geolocation;e&&e.getCurrentPosition(e=>{i({address:null,lat:e.coords.latitude,long:e.coords.longitude,zipCode:null,city:null,country:null}),l({lat:e.coords.latitude,lng:e.coords.longitude}),d(15)})}})})}),r.lat&&r.long&&(0,o.jsx)(rj.P3,{position:{lat:r.lat,lng:r.long},mapPaneName:rj.i3.OVERLAY_MOUSE_TARGET,children:(0,o.jsx)("div",{className:"custom-marker flex size-10 cursor-pointer items-center justify-center ",onClick:e=>{e.stopPropagation(),h()},onKeyDown:e=>{e.stopPropagation(),h()},role:"button",tabIndex:0,style:{transform:"translate(-50%, -100%)"},children:(0,o.jsx)(rR.B,{name:"doorPin",alt:"Entr\xe9e"})})},"".concat(r.lat,"-").concat(r.long))]})}var rH=n(2197);let rZ=function(){let[e,t]=(0,u.useState)(!1),{control:n}=(0,rI.xW)(),{isLoaded:r}=(0,rH.g)();return(0,o.jsxs)(eO.lG,{open:e,onOpenChange:t,children:[(0,o.jsx)(eO.zM,{asChild:!0,children:(0,o.jsx)(eS.K,{svgType:"crosshair",svgProps:{size:24,className:"text-blue-500"},className:"px-1",type:"button",variant:"outline-blue"})}),(0,o.jsxs)(eO.Cf,{className:"max-h-[calc(100vh-60px)] max-w-[calc(100vw-20px)] overflow-auto bg-white md:max-h-[calc(100vh-120px)] md:max-w-[700px]",children:[(0,o.jsx)(eO.c7,{children:(0,o.jsx)(eO.L3,{children:"Choisir une position"})}),(0,o.jsx)(rD.w,{}),(0,o.jsx)(rU,{control:n,name:"place.address",showUserGeolocationButton:!0,isMapApiLoaded:r}),(0,o.jsx)(eO.Es,{children:(0,o.jsx)(eB.$,{variant:"blue",type:"button",onClick:()=>t(!1),children:"Valider"})})]})]})},rW=function(){let{control:e,setValue:t,watch:n}=(0,rI.xW)(),{isLoaded:r}=(0,rH.g)(),{lat:i,long:a,address:s}=n("place.address"),l=i&&a&&!s;return(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,o.jsx)(eM.Z,{control:e,name:"place.name",label:"Lieu de l'\xe9v\xe9nement",placeholder:"Parc des Expositions",errorRing:!0}),(0,o.jsxs)("div",{className:"flex items-end gap-2",children:[!l&&(0,o.jsx)(rM.Z,{className:"grow",control:e,name:"place.address",label:"Adresse",placeholder:"5 rue en Chatoux, 21490 RUFFEY LES ECHIREY",isMapApiLoaded:r}),(0,o.jsx)(rZ,{}),l&&(0,o.jsxs)("div",{className:"flex w-full justify-between text-xs text-gray-500",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{children:i}),(0,o.jsx)("p",{children:a})]}),(0,o.jsx)(eS.K,{svgType:"arrowUUpLeft",svgProps:{size:24,className:"text-blue-500"},className:"px-1",type:"button",variant:"outline-blue",onClick:()=>{t("place.address.address",""),t("place.address.lat",null),t("place.address.long",null)}})]})]})]})})},rG="dates.times",r$=(0,ef.PA)(e=>{let{className:t,TriggerElement:n}=e,r=(0,rI.mN)({resolver:(0,rE.u)(s.GAA),defaultValues:s.MYZ,mode:"all"}),{user:i}=(0,eI.u)(),{control:a,trigger:c,getValues:d,reset:h,setValue:f}=r,{mutate:p}=(0,s.K77)(),{toast:m}=(0,eu.dj)(),[g,v]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1);async function w(){await c()&&p(d(),{onSuccess:e=>{h(),v(!1),m({title:"Votre \xe9v\xe9nement a \xe9t\xe9 envoy\xe9 et est en cours de validation"})},onError:e=>{m({title:"Erreur lors de la cr\xe9ation de l'\xe9v\xe9nement",description:e.message})}})}(0,u.useEffect)(()=>{rL.getModalIsVisible()&&(v(!0),rL.setModalVisible(!1))},[rL.getModalIsVisible()]);let x=(0,rI.FH)({control:r.control,name:rG}),C=()=>
27{if(void 0===i)return void rk.A.setModalVisible(!0);if(i.roles.some(e=>e.role===rS.Role.organiser)){let e=new URL("/organiser/events?create=true&connected_as=".concat(i.id),rA.A.BACKOFFICE_URL);window.open(e,"_blank");return}return v(!0)};return(0,o.jsxs)(eO.lG,{open:g,onOpenChange:e=>{void 0!==i&&(v(e),h())},children:[void 0!==n?(0,o.jsx)(n,{onClick:C}):(0,o.jsx)("button",{onClick:C,className:(0,l.cn)("text-sm",t),children:"Ajouter un \xe9v\xe9nement"}),(0,o.jsxs)(eO.Cf,{className:"max-h-[calc(100vh-60px)] overflow-auto bg-white md:max-h-[calc(100vh-120px)] md:min-w-[741px]",children:[(0,o.jsx)(eO.c7,{className:"text-2xl",children:(0,o.jsx)(eO.L3,{className:"flex justify-center text-left text-lg text-gray-900",children:"Ajouter un \xe9v\xe9nement"})}),(0,o.jsx)(eL.lV,{...r,children:(0,o.jsx)("form",{onSubmit:r.handleSubmit(w),children:(0,o.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,o.jsxs)("div",{className:"flex w-full flex-wrap gap-4",children:[(0,o.jsx)(eM.Z,{control:a,name:"name",label:"Nom de l'\xe9v\xe9nement",className:"grow-[999]",placeholder:"Nom",errorRing:!0}),(0,o.jsx)(eW,{control:a,className:"grow",mode:"range",name:"dates",label:"Plage de dates",onPick:e=>{var t,n;let r=e;r?r.to||(r={from:r.from,to:r.from}):r={from:d().dates.from,to:d().dates.from},f("dates.from",null!=(t=r.from)?t:new Date),f("dates.to",null!=(n=r.to)?n:new Date),r.to=d().dates.to,r.from=d().dates.from,f(rG,Array.from({length:(0,rN.m)(r.to,r.from)+1},(e,t)=>{var n,i,a;let o=(0,rP.f)(new Date(null!=(n=r.from)?n:new Date),t);o.setHours(8,0,0,0);let s=(0,rP.f)(new Date(null!=(i=r.from)?i:new Date),t);return s.setHours(18,0,0,0),{start:(0,eD.vO7)(o),end:(0,eD.vO7)(s),day:(0,eD.UwG)((0,rP.f)(new Date(null!=(a=r.from)?a:new Date),t))}})),c("dates")}})]}),(0,o.jsx)(rW,{}),(0,o.jsx)(eG.F,{control:a,items:eT.hm9.map(e=>({value:e,label:(0,eT.i_u)(e)})),name:"type",label:"Type d'\xe9v\xe9nement",placeholder:"S\xe9lectionner",hasMessage:!1,errorRing:!0}),(0,o.jsx)("div",{className:"flex w-full flex-1 flex-col gap-2 md:w-1/2",children:(0,o.jsxs)("div",{className:(0,l.cn)("flex flex-1 flex-row rounded-xl bg-gray-50 p-4",{"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background ring-1 focus-visible:ring-offset-1":r.formState.errors.venue}),children:[(0,o.jsx)(e$.c,{control:r.control,name:"venue.indoor",labelContent:"Int\xe9rieur",labelClassName:"text-sm font-bold text-gray-500",hasMessage:!1,onCheckedAfterChange:()=>c("venue")}),(0,o.jsx)(e$.c,{control:r.control,name:"venue.outdoor",labelContent:"Ext\xe9rieur",labelClassName:"text-sm font-bold text-gray-500",hasMessage:!1,onCheckedAfterChange:()=>c("venue")})]})}),(0,o.jsx)("h2",{className:"text-left text-lg font-bold text-gray-900",children:"\xc9l\xe9ments facultatifs"}),(0,o.jsxs)("div",{className:"grid w-full gap-4 md:grid-cols-2",children:[(0,o.jsx)(eM.Z,{control:r.control,name:"organiserName",label:"Organisateur",placeholder:"Nom",className:"grow"}),(0,o.jsx)(eM.Z,{control:r.control,name:"organiserPhone",label:"T\xe9l\xe9phone Organisateur",placeholder:"01 23 45 67 89",className:"grow",type:"tel"})]}),(0,o.jsx)("div",{className:"grid w-full gap-4",children:(0,o.jsx)(eM.Z,{control:r.control,name:"organiserEmail",label:"Email organisateur",placeholder:"[email protected]",className:"grow"})}),(0,o.jsx)(eM.Z,{control:r.control,name:"websiteUrl",label:"Site Internet ",placeholder:"Site internet"}),r.getValues().dates.from&&r.getValues().dates.to&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{className:"text-left text-lg text-gray-900",children:"Horaires"}),(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(eK.S,{id:"doApplytoAll",checked:y,onCheckedChange:()=>b(!y)}),(0,o.jsx)("label",{htmlFor:"doApplytoAll",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Appliquer \xe0 toutes les dates"})]}),(0,o.jsx)("div",{className:"grid max-h-[200px] w-full gap-4 overflow-auto rounded-lg bg-gray-50 p-4 min-[350px]:grid-cols-2 sm:grid-cols-3",children:r.getValues().dates.times.map((e,t)=>{var n,i,a,s,l,u;return y&&0!==t?null:(0,o.jsxs)("div",{className:"w-full grid-cols-3",children:[(0,o.jsx)("p",{className:"text-xs",children:(0,ej.GP)(e.day,"dd MMMM",{locale:eR.fr})}),(0,o.jsxs)(ez.AM,{children:[(0,o.jsx)(ez.Wv,{className:"flex w-full grow",asChild:!0,children:(0,o.jsxs)(eB.$,{variant:"outline",className:"flex grow bg-white text-sm font-light",children:[null==(n=x[t])?void 0:n.start," - ",null==(i=x[t])?void 0:i.end]})}),(0,o.jsx)(ez.hl,{children:(0,o.jsxs)("div",{className:"flex w-full gap-4",children:[(0,o.jsx)(rx,{value:{hour:parseInt(null==(a=x[t])?void 0:a.start.split(":")[0]),minute:parseInt(null==(s=x[t])?void 0:s.start.split(":")[1]),second:0},onChange:e=>{if(!e)return;let n="".concat(e.minute).padStart(2,"0");r.setValue("dates.times.".concat(t,".start"),"".concat(e.hour,":").concat(n))},className:"border-input bg-white font-normal"}),(0,o.jsx)(rx,{value:{hour:parseInt(null==(l=x[t])?void 0:l.end.split(":")[0]),minute:parseInt(null==(u=x[t])?void 0:u.end.split(":")[1]),second:0},onChange:e=>{if(!e)return;let n="".concat(e.minute).padStart(2,"0");r.setValue("dates.times.".concat(t,".end"),"".concat(e.hour,":").concat(n))},className:"border-input bg-white font-normal"})]})})]})]},t)})})]}),(0,o.jsxs)("div",{className:"flex flex-col md:w-1/2",children:[(0,o.jsx)("h4",{className:"mb-2 text-sm font-bold text-black",children:"Entr\xe9e"}),(0,o.jsx)("div",{className:"flex flex-wrap gap-4",children:(0,o.jsx)(rC.M,{control:r.control,name:"entry",containerClassName:"flex flex-1 flex-row rounded-xl bg-gray-50 p-4",labelClassName:"text-sm font-bold text-gray-500",radioItems:[{label:"Payante",value:"paid"},{label:"Gratuite",value:"free"}]})})]}),(0,o.jsx)(eB.$,{variant:"blue",type:"submit",className:"mx-auto flex w-min justify-center font-semibold",children:"Envoyer"})]})})})]})]})});var rK=n(61924);let rY=e=>{let{svgName:t,url:n}=e;return(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer","aria-label":t,children:(0,o.jsx)(rK.R,{name:t,alt:t,width:24,height:24})})})},rX=()=>{let{user:e}=(0,eI.u)();return(0,o.jsxs)("div",{className:"h-full bg-white px-20 pb-12 pt-16 md:block",children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"flex h-[32px] flex-row justify-between",children:[(0,o.jsx)("div",{className:"flex flex-row items-center justify-between",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto p-1",width:880,height:200})}),(0,o.jsx)(ek(),{href:"https://www.bourgognefranchecomte.fr",target:"_blank",children:(0,o.jsx)("div",{className:"relative aspect-[14.5/11.6] h-[20mm] min-h-[11.6mm] min-w-[14.5mm]",children:(0,o.jsx)(eP.A,{src:"/images/logos/region_bfc.jpg",alt:"logo",className:"size-full object-cover"})})})]}),(0,o.jsxs)("div",{className:"flex items-center gap-8 pt-8 text-base font-semibold text-primary-600",children:[(0,o.jsx)(ek(),{href:"/",children:"D\xe9couvrir"}),(0,o.jsx)(r$,{className:"text-base"}),(0,o.jsx)(ek(),{href:"/profile/faq",children:"FAQ"}),(0,o.jsx)(ek(),{href:"/profile/help",children:"Aide"})]})]}),(0,o.jsxs)("div",{className:"flex flex-col justify-between pt-4",children:[(0,o.jsx)("p",{className:"pb-2 text-base font-semibold text-gray-700",children:"Rejoignez-nous sur"}),(0,o.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,o.jsx)(rY,{svgName:"instagram_logo",url:"https://www.instagram.com/connect_events_off"}),(0,o.jsx)(rY,{svgName:"facebook_logo",url:"https://www.facebook.com/people/ConnectEvents/61576724692750"}),(0,o.jsx)(rY,{svgName:"linkedin_logo",url:"https://www.linkedin.com/company/acexpo-connectevents/posts/?feedView=all"})]})]}),(0,o.jsxs)("div",{className:"flex items-center justify-between pt-8 text-xs text-gray-700",children:[(0,o.jsx)("p",{className:"text-gray-500",children:"\xa9 Connect'Events"}),(0,o.jsxs)("div",{className:"flex gap-4",children:[(0,o.jsx)(ek(),{href:"/cgu",target:"_blank",children:"CGU"}),(0,o.jsx)(ek(),{href:"/cgv",target:"_blank",children:"CGV"}),(0,o.jsx)(ek(),{href:"/politique-de-confidentialite",target:"_blank",children:"Politique de confidentialit\xe9"}),e&&e.isProfessional?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ek(),{href:"https://professionnels.connect-events.fr/conditions-d-acces-pro",target:"_blank",children:"Conditions d'acc\xe8s pro"}),(0,o.jsx)(ek(),{href:"https://professionnels.connect-events.fr/politique-de-confidentialite",target:"_blank",children:"Mentions l\xe9gales"})]}):(0,o.jsx)(ek(),{href:"/mentions-legales",target:"_blank",children:"Mentions l\xe9gales"})]})]})]})},rQ=()=>(0,o.jsxs)("div",{className:"flex w-full flex-col items-center justify-between px-4 py-10",children:[(0,o.jsx)("div",{className:"flex h-[32px] w-full justify-center",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto p-1",width:880,height:200})}),(0,o.jsx)(ek(),{href:"https://www.bourgognefranchecomte.fr",target:"_blank",children:(0,o.jsx)("div",{className:"relative mt-8 aspect-[14.5/11.6] h-[20mm] min-h-[11.6mm] min-w-[14.5mm]",children:(0,o.jsx)(eP.A,{src:"/images/logos/region_bfc.jpg",alt:"logo",className:"object-scale-down"})})}),(0,o.jsxs)("div",{className:"flex flex-col justify-between pt-4",children:[(0,o.jsx)("p",{className:"pb-2 text-base font-semibold text-gray-700",children:"Rejoignez-nous sur"}),(0,o.jsxs)("div",{className:"flex flex-row justify-center gap-4",children:[(0,o.jsx)(rY,{svgName:"instagram_logo",url:"https://www.instagram.com/connect_events_off"}),(0,o.jsx)(rY,{svgName:"facebook_logo",url:"https://www.facebook.com/people/ConnectEvents/61576724692750"}),(0,o.jsx)(rY,{svgName:"linkedin_logo",url:"https://www.linkedin.com/company/acexpo-connectevents/posts/?feedView=all"})]})]}),(0,o.jsxs)("div",{className:"flex w-full flex-col justify-center gap-6 pt-8 text-center text-base font-semibold text-primary-600",children:[(0,o.jsx)(ek(),{href:"/",children:"D\xe9couvrir"}),(0,o.jsx)(r$,{className:"text-base"}),(0,o.jsx)(ek(),{href:"/profile/faq",children:"FAQ"}),(0,o.jsx)(ek(),{href:"/profile/help",children:"Aide"})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center pt-8 text-center text-xs text-gray-700",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-4 text-center",children:[(0,o.jsx)(ek(),{href:"/cgu",target:"_blank",children:"CGU"}),(0,o.jsx)(ek(),{href:"/cgv",target:"_blank",children:"CGV"}),(0,o.jsx)(ek(),{href:"/politique-de-confidentialite",target:"_blank",children:"Politique de confidentialit\xe9"}),(0,o.jsx)(ek(),{href:"/mentions-legales",target:"_blank",children:"Mentions l\xe9gales"})]}),(0,o.jsx)("p",{className:"pt-8 text-gray-500",children:"\xa9 Connect'Events"})]})]});var rJ=n(1660),r0=n(73848),r1=n(23440),r2=n(27002);let r5=(0,u.createContext)({haveNewMessage:!1,markAsRead:()=>{},checkNewMessage:()=>{},markConversationAsRead:()=>{}}),r4=()=>(0,u.useContext)(r5),r3=e=>{let{children:t}=e,[n,r]=(0,u.useState)(!1),{subscribe:i,socket:a}=(0,r2.h)(),l=(0,eh.jE)(),{data:c}=(0,s.Owu)({exponent:!0,organizer:!0,visitor:!0}),d=(0,eh.jE)();(0,u.useEffect)(()=>
27{if(!a)return;let e=i("newMessage",()=>{console.log("new message"),r(!0),d.invalidateQueries({queryKey:s.sAx.all})});return()=>{console.log("Disconnected from socket message"),e()}},[l,a,i]),(0,u.useEffect)(()=>{f()},[c]);let h=async()=>{r(!1)},f=e=>{let t=e||c;if(!t||0===t.length)return;let n=!1;t.forEach(e=>{e.lastMessage&&(e.lastMessage.isRead||(n=!0))}),r(n)};return(0,o.jsx)(r5.Provider,{value:{haveNewMessage:n,markAsRead:h,checkNewMessage:f,markConversationAsRead:e=>{let t=d.getQueryData(s.sAx.list({}));if(t){let n=t.find(t=>t.with.id===e);(null==n?void 0:n.lastMessage)&&!n.lastMessage.isRead&&r(t.some(t=>t.with.id!==e&&t.lastMessage&&!t.lastMessage.isRead))}}},children:t})};var r6=n(7026),r8=n(68935),r9=n(50623);let r7=(0,ef.PA)(e=>{let{className:t,...n}=e,r=(0,eg.useRouter)(),i=r9.A;return(0,o.jsx)(r8.A,{store:i,id:"global-search-input",onSubmit:()=>{"/"!==r.pathname&&""!==i.searchText.trim()&&r.push({pathname:"/",query:{search:i.searchText}})}})});var ie=n(32933),it=n(4516),ir=n(50761),ii=n(40334);let ia=["/profile/help"],io=()=>{var e;let[t,n]=(0,u.useState)(!1),{getFileUrl:r}=(0,ii.Co)(),{user:i,disconnect:a}=(0,eI.u)(),s=(0,eg.useRouter)(),l=s.asPath,c=r(null==i||null==(e=i.picture)?void 0:e.key,"media"),d=()=>n(!1);return(0,o.jsxs)(ez.AM,{open:t,onOpenChange:n,children:[(0,o.jsx)(ez.Wv,{asChild:!0,children:(0,o.jsx)("div",{className:"flex cursor-pointer gap-4 roun
27ded-full bg-blue-100 fill-blue-700",children:c?(0,o.jsx)(ir.A,{imgUrl:c,className:"size-[32px]"}):(0,o.jsx)("div",{className:"p-2",children:(0,o.jsx)(rK.R,{name:"user",alt:"user",width:24,height:24})})})}),(0,o.jsx)(ez.hl,{className:"mr-12 mt-2 w-[240px] p-0",children:(0,o.jsxs)("div",{className:"",children:[(0,o.jsx)(ek(),{onClick:d,href:"/profile",children:(0,o.jsxs)("div",{className:"flex items-center gap-4 px-4 py-3",children:[(0,o.jsx)("div",{className:"flex cursor-pointer gap-4 rounded-full bg-blue-100 fill-blue-700",children:c?(0,o.jsx)(ir.A,{imgUrl:c,className:"size-[32px]"}):(0,o.jsx)("div",{className:"size-8 p-2",children:(0,o.jsx)(rK.R,{name:"user",alt:"user",width:24,height:24})})}),(0,o.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,o.jsx)("p",{className:"text-sm font-bold",children:null==i?void 0:i.firstName}),(0,o.jsx)("p",{className:"truncate text-xs text-gray-500",children:null==i?void 0:i.email})]})]})}),(0,o.jsx)(rD.w,{}),(0,o.jsxs)("div",{className:"flex flex-col gap-3 px-[10px] py-[9px]",children:[(0,o.jsx)(ek(),{onClick:d,href:"/profile",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.ny,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mon profil"})]})}),(0,o.jsx)(ek(),{onClick:d,href:"/profile/mes-billets",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.qy,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes billets"})]})}),(0,o.jsx)(ek(),{onClick:d,href:"/profile/my-exhibitors",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.cF,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes exposants"})]})}),(0,o.jsx)(ek(),{onClick:d,href:"/profile/my-favorite-events",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.qy,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes \xe9v\xe9nements favoris"})]})}),(null==i?void 0:i.isProfessional)&&(0,o.jsx)(ek(),{onClick:d,href:"/profile/my-clients",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.Cb,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes clients"})]})}),(0,o.jsx)(ek(),{onClick:d,href:"/profile/my-settings",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.L6,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes param\xe8tres"})]})}),(0,o.jsx)(ek(),{onClick:d,href:"/profile/help",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.L_,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Aide"})]})})]}),(null==i?void 0:i.isProfessional)&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(rD.w,{}),(0,o.jsx)(ek(),{onClick:d,href:rA.A.BACKOFFICE_URL,target:"_blank",className:"flex flex-col gap-3 px-[10px] py-[9px]",children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.li,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Acc\xe9der \xe0 mon back office"})]})})]}),(0,o.jsx)(rD.w,{}),(0,o.jsx)("div",{className:"flex px-[10px] py-[9px]",children:(0,o.jsxs)("button",{onClick:()=>{a(),ia.includes(l)||s.push("/")},className:"flex items-center gap-2",children:[(0,o.jsx)(it.Jm,{width:16,height:16,fill:"#98A2B3"}),(0,o.jsx)("p",{children:"Se d\xe9connecter"})]})})]})})]})},is=(0,ef.PA)(e=>{let{handleCartClick:t}=e,n=(0,l.jB)(),{isAuthenticated:r}=(0,eI.u)(),{hasItems:i}=(0,rJ.kZ)({basketType:"store",isAuthenticated:r});return(0,o.jsx)(o.Fragment,{children:n?(0,o.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,o.jsxs)(eB.$,{className:"w-full gap-3 relative",variant:"outline-blue",color:"primary",onClick:t,children:[i&&(0,o.jsx)(r1.px,{className:"absolute -right-1 -top-1"}),(0,o.jsx)("span",{className:"font-semibold",children:"Mon panier"})]}),(0,o.jsx)(eB.$,{className:"w-full",variant:"outline-blue",color:"primary",children:(0,o.jsx)(ek(),{href:rA.A.BACKOFFICE_URL,target:"_blank",className:"font-semibold",children:"Se connecter en tant que pro"})}),(0,o.jsx)(eB.$,{variant:"blue",color:"primary",onClick:()=>rk.A.setModalVisible(!0),className:"font-semibold",children:"Se connecter en tant que visiteur"})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(eB.$,{className:"mr-4",variant:"outline-blue",color:"primary",children:(0,o.jsx)(ek(),{className:"font-semibold",href:rA.A.BACKOFFICE_URL,target:"_blank",children:"Se connecter en tant que professionnel"})}),(0,o.jsx)(eB.$,{variant:"blue",color:"primary",className:"font-semibold mr-2",onClick:()=>rk.A.setModalVisible(!0),children:"Se connecter en tant que visiteur"}),(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(eS.K,{svgType:"cart",svgProps:{size:24,className:"text-blue-500"},type:"button",variant:"outline-blue",onClick:t}),i&&(0,o.jsx)(r1.px,{className:"absolute -right-0.5 top-0 size-2"})]})]})})}),il=e=>{var t,n,r,i;let{handleCartClick:a,user:s}=e,l=(0,eg.useRouter)(),{haveNewMessage:c,markAsRead:d}=r4(),{notifications:h}=(0,r6.M)(),{disconnect:f,isAuthenticated:p}=(0,eI.u)(),[m,g]=(0,u.useState)(!1),v=l.asPath,{hasItems:y}=(0,rJ.kZ)({basketType:"store",isAuthenticated:p}),b=!(null==h||null==(i=h.pages)||null==(r=i[0])||null==(n=r.data)||null==(t=n[0])?void 0:t.read);return(0,o.jsx)("nav",{className:"flex w-full items-center border-b border-gray-200 bg-white py-4 dark:bg-gray-900 lg:hidden",children:(0,o.jsxs)("div",{className:"flex w-full flex-col gap-2 px-[14px]",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)(ek(),{href:"/",children:(0,o.jsx)("button",{onClick:()=>{r9.A.resetStore(),r9.A.setShowMap(!1)},children:(0,o.jsx)("div",{className:"flex h-[32px]",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto p-1",width:880,height:200})})})}),(0,o.jsxs)(r0.cj,{open:m,onOpenChange:g,children:[(0,o.jsx)(r0.CG,{asChild:!0,children:(0,o.jsx)(eB.$,{className:"border-none shadow-none",children:(0,o.jsx)(rK.R,{name:"hamburger",alt:"hamburger",width:24,height:24})})}),(0,o.jsxs)(r0.h,{className:"flex w-3/4 flex-col overflow-scroll bg-white px-[14px] py-1 sm:max-w-lg",children:[(0,o.jsx)(r0.Fm,{className:"flex w-full items-center justify-between border-b-white px-[14px]",children:(0,o.jsxs)("div",{className:"flex w-full justify-between gap-4",children:[(0,o.jsx)(ie.s,{children:(0,o.jsx)(r0.qp,{children:"Menu de navigation"})}),(0,o.jsx)("div",{className:"flex w-full",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-auto w-full p-1",width:880,height:200})}),(0,o.jsx)(r0.kN,{className:"w-fit shrink-0",asChild:!0,children:(0,o.jsx)("button",{className:"focus:outline-none",children:(0,o.jsx)(rK.R,{name:"close",alt:"close",width:24,height:24})})})]})}),(0,o.jsx)("div",{className:"flex grow flex-col gap-3",children:(0,o.jsx)("div",{className:"grid gap-5 px-1 py-4 text-sm font-medium text-gray-700",children:s&&!s.isGuestCheckout?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("button",{className:"flex items-center gap-3",onClick:a,children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(it.UH,{width:16,height:16,fill:"#287BB9"}),y&&(0,o.jsx)(r1.px,{className:"absolute right-0 top-0"})]}),(0,o.jsx)("p",{children:"Mon panier"})]}),(0,o.jsx)(ek(),{href:"/conversations",onClick:()=>{d(),g(!1)},children:(0,o.jsxs)("div",{className:" flex items-center gap-3",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(it.cM,{width:16,height:16,fill:"#287BB9"}),c&&(0,o.jsx)(r1.px,{className:"absolute right-0 top-0"})]}),(0,o.jsx)("p",{children:"Messagerie"})]})}),(0,o.jsx)(ek(),{href:"/profile/notifications",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(it.XF,{width:16,height:16,fill:"#287BB9"}),b&&(0,o.jsx)(r1.px,{className:"absolute right-0 top-0"})]}),(0,o.jsx)("p",{children:"Notifications"})]})}),(0,o.jsx)(rD.w,{}),(0,o.jsx)(ek(),{href:"/profile",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.ny,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Mon profil"})]})}),(0,o.jsx)(ek(),{href:"/profile/mes-billets",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.qy,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Mes billets"})]})}),(0,o.jsx)(ek(),{href:"/profile/my-exhibitors",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.cF,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Mes exposants"})]})}),(0,o.jsx)(ek(),{href:"/profile/my-favorite-events",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.qy,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Mes \xe9v\xe9nements favoris"})]})}),(null==s?void 0:s.isProfessional)&&(0,o.jsx)(ek(),{href:"/profile/my-clients",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsx)(it.Cb,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Mes clients"})]})}),(0,o.jsx)(ek(),{href:"/profile/my-settings",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.L6,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Mes param\xe8tres"})]})}),(0,o.jsx)(ek(),{href:"/profile/help",onClick:()=>g(!1),children:(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(it.L_,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{children:"Aide"})]})}),(0,o.jsx)(rD.w,{}),(0,o.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(null==s?void 0:s.isProfessional)&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(ek(),{href:rA.A.BACKOFFICE_URL,target:"_blank",className:"flex flex-col gap-3",onClick:()=>g(!1),children:(0,o.jsxs)(eB.$,{className:"flex items-center gap-4 font-semibold",variant:"outline-blue",children:[(0,o.jsx)(it.li,{width:16,height:16,fill:"#287BB9"}),(0,o.jsx)("p",{className:"text-sm text-gray-700",children:"Acc\xe9der \xe0 mon back office"})]})})}),(0,o.jsx)(r$,{TriggerElement:e=>{let{onClick:t}=e;return(0,o.jsx)(eB.$,{onClick:t,variant:"blue",className:"font-semibold",children:"Ajouter un \xe9v\xe9nement"})}})]}),s&&!s.isGuestCheckout&&(0,o.jsx)("div",{className:"flex items-center border-t p-4",children:(0,o.jsxs)("button",{onClick:()=>{f(),ia.includes(v)||l.push("/")},className:"flex items-center gap-2 font-semibold",children:[(0,o.jsx)(it.Jm,{width:16,height:16,fill:"#98A2B3"}),(0,o.jsx)("p",{children:"Se d\xe9connecter"})]})})]}):(0,o.jsx)("div",{className:" ",children:(0,o.jsx)(is,{handleCartClick:a})})})})]})]})]}),(0,o.jsx)(r7,{})]})})};var iu=n(7148),ic=n(73210);let id=u.forwardRef((e,t)=>
27u.createElement(iu.A,{ref:t,...e,weights:ic.A}));id.displayName="BellSlashIcon";var ih=n(79823),ip=n(43072),im=n(65767);let ig=e=>{var t,n,r,i,a,s;let{navigateTo:c,useNotificationContext:d,getFileUrl:h,useReadManyNotificationMutation:f,useReadNotificationMutation:p,bellIcon:m}=e,{mutate:g}=f(),{mutate:v}=p(),{notifications:y,fetchNextPage:b,isLoading:w}=d(),{ref:x,inView:C}=(0,ip.Wx)();(0,u.useEffect)(()=>{C&&!w&&b()},[b,C,w]);let E=(null==y||null==(n=y.pages)||null==(t=n[0])?void 0:t.count)!==void 0&&y.pages[0].count>0,S=E&&!(null==y||null==(s=y.pages)||null==(a=s[0])||null==(i=a.data)||null==(r=i[0])?void 0:r.read);return(0,o.jsxs)(ez.AM,{onOpenChange:e=>{e||(()=>{let e=null==y?void 0:y.pages.flatMap(e=>e.data.flatMap(e=>e.id));e&&g(e)})()},children:[(0,o.jsx)(ez.Wv,{asChild:!0,children:(0,o.jsxs)("div",{className:"relative inline-block cursor-pointer rounded-full",children:[m||(0,o.jsx)(im.P,{name:"bell",alt:"cloche",className:"text-black",svgClassName:"text-black"}),S&&(0,o.jsx)(r1.px,{className:(0,l.cn)("absolute",{"-right-1.5 bottom-0 size-3":!m,"bottom-0 right-0 size-2":m})})]})}),(0,o.jsxs)(ez.hl,{className:"size-fit max-h-[500px] w-fit min-w-[240px] overflow-y-auto p-0",onOpenAutoFocus:e=>e.preventDefault(),children:[!E&&(0,o.jsxs)("div",{className:"flex h-32 flex-col items-center justify-center gap-2 px-6",children:[(0,o.jsx)(id,{width:24,height:24,fill:"#98A2B3"}),(0,o.jsx)("div",{className:"text-center text-[16px] font-semibold leading-[24px] text-[#667085]",children:"Aucune notification"})]}),y&&E&&(0,o.jsxs)(o.Fragment,{children:[y.pages.map(e=>(0,o.jsx)("div",{children:e.data.map(e=>(0,o.jsxs)("li",{className:"contents",children:[(0,o.jsxs)(eB.$,{variant:"null",className:(0,l.cn)("flex h-fit w-full items-start gap-4 roun
27ded-none px-3.5 py-3 focus:border-transparent focus:outline-none focus:ring-0",{"bg-[#ECEEF0]":e.read,"bg-white":!e.read}),onClick:()=>(e=>{v(e.id),e.url&&c(e.url)})(e),children:[e.picture&&(0,o.jsxs)("div",{className:"relative inline-block size-[32px] cursor-pointer justify-center gap-4 rounded-full",children:[(0,o.jsx)("img",{src:e.picture.key?h(e.picture.key,"media"):"/images/anonymous_avatar.svg",alt:"avatar",className:"size-[32px] rounded-full object-cover"}),!e.read&&(0,o.jsx)("span",{className:"absolute bottom-0 right-0 size-3 rounded-full border border-white bg-red-500"})]}),(0,o.jsxs)("div",{className:"flex flex-1 flex-col items-start",children:[(0,o.jsx)("p",{className:"whitespace-pre-wrap text-start text-[14px] leading-[21px] select-text",children:e.description}),(0,o.jsxs)("p",{className:"text-[12px] leading-[18px] text-[#667085]",children:["il y a"," ",(0,ih.m)(new Date(e.createdAt),{locale:eR.fr})]})]})]}),(0,o.jsx)(rD.w,{})]},e.id))},e.pageIndex)),!w&&(0,o.jsx)("div",{ref:x})]})]})]})};var iv=n(80617);let iy=e=>{let{fill:t="#343330",width:n=32,height:r=32,className:i=""}=e;return(0,o.jsx)("svg",{width:n,height:r,viewBox:"0 0 32 32",fill:t,xmlns:"http://www.w3.org/2000/svg",className:i,children:(0,o.jsx)("path",{d:"M27.725 21.9925C27.0313 20.7975 26 17.4163 26 13C26 10.3478 24.9464 7.8043 23.0711 5.92893C21.1957 4.05357 18.6522 3 16 3C13.3479 3 10.8043 4.05357 8.92895 5.92893C7.05358 7.8043 6.00002 10.3478 6.00002 13C6.00002 17.4175 4.96752 20.7975 4.27377 21.9925C4.0966 22.2963 4.00268 22.6415 4.00148 22.9931C4.00027 23.3448 4.09182 23.6906 4.26689 23.9956C4.44196 24.3006 4.69437 24.5541 4.99865 24.7304C5.30293 24.9068 5.64833 24.9997 6.00002 25H11.1013C11.332 26.1289 11.9455 27.1436 12.8382 27.8722C13.7308 28.6009 14.8477 28.9989 16 28.9989C17.1523 28.9989 18.2692 28.6009 19.1618 27.8722C20.0545 27.1436 20.6681 26.1289 20.8988 25H26C26.3516 24.9995 26.6968 24.9064 27.0009 24.73C27.3051 24.5535 27.5573 24.3 27.7322 23.9951C27.9071 23.6901 27.9986 23.3444 27.9973 22.9928C27.996 22.6412 27.9021 22.2962 27.725 21.9925ZM16 27C15.3798 26.9998 14.7749 26.8074 14.2685 26.4492C13.7622 26.0911 13.3793 25.5848 13.1725 25H18.8275C18.6208 25.5848 18.2379 26.0911 17.7315 26.4492C17.2252 26.8074 16.6202 26.9998 16 27ZM6.00002 23C6.96252 21.345 8.00002 17.51 8.00002 13C8.00002 10.8783 8.84287 8.84344 10.3432 7.34315C11.8435 5.84285 13.8783 5 16 5C18.1217 5 20.1566 5.84285 21.6569 7.34315C23.1572 8.84344 24 10.8783 24 13C24 17.5063 25.035 21.3412 26 23H6.00002Z"})})};iy.propTypes=iv.W;let ib=e=>{let{handleCartClick:t,user:n}=e,r=(0,eg.useRouter)(),{isAuthenticated:i}=(0,eI.u)(),{haveNewMessage:a}=r4(),{hasItems:l}=(0,rJ.kZ)({basketType:"store",isAuthenticated:i});return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("nav",{className:"hidden h-[72px] w-full items-center border-b border-gray-200 bg-white px-16 dark:bg-gray-900 lg:flex",children:(0,o.jsxs)("div",{className:"flex h-[44px] w-full items-center gap-12 py-3.5",children:[(0,o.jsx)(ek(),{href:"/",children:(0,o.jsx)("button",{onClick:()=>{r9.A.resetStore(),r9.A.setShowMap(!1)},children:(0,o.jsx)("div",{className:"flex h-[32px] ",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto p-1",width:880,height:200})})})}),(0,o.jsx)("div",{className:"grow",children:(0,o.jsx)(r7,{})}),(0,o.jsxs)("div",{className:"flex items-center justify-between gap-8",children:[n&&!n.isGuestCheckout?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r$,{}),(0,o.jsxs)("button",{onClick:t,className:"relative",children:[(0,o.jsx)(rK.R,{name:"bag",alt:"bag",width:20,height:20}),l&&(0,o.jsx)(r1.px,{className:"absolute -right-0.5 top-0 size-2"})]}),(0,o.jsxs)(ek(),{href:"/conversations",className:"relative",children:[(0,o.jsx)(rK.R,{name:"chatCircle",alt:"chatCircle",width:20,height:20}),a&&(0,o.jsx)(r1.px,{className:"absolute -right-0.5 top-0 size-2"})]}),(0,o.jsx)(ig,{navigateTo:r.push,getFileUrl:ii.w8,useNotificationContext:r6.M,useReadManyNotificationMutation:s.ZtT,useReadNotificationMutation:s.qQ,bellIcon:(0,o.jsx)(iy,{width:24,height:24})})," "]}):(0,o.jsx)("div",{className:"flex justify-end",children:(0,o.jsx)(is,{handleCartClick:t})}),n&&!n.isGuestCheckout&&(0,o.jsx)(io,{})]})]})})})};var iw=n(55801);
27let ix=["LOGIN","SIGNUP","RESETPASSWORD","RESETPASSWORDCONFIRMATION"],iC=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_vertical.png",alt:"logo avec nom Connect'Events vertical",className:"static h-28 w-auto"})}),(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("h1",{className:"text-xl font-extrabold text-black",children:"R\xe9initialisation du mot de passe"}),(0,o.jsx)("p",{className:"text-center text-sm text-black",children:"Un email de r\xe9initialisation de mot de passe vous a \xe9t\xe9 envoy\xe9"})]})]})},iE=function(e){let{onSwitchSteps:t,onClose:n}=e,{toast:r}=(0,eu.dj)(),i=(0,rI.mN)({resolver:(0,rE.u)(s.Dog),defaultValues:s.ZLk}),{control:a,handleSubmit:l}=i,{mutate:u}=(0,s.iYl)();return(0,o.jsx)(eL.lV,{...i,children:(0,o.jsxs)("form",{onSubmit:l(e=>{u({...e,fromWebApp:!0},{onSuccess:()=>{r({title:"R\xe9initialisation du mot de passe",description:"Un email de r\xe9initialisation de mot de passe vous a \xe9t\xe9 envoy\xe9"}),t("RESETPASSWORDCONFIRMATION")},onError:e=>{r({title:"Erreur",description:e.message})}})}),className:"space-y-4 ",children:[(0,o.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_vertical.png",alt:"logo avec nom Connect'Events vertical",className:"static h-28 w-auto"})}),(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("h1",{className:"text-xl font-bold text-black",children:"Mot de passe oubli\xe9"}),(0,o.jsx)("p",{className:"text-center text-sm font-normal text-black",children:"Entrez l'adresse email li\xe9e \xe0 votre compte"})]}),(0,o.jsx)("div",{className:"w-full space-y-5",children:(0,o.jsx)(eM.Z,{control:a,name:"email",label:"Email",placeholder:"[email protected]"})}),(0,o.jsx)("div",{className:"flex w-full flex-col",children:(0,o.jsx)(eB.$,{type:"submit",variant:"blue",size:"lg",children:"Suivant"})})]})})};var iS=n(40611),iA=n(31078);let ik=iA.z.object({emailOrConnectId:iA.z.union([iA.z.string().email("Veuillez entrer un email ou identifiant Connect’Events valide"),iA.z.string().length(10)]),password:iA.z.string().min(1)}),iN={emailOrConnectId:"",password:""};var iP=n(67695),iI=n(11211);let iT=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M228,128a100,100,0,1,1-22.86-63.64,12,12,0,0,1-18.51,15.28A76,76,0,1,0,203.05,140H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),u.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm0,184A80,80,0,1,1,181.34,68.37a8,8,0,0,1-10.67,11.92A64,64,0,1,0,191.5,136H128a8,8,0,0,1,0-16h72a8,8,0,0,1,8,8A80.09,80.09,0,0,1,128,208Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M222,128a94,94,0,1,1-21.49-59.82,6,6,0,1,1-9.25,7.64A82,82,0,1,0,209.78,134H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M220,128a92,92,0,1,1-21-58.55,4,4,0,0,1-6.17,5.1A84,84,0,1,0,211.91,132H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128Z"}))]]),iO=u.forwardRef((e,t)=>u.createElement(iI.A,{ref:t,...e,weights:iT}));iO.displayName="GoogleLogoIcon";var iL=n(66818),iM=n(35829);let iD=e=>{let{onSuccess:t,onError:n,redirectPath:r,openCart:i}=e,[a,s]=(0,u.useState)(!1),l=async()=>{s(!0);try{let{error:e}=await iL.yK.signIn.social({provider:"google",callbackURL:(0,iM.cc)(r,{openCart:i})});if(e){null==n||n(Error(e.message));return}null==t||t()}catch(e){null==n||n(e instanceof Error?e:Error("Unexpected error"))}finally{s(!1)}};return(0,o.jsxs)(eB.$,{type:"button",onClick:l,variant:"outline",size:"lg",className:"w-full",disabled:a,children:[(0,o.jsx)(iO,{className:"mr-2 h-5 w-5",weight:"bold"}),a?"Connexion...":"Continuer avec Google"]})},ij=e=>{let{fill:t="#000000",width:n=24,height:r=24,className:i=""}=e;return(0,o.jsx)("svg",{width:n,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:(0,o.jsx)("path",{d:"M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z",fill:t})})};ij.propTypes=iv.W;let i_=e=>{let{onSuccess:t,onError:n,redirectPath:r,openCart:i}=e,[a,s]=(0,u.useState)(!1),l=async()=>{s(!0);try{let{error:e}=await iL.yK.signIn.social({provider:"apple",callbackURL:(0,iM.cc)(r,{openCart:i})});if(e){null==n||n(Error(e.message));return}null==t||t()}catch(e){null==n||n(e instanceof Error?e:Error("Unexpected error"))}finally{s(!1)}};return(0,o.jsxs)(eB.$,{type:"button",onClick:l,variant:"outline",size:"lg",className:"w-full",disabled:a,children:[(0,o.jsx)(ij,{className:"mr-2 h-5 w-5"}),a?"Connexion...":"Continuer avec Apple"]})};var iR=n(66310),iF=n(81198);let iz=function(e){let{onSwitchSteps:t,onClose:n,baseEmail:r,goto:i}=e,a=(0,eg.useRouter)(),{refetchSession:l}=(0,eI.u)(),{isOpen:c}=(0,iF.B)(),[d,h]=(0,u.useState)(null),[f,p]=(0,u.useState)(null),[m,g]=(0,u.useState)(!1),v=null!=i?i:(0,iM.Gv)(a.asPath),y=(0,rI.mN)({resolver:(0,rE.u)(ik),defaultValues:{...iN,...r?{emailOrConnectId:r}:{}}}),b=e=>{let{message:t,code:n}=(0,eD._OA)(null!=e?e:"Une erreur est survenue");h(t),p(n)},w=async e=>{g(!0),h(null),p(null);try{let t=await s.eRD.post("/auth/resolve-email",{emailOrConnectId:e.emailOrConnectId}),r=await iL.yK.signIn.email({email:t.data.email,password:e.password});if(r.error)return void b(r.error.message);l(),await (0,rJ.Y_)("store"),n(),i&&a.push(i)}catch(e){var t,r;
27b((0,iR.F0)(e)?null==(r=e.response)||null==(t=r.data)?void 0:t.message:null)}finally{g(!1)}};return(0,o.jsx)(eL.lV,{...y,children:(0,o.jsxs)("form",{onSubmit:y.handleSubmit(w),className:"space-y-4 ",children:[(0,o.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_vertical.png",alt:"logo avec nom Connect'Events vertical",className:"static h-28 w-auto"})}),(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("h1",{className:"text-xl font-extrabold text-black",children:"Se connecter"})}),(0,o.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,o.jsx)(iD,{onSuccess:n,redirectPath:v,openCart:c}),(0,o.jsx)(i_,{onSuccess:n,redirectPath:v,openCart:c})]}),(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,o.jsx)("span",{className:"w-full border-t"})}),(0,o.jsx)("div",{className:"relative flex justify-center text-xs uppercase",children:(0,o.jsx)("span",{className:"bg-white px-2 text-muted-foreground",children:"ou"})})]}),(0,o.jsxs)("div",{className:"space-y-4",children:[(0,o.jsx)(eM.Z,{className:"w-full",control:y.control,name:"emailOrConnectId",label:"Email ou identifiant Connect'Events",placeholder:"Saisissez votre adresse mail ou identifiant Connect'Events"}),(0,o.jsx)(iS.W,{className:"grow",control:y.control,name:"password",label:"Mot de passe",placeholder:".............",onChange:e=>{y.setValue("password",e.target.value),y.trigger("password")},hasMessage:!1})]}),d&&(0,o.jsxs)("div",{className:"space-y-2",children:[(0,o.jsx)("p",{className:"text-destructive",children:d}),f===eT._5p.INVALID_CREDENTIALS&&(0,o.jsx)("em",{className:"block text-sm text-muted-foreground",children:'Si vous vous \xeates inscrit avec Google ou Apple, utilisez le bouton correspondant ci-dessus, ou cliquez sur "Mot de passe oubli\xe9" pour d\xe9finir un mot de passe.'}),f===eT._5p.EMAIL_NOT_VERIFIED&&(0,o.jsx)(eB.$,{variant:"outline-white",className:"text-destructive",onClick:()=>{iP.A.setUserEmail(y.getValues().emailOrConnectId),iP.A.setModalVisible(!0)},children:"V\xe9rifier l'email"})]}),(0,o.jsx)("div",{className:"flex w-full justify-end",children:(0,o.jsx)(eB.$,{type:"button",className:"text-sm text-gray-500 underline",variant:"null",onClick:()=>t("RESETPASSWORD"),children:"Mot de passe oubli\xe9"})}),(0,o.jsxs)("div",{className:"flex w-full flex-col gap-1",children:[(0,o.jsx)(eB.$,{type:"submit",variant:"blue",size:"lg",disabled:m,children:m?"Connexion...":"Se connecter"}),(0,o.jsx)(eB.$,{type:"button",className:"border-none shadow-none",size:"lg",onClick:()=>{window.gtag&&window.gtag("event","sign up button click",{event_category:"Sign up",event_label:"Opened sign up modal"}),t("SIGNUP")},children:"Cr\xe9er un compte"})]})]})})},iB=iA.z.object({isProfessional:iA.z.boolean(),firstName:iA.z.string().min(2,"Veuillez entrer un pr\xe9nom valide").max(64,"Veuillez entrer un pr\xe9nom valide"),lastName:iA.z.string().min(2,"Veuillez entrer un nom valide").max(64,"Veuillez entrer un nom valide"),email:iA.z.string().email("Veuillez entrer un email valide"),siret:s.xmH.optional(),vat:s.z27.optional(),businessName:iA.z.string().optional(),country:iA.z.string().optional(),password:iA.z.string().superRefine((e,t)=>{if(e.length<eD.m1N||!/[a-z]/.test(e)||!/[A-Z]/.test(e)||!/[ !"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(e)||!/[0-9]/.test(e))return t.addIssue({code:iA.z.ZodIssueCode.custom,message:(0,eD.$dm)(e)})}),acceptedTerms:iA.z.boolean().refine(e=>e,"Veuillez accepter les conditions d'utilisation")}).superRefine((e,t)=>{if(e.isProfessional&&!e.country)return t.addIssue({code:iA.z.ZodIssueCode.custom,message:"Veuillez s\xe9lectionner un pays",path:["country"]});(0,s.juA)(t,e.vat,e.siret)}),iV={firstName:"",lastName:"",businessName:"",siret:"",vat:"",country:"",email:"",password:"",acceptedTerms:!1,roles:[]};var iU=n(43685);let iq="Il existe d\xe9j\xe0 un compte associ\xe9 \xe0 cette adresse e-mail.",iH=function(e){var t,n,r;let{onSwitchSteps:i,onClose:a,baseEmail:l,goto:c,isFromTickets:d}=e,h=(0,eg.useRouter)(),[f,p]=(0,u.useState)(!0),[m,g]=(0,u.useState)(!0),{mutate:v,isError:y}=(0,s.rUz)(),{mutate:b,isError:w}=(0,s.iO1)(),x=(0,rI.mN)({resolver:(0,rE.u)(iB),defaultValues:{...iV,...l?{email:l}:{}}}),C=x.watch("isProfessional"),E=null==(t=x.formState.errors.password)?void 0:t.message;return C||(x.setValue("vat",void 0),x.setValue("siret",void 0)),(0,o.jsx)(eL.lV,{...x,children:(0,o.jsxs)("form",{onSubmit:x.handleSubmit(function(e){e.isProfessional?v({...e,roles:[]},{onSuccess:t=>{iP.A.setUserEmail(e.email),iP.A.setModalVisible(!0),a(),c&&h.push(c)},onError:e=>{e.message===eT.jiL.EMAIL_ALREADY_USED&&x.setError("email",{message:iq})}}):b({firstName:e.firstName,lastName:e.lastName,email:e.email,password:e.password,acceptedTerms:e.acceptedTerms},{onSuccess:e=>{iP.A.setUserEmail(e.email),iP.A.setModalVisible(!0),a()},onError:e=>{e.message===eT.jiL.EMAIL_ALREADY_USED&&x.setError("email",{message:iq})}})}),className:"flex flex-col items-center gap-8",children:[(0,o.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,o.jsx)(eP.A,{src:"/images/logos/logo_connect_events_vertical.png",alt:"logo avec nom Connect'Events vertical",className:"static h-28 w-auto"})}),(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("h1",{className:"text-2xl font-extrabold text-black",children:"Cr\xe9er un compte"})}),d&&(0,o.jsx)("div",{className:"flex w-full flex-col items-center gap-2",children:(0,o.jsx)("p",{className:"w-4/5 text-center",children:"Afin de pouvoir r\xe9cup\xe9rer vos titres d'acc\xe8s, vous devez poss\xe9der un compte sur Connect'Events."})}),(0,o.jsxs)("div",{className:"grid w-full grid-cols-2 gap-4",children:[(0,o.jsx)(eM.Z,{control:x.control,name:"firstName",label:"Pr\xe9nom",placeholder:"Pr\xe9nom",type:"text",maxLength:64}),(0,o.jsx)(eM.Z,{control:x.control,name:"lastName",label:"Nom",placeholder:"Nom",type:"text",maxLength:64})]}),(0,o.jsxs)("div",{className:"w-full space-y-4",children:[(0,o.jsx)(iU.QT,{control:x.control,name:"isProfessional",hasError:!!x.getFieldState("isProfessional").error}),C&&(0,o.jsx)(iU.HI,{control:x.control,setValue:x.setValue,siretName:"siret",vatName:"vat",businessNameName:"businessName",countryName:"country",isSiretVisible:m,isVATVisible:f,onSiretVisibilityChange:g,onVATVisibilityChange:p}),(0,o.jsxs)("div",{className:"w-full space-y-3",children:[(0,o.jsx)(eM.Z,{className:"mt-1.5",control:x.control,name:"email",label:"Email",placeholder:"[email protected]",type:"email"}),(0,o.jsx)(iS.W,{className:"grow",control:x.control,name:"password",label:"Mot de passe",placeholder:".............",onChange:e=>{x.setValue("password",e.target.value),x.trigger("password")},hasMessage:!1}),(0,o.jsxs)("div",{className:"space-y-3",children:[(0,o.jsx)("h3",{className:"text-sm",children:"Le mot de passe doit contenir les \xe9l\xe9ments suivants :"}),(0,o.jsx)("div",{className:"flex flex-col gap-2",children:eD.H3Y.map(e=>(0,o.jsx)(iU.IL,{desc:e.desc,errorType:e.errorType,toDisplay:!!x.getValues().password,passwordError:E},e.errorType))})]})]})]}),(0,o.jsx)(e$.c,{control:x.control,name:"acceptedTerms",checkboxClassNames:x.getFieldState("acceptedTerms").error?"ring-destructive focus-visible:ring-destructive focus-visible:ring-offset-background rounded-[5px] ring-1 focus-visible:ring-offset-1":void 0,labelContent:(0,o.jsx)(iU.Ag,{isProfessional:C})}),(y||w)&&(0,o.jsx)("p",{className:"text-red-600",children:null!=(r=null==(n=x.formState.errors.email)?void 0:n.message)?r:"Une erreur est survenue"}),(0,o.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,o.jsx)(eB.$,{type:"submit",variant:"blue",size:"lg",children:"Cr\xe9er mon compte"}),(0,o.jsx)(eB.$,{type:"button",className:"shadow-none",size:"lg",onClick:()=>i("LOGIN"),children:"J'ai d\xe9j\xe0 un compte"})]})]})})},iZ=(0,ef.PA)(()=>{let{user:e,isLoading:t,disconnect:n}=(0,eI.u)(),r=(0,eg.useRouter)(),[i,a]=(0,u.useState)(rk.A.getInitialStep()),[s,l]=(0,u.useState)(!1),{email:c,goto:d,step:h,type:f}=(0,iw.A)(),p=rk.A.getModalIsVisible();function m(e){a(e)}(0,u.useEffect)(()=>{p&&a(rk.A.getInitialStep())},[p]),(0,u.useEffect)(()=>{c&&!t&&!s&&(e?e.email!==c?n():d&&r.push(d):rk.A.setModalVisible(!0),h&&h!==i&&ix.includes(h)&&a(h))},[n,c,d,t,r,e,i,h,s]),(0,u.useEffect)(()=>{c||l(!1)},[c]);let g=(0,u.useCallback)(()=>{l(!0);let{pathname:e,query:t}=r,n=["email","goto","step","type","invitationId"],i=Object.fromEntries(Object.entries(t).filter(e=>{let[t]=e;return!n.includes(t)}));r.replace({pathname:e,query:i},void 0,{shallow:!0}),rk.A.setPendingAction(null),rk.A.setModalVisible(!1),a("LOGIN")},[r]),v=(0,u.useCallback)(()=>{var e;null==(e=rk.A.consumePendingAction())||e(),g()},[g]),y={LOGIN:{title:"Connexion",content:(0,o.jsx)(iz,{onSwitchSteps:m,onClose:v,baseEmail:c,goto:d})},SIGNUP:{title:"Inscription",content:(0,o.jsx)(iH,{onSwitchSteps:m,onClose:v,baseEmail:c,goto:d,isFromTickets:"validation"===f})},RESETPASSWORD:{title:"Mot de passe oubli\xe9",content:(0,o.jsx)(iE,{onSwitchSteps:m,onClose:g})}
27,RESETPASSWORDCONFIRMATION:{title:"Confirmation",content:(0,o.jsx)(iC,{})}};return p?(0,o.jsxs)(eO.lG,{open:!0,onOpenChange:g,children:[(0,o.jsx)(ie.s,{children:(0,o.jsx)(eO.L3,{children:"Connexion"})}),(0,o.jsx)(eO.LC,{}),(0,o.jsx)(eO.Cf,{"aria-describedby":void 0,className:"max-h-[calc(100vh-60px)] max-w-[calc(100vw-20px)] overflow-auto bg-white md:max-h-[calc(100vh-120px)] md:max-w-[760px]",children:y[i].content})]}):null});var iW=n(41877);function iG(){let{toggleCart:e}=(0,iF.B)(),{user:t}=(0,eI.u)();function n(){e()}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(il,{user:t,handleCartClick:n}),(0,o.jsx)(ib,{user:t,handleCartClick:n}),(0,o.jsx)(iZ,{}),(0,o.jsx)(iW.I,{})]})}var i$=n(6382),iK=n(4308),iY=n(67305),iX=n(95913),iQ=n(24090),iJ=class extends iQ.Q{constructor(e={}){super(),this.config=e,this.#H=new Map}#H;build(e,t,n){let r=t.queryKey,i=t.queryHash??(0,iK.F$)(r,t),a=this.get(i);return a||(a=new iY.X({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#H.has(e.queryHash)||(this.#H.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#H.get(e.queryHash);t&&(e.destroy(),t===e&&this.#H.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){iX.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#H.get(e)}getAll(){return[...this.#H.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,iK.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,iK.MK)(e,t)):t}notify(e){iX.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){iX.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){iX.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},i0=n(13448),i1=class extends iQ.Q{constructor(e={}){super(),this.config=e,this.#Z=new Set,this.#W=new Map,this.#G=0}#Z;#W;#G;build(e,t,n){let r=new i0.s({client:e,mutationCache:this,mutationId:++this.#G,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#Z.add(e);let t=i2(e);if("string"==typeof t){let n=this.#W.get(t);n?n.push(e):this.#W.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#Z.delete(e)){let t=i2(e);if("string"==typeof t){let n=this.#W.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#W.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=i2(e);if("string"!=typeof t)return!0;{let n=this.#W.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=i2(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#W.get(t)?.find(t=>
27t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){iX.jG.batch(()=>{this.#Z.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#Z.clear(),this.#W.clear()})}getAll(){return Array.from(this.#Z)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,iK.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,iK.nJ)(e,t))}notify(e){iX.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return iX.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(iK.lQ))))}};function i2(e){return e.options.scope?.id}var i5=n(19848),i4=n(2663),i3=n(43379);let i6=new class{#$;#s;#b;#K;#Y;#X;#Q;#J;constructor(e={}){this.#$=e.queryCache||new iJ,this.#s=e.mutationCache||new i1,this.#b=e.defaultOptions||{},this.#K=new Map,this.#Y=new Map,this.#X=0}mount(){this.#X++,1===this.#X&&(this.#Q=i5.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#$.onFocus())}),this.#J=i4.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#$.onOnline())}))}unmount(){this.#X--,0===this.#X&&(this.#Q?.(),this.#Q=void 0,this.#J?.(),this.#J=void 0)}isFetching(e){return this.#$.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#$.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#$.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,iK.d2)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#$.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#$.get(r.queryHash),a=i?.state.data,o=(0,iK.Zw)(t,a);if(void 0!==o)return this.#$.build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return iX.jG.batch(()=>this.#$.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#$.get(t.queryHash)?.state}removeQueries(e){let t=this.#$;iX.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#$;return iX.jG.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(iX.jG.batch(()=>this.#$.findAll(e).map(e=>e.cancel(n)))).then(iK.lQ).catch(iK.lQ)}invalidateQueries(e,t={}){return iX.jG.batch(()=>(this.#$.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(iX.jG.batch(()=>this.#$.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(iK.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(iK.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#$.build(this,t);return n.isStaleByTime((0,iK.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(iK.lQ).catch(iK.lQ)}fetchInfiniteQuery(e){return e.behavior=(0,i3.PL)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(iK.lQ).catch(iK.lQ)}ensureInfiniteQueryData(e){return e.behavior=(0,i3.PL)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return i4.t.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#$}getMutationCache(){return this.#s}getDefaultOptions(){return this.#b}setDefaultOptions(e){this.#b=e}setQueryDefaults(e,t){this.#K.set((0,iK.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#K.values()],n={};return t.forEach(t=>{(0,iK.Cp)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#Y.set((0,iK.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#Y.values()],n={};return t.forEach(t=>{(0,iK.Cp)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#b.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,iK.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===iK.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#b.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#$.clear(),this.#s.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:!1}}});n(80489);let i8=e=>{let{setShowWindow:t}=e;return(0,o.jsx)(eB.$,{variant:"null",className:"right-4 size-14 cursor-pointer rounded-full bg-[#01375F] p-4",onClick:()=>t(e=>!e),children:(0,o.jsx)(i9,{})})},i9=()=>(0,o.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.486 16.803C21.3149 15.338 21.7504 13.6832 21.75 11.9999C21.7494 10.5189 21.4114 9.05741 20.7616 7.7265C20.1119 6.39558 19.1675 5.23018 18.0001 4.31875C16.8327 3.40733 15.473 2.77383 14.0242 2.46635C12.5754 2.15886 11.0756 2.18548 9.63869 2.54416C8.20173 2.90285 6.86537 3.58419 5.73105 4.53646C4.59672 5.48873 3.69425 6.6869 3.09213 8.04003C2.49001 9.39316 2.20406 10.8657 2.256 12.3458C2.30793 13.826 2.69639 15.2748 3.39187 16.5824L2.32781 19.7746C2.23967 20.0389 2.22688 20.3225 2.29087 20.5937C2.35486 20.8648 2.49311 21.1128 2.69011 21.3098C2.88711 21.5068 3.13509 21.645 3.40624 21.709C3.6774 21.773 3.96102 21.7602 4.22531 21.6721L7.4175 20.608C8.9033 21.3992 10.5686 21.7922 12.2514 21.7488C13.9341 21.7054 15.577 21.2271 17.02 20.3604C18.4631 19.4937 19.6572 18.2681 20.486 16.803ZM12 6.74988C9.93188 6.74988 8.25 8.26394 8.25 10.1249V10.4999C8.25 10.6988 8.32902 10.8896 8.46967 11.0302C8.61032 11.1709 8.80109 11.2499 9 11.2499C9.19891 11.2499 9.38968 11.1709 9.53033 11.
270302C9.67098 10.8896 9.75 10.6988 9.75 10.4999V10.1249C9.75 9.09363 10.7597 8.24988 12 8.24988C13.2403 8.24988 14.25 9.09363 14.25 10.1249C14.25 11.1561 13.2403 11.9999 12 11.9999C11.8011 11.9999 11.6103 12.0789 11.4697 12.2195C11.329 12.3602 11.25 12.551 11.25 12.7499V13.4999C11.25 13.6988 11.329 13.8896 11.4697 14.0302C11.6103 14.1709 11.8011 14.2499 12 14.2499C12.1989 14.2499 12.3897 14.1709 12.5303 14.0302C12.671 13.8896 12.75 13.6988 12.75 13.4999V13.4324C14.46 13.1183 15.75 11.7543 15.75 10.1249C15.75 8.26394 14.0681 6.74988 12 6.74988ZM13.125 16.8749C13.125 17.0974 13.059 17.3149 12.9354 17.4999C12.8118 17.6849 12.6361 17.8291 12.4305 17.9142C12.225 17.9994 11.9988 18.0217 11.7805 17.9783C11.5623 17.9349 11.3618 17.8277 11.2045 17.6704C11.0472 17.513 10.94 17.3126 10.8966 17.0944C10.8532 16.8761 10.8755 16.6499 10.9606 16.4444C11.0458 16.2388 11.19 16.0631 11.375 15.9395C11.56 15.8159 11.7775 15.7499 12 15.7499C12.2984 15.7499 12.5845 15.8684 12.7955 16.0794C13.0065 16.2904 13.125 16.5765 13.125 16.8749Z",fill:"white"})}),i7=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h19.6A20,20,0,0,1,192,228H136a12,12,0,0,0,0,24h56a44.05,44.05,0,0,0,44-44V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm124,44V144a4,4,0,0,1,4-4h20v48H192A4,4,0,0,1,188,184Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h32V128Z",opacity:"0.2"}),u.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232,128v80a40,40,0,0,1-40,40H136a8,8,0,0,1,0-16h56a24,24,0,0,0,24-24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65A88,88,0,0,0,66,65.54,87.29,87.29,0,0,0,40.36,120H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90,90,0,0,1,128,38h.68a89.71,89.71,0,0,1,89.13,84H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h26v2a26,26,0,0,1-26,26H136a6,6,0,0,0,0,12h56a38,38,0,0,0,38-38V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm118,50V144a10,10,0,0,1,10-10h26v60H192A10,10,0,0,1,182,184Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h28v4a28,28,0,0,1-28,28H136a4,4,0,0,0,0,8h56a36,36,0,0,0,36-36V128A99.44,99.44,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm116,52V144a12,12,0,0,1,12-12h28v64H192A12,12,0,0,1,180,184Z"}))]]),ae=u.forwardRef((e,t)=>
27u.createElement(iI.A,{ref:t,...e,weights:i7}));ae.displayName="HeadsetIcon";var at=n(14117),an=n(91625),ar=n(21053),ai=n(32337);let aa=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ao=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,as={};function al(e,t){return((t||as).jsx?ao:aa).test(e)}let au=/[ \t\n\f\r]/g;function ac(e){return""===e.replace(au,"")}class ad{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function ah(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new ad(n,r,t)}function af(e){return e.toLowerCase()}ad.prototype.normal={},ad.prototype.property={},ad.prototype.space=void 0;class ap{constructor(e,t){this.attribute=t,this.property=e}}ap.prototype.attribute="",ap.prototype.booleanish=!1,ap.prototype.boolean=!1,ap.prototype.commaOrSpaceSeparated=!1,ap.prototype.commaSeparated=!1,ap.prototype.defined=!1,ap.prototype.mustUseProperty=!1,ap.prototype.number=!1,ap.prototype.overloadedBoolean=!1,ap.prototype.property="",ap.prototype.spaceSeparated=!1,ap.prototype.space=void 0;let am=0,ag=aE(),av=aE(),ay=aE(),ab=aE(),aw=aE(),ax=aE(),aC=aE();function aE(){return 2**++am}let aS=Object.keys(i);class aA extends ap{constructor(e,t,n,r){let a=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++a<aS.length;){let e=aS[a];!function(e,t,n){n&&(e[t]=n)}(this,aS[a],(n&i[e])===i[e])}}}function ak(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new aA(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[af(r)]=r,n[af(a.attribute)]=r}return new ad(t,n,e.space)}aA.prototype.defined=!0;let aN=ak({properties:{ariaActiveDescendant:null,ariaAtomic:av,ariaAutoComplete:null,ariaBusy:av,ariaChecked:av,ariaColCount:ab,ariaColIndex:ab,ariaColSpan:ab,ariaControls:aw,ariaCurrent:null,ariaDescribedBy:aw,ariaDetails:null,ariaDisabled:av,ariaDropEffect:aw,ariaErrorMessage:null,ariaExpanded:av,ariaFlowTo:aw,ariaGrabbed:av,ariaHasPopup:null,ariaHidden:av,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:aw,ariaLevel:ab,ariaLive:null,ariaModal:av,ariaMultiLine:av,ariaMultiSelectable:av,ariaOrientation:null,ariaOwns:aw,ariaPlaceholder:null,ariaPosInSet:ab,ariaPressed:av,ariaReadOnly:av,ariaRelevant:null,ariaRequired:av,ariaRoleDescription:aw,ariaRowCount:ab,ariaRowIndex:ab,ariaRowSpan:ab,ariaSelected:av,ariaSetSize:ab,ariaSort:null,ariaValueMax:ab,ariaValueMin:ab,ariaValueNow:ab,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function aP(e,t){return t in e?e[t]:t}function aI(e,t){return aP(e,t.toLowerCase())}let aT=ak({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ax,acceptCharset:aw,accessKey:aw,action:null,allow:null,allowFullScreen:ag,allowPaymentRequest:ag,allowUserMedia:ag,alt:null,as:null,async:ag,autoCapitalize:null,autoComplete:aw,autoFocus:ag,autoPlay:ag,blocking:aw,capture:null,charSet:null,checked:ag,cite:null,className:aw,cols:ab,colSpan:null,content:null,contentEditable:av,controls:ag,controlsList:aw,coords:ab|ax,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ag,defer:ag,dir:null,dirName:null,disabled:ag,download:ay,draggable:av,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ag,formTarget:null,headers:aw,height:ab,hidden:ay,high:ab,href:null,hrefLang:null,htmlFor:aw,httpEquiv:aw,id:null,imageSizes:null,imageSrcSet:null,inert:ag,inputMode:null,integrity:null,is:null,isMap:ag,itemId:null,itemProp:aw,itemRef:aw,itemScope:ag,itemType:aw,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ag,low:ab,manifest:null,max:null,maxLength:ab,media:null,method:null,min:null,minLength:ab,multiple:ag,muted:ag,name:null,nonce:null,noModule:ag,noValidate:ag,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ag,optimum:ab,pattern:null,ping:aw,placeholder:null,playsInl
27ine:ag,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ag,referrerPolicy:null,rel:aw,required:ag,reversed:ag,rows:ab,rowSpan:ab,sandbox:aw,scope:null,scoped:ag,seamless:ag,selected:ag,shadowRootClonable:ag,shadowRootDelegatesFocus:ag,shadowRootMode:null,shape:null,size:ab,sizes:null,slot:null,span:ab,spellCheck:av,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ab,step:null,style:null,tabIndex:ab,target:null,title:null,translate:null,type:null,typeMustMatch:ag,useMap:null,value:av,width:ab,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:aw,axis:null,background:null,bgColor:null,border:ab,borderColor:null,bottomMargin:ab,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ag,declare:ag,event:null,face:null,frame:null,frameBorder:null,hSpace:ab,leftMargin:ab,link:null,longDesc:null,lowSrc:null,marginHeight:ab,marginWidth:ab,noResize:ag,noHref:ag,noShade:ag,noWrap:ag,object:null,profile:null,prompt:null,rev:null,rightMargin:ab,rules:null,scheme:null,scrolling:av,standby:null,summary:null,text:null,topMargin:ab,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ab,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ag,disableRemotePlayback:ag,prefix:null,property:null,results:ab,security:null,unselectable:null},space:"html",transform:aI}),aO=ak({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
27-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:aC,accentHeight:ab,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ab,amplitude:ab,arabicForm:null,ascent:ab,attributeName:null,attributeType:null,azimuth:ab,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ab,by:null,calcMode:null,capHeight:ab,className:aw,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ab,diffuseConstant:ab,direction:null,display:null,dur:null,divisor:ab,dominantBaseline:null,download:ag,dx:null,dy:null,edgeMode:null,editable:null,elevation:ab,enableBackground:null,end:null,event:null,exponent:ab,externalResourcesRequired:null,fill:null,fillOpacity:ab,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ax,g2:ax,glyphName:ax,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ab,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ab,horizOriginX:ab,horizOriginY:ab,id:null,ideographic:ab,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ab,k:ab,k1:ab,k2:ab,k3:ab,k4:ab,kernelMatrix:aC,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ab,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ab,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
27Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ab,overlineThickness:ab,paintOrder:null,panose1:null,path:null,pathLength:ab,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:aw,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ab,pointsAtY:ab,pointsAtZ:ab,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:aC,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:aC,rev:aC,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:aC,requiredFeatures:aC,requiredFonts:aC,requiredFormats:aC,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ab,specularExponent:ab,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ab,strikethroughThickness:ab,string:null,stroke:null,strokeDashArray:aC,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ab,strokeOpacity:ab,strokeWidth:null,style:null,surfaceScale:ab,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:aC,tabIndex:ab,tableValues:null,target:null,targetX:ab,targetY:ab,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:aC,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ab,underlineThickness:ab,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ab,values:null,vAlphabetic:ab,vMathematical:ab,vectorEffect:null,vHanging:ab,vIdeographic:ab,version:null,vertAdvY:ab,vertOriginX:ab,vertOriginY:ab,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ab,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:aP}),aL=ak({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),aM=ak({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:aI}),aD=ak({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),aj=ah([aN,aT,aL,aM,aD],"html"),a_=ah([aN,aO,aL,aM,aD],"svg"),aR=/[A-Z]/g,aF=/-[a-z]/g,az=/^data[-\w.:]+$/i;function aB(e){return"-"+e.toLowerCase()}function aV(e){return e.charAt(1).toUpperCase()}let aU={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var aq=n(27420);let aH=aW("end"),aZ=aW("start");function aW(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function aG(e){return e&&"object"==typeof e?"position"in e||"type"in e?aK(e.position):"start"in e||"end"in e?aK(e):"line"in e||"column"in e?a$(e):"":""}function a$(e){return aY(e&&e.line)+":"+aY(e&&e.column)}function aK(e){return a$(e&&e.start)+"-"+a$(e&&e.end)}function aY(e){return e&&"number"==typeof e?e:1}class aX extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=aG(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}aX.prototype.file="",aX.prototype.name="",aX.prototype.reason="",aX.prototype.message="",aX.prototype.stack="",aX.prototype.column=void 0,aX.prototype.line=void 0,aX.prototype.ancestors=void 0,aX.prototype.cause=void 0,aX.prototype.fatal=void 0,aX.prototype.place=void 0,aX.prototype.ruleId=void 0,aX.prototype.source=void 0;let aQ={}.hasOwnProperty,aJ=new Map,a0=/[A-Z]/g,a1=new Set(["table","tbody","thead","tfoot","tr"]),a2=new Set(["td","th"]),a5="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function a4(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(e.schema=a_),e.ancestors.push(t);let i=a9(e,t.tagName,!1),a=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&aQ.call(t.properties,r)){let a=function(e,t,n){let r=function(e,t){let n=af(t),r=t,i=ap;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&az.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(aF,aV);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!aF.test(e)){let n=e.replace(aR,aB);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=aA}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return aq(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new aX("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
27throw t.file=e.filePath||void 0,t.url=a5+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)aQ.call(e,t)&&(n[function(e){let t=e.replace(a0,oe);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?aU[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(a){let[r,o]=a;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&a2.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),o=a8(e,t);return a1.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&ac(e.value):ac(e))})),a3(e,a,i,t),a6(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}a7(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema;"svg"===t.name&&"html"===r.space&&(e.schema=a_),e.ancestors.push(t);let i=null===t.name?e.Fragment:a9(e,t.name,!0),a=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else a7(e,t.position);else{let i,a=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else a7(e,t.position);else i=null===r.value||r.value;n[a]=i}return n}(e,t),o=a8(e,t);return a3(e,a,i,t),a6(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);a7(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return a6(r,a8(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function a3(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function a6(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function a8(e,t){let n=[],r=-1,i=e.passKeys?new Map:aJ;for(;++r<t.children.length;){let a,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let s=a4(e,o,a);void 0!==s&&n.push(s)}return n}function a9(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=al(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=al(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return aQ.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);a7(e)}function a7(e,t){let n=new aX("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=a5+"#cannot-handle-mdx-estrees-without-createevaluater",n}function oe(e){return"-"+e.toLowerCase()}let ot={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},on={};function or(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return oi(e.children,t,n)}return Array.isArray(e)?oi(e,t,n):""}function oi(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=or(e[i],t,n);return r.join("")}function oa(e,t,n,r){let i,a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function oo(e,t){return e.length>0?(oa(e,e.length,0,t),e):t}class os{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&ol(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ol(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ol(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);ol(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);ol(this.left,t.reverse())}}}function ol(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ou(e){let t,n,r,i,a,o,s,l={},u=-1,c=new os(e);for(;++u<c.length;){for(;u in l;)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],o=t-1,s=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,c=[],d={},h=-1,f=i,p=0,m=0,g=[0];for(;f;){for(;e.get(++o)[1]!==f;);s.push(o),!f._tokenizer&&(n=a.sliceStream(f),f.next||n.push(null),r&&l.defineSki
27p(f.start),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(m=h+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(l.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),h=g.length;h--;){let t=u.slice(g[h],g[h+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),h=-1;++h<c.length;)d[p+c[h][0]]=p+c[h][1],p+=c[h][1]-c[h][0]-1;return d}(c,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(a=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,a))}}return oa(e,0,1/0,c.slice(0)),!s}let oc={}.hasOwnProperty,od=oE(/[A-Za-z]/),oh=oE(/[\dA-Za-z]/),of=oE(/[#-'*+\--9=?A-Z^-~]/);function op(e){return null!==e&&(e<32||127===e)}let om=oE(/\d/),og=oE(/[\dA-Fa-f]/),ov=oE(/[!-/:-@[-`{-~]/);function oy(e){return null!==e&&e<-2}function ob(e){return null!==e&&(e<0||32===e)}function ow(e){return -2===e||-1===e||32===e}let ox=oE(/\p{P}|\p{S}/u),oC=oE(/\s/);function oE(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function oS(e,t,n,r){let i=r?r-1:1/0,a=0;return function(r){return ow(r)?(e.enter(n),function r(o){return ow(o)&&a++<i?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}let oA={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),oS(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return oy(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},ok={tokenize:function(e){let t,n,r,i=this,a=[],o=0;return s;function s(t){if(o<a.length){let n=a[o];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}g(o);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return oa(i.events,a+1,0,i.events.slice(r)),i.events.length=s,u(e)}return s(e)}function u(n){if(o===a.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(oN,c,d)(n)}function c(e){return t&&v(),g(o),h(e)}function d(e){return i.parser.lazy[i.now().line]=o!==a.length,r=i.now().offset,p(e)}function h(t){return i.containerState={},e.attempt(oN,f,p)(t)}function f(e){return o++,a.push([i.currentConstruct,i.containerState]),h(e)}function p(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return oy(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function m(e,a){let s=i.sliceStream(e);if(a&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(o),a=s;a<i.events.length;)i.events[a][1].end={...n},a++;oa(i.events,l+1,0,i.events.slice(s)),i.events.length=a}}function g(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},oN={tokenize:function(e,t,n){return oS(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},oP={partial:!0,tokenize:function(e,t,n){return function(t){return ow(t)?oS(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||oy(e)?t(e):n(e)}}},oI={resolve:function(e){return ou(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):oy(t)?e.check(oT,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},oT={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),oS(e,i,"linePrefix")};function i(i){if(null===i||oy(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},oO={tokenize:function(e){let t=this,n=e.attempt(oP,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,oS(e,e.attempt(this.parser.constructs.flow,r,e.attempt(oI,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},oL={resolveAll:o_()},oM=oj("string"),oD=oj("text");function oj(e){return{resolveAll:o_("text"===e?oR:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function o_(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function oR(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),o=a.length,s=-1,l=0;for(;o--;){let e=a[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:i.start._bufferIndex+s,_index:i.start._index+o,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let oF={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var o;return e.enter("thematicBreak"),r=o=a,function a(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),ow(n)?oS(e,a,"whitespace")(n):a(n))}(o)):i>=3&&(null===o||oy(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},oz={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(oP,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,oS(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!ow(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
27=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(oV,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,oS(e,e.attempt(oz,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:om(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(oF,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return om(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(oP,r.interrupt?n:l,e.attempt(oB,c,u))}
27function l(e){return r.containerState.initialBlankLine=!0,a++,c(e)}function u(t){return ow(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},oB={partial:!0,tokenize:function(e,t,n){let r=this;return oS(e,function(e){let i=r.events[r.events.length-1];return!ow(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},oV={partial:!0,tokenize:function(e,t,n){let r=this;return oS(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},oU={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return ow(t)?oS(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(oU,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return ow(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function oq(e,t,n,r,i,a,o,s,l){let u=l||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||op(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||oy(t)?n(t):(e.consume(t),92===t?f:h)}function f(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function p(i){return!c&&(null===i||41===i||ob(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,p):41===i?(e.consume(i),c--,p):null===i||32===i||40===i||op(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function oH(e,t,n,r,i,a){let o,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u};function u(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):oy(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||oy(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!ow(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function oZ(e,t,n,r,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),s(o)):null===t?n(t):oy(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),oS(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||oy(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function oW(e,t){let n;return function r(i){return oy(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ow(i)?oS(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function oG(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let o$={partial:!0,tokenize:function(e,t,n){return function(t){return ob(t)?oW(e,r)(t):n(t)};function r(t){return oZ(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return ow(t)?oS(e,a,"whitespace")(t):a(t)}function a(e){return null===e||oy(e)?t(e):n(e)}}},oK={name:"codeIndented",tokenize:function(e,t,n){let r=this;
27return function(t){return e.enter("codeIndented"),oS(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):oy(n)?e.attempt(oY,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||oy(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},oY={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):oy(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):oS(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):oy(e)?i(e):n(e)}}},oX={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),ow(n)?oS(e,a,"lineSuffix")(n):a(n))}(o)):n(t)};function a(r){return null===r||oy(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},oQ=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],oJ=["pre","script","style","textarea"],o0={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(oP,t,n)}}},o1={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return oy(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},o2={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},o5={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),ow(t)?oS(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=s?(e.exit("codeFencedFenceSequence"),ow(i)?oS(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||oy(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,s=0;return function(t){var a=t;let u=i.events[i.events.length-1];return o=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),ow(i)?oS(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||oy(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(o2,c,p)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||oy(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):ow(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),oS(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}
27function u(t){return null===t||oy(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||oy(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(a,p,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return o>0&&ow(t)?oS(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||oy(t)?e.check(o2,c,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||oy(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}}},o4=document.createElement("i");function o3(e){let t="&"+e+";";o4.innerHTML=t;let n=o4.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let o6={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=oh,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=og,u):(e.enter("characterReferenceValue"),r=7,i=om,u(t))}function u(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return i!==oh||o3(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&o++<r?(e.consume(s),u):n(s)}}},o8={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return ov(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},o9={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),oS(e,t,"linePrefix")}}};function o7(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}let se={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&oa(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return a=oo(a=[["enter",l,t],["enter",u,t]],e.slice(r+1,r+s+3)),a=oo(a,[["enter",c,t]]),a=oo(a,o7(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),a=oo(a,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),a=oo(a,e.slice(i+1)),a=oo(a,[["exit",l,t]]),oa(e,r,e.length,a),e},tokenize:function(e,t,n){let r,i,a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){r=a.events[o][1];break}return function(t){return r?r._inactive?c(t):(i=a.parser.defined.includes(oG(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(st,u,i?u:c)(t):91===t?e.attempt(sn,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(sr,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},st={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return ob(t)?oW(e,i)(t):i(t)}function i(t){return 41===t?u(t):oq(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return ob(t)?oW(e,s)(t):u(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?oZ(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return ob(t)?oW(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},sn={tokenize:function(e,t,n){let r=this;return function(t){return oH.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(oG(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},sr={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},si={name:"labelStartImage",resolveAll:se.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function sa(e){return null===e||ob(e)||oC(e)?1:ox(e)?2:void 0}let so={name:"attention",resolveAll:function(e,t){let n,r,i,a,o,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
27n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d={...e[n][1].end},h={...e[c][1].start};ss(d,-s),ss(h,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:h},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[n][1].end={...a.start},e[c][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=oo(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=oo(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=oo(l,o7(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=oo(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=oo(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,oa(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=sa(i);return function(o){return n=o,e.enter("attentionSequence"),function o(s){if(s===n)return e.consume(s),o;let l=e.exit("attentionSequence"),u=sa(s),c=!u||2===u&&a||r.includes(s),d=!a||2===a&&u||r.includes(i);return l._open=!!(42===n?c:c&&(a||!d)),l._close=!!(42===n?d:d&&(u||!c)),t(s)}(o)}}};function ss(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let sl={name:"labelStartLink",resolveAll:se.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},su={42:oz,43:oz,45:oz,48:oz,49:oz,50:oz,51:oz,52:oz,53:oz,54:oz,55:oz,56:oz,57:oz,62:oU},sc={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,oH.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=oG(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return ob(t)?oW(e,s)(t):s(t)}function s(t){return oq(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(o$,u,u)(t)}function u(t){return ow(t)?oS(e,c,"whitespace")(t):c(t)}function c(a){return null===a||oy(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},sd={[-2]:oK,[-1]:oK,32:oK},sh={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},oa(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||ob(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||oy(r)?(e.exit("atxHeading"),t(r)):ow(r)?oS(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||ob(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:oF,45:[oX,oF],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,o,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,f):63===o?(e.consume(o),r=3,l.interrupt?t:L):od(o)?(e.consume(o),a=String.fromCharCode(o),p):n(o)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,o=0,h):od(i)?(e.consume(i),r=4,l.interrupt?t:L):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:L):n(r)}function h(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?l.interrupt?t:S:h:n(r)}function f(t){return od(t)?(e.consume(t),a=String.fromCharCode(t),p):n(t)}
27function p(o){if(null===o||47===o||62===o||ob(o)){let s=47===o,u=a.toLowerCase();return!s&&!i&&oJ.includes(u)?(r=1,l.interrupt?t(o):S(o)):oQ.includes(a.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):S(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):i?function t(n){return ow(n)?(e.consume(n),t):C(n)}(o):g(o))}return 45===o||oh(o)?(e.consume(o),a+=String.fromCharCode(o),p):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),C):58===t||95===t||od(t)?(e.consume(t),v):ow(t)?(e.consume(t),g):C(t)}function v(t){return 45===t||46===t||58===t||95===t||oh(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):ow(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):ow(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||ob(n)?y(n):(e.consume(n),t)}(t)}function w(t){return t===s?(e.consume(t),s=null,x):null===t||oy(t)?n(t):(e.consume(t),w)}function x(e){return 47===e||62===e||ow(e)?g(e):n(e)}function C(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||oy(t)?S(t):ow(t)?(e.consume(t),E):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),O):oy(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(o0,D,A)(t)):null===t||oy(t)?(e.exit("htmlFlowData"),A(t)):(e.consume(t),S)}function A(t){return e.check(o1,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||oy(t)?A(t):(e.enter("htmlFlowData"),S(t))}function P(t){return 45===t?(e.consume(t),L):S(t)}function I(t){return 47===t?(e.consume(t),a="",T):S(t)}function T(t){if(62===t){let n=a.toLowerCase();return oJ.includes(n)?(e.consume(t),M):S(t)}return od(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),T):S(t)}function O(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),L):S(t)}function M(t){return null===t||oy(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),M)}function D(n){return e.exit("htmlFlow"),t(n)}}},61:oX,95:oF,96:o5,126:o5},sf={38:o6,92:o8},sp={[-5]:o9,[-4]:o9,[-3]:o9,33:si,38:o6,42:so,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return od(t)?(e.consume(t),a):64===t?n(t):s(t)}function a(t){return 43===t||45===t||46===t||oh(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||oh(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||op(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):of(t)?(e.consume(t),s):n(t)}function l(i){return oh(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||oh(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),w):63===t?(e.consume(t),y):od(t)?(e.consume(t),C):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,f):od(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),h):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):oy(t)?(a=c,T(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),h):c(t)}function h(e){return 62===e?I(e):45===e?d(e):c(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:f):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):oy(t)?(a=p,T(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?I(t):93===t?(e.consume(t),g):p(t)}function v(t){return null===t||62===t?I(t):oy(t)?(a=v,T(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):oy(t)?(a=y,T(t)):(e.consume(t),y)}function b(e){return 62===e?I(e):y(e)}function w(t){return od(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||oh(t)?(e.consume(t),x):function t(n){return oy(n)?(a=t,T(n)):ow(n)?(e.consume(n),t):I(n)}(t)}function C(t){return 45===t||oh(t)?(e.consume(t),C):47===t||62===t||ob(t)?
27E(t):n(t)}function E(t){return 47===t?(e.consume(t),I):58===t||95===t||od(t)?(e.consume(t),S):oy(t)?(a=E,T(t)):ow(t)?(e.consume(t),E):I(t)}function S(t){return 45===t||46===t||58===t||95===t||oh(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),A):oy(n)?(a=t,T(n)):ow(n)?(e.consume(n),t):E(n)}(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):oy(t)?(a=A,T(t)):ow(t)?(e.consume(t),A):(e.consume(t),N)}function k(t){return t===r?(e.consume(t),r=void 0,P):null===t?n(t):oy(t)?(a=k,T(t)):(e.consume(t),k)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||ob(t)?E(t):(e.consume(t),N)}function P(e){return 47===e||62===e||ob(e)?E(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function T(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return ow(t)?oS(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),a(t)}}}],91:sl,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return oy(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},o8],93:se,95:so,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",s(o))}(l)):oy(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||oy(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}},sm={null:[so,oL]},sg={null:[42,95]},sv={null:[]},sy=/[\0\t\n\r]/g;function sb(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let sw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function sx(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return sb(n.slice(t?2:1),t?16:10)}return o3(n)||e}let sC={}.hasOwnProperty;function sE(e){return{line:e.line,column:e.column,offset:e.offset}}function sS(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+aG({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+aG({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+aG({start:t.start,end:t.end})+") is still open")}function sA(e){let t=this;t.parser=function(n){var r,i;let o,s,l,u;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(p),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(f),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(f,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:u,htmlText:r(g,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(v),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(p),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=sb(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=o3(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=sE(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=oG(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(sw,sx),n.identifier=oG(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=sE(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
27ype)&&(u.call(this,e),c.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=oG(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(sC.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:l,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,i,a,o,s=t-1,l=-1,u=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,a=void 0,o=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];sC.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},o),e[c][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||sS).call(o,void 0,e[0])}for(r.position={start:sE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:sE(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||sS).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+aG({start:e.start,end:e.end})+"): it’s not open");n.position.end=sE(e.end)}function l(){return or(this.stack.pop(),"boolean"!=typeof on.includeImageAlt||on.includeImageAlt,"boolean"!=typeof on.includeHtml||on.includeHtml)}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:sE(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=sE(e.end)}function d(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function p(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!ou(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(oc.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];if(a)for(r in a){oc.call(i,r)||(i[r]=[]);let e=a[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);oa(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([a,...(e||{}).extensions||[]]),content:n(oA),defined:[],document:n(ok),flow:n(oO),lazy:{},string:n(oM),text:n(oD)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
27olumn:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],l={attempt:p(function(e,t){m(e,t.from)}),check:p(f),consume:function(e){oy(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=h(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=h(),u.events.push(["exit",t,u]),t},interrupt:p(f,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,o=e[r];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":"	";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=oo(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==o[o.length-1])?[]:(m(t,0),u.events=o7(a,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&a.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,o)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[a].slice(0,o))}return n}(o,e)}function h(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function f(e,t){t.restore()}function p(e,t){return function(n,i,a){var o;let c,d,f,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,d=0,0===e.length)?a:v(e[d])}function v(e){return function(n){return(p=function(){let e=h(),t=u.previous,n=u.currentConstruct,i=u.events.length,a=Array.from(s);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=a,g()}}}(),f=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,y,b)(n)}}function y(t){return e(f,p),i}function b(e){return(p.restore(),++d<c.length)?v(c[d]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&oa(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((s=1,l="",u=!0,function(e,t,n){let r,i,a,c,d,h=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,l="",u&&(65279===e.charCodeAt(0)&&a++,u=void 0);a<e.length;){if(sy.lastIndex=a,c=(r=sy.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){l=e.slice(a);break}if(10===d&&a===c&&o)h.push(-3),o=void 0;else switch(o&&(h.push(-5),o=void 0),a<c&&(h.push(e.slice(a,c)),s+=c-a),d){case 0:h.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),h.push(-2);s++<i;)h.push(-1);break;case 10:h.push(-4),s=1;break;default:o=!0,s=1}a=c+1}return n&&(o&&h.push(-5),l&&h.push(l),h.push(null)),h})(n,r,!0))))}}let sk="object"==typeof self?self:globalThis,sN=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new sk[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new sk[a](o),i)};return r})(new Map,e)(0),{toString:sP}={},{keys:sI}=Object,sT=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=sP.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},sO=([e,t])=>0===e&&("function"===t||"symbol"===t),sL=(e,{json:t,lossy:n}={})=>{let r=[];return((e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=sT(r);switch(o){case 0:{let t=r;switch(s){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());let n=[],l=i([o,n],r);for(let t of sI(r))(e||!sO(sT(r[t])))&&n.push([a(t),a(r[t])]);return l}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);
27for(let[n,i]of r)(e||!(sO(sT(n))||sO(sT(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!sO(sT(n)))&&t.push(a(n));return n}}let{message:l}=r;return i([o,{name:s,message:l}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},sM="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?sN(sL(e,t)):structuredClone(e):(e,t)=>sN(sL(e,t));function sD(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o="";if(37===a&&oh(e.charCodeAt(n+1))&&oh(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function sj(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function s_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let sR=function(e){var t,n;if(null==e)return sz;if("function"==typeof e)return sF(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=sR(e[n]);return sF(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,sF(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,sF(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function sF(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function sz(){return!0}let sB=[];function sV(e,t,n,r){let i,a,o,s;"function"==typeof t&&"function"!=typeof n?(a=void 0,o=t,i=n):(a=t,o=n,i=r);var l=a,u=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},c=i;"function"==typeof l&&"function"!=typeof u?(c=u,u=l):s=l;let d=sR(s),h=c?-1:1;(function e(t,n,r){let i=t&&"object"==typeof t?t:{};if("string"==typeof i.type){let e="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(a,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return a;function a(){var i;let a,o,s,f=sB;if((!l||d(t,n,r[r.length-1]||void 0))&&!1===(f=Array.isArray(i=u(t,r))?i:"number"==typeof i?[!0,i]:null==i?sB:[i])[0])return f;if("children"in t&&t.children&&t.children&&"skip"!==f[0])for(o=(c?t.children.length:-1)+h,s=r.concat(t);o>-1&&o<t.children.length;){if(!1===(a=e(t.children[o],o,s)())[0])return a;o="number"==typeof a[1]?a[1]:o+h}return f}})(e,void 0,[])()}function sU(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function sq(e){let t=e.spread;return null==t?e.children.length>1:t}function sH(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let sZ={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
27,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=sD(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sU(e,t);let i={src:sD(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:sD(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sU(e,t);let i={href:sD(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:sD(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=sq(n[r])}return t}(n):sq(t),a={},o=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=aZ(t.children[1]),o=aH(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:"element",tagName:"table",properties:{}
27,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,o=a?a.length:t.children.length,s=-1,l=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(sH(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(sH(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:sW,yaml:sW,definition:sW,footnoteDefinition:sW};function sW(){}let sG={}.hasOwnProperty,s$={};function sK(e,t){e.position&&(t.position=function(e){let t=aZ(e),n=aH(e);if(t&&n)return{start:t,end:n}}(e))}function sY(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,sM(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function sX(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function sQ(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function sJ(e,t){let n=function(e,t){let n=t||s$,r=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=sQ(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=sQ(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:sY,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...sZ,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(sG.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=sM(n);return r.children=a.all(e),r}return sM(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(sG.call(n,"hProperties")||sG.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(a,e,t)},options:n,patch:sK,wrap:sX};return sV(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||sj,r=e.options.footnoteBackLabel||s_,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),u=sD(o.toLowerCase()),c=0,d=[],h=e.footnoteCounts.get(o);for(;void 0!==h&&++c<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}
27let f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else a.push(...d);let p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(a,!0)};e.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...sM(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:"\n"},i),a}function s0(e,t){return e&&"run"in e?async function(n,r){let i=sJ(n,{file:r,...t});await e.run(i,r)}:function(n,r){return sJ(n,{file:r,...e||t})}}function s1(e){if(e)throw e}var s2=n(28392);function s5(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let s4={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');s3(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(s3(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;s3(e);let n=e.length,r=-1,i=0,a=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||r<0||0===o||1===o&&a===r-1&&a===i+1?"":e.slice(a,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)s3(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){s3(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function s3(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let s6={cwd:function(){return"/"}};function s8(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let s9=["history","path","basename","stem","extname","dirname"];class s7{constructor(e){let t,n;t=e?s8(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":s6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<s9.length;){let e=s9[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)s9.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?s4.basename(this.path):void 0}set basename(e){lt(e,"basename"),le(e,"basename"),this.path=s4.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?s4.dirname(this.path):void 0}set dirname(e){ln(this.basename,"dirname"),this.path=s4.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?s4.extname(this.path):void 0}set extname(e){if(le(e,"extname"),ln(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");
27if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=s4.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){s8(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!s8(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),lt(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?s4.basename(this.path,this.extname):void 0}set stem(e){lt(e,"stem"),le(e,"stem"),this.path=s4.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new aX(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function le(e,t){if(e&&e.includes(s4.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+s4.sep+"`")}function lt(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function ln(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let lr=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},li={}.hasOwnProperty;class la extends lr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...o){let s=e[++n],l=-1;if(a)return void r(a);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let n;return function(...t){let a,o=e.length>t.length;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new la,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(s2(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(lu("data",this.frozen),this.namespace[e]=t,this):li.call(this.namespace,e)&&this.namespace[e]||void 0:e?(lu("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=lh(e),n=this.parser||this.Parser;return ls("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),ls("process",this.parser||this.Parser),ll("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=lh(e),o=n.parse(a);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(o,a,function(e,t,r){var i,a;if(e||!t||!r)return s(e);let o=n.stringify(t,r);"string"==typeof(i=o)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=o:r.result=
27o,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),ls("processSync",this.parser||this.Parser),ll("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,s1(e),t=r}),ld("processSync","process",n),t}run(e,t,n){lc(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=lh(t);r.run(e,o,function(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){s1(e),n=t,r=!0}),ld("runSync","run",r),n}stringify(e,t){this.freeze();let n=lh(t),r=this.compiler||this.Compiler;return ll("stringify",r),lc(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(lu("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=s2(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)o(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;o(e,t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];s5(o)&&s5(r)&&(r=s2(!0,o,r)),n[i]=[e,r,...a]}}}}let lo=new la().freeze();function ls(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function ll(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function lu(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function lc(e){if(!s5(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function ld(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function lh(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new s7(e)}let lf=[],lp={allowDangerousHtml:!0},lm=/^(https?|ircs?|mailto|xmpp)$/i,lg=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function lv(e){let t=function(e){let t=e.rehypePlugins||lf,n=e.remarkPlugins||lf,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...lp}:lp;return lo().use(sA).use(n).use(s0,r).use(t)}(e),n=function(e){let t=e.children||"",n=new s7;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,u=t.urlTransform||ly;for(let e of lg)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return sV(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ot)if(Object.hasOwn(ot,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ot[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!a&&a.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,i)),o&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,a;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=t.jsxDEV,o=function(e,t,i,a){let o=Array.isArray(i.children),s=aZ(e);return r(t,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
27if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,o=function(e,t,n,r){let o=Array.isArray(n.children)?a:i;return r?o(t,n,r):o(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?a_:aj,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=a4(l,e,void 0);return u&&"string"!=typeof u?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}(e,{Fragment:o.Fragment,components:i,ignoreInvalidStyle:!0,jsx:o.jsx,jsxs:o.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function ly(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||lm.test(e.slice(0,t))?e:""}let lb=e=>{let{messages:t}=e;return t.map(e=>"bot"===e.from?(0,o.jsx)(lw,{content:e.content},e.id):(0,o.jsx)(lx,{content:e.content,isSending:e.state===eT.y8Z.sending},e.id))},lw=e=>{let{content:t}=e;return(0,o.jsx)("div",{className:"flex justify-start",children:(0,o.jsx)("div",{className:"max-w-xs break-words rounded-lg rounded-tl-none border bg-white px-4 py-2 text-sm font-normal text-[#1D1D1B]",children:(0,o.jsx)(lv,{children:t})})})},lx=e=>{let{content:t,isSending:n}=e;return(0,o.jsx)("div",{className:"flex justify-end",children:(0,o.jsx)("div",{className:(0,l.cn)("max-w-xs break-all rounded-lg rounded-tr-none bg-[#0A4979] px-4 py-2 text-sm font-normal text-white",{"bg-opacity-70":n}),children:t})})};var lC=n(71979),lE=n(52535),lS="ScrollArea",[lA,lk]=(0,m.A)(lS),[lN,lP]=lA(lS),lI=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:a=600,...s}=e,[l,c]=u.useState(null),[d,h]=u.useState(null),[p,m]=u.useState(null),[g,v]=u.useState(null),[y,w]=u.useState(null),[x,C]=u.useState(0),[E,S]=u.useState(0),[A,k]=u.useState(!1),[N,P]=u.useState(!1),I=(0,f.s)(t,e=>c(e)),T=(0,lC.jH)(i);return(0,o.jsx)(lN,{scope:n,type:r,dir:T,scrollHideDelay:a,scrollArea:l,viewport:d,onViewportChange:h,content:p,onContentChange:m,scrollbarX:g,onScrollbarXChange:v,scrollbarXEnabled:A,onScrollbarXEnabledChange:k,scrollbarY:y,onScrollbarYChange:w,scrollbarYEnabled:N,onScrollbarYEnabledChange:P,onCornerWidthChange:C,onCornerHeightChange:S,children:(0,o.jsx)(b.sG.div,{dir:T,...s,ref:I,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})});lI.displayName=lS;var lT="ScrollAreaViewport",lO=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,s=lP(lT,n),l=u.useRef(null),c=(0,f.s)(t,l,s.onViewportChange);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,o.jsx)(b.sG.div,{"data-radix-scroll-area-viewport":"",...a,ref:c,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,o.jsx)("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});lO.displayName=lT;var lL="ScrollAreaScrollbar",lM=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=lP(lL,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=i,l="horizontal"===e.orientation;return u.useEffect(()=>(l?a(!0):s(!0),()=>{l?a(!1):s(!1)}),[l,a,s]),"hover"===i.type?(0,o.jsx)(lD,{...r,ref:t,forceMount:n}):"scroll"===i.type?(0,o.jsx)(lj,{...r,ref:t,forceMount:n}):"auto"===i.type?(0,o.jsx)(l_,{...r,ref:t,forceMount:n}):"always"===i.type?(0,o.jsx)(lR,{...r,ref:t}):null});lM.displayName=lL;var lD=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=lP(lL,e.__scopeScrollArea),[a,s]=u.useState(!1);return u.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),s(!0)},r=()=>{t=window.setTimeout(()=>s(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[i.scrollArea,i.scrollHideDelay]),(0,o.jsx)(y.C,{present:n||a,children:(0,o.jsx)(l_,{"data-state":a?"visible":"hidden",...r,ref:t})})}),lj=u.forwardRef((e,t)=>
27{var n;let{forceMount:r,...i}=e,a=lP(lL,e.__scopeScrollArea),s="horizontal"===e.orientation,l=l1(()=>d("SCROLL_END"),100),[c,d]=(n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},u.useReducer((e,t)=>n[e][t]??e,"hidden"));return u.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>d("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,a.scrollHideDelay,d]),u.useEffect(()=>{let e=a.viewport,t=s?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(d("SCROLL"),l()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[a.viewport,s,d,l]),(0,o.jsx)(y.C,{present:r||"hidden"!==c,children:(0,o.jsx)(lR,{"data-state":"hidden"===c?"hidden":"visible",...i,ref:t,onPointerEnter:(0,h.mK)(e.onPointerEnter,()=>d("POINTER_ENTER")),onPointerLeave:(0,h.mK)(e.onPointerLeave,()=>d("POINTER_LEAVE"))})})}),l_=u.forwardRef((e,t)=>{let n=lP(lL,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,s]=u.useState(!1),l="horizontal"===e.orientation,c=l1(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;s(l?e:t)}},10);return l2(n.viewport,c),l2(n.content,c),(0,o.jsx)(y.C,{present:r||a,children:(0,o.jsx)(lR,{"data-state":a?"visible":"hidden",...i,ref:t})})}),lR=u.forwardRef((e,t)=>{let{orientation:n="vertical",...r}=e,i=lP(lL,e.__scopeScrollArea),a=u.useRef(null),s=u.useRef(0),[l,c]=u.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=lY(l.viewport,l.content),h={...r,sizes:l,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function f(e,t){return function(e,t,n,r="ltr"){let i=lX(n),a=t||i/2,o=n.scrollbar.paddingStart+a,s=n.scrollbar.size-n.scrollbar.paddingEnd-(i-a),l=n.content-n.viewport;return lJ([o,s],"ltr"===r?[0,l]:[-1*l,0])(e)}(e,s.current,l,t)}return"horizontal"===n?(0,o.jsx)(lF,{...h,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=lQ(i.viewport.scrollLeft,l,i.dir);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,i.dir))}}):"vertical"===n?(0,o.jsx)(lz,{...h,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=lQ(i.viewport.scrollTop,l);a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}}):null}),lF=u.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=lP(lL,e.__scopeScrollArea),[s,l]=u.useState(),c=u.useRef(null),d=(0,f.s)(t,c,a.onScrollbarXChange);return u.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),(0,o.jsx)(lU,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":lX(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),function(e,t){return e>0&&e<t}(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&s&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:lK(s.paddingLeft),paddingEnd:lK(s.paddingRight)}})}})}),lz=u.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=lP(lL,e.__scopeScrollArea),[s,l]=u.useState(),c=u.useRef(null),d=(0,f.s)(t,c,a.onScrollbarYChange);return u.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),(0,o.jsx)(lU,{"data-orientation":"vertical",...i,ref:d,sizes:n,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":lX(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>
27e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),function(e,t){return e>0&&e<t}(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&s&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:lK(s.paddingTop),paddingEnd:lK(s.paddingBottom)}})}})}),[lB,lV]=lA(lL),lU=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:p,onResize:m,...g}=e,v=lP(lL,n),[y,x]=u.useState(null),C=(0,f.s)(t,e=>x(e)),E=u.useRef(null),S=u.useRef(""),A=v.viewport,k=r.content-r.viewport,N=(0,w.c)(p),P=(0,w.c)(c),I=l1(m,10);function T(e){E.current&&d({x:e.clientX-E.current.left,y:e.clientY-E.current.top})}return u.useEffect(()=>{let e=e=>{let t=e.target;y?.contains(t)&&N(e,k)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[A,y,k,N]),u.useEffect(P,[r,P]),l2(y,I),l2(v.content,I),(0,o.jsx)(lB,{scope:n,scrollbar:y,hasThumb:i,onThumbChange:(0,w.c)(a),onThumbPointerUp:(0,w.c)(s),onThumbPositionChange:P,onThumbPointerDown:(0,w.c)(l),children:(0,o.jsx)(b.sG.div,{...g,ref:C,style:{position:"absolute",...g.style},onPointerDown:(0,h.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),E.current=y.getBoundingClientRect(),S.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),T(e))}),onPointerMove:(0,h.mK)(e.onPointerMove,T),onPointerUp:(0,h.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=S.current,v.viewport&&(v.viewport.style.scrollBehavior=""),E.current=null})})})}),lq="ScrollAreaThumb",lH=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=lV(lq,e.__scopeScrollArea);return(0,o.jsx)(y.C,{present:n||i.hasThumb,children:(0,o.jsx)(lZ,{ref:t,...r})})}),lZ=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=lP(lq,n),s=lV(lq,n),{onThumbPositionChange:l}=s,c=(0,f.s)(t,e=>s.onThumbChange(e)),d=u.useRef(void 0),p=l1(()=>{d.current&&(d.current(),d.current=void 0)},100);return u.useEffect(()=>{let e=a.viewport;if(e){let t=()=>{p(),d.current||(d.current=l0(e,l),l())};return l(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[a.viewport,p,l]),(0,o.jsx)(b.sG.div,{"data-state":s.hasThumb?"visible":"hidden",...i,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:(0,h.mK)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;s.onThumbPointerDown({x:n,y:r})}),onPointerUp:(0,h.mK)(e.onPointerUp,s.onThumbPointerUp)})});lH.displayName=lq;var lW="ScrollAreaCorner",lG=u.forwardRef((e,t)=>{let n=lP(lW,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&r?(0,o.jsx)(l$,{...e,ref:t}):null});lG.displayName=lW;var l$=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=lP(lW,n),[a,s]=u.useState(0),[l,c]=u.useState(0),d=!!(a&&l);return l2(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),l2(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),s(e)}),d?(0,o.jsx)(b.sG.div,{...r,ref:t,style:{width:a,height:l,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function lK(e){return e?parseInt(e,10):0}function lY(e,t){let n=e/t;return isNaN(n)?0:n}function lX(e){let t=lY(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-n)*t,18)}function lQ(e,t,n="ltr"){let r=lX(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=(0,lE.q)(e,"ltr"===n?[0,o]:[-1*o,0]);return lJ([0,o],[0,a-r])(s)}function lJ(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var l0=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return!function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function l1(e,t){let n=(0,w.c)(e),r=u.useRef(0);return u.useEffect(()=>()=>window.clearTimeout(r.current),[]),u.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function l2(e,t){let n=(0,w.c)(t);(0,C.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}let l5=u.forwardRef((e,t)=>
27{let{className:n,viewportClassName:r,children:i,...a}=e;return(0,o.jsxs)(lI,{ref:t,className:(0,l.cn)("relative overflow-hidden bg-transparent",n),...a,children:[(0,o.jsx)(lO,{className:(0,l.cn)("size-full rounded-[inherit]",r),children:i}),(0,o.jsx)(l4,{}),(0,o.jsx)(lG,{})]})});l5.displayName=lI.displayName;let l4=u.forwardRef((e,t)=>{let{className:n,orientation:r="vertical",...i}=e;return(0,o.jsx)(lM,{ref:t,orientation:r,className:(0,l.cn)("flex touch-none select-none transition-colors",{"h-full w-2.5 border-l border-l-transparent p-[1px]":"vertical"===r,"h-2.5 flex-col border-t border-t-transparent p-[1px]":"horizontal"===r},n),...i,children:(0,o.jsx)(lH,{className:"relative flex-1 rounded-full bg-gray-300"})})});l4.displayName=lM.displayName;let l3=e=>{let{messages:t,setShowWindow:n,showWindow:r,sendMessage:i,isBotWriting:a}=e,s=(0,u.useRef)(null),c=(0,l.al)();return(0,u.useEffect)(()=>{s.current&&s.current.scrollIntoView({behavior:"smooth"})},[t]),(0,u.useEffect)(()=>(document.body.style.overflow=c&&r?"hidden":"",()=>{document.body.style.overflow=""}),[c,r]),(0,o.jsx)(ar.Zp,{className:(0,l.cn)("bottom-20 right-6 h-[516px] w-[340px] rounded-2xl border-none bg-gray-50 p-0",{"fixed bottom-0 right-0 size-full rounded-none":c}),style:{boxShadow:"0px 12px 28px 0px #00000014, -16px 12px 68px 0px #00000026"},children:(0,o.jsxs)(ar.Wu,{className:"flex size-full flex-col items-center justify-between p-0",children:[(0,o.jsxs)(ar.aR,{className:(0,l.cn)("flex h-[70px] w-full flex-row items-center justify-between rounded-t-2xl bg-[#01375F] p-4",{"rounded-none":c}),children:[(0,o.jsxs)("div",{className:"flex flex-row items-center justify-center gap-3",children:[(0,o.jsx)("div",{className:"flex size-[40px] items-center justify-center rounded-full bg-[#439BDD] p-0",children:(0,o.jsx)(ae,{size:20,weight:"fill",fill:"#01375F"})}),(0,o.jsx)("p",{className:"text-white",children:"Assistant Virtuel"})]}),(0,o.jsx)("div",{className:"flex items-center justify-end gap-2",children:(0,o.jsx)(l6,{onClick:()=>n(!1),children:(0,o.jsx)(at.X,{size:16,weight:"bold",fill:"#FFFFFF"})})})]}),(0,o.jsx)("div",{className:"flex size-full max-h-[calc(100%-146px)] flex-col justify-end",children:(0,o.jsx)(l5,{className:"px-4 py-2",children:(0,o.jsxs)("div",{className:"flex flex-col justify-end gap-2",children:[(0,o.jsx)(lb,{messages:t}),a?(0,o.jsx)("p",{className:"text-xs text-gray-500",children:"L'assistant est en train d'\xe9crire..."}):null,(0,o.jsx)("div",{ref:s})]})})}),(0,o.jsx)(ar.wL,{className:"flex h-[76px] w-full flex-row items-center justify-between gap-2 rounded-b-2xl border-t bg-white px-6 py-4",children:(0,o.jsx)(l8,{submit:i})})]})})},l6=e=>{let{children:t,onClick:n}=e;return(0,o.jsx)(eB.$,{onClick:n,variant:"null",className:"size-8 rounded-md bg-[#FFFFFF4D] p-1",children:t})},l8=e=>{let{submit:t}=e,[n,r]=(0,u.useState)(""),i=(0,u.useCallback)(()=>{n&&(t(n),r(""))},[n,t]);return(0,u.useEffect)(()=>{let e=e=>{"Enter"===e.key&&i()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n,i]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ai.p,{value:n,onChange:e=>r(e.target.value),className:"size-full rounded-lg placeholder:text-gray-500",placeholder:"Posez moi une question..."}),(0,o.jsx)(eB.$,{variant:"null",className:"p-0",onClick:i,id:"chat-bot-send",children:(0,o.jsx)(an.M,{size:21,weight:"fill",fill:"#287BB9"})})]})},l9=e=>{let{className:t,context:n}=e;return(0,o.jsxs)("div",{className:(0,l.cn)("absolute bottom-4 right-4 z-[9999] flex flex-col items-end gap-4",t),children:[n.showWindow?(0,o.jsx)(l3,{...n}):null,n.showWidget?(0,o.jsx)(i8,{setShowWindow:n.setShowWindow}):null]})},l7=()=>{let e=(0,r2.h)(),{user:t}=(0,eI.u)();return t?(0,o.jsx)(rJ.f$,{ws:e,messages:[],app:rS.RagFaqPlatform.webApp,children:(0,o.jsx)(ue,{})}):null},ue=()=>{let e=(0,rJ.PS)();return(0,o.jsx)(l9,{context:e,className:"fixed"})};(0,ef.eO)(!1);let ut="v2-data-reset";localStorage.getItem(ut)||(localStorage.clear(),sessionStorage.clear(),iL.yK.signOut().catch(()=>{}),localStorage.setItem(ut,"done")),(0,s.Myb)(rA.A.API_URL),(0,s.DTS)("webApp");let un=em()(()=>n.e(6018).then(n.bind(n,6889)),{loadableGenerated:{webpack:()=>[6889]},ssr:!1});function ur(e){let{children:t}=e,{user:n,isLoading:r,isAuthenticated:i}=(0,eI.u)(),a=(0,eg.useRouter)();return(0,u.useEffect)(()=>{!r&&i&&n&&!n.profileComplete&&n.hasSocialAccount&&"/complete-profile"!==a.pathname&&a.replace("/complete-profile")},[n,r,i,a]),(0,o.jsx)(o.Fragment,{children:t})}function ui(){var e;let[t,n]=(0,u.useState)(!1),r=(0,eg.useRouter)();(0,u.useEffect)(()=>{n(!0)},[]);let i=null==(e=rA.A.API_URL)?void 0:e.includes("preprod");return t&&i?(0,o.jsx)(un,{rootDir:"/Users/antoineliu/ac-expo",projectId:"8086c22e-4665-4992-a74c-4c3888092b8c",navigate:e=>{r.push(e)},position:"bottom-left"}):null}let ua=function(e){var t;let{Component:n,pageProps:r}=e,i=(0,l.al)(),a=null!=(t=n.getLayout)?t:e=>(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(i$.h,{children:[(0,o.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,o.jsx)(eN,{}),(0,o.jsx)(iG,{}),e,i?(0,o.jsx)(rQ,{}):(0,o.jsx)(rX,{})]}),(0,o.jsx)(eE.A,{}),(0,o.jsx)(l7,{}),(0,o.jsx)(ui,{})]})});return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(eh.Ht,{client:i6,children:[(0,o.jsx)(ec,{}),(0,o.jsx)(ed.Bc,{children:(0,o.jsx)(rH.n,{children:(0,o.jsx)(eC,{children:(0,o.jsx)(eI.v,{children:(0,o.jsx)(ur,{children:(0,o.jsx)(r2.f,{children:(0,o.jsx)(r6._,{children:(0,o.jsx)(iF.e,{children:(0,o.jsx)(r3,{children:a((0,o.jsx)(n,{...r}))})})})})})})})})})]})})}},94194:(e,t,n)=>{"use strict";function r(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function i(e){return!!(e&&"object"==typeof e&&"from"in e)}function a(e){return!!(e&&"object"==typeof e&&"after"in e)}function o(e){return!!(e&&"object"==typeof e&&"before"in e)}function s(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function l(e,t){return Array.isArray(e)&&e.every(t.isDate)}n.d(t,{Hg:()=>l,OE:()=>s,RE:()=>a,Ue:()=>o,m4:()=>r,oM:()=>i})}
27,95149:(e,t,n)=>{var r=n(620),i=n(4650),a=n(50874);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},95345:(e,t,n)=>{var r=n(4650);e.exports=function(){this.__data__=new r,this.size=0}},95747:(e,t,n)=>{"use strict";let r=n(1853),i=n(51826),a=n(38535).TF,o={},s={},l={},u={},c={};function d(e){return String("000"+(e||"")).slice(-3)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){switch(e){case"official":return Array.isArray(t)?t[0]:t;case"all":return"string"==typeof t?[t]:t;case"alias":return Array.isArray(t)?t[1]||t[0]:t;default:throw TypeError("LocaleNameType must be one of these: all, official, alias!")}}r.forEach(function(e){s[e[0]]=e[1],l[e[1]]=e[0],u[e[2]]=e[0],c[e[0]]=e[2]});function p(e){return s[u[d(e)]]}function m(e){return u[d(e)]}function g(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return m(e);if(2===e.length)return e.toUpperCase();if(3===e.length)return l[e.toUpperCase()]}if("number"==typeof e)return m(e)}t.registerLocale=function(e){if(!e.locale)throw TypeError("Missing localeData.locale");if(!e.countries)throw TypeError("Missing localeData.countries");o[e.locale]=e.countries},t.alpha3ToAlpha2=function(e){return l[e]},t.alpha2ToAlpha3=function(e){return s[e]},t.alpha3ToNumeric=function(e){return c[l[e]]},t.alpha2ToNumeric=function(e){return c[e]},t.numericToAlpha3=p,t.numericToAlpha2=m,t.toAlpha3=function(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return p(e);if(2===e.length)return s[e.toUpperCase()];if(3===e.length)return e.toUpperCase()}if("number"==typeof e)return p(e)},t.toAlpha2=g,t.getName=function(e,t,n={}){"select"in n||(n.select="official");try{let r=o[t.toLowerCase()][g(e)];return f(n.select,r)}catch(e){return}},t.getNames=function(e,t={}){var n;"select"in t||(t.select="official");let r=o[e.toLowerCase()];return void 0===r?{}:(n=function(e){return f(t.select,e)},Object.keys(r).reduce(function(e,t){let i=r[t];return e[t]=n(i,t),e},{}))},t.getAlpha2Code=function(e,t){let n=e=>e.toLowerCase(),r=(e,t)=>n(e)===n(t);try{let n=o[t.toLowerCase()];for(let t in n)if(h(n,t)){if("string"==typeof n[t]&&r(n[t],e))return t;if(Array.isArray(n[t])){for(let i of n[t])if(r(i,e))return t}}return}catch(e){return}},t.getSimpleAlpha2Code=function(e,t){let n=e=>a(e.toLowerCase()),r=(e,t)=>n(e)===n(t);try{let n=o[t.toLowerCase()];for(let t in n)if(h(n,t)){if("string"==typeof n[t]&&r(n[t],e))return t;if(Array.isArray(n[t])){for(let i of n[t])if(r(i,e))return t}}return}catch(e){return}},t.getAlpha2Codes=function(){return s},t.getAlpha3Code=function(e,n){let r=t.getAlpha2Code(e,n);return r?t.toAlpha3(r):void 0},t.getSimpleAlpha3Code=function(e,n){let r=t.getSimpleAlpha2Code(e,n);return r?t.toAlpha3(r):void 0},t.getAlpha3Codes=function(){return l},t.getNumericCodes=function(){return u},t.langs=function(){return Object.keys(o)},t.getSupportedLanguages=function(){return i},t.isValid=function(e){if(!e)return!1;let t=e.toString().toUpperCase();return h(l,t)||h(s,t)||h(u,t)}},95752:(e,t,n)=>{"use strict";function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}n.d(t,{e:()=>r});let i=null},95819:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(14690),i=n(64507),a=n(50212);function o(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let o=e[n];for(let e in o){let n=t[e],s=o[e];"function"==typeof n&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof s?t[e]=(0,a.A)(n,s):"id"===e&&n&&s?t.id=(0,i.Tw)(n,s):t[e]=void 0!==s?s:n}}return t}},95913:(e,t,n)=>{"use strict";n.d(t,{jG:()=>i});var r=n(3789).Zq,i=function(){let e=[],t=0,n=e=>{e()},i=e=>{e()},a=r,o=r=>{t?e.push(r):a(()=>{n(r)})};return{batch:r=>{let o;t++;try{o=r()}finally{--t||(()=>{let t=e;e=[],t.length&&a(()=>{i(()=>
27{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{a=e}}}()},96024:(e,t,n)=>{var r=n(15051),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,o,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var h=u[d];if(!(l?h in t:i.call(t,h)))return!1}var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<c;){var v=e[h=u[d]],y=t[h];if(a)var b=l?a(y,v,h,t,e,s):a(v,y,h,e,t,s);if(!(void 0===b?v===y||o(v,y,n,a,s):b)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(m=!1)}return s.delete(e),s.delete(t),m}},96930:(e,t,n)=>{"use strict";n.d(t,{R:()=>l,A:()=>u});var r=n(6029),i=n(55729),a=n(11211);let o=new Map([["bold",i.createElement(i.Fragment,null,i.createElement("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"}))],["duotone",i.createElement(i.Fragment,null,i.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),i.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["fill",i.createElement(i.Fragment,null,i.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"}))],["light",i.createElement(i.Fragment,null,i.createElement("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"}))],["regular",i.createElement(i.Fragment,null,i.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["thin",i.createElement(i.Fragment,null,i.createElement("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"}))]]),s=i.forwardRef((e,t)=>
27i.createElement(a.A,{ref:t,...e,weights:o}));function l(){return(0,r.jsx)("div",{className:"flex size-full items-center justify-center",children:(0,r.jsx)(s,{className:"text-primary-600 animate-spin",size:30})})}s.displayName="SpinnerIcon";let u=l},97397:(e,t,n)=>{e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},97628:(e,t,n)=>{"use strict";n.d(t,{DX:()=>s,Dc:()=>u,TL:()=>o});var r=n(55729),i=n(40041),a=n(6029);function o(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){var o;let e,s,l=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,s=r.Children.toArray(i),l=s.find(c);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=o("Slot"),l=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},98051:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(6730);function i(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},98145:(e,t,n)=>{"use strict";var r=n(57388),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,t.string2buf=function(e){var t,n,i,a,o,s=e.length,l=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(o=0,t=new r.Buf8(l),a=0;o<l;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},t.buf2binstring=function(e){return l(e,e.length)},t.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},t.buf2string=function(e,t){var n,r,i,a,s=t||e.length,u=Array(2*s);for(r=0,n=0;n<s;){if((i=e[n++])<128){u[r++]=i;continue}if((a=o[i])>4){u[r++]=65533,n+=a-1;continue}for(i&=2===a?31:3===a?15:7;a>1&&n<s;)i=i<<6|63&e[n++],a--;if(a>1){u[r++]=65533;continue}i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return l(u,r)},t.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},98244:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}},98457:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(65436);function i(e,t){let n=(0,r.a)(e)-(0,r.a)(t);return n<0?-1:n>0?1:n}},98499:(e,t,n)=>{var r=n(33573),i=n(23356);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},98501:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},98777:(e,t,n)=>{"use strict";var r=n(57388).assign,i=n(36978),a=n(10798),o=n(47352),s={};r(s,i,a,o),e.exports=s},99034:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(88846);function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let a=r.w.bind(null,e||n.find(e=>"object"==typeof e));return n.map(a)}},99048:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}}
27,99452:(e,t,n)=>{var r=n(37390),i=n(91544);e.exports=function(e,t,n,a){return null==e?[]:(i(t)||(t=null==t?[]:[t]),i(n=a?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},99829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>a});var r=n(55729),i=n(6029);function a(e,t){let n=r.createContext(t),a=e=>{let{children:t,...a}=e,o=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(n.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],a=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(t,a){let o=r.createContext(a),s=n.length;n=[...n,a];let l=t=>{let{scope:n,children:a,...l}=t,u=n?.[e]?.[s]||o,c=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||o,u=r.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(a,...t)]}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(36021),t(77006))),_N_E=e.O()}]);
28//# sourceMappingURL=_app-da0834144249b46a.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.