1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3710],{60887:function(t,e,n){"use strict";n.d(e,{LB:function(){return tW},g4:function(){return g},Lg:function(){return tg},we:function(){return tx},pE:function(){return W},ey:function(){return z},VK:function(){return X},_8:function(){return U},hI:function(){return J},Cj:function(){return tq},O1:function(){return t$},Zj:function(){return tX},VT:function(){return I},Dy:function(){return D}});var r,i,o,a,s,u,l,c,f,d,h,p,m,g,y,v,b,w,x,C,E=n(67294),k=n(73935),S=n(24285);let R={display:"none"};function _(t){let{id:e,value:n}=t;return E.createElement("div",{id:e,style:R},n)}let A={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function M(t){let{id:e,announcement:n}=t;return E.createElement("div",{id:e,style:A,role:"status","aria-live":"assertive","aria-atomic":!0},n)}let j=(0,E.createContext)(null),O={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},T={onDragStart(t){let{active:e}=t;return"Picked up draggable item "+e.id+"."},onDragOver(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was moved over droppable area "+n.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was dropped over droppable area "+n.id:"Draggable item "+e.id+" was dropped."},onDragCancel(t){let{active:e}=t;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function P(t){let{announcements:e=T,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=O}=t,{announce:o,announcement:a}=function(){let[t,e]=(0,E.useState)(""),n=(0,E.useCallback)(t=>{null!=t&&e(t)},[]);return{announce:n,announcement:t}}(),s=(0,S.Ld)("DndLiveRegion"),[u,l]=(0,E.useState)(!1);if((0,E.useEffect)(()=>
1{l(!0)},[]),!function(t){let e=(0,E.useContext)(j);(0,E.useEffect)(()=>{if(!e)throw Error("useDndMonitor must be used within a children of <DndContext>");let n=e(t);return n},[t,e])}((0,E.useMemo)(()=>({onDragStart(t){let{active:n}=t;o(e.onDragStart({active:n}))},onDragMove(t){let{active:n,over:r}=t;e.onDragMove&&o(e.onDragMove({active:n,over:r}))},onDragOver(t){let{active:n,over:r}=t;o(e.onDragOver({active:n,over:r}))},onDragEnd(t){let{active:n,over:r}=t;o(e.onDragEnd({active:n,over:r}))},onDragCancel(t){let{active:n,over:r}=t;o(e.onDragCancel({active:n,over:r}))}}),[o,e])),!u)return null;let c=E.createElement(E.Fragment,null,E.createElement(_,{id:r,value:i.draggable}),E.createElement(M,{id:s,announcement:a}));return n?(0,k.createPortal)(c,n):c}function L(){}function I(t,e){return(0,E.useMemo)(()=>({sensor:t,options:null!=e?e:{}}),[t,e])}function D(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,E.useMemo)(()=>[...e].filter(t=>null!=t),[...e])}(r=h||(h={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let N=Object.freeze({x:0,y:0});function V(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function F(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return n-r}function B(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return r-n}function H(t){let{left:e,top:n,height:r,width:i}=t;return[{x:e,y:n},{x:e+i,y:n},{x:e,y:n+r},{x:e+i,y:n+r}]}function U(t,e){if(!t||0===t.length)return null;let[n]=t;return e?n[e]:n}function Z(t,e,n){return void 0===e&&(e=t.left),void 0===n&&(n=t.top),{x:e+.5*t.width,y:n+.5*t.height}}let W=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t,i=Z(e,e.left,e.top),o=[];for(let t of r){let{id:e}=t,r=n.get(e);if(r){let n=V(Z(r),i);o.push({id:e,data:{droppableContainer:t,value:n}})}}return o.sort(F)},z=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t,i=H(e),o=[];for(let t of r){let{id:e}=t,r=n.get(e);if(r){let n=H(r),a=i.reduce((t,e,r)=>t+V(n[r],e),0),s=Number((a/4).toFixed(4));o.push({id:e,data:{droppableContainer:t,value:s}})}}return o.sort(F)},G=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t,i=[];for(let t of r){let{id:r}=t,o=n.get(r);if(o){let n=function(t,e){let n=Math.max(e.top,t.top),r=Math.max(e.left,t.left),i=Math.min(e.left+e.width,t.left+t.width),o=Math.min(e.top+e.height,t.top+t.height);if(r<i&&n<o){let a=e.width*e.height,s=t.width*t.height,u=(i-r)*(o-n);return Number((u/(a+s-u)).toFixed(4))}return 0}(o,e);n>0&&i.push({id:r,data:{droppableContainer:t,value:n}})}}return i.sort(B)};function $(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:N}let q=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.reduce((t,e)=>({...t,top:t.top+1*e.y,bottom:t.bottom+1*e.y,left:t.left+1*e.x,right:t.right+1*e.x}),{...t})},Y={ignoreTransform:!1};function X(t,e){void 0===e&&(e=Y);let n=t.getBoundingClientRect();if(e.ignoreTransform){let{transform:e,transformOrigin:r}=(0,S.Jj)(t).getComputedStyle(t);e&&(n=function(t,e,n){let r=function(t){if(t.startsWith("matrix3d(")){let e=t.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}if(t.startsWith("matrix(")){let e=t.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}(e);if(!r)return t;let{scaleX:i,scaleY:o,x:a,y:s}=r,u=t.left-a-(1-i)*parseFloat(n),l=t.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?t.width/i:t.width,f=o?t.height/o:t.height;return{width:c,height:f,top:l,right:u+c,bottom:l+f,left:u}}(n,e,r))}let{top:r,left:i,width:o,height:a,bottom:s,right:u}=n;return{top:r,left:i,width:o,height:a,bottom:s,right:u}}function K(t){return X(t,{ignoreTransform:!0})}function J(t,e){let n=[];return t?function r(i){var o;if(null!=e&&n.length>=e||!i)return n;if((0,S.qk)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,S.Re)(i)||(0,S.vZ)(i)||n.includes(i))return n;let a=(0,S.Jj)(t).getComputedStyle(i);return(i!==t&&function(t,e){void 0===e&&(e=(0,S.Jj)(t).getComputedStyle(t));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(t=>{let r=e[t];return"string"==typeof r&&n.test(r)})}(i,a)&&n.push(i),void 0===(o=a)&&(o=(0,S.Jj)(i).getComputedStyle(i)),"fixed"===o.position)?n:r(i.parentNode)}(t):n}function Q(t){let[e]=J(t,1);return null!=e?e:null}function tt(t){return S.Nq&&t?(0,S.FJ)(t)?t:(0,S.UG)(t)?(0,S.qk)(t)||t===(0,S.r3)(t).scrollingElement?window:(0,S.Re)(t)?t:null:null:null}function te(t){return(0,S.FJ)(t)?t.scrollX:t.scrollLeft}function tn(t){return(0,S.FJ)(t)?t.scrollY:t.scrollTop}function tr(t){return{x:te(t),y:tn(t)}}function ti(t){return!!S.Nq&&!!t&&t===document.scrollingElement}function to(t){let e={x:0,y:0},n=ti(t)?{height:window.innerHeight,width:window.innerWidth}:{height:t.clientHeight,width:t.clientWidth},r={x:t.scrollWidth-n.width,y:t.scrollHeight-n.height},i=t.scrollTop<=e.y,o=t.scrollLeft<=e.x,a=t.scrollTop>=r.y,s=t.scrollLeft>=r.x;return{isTop:i,isLeft:o,isBottom:a,isRight:s,maxScroll:r,minScroll:e}}(i=p||(p={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ta={x:.2,y:.2};function ts(t){return t.reduce((t,e)=>(0,S.IH)(t,tr(e)),N)}let tu=[["x",["left","right"],function(t){return t.reduce((t,e)=>t+te(e),0)}],["y",["top","bottom"],function(t){return t.reduce((t,e)=>t+tn(e),0)}]];class tl{constructor(t,e){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=J(e),r=ts(n);for(let[e,i,o]of(this.rect={...t},this.width=t.width,this.height=t.height,tu))for(let t of i)Object.defineProperty(this,t,{get:()=>{let i=o(n),a=r[e]-i;return this.rect[t]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class tc{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>
1{this.listeners.forEach(t=>{var e;return null==(e=this.target)?void 0:e.removeEventListener(...t)})},this.target=t}add(t,e,n){var r;null==(r=this.target)||r.addEventListener(t,e,n),this.listeners.push([t,e,n])}}function tf(t,e){let n=Math.abs(t.x),r=Math.abs(t.y);return"number"==typeof e?Math.sqrt(n**2+r**2)>e:"x"in e&&"y"in e?n>e.x&&r>e.y:"x"in e?n>e.x:"y"in e&&r>e.y}function td(t){t.preventDefault()}function th(t){t.stopPropagation()}(o=m||(m={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(a=g||(g={})).Space="Space",a.Down="ArrowDown",a.Right="ArrowRight",a.Left="ArrowLeft",a.Up="ArrowUp",a.Esc="Escape",a.Enter="Enter";let tp={start:[g.Space,g.Enter],cancel:[g.Esc],end:[g.Space,g.Enter]},tm=(t,e)=>{let{currentCoordinates:n}=e;switch(t.code){case g.Right:return{...n,x:n.x+25};case g.Left:return{...n,x:n.x-25};case g.Down:return{...n,y:n.y+25};case g.Up:return{...n,y:n.y-25}}};class tg{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;let{event:{target:e}}=t;this.props=t,this.listeners=new tc((0,S.r3)(e)),this.windowListeners=new tc((0,S.Jj)(e)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(m.Resize,this.handleCancel),this.windowListeners.add(m.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(m.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:t,onStart:e}=this.props,n=t.node.current;n&&function(t,e){if(void 0===e&&(e=X),!t)return;let{top:n,left:r,bottom:i,right:o}=e(t),a=Q(t);a&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&t.scrollIntoView({block:"center",inline:"center"})}(n),e(N)}handleKeyDown(t){if((0,S.vd)(t)){let{active:e,context:n,options:r}=this.props,{keyboardCodes:i=tp,coordinateGetter:o=tm,scrollBehavior:a="smooth"}=r,{code:s}=t;if(i.end.includes(s)){this.handleEnd(t);return}if(i.cancel.includes(s)){this.handleCancel(t);return}let{collisionRect:u}=n.current,l=u?{x:u.left,y:u.top}:N;this.referenceCoordinates||(this.referenceCoordinates=l);let c=o(t,{active:e,context:n.current,currentCoordinates:l});if(c){let e=(0,S.$X)(c,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=t.code,{isTop:o,isRight:s,isLeft:u,isBottom:l,maxScroll:f,minScroll:d}=to(n),h=function(t){if(t===document.scrollingElement){let{innerWidth:t,innerHeight:e}=window;return{top:0,left:0,right:t,bottom:e,width:t,height:e}}let{top:e,left:n,right:r,bottom:i}=t.getBoundingClientRect();return{top:e,left:n,right:r,bottom:i,width:t.clientWidth,height:t.clientHeight}}(n),p={x:Math.min(i===g.Right?h.right-h.width/2:h.right,Math.max(i===g.Right?h.left:h.left+h.width/2,c.x)),y:Math.min(i===g.Down?h.bottom-h.height/2:h.bottom,Math.max(i===g.Down?h.top:h.top+h.height/2,c.y))},m=i===g.Right&&!s||i===g.Left&&!u,y=i===g.Down&&!l||i===g.Up&&!o;if(m&&p.x!==c.x){let t=n.scrollLeft+e.x,o=i===g.Right&&t<=f.x||i===g.Left&&t>=d.x;if(o&&!e.y){n.scrollTo({left:t,behavior:a});return}o?r.x=n.scrollLeft-t:r.x=i===g.Right?n.scrollLeft-f.x:n.scrollLeft-d.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(y&&p.y!==c.y){let t=n.scrollTop+e.y,o=i===g.Down&&t<=f.y||i===g.Up&&t>=d.y;if(o&&!e.x){n.scrollTo({top:t,behavior:a});return}o?r.y=n.scrollTop-t:r.y=i===g.Down?n.scrollTop-f.y:n.scrollTop-d.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(t,(0,S.IH)((0,S.$X)(c,this.referenceCoordinates),r))}}}handleMove(t,e){let{onMove:n}=this.props;t.preventDefault(),n(e)}handleEnd(t){let{onEnd:e}=this.props;t.preventDefault(),this.detach(),e()}handleCancel(t){let{onCancel:e}=this.props;t.preventDefault(),this.detach(),e()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ty(t){return Boolean(t&&"distance"in t)}function tv(t){return Boolean(t&&"delay"in t)}tg.activators=[{eventName:"onKeyDown",handler:(t,e,n)=>{let{keyboardCodes:r=tp,onActivation:i}=e,{active:o}=n,{code:a}=t.nativeEvent;if(r.start.includes(a)){let e=o.activatorNode.current;return(!e||t.target===e)&&(t.preventDefault(),null==i||i({event:t.nativeEvent}),!0)}return!1}}];class tb{constructor(t,e,n){var r;void 0===n&&(n=function(t){let{EventTarget:e}=(0,S.Jj)(t);return t instanceof e?t:(0,S.r3)(t)}(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=e;let{event:i}=t,{target:o}=i;this.props=t,this.events=e,this.document=(0,S.r3)(o),this.documentListeners=new tc(this.document),this.listeners=new tc(n),this.windowListeners=new tc((0,S.Jj)(o)),this.initialCoordinates=null!=(r=(0,S.DC)(i))?r:N,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:t,props:{options:{activationConstraint:e}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(m.Resize,this.handleCancel),this.windowListeners.add(m.DragStart,td),this.windowListeners.add(m.VisibilityChange,this.handleCancel),this.windowListeners.add(m.ContextMenu,td),this.documentListeners.add(m.Keydown,this.handleKeydown),e){if(ty(e))return;if(tv(e)){this.timeoutId=setTimeout(this.handleStart,e.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){let{initialCoordinates:t}=this,{onStart:e}=this.props;t&&(this.activated=!0,this.documentListeners.add(m.Click,th,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(m.SelectionChange,this.removeTextSelection),e(t))}handleMove(t){var e;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:a}}=i;if(!r)return;let s=null!=(e=(0,S.DC)(t))?e:N,u=(0,S.$X)(r,s);if(!n&&a){if(tv(a))return tf(u,a.tolerance)?this.handleCancel():void 0;if(ty(a))return null!=a.tolerance&&tf(u,a.tolerance)?this.handleCancel():tf(u,a.distance)?this.handleStart():void 0}t.cancelable&&t.preventDefault(),o(s)}handleEnd(){let{onEnd:t}=this.props;this.detach(),t()}handleCancel(){let{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===g.Esc&&this.handleCancel()}removeTextSelection(){var t;null==(t=this.document.getSelection())||t.removeAllRanges()}}let tw={move:{name:"pointermove"},end:{name:"pointerup"}};class tx extends tb{constructor(t){let{event:e}=t,n=(0,S.r3)(e.target);super(t,tw,n)}}tx.activators=[{eventName:"onPointerDown",handler:(t,e)=>{let{nativeEvent:n}=t,{onActivation:r}=e;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}],(s=y||(y={}))[s.RightClick=2]="RightClick",(u=v||(v={}))[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(l=b||(b={}
1))[l.TreeOrder=0]="TreeOrder",l[l.ReversedTreeOrder=1]="ReversedTreeOrder";let tC={x:{[p.Backward]:!1,[p.Forward]:!1},y:{[p.Backward]:!1,[p.Forward]:!1}};(c=w||(w={}))[c.Always=0]="Always",c[c.BeforeDragging=1]="BeforeDragging",c[c.WhileDragging=2]="WhileDragging",(x||(x={})).Optimized="optimized";let tE=new Map;function tk(t,e){return(0,S.Gj)(n=>t?n||("function"==typeof e?e(t):t):null,[e,t])}function tS(t){let{callback:e,disabled:n}=t,r=(0,S.zX)(e),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:t}=window;return new t(r)},[n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function tR(t){return new tl(X(t),t)}function t_(t,e,n){void 0===e&&(e=tR);let[r,i]=(0,E.useReducer)(function(r){if(!t)return null;if(!1===t.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=e(t);return JSON.stringify(r)===JSON.stringify(o)?r:o},null),o=function(t){let{callback:e,disabled:n}=t,r=(0,S.zX)(e),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:t}=window;return new t(r)},[r,n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(e){if(t)for(let n of e){let{type:e,target:r}=n;if("childList"===e&&r instanceof HTMLElement&&r.contains(t)){i();break}}}}),a=tS({callback:i});return(0,S.LI)(()=>{i(),t?(null==a||a.observe(t),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==o||o.disconnect())},[t]),r}let tA=[];function tM(t,e){void 0===e&&(e=[]);let n=(0,E.useRef)(null);return(0,E.useEffect)(()=>{n.current=null},e),(0,E.useEffect)(()=>{let e=t!==N;e&&!n.current&&(n.current=t),!e&&n.current&&(n.current=null)},[t]),n.current?(0,S.$X)(t,n.current):N}function tj(t){return(0,E.useMemo)(()=>t?function(t){let e=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:e,bottom:n,width:e,height:n}}(t):null,[t])}let tO=[],tT=[{sensor:tx,options:{}},{sensor:tg,options:{}}],tP={current:{}},tL={draggable:{measure:K},droppable:{measure:K,strategy:w.WhileDragging,frequency:x.Optimized},dragOverlay:{measure:X}};class tI extends Map{get(t){var e;return null!=t&&null!=(e=super.get(t))?e:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:e}=t;return!e})}getNodeFor(t){var e,n;return null!=(e=null==(n=this.get(t))?void 0:n.node.current)?e:void 0}}let tD={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new tI,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:L},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:tL,measureDroppableContainers:L,windowRect:null,measuringScheduled:!1},tN={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:L,draggableNodes:new Map,over:null,measureDroppableContainers:L},tV=(0,E.createContext)(tN),tF=(0,E.createContext)(tD);function tB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new tI}}}function tH(t,e){switch(e.type){case h.DragStart:return{...t,draggable:{...t.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case h.DragMove:if(!t.draggable.active)return t;return{...t,draggable:{...t.draggable,translate:{x:e.coordinates.x-t.draggable.initialCoordinates.x,y:e.coordinates.y-t.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...t,draggable:{...t.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=e,{id:r}=n,i=new tI(t.droppable.containers);return i.set(r,n),{...t,droppable:{...t.droppable,containers:i}}}case h.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=e,o=t.droppable.containers.get(n);if(!o||r!==o.key)return t;let a=new tI(t.droppable.containers);return a.set(n,{...o,disabled:i}),{...t,droppable:{...t.droppable,containers:a}}}case h.UnregisterDroppable:{let{id:n,key:r}=e,i=t.droppable.containers.get(n);if(!i||r!==i.key)return t;
1let o=new tI(t.droppable.containers);return o.delete(n),{...t,droppable:{...t.droppable,containers:o}}}default:return t}}function tU(t){let{disabled:e}=t,{active:n,activatorEvent:r,draggableNodes:i}=(0,E.useContext)(tV),o=(0,S.D9)(r),a=(0,S.D9)(null==n?void 0:n.id);return(0,E.useEffect)(()=>{if(!e&&!r&&o&&null!=a){if(!(0,S.vd)(o)||document.activeElement===o.target)return;let t=i.get(a);if(!t)return;let{activatorNode:e,node:n}=t;(e.current||n.current)&&requestAnimationFrame(()=>{for(let t of[e.current,n.current]){if(!t)continue;let e=(0,S.so)(t);if(e){e.focus();break}}})}},[r,e,i,a,o]),null}let tZ=(0,E.createContext)({...N,scaleX:1,scaleY:1});(f=C||(C={}))[f.Uninitialized=0]="Uninitialized",f[f.Initializing=1]="Initializing",f[f.Initialized=2]="Initialized";let tW=(0,E.memo)(function(t){var e,n,r,i,o;let{id:a,accessibility:s,autoScroll:u=!0,children:l,sensors:c=tT,collisionDetection:f=G,measuring:d,modifiers:m,...g}=t,y=(0,E.useReducer)(tH,void 0,tB),[x,R]=y,[_,A]=function(){let[t]=(0,E.useState)(()=>new Set),e=(0,E.useCallback)(e=>(t.add(e),()=>t.delete(e)),[t]),n=(0,E.useCallback)(e=>{let{type:n,event:r}=e;t.forEach(t=>{var e;return null==(e=t[n])?void 0:e.call(t,r)})},[t]);return[n,e]}(),[M,O]=(0,E.useState)(C.Uninitialized),T=M===C.Initialized,{draggable:{active:L,nodes:I,translate:D},droppable:{containers:V}}=x,F=L?I.get(L):null,B=(0,E.useRef)({initial:null,translated:null}),H=(0,E.useMemo)(()=>{var t;return null!=L?{id:L,data:null!=(t=null==F?void 0:F.data)?t:tP,rect:B}:null},[L,F]),Z=(0,E.useRef)(null),[W,z]=(0,E.useState)(null),[Y,K]=(0,E.useState)(null),te=(0,S.Ey)(g,Object.values(g)),tn=(0,S.Ld)("DndDescribedBy",a),tu=(0,E.useMemo)(()=>V.getEnabled(),[V]),tc=(0,E.useMemo)(()=>({draggable:{...tL.draggable,...null==d?void 0:d.draggable},droppable:{...tL.droppable,...null==d?void 0:d.droppable},dragOverlay:{...tL.dragOverlay,...null==d?void 0:d.dragOverlay}}),[null==d?void 0:d.draggable,null==d?void 0:d.droppable,null==d?void 0:d.dragOverlay]),{droppableRects:tf,measureDroppableContainers:td,measuringScheduled:th}=function(t,e){let{dragging:n,dependencies:r,config:i}=e,[o,a]=(0,E.useState)(null),{frequency:s,measure:u,strategy:l}=i,c=(0,E.useRef)(t),f=function(){switch(l){case w.Always:return!1;case w.BeforeDragging:return n;default:return!n}}(),d=(0,S.Ey)(f),h=(0,E.useCallback)(function(t){void 0===t&&(t=[]),d.current||a(e=>null===e?t:e.concat(t.filter(t=>!e.includes(t))))}
1,[d]),p=(0,E.useRef)(null),m=(0,S.Gj)(e=>{if(f&&!n)return tE;if(!e||e===tE||c.current!==t||null!=o){let e=new Map;for(let n of t){if(!n)continue;if(o&&o.length>0&&!o.includes(n.id)&&n.rect.current){e.set(n.id,n.rect.current);continue}let t=n.node.current,r=t?new tl(u(t),t):null;n.rect.current=r,r&&e.set(n.id,r)}return e}return e},[t,o,n,f,u]);return(0,E.useEffect)(()=>{c.current=t},[t]),(0,E.useEffect)(()=>{f||h()},[n,f]),(0,E.useEffect)(()=>{o&&o.length>0&&a(null)},[JSON.stringify(o)]),(0,E.useEffect)(()=>{f||"number"!=typeof s||null!==p.current||(p.current=setTimeout(()=>{h(),p.current=null},s))},[s,f,h,...r]),{droppableRects:m,measureDroppableContainers:h,measuringScheduled:null!=o}}(tu,{dragging:T,dependencies:[D.x,D.y],config:tc.droppable}),tp=function(t,e){let n=null!==e?t.get(e):void 0,r=n?n.node.current:null;return(0,S.Gj)(t=>{var n;return null===e?null:null!=(n=null!=r?r:t)?n:null},[r,e])}(I,L),tm=(0,E.useMemo)(()=>Y?(0,S.DC)(Y):null,[Y]),tg=function(){let t=(null==W?void 0:W.autoScrollEnabled)===!1,e="object"==typeof u?!1===u.enabled:!1===u,n=T&&!t&&!e;return"object"==typeof u?{...u,enabled:n}:{enabled:n}}(),ty=tk(tp,tc.draggable.measure);!function(t){let{activeNode:e,measure:n,initialRect:r,config:i=!0}=t,o=(0,E.useRef)(!1),{x:a,y:s}="boolean"==typeof i?{x:i,y:i}:i;(0,S.LI)(()=>{if(!a&&!s||!e){o.current=!1;return}if(o.current||!r)return;let t=null==e?void 0:e.node.current;if(!t||!1===t.isConnected)return;let i=n(t),u=$(i,r);if(a||(u.x=0),s||(u.y=0),o.current=!0,Math.abs(u.x)>0||Math.abs(u.y)>0){let e=Q(t);e&&e.scrollBy({top:u.y,left:u.x})}},[e,a,s,r,n])}({activeNode:L?I.get(L):null,config:tg.layoutShiftCompensation,initialRect:ty,measure:tc.draggable.measure});let tv=t_(tp,tc.draggable.measure,ty),tb=t_(tp?tp.parentElement:null),tw=(0,E.useRef)({activatorEvent:null,active:null,activeNode:tp,collisionRect:null,collisions:null,droppableRects:tf,draggableNodes:I,draggingNode:null,draggingNodeRect:null,droppableContainers:V,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),tx=V.getNodeFor(null==(e=tw.current.over)?void 0:e.id),tR=function(t){let{measure:e}=t,[n,r]=(0,E.useState)(null),i=(0,E.useCallback)(t=>{for(let{target:n}of t)if((0,S.Re)(n)){r(t=>{let r=e(n);return t?{...t,width:r.width,height:r.height}:r});break}},[e]),o=tS({callback:i}),a=(0,E.useCallback)(t=>{let n=function(t){if(!t)return null;if(t.children.length>1)return t;let e=t.children[0];return(0,S.Re)(e)?e:t}(t);null==o||o.disconnect(),n&&(null==o||o.observe(n)),r(n?e(n):null)},[e,o]),[s,u]=(0,S.wm)(a);return(0,E.useMemo)(()=>({nodeRef:s,rect:n,setRef:u}),[n,s,u])}({measure:tc.dragOverlay.measure}),tI=null!=(n=tR.nodeRef.current)?n:tp,tD=T?null!=(r=tR.rect)?r:tv:null,tN=Boolean(tR.nodeRef.current&&tR.rect),tW=function(t){let e=tk(t);return $(t,e)}(tN?null:tv),tz=tj(tI?(0,S.Jj)(tI):null),tG=function(t){let e=(0,E.useRef)(t),n=(0,S.Gj)(n=>t?n&&n!==tA&&t&&e.current&&t.parentNode===e.current.parentNode?n:J(t):tA,[t]);return(0,E.useEffect)(()=>{e.current=t},[t]),n}(T?null!=tx?tx:tp:null),t$=function(t,e){void 0===e&&(e=X);let[n]=t,r=tj(n?(0,S.Jj)(n):null),[i,o]=(0,E.useReducer)(function(){return t.length?t.map(t=>ti(t)?r:new tl(e(t),t)):tO},tO),a=tS({callback:o});return t.length>0&&i===tO&&o(),(0,S.LI)(()=>{t.length?t.forEach(t=>null==a?void 0:a.observe(t)):(null==a||a.disconnect(),o())},[t]),i}(tG),tq=function(t,e){let{transform:n,...r}=e;return null!=t&&t.length?t.reduce((t,e)=>e({transform:t,...r}),n):n}(m,{transform:{x:D.x-tW.x,y:D.y-tW.y,scaleX:1,scaleY:1},activatorEvent:Y,active:H,activeNodeRect:tv,containerNodeRect:tb,draggingNodeRect:tD,over:tw.current.over,overlayNodeRect:tR.rect,scrollableAncestors:tG,scrollableAncestorRects:t$,windowRect:tz}),tY=tm?(0,S.IH)(tm,D):null,tX=function(t){let[e,n]=(0,E.useState)(null),r=(0,E.useRef)(t),i=(0,E.useCallback)(t=>{let e=tt(t.target);e&&n(t=>t?(t.set(e,tr(e)),new Map(t)):null)},[]);return(0,E.useEffect)(()=>{let e=r.current;if(t!==e){o(e);let a=t.map(t=>{let e=tt(t);return e?(e.addEventListener("scroll",i,{passive:!0}),[e,tr(e)]):null}).filter(t=>null!=t);n(a.length?new Map(a):null),r.current=t}return()=>{o(t),o(e)};function o(t){t.forEach(t=>{let e=tt(t);null==e||e.removeEventListener("scroll",i)})}},[i,t]),(0,E.useMemo)(()=>t.length?e?Array.from(e.values()).reduce((t,e)=>(0,S.IH)(t,e),N):ts(t):N,[t,e])}
1(tG),tK=tM(tX),tJ=tM(tX,[tv]),tQ=(0,S.IH)(tq,tK),t1=tD?q(tD,tq):null,t0=H&&t1?f({active:H,collisionRect:t1,droppableRects:tf,droppableContainers:tu,pointerCoordinates:tY}):null,t5=U(t0,"id"),[t2,t3]=(0,E.useState)(null),t4=tN?tq:(0,S.IH)(tq,tJ),t6=(o=null!=(i=null==t2?void 0:t2.rect)?i:null,{...t4,scaleX:o&&tv?o.width/tv.width:1,scaleY:o&&tv?o.height/tv.height:1}),t9=(0,E.useCallback)((t,e)=>{let{sensor:n,options:r}=e;if(null==Z.current)return;let i=I.get(Z.current);if(!i)return;let o=t.nativeEvent,a=new n({active:Z.current,activeNode:i,event:o,options:r,context:tw,onStart(t){let e=Z.current;if(null==e)return;let n=I.get(e);if(!n)return;let{onDragStart:r}=te.current,i={active:{id:e,data:n.data,rect:B}};(0,k.unstable_batchedUpdates)(()=>{null==r||r(i),O(C.Initializing),R({type:h.DragStart,initialCoordinates:t,active:e}),_({type:"onDragStart",event:i})})},onMove(t){R({type:h.DragMove,coordinates:t})},onEnd:s(h.DragEnd),onCancel:s(h.DragCancel)});function s(t){return async function(){let{active:e,collisions:n,over:r,scrollAdjustedTranslate:i}=tw.current,a=null;if(e&&i){let{cancelDrop:s}=te.current;if(a={activatorEvent:o,active:e,collisions:n,delta:i,over:r},t===h.DragEnd&&"function"==typeof s){let e=await Promise.resolve(s(a));e&&(t=h.DragCancel)}}Z.current=null,(0,k.unstable_batchedUpdates)(()=>{R({type:t}),O(C.Uninitialized),t3(null),z(null),K(null);let e=t===h.DragEnd?"onDragEnd":"onDragCancel";if(a){let t=te.current[e];null==t||t(a),_({type:e,event:a})}})}}(0,k.unstable_batchedUpdates)(()=>{z(a),K(t.nativeEvent)})},[I]),t8=(0,E.useCallback)((t,e)=>(n,r)=>{let i=n.nativeEvent,o=I.get(r);if(null!==Z.current||!o||i.dndKit||i.defaultPrevented)return;let a=t(n,e.options,{active:o});!0===a&&(i.dndKit={capturedBy:e.sensor},Z.current=r,t9(n,e))},[I,t9]),t7=(0,E.useMemo)(()=>c.reduce((t,e)=>{let{sensor:n}=e,r=n.activators.map(t=>({eventName:t.eventName,handler:t8(t.handler,e)}));return[...t,...r]},[]),[c,t8]);(0,E.useEffect)(()=>{if(!S.Nq)return;let t=c.map(t=>{let{sensor:e}=t;return null==e.setup?void 0:e.setup()});return()=>{for(let e of t)null==e||e()}},c.map(t=>{let{sensor:e}=t;return e})),(0,S.LI)(()=>{tv&&M===C.Initializing&&O(C.Initialized)},[tv,M]),(0,E.useEffect)(()=>{let{onDragMove:t}=te.current,{active:e,activatorEvent:n,collisions:r,over:i}=tw.current;if(!e||!n)return;let o={active:e,activatorEvent:n,collisions:r,delta:{x:tQ.x,y:tQ.y},over:i};(0,k.unstable_batchedUpdates)(()=>{null==t||t(o),_({type:"onDragMove",event:o})})},[tQ.x,tQ.y]),(0,E.useEffect)(()=>{let{active:t,activatorEvent:e,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=tw.current;if(!t||null==Z.current||!e||!i)return;let{onDragOver:o}=te.current,a=r.get(t5),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,u={active:t,activatorEvent:e,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,k.unstable_batchedUpdates)(()=>{t3(s),null==o||o(u),_({type:"onDragOver",event:u})})},[t5]),(0,S.LI)(()=>{tw.current={activatorEvent:Y,active:H,activeNode:tp,collisionRect:t1,collisions:t0,droppableRects:tf,draggableNodes:I,draggingNode:tI,draggingNodeRect:tD,droppableContainers:V,over:t2,scrollableAncestors:tG,scrollAdjustedTranslate:tQ},B.current={initial:tD,translated:t1}},[H,tp,t0,t1,I,tI,tD,tf,V,t2,tG,tQ]),function(t){let{acceleration:e,activator:n=v.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:a=5,order:s=b.TreeOrder,pointerCoordinates:u,scrollableAncestors:l,scrollableAncestorRects:c,delta:f,threshold:d}=t,h=function(t){let{delta:e,disabled:n}=t,r=(0,S.D9)(e);return(0,S.Gj)(t=>{if(n||!r||!t)return tC;let i={x:Math.sign(e.x-r.x),y:Math.sign(e.y-r.y)};return{x:{[p.Backward]:t.x[p.Backward]||-1===i.x,[p.Forward]:t.x[p.Forward]||1===i.x},y:{[p.Backward]:t.y[p.Backward]||-1===i.y,[p.Forward]:t.y[p.Forward]||1===i.y}}},[n,e,r])}({delta:f,disabled:!o}),[m,g]=(0,S.Yz)(),y=(0,E.useRef)({x:0,y:0}),w=(0,E.useRef)({x:0,y:0}),x=(0,E.useMemo)(()=>{switch(n){case v.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case v.DraggableRect:return i}},[n,i,u]),C=(0,E.useRef)(null),k=(0,E.useCallback)(()=>{let t=C.current;if(!t)return;let e=y.current.x*w.current.x,n=y.current.y*w.current.y;t.scrollBy(e,n)},[]),R=(0,E.useMemo)(()=>s===b.TreeOrder?[...l].reverse():l,[s,l]);(0,E.useEffect)(()=>
1{if(!o||!l.length||!x){g();return}for(let t of R){if((null==r?void 0:r(t))===!1)continue;let n=l.indexOf(t),i=c[n];if(!i)continue;let{direction:o,speed:s}=function(t,e,n,r,i){let{top:o,left:a,right:s,bottom:u}=n;void 0===r&&(r=10),void 0===i&&(i=ta);let{isTop:l,isBottom:c,isLeft:f,isRight:d}=to(t),h={x:0,y:0},m={x:0,y:0},g={height:e.height*i.y,width:e.width*i.x};return!l&&o<=e.top+g.height?(h.y=p.Backward,m.y=r*Math.abs((e.top+g.height-o)/g.height)):!c&&u>=e.bottom-g.height&&(h.y=p.Forward,m.y=r*Math.abs((e.bottom-g.height-u)/g.height)),!d&&s>=e.right-g.width?(h.x=p.Forward,m.x=r*Math.abs((e.right-g.width-s)/g.width)):!f&&a<=e.left+g.width&&(h.x=p.Backward,m.x=r*Math.abs((e.left+g.width-a)/g.width)),{direction:h,speed:m}}(t,i,x,e,d);for(let t of["x","y"])h[t][o[t]]||(s[t]=0,o[t]=0);if(s.x>0||s.y>0){g(),C.current=t,m(k,a),y.current=s,w.current=o;return}}y.current={x:0,y:0},w.current={x:0,y:0},g()},[e,k,r,g,o,a,JSON.stringify(x),JSON.stringify(h),m,l,R,c,JSON.stringify(d)])}({...tg,delta:D,draggingRect:t1,pointerCoordinates:tY,scrollableAncestors:tG,scrollableAncestorRects:t$});let et=(0,E.useMemo)(()=>({active:H,activeNode:tp,activeNodeRect:tv,activatorEvent:Y,collisions:t0,containerNodeRect:tb,dragOverlay:tR,draggableNodes:I,droppableContainers:V,droppableRects:tf,over:t2,measureDroppableContainers:td,scrollableAncestors:tG,scrollableAncestorRects:t$,measuringConfiguration:tc,measuringScheduled:th,windowRect:tz}),[H,tp,tv,Y,t0,tb,tR,I,V,tf,t2,td,tG,t$,tc,th,tz]),ee=(0,E.useMemo)(()=>({activatorEvent:Y,activators:t7,active:H,activeNodeRect:tv,ariaDescribedById:{draggable:tn},dispatch:R,draggableNodes:I,over:t2,measureDroppableContainers:td}),[Y,t7,H,tv,R,tn,I,t2,td]);return E.createElement(j.Provider,{value:A},E.createElement(tV.Provider,{value:ee},E.createElement(tF.Provider,{value:et},E.createElement(tZ.Provider,{value:t6},l)),E.createElement(tU,{disabled:(null==s?void 0:s.restoreFocus)===!1})),E.createElement(P,{...s,hiddenTextDescribedById:tn}))}),tz=(0,E.createContext)(null),tG="button";function t$(t){let{id:e,data:n,disabled:r=!1,attributes:i}=t,o=(0,S.Ld)("Droppable"),{activators:a,activatorEvent:s,active:u,activeNodeRect:l,ariaDescribedById:c,draggableNodes:f,over:d}=(0,E.useContext)(tV),{role:h=tG,roleDescription:p="draggable",tabIndex:m=0}=null!=i?i:{},g=(null==u?void 0:u.id)===e,y=(0,E.useContext)(g?tZ:tz),[v,b]=(0,S.wm)(),[w,x]=(0,S.wm)(),C=(0,E.useMemo)(()=>a.reduce((t,n)=>{let{eventName:r,handler:i}=n;return t[r]=t=>{i(t,e)},t},{}),[a,e]),k=(0,S.Ey)(n);(0,S.LI)(()=>(f.set(e,{id:e,key:o,node:v,activatorNode:w,data:k}),()=>{let t=f.get(e);t&&t.key===o&&f.delete(e)}),[f,e]);let R=(0,E.useMemo)(()=>({role:h,tabIndex:m,"aria-disabled":r,"aria-pressed":!!g&&h===tG||void 0,"aria-roledescription":p,"aria-describedby":c.draggable}),[r,h,m,g,p,c.draggable]);return{active:u,activatorEvent:s,activeNodeRect:l,attributes:R,isDragging:g,listeners:r?void 0:C,node:v,over:d,setNodeRef:b,setActivatorNodeRef:x,transform:y}}function tq(){return(0,E.useContext)(tF)}let tY={timeout:25};function tX(t){let{data:e,disabled:n=!1,id:r,resizeObserverConfig:i}=t,o=(0,S.Ld)("Droppable"),{active:a,dispatch:s,over:u,measureDroppableContainers:l}=(0,E.useContext)(tV),c=(0,E.useRef)({disabled:n}),f=(0,E.useRef)(!1),d=(0,E.useRef)(null),p=(0,E.useRef)(null),{disabled:m,updateMeasurementsFor:g,timeout:y}={...tY,...i},v=(0,S.Ey)(null!=g?g:r),b=(0,E.useCallback)(()=>{if(!f.current){f.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(v.current)?v.current:[v.current]),p.current=null},y)},[y]),w=tS({callback:b,disabled:m||!a}),x=(0,E.useCallback)((t,e)=>{w&&(e&&(w.unobserve(e),f.current=!1),t&&w.observe(t))},[w]),[C,k]=(0,S.wm)(x),R=(0,S.Ey)(e);return(0,E.useEffect)(()=>{w&&C.current&&(w.disconnect(),f.current=!1,w.observe(C.current))},[C,w]),(0,S.LI)(()=>(s({type:h.RegisterDroppable,element:{id:r,key:o,disabled:n,node:C,rect:d,data:R}}),()=>s({type:h.UnregisterDroppable,key:o,id:r})),[r]),(0,E.useEffect)(()=>{n!==c.current.disabled&&(s({type:h.SetDroppableDisabled,id:r,key:o,disabled:n}),c.current.disabled=n)},[r,o,n,s]),{active:a,rect:d,isOver:(null==u?void 0:u.id)===r,node:C,over:u,setNodeRef:k}}d={styles:{active:{opacity:"0"}}},t=>{let{active:e,dragOverlay:n}=t,r={},{styles:i,className:o}=d;if(null!=i&&i.active)for(let[t,n]of Object.entries(i.active))void 0!==n&&(r[t]=e.node.style.getPropertyValue(t),e.node.style.setProperty(t,n));if(null!=i&&i.dragOverlay)for(let[t,e]of Object.entries(i.dragOverlay))void 0!==e&&n.node.style.setProperty(t,e);return null!=o&&o.active&&e.node.classList.add(o.active),null!=o&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(let[t,n]of Object.entries(r))e.node.style.setProperty(t,n);null!=o&&o.active&&e.node.classList.remove(o.active)}}},32339:function(t,e,n){"use strict";n.d(e,{DL:function(){return i},K7:function(){return r}}),n(24285);let r=t=>{let{transform:e}=t;return{...e,y:0}},i=t=>{let{transform:e}=t;return{...e,x:0}}},45587:function(t,e,n){"use strict";n.d(e,{Fo:function(){return m},PG:function(){return l},is:function(){return S},nB:function(){return C},qw:function(){return d}});var r=n(67294),i=n(60887),o=n(24285);function a(t,e,n){let r=t.slice();return r.splice(n<0?r.length+n:n,0,r.splice(e,1)[0]),r}function s(t){return null!==t&&t>=0}let u={scaleX:1,scaleY:1},l=t=>{var e;let{rects:n,activeNodeRect:r,activeIndex:i,overIndex:o,index:a}=t,s=null!=(e=n[i])?e:r;if(!s)return null;let l=function(t,e,n){let r=t[e],i=t[e-1],o=t[e+1];return r&&(i||o)?n<e?i?r.left-(i.left+i.width):o.left-(r.left+r.
1width):o?o.left-(r.left+r.width):r.left-(i.left+i.width):0}(n,a,i);if(a===i){let t=n[o];return t?{x:i<o?t.left+t.width-(s.left+s.width):t.left-s.left,y:0,...u}:null}return a>i&&a<=o?{x:-s.width-l,y:0,...u}:a<i&&a>=o?{x:s.width+l,y:0,...u}:{x:0,y:0,...u}},c=t=>{let{rects:e,activeIndex:n,overIndex:r,index:i}=t,o=a(e,r,n),s=e[i],u=o[i];return u&&s?{x:u.left-s.left,y:u.top-s.top,scaleX:u.width/s.width,scaleY:u.height/s.height}:null},f={scaleX:1,scaleY:1},d=t=>{var e;let{activeIndex:n,activeNodeRect:r,index:i,rects:o,overIndex:a}=t,s=null!=(e=o[n])?e:r;if(!s)return null;if(i===n){let t=o[a];return t?{x:0,y:n<a?t.top+t.height-(s.top+s.height):t.top-s.top,...f}:null}let u=function(t,e,n){let r=t[e],i=t[e-1],o=t[e+1];return r?n<e?i?r.top-(i.top+i.height):o?o.top-(r.top+r.height):0:o?o.top-(r.top+r.height):i?r.top-(i.top+i.height):0:0}(o,i,n);return i>n&&i<=a?{x:0,y:-s.height-u,...f}:i<n&&i>=a?{x:0,y:s.height+u,...f}:{x:0,y:0,...f}},h="Sortable",p=r.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function m(t){let{children:e,id:n,items:a,strategy:s=c,disabled:u=!1}=t,{active:l,dragOverlay:f,droppableRects:d,over:m,measureDroppableContainers:g}=(0,i.Cj)(),y=(0,o.Ld)(h,n),v=Boolean(null!==f.rect),b=(0,r.useMemo)(()=>a.map(t=>"object"==typeof t&&"id"in t?t.id:t),[a]),w=null!=l,x=l?b.indexOf(l.id):-1,C=m?b.indexOf(m.id):-1,E=(0,r.useRef)(b),k=!function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(b,E.current),S=-1!==C&&-1===x||k,R="boolean"==typeof u?{draggable:u,droppable:u}:u;(0,o.LI)(()=>{k&&w&&g(b)},[k,b,w,g]),(0,r.useEffect)(()=>{E.current=b},[b]);let _=(0,r.useMemo)(()=>({activeIndex:x,containerId:y,disabled:R,disableTransforms:S,items:b,overIndex:C,useDragOverlay:v,sortedRects:b.reduce((t,e,n)=>{let r=d.get(e);return r&&(t[n]=r),t},Array(b.length)),strategy:s}),[x,y,R.draggable,R.droppable,S,b,C,d,v,s]);return r.createElement(p.Provider,{value:_},e)}let g=t=>{let{id:e,items:n,activeIndex:r,overIndex:i}=t;return a(n,r,i).indexOf(e)},y=t=>{let{containerId:e,isSorting:n,wasDragging:r,index:i,items:o,newIndex:a,previousItems:s,previousContainerId:u,transition:l}=t;return!!l&&!!r&&(s===o||i!==a)&&(!!n||a!==i&&e===u)},v={duration:200,easing:"ease"},b="transform",w=o.ux.Transition.toString({property:b,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function C(t){var e,n;let{animateLayoutChanges:a=y,attributes:u,disabled:l,data:c,getNewIndex:f=g,id:d,strategy:h,resizeObserverConfig:m,transition:C=v}=t,{items:E,containerId:k,activeIndex:S,disabled:R,disableTransforms:_,sortedRects:A,overIndex:M,useDragOverlay:j,strategy:O}=(0,r.useContext)(p),T="boolean"==typeof l?{draggable:l,droppable:!1}:{draggable:null!=(e=null==l?void 0:l.draggable)?e:R.draggable,droppable:null!=(n=null==l?void 0:l.droppable)?n:R.droppable},P=E.indexOf(d),L=(0,r.useMemo)(()=>({sortable:{containerId:k,index:P,items:E},...c}),[k,c,P,E]),I=(0,r.useMemo)(()=>E.slice(E.indexOf(d)),[E,d]),{rect:D,node:N,isOver:V,setNodeRef:F}=(0,i.Zj)({id:d,data:L,disabled:T.droppable,resizeObserverConfig:{updateMeasurementsFor:I,...m}}),{active:B,activatorEvent:H,activeNodeRect:U,attributes:Z,setNodeRef:W,listeners:z,isDragging:G,over:$,setActivatorNodeRef:q,transform:Y}=(0,i.O1)({id:d,data:L,attributes:{...x,...u},disabled:T.draggable}),X=(0,o.HB)(F,W),K=Boolean(B),J=K&&!_&&s(S)&&s(M),Q=!j&&G,tt=Q&&J?Y:null,te=J?null!=tt?tt:(null!=h?h:O)({rects:A,activeNodeRect:U,activeIndex:S,overIndex:M,index:P}):null,tn=s(S)&&s(M)?f({id:d,items:E,activeIndex:S,overIndex:M}):P,tr=null==B?void 0:B.id,ti=(0,r.useRef)({activeId:tr,items:E,newIndex:tn,containerId:k}),to=E!==ti.current.items,ta=a({active:B,containerId:k,isDragging:G,isSorting:K,id:d,index:P,items:E,newIndex:ti.current.newIndex,previousItems:ti.current.items,previousContainerId:ti.current.containerId,transition:C,wasDragging:null!=ti.current.activeId}),ts=function(t){let{disabled:e,index:n,node:a,rect:s}=t,[u,l]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.LI)(()=>
1{if(!e&&n!==c.current&&a.current){let t=s.current;if(t){let e=(0,i.VK)(a.current,{ignoreTransform:!0}),n={x:t.left-e.left,y:t.top-e.top,scaleX:t.width/e.width,scaleY:t.height/e.height};(n.x||n.y)&&l(n)}}n!==c.current&&(c.current=n)},[e,n,a,s]),(0,r.useEffect)(()=>{u&&l(null)},[u]),u}({disabled:!ta,index:P,node:N,rect:D});return(0,r.useEffect)(()=>{K&&ti.current.newIndex!==tn&&(ti.current.newIndex=tn),k!==ti.current.containerId&&(ti.current.containerId=k),E!==ti.current.items&&(ti.current.items=E)},[K,tn,k,E]),(0,r.useEffect)(()=>{if(tr===ti.current.activeId)return;if(tr&&!ti.current.activeId){ti.current.activeId=tr;return}let t=setTimeout(()=>{ti.current.activeId=tr},50);return()=>clearTimeout(t)},[tr]),{active:B,activeIndex:S,attributes:Z,data:L,rect:D,index:P,newIndex:tn,items:E,isOver:V,isSorting:K,isDragging:G,listeners:z,node:N,overIndex:M,over:$,setNodeRef:X,setActivatorNodeRef:q,setDroppableNodeRef:F,setDraggableNodeRef:W,transform:null!=ts?ts:te,transition:ts||to&&ti.current.newIndex===P?w:(!Q||(0,o.vd)(H))&&C&&(K||ta)?o.ux.Transition.toString({...C,property:b}):void 0}}function E(t){if(!t)return!1;let e=t.data.current;return!!e&&"sortable"in e&&"object"==typeof e.sortable&&"containerId"in e.sortable&&"items"in e.sortable&&"index"in e.sortable}let k=[i.g4.Down,i.g4.Right,i.g4.Up,i.g4.Left],S=(t,e)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:u,scrollableAncestors:l}}=e;if(k.includes(t.code)){if(t.preventDefault(),!n||!r)return;let e=[];s.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;let o=a.get(n.id);if(o)switch(t.code){case i.g4.Down:r.top<o.top&&e.push(n);break;case i.g4.Up:r.top>o.top&&e.push(n);break;case i.g4.Left:r.left>o.left&&e.push(n);break;case i.g4.Right:r.left<o.left&&e.push(n)}});let c=(0,i.ey)({active:n,collisionRect:r,droppableRects:a,droppableContainers:e,pointerCoordinates:null}),f=(0,i._8)(c,"id");if(f===(null==u?void 0:u.id)&&c.length>1&&(f=c[1].id),null!=f){let t=s.get(n.id),e=s.get(f),u=e?a.get(e.id):null,c=null==e?void 0:e.node.current;if(c&&u&&t&&e){let n=(0,i.hI)(c),a=n.some((t,e)=>l[e]!==t),s=R(t,e),f=!!(E(t)&&E(e)&&R(t,e))&&t.data.current.sortable.index<e.data.current.sortable.index,d=a||!s?{x:0,y:0}:{x:f?r.width-u.width:0,y:f?r.height-u.height:0},h={x:u.left,y:u.top},p=d.x&&d.y?h:(0,o.$X)(h,d);return p}}}};function R(t,e){return!!(E(t)&&E(e))&&t.data.current.sortable.containerId===e.data.current.sortable.containerId}},24285:function(t,e,n){"use strict";n.d(e,{$X:function(){return k},D9:function(){return b},DC:function(){return R},Ey:function(){return g},FJ:function(){return a},Gj:function(){return y},HB:function(){return i},IH:function(){return E},Jj:function(){return u},LI:function(){return h},Ld:function(){return x},Nq:function(){return o},Re:function(){return c},UG:function(){return s},Yz:function(){return m},qk:function(){return l},r3:function(){return d},so:function(){return M},ux:function(){return _},vZ:function(){return f},vd:function(){return S},wm:function(){return v},zX:function(){return p}});var r=n(67294);function i(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}let o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(t){let e=Object.prototype.toString.call(t);return"[object Window]"===e||"[object global]"===e}function s(t){return"nodeType"in t}function u(t){var e,n;return t?a(t)?t:s(t)&&null!=(e=null==(n=t.ownerDocument)?void 0:n.defaultView)?e:window:window}function l(t){let{Document:e}=u(t);return t instanceof e}function c(t){return!a(t)&&t instanceof u(t).HTMLElement}function f(t){return t instanceof u(t).SVGElement}function d(t){return t?a(t)?t.document:s(t)?l(t)?t:c(t)?t.ownerDocument:document:document:document}let h=o?r.useLayoutEffect:r.useEffect;function p(t){let e=(0,r.useRef)(t);return h(()=>{e.current=t}),(0,r.useCallback)(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return null==e.current?void 0:e.current(...n)},[])}function m(){let t=(0,r.useRef)(null),e=(0,r.useCallback)((e,n)=>{t.current=setInterval(e,n)},[]),n=(0,r.useCallback)(()=>{null!==t.current&&(clearInterval(t.current),t.current=null)},[]);return[e,n]}function g(t,e){void 0===e&&(e=[t]);let n=(0,r.useRef)(t);return h(()=>{n.current!==t&&(n.current=t)},e),n}function y(t,e){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let e=t(n.current);return n.current=e,e},[...e])}function v(t){let e=p(t),n=(0,r.useRef)(null),i=(0,r.useCallback)(t=>{t!==n.current&&(null==e||e(t,n.current)),n.current=t},[]);return[n,i]}function b(t){let e=(0,r.useRef)();return(0,r.useEffect)(()=>{e.current=t},[t]),e.current}let w={};function x(t,e){return(0,r.useMemo)(()=>
1{if(e)return e;let n=null==w[t]?0:w[t]+1;return w[t]=n,t+"-"+n},[t,e])}function C(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((e,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=e[n];null!=r&&(e[n]=r+t*i)}return e},{...e})}}let E=C(1),k=C(-1);function S(t){if(!t)return!1;let{KeyboardEvent:e}=u(t.target);return e&&t instanceof e}function R(t){if(function(t){if(!t)return!1;let{TouchEvent:e}=u(t.target);return e&&t instanceof e}(t)){if(t.touches&&t.touches.length){let{clientX:e,clientY:n}=t.touches[0];return{x:e,y:n}}if(t.changedTouches&&t.changedTouches.length){let{clientX:e,clientY:n}=t.changedTouches[0];return{x:e,y:n}}}return"clientX"in t&&"clientY"in t?{x:t.clientX,y:t.clientY}:null}let _=Object.freeze({Translate:{toString(t){if(!t)return;let{x:e,y:n}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;let{scaleX:e,scaleY:n}=t;return"scaleX("+e+") scaleY("+n+")"}},Transform:{toString(t){if(t)return[_.Translate.toString(t),_.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:n,easing:r}=t;return e+" "+n+"ms "+r}}}),A="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function M(t){return t.matches(A)?t:t.querySelector(A)}},58463:function(t,e,n){"use strict";n.d(e,{YF:function(){return c},x7:function(){return s}});var r=n(88301),i=n(55863),o=n(67294),a=n(73935);let s=t=>{let{element:e,padding:n}=t;return{name:"arrow",options:t,fn(t){if(Object.prototype.hasOwnProperty.call(e,"current")){if(null!=e.current)return(0,r.x7)({element:e.current,padding:n}).fn(t)}else if(e)return(0,r.x7)({element:e,padding:n}).fn(t);return{}}}};var u="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!l(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!l(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function c(t){let{middleware:e=[],placement:n="bottom",strategy:r="absolute",whileElementsMounted:s,open:c}=void 0===t?{}:t,[f,d]=o.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[h,p]=o.useState(e);l(h,e)||p(e);let m=o.useRef(null),g=o.useRef(null),y=o.useRef(null),v=o.useRef(f),b=function(t){let e=o.useRef(t);return u(()=>{e.current=t}),e}(s),w=o.useCallback(()=>{m.current&&g.current&&(0,i.oo)(m.current,g.current,{middleware:h,placement:n,strategy:r}).then(t=>{let e={...t,isPositioned:!0};x.current&&!l(v.current,e)&&(v.current=e,a.flushSync(()=>{d(e)}))})},[h,n,r]);u(()=>{!1===c&&v.current.isPositioned&&d(t=>({...t,isPositioned:!1}))},[c]);let x=o.useRef(!1);u(()=>(x.current=!0,()=>{x.current=!1}),[]);let C=o.useCallback(()=>{if("function"==typeof y.current&&(y.current(),y.current=null),m.current&&g.current){if(b.current){let t=b.current(m.current,g.current,w);y.current=t}else w()}},[w,b]),E=o.useCallback(t=>{m.current!==t&&(m.current=t,C())},[C]),k=o.useCallback(t=>{g.current!==t&&(g.current=t,C())},[C]),S=o.useMemo(()=>({reference:m,floating:g}),[]);return o.useMemo(()=>({...f,update:w,refs:S,reference:E,floating:k}),[f,w,S,E,k])}},58354:function(t,e,n){"use strict";n.d(e,{do:function(){return G}});var r,i,o,a=[],s="ResizeObserver loop completed with undelivered notifications.",u=function(){var t;"function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:s}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=s),window.dispatchEvent(t)};(r=i||(i={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var l=function(t){return Object.freeze(t)},c=function(t,e){this.inlineSize=t,this.blockSize=e,l(this)},f=function(){function t(t,e,n,r){return this.x=t,this.y=e,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,l(this)}return t.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),d=function(t){return t instanceof SVGElement&&"getBBox"in t},h=function(t){if(d(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t.offsetWidth,o=t.offsetHeight;return!(i||o||t.getClientRects().length)},p=function(t){if(t instanceof Element)return!0;var e,n=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},m=function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;
1case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},g="undefined"!=typeof window?window:{},y=new WeakMap,v=/auto|scroll/,b=/^tb|vertical/,w=/msie|trident/i.test(g.navigator&&g.navigator.userAgent),x=function(t){return parseFloat(t||"0")},C=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=!1),new c((n?e:t)||0,(n?t:e)||0)},E=l({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new f(0,0,0,0)}),k=function(t,e){if(void 0===e&&(e=!1),y.has(t)&&!e)return y.get(t);if(h(t))return y.set(t,E),E;var n=getComputedStyle(t),r=d(t)&&t.ownerSVGElement&&t.getBBox(),i=!w&&"border-box"===n.boxSizing,o=b.test(n.writingMode||""),a=!r&&v.test(n.overflowY||""),s=!r&&v.test(n.overflowX||""),u=r?0:x(n.paddingTop),c=r?0:x(n.paddingRight),p=r?0:x(n.paddingBottom),m=r?0:x(n.paddingLeft),g=r?0:x(n.borderTopWidth),k=r?0:x(n.borderRightWidth),S=r?0:x(n.borderBottomWidth),R=r?0:x(n.borderLeftWidth),_=m+c,A=u+p,M=R+k,j=g+S,O=s?t.offsetHeight-j-t.clientHeight:0,T=a?t.offsetWidth-M-t.clientWidth:0,P=r?r.width:x(n.width)-(i?_+M:0)-T,L=r?r.height:x(n.height)-(i?A+j:0)-O,I=l({devicePixelContentBoxSize:C(Math.round(P*devicePixelRatio),Math.round(L*devicePixelRatio),o),borderBoxSize:C(P+_+T+M,L+A+O+j,o),contentBoxSize:C(P,L,o),contentRect:new f(m,u,P,L)});return y.set(t,I),I},S=function(t,e,n){var r=k(t,n),o=r.borderBoxSize,a=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},R=function(t){var e=k(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=l([e.borderBoxSize]),this.contentBoxSize=l([e.contentBoxSize]),this.devicePixelContentBoxSize=l([e.devicePixelContentBoxSize])},_=function(t){if(h(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},A=function(){var t=1/0,e=[];a.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(e){var n=new R(e.target),i=_(e.target);r.push(n),e.lastReportedSize=S(e.target,e.observedBox),i<t&&(t=i)}),e.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<e.length;n++)(0,e[n])();return t},M=function(t){a.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(n){n.isActive()&&(_(n.target)>t?e.activeTargets.push(n):e.skippedTargets.push(n))})})},j=function(){var t=0;for(M(0);a.some(function(t){return t.activeTargets.length>0});)M(t=A());return a.some(function(t){return t.skippedTargets.length>0})&&u(),t>0},O=[],T=function(t){if(!o){var e=0,n=document.createTextNode("");new MutationObserver(function(){return O.splice(0).forEach(function(t){return t()})}).observe(n,{characterData:!0}),o=function(){n.textContent="".concat(e?e--:e++)}}O.push(t),o()},P=function(t){T(function(){requestAnimationFrame(t)})},L=0,I={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(t){return void 0===t&&(t=0),Date.now()+t},V=!1,F=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!V){V=!0;var n=N(t);P(function(){var r=!1;try{r=j()}finally{if(V=!1,t=n-N(),!L)return;r?e.run(1e3):t>0?e.run(t):e.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,I)};document.body?e():g.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach(function(e){return g.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach(function(e){return g.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),B=function(t){!L&&t>0&&F.start(),(L+=t)||F.stop()},H=function(){function t(t,e){this.target=t,this.observedBox=e||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=S(this.target,this.observedBox,!0);return d(t=this.target)||m(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),U=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},Z=new WeakMap,W=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return -1},z=function(){function t(){}return t.connect=function(t,e){var n=new U(t,e);Z.set(t,n)},t.observe=function(t,e,n){var r=Z.get(t),i=0===r.observationTargets.length;0>W(r.observationTargets,e)&&(i&&a.push(r),r.observationTargets.push(new H(e,n&&n.box)),B(1),F.schedule())},t.unobserve=function(t,e){var n=Z.get(t),r=W(n.observationTargets,e),i=1===n.observationTargets.length;r>=0&&(i&&a.splice(a.indexOf(n),1),n.observationTargets.splice(r,1),B(-1))},t.disconnect=function(t){var e=this,n=Z.get(t);
1n.observationTargets.slice().forEach(function(n){return e.unobserve(t,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}(),G=function(){function t(t){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");z.connect(this,t)}return t.prototype.observe=function(t,e){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(t))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");z.observe(this,t,e)},t.prototype.unobserve=function(t){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(t))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");z.unobserve(this,t)},t.prototype.disconnect=function(){z.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}()},81548:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e,n){return(o=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}()?function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&i(o,n.prototype),o}:Reflect.construct.bind()).apply(null,arguments)}function a(t){var e="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return o(t,arguments,r(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,t)})(t)}n.d(e,{JZ:function(){return O},OT:function(){return j},Rq:function(){return c},aM:function(){return l},e5:function(){return M},pz:function(){return S}});var s=Object.freeze({left:0,top:0,bottom:0,right:0}),u=Object.freeze({x:.5,y:.5,height:1,width:1}),l=function(t){var e=t.top,n=t.bottom,r=t.left,i=t.right,o=s.top,a=s.bottom,u=s.left,l=s.right;return e===o&&n===a&&r===u&&i===l},c=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=u.x,a=u.y,s=u.width,l=u.height;return e===o&&n===a&&r===s&&i===l},f=function(t){var e;function n(e,n){var r;return void 0===n&&(n="Failed to resolve asset ID from source"),(r=t.call(this,n)||this).unresolvable=!0,r.input=e,r}return(e=n).prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t),n}(a(Error));function d(t){return function(){try{return t.apply(void 0,arguments)}catch(t){if(Boolean(t.unresolvable&&"input"in t))return;throw t}}}var h="https://cdn.sanity.io",p=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,m=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,g=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,y=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/;function v(t){return C(t)&&"string"==typeof t._ref}function b(t){return C(t)&&"string"==typeof t.path}function w(t){return C(t)&&"string"==typeof t.url}function x(t){return C(t)&&t.asset&&"object"==typeof t.asset}function C(t){return null!==t&&!Array.isArray(t)&&"object"==typeof t}function E(t){if(g.test(t))return t;if(!t.startsWith(h+"/"))throw new f('Failed to resolve path from URL "'+t+'"');var e=t.indexOf("?");return t.slice(h.length+1,-1===e?void 0:e)}var k=d(E);function S(t){var e=function(t){var e=t.split("-"),n=e[1],r=e[2],i=e[3],o=(r||"").split("x").map(Number),a=o[0],s=o[1];if(!n||!r||!i||!(a>0)||!(s>0))throw Error("Malformed asset ID '"+t+'\'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".');return{type:"image",assetId:n,width:a,height:s,extension:i}}(R(t)),n=e.width,r=e.height;return{width:n,height:r,aspectRatio:n/r}}function R(t){var e=x(t)?t.asset:t,n="";if("string"==typeof e?n=function(t){if(y.test(t))return t;if(0===t.indexOf(h+"/images")||0===t.indexOf(h+"/files"))return A(t);if(g.test(t))return A(h+"/"+t);if(p.test(t))return A(h+"/files/a/b/"+t);if(m.test(t))return A(h+"/images/a/b/"+t);throw new f(t)}(e):v(e)?n=e._ref:C(e)&&"string"==typeof e._id?n=e._id:b(e)?n=A(h+"/"+e.path):w(e)&&(n=A(e.url)),!(n&&y.test(n)))throw new f(t);return n}var _=d(R);function A(t){var e=E(t).split("/"),n=e[0],r=e[3];return n.replace(/s$/,"")+"-"+r.replace(/\./g,"-")}function M(t){var e=function t(e){if(x(e))return t(e.asset);if(!v(e))return"string"==typeof e?g.test(k(e)||"")?E(e):void 0:b(e)?e.path:w(e)?E(e.url):void 0}(t);if(!e)throw new f(t,"Failed to resolve project ID and dataset from source");var n=e.match(g)||[],r=n[2],i=n[3];if(!r||!i)throw new f(t,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:i}}function j(t){var e=_(t);return!!e&&e.startsWith("file-")}function O(t){var e=_(t);return!!e&&e.startsWith("image-")}},35706:function(t,e,n){"use strict";n.d(e,{W0:function(){return F}});var r,i,o,a=n(34978),s=n(43994),u=n(65583),l=n(53741),c=n(74727),f=n(93833),d=n(68515),h=n(94975),p=n(29127),m=n(83286),g=n(30743),y=n(22401),v=n(1545),b=n(32817),w=n(40317),x=n(23071),C=n(19917),E=n(53416),k=["presence","listen"],S=function(){return(S=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},R=(0,E.kP)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-",20);function _(t,e,n){return JSON.stringify({jsonrpc:"2.0",method:t,params:S(S({},e),{apiVersion:"v1"}),id:n})}var A=function(t,e){void 0===e&&(e={});var n=e.token$,r=e.getNextRequestId,i=void 0===r?R:r,o=(0,g.u)(t.pipe((0,a.w)(function(t){return(0,y.R)(t,"message")})),function(t){return"â¥"===t.data}),E=o[0],S=o[1],A=S.pipe((0,s.z)(function(t){var e=function(t){try{return[null,JSON.parse(t)]}catch(t){return t instanceof Error?[t]:[Error("".concat(t))]}}(t.data),n=e[0],r=e[1];return n?(console.warn("Unable to parse message: %s",n.message),v.E):r&&r.jsonrpc?(0,b.of)(r):(console.warn("Received empty or non-jsonrpc message: %s",r),v.E)}),(0,u.B)()),M=n?(0,w.a)([n,t]).pipe((0,l.x)(function(t,e){var n=t[0],r=t[1],i=e[0],o=e[1];return n===i&&r===o}),(0,a.w)(function(t){var e=t[0],n=t[1];return e?j(n,"authorization",{authorization:"Bearer ".concat(e)}).pipe((0,c.q)(1),(0,f.h)(n)):(0,b.of)(n)}),(0,d.d)({refCount:!0,bufferSize:1})):t;function j(t,e,n){void 0===n&&(n={});var r=i();return(0,x.T)(A.pipe((0,h.h)(function(t){return t.id===r}),(0,p.U)(function(t){return t.result})),(0,C.P)(function(){return t.send(_(e,n,r)),v.E}))}return{heartbeats:(0,x.T)(M,E,S).pipe((0,p.U)(function(){return new Date}
1)),request:function(t,e){return k.includes(t)?M.pipe((0,c.q)(1),(0,s.z)(function(n){return j(n,"".concat(t,"_subscribe"),e).pipe((0,c.q)(1),(0,s.z)(function(e){return A.pipe((0,h.h)(function(n){return n.method==="".concat(t,"_subscription")&&n.params.subscription===e}),(0,p.U)(function(t){return t.params.result}),(0,m.x)(function(){n.readyState!==n.CLOSED&&n.readyState!==n.CLOSING&&n.send(_("".concat(t,"_unsubscribe"),{subscriptionId:e},i()))}))}))})):M.pipe((0,c.q)(1),(0,s.z)(function(n){return j(n,t,e).pipe((0,c.q)(1))}))}}},M=n(19293),j=(r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),O=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.type=n,o.code=r,o.reason=i,o}return j(e,t),e}(Error),T=n(87878),P=Array.isArray,L=n(2566),I=n(6222),D=n(83505),N=n(83610);(i=o||(o={}))[i.BAD_REQUEST=4e3]="BAD_REQUEST",i[i.UNAUTHORIZED=4001]="UNAUTHORIZED",i[i.NOT_FOUND=4004]="NOT_FOUND",i[i.INVALID_REQUEST=-32600]="INVALID_REQUEST",i[i.METHOD_NOT_FOUND=-32601]="METHOD_NOT_FOUND",i[i.INVALID_PARAMS=-32602]="INVALID_PARAMS",i[i.SUBSCRIPTION_NOT_FOUND=-32602]="SUBSCRIPTION_NOT_FOUND",i[i.PARSE_ERROR=-32700]="PARSE_ERROR";var V=function(t){return t};function F(t,e){void 0===e&&(e={});var n,r=e.timeout,i=e.token$;return A(new M.y(function(e){var n=new window.WebSocket(t,void 0),r=!1;return n.onopen=function(){e.next(n)},n.onclose=function(t){r?e.complete():e.error(new O("WebSocket connection error","CONNECTION_CLOSED",t.code,t.reason))},n.onerror=function(){e.error(new O("WebSocket connection error","CONNECTION_ERROR"))},function(){r=!0,n.close(1e3,"WebSockets connection closed by client")}}).pipe(r?(n=(0,N._)(function(){return Error("Timeout after ".concat(r," while establishing WebSockets connection"))}),function(t){return function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return 1===(n=1===(e=n).length&&P(e[0])?e[0]:e).length?(0,T.Xf)(n[0]):new M.y((t=n,function(e){for(var n=[],r=function(r){n.push((0,T.Xf)(t[r]).subscribe((0,L.x)(e,function(t){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}e.next(t)})))},i=0;n&&!e.closed&&i<t.length;i++)r(i)}))}(t,(0,I.H)(r).pipe((0,s.z)(function(){return n})))}):V,(0,d.d)({refCount:!0}),(0,D.R)((0,y.R)(window,"beforeunload"))),{token$:i})}},76590:function(t,e,n){"use strict";n.d(e,{nX:function(){return te},zW:function(){return tn}});var r=n(85564),i=n.n(r),o=n(4527),a=n(18446),s=n.n(a),u=n(44908),l=n.n(u);function c(t){return!!t&&("object"==typeof t||"function"==typeof t)}function f(t){return c(t)&&"string"==typeof t._type&&Array.isArray(t.children)&&t.children.every(t=>c(t))&&"markDefs"in t&&Array.isArray(t.markDefs)&&t.markDefs.every(t=>c(t))&&(!("style"in t)||"string"==typeof t.style)}function d(t){return c(t)&&"span"===t._type&&"string"==typeof t.text&&(!("marks"in t)||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function h(t){return!!t&&("object"==typeof t||"function"==typeof t)}function p(t){return!!h(t)&&"object"===t.jsonType}function m(t){return!!h(t)&&Array.isArray(t.annotations)&&Array.isArray(t.decorators)}function g(t){return!!h(t)&&"style"===t.name&&h(t.type)&&"string"===t.type.jsonType}function y(t){return!!h(t)&&"list"===t.name&&h(t.type)&&"string"===t.type.jsonType}function v(t){var e;return!!h(t)&&"children"===t.name&&!!h(e=t.type)&&"array"===e.jsonType&&t.type.of.some(m)}function b(t){return t.type?b(t.type):"block"===t.name}function w(t){let e=t?t.list:void 0;return Array.isArray(e)?e.map(t=>"object"==typeof t&&null!==t&&"title"in t&&"value"in t?t:{title:t,value:t}):[]}let x=Object.prototype.toString;function C(t){switch(x.call(t)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}return null===t?"null":void 0===t?"undefined":t&&"object"==typeof t&&"nodeType"in t&&1===t.nodeType?"element":t===Object(t)?"object":typeof t}let E=[];for(let t=0;t<256;++t)E[t]=(t+256).toString(16).substring(1);function k(t){return(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=new Uint8Array(t);return(0,o.Z)(e),e})(t).reduce((t,e)=>t+E[e],"").slice(0,t)}let S="normal",R=Object.freeze({_type:"block",markDefs:[],style:S}),_=Object.freeze({_type:"span",marks:[]}),A={p:R,blockquote:{...R,style:"blockquote"}},M={span:{object:"text"}},j={ol:{object:null},ul:{object:null}},O={h1:{...R,style:"h1"},h2:{...R,style:"h2"},h3:{...R,style:"h3"},h4:{...R,style:"h4"},h5:{...R,style:"h5"},h6:{...R,style:"h6"}},T={br:{...R,style:S}},P={b:"strong",strong:"strong",i:"em",em:"em",u:"underline",s:"strike-through",strike:"strike-through",del:"strike-through",code:"code"},L={li:{...R,style:S,level:1,listItem:"bullet"}},I={...A,...M,...j,...L,...O,...T};l()(Object.values(I).filter(t=>"style"in t).map(t=>t.style)),l()(Object.values(P));let D={ANY_TYPE:0,NUMBER_TYPE:1,STRING_TYPE:2,BOOLEAN_TYPE:3,UNORDERED_NODE_ITERATOR_TYPE:4,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6,ORDERED_NODE_SNAPSHOT_TYPE:7,ANY_UNORDERED_NODE_TYPE:8,FIRST_ORDERED_NODE_TYPE:9},N=["/html/text()","/html/head/text()","/html/body/text()","/html/body/ul/text()","/html/body/ol/text()","//comment()","//style","//xml","//script","//meta","//link"];var V=(t,e)=>{var n,r,i;let o=e.evaluate("/html/body/text()",e,null,D.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let t=o.snapshotLength-1;t>=0;t--){let i=o.snapshotItem(t),a=i.textContent||"";if(a.replace(/[^\S\n]+$/g,"")){let t=e.createElement("span");t.appendChild(e.createTextNode(a)),null==(n=i.parentNode)||n.replaceChild(t,i)}else null==(r=i.parentNode)||r.removeChild(i)}let a=e.evaluate(N.join("|"),e,null,D.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let t=a.snapshotLength-1;t>=0;t--){let e=a.snapshotItem(t);e&&(null==(i=e.parentNode)||i.removeChild(e))}return e};let F=/(class="?Mso|style=(?:"|')[^"]*?\bmso-|w:WordDocument|<o:\w+>|<\/font>)/,B=["//o:p","//span[@style='mso-list:Ignore']","//span[@style='mso-list: Ignore']"],H=["//p[@class='MsoTocHeading']","//p[@class='MsoTitle']","//p[@class='MsoToaHeading']","//p[@class='MsoSubtitle']","//span[@class='MsoSubtleEmphasis']","//span[@class='MsoIntenseEmphasis']"],U={MsoTocHeading:["h3"],MsoTitle:["h1"],MsoToaHeading:["h2"],MsoSubtitle:["h5"],MsoSubtleEmphasis:["span","em"],MsoIntenseEmphasis:["span","em","strong"]};var Z=[(t,e)=>{var n;if(!F.test(t))return e;let r=e.evaluate(B.join("|"),e,t=>"o"===t?"urn:schemas-microsoft-com:office:office":null,D.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let t=r.snapshotLength-1;t>=0;t--){let e=r.snapshotItem(t);(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}let i=e.evaluate(H.join("|"),e,null,D.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let t=i.snapshotLength-1;t>=0;t--){let e=i.snapshotItem(t),r=U[e.className],o=new Text(e.textContent||"");if(!r)continue;let a=document.createElement(r[0]),s=a,u=a;
1r.slice(1).forEach(t=>{u=document.createElement(t),s.appendChild(u),s=u}),u.appendChild(o),null==(n=null==e?void 0:e.parentNode)||n.replaceChild(a,e)}return e},(t,e)=>{if(e.body.firstElementChild&&function(t){if(1!==t.nodeType)return!1;let e=t.getAttribute("id");return e&&e.match(/^docs-internal-guid-/)&&"B"===t.tagName}(e.body.firstElementChild)){let t=e.evaluate("//*",e,null,D.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let e=t.snapshotLength-1;e>=0;e--){let n=t.snapshotItem(e);null==n||n.setAttribute("data-is-google-docs","true")}e.body.firstElementChild.replaceWith(...Array.from(e.body.firstElementChild.childNodes))}return e},V];function W(t){if(t&&"tagName"in t)return t.tagName.toLowerCase()}function z(t){return["\xa0"," "].includes(t)}function G(t){return"span"===t._type}function $(t){return"block"===t._type}function q(t){return"__decorator"===t._type}function Y(t){return"__annotation"===t._type}function X(t){return 1===t.nodeType}let K=Object.keys(j);function J(t){return X(t)&&Boolean(t.getAttribute("data-is-google-docs"))}let Q={...A,...O};class tt{constructor(t){var e,n=this;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._markDefs=[],this.deserialize=t=>{var e;this._markDefs=[];let{parseHtml:n}=this,r=n(t),o=Array.from(r.childNodes),a=((e=function(t){let e=0,n=[],r=t=>{let i=[];t.forEach(t=>{0===e&&n.push(t),f(t)&&(e>0&&(i.push(t),n.push(t)),e++,r(t.children)),"__block"===t._type&&(i.push(t),n.push(t.block))}
1),i.forEach(e=>{t.splice(t.indexOf(e),1)}),e--};return r(t),n}(this.deserializeElements(o).reduce((t,e,n,r)=>{if("block"===e._type)return t.push(e),t;if("__block"===e._type)return t.push(e.block),t;let i=t[t.length-1];if(n>0&&!f(r[n-1])&&f(i))return i.children.push(e),t;let o={...R,children:[e]};return t.push(o),t},[]))).forEach(t=>{f(t)&&t.children.forEach((e,n)=>{if(!G(e))return;let r=function(t,e){let n=t.children[e+1];return n&&"span"===n._type?n:null}(t,n),i=function(t,e){let n=t.children[e-1];return n&&"span"===n._type?n:null}(t,n);0===n&&(e.text=e.text.replace(/^[^\S\n]+/g,"")),n===t.children.length-1&&(e.text=e.text.replace(/[^\S\n]+$/g,"")),/\s/.test(e.text.substring(e.text.length-1))&&r&&G(r)&&/\s/.test(r.text.substring(0,1))&&(e.text=e.text.replace(/[^\S\n]+$/g,"")),/\s/.test(e.text.substring(0,1))&&i&&G(i)&&/\s/.test(i.text.substring(i.text.length-1))&&(e.text=e.text.replace(/^[^\S\n]+/g,"")),e.text||t.children.splice(n,1),i&&s()(i.marks,e.marks)&&z(e.text)?(i.text+=" ",t.children.splice(n,1)):r&&s()(r.marks,e.marks)&&z(e.text)&&(r.text=" ".concat(r.text),t.children.splice(n,1))})}),e);this._markDefs.length>0&&a.filter(t=>"block"===t._type).forEach(t=>{t.markDefs=t.markDefs||[],t.markDefs=t.markDefs.concat(this._markDefs.filter(e=>i()(t.children.map(t=>t.marks||[])).includes(e._key)))});let u=this.blockContentType.of.find(b);return u?a.map(t=>("block"===t._type&&(t._type=u.name),t)):a},this.deserializeElements=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[];return t.forEach(t=>{e=e.concat(n.deserializeElement(t))}),e},this.deserializeElement=t=>{var e,n;let r;let i=t=>"[object NodeList]"==Object.prototype.toString.call(t)?this.deserializeElements(Array.from(t)):Array.isArray(t)?this.deserializeElements(t):t?this.deserializeElement(t):void 0,o=t=>({_type:"__block",block:t});for(let a=0;a<this.rules.length;a++){let s=this.rules[a];if(!s.deserialize)continue;let u=s.deserialize(t,i,o),l=C(u);if("array"!==l&&"object"!==l&&"null"!==l&&"undefined"!==l)throw Error('A rule returned an invalid deserialized representation: "'.concat(r,'".'));if(void 0!==u){if(null===u)throw Error("Deserializer rule returned `null`");if(r=Array.isArray(u)?u:q(u)?this.deserializeDecorator(u):Y(u)?this.deserializeAnnotation(u):u,u&&!Array.isArray(u)&&$(u)&&"listItem"in u){let r=null==(e=t.parentNode)?void 0:e.parentNode;for(;r&&"li"===W(r);)r=null==(n=r.parentNode)?void 0:n.parentNode,u.level=u.level?u.level+1:1}u&&!Array.isArray(u)&&$(u)&&"blockquote"===u.style&&u.children.forEach((t,e)=>{G(t)&&"\r"===t.text&&(t.text="\n\n",(0===e||e===u.children.length-1)&&u.children.splice(e,1))});break}}return r||i(t.childNodes)||[]},this.deserializeDecorator=t=>{let{name:e}=t,n=t=>{if(q(t))return this.deserializeDecorator(t);if(G(t))t.marks=t.marks||[],t.text.trim()&&t.marks.unshift(e);else if("children"in t&&Array.isArray(t.children)){let e=t;e.children=e.children.map(n)}return t};return t.children.reduce((t,e)=>{let r=n(e);return Array.isArray(r)?t.concat(r):(t.push(r),t)},[])},this.deserializeAnnotation=t=>{let{markDef:e}=t;this._markDefs.push(e);let n=t=>{if(Y(t))return this.deserializeAnnotation(t);if(G(t))t.marks=t.marks||[],t.text.trim()&&t.marks.unshift(e._key);else if("children"in t&&Array.isArray(t.children)){let e=t;e.children=e.children.map(n)}return t};return t.children.reduce((t,e)=>{let r=n(e);return Array.isArray(r)?t.concat(r):(t.push(r),t)},[])};let{rules:o=[]}=r;if(!t)throw Error("Parameter 'blockContentType' is required");let a=(e=function(t){let e=function(t){var e,n;if(!t)throw Error("Parameter 'blockContentType' required");let r=t.of.find(b);if(!function(t){if(!h(t)||!Array.isArray(t.fields))return!1;let[e,n,r]=t.fields;return v(e)&&g(n)&&y(r)}(r))throw Error("'block' type is not defined in this schema (required).");let i=null==(n=null==(e=r.fields.find(v))?void 0:e.type)?void 0:n.of;if(!i)throw Error("No `of` declaration found for blocks `children` field");let o=i.find(t=>"span"===t.name);if(!o)throw Error("No `span` type found in `block` schema type `children` definition");let a=i.filter(t=>"span"!==t.name&&p(t)),s=t.of.filter(t=>t.name!==r.name&&p(t));return{styles:function(t){let e=t.fields.find(g);
1if(!e)throw Error("A field with name 'style' is not defined in the block type (required).");let n=w(e.type.options);if(0===n.length)throw Error("The style fields need at least one style defined. I.e: {title: 'Normal', value: 'normal'}.");return n}(r),decorators:o.decorators,annotations:o.annotations.map(t=>({title:t.title,type:t,value:t.name,icon:t.icon})),lists:function(t){let e=t.fields.find(y);if(!e)throw Error("A field with name 'list' is not defined in the block type (required).");let n=w(e.type.options);if(!n)throw Error("The list field need at least to be an empty array");return n}(r),types:{block:t,span:o,inlineObjects:a,blockObjects:s}}}(t),n=e.styles.map(t=>t.value||t.title),r=e.decorators.map(t=>t.value||t.title),i=e.annotations.map(t=>t.value||t.title||"");return{enabledBlockStyles:n,enabledSpanDecorators:r,enabledBlockAnnotations:i}}(t),[{deserialize(t,e){var n;if("p"===W(t)&&X(n=t)&&n.className&&("MsoListParagraphCxSpFirst"===n.className||"MsoListParagraphCxSpMiddle"===n.className||"MsoListParagraphCxSpLast"===n.className))return{...R,listItem:function(t){let e=X(t)&&t.getAttribute("style");if(e&&e.match(/lfo\d+/))return e.match("lfo1")?"bullet":"number"}(t),level:function(t){let e=X(t)&&t.getAttribute("style");if(!e)return;let n=e.match(/level\d+/);if(!n)return;let[r]=n[0].match(/\d/)||[],i=r?parseInt(r,10):1;return i||1}(t),style:S,children:e(t.childNodes)}}},{deserialize(t){if(X(t)&&"span"===W(t)&&J(t)){let e={..._,marks:[],text:t.innerText};return function(t){let e=X(t)&&t.getAttribute("style");return/font-weight:700/.test(e||"")}(t)&&e.marks.push("strong"),function(t){let e=X(t)&&t.getAttribute("style");return/font-style:italic/.test(e||"")}(t)&&e.marks.push("em"),e}}},{deserialize(t,n){var r;if("li"===W(t)&&J(t))return{...R,listItem:function(t){let e=W(t.parentNode);if(!e||K.includes(e))return"ul"===W(t.parentNode)?"bullet":"number"}(t),level:function(t){let e=0;if("li"===W(t)){let n=t.parentNode;for(;n;){let t=W(n);t&&K.includes(t)&&e++,n=n.parentNode}}else e=1;return e}(t),style:function(t,e){let n=W(t.firstChild),r=n&&Q[n];return r&&e.includes(r.style)?r.style:S}(t,e.enabledBlockStyles),children:n((null==(r=t.firstChild)?void 0:r.childNodes)||[])}}},{deserialize(t){let e=3===t.nodeType&&" "===(t.textContent||"").replace(/[\r\n]/g," ").replace(/\s\s+/g," ")&&t.nextSibling&&3!==t.nextSibling.nodeType&&t.previousSibling&&3!==t.previousSibling.nodeType,n=(e||" "!==t.textContent)&&"body"!==W(t.parentNode);if("#text"===t.nodeName&&n)return{..._,marks:[],text:(t.textContent||"").replace(/\s\s+/g," ")}}},{deserialize(t,e){if("blockquote"!==W(t))return;let n={...A,...O};delete n.blockquote;let r=[];return t.childNodes.forEach((e,i)=>{if(1===e.nodeType&&Object.keys(n).includes(e.localName.toLowerCase())){if(!t.ownerDocument)return;let n=t.ownerDocument.createElement("span");n.appendChild(t.ownerDocument.createTextNode("\r")),e.childNodes.forEach(t=>{n.appendChild(t.cloneNode(!0))}),i!==t.childNodes.length&&n.appendChild(t.ownerDocument.createTextNode("\r")),r.push(n)}else r.push(e)}),{_type:"block",style:"blockquote",markDefs:[],children:e(r)}}},{deserialize(t,n){let r={...A,...O},i=W(t),o=i?r[i]:void 0;return o?t.parentNode&&"li"===W(t.parentNode)?n(t.childNodes):(e.enabledBlockStyles.includes(o.style)||(o=R),{...o,children:n(t.childNodes)}):void 0}},{deserialize(t,e){let n=W(t);if(n&&n in M)return e(t.childNodes)}},{deserialize(t,e){let n="div"===W(t);if(n)return e(t.childNodes)}},{deserialize(t,e){let n=W(t);if(n&&n in j)return e(t.childNodes)}},{deserialize(t){if("br"===W(t))return{..._,text:"\n"}}},{deserialize(t,e){let n=W(t),r=n?L[n]:void 0,i=W(t.parentNode)||"";if(r&&t.parentNode&&j[i])return r.listItem=function(t){let e;switch(t){case"ul":default:e="bullet";break;case"ol":e="number"}return e}(i),{...r,children:e(t.childNodes)}}},{deserialize(t,n){let r=P[W(t)||""];if(r&&e.enabledSpanDecorators.includes(r))return{_type:"__decorator",name:r,children:n(t.childNodes)}}},{deserialize(t,n){if("a"!=W(t))return;let r=e.enabledBlockAnnotations.includes("link"),i=X(t)&&t.getAttribute("href");return i?r?{_type:"__annotation",markDef:{_key:k(12),_type:"link",href:i},children:n(t.childNodes)}:t.appendChild(t.ownerDocument.createTextNode(" (".concat(i,")")))&&n(t.childNodes):n(t.childNodes)}}]);this.rules=[...o,...a];let u=r.parseHtml||function(){if("undefined"===C(DOMParser))throw Error("The native `DOMParser` global which the `Html` deserializer uses by default is not present in this environment. You must supply the `options.parseHtml` function instead.");return t=>new DOMParser().parseFromString(t,"text/html")}();this.blockContentType=t,this.parseHtml=t=>{let e=function(t,e){let n=t.trim().replace(/\s\s+/g," ").replace(/[\r\n]/g," "),r=e(n);
1return Z.forEach(e=>{e(t,r)}),r}(t,u);return e.body}}}function te(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t._type!==(e.blockTypeName||"block"))return"_key"in t?t:{...t,_key:k(12)};let n={_key:k(12),children:[],markDefs:[],...t},r=n.children[n.children.length-1];if(!r)return n.children=[{_type:"span",_key:"".concat(n._key,0),text:"",marks:[]}],n;let i=[],o=!!(e.allowedDecorators&&Array.isArray(e.allowedDecorators))&&e.allowedDecorators;return n.children=n.children.reduce((t,e)=>{let i=t[t.length-1];return i&&d(e)&&d(i)&&s()(i.marks,e.marks)?(r&&r===e&&""===e.text&&n.children.length>1||(i.text+=e.text),t):(t.push(e),t)},[]).map((t,e)=>{if(!t)throw Error("missing child");return t._key="".concat(n._key).concat(e),d(t)&&(t.marks?o&&(t.marks=t.marks.filter(t=>{var e;let r=o.includes(t),i=null==(e=n.markDefs)?void 0:e.some(e=>e._key===t);return r||i})):t.marks=[],i.push(...t.marks)),t}),n.markDefs=(n.markDefs||[]).filter(t=>i.includes(t._key)),n}function tn(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new tt(e,n);return r.deserialize(t).map(t=>te(t))}},38063:function(t,e,n){"use strict";function r(t){return"https://docs.sanity.io/help/"+t}n.d(e,{h:function(){return r}})},54432:function(t,e,n){"use strict";n.d(e,{V:function(){return t4}});var r=n(78718),i=n.n(r),o=n(57557),a=n.n(o),s=n(61021),u=n.n(s),l=n(84596),c=n.n(l),f=n(94654),d=n.n(f),h=n(24350),p=n.n(h),m=n(18029),g=n.n(m),y=n(14176),v=n.n(y),b=n(52353),w=n.n(b),x=n(48403),C=n.n(x),E=n(68630),k=n.n(E),S=n(30084),R=n.n(S),_=n(45578),A=n.n(_);let M=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue"],j=[...M],O={name:"any",type:null,jsonType:"any"};var T={prepare:t=>({title:String(t)})};let P=[...M],L={name:"string",title:"String",type:null,jsonType:"string"},I=[...M,"rows"],D={name:"text",title:"Text",type:null,jsonType:"string"},N=[...M],V={name:"datetime",title:"Datetime",type:null,jsonType:"string"},F=[...M],B={name:"date",title:"Datetime",type:null,jsonType:"string"},H=[...M],U={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},Z=[...M],W={name:"url",title:"Url",type:null,jsonType:"string"},z=[...M],G={name:"email",title:"Email",type:null,jsonType:"string"},$=[...M],q={name:"number",title:"Number",type:null,jsonType:"number"};function Y(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Object.defineProperty(t,e,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(t,e,{value:i,writable:Boolean(r.writable),configurable:!1}),i}}),t}let X={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function K(t){return"array"===t.type&&t.of&&t.of.some(t=>"block"===t.type)}let J=["title","name","label","heading","header","caption"],Q=["description",...J];function tt(t,e){return u()(t.to||[]).some(t=>t.type===e)}function te(t){return tt(t,"sanity.imageAsset")}function tn(t){return tt(t,"sanity.fileAsset")}function tr(t){return function(){t.options&&t.options.preview&&console.warn('Heads up! The preview config is no longer defined on "options", but instead on the type/field itself.\nPlease move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "'.concat(t.name,'".\n')),function(t){let e=t.preview||(t.options||{}).preview;e&&"fields"in e&&console.warn('Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "'.concat(t.name,'".\n'))}(t);let e=function(t){if(!t)return t;let e=t.select||t.fields||{};return Array.isArray(e)?{...i()(t,["prepare","component"]),select:e.reduce((t,e)=>(t[e]=e,t),{})}:{...i()(t,["prepare","component"]),select:e}}(t.preview||(t.options||{}).preview);return e||function(t){let e={fields:[],...t},n=e.fields.filter(t=>"string"===t.type).map(t=>t.name),r=e.fields.filter(K).map(t=>t.name),o=J.find(t=>n.includes(t)||r.includes(t)),a=Q.find(t=>t!==o&&(n.includes(t)||r.includes(t)));o||(o=n[0]||r[0],a=n[1]||r[1]);let s=e.fields.find(t=>"image"===t.type),u=function(t){let e=t.fields||[],n=e.find(te);if(n)return n.name;let r=e.find(t=>(t.fields||[]).some(te));return r?"".concat(r.name,".asset"):void 0}(e);if(!o){let t=function(t){let e=t.fields||[],n=e.find(tn);if(n)return n.name;let r=e.find(t=>(t.fields||[]).some(tn));return r?"".concat(r.name,".asset"):void 0}(e);t&&(o="".concat(t,".originalFilename")),u&&(o="".concat(u,".originalFilename"))}if(!o&&!u){let t=e.fields.map(t=>t.name),n=t.reduce((t,e)=>(t[e]=e,t),{});return{select:n,prepare:e=>({title:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={maxDepth:"maxDepth"in e?e.maxDepth:2,maxBreadth:"maxBreadth"in e?e.maxBreadth:2,ignoreKeys:"ignoreKeys"in e?e.ignoreKeys:[]};return function t(e,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(e)){if(0===e.length)return"[empty]";let i=Math.max(e.length-n.maxBreadth),o=e.slice(0,n.maxBreadth).map((e,i)=>t(e,n,r+1)).concat(i>0?"â¦+".concat(i):[]).join(", ");return 0===r?o:"[".concat(o,"]")}if("object"==typeof e&&null!==e){let o=Object.keys(e).filter(t=>!n.ignoreKeys.includes(t)&&void 0!==e[t]);if(function(t){for(let e in t)if(t.hasOwnProperty(e))return!1;return!0}(i()(e,o)))return"{empty}";let a=o.slice(0,n.maxBreadth).map(i=>"".concat(i,": ").concat(t(e[i],n,r+1))).join(", ");return 0===r?a:"{".concat(a,"}")}let o=String(e);return""===o?'""':o}(t,n,0)}(i()(e,t),X)})}}let l=v()({title:o,description:a,media:s?s.name:u},w());return{select:l}}(t)}}let ti=["title","name","label","heading","header","caption","description"],to=["string","boolean","number"],ta=t=>to.includes(t.type);function ts(t){if(!Array.isArray(t))throw Error("The search config of a document type must be an array of search config objects");return t.map(t=>{if("defaults"===t)return t;if(!k()(t))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in t?t.weight:1,path:R()(t.path),mapWith:"str
1ing"==typeof t.mapWith?t.mapWith:void 0}})}let tu=Symbol("__cachedStringFields"),tl=t=>t.type&&"reference"===t.type.name,tc=["style","list"],tf=t=>"block"===t.name||t.type&&tf(t.type),td=t=>"array"===t.jsonType&&Array.isArray(t.of)&&t.of.some(tf);function th(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0;if(i<0)return n;let o=e(n,t,r);return"array"===t.jsonType&&Array.isArray(t.of)?t.of.reduce((t,n)=>th(n,e,t,r,i-1),o):"object"===t.jsonType&&Array.isArray(t.fields)&&!tl(t)?function(t,e,n,r,i){let o=tf(t);return t.fields.reduce((t,n)=>{if(o&&tc.includes(n.name))return t;let a=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return th(n.type,e,t,r.concat(a),i-1)},n)}(t,e,o,r,i):o}let tp=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],tm={title:10,subtitle:5,description:1.5};function tg(t){var e;let n=null==(e=null==t?void 0:t.preview)?void 0:e.select;return n?Object.keys(n).filter(t=>t in tm).map(t=>({weight:tm[t],path:n[t].split(".")})):[]}let ty=[...M,"orderings","__experimental_search","blockEditor","icon"],tv={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(t,e){let n;let r={fields:[],...t},o={...r.options||{}},a=Object.assign(i()(this.get(),ty),r,{type:this.get(),title:r.title||(r.name?g()(r.name):""),options:o,orderings:r.orderings||(0===(n=ti.filter(t=>r.fields.some(e=>ta(e)&&e.name===t))).length&&(n=r.fields.filter(ta).map(t=>t.name)),n.map(t=>({name:t,title:C()(g()(t)),by:[{field:t,direction:"asc"}]}))),fields:r.fields.map(t=>{let{name:n,fieldset:r,group:i,...o}=t;return Y({name:n,group:i,fieldset:r},"type",()=>e({...o,title:t.title||g()(n)}))})});return Y(a,"fieldsets",()=>tb(r,a.fields)),Y(a,"groups",()=>(function(t,e){var n;let r=t.groups||[],i=r.map(t=>{let{name:e,title:n,description:r,icon:i,readOnly:o,hidden:a}=t;return{name:e,title:n,description:r,icon:i,readOnly:o,default:t.default,hidden:a,fields:[]}}),o=i.filter(t=>t.default);if(o.length>1)throw Error("You currently have ".concat(o.length," default field groups defined for type '").concat(t.name?g()(t.name):null!=(n=t.title)?n:"","', but only 1 is supported"));let a=p()(i,"name");return e.forEach(e=>{if(e.group){let n=c()(e.group);n.length>0&&n.forEach(n=>{var r,i;let o=a[n];if(!o)throw Error("Field group '".concat(n,"' is not defined in schema for type '").concat(null!=(i=null!=(r=t.name)?r:t.title)?i:"","'"));o.fields.push(e)})}}),d()(a).filter(t=>t.fields.length>0)})(r,a.fields)),Y(a,"preview",tr(r)),Y(a,"__experimental_search",()=>{var t;let e=r.__experimental_search?ts(r.__experimental_search):null;return e?e.map(t=>"defaults"===t?ts(r):t):((t=a)[tu]||(t[tu]=A()([...tp,...tg(t),...(function(t,e){let n=(t,e,n)=>"string"===e.jsonType?[...t,n]:t;return th(t,n,[],[],4)})(t,0).map(t=>({weight:1,path:t})),...(function(t,e){let n=(t,e,n)=>td(e)?[...t,n]:t;return th(t,n,[],[],4)})(t,0).map(t=>({weight:1,path:t,mapWith:"pt::text"}))],t=>t.path.join("."))),t[tu])},{enumerable:!1}),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=Object.assign({},e,i()(n,ty),{title:n.title||r.title||(r.name?g()(r.name):""),type:e});return Y(o,"__experimental_search",()=>e.__experimental_search),t(o)}}}(a)}};function tb(t,e){let n=t.fieldsets||[],r=n.map(t=>{let{name:e,title:n,description:r,options:i,group:o,hidden:a,readOnly:s}=t;return{name:e,title:n,description:r,options:i,group:o,fields:[],hidden:a,readOnly:s}}),i=p()(r,"name");return e.map(e=>{if(e.fieldset){let n=i[e.fieldset];if(!n)throw Error("Fieldset '".concat(e.fieldset,"' is not defined in schema for type '").concat(t.name,"'"));return n.fields.push(e),1===n.fields.length?n:null}return{single:!0,field:e}}).filter(Boolean)}let tw=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],tx=[...M],tC={name:"reference",title:"Reference",type:null,jsonType:"object"},tE=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string"}],tk=[...M],tS={name:"crossDatasetReference",type:null,jsonType:"object"},tR={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},t_={name:"hotspot",type:"sanity.imageHotspot"},tA={name:"crop",type:"sanity.imageCrop"},tM=[...M],tj={name:"image",title:"Image",type:null,jsonType:"object"},tO={},tT={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},tP=[...M],tL={name:"file",title:"File",type:null,jsonType:"object"},tI={accept:""},tD={name:"document",title:"Document",type:null,jsonType:"object"},tN={get:()=>tD,extend:tv.extend},tV=[...M],tF={name:"array",type:null,jsonType:"array",of:[]},tB={type:"text",name:"text",title:"Text"},tH={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},tU={bullet:{title:"Bullet",value:"bullet"},numbered:{title:"Numbered",value:"number"}},tZ=[tU.bullet,tU.numbered],tW={normal:{title:"Normal",value:"normal"},h1:{title:"Heading 1",value:"h1"},h2:{title:"Heading 2",value:"h2"},h3:{title:"Heading 3",value:"h3"},h4:{title:"Heading 4",value:"h4"},h5:{title:"Heading 5",value:"h5"},h6:{title:"Heading 6",value:"h6"}
1,blockquote:{title:"Quote",value:"blockquote"}},tz=[tW.normal,tW.h1,tW.h2,tW.h3,tW.h4,tW.h5,tW.h6,tW.blockquote],tG={strong:{title:"Strong",value:"strong"},em:{title:"Emphasis",value:"em"},code:{title:"Code",value:"code"},underline:{title:"Underline",value:"underline"},strikeThrough:{title:"Strike",value:"strike-through"}},t$=[tG.strong,tG.em,tG.code,tG.underline,tG.strikeThrough],tq=["type","name","title","jsonType","description","options","fieldsets","icon"],tY={name:"block",title:"Block",type:null,jsonType:"object"},tX={},tK=[{type:"object",name:"link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Url",validation:t=>t.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],tJ=["type","name","title","jsonType","description","options","fieldsets","icon"],tQ={name:"span",title:"Span",type:null,jsonType:"object"},t1={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},t0={name:"text",title:"Text",type:"string"},t5={};var t2=Object.freeze({__proto__:null,any:{get:()=>O,extend(t,e){let n=Object.assign(i()(O,j),t,{type:O,of:t.of.map(t=>({name:t.name,type:e(a()(t,"name"))}))});return function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},e,i()(n,j),{type:e});return t(r)}}}(n)}},array:{get:()=>tF,extend(t,e){let n=Object.assign(i()(tF,tV),t,{type:tF});return Y(n,"of",()=>t.of.map(t=>e(t))),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},e,i()(n,tV),{type:e});return t(r)}}}(n)}},block:{get:()=>tY,extend(t,e){var n;let r={...t.options||tX},{marks:o,styles:a,lists:s,of:u,...l}=t,c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[tB,tH],annotations:t&&t.annotations?t.annotations:tK,decorators:t&&t.decorators?t.decorators:t$},...e.filter(t=>"span"!==t.type)]}}(o,u),f={name:"style",title:"Style",type:"string",options:{list:(n=a||tz).some(t=>"normal"===t.value)?n:[tW.normal,...n]}},d={name:"markDefs",title:"Mark definitions",type:"array",of:(null==o?void 0:o.annotations)||tK},h=[c,f,{name:"list",title:"List type",type:"string",options:{list:s||tZ}},d].concat(t.fields||[]),p=Object.assign(i()(tY,tq),l,{type:tY,options:r});return Y(p,"fields",()=>h.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(p,"preview",tr(t)),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=Object.assign({},e,i()(n,tq),{type:e});return t(r)}}}(p)}},boolean:{get:()=>U,extend(t){let e=Object.assign(i()(U,H),t,{type:U,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,H),{type:e});return t(r)}}}(e)}},crossDatasetReference:{get:()=>tS,extend(t,e){if(!t.to)throw Error('Missing "to" field in cross dataset reference definition. Check the type '.concat(t.name));let n=Object.assign(i()(tS,tk),t,{type:tS});return Y(n,"fields",()=>tE.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(n,"to",()=>u()(t.to).map(t=>{var e;return{...t,__experimental_search:((e=t)[tu]||(e[tu]=A()([...tp,...tg(e)],t=>t.path.join("."))),e[tu])}})),Y(n,"title",()=>t.title||(n.to&&0!==n.to.length?"Cross dataset reference to ".concat((function(t,e){let n=t.length;if(1===n)return t[0];let r=t.slice(0,n-1),i=t[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(u()(n.to).map(t=>t.title||C()(t.type)),0).toLowerCase()):"Cross dataset Reference")),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},e,i()(n,tk),{type:e});return t(r)}}}(n)}},date:{get:()=>B,extend(t){let e=Object.assign(i()(B,F),t,{type:B,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,F),{type:e});return t(r)}}}(e)}},datetime:{get:()=>V,extend(t){let e=Object.assign(i()(V,N),t,{type:V,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,N),{type:e});return t(r)}}}(e)}},document:tN,email:{get:()=>G,extend(t){let e=Object.assign(i()(G,z),t,{type:G,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,z),{type:e});return t(r)}}}(e)}},file:{get:()=>tL,extend(t,e){let n={...t.options||tI},r=[tT,...t.fields||[]],o={...t,fields:r},a=Object.assign(i()(tL,tP),o,{type:tL,title:o.title||(o.name?g()(o.name):""),options:n,fields:o.fields.map(n=>{let{name:r,fieldset:i,...o}
1=n,a={name:r,fieldset:i,isCustomized:Boolean(t.fields)};return Y(a,"type",()=>e({...o,title:n.title||g()(r)}))})});return Y(a,"fieldsets",()=>tb(o,a.fields)),Y(a,"preview",tr(Object.assign({},o,{fields:r}))),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=Object.assign({},e,i()(n,tP),{type:e});return t(r)}}}(a)}},image:{get:()=>tj,extend(t,e){let n={...t.options||tO},r=[t_,tA];n.hotspot||(r=r.map(t=>({...t,hidden:!0})));let o=[tR,...r,...t.fields||[]],a={...t,fields:o},s=Object.assign(i()(this.get(),tM),a,{type:tj,title:a.title||(a.name?g()(a.name):""),options:n,fields:a.fields.map(n=>{let{name:r,fieldset:i,...o}=n,a={name:r,fieldset:i,isCustomized:Boolean(t.fields)};return Y(a,"type",()=>e({...o,title:n.title||g()(r)}))})});return Y(s,"fieldsets",()=>tb(a,s.fields)),Y(s,"preview",tr(Object.assign({},a,{fields:o}))),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=Object.assign({},e,i()(n,tM),{type:e});return t(r)}}}(s)}},number:{get:()=>q,extend(t){let e=Object.assign(i()(q,$),t,{type:q,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,$),{type:e});return t(r)}}}(e)}},object:tv,reference:{get:()=>tC,extend(t,e){if(!t.to)throw Error('Missing "to" field in reference definition. Check the type '.concat(t.name));let n=Object.assign(i()(tC,tx),t,{type:tC});return Y(n,"fields",()=>tw.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(n,"fieldsets",()=>tb(t,n.fields)),Y(n,"to",()=>u()(t.to).map(t=>e(t))),Y(n,"title",()=>t.title||(n.to&&0!==n.to.length?"Reference to ".concat((function(t,e){let n=t.length;if(1===n)return t[0];let r=t.slice(0,n-1),i=t[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(u()(n.to).map(t=>t.title),0).toLowerCase()):"Reference")),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},e,i()(n,tx),{type:e});return t(r)}}}(n)}},span:{get:()=>tQ,extend(t,e){let n={...t.options||t5},{annotations:r=[],marks:o=[]}=t,a=[t1,t0],s=Object.assign(i()(tQ,tJ),t,{type:tQ,options:n});return Y(s,"fields",()=>a.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(s,"annotations",()=>r.map(e)),Y(s,"marks",()=>o.map(e)),Y(s,"preview",tr(t)),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=Object.assign({},e,i()(n,tJ),{type:e});return t(r)}}}(s)}},string:{get:()=>L,extend(t){let e=Object.assign(i()(L,P),t,{type:L,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,P),{type:e});return t(r)}}}(e)}},text:{get:()=>D,extend(t){let e=Object.assign(i()(D,I),t,{type:D,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,I),{type:e});return t(r)}}}(e)}},url:{get:()=>W,extend(t){let e=Object.assign(i()(W,Z),t,{type:W,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,Z),{type:e});return t(r)}}}(e)}}});let t3=class{static compile(t){return new t3(t)}constructor(t){this._original=t,this._registry=function(t){let e=Object.assign(Object.create(null),t2),n=t.types.reduce((t,e)=>{if(t[e.name])throw Error("Duplicate type name added to schema: ".concat(e.name));return t[e.name]=e,t},{});return t.types.forEach(o),e;function r(t){if(!e[t]){if(!n[t])throw Error("Unknown type: ".concat(t));o(n[t])}}function i(t){return r(t.type),e[t.type].extend(t,i).get()}function o(t){r(t.type),e[t.name]||(e[t.name]=e[t.type].extend(t,i))}}(t)}get name(){return this._original.name}get(t){return this._registry[t]&&this._registry[t].get()}has(t){return t in this._registry}getTypeNames(){return Object.keys(this._registry)}},t4=t3},97738:function(t,e,n){"use strict";n.d(e,{DG:function(){return a},Fd:function(){return i},KA:function(){return u},NG:function(){return s}});let r=/_key\s*==\s*['"](.*)['"]/;function i(t){return"string"==typeof t?r.test(t.trim()):"object"==typeof t&&"_key"in t}function o(t){return!!t&&("object"==typeof t||"function"==typeof t)}function a(t){return o(t)&&"string"==typeof t._type&&Array.isArray(t.children)&&t.children.every(t=>o(t))&&"markDefs"in t&&Array.isArray(t.markDefs)&&t.markDefs.every(t=>o(t))&&(!("style"in t)||"string"==typeof t.style)}
1function s(t){return o(t)&&"span"===t._type&&"string"==typeof t.text&&(!("marks"in t)||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function u(t){return a(t)&&"listItem"in t&&"string"==typeof t.listItem&&"level"in t&&Number.isInteger(t.level)}},37093:function(t,e,n){"use strict";let r;n.d(e,{E2:function(){return a}});var i=n(4527);Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);let o=()=>{if(r)return r;r=[];for(let t=0;t<256;++t)r[t]=(t+256).toString(16).substring(1);return r};function a(t){let e=o();return(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=new Uint8Array(t);return(0,i.Z)(e),e})(t).reduce((t,n)=>t+e[n],"").slice(0,t)}Object.prototype.toString},62997:function(t,e,n){"use strict";var r=n(34155);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.log=function(){var t;return("undefined"==typeof console?"undefined":i(console))==="object"&&console.log&&(t=console).log.apply(t,arguments)},e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)}},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(98653)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},98653:function(t,e,n){"use strict";t.exports=function(t){function e(t){for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n)|0;return r.colors[Math.abs(e)%r.colors.length]}function r(t){var n;function a(){if(a.enabled){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=a,s=Number(new Date),u=s-(n||s);o.diff=u,o.prev=n,o.curr=s,n=s,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;l++;var i=r.formatters[n];if("function"==typeof i){var a=e[l];t=i.call(o,a),e.splice(l,1),l--}return t}),r.formatArgs.call(o,e),(o.log||r.log).apply(o,e)}}return a.namespace=t,a.enabled=r.enabled(t),a.useColors=r.useColors(),a.color=e(t),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var t=r.instances.indexOf(this);return -1!==t&&(r.instances.splice(t,1),!0)}function o(t,e){return r(this.namespace+(void 0===e?":":e)+t)}return r.debug=r,r.default=r,r.coerce=function(t){return t instanceof Error?t.stack||t.message:t},r.disable=function(){r.enable("")},r.enable=function(t){r.save(t),r.names=[],r.skips=[];var e,n=("string"==typeof t?t:"").split(/[\s,]+/),i=n.length;for(e=0;e<i;e++)n[e]&&("-"===(t=n[e].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+t.substr(1)+"$")):r.names.push(RegExp("^"+t+"$")));for(e=0;e<r.instances.length;e++){var o=r.instances[e];o.enabled=r.enabled(o.namespace)}},r.enabled=function(t){var e,n;if("*"===t[t.length-1])return!0;for(e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1},r.humanize=n(57824),Object.keys(t).forEach(function(e){r[e]=t[e]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=e,r.enable(r.load()),r}},12751:function(t,e,n){"use strict";n.d(e,{CX:function(){return eE},F3:function(){return ee},mH:function(){return ey},vt:function(){return tC},ui:function(){return tT},_7:function(){return tv},BU:function(){return ex}});var r=n(67294),i=n(64514),o=n(6907),a=n.n(o),s=n(23279),u=n.n(s),l=n(23493),c=n.n(l);function f(t){return"object"==typeof t&&null!=t&&1===t.nodeType}
1function d(t,e){return(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function h(t,e){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var n,r=getComputedStyle(t,null);return d(r.overflowY,e)||d(r.overflowX,e)||!!(n=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t))&&(n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth)}return!1}function p(t,e,n,r,i,o,a,s){return o<t&&a>e||o>t&&a<e?0:o<=t&&s<=n||a>=e&&s>=n?o-t-r:a>e&&s<n||o<t&&s>n?a-e+i:0}var m=function(t,e){var n=window,r=e.scrollMode,i=e.block,o=e.inline,a=e.boundary,s=e.skipOverflowHiddenElements,u="function"==typeof a?a:function(t){return t!==a};if(!f(t))throw TypeError("Invalid target");for(var l,c,d=document.scrollingElement||document.documentElement,m=[],g=t;f(g)&&u(g);){if((g=null==(c=(l=g).parentElement)?l.getRootNode().host||null:c)===d){m.push(g);break}null!=g&&g===document.body&&h(g)&&!h(document.documentElement)||null!=g&&h(g,s)&&m.push(g)}for(var y=n.visualViewport?n.visualViewport.width:innerWidth,v=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,x=t.getBoundingClientRect(),C=x.height,E=x.width,k=x.top,S=x.right,R=x.bottom,_=x.left,A="start"===i||"nearest"===i?k:"end"===i?R:k+C/2,M="center"===o?_+E/2:"end"===o?S:_,j=[],O=0;O<m.length;O++){var T=m[O],P=T.getBoundingClientRect(),L=P.height,I=P.width,D=P.top,N=P.right,V=P.bottom,F=P.left;if("if-needed"===r&&k>=0&&_>=0&&R<=v&&S<=y&&k>=D&&R<=V&&_>=F&&S<=N)break;var B=getComputedStyle(T),H=parseInt(B.borderLeftWidth,10),U=parseInt(B.borderTopWidth,10),Z=parseInt(B.borderRightWidth,10),W=parseInt(B.borderBottomWidth,10),z=0,G=0,$="offsetWidth"in T?T.offsetWidth-T.clientWidth-H-Z:0,q="offsetHeight"in T?T.offsetHeight-T.clientHeight-U-W:0,Y="offsetWidth"in T?0===T.offsetWidth?0:I/T.offsetWidth:0,X="offsetHeight"in T?0===T.offsetHeight?0:L/T.offsetHeight:0;if(d===T)z="start"===i?A:"end"===i?A-v:"nearest"===i?p(w,w+v,v,U,W,w+A,w+A+C,C):A-v/2,G="start"===o?M:"center"===o?M-y/2:"end"===o?M-y:p(b,b+y,y,H,Z,b+M,b+M+E,E),z=Math.max(0,z+w),G=Math.max(0,G+b);else{z="start"===i?A-D-U:"end"===i?A-V+W+q:"nearest"===i?p(D,V,L,U,W+q,A,A+C,C):A-(D+L/2)+q/2,G="start"===o?M-F-H:"center"===o?M-(F+I/2)+$/2:"end"===o?M-N+Z+$:p(F,N,I,H,Z+$,M,M+E,E);var K=T.scrollLeft,J=T.scrollTop;A+=J-(z=Math.max(0,Math.min(J+z/X,T.scrollHeight-L/X+q))),M+=K-(G=Math.max(0,Math.min(K+G/Y,T.scrollWidth-I/Y+$)))}j.push({el:T,top:z,left:G})}return j};function g(t){return t===Object(t)&&0!==Object.keys(t).length}var y=function(t,e){var n=t.isConnected||t.ownerDocument.documentElement.contains(t);if(g(e)&&"function"==typeof e.behavior)return e.behavior(n?m(t,e):[]);if(n){var r=!1===e?{block:"end",inline:"nearest"}:g(e)?e:{block:"start",inline:"nearest"};return function(t,e){void 0===e&&(e="auto");var n="scrollBehavior"in document.body.style;t.forEach(function(t){var r=t.el,i=t.top,o=t.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:e}):(r.scrollTop=i,r.scrollLeft=o)})}(m(t,r),r.behavior)}},v=n(18156),b=n(73935);function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var C=parseInt(r.version.split(".")[0],10)>=17,E="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,k="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),S="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),R="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),_="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),A="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),M="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),j="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),O="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),T="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),P="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),L="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),I=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),D=!j&&!A&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,N=I?r.useLayoutEffect:r.useEffect,V=t=>{var{isLast:e,leaf:n,parent:o,text:a}=t,s=tv(),u=ee.findPath(s,a),l=i.y$.parent(u);
1return s.isVoid(o)?r.createElement(B,{length:i.NB.string(o).length}):""!==n.text||o.children[o.children.length-1]!==a||s.isInline(o)||""!==i.ML.string(s,l)?""===n.text?r.createElement(B,null):e&&"\n"===n.text.slice(-1)?r.createElement(F,{isTrailing:!0,text:n.text}):r.createElement(F,{text:n.text}):r.createElement(B,{isLineBreak:!0})},F=t=>{var{text:e,isTrailing:n=!1}=t,i=(0,r.useRef)(null),o=()=>"".concat(null!=e?e:"").concat(n?"\n":"");return(N(()=>{var t=o();i.current&&i.current.textContent!==t&&(i.current.textContent=t)}),i.current)?r.createElement("span",{"data-slate-string":!0,ref:i}):r.createElement("span",{"data-slate-string":!0,ref:i},o())},B=t=>{var{length:e=0,isLineBreak:n=!1}=t;return r.createElement("span",{"data-slate-zero-width":n?"n":"z","data-slate-length":e},"\uFEFF",n?r.createElement("br",null):null)},H=new WeakMap,U=new WeakMap,Z=new WeakMap,W=new WeakMap,z=new WeakMap,G=new WeakMap,$=new WeakMap,q=new WeakMap,Y=new WeakMap,X=new WeakMap,K=new WeakMap,J=new WeakMap,Q=new WeakMap,tt=new WeakMap,te=new WeakMap,tn=new WeakMap,tr=Symbol("placeholder"),ti=t=>{var{leaf:e,isLast:n,text:i,parent:o,renderPlaceholder:a,renderLeaf:s=t=>r.createElement(ta,Object.assign({},t))}=t,u=(0,r.useRef)(null);(0,r.useEffect)(()=>{var t=null==u?void 0:u.current,e=document.querySelector('[data-slate-editor="true"]');if(t&&e)return e.style.minHeight="".concat(t.clientHeight,"px"),()=>{e.style.minHeight="auto"}},[u,e]);var l=r.createElement(V,{isLast:n,leaf:e,parent:o,text:i});if(e[tr]){var c={children:e.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:u}};l=r.createElement(r.Fragment,null,a(c),l)}return s({attributes:{"data-slate-leaf":!0},children:l,leaf:e,text:i})},to=r.memo(ti,(t,e)=>e.parent===t.parent&&e.isLast===t.isLast&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&e.text===t.text&&i.xv.equals(e.leaf,t.leaf)&&e.leaf[tr]===t.leaf[tr]),ta=t=>{var{attributes:e,children:n}=t;return r.createElement("span",Object.assign({},e),n)},ts=["anchor","focus"],tu=["anchor","focus"],tl=(t,e)=>Object.keys(t).length===Object.keys(e).length&&Object.keys(t).every(n=>e.hasOwnProperty(n)&&t[n]===e[n]),tc=(t,e)=>{if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n],a=x(r,ts),s=x(o,tu);if(!i.e6.equals(r,o)||r[tr]!==o[tr]||!tl(a,s))return!1}return!0};function tf(t){var e=(0,r.useRef)(0),n=(0,r.useRef)(null),[,i]=(0,r.useState)(0);return(0,r.useEffect)(()=>(tn.set(t,()=>{!n.current&&(n.current=requestAnimationFrame(()=>{i(t=>t+1),n.current=null}),e.current++)}),()=>{tn.delete(t)}),[t]),n.current&&(cancelAnimationFrame(n.current),n.current=null),e.current}var td=t=>{for(var{decorations:e,isLast:n,parent:o,renderPlaceholder:a,renderLeaf:s,text:u}=t,l=tv(),c=(0,r.useRef)(null),f=i.xv.decorations(u,e),d=ee.findKey(l,u),h=[],p=0;p<f.length;p++){var m=f[p];h.push(r.createElement(to,{isLast:n&&p===f.length-1,key:"".concat(d.id,"-").concat(p),renderPlaceholder:a,leaf:m,text:u,parent:o,renderLeaf:s}))}N(()=>{var t=q.get(l);c.current?(null==t||t.set(d,c.current),G.set(u,c.current),z.set(c.current,u)):(null==t||t.delete(d),G.delete(u))});var g=S?tf(u):void 0;return r.createElement("span",{"data-slate-node":"text",ref:c,key:g},h)},th=r.memo(td,(t,e)=>e.parent===t.parent&&e.isLast===t.isLast&&e.renderLeaf===t.renderLeaf&&e.text===t.text&&tc(e.decorations,t.decorations)),tp=t=>{var{decorations:e,element:n,renderElement:o=t=>r.createElement(tg,Object.assign({},t)),renderPlaceholder:s,renderLeaf:u,selection:l}=t,c=(0,r.useRef)(null),f=tv(),d=tj(),h=f.isInline(n),p=ee.findKey(f,n),m=tE({decorations:e,node:n,renderElement:o,renderPlaceholder:s,renderLeaf:u,selection:l}),g={"data-slate-node":"element",ref:c};if(h&&(g["data-slate-inline"]=!0),!h&&i.ML.hasInlines(f,n)){var y=i.NB.string(n),v=a()(y);"rtl"===v&&(g.dir=v)}if(i.ML.isVoid(f,n)){g["data-slate-void"]=!0,!d&&h&&(g.contentEditable=!1);var[[b]]=i.NB.texts(n);m=r.createElement(h?"span":"div",{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},r.createElement(th,{renderPlaceholder:s,decorations:[],isLast:!1,parent:n,text:b})),H.set(b,0),U.set(b,n)}N(()=>{var t=q.get(f);c.current?(null==t||t.set(p,c.current),G.set(n,c.current),z.set(c.current,n)):(null==t||t.delete(p),G.delete(n))});var w=o({attributes:g,children:m,element:n});if(S){var x=tf(n);return r.createElement(r.Fragment,{key:x},w)}return w},tm=r.memo(tp,(t,e)=>t.element===e.element&&t.renderElement===e.renderElement&&t.renderLeaf===e.renderLeaf&&tc(t.decorations,e.decorations)&&(t.selection===e.selection||!!t.selection&&!!e.selection&&i.e6.equals(t.selection,e.selection))),tg=t=>{var{attributes:e,children:n,element:i}=t,o=tv().isInline(i)?"span":"div";return r.createElement(o,Object.assign({},e,{style:{position:"relative"}}
1),n)},ty=(0,r.createContext)(null),tv=()=>{var t=(0,r.useContext)(ty);if(!t)throw Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return t},tb=(0,r.createContext)(()=>[]),tw=()=>(0,r.useContext)(tb),tx=(0,r.createContext)(!1),tC=()=>(0,r.useContext)(tx),tE=t=>{for(var{decorations:e,node:n,renderElement:o,renderPlaceholder:a,renderLeaf:s,selection:u}=t,l=tw(),c=tv(),f=ee.findPath(c,n),d=[],h=i.W_.isElement(n)&&!c.isInline(n)&&i.ML.hasInlines(c,n),p=0;p<n.children.length;p++){var m=f.concat(p),g=n.children[p],y=ee.findKey(c,g),v=i.ML.range(c,m),b=u&&i.e6.intersection(v,u),w=l([g,m]);for(var x of e){var C=i.e6.intersection(x,v);C&&w.push(C)}i.W_.isElement(g)?d.push(r.createElement(tx.Provider,{key:"provider-".concat(y.id),value:!!b},r.createElement(tm,{decorations:w,element:g,key:y.id,renderElement:o,renderPlaceholder:a,renderLeaf:s,selection:b}))):d.push(r.createElement(th,{decorations:w,key:y.id,isLast:h&&p===n.children.length-1,parent:n,renderPlaceholder:a,renderLeaf:s,text:g})),H.set(g,p),U.set(g,n)}return d},tk={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveUp:"up",moveDown:"down",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",extendUp:"shift+up",extendDown:"shift+down",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},tS={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},tR={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},t_=t=>{var e=tk[t],n=tS[t],r=tR[t],i=e&&(0,v.TB)(e),o=n&&(0,v.TB)(n),a=r&&(0,v.TB)(r);return t=>!!(i&&i(t)||k&&o&&o(t)||!k&&a&&a(t))},tA={isBold:t_("bold"),isCompose:t_("compose"),isMoveBackward:t_("moveBackward"),isMoveForward:t_("moveForward"),isDeleteBackward:t_("deleteBackward"),isDeleteForward:t_("deleteForward"),isDeleteLineBackward:t_("deleteLineBackward"),isDeleteLineForward:t_("deleteLineForward"),isDeleteWordBackward:t_("deleteWordBackward"),isDeleteWordForward:t_("deleteWordForward"),isExtendBackward:t_("extendBackward"),isExtendForward:t_("extendForward"),isExtendDown:t_("extendDown"),isExtendUp:t_("extendUp"),isExtendLineBackward:t_("extendLineBackward"),isExtendLineForward:t_("extendLineForward"),isItalic:t_("italic"),isMoveUp:t_("moveDown"),isMoveDown:t_("moveUp"),isMoveLineBackward:t_("moveLineBackward"),isMoveLineForward:t_("moveLineForward"),isMoveWordBackward:t_("moveWordBackward"),isMoveWordForward:t_("moveWordForward"),isRedo:t_("redo"),isSoftBreak:t_("insertSoftBreak"),isSplitBlock:t_("splitBlock"),isTransposeCharacter:t_("transposeCharacter"),isUndo:t_("undo")},tM=(0,r.createContext)(!1),tj=()=>(0,r.useContext)(tM),tO=(0,r.createContext)(null),tT=()=>{var t=(0,r.useContext)(tO);if(!t)throw Error("The `useSlate` hook must be used inside the <Slate> component's context.");var[e]=t;return e},tP=t=>t&&t.ownerDocument&&t.ownerDocument.defaultView||null,tL=t=>tD(t)&&8===t.nodeType,tI=t=>tD(t)&&1===t.nodeType,tD=t=>{var e=tP(t);return!!e&&t instanceof e.Node},tN=t=>{var e=t&&t.anchorNode&&tP(t.anchorNode);return!!e&&t instanceof e.Selection},tV=t=>tD(t)&&3===t.nodeType,tF=t=>t.clipboardData&&""!==t.clipboardData.getData("text/plain")&&1===t.clipboardData.types.length,tB=t=>{var[e,n]=t;if(tI(e)&&e.childNodes.length){var r=n===e.childNodes.length,i=r?n-1:n;for([e,i]=tU(e,i,r?"backward":"forward"),r=i<n;tI(e)&&e.childNodes.length;){var o=r?e.childNodes.length-1:0;e=tZ(e,o,r?"backward":"forward")}n=r&&null!=e.textContent?e.textContent.length:0}return[e,n]},tH=()=>!!(window.document.activeElement&&window.document.activeElement.shadowRoot),tU=(t,e,n)=>{for(var{childNodes:r}=t,i=r[e],o=e,a=!1,s=!1;(tL(i)||tI(i)&&0===i.childNodes.length||tI(i)&&"false"===i.getAttribute("contenteditable"))&&(!a||!s);){if(o>=r.length){a=!0,o=e-1,n="backward";continue}if(o<0){s=!0,o=e+1,n="forward";continue}i=r[o],e=o,o+="forward"===n?1:-1}return[i,e]},tZ=(t,e,n)=>{var[r]=tU(t,e,n);return r},tW=t=>{var e="";if(tV(t)&&t.nodeValue)return t.nodeValue;if(tI(t)){for(var n of Array.from(t.childNodes))e+=tW(n);var r=getComputedStyle(t).getPropertyValue("display");("block"===r||"list"===r||"BR"===t.tagName)&&(e+="\n")}return e},tz=/data-slate-fragment="(.+?)"/m,tG=t=>{var[,e]=t.getData("text/html").match(tz)||[];return e},t$=t=>{if(!t.getData("application/x-slate-fragment")){var e=tG(t);if(e){var n=new DataTransfer;
1return t.types.forEach(e=>{n.setData(e,t.getData(e))}),n.setData("application/x-slate-fragment",e),n}}return t},tq=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"];function tY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tX(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tY(Object(n),!0).forEach(function(e){w(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tY(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var tK=t=>r.createElement(r.Fragment,null,tE(t)),tJ=t=>{var{autoFocus:e,decorate:n=t1,onDOMBeforeInput:o,placeholder:s,readOnly:l=!1,renderElement:f,renderLeaf:d,renderPlaceholder:h=t=>r.createElement(tQ,Object.assign({},t)),scrollSelectionIntoView:p=t0,style:m={},as:g="div"}=t,y=x(t,tq),v=tT(),[b,w]=(0,r.useState)(!1),C=(0,r.useRef)(null),k=(0,r.useRef)([]);Y.set(v,l);var S=(0,r.useMemo)(()=>({hasInsertPrefixInCompositon:!1,isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null}),[]);N(()=>{C.current&&(t=tP(C.current))?(Z.set(v,t),W.set(v,C.current),G.set(v,C.current),z.set(C.current,v)):G.delete(v);var t,e,{selection:n}=v,r=ee.findDocumentOrShadowRoot(v).getSelection();if(!ee.isComposing(v)&&r&&ee.isFocused(v)){var o="None"!==r.type;if(n||o){var a=W.get(v),s=!1;if(a.contains(r.anchorNode)&&a.contains(r.focusNode)&&(s=!0),o&&s&&n){var u=ee.toSlateRange(v,r,{exactMatch:!0,suppressThrow:!0});if(u&&i.e6.equals(u,n))return}if(n&&!ee.hasRange(v,n)){try{v.selection=ee.toSlateRange(v,r,{exactMatch:!1,suppressThrow:!1})}catch(t){}return}S.isUpdatingSelection=!0;try{e=n&&s?ee.toDOMRange(v,n):void 0}catch(t){}if(e){var l=e.startOffset;if(R&&n&&1===l&&1===e.endOffset&&"\uFEFF"===e[i.e6.isBackward(n)?"endContainer":"startContainer"].textContent){var c=i.NB.parent(v,n.focus.path);i.ML.isVoid(v,c)&&(l=0)}i.e6.isBackward(n)?r.setBaseAndExtent(e.endContainer,e.endOffset,e.startContainer,l):r.setBaseAndExtent(e.startContainer,l,e.endContainer,e.endOffset),p(v,e)}else r.removeAllRanges();setTimeout(()=>{e&&R&&ee.toDOMNode(v,v).focus(),S.isUpdatingSelection=!1})}}}),(0,r.useEffect)(()=>{C.current&&e&&C.current.focus()},[e]);var A=(0,r.useCallback)(c()(()=>{if(!ee.isComposing(v)&&!S.isUpdatingSelection&&!S.isDraggingInternally){var t=ee.findDocumentOrShadowRoot(v),{activeElement:e}=t,n=ee.toDOMNode(v,v),r=t.getSelection();if(e===n?(S.latestElement=e,X.set(v,!0)):X.delete(v),!r)return i.YR.deselect(v);var{anchorNode:o,focusNode:a}=r,s=t2(v,o)||t3(v,o),u=t2(v,a)||t3(v,a);if(s&&u){var l=ee.toSlateRange(v,r,{exactMatch:!1,suppressThrow:!1});i.YR.select(v,l)}}},100),[l]),j=(0,r.useMemo)(()=>u()(A,0),[A]),V=(0,r.useCallback)(t=>{if(!l&&t2(v,t.target)&&!t6(t,o)){j.flush(),A.flush();var{selection:e}=v,{inputType:n}=t,r=t.dataTransfer||t.data||void 0;if("insertCompositionText"!==n&&"deleteCompositionText"!==n){var a=!1;if("insertText"===n&&e&&i.e6.isCollapsed(e)&&t.data&&1===t.data.length&&/[a-z ]/i.test(t.data)&&0!==e.anchor.offset){a=!0,v.marks&&(a=!1);var{anchor:s}=e,[u,c]=ee.toDOMPoint(v,s),f=null===(h=u.parentElement)||void 0===h?void 0:h.closest("a");if(f&&ee.hasDOMNode(v,f)){var d,h,p,{document:m}=ee.getWindow(v),g=m.createTreeWalker(f,NodeFilter.SHOW_TEXT).lastChild();g===u&&(null===(p=g.textContent)||void 0===p?void 0:p.length)===c&&(a=!1)}}if(!n.startsWith("delete")||n.startsWith("deleteBy")){var[y]=t.getTargetRanges();if(y){var b=ee.toSlateRange(v,y,{exactMatch:!1,suppressThrow:!1});if(!e||!i.e6.equals(e,b)){a=!1;var x=v.selection&&i.ML.rangeRef(v,v.selection);i.YR.select(v,b),x&&Q.set(v,x)}}}if(a||t.preventDefault(),e&&i.e6.isExpanded(e)&&n.startsWith("delete")){var C=n.endsWith("Backward")?"backward":"forward";i.ML.deleteFragment(v,{direction:C});return}switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":i.ML.deleteFragment(v);break;case"deleteContent":case"deleteContentForward":i.ML.deleteForward(v);break;case"deleteContentBackward":i.ML.deleteBackward(v);break;case"deleteEntireSoftLine":i.ML.deleteBackward(v,{unit:"line"}),i.ML.deleteForward(v,{unit:"line"});break;case"deleteHardLineBackward":i.ML.deleteBackward(v,{unit:"block"});break;case"deleteSoftLineBackward":i.ML.deleteBackward(v,{unit:"line"});break;case"deleteHardLineForward":i.ML.deleteForward(v,{unit:"block"});break;case"deleteSoftLineForward":i.ML.deleteForward(v,{unit:"line"});break;case"deleteWordBackward":i.ML.deleteBackward(v,{unit:"word"});break;
1case"deleteWordForward":i.ML.deleteForward(v,{unit:"word"});break;case"insertLineBreak":i.ML.insertSoftBreak(v);break;case"insertParagraph":i.ML.insertBreak(v);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":var{selection:E}=v;E&&i.e6.isExpanded(E)&&i.ML.deleteFragment(v),"insertFromComposition"===n&&ee.isComposing(v)&&(w(!1),K.set(v,!1)),(null==r?void 0:r.constructor.name)==="DataTransfer"?ee.insertData(v,r):"string"==typeof r&&(a?k.current.push(()=>i.ML.insertText(v,r)):i.ML.insertText(v,r))}var S=null===(d=Q.get(v))||void 0===d?void 0:d.unref();Q.delete(v),!S||v.selection&&i.e6.equals(v.selection,S)||i.YR.select(v,S)}}},[l,o]);N(()=>(C.current&&D&&C.current.addEventListener("beforeinput",V),()=>{C.current&&D&&C.current.removeEventListener("beforeinput",V)}),[V]),N(()=>{var t=ee.getWindow(v);return t.document.addEventListener("selectionchange",j),()=>{t.document.removeEventListener("selectionchange",j)}},[j]);var F=n([v,[]]);if(s&&1===v.children.length&&1===Array.from(i.NB.texts(v)).length&&""===i.NB.string(v)&&!b){var B=i.ML.start(v,[]);F.push({[tr]:!0,placeholder:s,anchor:B,focus:B})}return r.createElement(tM.Provider,{value:l},r.createElement(tb.Provider,{value:n},r.createElement(g,Object.assign({role:l?void 0:"textbox"},y,{spellCheck:(!!D||!I)&&y.spellCheck,autoCorrect:D||!I?y.autoCorrect:"false",autoCapitalize:D||!I?y.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!l,zindex:-1,suppressContentEditableWarning:!0,ref:C,style:tX({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},m),onBeforeInput:(0,r.useCallback)(t=>{if(!D&&!l&&!t4(t,y.onBeforeInput)&&t2(v,t.target)&&(t.preventDefault(),!ee.isComposing(v))){var e=t.data;i.ML.insertText(v,e)}},[l]),onInput:(0,r.useCallback)(t=>{for(var e of k.current)e();k.current=[]},[]),onBlur:(0,r.useCallback)(t=>{if(!(l||S.isUpdatingSelection||!t2(v,t.target)||t4(t,y.onBlur))){var e=ee.findDocumentOrShadowRoot(v);if(S.latestElement!==e.activeElement){var{relatedTarget:n}=t;if(!(n===ee.toDOMNode(v,v)||tI(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&tD(n)&&ee.hasDOMNode(v,n)){var r=ee.toSlateNode(v,n);if(i.W_.isElement(r)&&!v.isVoid(r))return}if(_){var o=e.getSelection();null==o||o.removeAllRanges()}X.delete(v)}}}},[l,y.onBlur]),onClick:(0,r.useCallback)(t=>{if(t5(v,t.target)&&!t4(t,y.onClick)&&tD(t.target)){var e=ee.toSlateNode(v,t.target),n=ee.findPath(v,e);if(i.ML.hasPath(v,n)&&i.NB.get(v,n)===e){if(3===t.detail&&n.length>=1){var r=n;if(!i.ML.isBlock(v,e)){var o,a=i.ML.above(v,{match:t=>i.ML.isBlock(v,t),at:n});r=null!==(o=null==a?void 0:a[1])&&void 0!==o?o:n.slice(0,1)}var s=i.ML.range(v,r);i.YR.select(v,s);return}if(!l){var u=i.ML.start(v,n),c=i.ML.end(v,n),f=i.ML.void(v,{at:u}),d=i.ML.void(v,{at:c});if(f&&d&&i.y$.equals(f[1],d[1])){var h=i.ML.range(v,u);i.YR.select(v,h)}}}}},[l,y.onClick]),onCompositionEnd:(0,r.useCallback)(t=>{if(t2(v,t.target)&&!t4(t,y.onCompositionEnd)&&(ee.isComposing(v)&&(w(!1),K.set(v,!1)),_||O||E||T||L||P||!t.data||i.ML.insertText(v,t.data),v.selection&&i.e6.isCollapsed(v.selection))){var e=v.selection.anchor.path,n=i.NB.leaf(v,e);S.hasInsertPrefixInCompositon&&(S.hasInsertPrefixInCompositon=!1,i.ML.withoutNormalizing(v,()=>{var t=n.text.replace(/^\uFEFF/,"");i.YR.delete(v,{distance:n.text.length,reverse:!0}),i.ML.insertText(v,t)}))}},[y.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)(t=>{!t2(v,t.target)||t4(t,y.onCompositionUpdate)||ee.isComposing(v)||(w(!0),K.set(v,!0))},[y.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)(t=>{if(t2(v,t.target)&&!t4(t,y.onCompositionStart)){var{selection:e,marks:n}=v;if(e){if(i.e6.isExpanded(e)){i.ML.deleteFragment(v);return}var r=i.ML.above(v,{match:t=>i.ML.isInline(v,t),mode:"highest"});if(r){var[,o]=r;if(i.ML.isEnd(v,e.anchor,o)){var a=i.ML.after(v,o);i.YR.setSelection(v,{anchor:a,focus:a})}}n&&(S.hasInsertPrefixInCompositon=!0,i.YR.insertNodes(v,tX({text:"\uFEFF"},n),{select:!0}))}}},[y.onCompositionStart]),onCopy:(0,r.useCallback)(t=>{t2(v,t.target)&&!t4(t,y.onCopy)&&(t.preventDefault(),ee.setFragmentData(v,t.clipboardData,"copy"))},[y.onCopy]),onCut:(0,r.useCallback)(t=>{if(!l&&t2(v,t.target)&&!t4(t,y.onCut)){t.preventDefault(),ee.setFragmentData(v,t.clipboardData,"cut");var{selection:e}=v;if(e){if(i.e6.isExpanded(e))i.ML.deleteFragment(v);else{var n=i.NB.parent(v,e.anchor.path);i.ML.isVoid(v,n)&&i.YR.delete(v)}}}},[l,y.onCut]),onDragOver:(0,r.useCallback)(t=>{if(t5(v,t.target)&&!t4(t,y.onDragOver)){var e=ee.toSlateNode(v,t.target);i.ML.isVoid(v,e)&&t.preventDefault()}},[y.onDragOver]),onDragStart:(0,r.useCallback)(t=>{if(!l&&t5(v,t.target)&&!t4(t,y.onDragStart)){var e=ee.toSlateNode(v,t.target),n=ee.findPath(v,e);if(i.ML.isVoid(v,e)||i.ML.void(v,{at:n,voids:!0})){var r=i.ML.range(v,n);i.YR.select(v,r)}S.isDraggingInternally=!0,ee.setFragmentData(v,t.dataTransfer,"drag")}},[l,y.onDragStart]),onDrop:(0,r.useCallback)(t=>{if(!l&&t5(v,t.target)&&!t4(t,y.onDrop)){t.preventDefault();var e=v.selection,n=ee.findEventRange(v,t),r=t.dataTransfer;i.YR.select(v,n),S.isDraggingInternally&&e&&!i.e6.equals(e,n)&&!i.ML.void(v,{at:n,voids:!0})&&i.YR.delete(v,{at:e}),ee.insertData(v,r),ee.isFocused(v)||ee.focus(v)}S.isDraggingInternally=!1},[l,y.onDrop]),onDragEnd:(0,r.useCallback)(t=>{!l&&S.isDraggingInternally&&y.onDragEnd&&t5(v,t.target)&&y.onDragEnd(t),S.isDraggingInternally=!1},[l,y.onDragEnd]),onFocus:(0,r.useCallback)(t=>{if(!l&&!S.isUpdatingSelection&&t2(v,t.target)&&!t4(t,y.onFocus)){var e=ee.toDOMNode(v,v),n=ee.findDocumentOrShadowRoot(v);
1if(S.latestElement=n.activeElement,R&&t.target!==e){e.focus();return}X.set(v,!0)}},[l,y.onFocus]),onKeyDown:(0,r.useCallback)(t=>{if(!l&&t2(v,t.target)){var{nativeEvent:e}=t;if(ee.isComposing(v)&&!1===e.isComposing&&(K.set(v,!1),w(!1)),!(t4(t,y.onKeyDown)||ee.isComposing(v))){var{selection:n}=v,r=v.children[null!==n?n.focus.path[0]:0],o="rtl"===a()(i.NB.string(r));if(tA.isRedo(e)){t.preventDefault(),"function"==typeof v.redo&&v.redo();return}if(tA.isUndo(e)){t.preventDefault(),"function"==typeof v.undo&&v.undo();return}if(tA.isMoveLineBackward(e)){t.preventDefault(),i.YR.move(v,{unit:"line",reverse:!0});return}if(tA.isMoveLineForward(e)){t.preventDefault(),i.YR.move(v,{unit:"line"});return}if(n&&(tA.isExtendUp(e)||tA.isExtendDown(e))&&v.isVoid(r)){t.preventDefault();var s=tA.isExtendUp(e);i.YR.move(v,{unit:"line",edge:"focus",reverse:s});return}if((tA.isMoveUp(e)||tA.isMoveDown(e))&&v.isVoid(r)){t.preventDefault();var u=tA.isMoveDown(e);i.YR.move(v,{unit:"line",reverse:u});return}if(tA.isExtendLineBackward(e)){t.preventDefault(),i.YR.move(v,{unit:"line",edge:"focus",reverse:!0});return}if(tA.isExtendLineForward(e)){t.preventDefault(),i.YR.move(v,{unit:"line",edge:"focus"});return}if(tA.isMoveBackward(e)){t.preventDefault(),n&&i.e6.isCollapsed(n)?i.YR.move(v,{reverse:!o}):i.YR.collapse(v,{edge:"start"});return}if(tA.isMoveForward(e)){t.preventDefault(),n&&i.e6.isCollapsed(n)?i.YR.move(v,{reverse:o}):i.YR.collapse(v,{edge:"end"});return}if(tA.isMoveWordBackward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)&&i.YR.collapse(v,{edge:"focus"}),i.YR.move(v,{unit:"word",reverse:!o});return}if(tA.isMoveWordForward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)&&i.YR.collapse(v,{edge:"focus"}),i.YR.move(v,{unit:"word",reverse:o});return}if(D){if((M||_)&&n&&(tA.isDeleteBackward(e)||tA.isDeleteForward(e))&&i.e6.isCollapsed(n)){var c=i.NB.parent(v,n.anchor.path);if(i.W_.isElement(c)&&i.ML.isVoid(v,c)&&i.ML.isInline(v,c)){t.preventDefault(),i.ML.deleteBackward(v,{unit:"block"});return}}}else{if(tA.isBold(e)||tA.isItalic(e)||tA.isTransposeCharacter(e)){t.preventDefault();return}if(tA.isSoftBreak(e)){t.preventDefault(),i.ML.insertSoftBreak(v);return}if(tA.isSplitBlock(e)){t.preventDefault(),i.ML.insertBreak(v);return}if(tA.isDeleteBackward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"backward"}):i.ML.deleteBackward(v);return}if(tA.isDeleteForward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"forward"}):i.ML.deleteForward(v);return}if(tA.isDeleteLineBackward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"backward"}):i.ML.deleteBackward(v,{unit:"line"});return}if(tA.isDeleteLineForward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"forward"}):i.ML.deleteForward(v,{unit:"line"});return}if(tA.isDeleteWordBackward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"backward"}):i.ML.deleteBackward(v,{unit:"word"});return}if(tA.isDeleteWordForward(e)){t.preventDefault(),n&&i.e6.isExpanded(n)?i.ML.deleteFragment(v,{direction:"forward"}):i.ML.deleteForward(v,{unit:"word"});return}}}}},[l,y.onKeyDown]),onPaste:(0,r.useCallback)(t=>{!l&&t2(v,t.target)&&!t4(t,y.onPaste)&&(!D||tF(t.nativeEvent))&&(t.preventDefault(),ee.insertData(v,t.clipboardData))},[l,y.onPaste])}),r.createElement(tK,{decorations:F,node:v,renderElement:f,renderPlaceholder:h,renderLeaf:d,selection:v.selection}))))},tQ=t=>{var{attributes:e,children:n}=t;return r.createElement("span",Object.assign({},e),n)},t1=()=>[],t0=(t,e)=>{if(!t.selection||t.selection&&i.e6.isCollapsed(t.selection)){var n=e.startContainer.parentElement;n.getBoundingClientRect=e.getBoundingClientRect.bind(e),y(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},t5=(t,e)=>tD(e)&&ee.hasDOMNode(t,e),t2=(t,e)=>tD(e)&&ee.hasDOMNode(t,e,{editable:!0}),t3=(t,e)=>{if(Y.get(t))return!1;var n=t5(t,e)&&ee.toSlateNode(t,e);return i.ML.isVoid(t,n)},t4=(t,e)=>{if(!e)return!1;var n=e(t);return null!=n?n:t.isDefaultPrevented()||t.isPropagationStopped()},t6=(t,e)=>{if(!e)return!1;var n=e(t);return null!=n?n:t.defaultPrevented};function t9(t,e){return t.slice(e.start,t.length-e.end)}function t8(t,e,n){var{path:r,text:o}=n,a={anchor:{path:r,offset:o.start},focus:{path:r,offset:o.end}};if(!e||!i.e6.isCollapsed(e))return a;var{insertText:s,removeText:u}=o;if((1===s.length||1===u.length)&&i.y$.equals(e.anchor.path,r)){var[l]=Array.from(i.ML.nodes(t,{at:e,match:i.xv.isText}));if(l){var[c]=l,{anchor:f}=e,d=c.text[f.offset-1],h=c.text[f.offset];if(1===s.length&&s===h)return e;if(1===u.length&&u===d)return{anchor:{path:r,offset:f.offset-1},focus:{path:r,offset:f.offset}}}}return a}var t7=0;class et{constructor(){this.id="".concat(t7++)}}var ee={isComposing:t=>!!K.get(t),getWindow(t){var e=Z.get(t);if(!e)throw Error("Unable to find a host window element for this editor");return e},findKey(t,e){var n=$.get(e);return n||(n=new et,$.set(e,n)),n},findPath(t,e){for(var n=[],r=e;;){var o=U.get(r);if(null==o){if(i.ML.isEditor(r))return n;break}var a=H.get(r);if(null==a)break;n.unshift(a),r=o}throw Error("Unable to find the path for Slate node: ".concat(i.o4.stringify(e)))},findDocumentOrShadowRoot(t){var e=ee.toDOMNode(t,t),n=e.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:e.ownerDocument},isFocused:t=>!!X.get(t),isReadOnly:t=>!!Y.get(t),blur(t){var e=ee.toDOMNode(t,t),n=ee.findDocumentOrShadowRoot(t);X.set(t,!1),n.activeElement===e&&e.blur()},focus(t){var e=ee.toDOMNode(t,t),n=ee.findDocumentOrShadowRoot(t);X.set(t,!0),n.activeElement!==e&&e.focus({preventScroll:!0})},deselect(t){ee.toDOMNode(t,t);var{selection:e}=t,n=ee.findDocumentOrShadowRoot(t).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),e&&i.YR.deselect(t)},hasDOMNode(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:i=!1}=r,o=ee.toDOMNode(t,t);try{n=tI(e)?e:e.parentElement}catch(t){if(!t.message.includes('Permission denied to access property "nodeType"'))throw t}return!!n&&n.closest("[data-slate-editor]")===o&&(!i||!!n.isContentEditable||"boolean"==typeof n.isContentEditable&&n.closest('[contenteditable="false"]')===o||!!n.getAttribute("data-slate-zero-width"))},insertData(t,e){t.insertData(e)},insertFragmentData:(t,e)=>t.insertFragmentData(e),insertTextData:(t,e)=>t.insertTextData(e),setFragmentData(t,e,n){t.setFragmentData(e,n)},toDOMNode(t,e){var n=q.get(t),r=i.ML.isEditor(e)?W.get(t):null==n?void 0:n.get(ee.findKey(t,e));if(!r)throw Error("Cannot resolve a DOM node from Slate node: ".concat(i.o4.stringify(e)));return r},toDOMPoint(t,e){var n,[r]=i.ML.node(t,e.path),o=ee.toDOMNode(t,r);i.ML.void(t,{at:e})&&(e={path:e.path,offset:0});var a=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;for(var u of a){var l=u.childNodes[0];if(null!=l&&null!=l.textContent){var{length:c}=l.textContent,f=u.getAttribute("data-slate-length"),d=s+(null==f?c:parseInt(f,10));if(e.offset<=d){n=[l,Math.min(c,Math.max(0,e.offset-s))];break}s=d}}if(!n)throw Error("Cannot resolve a DOM point from Slate point: ".concat(i.o4.stringify(e)));return n}
1,toDOMRange(t,e){var{anchor:n,focus:r}=e,o=i.e6.isBackward(e),a=ee.toDOMPoint(t,n),s=i.e6.isCollapsed(e)?a:ee.toDOMPoint(t,r),u=ee.getWindow(t).document.createRange(),[l,c]=o?s:a,[f,d]=o?a:s,h=!!(tI(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),p=!!(tI(f)?f:f.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(f,p?1:d),u},toSlateNode(t,e){var n=tI(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?z.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var n,{clientX:r,clientY:o,target:a}=e;if(null==r||null==o)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(e));var s=ee.toSlateNode(t,e.target),u=ee.findPath(t,s);if(i.ML.isVoid(t,s)){var l=a.getBoundingClientRect(),c=t.isInline(s)?r-l.left<l.left+l.width-r:o-l.top<l.top+l.height-o,f=i.ML.point(t,u,{edge:c?"start":"end"}),d=c?i.ML.before(t,f):i.ML.after(t,f);if(d)return i.ML.range(t,d)}var{document:h}=ee.getWindow(t);if(h.caretRangeFromPoint)n=h.caretRangeFromPoint(r,o);else{var p=h.caretPositionFromPoint(r,o);p&&((n=h.createRange()).setStart(p.offsetNode,p.offset),n.setEnd(p.offsetNode,p.offset))}if(!n)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(e));return ee.toSlateRange(t,n,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(t,e,n){var{exactMatch:r,suppressThrow:i}=n,[o,a]=r?e:tB(e),s=o.parentNode,u=null,l=0;if(s){var c,f=ee.toDOMNode(t,t),d=s.closest('[data-slate-void="true"]'),h=d&&f.contains(d)?d:null,p=s.closest("[data-slate-leaf]"),m=null;if(p){if(u=p.closest('[data-slate-node="text"]')){var g=ee.getWindow(t).document.createRange();g.setStart(u,0),g.setEnd(o,a);var y=g.cloneContents();[...Array.prototype.slice.call(y.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(y.querySelectorAll("[contenteditable=false]"))].forEac
1h(t=>{t.parentNode.removeChild(t)}),l=y.textContent.length,m=u}}else h&&((p=h.querySelector("[data-slate-leaf]"))?(u=p.closest('[data-slate-node="text"]'),l=(m=p).textContent.length,m.querySelectorAll("[data-slate-zero-width]").forEach(t=>{l-=t.textContent.length})):l=1);m&&l===m.textContent.length&&(s.hasAttribute("data-slate-zero-width")||R&&null!==(c=m.textContent)&&void 0!==c&&c.endsWith("\n\n"))&&l--}if(!u){if(i)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(e))}var v=ee.toSlateNode(t,u);return{path:ee.findPath(t,v),offset:l}},toSlateRange(t,e,n){var r,o,a,s,u,{exactMatch:l,suppressThrow:c}=n;if((tN(e)?e.anchorNode:e.startContainer)&&(tN(e)?(r=e.anchorNode,o=e.anchorOffset,a=e.focusNode,s=e.focusOffset,u=M&&tH()?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(r=e.startContainer,o=e.startOffset,a=e.endContainer,s=e.endOffset,u=e.collapsed)),null==r||null==a||null==o||null==s)throw Error("Cannot resolve a Slate range from DOM range: ".concat(e));var f=ee.toSlatePoint(t,[r,o],{exactMatch:l,suppressThrow:c});if(!f)return null;var d=u?f:ee.toSlatePoint(t,[a,s],{exactMatch:l,suppressThrow:c});if(!d)return null;var h={anchor:f,focus:d};return i.e6.isExpanded(h)&&i.e6.isForward(h)&&tI(a)&&i.ML.void(t,{at:h.focus,mode:"highest"})&&(h=i.ML.unhangRange(t,h,{voids:!0})),h},hasRange(t,e){var{anchor:n,focus:r}=e;return i.ML.hasPath(t,n.path)&&i.ML.hasPath(t,r.path)}},en=(t,e)=>{var{addedNodes:n}=e,{selection:r}=t,o=r?i.NB.parent(t,r.anchor.path):null,a=o?ee.toDOMNode(t,o):null;return!!a&&n.some(t=>t instanceof HTMLElement&&t.tagName===(null==a?void 0:a.tagName))},er=(t,e)=>{var{removedNodes:n}=e;return n.length>0},ei=(t,e)=>{var{selection:n}=t,{removedNodes:r}=e;return!!n&&i.e6.isExpanded(n)&&r.length>0},eo=(t,e)=>{var{insertedText:n}=e;return n.length>0},ea=(t,e)=>{var{addedNodes:n,characterDataMutations:r,removedNodes:i}=e;return i.length>0&&0===n.length&&r.length>0};class es{constructor(t,e){this.editor=t,this.restoreDOM=e,this.flush=t=>{try{this.reconcileMutations(t)}catch(t){console.error(t),this.restoreDOM()}},this.reconcileMutations=t=>{var e,n,r,o,a,s=(e=this.editor,n=[],r=[],o=[],a=[],t.forEach(t=>{switch(t.type){case"childList":t.addedNodes.length&&t.addedNodes.forEach(t=>{n.push(t)}),t.removedNodes.forEach(t=>{r.push(t)});break;case"characterData":a.push(t);var{parentNode:s}=t.target;if(!s)return;var u=function(t,e){var n=ee.toSlateNode(t,e);if(i.xv.isText(n)){var r=n.text,o=e.textContent;if(o.endsWith("\n")&&(o=o.slice(0,o.length-1)),o!==r){var a=function(t,e){if(void 0===t||void 0===e)return null;var n=function(t,e){if(t===e)return null;var n=function(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length!==e.length?n:null}(t,e);if(null===n)return null;var r=Math.min(t.length-n,e.length-n),i=function(t,e,n){for(var r=t.length,i=e.length,o=Math.min(r,i,n),a=0;a<o;a++)if(t.charAt(r-a-1)!==e.charAt(i-a-1))return a;return t.length!==e.length?o:null}(t,e,r);return null===i?null:{start:n,end:i}}(t,e);if(null==n)return null;var r=t9(e,n),i=t9(t,n);return{start:n.start,end:t.length-n.end,insertText:r,removeText:i}}(r,o);if(null!==a)return{text:a,path:ee.findPath(t,n)}}}}(e,s);if(!u||o.some(t=>{var{path:e}=t;return i.y$.equals(e,u.path)}))return;o.push(u)}}),{addedNodes:n,removedNodes:r,insertedText:o,characterDataMutations:a}),{insertedText:u,removedNodes:l}=s;if(ei(this.editor,s)){var c=u.reduce((t,e)=>{var{text:n}=e;return"".concat(t).concat(n.insertText)},"");this.replaceExpandedSelection(c)}else en(this.editor,s)?this.insertBreak():ea(this.editor,s)?this.removeLeafNodes(l):er(this.editor,s)?this.deleteBackward():eo(this.editor,s)&&this.insertText(u)},this.insertText=t=>{var{selection:e}=this.editor;if(ee.isComposing(this.editor)||J.get(this.editor)){tt.set(this.editor,t),J.set(this.editor,!1);return}t.forEach(t=>{var n=t.text.insertText,r=t8(this.editor,e,t);i.YR.setSelection(this.editor,r),i.ML.insertText(this.editor,n)})},this.insertBreak=()=>{var{selection:t}=this.editor;i.ML.insertBreak(this.editor),this.restoreDOM(),t&&setTimeout(()=>{this.editor.selection&&i.e6.equals(t,this.editor.selection)&&i.YR.move(this.editor)},100)},this.replaceExpandedSelection=t=>{i.ML.deleteFragment(this.editor),t.length&&i.ML.insertText(this.editor,t),this.restoreDOM()},this.deleteBackward=()=>{i.ML.deleteBackward(this.editor),ee.focus(this.editor),this.restoreDOM()},this.removeLeafNodes=t=>{for(var e of t){var n=ee.toSlateNode(this.editor,e);if(n){var r=ee.findPath(this.editor,n);i.YR.delete(this.editor,{at:r}),this.restoreDOM()}}},this.editor=t,this.restoreDOM=e}}function eu(t,e,n){var[i]=(0,r.useState)(()=>new MutationObserver(e));N(()=>{i.disconnect()}),(0,r.useEffect)(()=>
1{if(!t.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return i.observe(t.current,n),i.disconnect.bind(i)})}var el={childList:!0,characterData:!0,subtree:!0},ec={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},ef=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","style","as"];function ed(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var eh=t=>{var{autoFocus:e,decorate:n=t1,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:l,renderLeaf:f,renderPlaceholder:d=t=>r.createElement(tQ,Object.assign({},t)),style:h={},as:p="div"}=t,m=x(t,ef),g=tT(),[v,b]=(0,r.useState)(!1),C=(0,r.useRef)(null),E=function(t){var e,n,o,a,s,u,l=tv(),{receivedUserInput:c,onUserInput:f}=(e=tv(),n=(0,r.useRef)(!1),o=(0,r.useRef)(null),a=(0,r.useCallback)(()=>{if(!1===n.current){var t=ee.getWindow(e);n.current=!0,o.current&&t.cancelAnimationFrame(o.current),o.current=t.requestAnimationFrame(()=>{n.current=!1,o.current=null})}},[]),(0,r.useEffect)(()=>{n.current&&(n.current=!1)}),{receivedUserInput:n,onUserInput:a}),d=(s=tv(),u=(0,r.useRef)(new Set),eu(t,(0,r.useCallback)(t=>{c.current&&t.forEach(t=>{var{target:e}=t,n=function t(e){var n,r=tI(e)?e:e.parentElement;return r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]")),r&&z.get(r)||(null!==(n=r)&&void 0!==n&&n.parentElement?t(r.parentElement):null)}(e);if(n)return u.current.add(n)})},[]),el),u.current.clear(),(0,r.useCallback)(()=>{var t=Array.from(u.current.values());t.filter(e=>!t.some(t=>i.y$.isParent(ee.findPath(s,t),ee.findPath(s,e)))).forEach(t=>{var e;null===(e=tn.get(t))||void 0===e||e()}),u.current.clear()},[])),h=(0,r.useMemo)(()=>new es(l,d),[d,l]),p=(0,r.useRef)(null),m=(0,r.useRef)(!1),g=(0,r.useCallback)(t=>{c.current&&(m.current=!0,h.flush(t),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{m.current=!1,p.current=null},250))},[]);return eu(t,g,ec),{isReconciling:m,onUserInput:f}}(C);Y.set(g,s);var k=(0,r.useMemo)(()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null}),[]),S=tf(g);N(()=>{var t;C.current&&(t=tP(C.current))?(Z.set(g,t),W.set(g,C.current),G.set(g,C.current),z.set(C.current,g)):G.delete(g);try{var{selection:e}=g,n=ee.findDocumentOrShadowRoot(g).getSelection();if(k.isComposing||!n||!ee.isFocused(g))return;var r="None"!==n.type;if(!e&&!r)return;var o=W.get(g),a=!1;if(o.contains(n.anchorNode)&&o.contains(n.focusNode)&&(a=!0),r&&a&&e){var s=ee.toSlateRange(g,n,{exactMatch:!0,suppressThrow:!0});if(s&&i.e6.equals(s,e))return}if(e&&!ee.hasRange(g,e)){g.selection=ee.toSlateRange(g,n,{exactMatch:!1,suppressThrow:!1});return}var u=ee.toDOMNode(g,g);k.isUpdatingSelection=!0;var l=e&&ee.toDOMRange(g,e);if(l){i.e6.isBackward(e)?n.setBaseAndExtent(l.endContainer,l.endOffset,l.startContainer,l.startOffset):n.setBaseAndExtent(l.startContainer,l.startOffset,l.endContainer,l.endOffset);var c=l.startContainer.parentElement;c.getBoundingClientRect=l.getBoundingClientRect.bind(l),y(c,{scrollMode:"if-needed",boundary:u}),delete c.getBoundingClientRect}else n.removeAllRanges();setTimeout(()=>{k.isUpdatingSelection=!1})}catch(t){k.isUpdatingSelection=!1}}),(0,r.useEffect)(()=>{C.current&&e&&C.current.focus()},[e]);var R=(0,r.useCallback)(c()(()=>{try{if(!k.isComposing&&!k.isUpdatingSelection&&!E.isReconciling.current){var t=ee.findDocumentOrShadowRoot(g),{activeElement:e}=t,n=ee.toDOMNode(g,g),r=t.getSelection();if(e===n?(k.latestElement=e,X.set(g,!0)):X.delete(g),!r)return i.YR.deselect(g);
1var{anchorNode:o,focusNode:a}=r,s=t2(g,o)||t3(g,o),u=t2(g,a)||t3(g,a);if(s&&u){var l=ee.toSlateRange(g,r,{exactMatch:!1,suppressThrow:!1});i.YR.select(g,l)}else i.YR.deselect(g)}}catch(t){}},100),[s]),_=(0,r.useMemo)(()=>u()(R,0),[R]),A=(0,r.useCallback)(t=>{!s&&t2(g,t.target)&&!t6(t,o)&&(_.flush(),E.onUserInput())},[s,o]);N(()=>{var t=C.current;return null==t||t.addEventListener("beforeinput",A),()=>null==t?void 0:t.removeEventListener("beforeinput",A)},[S,o]),N(()=>{var t=ee.getWindow(g);return t.document.addEventListener("selectionchange",_),()=>{t.document.removeEventListener("selectionchange",_)}},[_]);var M=n([g,[]]);if(a&&1===g.children.length&&1===Array.from(i.NB.texts(g)).length&&""===i.NB.string(g)&&!v){var j=i.ML.start(g,[]);M.push({[tr]:!0,placeholder:a,anchor:j,focus:j})}return r.createElement(tM.Provider,{value:s},r.createElement(tb.Provider,{value:n},r.createElement(p,Object.assign({key:S,role:s?void 0:"textbox"},m,{spellCheck:m.spellCheck,autoCorrect:m.autoCorrect,autoCapitalize:m.autoCapitalize,"data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s||void 0,suppressContentEditableWarning:!0,ref:C,style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ed(Object(n),!0).forEach(function(e){w(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ed(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},h),onCopy:(0,r.useCallback)(t=>{t2(g,t.target)&&!t4(t,m.onCopy)&&(t.preventDefault(),ee.setFragmentData(g,t.clipboardData,"copy"))},[m.onCopy]),onCut:(0,r.useCallback)(t=>{if(!s&&t2(g,t.target)&&!t4(t,m.onCut)){t.preventDefault(),ee.setFragmentData(g,t.clipboardData,"cut");var{selection:e}=g;if(e){if(i.e6.isExpanded(e))i.ML.deleteFragment(g);else{var n=i.NB.parent(g,e.anchor.path);i.ML.isVoid(g,n)&&i.YR.delete(g)}}}},[s,m.onCut]),onFocus:(0,r.useCallback)(t=>{if(!s&&!k.isUpdatingSelection&&t2(g,t.target)&&!t4(t,m.onFocus)){var e=ee.findDocumentOrShadowRoot(g);k.latestElement=e.activeElement,X.set(g,!0)}},[s,m.onFocus]),onBlur:(0,r.useCallback)(t=>{if(!(s||k.isUpdatingSelection||!t2(g,t.target)||t4(t,m.onBlur))){var e=ee.findDocumentOrShadowRoot(g);if(k.latestElement!==e.activeElement){var{relatedTarget:n}=t;if(!(n===ee.toDOMNode(g,g)||tI(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&tD(n)&&ee.hasDOMNode(g,n)){var r=ee.toSlateNode(g,n);if(i.W_.isElement(r)&&!g.isVoid(r))return}X.delete(g)}}}},[s,m.onBlur]),onClick:(0,r.useCallback)(t=>{if(!s&&t5(g,t.target)&&!t4(t,m.onClick)&&tD(t.target)){var e=ee.toSlateNode(g,t.target),n=ee.findPath(g,e);if(i.ML.hasPath(g,n)&&i.NB.get(g,n)===e){var r=i.ML.start(g,n),o=i.ML.end(g,n),a=i.ML.void(g,{at:r}),u=i.ML.void(g,{at:o});if(a&&u&&i.y$.equals(a[1],u[1])){var l=i.ML.range(g,r);i.YR.select(g,l)}}}},[s,m.onClick]),onCompositionEnd:(0,r.useCallback)(t=>{t2(g,t.target)&&!t4(t,m.onCompositionEnd)&&(_.flush(),setTimeout(()=>{k.isComposing&&b(!1),k.isComposing=!1,K.set(g,!1),J.set(g,!0);var t=tt.get(g)||[];if(t.length){tt.set(g,[]);var{selection:e}=g;t.forEach(t=>{var n=t.text.insertText,r=t8(g,e,t);i.YR.setSelection(g,r),i.ML.insertText(g,n)})}},20))},[m.onCompositionEnd]),onCompositionUpdate:(0,r.useCallback)(t=>{t2(g,t.target)&&!t4(t,m.onCompositionUpdate)&&(k.isComposing||b(!0),k.isComposing=!0,K.set(g,!0))},[m.onCompositionUpdate]),onCompositionStart:(0,r.useCallback)(t=>{t2(g,t.target)&&!t4(t,m.onCompositionStart)&&(k.isComposing||b(!0),k.isComposing=!0,K.set(g,!0))},[m.onCompositionStart]),onPaste:(0,r.useCallback)(t=>{t.clipboardData=t$(t.clipboardData),!t2(g,t.target)||t4(t,m.onPaste)||s||(t.preventDefault(),ee.insertData(g,t.clipboardData))},[s,m.onPaste])}),tE({decorations:M,node:g,renderElement:l,renderPlaceholder:d,renderLeaf:f,selection:g.selection}))))},ep=(0,r.createContext)(!1),em=(0,r.createContext)({}),eg=["editor","children","onChange","value"],ey=t=>{var e,n,o,{editor:a,children:s,onChange:u,value:l}=t,c=x(t,eg),f=(0,r.useRef)(!1),[d,h]=r.useState(()=>
1{if(!i.NB.isNodeList(l))throw Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(i.o4.stringify(l)));if(!i.ML.isEditor(a))throw Error("[Slate] editor is invalid! you passed:"+"".concat(i.o4.stringify(a)));return a.children=l,Object.assign(a,c),[a]}),{selectorContext:p,onChange:m}=(e=(0,r.useRef)([]).current,n=(0,r.useRef)({editor:a}).current,o=(0,r.useCallback)(t=>{n.editor=t,e.forEach(e=>e(t))},[]),{selectorContext:(0,r.useMemo)(()=>({getSlate:()=>n.editor,addEventListener:t=>(e.push(t),()=>{e.splice(e.indexOf(t),1)})}),[e,n]),onChange:o}),g=(0,r.useCallback)(()=>{u&&u(a.children),h([a]),m(a)},[u]);te.set(a,g),(0,r.useEffect)(()=>()=>{te.set(a,()=>{}),f.current=!0},[]);var[y,v]=(0,r.useState)(ee.isFocused(a));return(0,r.useEffect)(()=>{v(ee.isFocused(a))}),N(()=>{var t=()=>v(ee.isFocused(a));return C?(document.addEventListener("focusin",t),document.addEventListener("focusout",t),()=>{document.removeEventListener("focusin",t),document.removeEventListener("focusout",t)}):(document.addEventListener("focus",t,!0),document.addEventListener("blur",t,!0),()=>{document.removeEventListener("focus",t,!0),document.removeEventListener("blur",t,!0)})},[]),r.createElement(em.Provider,{value:p},r.createElement(tO.Provider,{value:d},r.createElement(ty.Provider,{value:a},r.createElement(ep.Provider,{value:y},s))))},ev=(t,e)=>{var n=(e.top+e.bottom)/2;return t.top<=n&&t.bottom>=n},eb=(t,e,n)=>{var r=ee.toDOMRange(t,e).getBoundingClientRect(),i=ee.toDOMRange(t,n).getBoundingClientRect();return ev(r,i)&&ev(i,r)},ew=(t,e)=>{var n=i.ML.range(t,i.e6.end(e)),r=Array.from(i.ML.positions(t,{at:e})),o=0,a=r.length,s=Math.floor(a/2);if(eb(t,i.ML.range(t,r[o]),n))return i.ML.range(t,r[o],n);if(r.length<2)return i.ML.range(t,r[r.length-1],n);for(;s!==r.length&&s!==o;)eb(t,i.ML.range(t,r[s]),n)?a=s:o=s,s=Math.floor((o+a)/2);return i.ML.range(t,r[a],n)},ex=t=>{var e=t,{apply:n,onChange:r,deleteBackward:o}=e;return q.set(e,new WeakMap),e.deleteBackward=n=>{if("line"!==n)return o(n);if(t.selection&&i.e6.isCollapsed(t.selection)){var r=i.ML.above(t,{match:e=>i.ML.isBlock(t,e),at:t.selection});if(r){var[,a]=r,s=ew(e,i.ML.range(t,a,t.selection.anchor));i.e6.isCollapsed(s)||i.YR.delete(t,{at:s})}}},e.apply=r=>{var o,a=[];switch(r.type){case"insert_text":case"remove_text":case"set_node":case"split_node":a.push(...eC(e,r.path));break;case"set_selection":null===(o=Q.get(t))||void 0===o||o.unref(),Q.delete(t);break;case"insert_node":case"remove_node":a.push(...eC(e,i.y$.parent(r.path)));break;case"merge_node":a.push(...eC(e,i.y$.previous(r.path)));break;case"move_node":a.push(...eC(e,i.y$.common(i.y$.parent(r.path),i.y$.parent(r.newPath))))}for(var[s,u]of(n(r),a)){var[l]=i.ML.node(e,s);$.set(l,u)}},e.setFragmentData=t=>{var{selection:n}=e;if(n){var[r,o]=i.e6.edges(n),a=i.ML.void(e,{at:r.path}),s=i.ML.void(e,{at:o.path});if(!i.e6.isCollapsed(n)||a){var u=ee.toDOMRange(e,n),l=u.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach(t=>{t.textContent&&""!==t.textContent.trim()&&(c=t)}),s){var[f]=s,d=u.cloneRange(),h=ee.toDOMNode(e,f);d.setEndAfter(h),l=d.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(t=>{var e="n"===t.getAttribute("data-slate-zero-width");t.textContent=e?"\n":""}),tV(c)){var p=c.ownerDocument.createElement("span");p.style.whiteSpace="pre",p.appendChild(c),l.appendChild(p),c=p}var m=JSON.stringify(e.getFragment()),g=window.btoa(encodeURIComponent(m));c.setAttribute("data-slate-fragment",g),t.setData("application/x-slate-fragment",g);var y=l.ownerDocument.createElement("div");return y.appendChild(l),y.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(y),t.setData("text/html",y.innerHTML),t.setData("text/plain",tW(y)),l.ownerDocument.body.removeChild(y),t}}},e.insertData=t=>{e.insertFragmentData(t)||e.insertTextData(t)},e.insertFragmentData=t=>{var n=t.getData("application/x-slate-fragment")||tG(t);if(n){var r=JSON.parse(decodeURIComponent(window.atob(n)));return e.insertFragment(r),!0}return!1},e.insertTextData=t=>{var n=t.getData("text/plain");if(n){var r=n.split(/\r\n|\r|\n/),o=!1;for(var a of r)o&&i.YR.splitNodes(e,{always:!0}),e.insertText(a),o=!0;return!0}return!1},e.onChange=()=>{b.unstable_batchedUpdates(()=>{var t=te.get(e);t&&t(),r()})},e},eC=(t,e)=>{var n=[];for(var[r,o]of i.ML.levels(t,{at:e})){var a=ee.findKey(t,r);n.push([o,a])}return n},eE=S?eh:tJ},10623:function(t,e,n){"use strict";n.d(e,{PA:function(){return tk},aj:function(){return tE}});var r,i=n(50361),o=n.n(i),a=n(27361),s=n.n(a);function u(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function l(t){return u(t)&&"string"==typeof t._key}function c(t){return!!t&&("object"==typeof t||"function"==typeof t)}function f(t){return!!t&&("object"==typeof t||"function"==typeof t)}function d(t){return!!f(t)&&Array.isArray(t.annotations)&&Array.isArray(t.decorators)}var h=n(42298),p=n(32817),m=n(19917),g=n(23071),y=n(69243),v=n(19293),b=n(79878),w=n(43994),x=n(44367),C=n(30062),E=n(29127),k=n(85564),S=n.n(k),R=n(45578),_=n.n(R),A=n(88306),M=n.n(A);let j=class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.message=t,this.paths=e.paths||[],this.children=e.children,this.operation=e.operation}cloneWithMessage(e){return new t(e,{paths:this.paths,children:this.children,operation:this.operation})}};var O=t=>t.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&");function T(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((t,e,n)=>{let r=typeof e;if("number"===r)return"".concat(t,"[").concat(e,"]");if("string"===r)return"".concat(t).concat(0===n?"":".").concat(e);
1if(l(e))return"".concat(t,'[_key=="').concat(e._key,'"]');throw Error('Unsupported path segment "'.concat(e,'"'))},"")}function P(t){return null!==t||void 0!==t}function L(t,e,n){var r;if(!n)throw Error("missing context");if(!0===t)return[];if(Array.isArray(t))return t.flatMap(t=>L(t,e,n)).filter(P);if("string"==typeof t)return L(new j(t),e,n);if(!(t instanceof j)){if("string"!=typeof(null==t?void 0:t.message))throw Error("".concat(T(n.path),": Validator must return 'true' if valid or an error message as a string on errors"));return L(new j(t.message,t),e,n)}return(null==(r=t.paths)?void 0:r.length)?[].concat(t.paths.map(r=>({path:(n.path||[]).concat(r),level:e||"error",item:t}))):[{level:e||"error",item:t,path:n.path||[]}]}let I={}.toString,D=[Object,Function,Array,String,Boolean,Number,Date,RegExp,Error];function N(t){let e=I.call(t).slice(8,-1);if(null==t)return e.toLowerCase();let n=t.constructor;return n&&!function(t){for(let e=0;e<D.length;e++)if(D[e]===t)return!0;return!1}(n)?n.name:e}function V(t,e){if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!V(t[n],e[n]))return!1;return!0}if(Array.isArray(t)!=Array.isArray(e))return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){let n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(t instanceof Date!=e instanceof Date)return!1;if(t instanceof RegExp&&e instanceof RegExp)return t.toString()==e.toString();if(t instanceof RegExp!=e instanceof RegExp)return!1;for(let t=0;t<n.length;t++)if("_key"!==n[t]&&!Object.prototype.hasOwnProperty.call(e,n[t]))return!1;for(let r=0;r<n.length;r++){let i=n[r];if("_key"!==i&&!V(t[i],e[i]))return!1}return!0}return!1}let F=t=>{var e;let n;return n=t.message?t.message:1===t.results.length?null==(e=t.results[0])?void 0:e.item.message:"[".concat(t.results.map(t=>t.item.message).join(" - ".concat(t.operation," - ")),"]"),new j(n,{children:t.results.length>1?t.results:void 0,operation:t.operation})},B={type:(t,e,n)=>{let r=N(e);return r===t||"undefined"===r||n||'Expected type "'.concat(t,'", got "').concat(r,'"')},presence:(t,e,n)=>void 0!==e||"required"!==t||n||"Value is required",all:async(t,e,n,r)=>{let i=await Promise.all(t.map(t=>t.validate(e,r))),o=i.flat();return!o.length||F({message:n,results:o,operation:"AND"})},either:async(t,e,n,r)=>{let i=await Promise.all(t.map(t=>t.validate(e,r))),o=i.flat();return o.length<t.length||F({message:n,results:o,operation:"OR"})},valid:(t,e,n)=>{let r=typeof e;if("undefined"===r)return!0;let i=("number"===r||"string"===r)&&"".concat(e),o=i&&i.length>30?"".concat(i.slice(0,30),"â¦"):i;return!!t.some(t=>V(t,e))||n||(i?'Value "'.concat(o,'" did not match any allowed values'):"Value did not match any allowed values")},custom:async(t,e,n,r)=>{let i;let o=setTimeout(()=>{console.warn("Custom validator at ".concat(T(r.path)," has taken more than ").concat(5e3,"ms to respond"))},5e3);try{i=await t(e,r)}finally{clearTimeout(o)}return"string"==typeof i&&n||i}},H={...B,presence:(t,e,n)=>"required"!==t||"boolean"==typeof e||n||"Required"},U=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,Z={...B,integer:(t,e,n)=>!!Number.isInteger(e)||n||"Must be an integer",precision:(t,e,n)=>{if(void 0===e)return!0;let r=e.toString().match(U),i=Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0);return!(i>t)||n||"Max precision is ".concat(t)},min:(t,e,n)=>e>=t||n||"Must be greater than or equal ".concat(t),max:(t,e,n)=>e<=t||n||"Must be less than or equal ".concat(t),greaterThan:(t,e,n)=>e>t||n||"Must be greater than ".concat(t),lessThan:(t,e,n)=>e<t||n||"Must be less than ".concat(t)},W="http://sanity",z=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,G=t=>/^\.*\//.test(t),$={...B,min:(t,e,n)=>!e||e.length>=t||n||"Must be at least ".concat(t," characters long"),max:(t,e,n)=>!e||e.length<=t||n||"Must be at most ".concat(t," characters long"),length:(t,e,n)=>(e||"").length===t||n||"Must be exactly ".concat(t," characters long"),uri:(t,e,n)=>{let r;let i=e||"",{options:o}=t,{allowCredentials:a,relativeOnly:s}=o,u=o.allowRelative||s;try{r=u?new URL(i,W):new URL(i)}catch(t){return n||"Not a valid URL"}if(s&&r.origin!==W)return n||"Only relative URLs are allowed";if(!u&&r.origin===W&&G(i))return n||"Relative URLs are not allowed";if(!a&&(r.username||r.password))return n||"Username/password not allowed";let l=r.protocol.replace(/:$/,""),c=o.scheme.some(t=>t.test(l));return!!c||n||"Does not match allowed protocols/schemes"},stringCasing:(t,e,n)=>{let r=e||"";return"uppercase"===t&&r!==r.toLocaleUpperCase()?n||"Must be all uppercase letters":"lowercase"!==t||r===r.toLocaleLowerCase()||n||"Must be all lowercase letters"},presence:(t,e,n)=>"required"!==t||!!e||n||"Required",regex:(t,e,n)=>{let{pattern:r,name:i,invert:o}=t,a=i||'"'.concat(r.toString(),'"'),s=r.test(e||"");return(!!o||!!s)&&(!o||!s)||n||(o?"Should not match ".concat(a,"-pattern"):"Does not match ".concat(a,"-pattern"))},email:(t,e,n)=>{let r="".concat(e||"").trim();return!!(!r||z.test(r))||n||"Must be a valid email address"}},q={...B,min:(t,e,n)=>!e||e.length>=t||n||"Must have at least ".concat(t," items"),max:(t,e,n)=>!e||e.length<=t||n||"Must have at most ".concat(t," items"),length:(t,e,n)=>!e||e.length===t||n||"Must have exactly ".concat(t," items"),presence:(t,e,n)=>"required"!==t||!!e||n||"Required",valid:(t,e,n)=>{if(void 0===e)return!0;let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(t.some(t=>V(t,i)))continue;let o=i&&i._key?{_key:i._key}:n;r.push([o])}
1return 0===r.length||new j(n||"Value did not match any allowed values",{paths:r})},unique:(t,e,n)=>{let r=[];if(!e)return!0;for(let t=0;t<e.length;t++)for(let n=t+1;n<e.length;n++){let i=e[t],o=e[n];V(i,o)&&(-1===r.indexOf(t)&&r.push(t),-1===r.indexOf(n)&&r.push(n))}let i=r.map(t=>{let n=e[t],r=n&&n._key?{_key:n._key}:t;return[r]});return!(r.length>0)||new j(n||"Can't be a duplicate",{paths:i})}},Y=["_key","_type","_weak"],X={...B,presence:(t,e,n)=>{if("required"!==t)return!0;let r=e&&Object.keys(e).filter(t=>!Y.includes(t));return void 0!==e&&(!r||0!==r.length)||n||"Required"},reference:async(t,e,n,r)=>{if(!e)return!0;if(!(u(e)&&"string"==typeof e._ref))return n||!0;let{type:i,getDocumentExists:o}=r;if(!i)throw Error("`type` was not provided in validation context");if("weak"in i&&i.weak)return!0;if(!o)throw Error("`getDocumentExists` was not provided in validation context");let a=await o({id:e._ref});return!!a||"This reference must be published"},assetRequired:(t,e,n)=>{if(!e||!e.asset||!e.asset._ref){let e=t.assetType||"Asset";return n||"".concat(e," required")}return!0}};function K(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}let J=/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/,Q=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r="yyyy-MM-dd";return n&&n.dateFormat&&(r=n.dateFormat),"date"===t||(n&&n.timeFormat?r+=" ".concat(n.timeFormat):r+=" HH:mm"),(0,h.Z)(new Date(e),r)};function tt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return null;if("now"===t)return new Date;let n=new Date(t),r=isNaN(n.getTime());if(r&&e)throw Error('Unable to parse "'.concat(t,'" to a date'));return r?null:n}let te={...B,type:(t,e,n)=>!!(!"".concat(e)||J.test(e))||n||"Must be a valid ISO-8601 formatted date string",min:(t,e,n,r)=>{let i=tt(e);if(!i||!e||i>=tt(t,!0))return!0;if(!r.type)throw Error("`type` was not provided in validation context.");let o=K(r.type.options)?r.type.options:{},a=Q(r.type.name,t,o);return n||"Must be at or after ".concat(a)},max:(t,e,n,r)=>{let i=tt(e);if(!i||!e||i<=tt(t,!0))return!0;if(!r.type)throw Error("`type` was not provided in validation context.");let o=K(r.type.options)?r.type.options:{},a=Q(r.type.name,t,o);return n||"Must be at or before ".concat(a)}},tn={Boolean:H,Number:Z,String:$,Array:q,Object:X,Date:te},tr=t=>t&&t.type?tr(t.type):t,ti=t=>"object"==typeof t&&!!t&&t.type===tu.FIELD_REF,to=[],ta=Symbol("FIELD_REF"),ts=["Array","Boolean","Date","Number","Object","String"],tu=((r=class{constructor(t){this._type=void 0,this._level=void 0,this._required=void 0,this._typeDef=void 0,this._message=void 0,this._rules=[],this._fieldRules=void 0,this.valueOfField=r.valueOfField.bind(r),this._typeDef=t,this.reset()}_mergeRequired(t){return"required"===this._required||"required"===t._required?"required":"optional"===this._required||"optional"===t._required?"optional":void 0}error(t){let e=this.clone();return e._level="error",e._message=t||void 0,e}warning(t){let e=this.clone();return e._level="warning",e._message=t||void 0,e}info(t){let e=this.clone();return e._level="info",e._message=t||void 0,e}reset(){return this._type=this._type||void 0,this._rules=(this._rules||[]).filter(t=>"type"===t.flag),this._message=void 0,this._required=void 0,this._level="error",this._fieldRules=void 0,this}isRequired(){return"required"===this._required}clone(){let t=new r;return t._type=this._type,t._message=this._message,t._required=this._required,t._rules=o()(this._rules),t._level=this._level,t._fieldRules=this._fieldRules,t._typeDef=this._typeDef,t}cloneWithRules(t){let e=this.clone(),n=new Set;return t.forEach(t=>{"type"===t.flag&&(e._type=t.constraint),n.add(t.flag)}),e._rules=e._rules.filter(t=>{let e=["type","uri","email"].includes(t.flag),r=n.has(t.flag);return!(e&&r)}).concat(t),e}merge(t){if(this._type&&t._type&&this._type!==t._type)throw Error("merge() failed: conflicting types");let e=this.cloneWithRules(t._rules);return e._type=this._type||t._type,e._message=this._message||t._message,e._required=this._mergeRequired(t),e._level="error"===this._level?t._level:this._level,e}type(t){let e="".concat(t.slice(0,1).toUpperCase()).concat(t.slice(1));if(!ts.includes(e))throw Error('Unknown type "'.concat(t,'"'));let n=this.cloneWithRules([{flag:"type",constraint:e}]);return n._type=e,n}all(t){return this.cloneWithRules([{flag:"all",constraint:t}])}either(t){return this.cloneWithRules([{flag:"either",constraint:t}])}optional(){let t=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return t._required="optional",t}required(){let t=this.cloneWithRules([{flag:"presence",constraint:"required"}]);return t._required="required",t}custom(t){return this.cloneWithRules([{flag:"custom",constraint:t}])}min(t){return this.cloneWithRules([{flag:"min",constraint:t}])}max(t){return this.cloneWithRules([{flag:"max",constraint:t}])}length(t){return this.cloneWithRules([{flag:"length",constraint:t}])}valid(t){let e=Array.isArray(t)?t:[t];return this.cloneWithRules([{flag:"valid",constraint:e}])}integer(){return this.cloneWithRules([{flag:"integer"}])}precision(t){return this.cloneWithRules([{flag:"precision",constraint:t}])}positive(){return this.cloneWithRules([{flag:"min",constraint:0}])}negative(){return this.cloneWithRules([{flag:"lessThan",constraint:0}])}greaterThan(t){return this.cloneWithRules([{flag:"greaterThan",constraint:t}])}lessThan(t){return this.cloneWithRules([{flag:"lessThan",constraint:t}])}uppercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"uppercase"}])}lowercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"lowercase"}])}regex(t,e,n){var r,i;let o="string"==typeof e?e:null!=(r=null==e?void 0:e.name)?r:null==n?void 0:n.name,a="string"!=typeof e&&(null!=(i=null==e?void 0:e.invert)?i:null==n?void 0:n.invert);return this.cloneWithRules([{flag:"regex",constraint:{pattern:t,name:o,invert:a||!1}}])}email(){return this.cloneWithRules([{flag:"email"}])}uri(t){let e=(null==t?void 0:t.scheme)||["http","https"],n=Array.isArray(e)?e:[e];if(!n.length)throw Error("scheme must have at least 1 scheme specified");let r={options:{scheme:n.map(t=>{if(!(t instanceof RegExp)&&"string"!=typeof t)throw Error("scheme must be a RegExp or a String");return"string"==typeof t?RegExp("^".concat(O(t),"$")):t}),allowRelative:(null==t?void 0:t.allowRelative)||!1,relativeOnly:(null==t?void 0:t.relativeOnly)||!1,allowCredentials:(null==t?void 0:t.allowCredentials)||!1}};return this.cloneWithRules([{flag:"uri",constraint:r}])}unique(){return this.cloneWithRules([{flag:"unique"}])}reference(){return this.cloneWithRules([{flag:"reference"}])}fields(t){if("Object"!==this._type)throw Error("fields() can only be called on an object type");let e=this.cloneWithRules([]);return e._fieldRules=t,e}assetRequired(){let t;let e=tr(this._typeDef);return t=e&&["image","file"].includes(e.name)?"image"===e.name?"Image":"File":"Asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:t}}])}async validate(t,e){if(!e)throw Error("missing context");let n=null==t;if(n&&"optional"===this._required)return to;let r=void 0===this._required&&n?this._rules.filter(t=>"custom"===t.flag):this._rules,i=this._type&&tn[this._type]||B,o=await Promise.all(r.map(async n=>{let r;if(void 0===n.flag)throw Error('Invalid rule, did not contain "flag"-property');let o=i[n.flag];if(!o){let t=this._type?'type "'.concat(this._type,'"'):"rule without declared type";throw Error('Validator for flag "'.concat(n.flag,'" not found for ').concat(t))}let a="constraint"in n?n.constraint:null;ti(a)&&(a=s()(e.parent,a.path));try{r=await o(a,t,this._message,e)}catch(n){let t=new j("".concat(T(e.path),": Exception occurred while validating value: ").concat(n.message));return L(t,"error",e)}return L(r,this._level,e)}));return o.flat()}}).FIELD_REF=ta,r.array=t=>new r(t).type("Array"),r.object=t=>new r(t).type("Object"),r.string=t=>new r(t).type("String"),r.number=t=>new r(t).type("Number"),r.boolean=t=>new r(t).type("Boolean"),r.dateTime=t=>new r(t).type("Date"),r.valueOfField=t=>({type:ta,path:t}),r),tl="undefined"==typeof window?void 0:window,tc=(null==tl?void 0:tl.requestIdleCallback)||function(t,e){let n=Date.now();return window.setTimeout(()=>{t({didTimeout:!1,timeRemaining:()=>Math.max(0,Date.now()-n)})},0)},tf=(null==tl?void 0:tl.cancelIdleCallback)||function(t){return window.clearTimeout(t)},td=M()(function(t){console.warn(["Slug field at path ".concat(t," is within an array and cannot be automatically checked for uniqueness"),'If you need to check for uniqueness, provide your own "isUnique" method',"To disable this message, set `disableArrayWarning: true` on the slug `options` field"].join("\n"))});function th(t){return t.reduce((t,e,n)=>{let r=l(e),i="number"==typeof e||r?"[]":"".concat(0===n?"":".").concat(e);return"".concat(t).concat(i)},"")}let tp=(t,e)=>{let{getClient:n,document:r,path:i,type:o}=e,a=null==o?void 0:o.options;if(!r)throw Error("`document` was not provided in validation context.");if(!i)throw Error("`path` was not provided in validation context.");let s=(null==a?void 0:a.disableArrayWarning)||!1,{published:u,draft:l}=function(t){let e=0===t.indexOf("drafts.");return{published:e?t.slice(7):t,draft:e?t:"drafts.".concat(t)}}(r._id),c=r._type,f=th(i.concat("current"));!s&&f.includes("[]")&&td(th(i));let d=["_type == $docType","!(_id in [$draft, $published])","".concat(f," == $slug")].join(" && ");return n({apiVersion:"2022-09-09"}).fetch("!defined(*[".concat(d,"][0]._id)"),{docType:c,draft:l,published:u,slug:t},{tag:"validation.slug-is-unique"})},tm=async(t,e)=>{var n;if(!t)return!0;
1if("object"!=typeof t)return"Slug must be an object";let r=t.current;if(!r)return"Slug must have a value";let i=null==(n=null==e?void 0:e.type)?void 0:n.options,o=(null==i?void 0:i.isUnique)||tp,a={...e,parent:e.parent,type:e.type,defaultIsUnique:tp},s=await o(r,a);return!!s||"Slug is already in use"},tg={array:!0,boolean:!0,date:!0,number:!0,object:!0,string:!0},ty=t=>t in tg;function tv(t,e){let n=t;ty(e.jsonType)&&(n=n.type(e.jsonType));let r=(null==e?void 0:e.options)&&"object"==typeof e.options&&"list"in e.options&&e.options.list;return(Array.isArray(r)&&(n=n.valid(r.map(t=>"object"===e.jsonType&&function t(e){return!!e&&("fields"in e||!e.type?!!("fields"in e&&Array.isArray(e.fields))&&e.fields.some(t=>"value"===t.name):t(e.type))}(e)?t:void 0===t.value?t:t.value))),"datetime"===e.name||"date"===e.name)?n.type("Date"):"url"===e.name?n.uri():"slug"===e.name?n.custom(tm):"reference"===e.name?n.reference():"email"===e.name?n.email():n}function tb(t){if(!t)return[];let e=t.validation;if(Array.isArray(e))return e.flatMap(e=>tb({...t,validation:e}));if(e instanceof tu)return[e];let n=Object.values((function t(e,n){if(!e||n.has(e))return[];n.add(e);let r=e.type?t(e.type,n):[];return[...r,e]})(t,new Set).reduce((t,e)=>(t[e.name]=e,t),{})).reduce(tv,new tu(t));return e?tb({...t,validation:e(n)}):[n]}let tw=t=>"object"==typeof t&&null!==t&&!Array.isArray(t),tx=t=>null!=t,tC=[];function tE(t,e,n,r){let i=n.get(e._type);if(!i)return console.warn('Schema type for object type "%s" not found, skipping validation',e._type),(0,p.of)(tC);let o={getClient:t,schema:n,parent:void 0,value:e,path:[],document:e,type:i,getDocumentExists:null==r?void 0:r.getDocumentExists};return(function t(e){var n;let{value:r,type:i,path:o=[],parent:a,...s}=e,h=tb(i),p=h.map(t=>(0,m.P)(()=>t.validate(r,{...s,parent:a,path:o,type:i}))),b=[],k=h.some(t=>t.isRequired()),R=(null==i?void 0:i.jsonType)==="object"&&(!!r||null==r&&k);if(R){let e=i.fields.reduce((t,e)=>(t[e.name]=e.type,t),{});b=(b=b.concat(h.map(t=>t._fieldRules).filter(tx).flatMap(t=>Object.entries(t)).flatMap(t=>{let[n,i]=t,a=e[n];return tb({...a,validation:i}).map(t=>{let e=tw(r)?r[n]:void 0;return(0,m.P)(()=>t.validate(e,{...s,parent:r,path:o.concat(n),type:a}))})}))).concat(i.fields.map(e=>t({...s,parent:r,value:tw(r)?r[e.name]:void 0,path:o.concat(e.name),type:e.type})))}let A=(null==i?void 0:i.jsonType)==="array"&&Array.isArray(r);A&&(b=b.concat(r.map((e,n)=>t({...s,parent:r,value:e,path:o.concat(l(e)?{_key:e._key}:n),type:function(t,e){if(1===e.length)return e[0];let n=u(t)&&"string"==typeof t._type&&t._type,r=null==t||!n&&N(t).toLowerCase();return r&&"object"!==r?e.find(t=>t.jsonType===r):e.find(t=>{var e;return(null==(e=t.type)?void 0:e.name)===n})||e.find(t=>t.name===n)||e.find(t=>"object"===t.name&&"object"===r)}(e,i.of)}))));let M=c(r)&&"string"==typeof r._type&&Array.isArray(r.children)&&r.children.every(t=>c(t))&&"markDefs"in r&&Array.isArray(r.markDefs)&&r.markDefs.every(t=>c(t))&&(!("style"in r)||"string"==typeof r.style)&&(null==(n=r.markDefs)?void 0:n.length)&&function(t){var e,n,r;if(!f(t)||!Array.isArray(t.fields))return!1;let[i,o,a]=t.fields;return!!f(i)&&"children"===i.name&&!!f(e=i.type)&&"array"===e.jsonType&&i.type.of.some(d)&&!!f(n=o)&&"style"===n.name&&f(n.type)&&"string"===n.type.jsonType&&!!f(r=a)&&"list"===r.name&&f(r.type)&&"string"===r.type.jsonType}(i);if(M){let[e]=i.fields,n=e.type.of.find(d),a=((null==n?void 0:n.annotations)||[]).reduce((t,e)=>(t.set(e.name,e),t),new Map);b=b.concat((r.markDefs||[]).map(e=>t({...s,parent:r,value:e,path:o.concat(["markDefs",{_key:e._key}]),type:a.get(e._type)})))}return(0,m.P)(()=>(0,g.T)([...p,...b])).pipe((0,w.z)(t=>{var e;return(0,y.z)(new v.y(t=>{let n=tc(()=>{t.complete()},e?{timeout:e}:void 0);return()=>tf(n)}),t)},40),(0,x.J)(),(0,C.q)(),(0,E.U)(S()),(0,E.U)(t=>h.some(t=>t._fieldRules)?_()(t,t=>JSON.stringify(t)):t))})(o).pipe((0,b.K)(t=>(console.error(t),(0,p.of)([{type:"validation",level:"error",path:[],item:new j(null==t?void 0:t.message)}]))))}function tk(t){let e=t.getTypeNames();return e.forEach(e=>{let n=t.get(e);
1n&&!function t(e,n){if(!n.has(e)){if(n.add(e),e.validation=tb(e),"fields"in e)for(let r of e.fields)t(r.type,n);if("of"in e)for(let r of e.of)t(r,n);if(e.annotations)for(let r of e.annotations)t(r,n)}}(n,new Set)}),t}},61021:function(t){"use strict";t.exports=function(t){return null==t?[]:Array.isArray(t)?t:[t]}},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=u(t),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(t,e,r){for(var i,o=[],a=e;a<r;a+=3)o.push(n[(i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:function(t,e,n){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */let r=n(79742),i=n(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return u(t,e,n)}function u(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);let n=0|p(t,e),r=a(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(N(t,Uint8Array)){let e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return s.from(r,e,n);let i=function(t){var e;if(s.isBuffer(t)){let e=0|h(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),a(t<0?0:0|h(t))}function f(t){let e=t.length<0?0:0|h(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){let r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),s.prototype),r}function h(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I(t).length;default:if(i)return r?-1:L(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){let r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=e;r<n;++r)i+=V[t[r]];return i}(this,e,n);case"utf8":case"utf-8":return b(this,e,n);case"ascii":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":var o,a;return o=e,a=n,0===o&&a===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){let r=t.slice(e,n),i="";for(let t=0;t<r.length-1;t+=2)i+=String.fromCharCode(r[t]+256*r[t+1]);return i}(this,e,n);default:if(i)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function g(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return -1;n=t.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){let o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,n/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let r=-1;for(o=n;o<s;o++)if(l(t,o)===l(e,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(l(t,o+r)!==l(e,r)){n=!1;break}if(n)return o}return -1}function b(t,e,n){n=Math.min(t.length,n);let r=[],i=e;for(;i<n;){let e=t[i],o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:e<128&&(o=e);break;case 2:(192&(n=t[i+1]))==128&&(u=(31&e)<<6|63&n)>127&&(o=u);break;case 3:n=t[i+1],r=t[i+2],(192&n)==128&&(192&r)==128&&(u=(15&e)<<12|(63&n)<<6|63&r)>
vendor: 15,401 bytes, line 6
62047&&(u<55296||u>57343)&&(o=u);break;case 4:n=t[i+1],r=t[i+2],s=t[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(t){let e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function w(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function x(t,e,n,r,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function C(t,e,n,r,i){j(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function E(t,e,n,r,i){j(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function k(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function S(t,e,n,r,o){return e=+e,n>>>=0,o||k(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function R(t,e,n,r,o){return e=+e,n>>>=0,o||k(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.lW=s,e.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){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(t,e,n){return u(t,e,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,n){return(l(t),t<=0)?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).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(t,e){let n;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;let r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){let e=t[n];if(N(e,Uint8Array))i+e.length>r.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(r,i)):Uint8Array.prototype.set.call(r,e,i);else if(s.isBuffer(e))e.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)g(this,e,e+1);return this},s.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},s.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},s.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="",n=e.h2;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,n,r,i){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;let o=i-r,a=n-e,u=Math.min(o,a),l=this.slice(r,i),c=t.slice(e,n);for(let t=0;t<u;++t)if(l[t]!==c[t]){o=l[t],a=c[t];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){var i,o,a,s,u,l,c,f;if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=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");let d=this.length-e;if((void 0===n||n>d)&&(n=d),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(t,e,n,r){let i;n=Number(n)||0;let o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=e.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(e.substr(2*i,2),16);if(r!=r)break;t[n+i]=r}return i}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,D(L(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=n,D(function(t){let e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,a,s);case"base64":return u=e,l=n,D(I(t),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,f=n,D(function(t,e){let n,r;let i=[];for(let o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){let n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);let r=this.subarray(t,e);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t+--e],i=1;for(;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=F(function(t){O(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&T(t,this.length-8);let r=e+256*this[++t]+65536*this[++t]+16777216*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+16777216*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=F(function(t){O(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&T(t,this.length-8);let r=16777216*e+65536*this[++t]+256*this[++t]+this[++t],i=16777216*this[++t]+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=e,i=1,o=this[t+--r];for(;r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=F(function(t){O(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&T(t,this.length-8);let r=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+16777216*this[++t])}),s.prototype.readBigInt64BE=F(function(t){O(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&T(t,this.length-8);let r=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(16777216*this[++t]+65536*this[++t]+256*this[++t]+n)}),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,t,e,n,r,0)}let i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,t,e,n,r,0)}let i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=F(function(t,e=0){return C(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=F(function(t,e=0){return E(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);x(this,t,e,n,r-1,-r)}let i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);x(this,t,e,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=F(function(t,e=0){return C(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=F(function(t,e=0){return E(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(t,e,n){return S(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return S(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<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),t.length-e<r-n&&(r=t.length-e+n);let i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},s.prototype.fill=function(t,e,n,r){let i;if("string"==typeof t){if("string"==typeof e?(r=e,e=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===t.length){let e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{let o=s.isBuffer(t)?t:s.from(t,r),a=o.length;
6if(0===a)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};let _={};function A(t,e,n){_[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function M(t){let e="",n=t.length,r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function j(t,e,n,r,i,o){if(t>n||t<e){let r;let i="bigint"==typeof e?"n":"";throw r=o>3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${e}${i} and <= ${n}${i}`,new _.ERR_OUT_OF_RANGE("value",r,t)}O(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&T(i,r.length-(o+1))}function O(t,e){if("number"!=typeof t)throw new _.ERR_INVALID_ARG_TYPE(e,"number",t)}function T(t,e,n){if(Math.floor(t)!==t)throw O(t,n),new _.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new _.ERR_BUFFER_OUT_OF_BOUNDS;throw new _.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}A("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),A("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),A("ERR_OUT_OF_RANGE",function(t,e,n){let r=`The value of "${t}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=M(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=M(i)),i+="n"),r+=` It must be ${e}. Received ${i}`},RangeError);let P=/[^+/0-9A-Za-z-_]/g;function L(t,e){let n;e=e||1/0;let r=t.length,i=null,o=[];for(let a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function I(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,n,r){let i;for(i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function N(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let V=function(){let t="0123456789abcdef",e=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)e[r+i]=t[n]+t[i]}return e}();function F(t){return"undefined"==typeof BigInt?B:t}function B(){throw Error("BigInt not supported")}},56851:function(t,e){"use strict";e.Q=function(t){for(var e,n=[],r=String(t||""),i=r.indexOf(","),o=0,a=!1;!a;)-1===i&&(i=r.length,a=!0),((e=r.slice(o,i).trim())||!a)&&n.push(e),o=i+1,i=r.indexOf(",",o);return n}},45933:function(t,e,n){"use strict";var r,i=n(34155),o=function(){function t(t,e){if("function"!=typeof t)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: "+t+".");this._batchLoadFn=t,this._maxBatchSize=function(t){if(!(!t||!1!==t.batch))return 1;var e=t&&t.maxBatchSize;if(void 0===e)return 1/0;if("number"!=typeof e||e<1)throw TypeError("maxBatchSize must be a positive number: "+e);return e}(e),this._batchScheduleFn=function(t){var e=t&&t.batchScheduleFn;if(void 0===e)return a;
6if("function"!=typeof e)throw TypeError("batchScheduleFn must be a function: "+e);return e}(e),this._cacheKeyFn=function(t){var e=t&&t.cacheKeyFn;if(void 0===e)return function(t){return t};if("function"!=typeof e)throw TypeError("cacheKeyFn must be a function: "+e);return e}(e),this._cacheMap=function(t){if(!(!t||!1!==t.cache))return null;var e=t&&t.cacheMap;if(void 0===e)return new Map;if(null!==e){var n=["get","set","delete","clear"].filter(function(t){return e&&"function"!=typeof e[t]});if(0!==n.length)throw TypeError("Custom cacheMap missing methods: "+n.join(", "))}return e}(e),this._batch=null,this.name=e&&e.name?e.name:null}var e=t.prototype;return e.load=function(t){if(null==t)throw TypeError("The loader.load() function must be called with a value, but got: "+String(t)+".");var e=function(t){var e=t._batch;if(null!==e&&!e.hasDispatched&&e.keys.length<t._maxBatchSize)return e;var n={hasDispatched:!1,keys:[],callbacks:[]};return t._batch=n,t._batchScheduleFn(function(){(function(t,e){var n;if(e.hasDispatched=!0,0===e.keys.length){u(e);return}try{n=t._batchLoadFn(e.keys)}catch(n){return s(t,e,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: "+String(n)+"."))}if(!n||"function"!=typeof n.then)return s(t,e,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: "+String(n)+"."));n.then(function(t){if(!l(t))throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: "+String(t)+".");if(t.length!==e.keys.length)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\n\nKeys:\n"+String(e.keys)+"\n\nValues:\n"+String(t));u(e);for(var n=0;n<e.callbacks.length;n++){var r=t[n];r instanceof Error?e.callbacks[n].reject(r):e.callbacks[n].resolve(r)}}).catch(function(n){s(t,e,n)})})(t,n)}),n}(this),n=this._cacheMap,r=this._cacheKeyFn(t);if(n){var i=n.get(r);if(i){var o=e.cacheHits||(e.cacheHits=[]);return new Promise(function(t){o.push(function(){t(i)})})}}e.keys.push(t);var a=new Promise(function(t,n){e.callbacks.push({resolve:t,reject:n})});return n&&n.set(r,a),a},e.loadMany=function(t){if(!l(t))throw TypeError("The loader.loadMany() function must be called with Array<key> but got: "+t+".");for(var e=[],n=0;n<t.length;n++)e.push(this.load(t[n]).catch(function(t){return t}));return Promise.all(e)},e.clear=function(t){var e=this._cacheMap;if(e){var n=this._cacheKeyFn(t);e.delete(n)}return this},e.clearAll=function(){var t=this._cacheMap;return t&&t.clear(),this},e.prime=function(t,e){var n=this._cacheMap;if(n){var r,i=this._cacheKeyFn(t);void 0===n.get(i)&&(e instanceof Error?(r=Promise.reject(e)).catch(function(){}):r=Promise.resolve(e),n.set(i,r))}return this},t}(),a="object"==typeof i&&"function"==typeof i.nextTick?function(t){r||(r=Promise.resolve()),r.then(function(){i.nextTick(t)})}:"function"==typeof setImmediate?function(t){setImmediate(t)}:function(t){setTimeout(t)};function s(t,e,n){u(e);for(var r=0;r<e.keys.length;r++)t.clear(e.keys[r]),e.callbacks[r].reject(n)}function u(t){if(t.cacheHits)for(var e=0;e<t.cacheHits.length;e++)t.cacheHits[e]()}function l(t){return"object"==typeof t&&null!==t&&"number"==typeof t.length&&(0===t.length||t.length>0&&Object.prototype.hasOwnProperty.call(t,t.length-1))}t.exports=o},52149:function(t,e,n){"use strict";function r(t,e){if(null==t)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}n.d(e,{Z:function(){return r}})},93645:function(t,e,n){"use strict";n.d(e,{u:function(){return i}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function i(t){return t?r[t]:r.trunc}},77349:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}},11640:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),u=new Date(n.getTime());return(u.setMonth(n.getMonth()+a+1,0),s>=u.getDate())?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},49474:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e),a=n.getTime()-o.getTime();return a<0?-1:a>0?1:a}},36948:function(t,e,n){"use strict";n.d(e,{qk:function(){return o},vh:function(){return i},yJ:function(){return r}});var r=6e4,i=36e5,o=1e3},92300:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(24262),i=n(69119),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,i.Z)(e);return Math.round((n.getTime()-(0,r.Z)(n)-(a.getTime()-(0,r.Z)(a)))/864e5)}},67803:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19013),i=n(92300),o=n(13882);function a(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(t),s=(0,r.Z)(e),u=a(n,s),l=Math.abs((0,i.Z)(n,s));n.setDate(n.getDate()-u*l);var c=Number(a(n,s)===-u),f=u*(l-c);return 0===f?0:f}},76972:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(36948),i=n(59910),o=n(13882),a=n(93645);function s(t,e,n){(0,o.Z)(2,arguments);var s=(0,i.Z)(t,e)/r.vh;return(0,a.u)(null==n?void 0:n.roundingMethod)(s)}},59910:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t,e){return(0,i.Z)(2,arguments),(0,r.Z)(t).getTime()-(0,r.Z)(e).getTime()}},69690:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(36948),i=n(59910),o=n(13882),a=n(93645);function s(t,e,n){(0,o.Z)(2,arguments);var s=(0,i.Z)(t,e)/r.yJ;return(0,a.u)(null==n?void 0:n.roundingMethod)(s)}},57278:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19013),i=n(13882),o=n(49474),a=n(83894);function s(t,e){(0,i.Z)(2,arguments);var n,s=(0,r.Z)(t),u=(0,r.Z)(e),l=(0,o.Z)(s,u),c=Math.abs(function(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}(s,u));if(c<1)n=0;else{1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-l*c);var f=(0,o.Z)(s,u)===-l;(function(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return(0,a.Z)(e).getTime()===(function(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e})(e).getTime()})((0,r.Z)(t))&&1===c&&1===(0,o.Z)(t,u)&&(f=!1),n=l*(c-Number(f))}return 0===n?0:n}},11699:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(59910),i=n(13882),o=n(93645);function a(t,e,n){(0,i.Z)(2,arguments);var a=(0,r.Z)(t,e)/1e3;return(0,o.u)(null==n?void 0:n.roundingMethod)(a)}},69295:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(67803),i=n(13882),o=n(93645);function a(t,e,n){(0,i.Z)(2,arguments);var a=(0,r.Z)(t,e)/7;return(0,o.u)(null==n?void 0:n.roundingMethod)(a)}},31397:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(19013),i=n(13882),o=n(49474);function a(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),a=(0,r.Z)(e),s=(0,o.Z)(n,a),u=Math.abs(function(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getFullYear()-o.getFullYear()}(n,a));n.setFullYear(1584),a.setFullYear(1584);var l=(0,o.Z)(n,a)===-s,c=s*(u-Number(l));return 0===c?0:c}},86298:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(83946),i=n(77349),o=n(13882),a=n(584),s=n(19013);function u(t,e){(0,o.Z)(1,arguments);var n=t||{},u=(0,s.Z)(n.start),l=(0,s.Z)(n.end),c=l.getTime();if(!(u.getTime()<=c))throw RangeError("Invalid interval");var f=(0,a.Z)(u,e),d=(0,a.Z)(l,e);f.setHours(15),d.setHours(15),c=d.getTime();for(var h=[],p=f;p.getTime()<=c;)p.setHours(0),h.push((0,s.Z)(p)),(p=function(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(1);return(0,i.Z)(t,7*n)}(p,1)).setHours(15);return h}},83894:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(23,59,59,999),e}},55250:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setSeconds(59,999),e}},96556:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(84314),i=n(49474),o=n(57278),a=n(11699),s=n(86559),u=n(19013),l=n(52149),c=n(24262),f=n(13882);function d(t,e,n){(0,f.Z)(2,arguments);var d,h,p,m,g,y=(0,r.j)(),v=null!==(d=null!==(h=null==n?void 0:n.locale)&&void 0!==h?h:y.locale)&&void 0!==d?d:s.Z;
6if(!v.formatDistance)throw RangeError("locale must contain formatDistance property");var b=(0,i.Z)(t,e);if(isNaN(b))throw RangeError("Invalid time value");var w=(0,l.Z)((0,l.Z)({},n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:b});b>0?(p=(0,u.Z)(e),m=(0,u.Z)(t)):(p=(0,u.Z)(t),m=(0,u.Z)(e));var x=(0,a.Z)(m,p),C=Math.round((x-((0,c.Z)(m)-(0,c.Z)(p))/1e3)/60);if(C<2){if(null!=n&&n.includeSeconds){if(x<5)return v.formatDistance("lessThanXSeconds",5,w);if(x<10)return v.formatDistance("lessThanXSeconds",10,w);if(x<20)return v.formatDistance("lessThanXSeconds",20,w);if(x<40)return v.formatDistance("halfAMinute",0,w);else if(x<60)return v.formatDistance("lessThanXMinutes",1,w);else return v.formatDistance("xMinutes",1,w)}return 0===C?v.formatDistance("lessThanXMinutes",1,w):v.formatDistance("xMinutes",C,w)}if(C<45)return v.formatDistance("xMinutes",C,w);if(C<90)return v.formatDistance("aboutXHours",1,w);if(C<1440)return v.formatDistance("aboutXHours",Math.round(C/60),w);if(C<2520)return v.formatDistance("xDays",1,w);if(C<43200)return v.formatDistance("xDays",Math.round(C/1440),w);if(C<86400)return g=Math.round(C/43200),v.formatDistance("aboutXMonths",g,w);if((g=(0,o.Z)(m,p))<12)return v.formatDistance("xMonths",Math.round(C/43200),w);var E=g%12,k=Math.floor(g/12);return E<3?v.formatDistance("aboutXYears",k,w):E<9?v.formatDistance("overXYears",k,w):v.formatDistance("almostXYears",k+1,w)}},62030:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(96556),i=n(13882);function o(t,e){return(0,i.Z)(1,arguments),(0,r.Z)(t,Date.now(),e)}},39159:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){return(0,i.Z)(1,arguments),(0,r.Z)(t).getMinutes()}},13956:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(584),i=n(19013),o=n(83946),a=n(13882),s=n(84314);function u(t,e){(0,a.Z)(1,arguments);var n=(0,i.Z)(t);return Math.round(((0,r.Z)(n,e).getTime()-(function(t,e){(0,a.Z)(1,arguments);var n,u,l,c,f,d,h,p,m=(0,s.j)(),g=(0,o.Z)(null!==(n=null!==(u=null!==(l=null!==(c=null==e?void 0:e.firstWeekContainsDate)&&void 0!==c?c:null==e?void 0:null===(f=e.locale)||void 0===f?void 0:null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==u?u:null===(h=m.locale)||void 0===h?void 0:null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),y=function(t,e){(0,a.Z)(1,arguments);var n,u,l,c,f,d,h,p,m=(0,i.Z)(t),g=m.getFullYear(),y=(0,s.j)(),v=(0,o.Z)(null!==(n=null!==(u=null!==(l=null!==(c=null==e?void 0:e.firstWeekContainsDate)&&void 0!==c?c:null==e?void 0:null===(f=e.locale)||void 0===f?void 0:null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:y.firstWeekContainsDate)&&void 0!==u?u:null===(h=y.locale)||void 0===h?void 0:null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setFullYear(g+1,0,v),b.setHours(0,0,0,0);var w=(0,r.Z)(b,e),x=new Date(0);x.setFullYear(g,0,v),x.setHours(0,0,0,0);var C=(0,r.Z)(x,e);return m.getTime()>=w.getTime()?g+1:m.getTime()>=C.getTime()?g:g-1}(t,e),v=new Date(0);return v.setFullYear(y,0,g),v.setHours(0,0,0,0),(0,r.Z)(v,e)})(n,e).getTime())/6048e5)+1}},42699:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getTime()>o.getTime()}},313:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getTime()<o.getTime()}},3151:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(69119),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getTime()===o.getTime()}},49160:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},8230:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(0,0,0,0),e}},42034:function(t,e,n){"use strict";n.d(e,{Z:function(){return rM}});
6var r=n(86559),i=n(92234),o=n(19013),a=n(52149),s=n(97621),u=n(24262),l=n(5267),c=n(83946),f=n(13882);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r,i=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return(n=r)&&("object"===d(n)||"function"==typeof n)?n:g(this)}}function g(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var C=function(){function t(){v(this,t),x(this,"subPriority",0)}return w(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),E=function(t){h(n,t);var e=m(n);function n(t,r,i,o,a){var s;return v(this,n),(s=e.call(this)).value=t,s.validateValue=r,s.setValue=i,s.priority=o,a&&(s.subPriority=a),s}return w(n,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,n){return this.setValue(t,e,this.value,n)}}]),n}(C),k=function(t){h(n,t);var e=m(n);function n(){var t;v(this,n);for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return x(g(t=e.call.apply(e,[this].concat(i))),"priority",10),x(g(t),"subPriority",-1),t}return w(n,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}}]),n}(C);function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var R=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e)}return S(e.prototype,[{key:"run",value:function(t,e,n,r){var i=this.parse(t,e,n,r);return i?{setter:new E(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(t,e,n){return!0}}]),t&&S(e,t),e}();function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(o,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=O(o);if(e){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===_(t)||"function"==typeof t)?t:j(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return T(j(t=i.call.apply(i,[this].concat(n))),"priority",140),T(j(t),"incompatibleTokens",["R","u","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,n){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}],A(o.prototype,n),r&&A(o,r),o}(R),L=n(36948),I={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}/}
6,D={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})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function N(t,e){return t?{value:e(t.value),rest:t.rest}:t}function V(t,e){var n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function F(t,e){var n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};var r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*L.vh+o*L.yJ+a*L.qk),rest:e.slice(n[0].length)}}function B(t){return V(I.anyDigitsSigned,t)}function H(t,e){switch(t){case 1:return V(I.singleDigit,e);case 2:return V(I.twoDigits,e);case 3:return V(I.threeDigits,e);case 4:return V(I.fourDigits,e);default:return V(RegExp("^\\d{1,"+t+"}"),e)}}function U(t,e){switch(t){case 1:return V(I.singleDigitSigned,e);case 2:return V(I.twoDigitsSigned,e);case 3:return V(I.threeDigitsSigned,e);case 4:return V(I.fourDigitsSigned,e);default:return V(RegExp("^-?\\d{1,"+t+"}"),e)}}function Z(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function W(t,e){var n,r=e>0,i=r?e:1-e;if(i<=50)n=t||100;else{var o=i+50;n=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return r?n:1-n}function z(t){return t%400==0||t%4==0&&t%100!=0}function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Y(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X(t){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var J=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=X(i);if(e){var o=X(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===G(t)||"function"==typeof t)?t:Y(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return K(Y(t=r.call.apply(r,[this].concat(n))),"priority",130),K(Y(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}return $(i.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return N(H(4,t),r);case"yo":return N(n.ordinalNumber(t,{unit:"year"}),r);default:return N(H(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n){var r=t.getUTCFullYear();if(n.isTwoDigitYear){var i=W(n.year,r);return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}var o="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}}]),n&&$(i,n),i}(R),Q=n(7651),tt=n(59025);function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tr(t,e){return(tr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ti(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
6function to(t){return(to=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ts=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tr(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=to(i);if(e){var o=to(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===te(t)||"function"==typeof t)?t:ti(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return ta(ti(t=r.call.apply(r,[this].concat(n))),"priority",130),ta(ti(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}return tn(i.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return N(H(4,t),r);case"Yo":return N(n.ordinalNumber(t,{unit:"year"}),r);default:return N(H(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n,r){var i=(0,Q.Z)(t,r);if(n.isTwoDigitYear){var o=W(n.year,i);return t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),(0,tt.Z)(t,r)}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),(0,tt.Z)(t,r)}}]),n&&tn(i,n),i}(R),tu=n(66979);function tl(t){return(tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tf(t,e){return(tf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function td(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function th(t){return(th=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tm=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tf(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=th(i);if(e){var o=th(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tl(t)||"function"==typeof t)?t:td(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tp(td(t=r.call.apply(r,[this].concat(n))),"priority",130),tp(td(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}return tc(i.prototype,[{key:"parse",value:function(t,e){return"R"===e?U(4,t):U(e.length,t)}},{key:"set",value:function(t,e,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,tu.Z)(r)}}]),n&&tc(i,n),i}(R);function tg(t){return(tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ty(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tv(t,e){return(tv=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tb(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
6function tw(t){return(tw=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tC=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tv(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tw(i);if(e){var o=tw(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tg(t)||"function"==typeof t)?t:tb(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tx(tb(t=r.call.apply(r,[this].concat(n))),"priority",130),tx(tb(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}return ty(i.prototype,[{key:"parse",value:function(t,e){return"u"===e?U(4,t):U(e.length,t)}},{key:"set",value:function(t,e,n){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n&&ty(i,n),i}(R);function tE(t){return(tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tk(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tS(t,e){return(tS=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tR(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t_(t){return(t_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tM=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tS(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=t_(i);if(e){var o=t_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tE(t)||"function"==typeof t)?t:tR(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tA(tR(t=r.call.apply(r,[this].concat(n))),"priority",120),tA(tR(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}return tk(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"Q":case"QQ":return H(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth((n-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),n&&tk(i,n),i}(R);function tj(t){return(tj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tO(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tT(t,e){return(tT=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tP(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
6function tL(t){return(tL=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tI(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tD=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tT(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tL(i);if(e){var o=tL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tj(t)||"function"==typeof t)?t:tP(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tI(tP(t=r.call.apply(r,[this].concat(n))),"priority",120),tI(tP(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}return tO(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"q":case"qq":return H(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth((n-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),n&&tO(i,n),i}(R);function tN(t){return(tN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tV(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tF(t,e){return(tF=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tB(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tH(t){return(tH=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tZ=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tF(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tH(i);if(e){var o=tH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tN(t)||"function"==typeof t)?t:tB(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tU(tB(t=r.call.apply(r,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),tU(tB(t),"priority",110),t}return tV(i.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"M":return N(V(I.month,t),r);case"MM":return N(H(2,t),r);case"Mo":return N(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n&&tV(i,n),i}(R);function tW(t){return(tW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tz(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tG(t,e){return(tG=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function t$(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tq(t){return(tq=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tX=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tG(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tq(i);if(e){var o=tq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===tW(t)||"function"==typeof t)?t:t$(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return tY(t$(t=r.call.apply(r,[this].concat(n))),"priority",110),tY(t$(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}return tz(i.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"L":return N(V(I.month,t),r);case"LL":return N(H(2,t),r);case"Lo":return N(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n&&tz(i,n),i}(R),tK=n(5230);function tJ(t){return(tJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tQ(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function t1(t,e){return(t1=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function t0(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t5(t){return(t5=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t2(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var t3=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t1(t,e)}(a,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=t5(a);if(e){var i=t5(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===tJ(t)||"function"==typeof t)?t:t0(this)});function a(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t2(t0(t=i.call.apply(i,[this].concat(n))),"priority",100),t2(t0(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"w":return V(I.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n,r){return(0,tt.Z)(function(t,e,n){(0,f.Z)(2,arguments);var r=(0,o.Z)(t),i=(0,c.Z)(e),a=(0,tK.Z)(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(t,n,r),r)}}],tQ(a.prototype,n),r&&tQ(a,r),a}(R),t4=n(33276);function t6(t){return(t6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t9(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function t8(t,e){return(t8=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function t7(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var en=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t8(t,e)}(a,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=et(a);if(e){var i=et(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===t6(t)||"function"==typeof t)?t:t7(this)});function a(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return ee(t7(t=i.call.apply(i,[this].concat(n))),"priority",100),ee(t7(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"I":return V(I.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n){return(0,tu.Z)(function(t,e){(0,f.Z)(2,arguments);var n=(0,o.Z)(t),r=(0,c.Z)(e),i=(0,t4.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(t,n))}}],t9(a.prototype,n),r&&t9(a,r),a}(R);function er(t){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ei(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function eo(t,e){return(eo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ea(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(t){return(es=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var el=[31,28,31,30,31,30,31,31,30,31,30,31],ec=[31,29,31,30,31,30,31,31,30,31,30,31],ef=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eo(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=es(i);if(e){var o=es(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===er(t)||"function"==typeof t)?t:ea(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return eu(ea(t=r.call.apply(r,[this].concat(n))),"priority",90),eu(ea(t),"subPriority",1),eu(ea(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}return ei(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"d":return V(I.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){var n=z(t.getUTCFullYear()),r=t.getUTCMonth();return n?e>=1&&e<=ec[r]:e>=1&&e<=el[r]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),n&&ei(i,n),i}(R);function ed(t){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ep(t,e){return(ep=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function em(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eg(t){return(eg=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ey(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ev=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eg(i);if(e){var o=eg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===ed(t)||"function"==typeof t)?t:em(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return ey(em(t=r.call.apply(r,[this].concat(n))),"priority",90),ey(em(t),"subpriority",1),ey(em(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}return eh(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"D":case"DD":return V(I.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return z(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),n&&eh(i,n),i}(R),eb=n(84314);function ew(t,e,n){(0,f.Z)(2,arguments);var r,i,a,s,u,l,d,h,p=(0,eb.j)(),m=(0,c.Z)(null!==(r=null!==(i=null!==(a=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n?void 0:null===(u=n.locale)||void 0===u?void 0:null===(l=u.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==i?i:null===(d=p.locale)||void 0===d?void 0:null===(h=d.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,o.Z)(t),y=(0,c.Z)(e),v=g.getUTCDay();return g.setUTCDate(g.getUTCDate()+(((y%7+7)%7<m?7:0)+y-v)),g}function ex(t){return(ex="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eC(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function eE(t,e){return(eE=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ek(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eS(t){return(eS=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e_=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eE(t,e)}(o,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eS(o);if(e){var i=eS(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===ex(t)||"function"==typeof t)?t:ek(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eR(ek(t=i.call.apply(i,[this].concat(n))),"priority",90),eR(ek(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=ew(t,n,r)).setUTCHours(0,0,0,0),t}}],eC(o.prototype,n),r&&eC(o,r),o}(R);function eA(t){return(eA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ej(t,e){return(ej=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eO(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eT(t){return(eT=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eL=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ej(t,e)}(o,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eT(o);if(e){var i=eT(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===eA(t)||"function"==typeof t)?t:eO(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eP(eO(t=i.call.apply(i,[this].concat(n))),"priority",90),eP(eO(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n,r){var i=function(t){return(t+r.weekStartsOn+6)%7+7*Math.floor((t-1)/7)};switch(e){case"e":case"ee":return N(H(e.length,t),i);case"eo":return N(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=ew(t,n,r)).setUTCHours(0,0,0,0),t}}],eM(o.prototype,n),r&&eM(o,r),o}(R);function eI(t){return(eI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eD(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function eN(t,e){return(eN=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eV(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t){return(eF=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eH=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eN(t,e)}(o,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eF(o);if(e){var i=eF(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===eI(t)||"function"==typeof t)?t:eV(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eB(eV(t=i.call.apply(i,[this].concat(n))),"priority",90),eB(eV(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}return n=[{key:"parse",value:function(t,e,n,r){var i=function(t){return(t+r.weekStartsOn+6)%7+7*Math.floor((t-1)/7)};switch(e){case"c":case"cc":return N(H(e.length,t),i);case"co":return N(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=ew(t,n,r)).setUTCHours(0,0,0,0),t}}],eD(o.prototype,n),r&&eD(o,r),o}(R);function eU(t){return(eU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eZ(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function eW(t,e){return(eW=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ez(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eG(t){return(eG=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eq=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eW(t,e)}(a,t);var e,n,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eG(a);if(e){var i=eG(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===eU(t)||"function"==typeof t)?t:ez(this)});function a(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return e$(ez(t=i.call.apply(i,[this].concat(n))),"priority",90),e$(ez(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return H(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return N(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return N(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return N(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return N(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,n){return(t=function(t,e){(0,f.Z)(2,arguments);var n=(0,c.Z)(e);n%7==0&&(n-=7);var r=(0,o.Z)(t),i=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+i),r}(t,n)).setUTCHours(0,0,0,0),t}}],eZ(a.prototype,n),r&&eZ(a,r),a}(R);function eY(t){return(eY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eX(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function eK(t,e){return(eK=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eJ(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eQ(t){return(eQ=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e0=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eK(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eQ(i);if(e){var o=eQ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===eY(t)||"function"==typeof t)?t:eJ(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return e1(eJ(t=r.call.apply(r,[this].concat(n))),"priority",80),e1(eJ(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}return eX(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(Z(n),0,0,0),t}}]),n&&eX(i,n),i}(R);function e5(t){return(e5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e2(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function e3(t,e){return(e3=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function e4(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e6(t){return(e6=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e9(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e8=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e3(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=e6(i);if(e){var o=e6(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===e5(t)||"function"==typeof t)?t:e4(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return e9(e4(t=r.call.apply(r,[this].concat(n))),"priority",80),e9(e4(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}return e2(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(Z(n),0,0,0),t}}]),n&&e2(i,n),i}(R);function e7(t){return(e7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ne(t,e){return(ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nn(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nr(t){return(nr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var no=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ne(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nr(i);if(e){var o=nr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===e7(t)||"function"==typeof t)?t:nn(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return ni(nn(t=r.call.apply(r,[this].concat(n))),"priority",80),ni(nn(t),"incompatibleTokens",["a","b","t","T"]),t}return nt(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(Z(n),0,0,0),t}}]),n&&nt(i,n),i}(R);function na(t){return(na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ns(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nu(t,e){return(nu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nl(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
6function nc(t){return(nc=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nd=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nu(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nc(i);if(e){var o=nc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===na(t)||"function"==typeof t)?t:nl(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nf(nl(t=r.call.apply(r,[this].concat(n))),"priority",70),nf(nl(t),"incompatibleTokens",["H","K","k","t","T"]),t}return ns(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"h":return V(I.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,n){var r=t.getUTCHours()>=12;return r&&n<12?t.setUTCHours(n+12,0,0,0):r||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}}]),n&&ns(i,n),i}(R);function nh(t){return(nh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function np(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nm(t,e){return(nm=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ng(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ny(t){return(ny=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nb=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nm(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=ny(i);if(e){var o=ny(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===nh(t)||"function"==typeof t)?t:ng(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nv(ng(t=r.call.apply(r,[this].concat(n))),"priority",70),nv(ng(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}return np(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"H":return V(I.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),n&&np(i,n),i}(R);function nw(t){return(nw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nx(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function nC(t,e){return(nC=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nE(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nk(t){return(nk=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nR=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nC(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nk(i);if(e){var o=nk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===nw(t)||"function"==typeof t)?t:nE(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nS(nE(t=r.call.apply(r,[this].concat(n))),"priority",70),nS(nE(t),"incompatibleTokens",["h","H","k","t","T"]),t}return nx(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"K":return V(I.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}}]),n&&nx(i,n),i}(R);function n_(t){return(n_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nA(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nM(t,e){return(nM=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nj(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nO(t){return(nO=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nP=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nM(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nO(i);if(e){var o=nO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===n_(t)||"function"==typeof t)?t:nj(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nT(nj(t=r.call.apply(r,[this].concat(n))),"priority",70),nT(nj(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}return nA(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"k":return V(I.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,n){return t.setUTCHours(n<=24?n%24:n,0,0,0),t}}]),n&&nA(i,n),i}(R);function nL(t){return(nL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nI(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function nD(t,e){return(nD=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nN(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nV(t){return(nV=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nF(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nB=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nD(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nV(i);if(e){var o=nV(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===nL(t)||"function"==typeof t)?t:nN(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nF(nN(t=r.call.apply(r,[this].concat(n))),"priority",60),nF(nN(t),"incompatibleTokens",["t","T"]),t}return nI(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"m":return V(I.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),n&&nI(i,n),i}(R);function nH(t){return(nH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nU(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nZ(t,e){return(nZ=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nW(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nz(t){return(nz=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nG(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var n$=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nZ(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nz(i);if(e){var o=nz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===nH(t)||"function"==typeof t)?t:nW(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nG(nW(t=r.call.apply(r,[this].concat(n))),"priority",50),nG(nW(t),"incompatibleTokens",["t","T"]),t}return nU(i.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"s":return V(I.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return H(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),n&&nU(i,n),i}(R);function nq(t){return(nq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nY(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
6function nX(t,e){return(nX=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nK(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nJ(t){return(nJ=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var n1=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nX(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nJ(i);if(e){var o=nJ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===nq(t)||"function"==typeof t)?t:nK(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return nQ(nK(t=r.call.apply(r,[this].concat(n))),"priority",30),nQ(nK(t),"incompatibleTokens",["t","T"]),t}return nY(i.prototype,[{key:"parse",value:function(t,e){return N(H(e.length,t),function(t){return Math.floor(t*Math.pow(10,-e.length+3))})}},{key:"set",value:function(t,e,n){return t.setUTCMilliseconds(n),t}}]),n&&nY(i,n),i}(R);function n0(t){return(n0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n5(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n2(t,e){return(n2=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function n3(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n4(t){return(n4=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n6(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var n9=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n2(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=n4(i);if(e){var o=n4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===n0(t)||"function"==typeof t)?t:n3(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return n6(n3(t=r.call.apply(r,[this].concat(n))),"priority",10),n6(n3(t),"incompatibleTokens",["t","T","x"]),t}return n5(i.prototype,[{key:"parse",value:function(t,e){switch(e){case"X":return F(D.basicOptionalMinutes,t);case"XX":return F(D.basic,t);case"XXXX":return F(D.basicOptionalSeconds,t);case"XXXXX":return F(D.extendedOptionalSeconds,t);default:return F(D.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n&&n5(i,n),i}(R);function n8(t){return(n8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n7(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t,e){return(rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function re(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
6function rn(t){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ri=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=rn(i);if(e){var o=rn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===n8(t)||"function"==typeof t)?t:re(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return rr(re(t=r.call.apply(r,[this].concat(n))),"priority",10),rr(re(t),"incompatibleTokens",["t","T","X"]),t}return n7(i.prototype,[{key:"parse",value:function(t,e){switch(e){case"x":return F(D.basicOptionalMinutes,t);case"xx":return F(D.basic,t);case"xxxx":return F(D.basicOptionalSeconds,t);case"xxxxx":return F(D.extendedOptionalSeconds,t);default:return F(D.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n&&n7(i,n),i}(R);function ro(t){return(ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ra(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rs(t,e){return(rs=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ru(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rl(t){return(rl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rf=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=rl(i);if(e){var o=rl(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===ro(t)||"function"==typeof t)?t:ru(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return rc(ru(t=r.call.apply(r,[this].concat(n))),"priority",40),rc(ru(t),"incompatibleTokens","*"),t}return ra(i.prototype,[{key:"parse",value:function(t){return B(t)}},{key:"set",value:function(t,e,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n&&ra(i,n),i}(R);function rd(t){return(rd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rp(t,e){return(rp=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rm(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t){return(rg=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ry(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}(i,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=rg(i);if(e){var o=rg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===rd(t)||"function"==typeof t)?t:rm(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return ry(rm(t=r.call.apply(r,[this].concat(n))),"priority",20),ry(rm(t),"incompatibleTokens","*"),t}return rh(i.prototype,[{key:"parse",value:function(t){return B(t)}},{key:"set",value:function(t,e,n){return[new Date(n),{timestampIsSet:!0}]}}]),n&&rh(i,n),i}(R),rb={G:new P,y:new J,Y:new ts,R:new tm,u:new tC,Q:new tM,q:new tD,M:new tZ,L:new tX,w:new t3,I:new en,d:new ef,D:new ev,E:new e_,e:new eL,c:new eH,i:new eq,a:new e0,b:new e8,B:new no,h:new nd,H:new nb,K:new nR,k:new nP,m:new nB,s:new n$,S:new n1,X:new n9,x:new ri,t:new rf,T:ne
6w rv};function rw(t){return(rw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rx(t,e){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return rC(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rC(t,e)}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function rC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var rE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rk=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rS=/^'([^]*?)'?$/,rR=/''/g,r_=/\S/,rA=/[a-zA-Z]/;function rM(t,e,n,d){(0,f.Z)(3,arguments);var h=String(t),p=String(e),m=(0,eb.j)(),g=null!==(b=null!==(w=null==d?void 0:d.locale)&&void 0!==w?w:m.locale)&&void 0!==b?b:r.Z;if(!g.match)throw RangeError("locale must contain match property");var y=(0,c.Z)(null!==(x=null!==(C=null!==(E=null!==(S=null==d?void 0:d.firstWeekContainsDate)&&void 0!==S?S:null==d?void 0:null===(R=d.locale)||void 0===R?void 0:null===(_=R.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==E?E:m.firstWeekContainsDate)&&void 0!==C?C:null===(A=m.locale)||void 0===A?void 0:null===(M=A.options)||void 0===M?void 0:M.firstWeekContainsDate)&&void 0!==x?x:1);if(!(y>=1&&y<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=(0,c.Z)(null!==(j=null!==(O=null!==(T=null!==(P=null==d?void 0:d.weekStartsOn)&&void 0!==P?P:null==d?void 0:null===(L=d.locale)||void 0===L?void 0:null===(I=L.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==T?T:m.weekStartsOn)&&void 0!==O?O:null===(D=m.locale)||void 0===D?void 0:null===(N=D.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==j?j:0);if(!(v>=0&&v<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===p)return""===h?(0,o.Z)(n):new Date(NaN);var b,w,x,C,E,S,R,_,A,M,j,O,T,P,L,I,D,N,V,F={firstWeekContainsDate:y,weekStartsOn:v,locale:g},B=[new k],H=p.match(rk).map(function(t){var e=t[0];return e in s.Z?(0,s.Z[e])(t,g.formatLong):t}).join("").match(rE),U=[],Z=rx(H);try{for(Z.s();!(V=Z.n()).done;){var W=function(){var e=V.value;!(null!=d&&d.useAdditionalWeekYearTokens)&&(0,l.Do)(e)&&(0,l.qp)(e,p,t),!(null!=d&&d.useAdditionalDayOfYearTokens)&&(0,l.Iu)(e)&&(0,l.qp)(e,p,t);var n=e[0],r=rb[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var o=U.find(function(t){return i.includes(t.token)||t.token===n});if(o)throw RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===r.incompatibleTokens&&U.length>0)throw RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));U.push({token:n,fullToken:e});var a=r.run(h,e,g.match,F);if(!a)return{v:new Date(NaN)};B.push(a.setter),h=a.rest}else{if(n.match(rA))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===e?e="'":"'"===n&&(e=e.match(rS)[1].replace(rR,"'")),0!==h.indexOf(e))return{v:new Date(NaN)};h=h.slice(e.length)}}();if("object"===rw(W))return W.v}}catch(t){Z.e(t)}finally{Z.f()}if(h.length>0&&r_.test(h))return new Date(NaN);var z=B.map(function(t){return t.priority}).sort(function(t,e){return e-t}).filter(function(t,e,n){return n.indexOf(t)===e}).map(function(t){return B.filter(function(e){return e.priority===t}).sort(function(t,e){return e.subPriority-t.subPriority})}).map(function(t){return t[0]}),G=(0,o.Z)(n);if(isNaN(G.getTime()))return new Date(NaN);var $,q=(0,i.Z)(G,(0,u.Z)(G)),Y={},X=rx(z);try{for(X.s();!($=X.n()).done;){var K=$.value;if(!K.validate(q,F))return new Date(NaN);var J=K.set(q,Y,F);
6Array.isArray(J)?(q=J[0],(0,a.Z)(Y,J[1])):q=J}}catch(t){X.e(t)}finally{X.f()}return q}},23855:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(36948),i=n(13882),o=n(83946);function a(t,e){(0,i.Z)(1,arguments);var n,a,m,g=(0,o.Z)(null!==(n=null==e?void 0:e.additionalDigits)&&void 0!==n?n:2);if(2!==g&&1!==g&&0!==g)throw RangeError("additionalDigits must be 0, 1 or 2");if(!("string"==typeof t||"[object String]"===Object.prototype.toString.call(t)))return new Date(NaN);var y=function(t){var e,n={},r=t.split(s.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?e=r[0]:(n.date=r[0],e=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=t.split(s.timeZoneDelimiter)[0],e=t.substr(n.date.length,t.length))),e){var i=s.timezone.exec(e);i?(n.time=e.replace(i[1],""),n.timezone=i[1]):n.time=e}return n}(t);if(y.date){var v=function(t,e){var n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:t.slice((r[1]||r[2]).length)}}(y.date,g);a=function(t,e){if(null===e)return new Date(NaN);var n,r,i=t.match(u);if(!i)return new Date(NaN);var o=!!i[4],a=f(i[1]),s=f(i[2])-1,l=f(i[3]),c=f(i[4]),d=f(i[5])-1;if(o)return c>=1&&c<=53&&d>=0&&d<=6?((n=new Date(0)).setUTCFullYear(e,0,4),r=n.getUTCDay()||7,n.setUTCDate(n.getUTCDate()+((c-1)*7+d+1-r)),n):new Date(NaN);var m=new Date(0);return s>=0&&s<=11&&l>=1&&l<=(h[s]||(p(e)?29:28))&&a>=1&&a<=(p(e)?366:365)?(m.setUTCFullYear(e,s,Math.max(a,l)),m):new Date(NaN)}(v.restDateString,v.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var b=a.getTime(),w=0;if(y.time&&isNaN(w=function(t){var e=t.match(l);if(!e)return NaN;var n=d(e[1]),i=d(e[2]),o=d(e[3]);return(24===n?0===i&&0===o:o>=0&&o<60&&i>=0&&i<60&&n>=0&&n<25)?n*r.vh+i*r.yJ+1e3*o:NaN}(y.time)))return new Date(NaN);if(y.timezone){if(isNaN(m=function(t){if("Z"===t)return 0;var e=t.match(c);if(!e)return 0;var n="+"===e[1]?-1:1,i=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;return o>=0&&o<=59?n*(i*r.vh+o*r.yJ):NaN}(y.timezone)))return new Date(NaN)}else{var x=new Date(b+w),C=new Date(0);return C.setFullYear(x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()),C.setHours(x.getUTCHours(),x.getUTCMinutes(),x.getUTCSeconds(),x.getUTCMilliseconds()),C}return new Date(b+w+m)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(t){return t?parseInt(t):1}function d(t){return t&&parseFloat(t.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(t){return t%400==0||t%4==0&&t%100!=0}},92311:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(19013),i=n(16218),o=n(83946),a=n(13882);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if((0,a.Z)(2,arguments),"object"!==s(e)||null===e)throw RangeError("values parameter must be an object");var n=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(null!=e.year&&n.setFullYear(e.year),null!=e.month&&(n=(0,i.Z)(n,e.month)),null!=e.date&&n.setDate((0,o.Z)(e.date)),null!=e.hours&&n.setHours((0,o.Z)(e.hours)),null!=e.minutes&&n.setMinutes((0,o.Z)(e.minutes)),null!=e.seconds&&n.setSeconds((0,o.Z)(e.seconds)),null!=e.milliseconds&&n.setMilliseconds((0,o.Z)(e.milliseconds)),n)}},34176:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);return n.setDate(a),n}},37042:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);return n.setHours(a),n}},4543:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);return n.setMinutes(a),n}},16218:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e),s=n.getFullYear(),u=n.getDate(),l=new Date(0);l.setFullYear(s,a,15),l.setHours(0,0,0,0);var c=function(t){(0,o.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getFullYear(),r=e.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(l);return n.setMonth(a,Math.min(u,c)),n}},44749:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83946),i=n(19013),o=n(13882);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,r.Z)(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},69119:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}},18717:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setSeconds(0,0),e}},43703:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setDate(1),e.setHours(0,0,0,0),e}},28366:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(69119);function i(){return(0,r.Z)(Date.now())}},584:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19013),i=n(83946),o=n(13882),a=n(84314);function s(t,e){(0,o.Z)(1,arguments);var n,s,u,l,c,f,d,h,p=(0,a.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(u=null!==(l=null==e?void 0:e.weekStartsOn)&&void 0!==l?l:null==e?void 0:null===(c=e.locale)||void 0===c?void 0:null===(f=c.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==u?u:p.weekStartsOn)&&void 0!==s?s:null===(d=p.locale)||void 0===d?void 0:null===(h=d.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.Z)(t),y=g.getDay();return g.setDate(g.getDate()-((y<m?7:0)+y-m)),g.setHours(0,0,0,0),g}},46038:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(77349),i=n(13882),o=n(83946),a=n(11640);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if((0,i.Z)(2,arguments),!e||"object"!==s(e))return new Date(NaN);var n=e.years?(0,o.Z)(e.years):0,u=e.months?(0,o.Z)(e.months):0,l=e.weeks?(0,o.Z)(e.weeks):0,c=e.days?(0,o.Z)(e.days):0,f=e.hours?(0,o.Z)(e.hours):0,d=e.minutes?(0,o.Z)(e.minutes):0,h=e.seconds?(0,o.Z)(e.seconds):0,p=function(t,e){(0,i.Z)(2,arguments);var n=(0,o.Z)(e);return(0,r.Z)(t,-n)}(function(t,e){(0,i.Z)(2,arguments);var n=(0,o.Z)(e);return(0,a.Z)(t,-n)}(t,u+12*n),c+7*l);return new Date(p.getTime()-1e3*(h+60*(d+60*f)))}},59435:function(t){function e(t,e,n,r){return Math.round(t/n)+" "+r+(e>=1.5*n?"s":"")}t.exports=function(t,n){n=n||{};var r,i,o=typeof t;if("string"===o&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===o&&isFinite(t))return n.long?(r=Math.abs(t))>=864e5?e(t,r,864e5,"day"):r>=36e5?e(t,r,36e5,"hour"):r>=6e4?e(t,r,6e4,"minute"):r>=1e3?e(t,r,1e3,"second"):t+" ms":(i=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":i>=36e5?Math.round(t/36e5)+"h":i>=6e4?Math.round(t/6e4)+"m":i>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},11227:function(t,e,n){let r;var i=n(34155);e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG),t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
6("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(r=!1,()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n(82447)(e);let{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},82447:function(t,e,n){t.exports=function(t){function e(t){let n,i,o;let a=null;function s(...t){if(!s.enabled)return;let r=s,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";a++;let o=e.formatters[i];if("function"==typeof o){let e=t[a];n=o.call(r,e),t.splice(a,1),a--}return n}),e.formatArgs.call(r,t);let u=r.log||e.log;u.apply(r,t)}return s.namespace=t,s.useColors=e.useColors(),s.color=e.selectColor(t),s.extend=r,s.destroy=e.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==e.namespaces&&(i=e.namespaces,o=e.enabled(t)),o),set:t=>{a=t}}),"function"==typeof e.init&&e.init(s),s}function r(t,n){let r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){let t=[...e.names.map(i),...e.skips.map(i).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];let r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(RegExp("^"+t.slice(1)+"$")):e.names.push(RegExp("^"+t+"$")))},e.enabled=function(t){let n,r;if("*"===t[t.length-1])return!0;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(59435),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(n=>{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e)|0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},52027:function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32};e.Diff=function(t,e){return[t,e]},e.prototype.diff_main=function(t,n,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=i;if(null==t||null==n)throw Error("Null input. (diff_main)");if(t==n)return t?[new e.Diff(0,t)]:[];void 0===r&&(r=!0);var a=r,s=this.diff_commonPrefix(t,n),u=t.substring(0,s);t=t.substring(s),n=n.substring(s),s=this.diff_commonSuffix(t,n);var l=t.substring(t.length-s);t=t.substring(0,t.length-s),n=n.substring(0,n.length-s);var c=this.diff_compute_(t,n,a,o);return u&&c.unshift(new e.Diff(0,u)),l&&c.push(new e.Diff(0,l)),this.diff_cleanupMerge(c),c},e.prototype.diff_compute_=function(t,n,r,i){if(!t)return[new e.Diff(1,n)];if(!n)return[new e.Diff(-1,t)];var o,a=t.length>n.length?t:n,s=t.length>n.length?n:t,u=a.indexOf(s);if(-1!=u)return o=[new e.Diff(1,a.substring(0,u)),new e.Diff(0,s),new e.Diff(1,a.substring(u+s.length))],t.length>n.length&&(o[0][0]=o[2][0]=-1),o;if(1==s.length)return[new e.Diff(-1,t),new e.Diff(1,n)];var l=this.diff_halfMatch_(t,n);if(l){var c=l[0],f=l[1],d=l[2],h=l[3],p=l[4],m=this.diff_main(c,d,r,i),g=this.diff_main(f,h,r,i);return m.concat([new e.Diff(0,p)],g)}return r&&t.length>100&&n.length>100?this.diff_lineMode_(t,n,i):this.diff_bisect_(t,n,i)},e.prototype.diff_lineMode_=function(t,n,r){var i=this.diff_linesToChars_(t,n);t=i.chars1,n=i.chars2;var o=i.lineArray,a=this.diff_main(t,n,!1,r);this.diff_charsToLines_(a,o),this.diff_cleanupSemantic(a),a.push(new e.Diff(0,""));for(var s=0,u=0,l=0,c="",f="";s<a.length;){switch(a[s][0]){case 1:l++,f+=a[s][1];break;case -1:u++,c+=a[s][1];break;case 0:if(u>=1&&l>=1){a.splice(s-u-l,u+l),s=s-u-l;for(var d=this.diff_main(c,f,!1,r),h=d.length-1;h>=0;h--)a.splice(s,0,d[h]);s+=d.length}l=0,u=0,c="",f=""}s++}return a.pop(),a},e.prototype.diff_bisect_=function(t,n,r){for(var i=t.length,o=n.length,a=Math.ceil((i+o)/2),s=2*a,u=Array(s),l=Array(s),c=0;c<s;c++)u[c]=-1,l[c]=-1;u[a+1]=0,l[a+1]=0;for(var f=i-o,d=f%2!=0,h=0,p=0,m=0,g=0,y=0;y<a&&!(new Date().getTime()>r);y++){for(var v=-y+h;v<=y-p;v+=2){for(var b,w=a+v,x=(b=v==-y||v!=y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-v;b<i&&x<o&&t.charAt(b)==n.charAt(x);)b++,x++;if(u[w]=b,b>i)p+=2;else if(x>o)h+=2;else if(d){var C=a+f-v;if(C>=0&&C<s&&-1!=l[C]){var E=i-l[C];if(b>=E)return this.diff_bisectSplit_(t,n,b,x,r)}}}for(var k=-y+m;k<=y-g;k+=2){for(var E,C=a+k,S=(E=k==-y||k!=y&&l[C-1]<l[C+1]?l[C+1]:l[C-1]+1)-k;E<i&&S<o&&t.charAt(i-E-1)==n.charAt(o-S-1);)E++,S++;if(l[C]=E,E>i)g+=2;else if(S>o)m+=2;else if(!d){var w=a+f-k;if(w>=0&&w<s&&-1!=u[w]){var b=u[w],x=a+b-w;if(b>=(E=i-E))return this.diff_bisectSplit_(t,n,b,x,r)}}}}return[new e.Diff(-1,t),new e.Diff(1,n)]},e.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),u=e.substring(r),l=this.diff_main(o,a,!1,i),c=this.diff_main(s,u,!1,i);return l.concat(c)},e.prototype.diff_linesToChars_=function(t,e){var n=[],r={};function i(t){for(var e="",i=0,a=-1,s=n.length;a<t.length-1;){-1==(a=t.indexOf("\n",i))&&(a=t.length-1);var u=t.substring(i,a+1);(r.hasOwnProperty?r.hasOwnProperty(u):void 0!==r[u])?e+=String.fromCharCode(r[u]):(s==o&&(u=t.substring(i),a=t.length),e+=String.fromCharCode(s),r[u]=s,n[s++]=u),i=a+1}return e}n[0]="";var o=4e4;return o=65535,{chars1:i(t),chars2:i(e),lineArray:n}},e.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],i=[],o=0;o<r.length;o++)i[o]=e[r.charCodeAt(o)];t[n][1]=i.join("")}},e.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i},e.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i},e.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var o=0,a=1;;){var s=t.substring(i-a),u=e.indexOf(s);if(-1==u)return o;a+=u,(0==u||t.substring(i-a)==e.substring(0,a))&&(o=a,a++)}},e.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var n,r,i,o,a,s=t.length>e.length?t:e,u=t.length>e.length?e:t;if(s.length<4||2*u.length<s.length)return null;var l=this;function c(t,e,n){for(var r,i,o,a,s=t.substring(n,n+Math.floor(t.length/4)),u=-1,c="";-1!=(u=e.indexOf(s,u+1));){var f=l.diff_commonPrefix(t.substring(n),e.substring(u)),d=l.diff_commonSuffix(t.substring(0,n),e.substring(0,u));c.length<d+f&&(c=e.substring(u-d,u)+e.substring(u,u+f),r=t.substring(0,n-d),i=t.substring(n+f),o=e.substring(0,u-d),a=e.substring(u+f))}return 2*c.length>=t.length?[r,i,o,a,c]:null}var f=c(s,u,Math.ceil(s.length/4)),d=c(s,u,Math.ceil(s.length/2));return f||d?(n=d?f&&f[4].length>d[4].length?f:d:f,t.length>e.length?(r=n[0],i=n[1],o=n[2],a=n[3]):(o=n[0],a=n[1],r=n[2],i=n[3]),[r,i,o,a,n[4]]):null},e.prototype.diff_cleanupSemantic=function(t){for(var n=!1,r=[],i=0,o=null,a=0,s=0,u=0,l=0,c=0;a<t.length;
vendor: 9,247 bytes, line 6
6)0==t[a][0]?(r[i++]=a,s=l,u=c,l=0,c=0,o=t[a][1]):(1==t[a][0]?l+=t[a][1].length:c+=t[a][1].length,o&&o.length<=Math.max(s,u)&&o.length<=Math.max(l,c)&&(t.splice(r[i-1],0,new e.Diff(-1,o)),t[r[i-1]+1][0]=1,i--,a=--i>0?r[i-1]:-1,s=0,u=0,l=0,c=0,o=null,n=!0)),a++;for(n&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(-1==t[a-1][0]&&1==t[a][0]){var f=t[a-1][1],d=t[a][1],h=this.diff_commonOverlap_(f,d),p=this.diff_commonOverlap_(d,f);h>=p?(h>=f.length/2||h>=d.length/2)&&(t.splice(a,0,new e.Diff(0,d.substring(0,h))),t[a-1][1]=f.substring(0,f.length-h),t[a+1][1]=d.substring(h),a++):(p>=f.length/2||p>=d.length/2)&&(t.splice(a,0,new e.Diff(0,f.substring(0,p))),t[a-1][0]=1,t[a-1][1]=d.substring(0,d.length-p),t[a+1][0]=-1,t[a+1][1]=f.substring(p),a++),a++}a++}},e.prototype.diff_cleanupSemanticLossless=function(t){function n(t,n){if(!t||!n)return 6;var r=t.charAt(t.length-1),i=n.charAt(0),o=r.match(e.nonAlphaNumericRegex_),a=i.match(e.nonAlphaNumericRegex_),s=o&&r.match(e.whitespaceRegex_),u=a&&i.match(e.whitespaceRegex_),l=s&&r.match(e.linebreakRegex_),c=u&&i.match(e.linebreakRegex_),f=l&&t.match(e.blanklineEndRegex_),d=c&&n.match(e.blanklineStartRegex_);return f||d?5:l||c?4:o&&!s&&u?3:s||u?2:o||a?1:0}for(var r=1;r<t.length-1;){if(0==t[r-1][0]&&0==t[r+1][0]){var i=t[r-1][1],o=t[r][1],a=t[r+1][1],s=this.diff_commonSuffix(i,o);if(s){var u=o.substring(o.length-s);i=i.substring(0,i.length-s),o=u+o.substring(0,o.length-s),a=u+a}for(var l=i,c=o,f=a,d=n(i,o)+n(o,a);o.charAt(0)===a.charAt(0);){i+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);var h=n(i,o)+n(o,a);h>=d&&(d=h,l=i,c=o,f=a)}t[r-1][1]!=l&&(l?t[r-1][1]=l:(t.splice(r-1,1),r--),t[r][1]=c,f?t[r+1][1]=f:(t.splice(r+1,1),r--))}r++}},e.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,e.whitespaceRegex_=/\s/,e.linebreakRegex_=/[\r\n]/,e.blanklineEndRegex_=/\n\r?\n$/,e.blanklineStartRegex_=/^\r?\n\r?\n/,e.prototype.diff_cleanupEfficiency=function(t){for(var n=!1,r=[],i=0,o=null,a=0,s=!1,u=!1,l=!1,c=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(l||c)?(r[i++]=a,s=l,u=c,o=t[a][1]):(i=0,o=null),l=c=!1):(-1==t[a][0]?c=!0:l=!0,o&&(s&&u&&l&&c||o.length<this.Diff_EditCost/2&&s+u+l+c==3)&&(t.splice(r[i-1],0,new e.Diff(-1,o)),t[r[i-1]+1][0]=1,i--,o=null,s&&u?(l=c=!0,i=0):(a=--i>0?r[i-1]:-1,l=c=!1),n=!0)),a++;n&&this.diff_cleanupMerge(t)},e.prototype.diff_cleanupMerge=function(t){t.push(new e.Diff(0,""));for(var n,r=0,i=0,o=0,a="",s="";r<t.length;)switch(t[r][0]){case 1:o++,s+=t[r][1],r++;break;case -1:i++,a+=t[r][1],r++;break;case 0:i+o>1?(0!==i&&0!==o&&(0!==(n=this.diff_commonPrefix(s,a))&&(r-i-o>0&&0==t[r-i-o-1][0]?t[r-i-o-1][1]+=s.substring(0,n):(t.splice(0,0,new e.Diff(0,s.substring(0,n))),r++),s=s.substring(n),a=a.substring(n)),0!==(n=this.diff_commonSuffix(s,a))&&(t[r][1]=s.substring(s.length-n)+t[r][1],s=s.substring(0,s.length-n),a=a.substring(0,a.length-n))),r-=i+o,t.splice(r,i+o),a.length&&(t.splice(r,0,new e.Diff(-1,a)),r++),s.length&&(t.splice(r,0,new e.Diff(1,s)),r++),r++):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,o=0,i=0,a="",s=""}""===t[t.length-1][1]&&t.pop();var u=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),u=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),u=!0)),r++;u&&this.diff_cleanupMerge(t)},e.prototype.diff_xIndex=function(t,e){var n,r=0,i=0,o=0,a=0;for(n=0;n<t.length&&(1!==t[n][0]&&(r+=t[n][1].length),-1!==t[n][0]&&(i+=t[n][1].length),!(r>e));n++)o=r,a=i;return t.length!=n&&-1===t[n][0]?a:a+(e-o)},e.prototype.diff_prettyHtml=function(t){for(var e=[],n=/&/g,r=/</g,i=/>/g,o=/\n/g,a=0;a<t.length;a++){var s=t[a][0],u=t[a][1].replace(n,"&").replace(r,"<").replace(i,">").replace(o,"¶<br>");switch(s){case 1:e[a]='<ins style="background:#e6ffe6;">'+u+"</ins>";break;case -1:e[a]='<del style="background:#ffe6e6;">'+u+"</del>";break;case 0:e[a]="<span>"+u+"</span>"}}return e.join("")},e.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)1!==t[n][0]&&(e[n]=t[n][1]);return e.join("")},e.prototype.diff_text2=function(t){for(var e=[],n=0;n<t.length;n++)-1!==t[n][0]&&(e[n]=t[n][1]);return e.join("")},e.prototype.diff_levenshtein=function(t){for(var e=0,n=0,r=0,i=0;i<t.length;i++){var o=t[i][0],a=t[i][1];switch(o){case 1:n+=a.length;break;case -1:r+=a.length;break;case 0:e+=Math.max(n,r),n=0,r=0}}return e+Math.max(n,r)},e.prototype.diff_toDelta=function(t){for(var e=[],n=0;n<t.length;n++)switch(t[n][0]){case 1:e[n]="+"+encodeURI(t[n][1]);break;case -1:e[n]="-"+t[n][1].length;break;case 0:e[n]="="+t[n][1].length}return e.join(" ").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(t,n){for(var r=[],i=0,o=0,a=n.split(/\t/g),s=0;s<a.length;s++){var u=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{r[i++]=new e.Diff(1,decodeURI(u))}catch(t){throw Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var l=parseInt(u,10);if(isNaN(l)||l<0)throw Error("Invalid number in diff_fromDelta: "+u);var c=t.substring(o,o+=l);"="==a[s].charAt(0)?r[i++]=new e.Diff(0,c):r[i++]=new e.Diff(-1,c);break;default:if(a[s])throw Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(o!=t.length)throw Error("Delta length ("+o+") does not equal source text length ("+t.length+").");return r},e.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw Error("Null input. (match_main)");return(n=Math.max(0,Math.min(n,t.length)),t==e)?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},e.prototype.match_bitap_=function(t,e,n){if(e.length>this.Match_MaxBits)throw Error("Pattern too long for this browser.");var r,i,o,a=this.match_alphabet_(e),s=this;function u(t,r){var i=t/e.length,o=Math.abs(n-r);return s.Match_Distance?i+o/s.Match_Distance:o?1:i}var l=this.Match_Threshold,c=t.indexOf(e,n);-1!=c&&(l=Math.min(u(0,c),l),-1!=(c=t.lastIndexOf(e,n+e.length))&&(l=Math.min(u(0,c),l)));var f=1<<e.length-1;c=-1;for(var d=e.length+t.length,h=0;h<e.length;h++){for(r=0,i=d;r<i;)u(h,n+i)<=l?r=i:d=i,i=Math.floor((d-r)/2+r);d=i;var p=Math.max(1,n-i+1),m=Math.min(n+i,t.length)+e.length,g=Array(m+2);g[m+1]=(1<<h)-1;for(var y=m;y>=p;y--){var v=a[t.charAt(y-1)];if(0===h?g[y]=(g[y+1]<<1|1)&v:g[y]=(g[y+1]<<1|1)&v|((o[y+1]|o[y])<<1|1)|o[y+1],g[y]&f){var b=u(h,y-1);if(b<=l){if(l=b,(c=y-1)>n)p=Math.max(1,2*n-c);else break}}}if(u(h+1,n)>l)break;o=g}return c},e.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(var n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},e.prototype.patch_addContext_=function(t,n){if(0!=n.length){if(null===t.start2)throw Error("patch not initialized");for(var r=n.substring(t.start2,t.start2+t.length1),i=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)i+=this.Patch_Margin,r=n.substring(t.start2-i,t.start2+t.length1+i);i+=this.Patch_Margin;var o=n.substring(t.start2-i,t.start2);o&&t.diffs.unshift(new e.Diff(0,o));var a=n.substring(t.start2+t.length1,t.start2+t.length1+i);a&&t.diffs.push(new e.Diff(0,a)),t.start1-=o.length,t.start2-=o.length,t.length1+=o.length+a.length,t.length2+=o.length+a.length}},e.prototype.patch_make=function(t,n,r){if("string"==typeof t&&"string"==typeof n&&void 0===r)i=t,(o=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(o),this.diff_cleanupEfficiency(o));else if(t&&"object"==typeof t&&void 0===n&&void 0===r)o=t,i=this.diff_text1(o);else if("string"==typeof t&&n&&"object"==typeof n&&void 0===r)i=t,o=n;else if("string"==typeof t&&"string"==typeof n&&r&&"object"==typeof r)i=t,o=r;else throw Error("Unknown call format to patch_make.");if(0===o.length)return[];for(var i,o,a=[],s=new e.patch_obj,u=0,l=0,c=0,f=i,d=i,h=0;h<o.length;h++){var p=o[h][0],m=o[h][1];switch(u||0===p||(s.start1=l,s.start2=c),p){case 1:s.diffs[u++]=o[h],s.length2+=m.length,d=d.substring(0,c)+m+d.substring(c);break;case -1:s.length1+=m.length,s.diffs[u++]=o[h],d=d.substring(0,c)+d.substring(c+m.length);break;case 0:m.length<=2*this.Patch_Margin&&u&&o.length!=h+1?(s.diffs[u++]=o[h],s.length1+=m.length,s.length2+=m.length):m.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(s,f),a.push(s),s=new e.patch_obj,u=0,f=d,l=c)}1!==p&&(l+=m.length),-1!==p&&(c+=m.length)}return u&&(this.patch_addContext_(s,f),a.push(s)),a},e.prototype.patch_deepCopy=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=new e.patch_obj;o.diffs=[];for(var a=0;a<i.diffs.length;a++)o.diffs[a]=new e.Diff(i.diffs[a][0],i.diffs[a][1]);o.start1=i.start1,o.start2=i.start2,o.length1=i.length1,o.length2=i.length2,n[r]=o}return n},e.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);e=n+e+n,this.patch_splitMax(t);for(var r=0,i=[],o=0;o<t.length;o++){var a=t[o].start2+r,s=this.diff_text1(t[o].diffs),u=-1;if(s.length>this.Match_MaxBits?-1!=(c=this.match_main(e,s.substring(0,this.Match_MaxBits),a))&&(-1==(u=this.match_main(e,s.substring(s.length-this.Match_MaxBits),a+s.length-this.Match_MaxBits))||c>
6=u)&&(c=-1):c=this.match_main(e,s,a),-1==c)i[o]=!1,r-=t[o].length2-t[o].length1;else if(i[o]=!0,r=c-a,f=-1==u?e.substring(c,c+s.length):e.substring(c,u+this.Match_MaxBits),s==f)e=e.substring(0,c)+this.diff_text2(t[o].diffs)+e.substring(c+s.length);else{var l=this.diff_main(s,f,!1);if(s.length>this.Match_MaxBits&&this.diff_levenshtein(l)/s.length>this.Patch_DeleteThreshold)i[o]=!1;else{this.diff_cleanupSemanticLossless(l);for(var c,f,d,h=0,p=0;p<t[o].diffs.length;p++){var m=t[o].diffs[p];0!==m[0]&&(d=this.diff_xIndex(l,h)),1===m[0]?e=e.substring(0,c+d)+m[1]+e.substring(c+d):-1===m[0]&&(e=e.substring(0,c+d)+e.substring(c+this.diff_xIndex(l,h+m[1].length))),-1!==m[0]&&(h+=m[1].length)}}}}return[e=e.substring(n.length,e.length-n.length),i]},e.prototype.patch_addPadding=function(t){for(var n=this.Patch_Margin,r="",i=1;i<=n;i++)r+=String.fromCharCode(i);for(var i=0;i<t.length;i++)t[i].start1+=n,t[i].start2+=n;var o=t[0],a=o.diffs;if(0==a.length||0!=a[0][0])a.unshift(new e.Diff(0,r)),o.start1-=n,o.start2-=n,o.length1+=n,o.length2+=n;else if(n>a[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],o.start1-=s,o.start2-=s,o.length1+=s,o.length2+=s}if(0==(a=(o=t[t.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new e.Diff(0,r)),o.length1+=n,o.length2+=n;else if(n>a[a.length-1][1].length){var s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),o.length1+=s,o.length2+=s}return r},e.prototype.patch_splitMax=function(t){for(var n=this.Match_MaxBits,r=0;r<t.length;r++)if(!(t[r].length1<=n)){var i=t[r];t.splice(r--,1);for(var o=i.start1,a=i.start2,s="";0!==i.diffs.length;){var u=new e.patch_obj,l=!0;for(u.start1=o-s.length,u.start2=a-s.length,""!==s&&(u.length1=u.length2=s.length,u.diffs.push(new e.Diff(0,s)));0!==i.diffs.length&&u.length1<n-this.Patch_Margin;){var c=i.diffs[0][0],f=i.diffs[0][1];1===c?(u.length2+=f.length,a+=f.length,u.diffs.push(i.diffs.shift()),l=!1):-1===c&&1==u.diffs.length&&0==u.diffs[0][0]&&f.length>2*n?(u.length1+=f.length,o+=f.length,l=!1,u.diffs.push(new e.Diff(c,f)),i.diffs.shift()):(f=f.substring(0,n-u.length1-this.Patch_Margin),u.length1+=f.length,o+=f.length,0===c?(u.length2+=f.length,a+=f.length):l=!1,u.diffs.push(new e.Diff(c,f)),f==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(f.length))}s=(s=this.diff_text2(u.diffs)).substring(s.length-this.Patch_Margin);var d=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==d&&(u.length1+=d.length,u.length2+=d.length,0!==u.diffs.length&&0===u.diffs[u.diffs.length-1][0]?u.diffs[u.diffs.length-1][1]+=d:u.diffs.push(new e.Diff(0,d))),l||t.splice(++r,0,u)}}},e.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},e.prototype.patch_fromText=function(t){var n=[];if(!t)return n;for(var r=t.split("\n"),i=0,o=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<r.length;){var a=r[i].match(o);if(!a)throw Error("Invalid patch string: "+r[i]);var s=new e.patch_obj;for(n.push(s),s.start1=parseInt(a[1],10),""===a[2]?(s.start1--,s.length1=1):"0"==a[2]?s.length1=0:(s.start1--,s.length1=parseInt(a[2],10)),s.start2=parseInt(a[3],10),""===a[4]?(s.start2--,s.length2=1):"0"==a[4]?s.length2=0:(s.start2--,s.length2=parseInt(a[4],10)),i++;i<r.length;){var u=r[i].charAt(0);try{var l=decodeURI(r[i].substring(1))}catch(t){throw Error("Illegal escape in patch_fromText: "+l)}if("-"==u)s.diffs.push(new e.Diff(-1,l));else if("+"==u)s.diffs.push(new e.Diff(1,l));else if(" "==u)s.diffs.push(new e.Diff(0,l));else if("@"==u)break;else if(""===u);else throw Error('Invalid patch mode "'+u+'" in: '+l);i++}}return n},e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},e.patch_obj.prototype.toString=function(){t=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1;for(var t,e,n=["@@ -"+t+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:e="+";break;case -1:e="-";break;case 0:e=" "}n[r+1]=e+encodeURI(this.diffs[r][1])+"\n"}return n.join("").replace(/%20/g," ")}
6,t.exports=e,t.exports.diff_match_patch=e,t.exports.DIFF_DELETE=-1,t.exports.DIFF_INSERT=1,t.exports.DIFF_EQUAL=0},6907:function(t){"use strict";t.exports=function(t){return(t=String(t||""),r.test(t))?"rtl":i.test(t)?"ltr":"neutral"};var e="Ö-ß¿ï¬-﷽ﹰ-ﻼ",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",r=RegExp("^[^"+n+"]*["+e+"]"),i=RegExp("^[^"+e+"]*["+n+"]")},26642:function(t,e,n){var r=n(56321).ExifReader;t.exports=function(t){var e=new r;e.load(t);var n=e.getAllTags(),i={};for(var o in n)i[o.replace(/([A-Z][a-z])|([a-z][A-Z])|([A-Z])/g,function(t){return 1==t.length?t.toLowerCase():t[0]==t[0].toUpperCase()?" "+t.toLowerCase():t[0]+" "+t[1].toLowerCase()}).replace(/^\s+|\s+$/g,"")]=n[o].description;return i}},56321:function(t,e){(function(){(null!==e?e:this).ExifReader=function(){function t(){var t=this;this._getTagValueAt={1:function(e){return t._getByteAt(e)},2:function(e){return t._getAsciiAt(e)},3:function(e){return t._getShortAt(e)},4:function(e){return t._getLongAt(e)},5:function(e){return t._getRationalAt(e)},7:function(e){return t._getUndefinedAt(e)},9:function(e){return t._getSlongAt(e)},10:function(e){return t._getSrationalAt(e)}},this._tiffHeaderOffset=0}return t.prototype._MIN_DATA_BUFFER_LENGTH=2,t.prototype._JPEG_ID_SIZE=2,t.prototype._JPEG_ID=65496,t.prototype._APP_MARKER_SIZE=2,t.prototype._APP0_MARKER=65504,t.prototype._APP1_MARKER=65505,t.prototype._APP15_MARKER=65519,t.prototype._APP_ID_OFFSET=4,t.prototype._BYTES_Exif=1165519206,t.prototype._TIFF_HEADER_OFFSET=10,t.prototype._BYTE_ORDER_BIG_ENDIAN=18761,t.prototype._BYTE_ORDER_LITTLE_ENDIAN=19789,t.prototype.load=function(t){return this.loadView(new DataView(t))},t.prototype.loadView=function(t){return this._dataView=t,this._tags={},this._checkImageHeader(),this._readTags()},t.prototype._checkImageHeader=function(){var t;if((t=this._dataView).byteLength<this._MIN_DATA_BUFFER_LENGTH||t.getUint16(0,!1)!==this._JPEG_ID)throw Error("Invalid image format");if(this._parseAppMarkers(t),!this._hasExifData())throw Error("No Exif data")},t.prototype._parseAppMarkers=function(t){var e,n,r;for(e=this._JPEG_ID_SIZE,r=[];!(t.byteLength<e+this._APP_ID_OFFSET+5);){if(this._isApp1ExifMarker(t,e))n=t.getUint16(e+this._APP_MARKER_SIZE,!1),this._tiffHeaderOffset=e+this._TIFF_HEADER_OFFSET;else if(this._isAppMarker(t,e))n=t.getUint16(e+this._APP_MARKER_SIZE,!1);else break;r.push(e+=this._APP_MARKER_SIZE+n)}return r},t.prototype._isApp1ExifMarker=function(t,e){return t.getUint16(e,!1)===this._APP1_MARKER&&t.getUint32(e+this._APP_ID_OFFSET,!1)===this._BYTES_Exif&&0===t.getUint8(e+this._APP_ID_OFFSET+4,!1)},t.prototype._isAppMarker=function(t,e){var n;return(n=t.getUint16(e,!1))>=this._APP0_MARKER&&n<=this._APP15_MARKER},t.prototype._hasExifData=function(){return 0!==this._tiffHeaderOffset},t.prototype._readTags=function(){return this._setByteOrder(),this._read0thIfd(),this._readExifIfd(),this._readGpsIfd(),this._readInteroperabilityIfd()},t.prototype._setByteOrder=function(){if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_BIG_ENDIAN)return this._littleEndian=!0;if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_LITTLE_ENDIAN)return this._littleEndian=!1;throw Error("Illegal byte order value. Faulty image.")},t.prototype._read0thIfd=function(){var t;return t=this._getIfdOffset(),this._readIfd("0th",t)},t.prototype._getIfdOffset=function(){return this._tiffHeaderOffset+this._getLongAt(this._tiffHeaderOffset+4)},t.prototype._readExifIfd=function(){var t;if(null!=this._tags["Exif IFD Pointer"])return t=this._tiffHeaderOffset+this._tags["Exif IFD Pointer"].value,this._readIfd("exif",t)},t.prototype._readGpsIfd=function(){var t;if(null!=this._tags["GPS Info IFD Pointer"])return t=this._tiffHeaderOffset+this._tags["GPS Info IFD Pointer"].value,this._readIfd("gps",t)},t.prototype._readInteroperabilityIfd=function(){var t;if(null!=this._tags["Interoperability IFD Pointer"])return t=this._tiffHeaderOffset+this._tags["Interoperability IFD Pointer"].value,this._readIfd("interoperability",t)},t.prototype._readIfd=function(t,e){var n,r,i,o;for(n=this._getShortAt(e),e+=2,o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._readTag(t,e),this._tags[r.name]={value:r.value,description:r.description},o.push(e+=12);return o},t.prototype._readTag=function(t,e){var n,r,i,o,a,s,u;return(n=this._getShortAt(e),a=this._getShortAt(e+2),r=this._getLongAt(e+4),this._typeSizes[a]*r<=4?s=this._getTagValue(e+8,a,r):(u=this._getLongAt(e+8),s=this._getTagValue(this._tiffHeaderOffset+u,a,r)),a===this._tagTypes.ASCII&&(s=this._splitNullSeparatedAsciiString(s)),null!=this._tagNames[t][n])?(null!=this._tagNames[t][n].name&&null!=this._tagNames[t][n].description?(o=this._tagNames[t][n].name,i=this._tagNames[t][n].description(s)):(o=this._tagNames[t][n],i=s instanceof Array?s.join(", "):s),{name:o,value:s,description:i}):{name:"undefined-"+n,value:s,description:s}},t.prototype._getTagValue=function(t,e,n){var r,i;return 1===(i=(function(){var i,o;for(o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._getTagValueAt[e](t),t+=this._typeSizes[e],o.push(r);return o}
6).call(this)).length?i=i[0]:e===this._tagTypes.ASCII&&(i=this._getAsciiValue(i)),i},t.prototype._getAsciiValue=function(t){var e;return function(){var n,r,i;for(n=0,i=[],r=t.length;n<r;n++)e=t[n],i.push(String.fromCharCode(e));return i}()},t.prototype._getByteAt=function(t){return this._dataView.getUint8(t)},t.prototype._getAsciiAt=function(t){return this._dataView.getUint8(t)},t.prototype._getShortAt=function(t){return this._dataView.getUint16(t,this._littleEndian)},t.prototype._getLongAt=function(t){return this._dataView.getUint32(t,this._littleEndian)},t.prototype._getRationalAt=function(t){return this._getLongAt(t)/this._getLongAt(t+4)},t.prototype._getUndefinedAt=function(t){return this._getByteAt(t)},t.prototype._getSlongAt=function(t){return this._dataView.getInt32(t,this._littleEndian)},t.prototype._getSrationalAt=function(t){return this._getSlongAt(t)/this._getSlongAt(t+4)},t.prototype._splitNullSeparatedAsciiString=function(t){var e,n,r,i,o;for(i=0,r=[],n=0,o=t.length;i<o;i++){if("\x00"===(e=t[i])){n++;continue}null==r[n]&&(r[n]=""),r[n]+=e}return r},t.prototype._typeSizes={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8},t.prototype._tagTypes={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10},t.prototype._tagNames={"0th":{256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:function(t){switch(t){case 1:return"top-left";case 2:return"top-right";case 3:return"bottom-right";case 4:return"bottom-left";case 5:return"left-top";case 6:return"right-top";case 7:return"right-bottom";case 8:return"left-bottom";default:return"Undefined"}}},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:{name:"ResolutionUnit",description:function(t){switch(t){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",318:"WhitePoint",319:"PrimaryChromaticities",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:function(t){switch(t){case 1:return"centered";case 2:return"co-sited";default:return"undefied "+t}}},532:"ReferenceBlackWhite",33432:{name:"Copyright",description:function(t){return t.join("; ")}},34665:"Exif IFD Pointer",34853:"GPS Info IFD Pointer"},exif:{33434:"ExposureTime",33437:"FNumber",34850:{name:"ExposureProgram",description:function(t){switch(t){case 0:return"Undefined";case 1:return"Manual";case 2:return"Normal program";case 3:return"Aperture priority";case 4:return"Shutter priority";case 5:return"Creative program";case 6:return"Action program";case 7:return"Portrait mode";case 8:return"Landscape mode";default:return"Unknown"}}},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:function(t){return"[Raw OECF table data]"}},36864:{name:"ExifVersion",description:function(t){var e,n,r;for(n=0,e="",r=t.length;n<r;n++)e+=String.fromCharCode(t[n]);return e}},36867:"DateTimeOriginal",36868:"DateTimeDigitized",37121:{name:"ComponentsConfiguration",description:function(t){var e,n,r;for(n=0,e="",r=t.length;n<r;n++)switch(t[n]){case 49:e+="Y";break;case 50:e+="Cb";break;case 51:e+="Cr";break;case 52:e+="R";break;case 53:e+="G";break;case 54:e+="B"}return e}},37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBiasValue",37381:"MaxApertureValue",37382:"SubjectDistance",37383:{name:"MeteringMode",description:function(t){switch(t){case 1:return"Average";case 2:return"CenterWeightedAverage";case 3:return"Spot";case 4:return"MultiSpot";case 5:return"Pattern";case 6:return"Partial";case 255:return"Other";default:return"Unknown"}}},37384:{name:"LightSource",description:function(t){switch(t){case 1:return"Daylight";case 2:return"Fluorescent";case 3:return"Tungsten (incandescent light)";case 4:return"Flash";case 9:return"Fine weather";case 10:return"Cloudy weather";case 11:return"Shade";case 12:return"Daylight fluorescent (D 5700 â 7100K)";case 13:return"Day white fluorescent (N 4600 â 5400K)";case 14:return"Cool white fluorescent (W 3900 â 4500K)";case 15:return"White fluorescent (WW 3200 â 3700K)";case 17:return"Standard light A";case 18:return"Standard light B";case 19:return"Standard light C";case 20:return"D55";case 21:return"D65";case 22:return"D75";case 23:return"D50";case 24:return"ISO studio tungsten";case 255:return"Other light source";default:return"Unknown"}}},37385:{name:"Flash",description:function(t){switch(t){case 0:return"Flas
6h did not fire";case 1:return"Flash fired";case 5:return"Strobe return light not detected";case 7:return"Strobe return light detected";case 9:return"Flash fired, compulsory flash mode";case 13:return"Flash fired, compulsory flash mode, return light not detected";case 15:return"Flash fired, compulsory flash mode, return light detected";case 16:return"Flash did not fire, compulsory flash mode";case 24:return"Flash did not fire, auto mode";case 25:return"Flash fired, auto mode";case 29:return"Flash fired, auto mode, return light not detected";case 31:return"Flash fired, auto mode, return light detected";case 32:return"No flash function";case 65:return"Flash fired, red-eye reduction mode";case 69:return"Flash fired, red-eye reduction mode, return light not detected";case 71:return"Flash fired, red-eye reduction mode, return light detected";case 73:return"Flash fired, compulsory flash mode, red-eye reduction mode";case 77:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected";case 79:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected";case 89:return"Flash fired, auto mode, red-eye reduction mode";case 93:return"Flash fired, auto mode, return light not detected, red-eye reduction mode";case 95:return"Flash fired, auto mode, return light detected, red-eye reduction mode";default:return"Unknown"}}},37386:"FocalLength",37396:{name:"SubjectArea",description:function(t){switch(t.length){case 2:return"Location; X: "+t[0]+", Y: "+t[1];case 3:return"Circle; X: "+t[0]+", Y: "+t[1]+", diameter: "+t[2];case 4:return"Rectangle; X: "+t[0]+", Y: "+t[1]+", width: "+t[2]+", height: "+t[3];default:return"Unknown"}}},37500:{name:"MakerNote",description:function(t){return"[Raw maker note data]"}},37510:{name:"UserComment",description:function(t){switch(t.slice(0,8).map(function(t){return String.fromCharCode(t)}).join("")){case"ASCII\x00\x00\x00":return t.slice(8,t.length).map(function(t){return String.fromCharCode(t)}).join("");case"JIS\x00\x00\x00\x00\x00":return"[JIS encoded text]";case"UNICODE\x00":return"[Unicode encoded text]";case"\x00\x00\x00\x00\x00\x00\x00\x00":return"[Undefined encoding]"}}},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",40960:{name:"FlashpixVersion",description:function(t){var e,n,r;for(n=0,e="",r=t.length;n<r;n++)e+=String.fromCharCode(t[n]);return e}},40961:{name:"ColorSpace",description:function(t){switch(t){case 1:return"sRGB";case 65535:return"Uncalibrated";default:return"Unknown"}}},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:function(t){return"[Raw SFR table data]"}},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:function(t){switch(t){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},41492:{name:"SubjectLocation",description:function(t){return"X: "+t[0]+", Y: "+t[1]}},41493:"ExposureIndex",41495:{name:"SensingMethod",description:function(t){switch(t){case 1:return"Undefined";case 2:return"One-chip color area sensor";case 3:return"Two-chip color area sensor";case 4:return"Three-chip color area sensor";case 5:return"Color sequential area sensor";case 7:return"Trilinear sensor";case 8:return"Color sequential linear sensor";default:return"Unknown"}}},41728:{name:"FileSource",description:function(t){return 3===t?"DSC":"Unknown"}},41729:{name:"SceneType",description:function(t){return 1===t?"A directly photographed image":"Unknown"}},41730:{name:"CFAPattern",description:function(t){return"[Raw CFA pattern table data]"}},41985:{name:"CustomRendered",description:function(t){switch(t){case 0:return"Normal process";case 1:return"Custom process";default:return"Unknown"}}},41986:{name:"ExposureMode",description:function(t){switch(t){case 0:return"Auto exposure";case 1:return"Manual exposure";case 2:return"Auto bracket";default:return"Unknown"}}},41987:{name:"WhiteBalance",description:function(t){switch(t){case 0:return"Auto white balance";case 1:return"Manual white balance";default:return"Unknown"}}},41988:{name:"DigitalZoomRatio",description:function(t){return 0===t?"Digital zoom was not used":t}},41989:{name:"FocalLengthIn35mmFilm",description:function(t){return 0===t?"Unknown":t}},41990:{name:"SceneCaptureType",description:function(t){switch(t){case 0:return"Standard";case 1:return"Landscape";case 2:return"Portrait";case 3:return"Night scene";default:return"Unknown"}}},41991:{name:"GainControl",description:function(t){switch(t){case 0:return"None";case 1:return"Low gain up";case 2:return"High gain up";case 3:return"Low gain down";case 4:return"High gain down";default:return"Unknown"}}},41992:{name:"Contrast",description:function(t){switch(t){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41993:{name:"Saturation",description:function(t){switch(t){case 0:return"Normal";case 1:return"Low saturation";case 2:return"High saturation";default:return"Unknown"}}},41994:{name:"Sharpness",description:function(t){switch(t){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41995:{name:"DeviceSettingDescription",description:function(t){return"[Raw device settings table data]"}},41996:{name:"SubjectDistanceRange",description:function(t){switch(t){case 1:return"Macro";case 2:return"Close view";case 3:return"Distant view";default:return"Unknown"}}},42016:"ImageUniqueID"},gps:{0:{name:"GPSVersionID",description:function(t){var e,n;return t[0]===(e=t[1])&&2===e&&t[2]===(n=t[3])&&0===n?"Version 2.2":"Unknown"}},1:{name:"GPSLatitudeRef",description:function(t){switch(t.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},2:{name:"GPSLatitude",description:function(t){return t[0]+t[1]/60+t[2]/3600}},3:{name:"GPSLongitudeRef",description:function(t){switch(t.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},4:{name:"GPSLongitude",description:function(t){return t[0]+t[1]/60+t[2]/3600}},5:{name:"GPSAltitudeRef",description:function(t){switch(t){case 0:return"Sea level";case 1:return"Sea level reference (negative value)";default:return"Unknown"}}},6:{name:"GPSAltitude",description:function(t){return t+" m"}},7:{name:"GPSTimeStamp",description:function(t){return t.map(function(t){return function(){var e,n,r;for(r=[],e=0,n=2-(""+Math.floor(t)).length;0<=n?e<n:e>n;0<=n?++e:--e)r.push("0");return r}()+t}).join(":")}},8:"GPSSatellites",9:{name:"GPSStatus",description:function(t){switch(t.join("")){case"A":return"Measurement in progress";case"V":return"Measurement Interoperability";default:return"Unknown"}}},10:{name:"GPSMeasureMode",description:function(t){switch(t.join("")){case"2":return"2-dimensional measurement";case"3":return"3-dimensional measurement";default:return"Unknown"}}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:function(t){switch(t.join("")){case"K":return"Kilometers per hour";case"M":return"Miles per hour";case"N":return"Knots";default:return"Unknown"}}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:function(t){switch(t.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:function(t){switch(t.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:function(t){switch(t.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},20:{name:"GPSDestLatitude",description:function(t){return t[0]+t[1]/60+t[2]/3600}},21:{name:"GPSDestLongitudeRef",description:function(t){switch(t.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},22:{name:"GPSDestLongitude",description:function(t){return t[0]+t[1]/60+t[2]/3600}},23:{name:"GPSDestBearingRef",description:function(t){switch(t.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:function(t){switch(t.join("")){case"K":return"Kilometers";case"M":return"Miles";case"N":return"Knots";default:return"Unknown"}}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:function(t){switch(t.slice(0,8).map(function(t){return String.fromCharCode(t)}).join("")){case"ASCII\x00\x00\x00":return t.slice(8,t.length).map(function(t){return String.fromCharCode(t)}).join("");case"JIS\x00\x00\x00\x00\x00":return"[JIS encoded text]";case"UNICODE\x00":return"[Unicode encoded text]";case"\x00\x00\x00\x00\x00\x00\x00\x00":return"[Undefined encoding]"}}},28:{name:"GPSAreaInformation",description:function(t){switch(t.slice(0,8).map(function(t){return String.fromCharCode(t)}).join("")){case"ASCII\x00\x00\x00":return t.slice(8,t.length).map(function(t){return String.fromCharCode(t)}).join("");case"JIS\x00\x00\x00\x00\x00":return"[JIS encoded text]";case"UNICODE\x00":return"[Unicode encoded text]";case"\x00\x00\x00\x00\x00\x00\x00\x00":return"[Undefined encoding]"}}},29:"GPSDateStamp",30:{name:"GPSDifferential",description:function(t){switch(t){case 0:return"Measurement without differential correction";
6case 1:return"Differential correction applied";default:return"Unknown"}}}},interoperability:{1:"InteroperabilityIndex",2:"UnknownInteroperabilityTag0x0002",4097:"UnknownInteroperabilityTag0x1001",4098:"UnknownInteroperabilityTag0x1002"}},t.prototype.getTagValue=function(t){return null!=this._tags[t]?this._tags[t].value:void 0},t.prototype.getTagDescription=function(t){return null!=this._tags[t]?this._tags[t].description:void 0},t.prototype.getAllTags=function(){return this._tags},t}()}).call(this)},23938:function(t,e,n){"use strict";n.d(e,{Q:function(){return ah},k:function(){return ak}});class r{constructor(t,e,n){this.visitor=t,this.string=e,this.marks=n,this.index=0}hasMark(t){return void 0===t&&(t=0),this.index+t<this.marks.length}getMark(t){return void 0===t&&(t=0),this.marks[this.index+t]}shift(){this.index+=1}process(){var t=this.marks[this.index];this.shift();var e=this.visitor[t.name];if(!e)throw Error("Unknown handler: "+t.name);return e.call(this.visitor,this,t)}processString(){return this.shift(),this.processStringEnd()}processStringEnd(){var t=this.marks[this.index-1],e=this.marks[this.index];return this.shift(),this.string.slice(t.position,e.position)}}function i(t){var e;if("undefined"!=typeof Symbol&&(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator])||Symbol.iterator&&null!=(e=t[Symbol.iterator])))return e.call(t);throw TypeError("Object is not async iterable")}function o(t){this.wrapped=t}function a(t){var e,n;function r(e,n){try{var a=t[e](n),s=a.value,u=s instanceof o;Promise.resolve(u?s.wrapped:s).then(function(t){if(u){r("return"===e?"return":"next",t);return}i(a.done?"return":"normal",t)},function(t){r("throw",t)})}catch(t){i("throw",t)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,i){return new Promise(function(o,a){var s={key:t,arg:i,resolve:o,reject:a,next:null};n?n=n.next=s:(e=n=s,r(t,i))})},"function"!=typeof t.return&&(this.return=void 0)}function s(t){return function(){return new a(t.apply(this,arguments))}}function u(t){return new o(t)}function l(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){n(t);return}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)})}}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function p(t){return null==t?"null":Array.isArray(t)?"array":t instanceof H?"range":t instanceof U?"pair":t instanceof Z?"path":typeof t}"function"==typeof Symbol&&Symbol.asyncIterator&&(a.prototype[Symbol.asyncIterator]=function(){return this}),a.prototype.next=function(t){return this._invoke("next",t)},a.prototype.throw=function(t){return this._invoke("throw",t)},a.prototype.return=function(t){return this._invoke("return",t)};class m{constructor(t){this.data=t}getType(){return p(this.data)}get(){var t=this;return c(function*(){return t.data})()}[Symbol.asyncIterator](){if(Array.isArray(this.data))return function*(t){for(var e,n=h(t);!(e=n()).done;){var r=e.value;yield new m(r)}}(this.data);throw Error("Cannot iterate over: "+this.getType())}getBoolean(){return"boolean"==typeof this.data&&!0===this.data}}var g,y,v,b,w,x,C,E,k,S,R,_,A,M,j,O,T,P,L,I,D=new m(null),N=new m(!0),V=new m(!1);class F{constructor(t){this.generator=t,this.ticker=null,this.isDone=!1,this.data=[]}getType(){return"array"}get(){var t=this;return c(function*(){var e=[],n=!0,r=!1;try{for(var o,a,s,u=i(t);n=(a=yield u.next()).done,s=yield a.value,!n;n=!0){var l=s;e.push((yield l.get()))}}catch(t){r=!0,o=t}finally{try{n||null==u.return||(yield u.return())}finally{if(r)throw o}}return e})()}[Symbol.asyncIterator](){var t=this;return s(function*(){for(var e=0;;){for(;e<t.data.length;e++)yield t.data[e];if(t.isDone)return;yield u(t._nextTick())}})()}getBoolean(){return!1}_nextTick(){var t,e,n=this;if(this.ticker)return this.ticker;var r=()=>{this.ticker=new Promise(t=>{e=t})},o=()=>{e(),r()},a=(t=c(function*(){var t=!0,e=!1;try{for(var r,a,s,u=i(n.generator());t=(a=yield u.next()).done,s=yield a.value,!t;t=!0){var l=s;n.data.push(l),o()}}catch(t){e=!0,r=t}finally{try{t||null==u.return||(yield u.return())}finally{if(e)throw r}}n.isDone=!0,o()}),function(){return t.apply(this,arguments)});return r(),a(),this.ticker}}class B{constructor(t){this.value=t}getType(){return"array"}get(){var t=this;return c(function*(){return yield t.value.get()})()}[Symbol.asyncIterator](){return this.value[Symbol.asyncIterator].call(this.value)}getBoolean(){return!1}}class H{constructor(t,e,n){this.left=t,this.right=e,this.exclusive=n}static isConstructible(t,e){return t===e&&("number"===t||"string"===t||"boolean"===t)}isExclusive(){return this.exclusive}toJSON(){return[this.left,this.right]}}class U{constructor(t,e){this.first=t,this.second=e}toJSON(){return[this.first,this.second]}}class Z{constructor(t){this.pattern=t,this.patternRe=function(t){for(var e,n=[],r=h(t.split("."));!(e=r()).done;){var i=e.value;"*"===i?n.push("[^.]+"):"**"===i?n.push(".*"):n.push(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}return RegExp("^"+n.join(".")+"$")}(t)}matches(t){return this.patternRe.test(t)}toJSON(){return this.pattern}}function W(t){return Number.isFinite(t)?new m(t):D}function z(t){return t&&"function"==typeof t.next?new F(s(function*(){var e=!0,n=!1;try{for(var r,o,a,s=i(t);e=(o=yield u(s.next())).done,a=yield u(o.value),!e;e=!0){var l=a;yield new m(l)}}catch(t){n=!0,r=t}finally{try{e||null==s.return||(yield u(s.return()))}finally{if(n)throw r}}})):null==t?D:new m(t)}var G={number:1,string:2,boolean:3};function $(t,e){var n=p(t);if(n!==p(e))return null;switch(n){case"number":case"boolean":return t-e;case"string":return t<e?-1:t>e?1:0}return null}var q={};q.coalesce=(g=c(function*(t,e,n){for(var r,i=h(t);!(r=i()).done;){var o=r.value,a=yield n(o,e);if("null"!==a.getType())return a}return D}),function(t,e,n){return g.apply(this,arguments)}),q.count=(y=c(function*(t,e,n){var r=yield n(t[0],e);if("array"!==r.getType())return D;var o=0,a=!0,s=!1;try{for(var u,l,c=i(r);a=(l=yield c.next()).done,yield l.value,!a;a=!0)o++}catch(t){s=!0,u=t}finally{try{a||null==c.return||(yield c.return())}finally{if(s)throw u}}return new m(o)}),function(t,e,n){return y.apply(this,arguments)}),q.count.arity=1,q.defined=(v=c(function*(t,e,n){return"null"===(yield n(t[0],e)).getType()?V:N}),function(t,e,n){return v.apply(this,arguments)}),q.defined.arity=1,q.identity=(b=c(function*(t){return new m("me")}),function(t){return b.apply(this,arguments)}),q.identity.arity=0,q.length=(w=c(function*(t,e,n){var r=yield n(t[0],e);return"string"===r.getType()?W(function(t){for(var e=0,n=0;n<t.length;n++){var r=t.charCodeAt(n);(!(r>=55296)||!(r<=56319))&&e++}return e}((yield r.get()))):D}),function(t,e,n){return w.apply(this,arguments)}),q.length.arity=1,q.path=(x=c(function*(t,e,n){var r=yield n(t[0],e);if("string"!==r.getType())return D;var i=yield r.get();return new m(new Z(i))}),function(t,e,n){return x.apply(this,arguments)}),q.path.arity=1,q.select=(C=c(function*(t,e,n){for(var r,i=!1,o=h(t);!(r=o()).done;){var a=r.value;if(i)return D;"Pair"===a.type||(i=!0)}for(var s,u=h(t);!(s=u()).done;){var l=s.value;if("Pair"!==l.type)return yield n(l,e);if((yield n(l.left,e)).getBoolean())return yield n(l.right,e)}return D}),function(t,e,n){return C.apply(this,arguments)}),q.references=(E=c(function*(t,e,n){var r=yield n(t[0],e);if("string"!==r.getType())return V;var i=yield r.get();return!function t(e,n){switch(p(e)){case"array":for(var r,i=h(e);!(r=i()).done;)if(t(r.value,n))return!0;break;case"object":if(e._ref===n)return!0;for(var o=0,a=Object.values(e);o<a.length;o++)if(t(a[o],n))return!0}return!1}(e.value,i)?V:N}),function(t,e,n){return E.apply(this,arguments)}),q.references.arity=1,q.round=(k=c(function*(t,e,n){var r=yield n(t[0],e);if("number"!==r.getType())return D;var i=yield r.get(),o=0;if(2===t.length){var a=yield n(t[1],e);if("number"!==a.getType())return D;o=yield a.get()}return 0===o?W(Math.round(i)):W(Number(i.toFixed(o)))}),function(t,e,n){return k.apply(this,arguments)}),q.round.arity=t=>t>=1&&t<=2,q.now=(S=c(function*(t,e){return new m(e.timestamp)}),function(t,e){return S.apply(this,arguments)}),q.now.arity=0;var Y={};function X(){}function K(t,e){this.token=t,this.position=e,this.nextFrames=[],this.acceptedContexts=[],this.callers={}}function J(){this.returns=[]}function Q(t,e){this.caller=t,this.marks=e}function tt(t){this.context=t,this.nextStates=[]}function te(t,e,n){for(var r=new K(t,e),i=0;i<n.length;i++)!function(t,e){var n=e.copy();e.eachNextState(function(e){e.p(t,n)}),tn(t,n)}(r,n[i]);return r}function tn(t,e){e.hasNextStates()&&t.addNextFrame(e)}Y.order=(R=c(function*(t,e,n,r){if(yield!0,"array"!==t.getType())return D;for(var o,a=[],s=[],u=0,l=h(e);!(o=l()).done;){var c=o.value,f="asc";"Desc"===c.type?(f="desc",c=c.base):"Asc"===c.type&&(c=c.base),a.push(c),s.push(f),u++}var d=[],g=!0,y=!1;try{for(var v,b,w,x=i(t);g=(b=yield x.next()).done,w=yield b.value,!g;g=!0){for(var C=w,E=n.createNested(C),k=[(yield C.get())],S=0;S<u;S++){var R=yield r(a[S],E);k.push((yield R.get()))}d.push(k)}}catch(t){y=!0,v=t}finally{try{g||null==x.return||(yield x.return())}finally{if(y)throw v}}return d.sort((t,e)=>{for(var n=0;n<u;n++){var r=function(t,e){var n=p(t),r=p(e),i=G[n]||100,o=G[r]||100;if(i!==o)return i-o;var a=$(t,e);return null===a&&(a=0),a}(t[n+1],e[n+1]);if("desc"===s[n]&&(r=-r),0!==r)return r}return 0}),new m(d.map(t=>t[0]))}),function(t,e,n,r){return R.apply(this,arguments)}),Y.order.arity=t=>t>=1,K.prototype.hasNextFrames=function(){return this.nextFrames.length>0},K.prototype.addNextFrame=function(t){this.nextFrames.push(t)},K.prototype.wasAccepted=function(){return this.acceptedContexts.length>0},K.prototype.addAccept=function(t){this.acceptedContexts.push(t)},K.prototype.addMark=function(t,e,n){var r={type:"mark",name:t,position:this.position},i=e.marks?{type:"concat",left:e.marks,right:r}:r,o=new Q(e.caller,i),a=new tt(o);n.p(this,a),tn(this,a)},K.prototype.startCall=function(t){var e=this.callers[t];if(!e){e=new J,this.callers[t]=e;for(var n=new Q(e,null),r=new tt(n),i=ar[t],o=0;o<i.length;o++)i[o].p(this,r);tn(this,r)}return e},K.prototype.returnCall=function(t,e){for(var n=e.context.caller.returns,r=0;r<n.length;r++){var i=n[r],o=i[0],a=i[1],s=o.marks,u=e.context.marks,l=s&&u?{type:"concat",left:o.marks,right:e.context.marks}:s||u,c=new Q(o.caller,l),f=new tt(c);a.p(this,f),tn(this,f)}},J.prototype.addReturn=function(t,e){this.returns.push([t,e])},tt.prototype.addNextState=function(t){this.nextStates.push(t)}
6,tt.prototype.eachNextState=function(t){this.nextStates.forEach(t)},tt.prototype.hasNextStates=function(){return this.nextStates.length>0},tt.prototype.copy=function(){return new tt(this.context,this.marks)};var tr=new X,ti=new X,to=new X,ta=new X,ts=new X,tu=new X,tl=new X,tc=new X,tf=new X,td=new X,th=new X,tp=new X,tm=new X,tg=new X,ty=new X,tv=new X,tb=new X,tw=new X,tx=new X,tC=new X,tE=new X,tk=new X,tS=new X,tR=new X,t_=new X,tA=new X,tM=new X,tj=new X,tO=new X,tT=new X,tP=new X,tL=new X,tI=new X,tD=new X,tN=new X,tV=new X,tF=new X,tB=new X,tH=new X,tU=new X,tZ=new X,tW=new X,tz=new X,tG=new X,t$=new X,tq=new X,tY=new X,tX=new X,tK=new X,tJ=new X,tQ=new X,t1=new X,t0=new X,t5=new X,t2=new X,t3=new X,t4=new X,t6=new X,t9=new X,t8=new X,t7=new X,et=new X,ee=new X,en=new X,er=new X,ei=new X,eo=new X,ea=new X,es=new X,eu=new X,el=new X,ec=new X,ef=new X,ed=new X,eh=new X,ep=new X,em=new X,eg=new X,ey=new X,ev=new X,eb=new X,ew=new X,ex=new X,eC=new X,eE=new X,ek=new X,eS=new X,eR=new X,e_=new X,eA=new X,eM=new X,ej=new X,eO=new X,eT=new X,eP=new X,eL=new X,eI=new X,eD=new X,eN=new X,eV=new X,eF=new X,eB=new X,eH=new X,eU=new X,eZ=new X,eW=new X,ez=new X,eG=new X,e$=new X,eq=new X,eY=new X,eX=new X,eK=new X,eJ=new X,eQ=new X,e1=new X,e0=new X,e5=new X,e2=new X,e3=new X,e4=new X,e6=new X,e9=new X,e8=new X,e7=new X,nt=new X,ne=new X,nn=new X,nr=new X,ni=new X,no=new X,na=new X,ns=new X,nu=new X,nl=new X,nc=new X,nf=new X,nd=new X,nh=new X,np=new X,nm=new X,ng=new X,ny=new X,nv=new X,nb=new X,nw=new X,nx=new X,nC=new X,nE=new X,nk=new X,nS=new X,nR=new X,n_=new X,nA=new X,nM=new X,nj=new X,nO=new X,nT=new X,nP=new X,nL=new X,nI=new X,nD=new X,nN=new X,nV=new X,nF=new X,nB=new X,nH=new X,nU=new X,nZ=new X,nW=new X,nz=new X,nG=new X,n$=new X,nq=new X,nY=new X,nX=new X,nK=new X,nJ=new X,nQ=new X,n1=new X,n0=new X,n5=new X,n2=new X,n3=new X,n4=new X,n6=new X,n9=new X,n8=new X,n7=new X,rt=new X,re=new X,rn=new X,rr=new X,ri=new X,ro=new X,ra=new X,rs=new X,ru=new X,rl=new X,rc=new X,rf=new X,rd=new X,rh=new X,rp=new X,rm=new X,rg=new X,ry=new X,rv=new X,rb=new X,rw=new X,rx=new X,rC=new X,rE=new X,rk=new X,rS=new X,rR=new X,r_=new X,rA=new X,rM=new X,rj=new X,rO=new X,rT=new X,rP=new X,rL=new X,rI=new X,rD=new X,rN=new X,rV=new X,rF=new X,rB=new X,rH=new X,rU=new X,rZ=new X,rW=new X,rz=new X,rG=new X,r$=new X,rq=new X,rY=new X,rX=new X,rK=new X,rJ=new X,rQ=new X,r1=new X,r0=new X,r5=new X,r2=new X,r3=new X,r4=new X,r6=new X,r9=new X,r8=new X,r7=new X,it=new X,ie=new X,ir=new X,ii=new X,io=new X,ia=new X,is=new X,iu=new X,il=new X,ic=new X,id=new X,ih=new X,ip=new X,im=new X,ig=new X,iy=new X,iv=new X,ib=new X,iw=new X,ix=new X,iC=new X,iE=new X,ik=new X,iS=new X,iR=new X,i_=new X,iA=new X,iM=new X,ij=new X,iO=new X,iT=new X,iP=new X,iL=new X,iI=new X,iD=new X,iN=new X,iV=new X,iF=new X,iB=new X,iH=new X,iU=new X,iZ=new X,iW=new X,iz=new X,iG=new X,i$=new X,iq=new X,iY=new X,iX=new X,iK=new X,iJ=new X,iQ=new X,i1=new X,i0=new X,i5=new X,i2=new X,i3=new X,i4=new X,i6=new X,i9=new X,i8=new X,i7=new X,ot=new X,oe=new X,on=new X,or=new X,oi=new X,oo=new X,oa=new X,os=new X,ou=new X,ol=new X,oc=new X,of=new X,od=new X,oh=new X,op=new X,om=new X,og=new X,oy=new X,ov=new X,ob=new X,ow=new X,ox=new X,oC=new X,oE=new X,ok=new X,oS=new X,oR=new X,o_=new X,oA=new X,oM=new X,oj=new X,oO=new X,oT=new X,oP=new X,oL=new X,oI=new X,oD=new X,oN=new X,oV=new X,oF=new X,oB=new X,oH=new X,oU=new X,oZ=new X,oW=new X,oz=new X,oG=new X,o$=new X,oq=new X,oY=new X,oX=new X,oK=new X,oJ=new X,oQ=new X,o1=new X,o0=new X,o5=new X,o2=new X,o3=new X,o4=new X,o6=new X,o9=new X,o8=new X,o7=new X;tr.p=function(t,e){t.startCall("main").addReturn(e.context,ti)},tr.id=0,ti.p=function(t,e){t.addAccept(e.context)},ti.id=1,to.p=function(t,e){t.startCall("IGN").addReturn(e.context,ta),t.startCall("EXPR^1").addReturn(e.context,ts)},to.id=2,ta.p=function(t,e){t.startCall("IGN").addReturn(e.context,ta),t.startCall("EXPR^1").addReturn(e.context,ts)},ta.id=3,ts.p=function(t,e){t.startCall("IGN").addReturn(e.context,tu),t.returnCall("main",e)},ts.id=4,tu.p=function(t,e){t.startCall("IGN").addReturn(e.context,tu),t.returnCall("main",e)},tu.id=5,tl.p=function(t,e){var n=t.token;9===n&&e.addNextState(tc),10===n&&e.addNextState(tf),11===n&&e.addNextState(td),12===n&&e.addNextState(th),13===n&&e.addNextState(tp),32===n&&e.addNextState(tm),133===n&&e.addNextState(tg),160===n&&e.addNextState(ty)},tl.id=6,tc.p=function(t,e){t.returnCall("SPACE",e)},tc.id=7,tf.p=function(t,e){t.returnCall("SPACE",e)},tf.id=8,td.p=function(t,e){t.returnCall("SPACE",e)},td.id=9,th.p=function(t,e){t.returnCall("SPACE",e)},th.id=10,tp.p=function(t,e){t.returnCall("SPACE",e)},tp.id=11,tm.p=function(t,e){t.returnCall("SPACE",e)},tm.id=12,tg.p=function(t,e){t.returnCall("SPACE",e)},tg.id=13,ty.p=function(t,e){t.returnCall("SPACE",e)},ty.id=14,tv.p=function(t,e){47===t.token&&e.addNextState(tb)},tv.id=15,tb.p=function(t,e){47===t.token&&e.addNextState(tw)},tb.id=16,tw.p=function(t,e){var n=t.token;n<=9&&e.addNextState(tx),n>=11&&e.addNextState(tC)},tw.id=17,tx.p=function(t,e){var n=t.token;n<=9&&e.addNextState(tx),n>=11&&e.addNextState(tC),t.startCall("COMMENT_END").addReturn(e.context,tE)},tx.id=18,tC.p=function(t,e){var n=t.token;n<=9&&e.addNextState(tx),n>=11&&e.addNextState(tC),t.startCall("COMMENT_END").addReturn(e.context,tE)},tC.id=19,tE.p=function(t,e){t.returnCall("COMMENT",e)},tE.id=20,tk.p=function(t,e){10===t.token&&e.addNextState(tS)},tk.id=21,tS.p=function(t,e){t.returnCall("COMMENT_END",e)},tS.id=22,tR.p=function(t,e){t.startCall("SPACE").addReturn(e.context,t_),t.startCall("COMMENT").addReturn(e.context,tA)},tR.id=23,t_.p=function(t,e){t.returnCall("IGN",e)},t_.id=24,tA.p=function(t,e){t.returnCall("IGN",e)},tA.id=25,tM.p=function(t,e){124===t.token&&e.addNextState(tj)},tM.id=26,tj.p=function(t,e){t.startCall("IGN").addReturn(e.context,tO),t.returnCall("PIPE",e)},tj.id=27,tO.p=function(t,e){t.startCall("IGN").addReturn(e.context,tO),t.returnCall("PIPE",e)},tO.id=28,tT.p=function(t,e){t.addMark("parent",e.context,tP),t.addMark("dblparent",e.context,tL)},tT.id=29,tP.p=function(t,e){94===t.token&&e.addNextState(tI)},tP.id=30,tL.p=function(t,e){t.startCall("PARENT").addReturn(e.context,tD)},tL.id=31,tI.p=function(t,e){t.returnCall("PARENT",e)},tI.id=32,tD.p=function(t,e){46===t.token&&e.addNextState(tN)},tD.id=33,tN.p=function(t,e){94===t.token&&e.addNextState(tV)},tN.id=34,tV.p=function(t,e){t.returnCall("PARENT",e)},tV.id=35,tF.p=function(t,e){var n=t.token;n>=97&&n<=122&&e.addNextState(tB),n>=65&&n<=90&&e.addNextState(tH),95===n&&e.addNextState(tU)},tF.id=36,tB.p=function(t,e){t.returnCall("IDENT_FST",e)},tB.id=37,tH.p=function(t,e){t.returnCall("IDENT_FST",e)},tH.id=38,tU.p=function(t,e){t.returnCall("IDENT_FST",e)},tU.id=39,tZ.p=function(t,e){var n=t.token;t.startCall("IDENT_FST").addReturn(e.context,tW),n>=48&&n<=57&&e.addNextState(tz)},tZ.id=40,tW.p=function(t,e){t.returnCall("IDENT_REST",e)},tW.id=41,tz.p=function(t,e){t.returnCall("IDENT_REST",e)},tz.id=42,tG.p=function(t,e){t.startCall("IDENT_FST").addReturn(e.context,t$)},tG.id=43,t$.p=function(t,e){var n=t.token;t.startCall("IDENT_REST").addReturn(e.context,tq),(n<=96||n>=123)&&(n<=64||n>=91)&&(n<=47||n>=58)&&t.returnCall("IDENT",e)},t$.id=44,tq.p=function(t,e){var n=t.token;t.startCall("IDENT_REST").addReturn(e.context,tq),(n<=96||n>=123)&&(n<=64||n>=91)&&(n<=47||n>=58)&&t.returnCall("IDENT",e)},tq.id=45,tY.p=function(t,e){42===t.token&&e.addNextState(tX)},tY.id=46,tX.p=function(t,e){var n=t.token;(n<=41||n>=43)&&t.returnCall("STAR",e)},tX.id=47,tK.p=function(t,e){var n=t.token;61===n&&e.addNextState(tJ),33===n&&e.addNextState(tQ),62===n&&e.addNextState(t1),62===n&&e.addNextState(t0),60===n&&e.addNextState(t5),60===n&&e.addNextState(t2),105===n&&e.addNextState(t3),109===n&&e.addNextState(t4)},tK.id=48,tJ.p=function(t,e){61===t.token&&e.addNextState(t6)},tJ.id=49,tQ.p=function(t,e){61===t.token&&e.addNextState(t9)}
6,tQ.id=50,t1.p=function(t,e){61===t.token&&e.addNextState(t8)},t1.id=51,t0.p=function(t,e){t.returnCall("COMP_OP",e)},t0.id=52,t5.p=function(t,e){61===t.token&&e.addNextState(t7)},t5.id=53,t2.p=function(t,e){t.returnCall("COMP_OP",e)},t2.id=54,t3.p=function(t,e){110===t.token&&e.addNextState(et)},t3.id=55,t4.p=function(t,e){97===t.token&&e.addNextState(ee)},t4.id=56,t6.p=function(t,e){t.returnCall("COMP_OP",e)},t6.id=57,t9.p=function(t,e){t.returnCall("COMP_OP",e)},t9.id=58,t8.p=function(t,e){t.returnCall("COMP_OP",e)},t8.id=59,t7.p=function(t,e){t.returnCall("COMP_OP",e)},t7.id=60,et.p=function(t,e){t.returnCall("COMP_OP",e)},et.id=61,ee.p=function(t,e){116===t.token&&e.addNextState(en)},ee.id=62,en.p=function(t,e){99===t.token&&e.addNextState(er)},en.id=63,er.p=function(t,e){104===t.token&&e.addNextState(ei)},er.id=64,ei.p=function(t,e){t.returnCall("COMP_OP",e)},ei.id=65,eo.p=function(t,e){t.addMark("func_call",e.context,ea)},eo.id=66,ea.p=function(t,e){t.startCall("IDENT").addReturn(e.context,es)},ea.id=67,es.p=function(t,e){t.addMark("func_name_end",e.context,eu)},es.id=68,eu.p=function(t,e){40===t.token&&e.addNextState(el)},eu.id=69,el.p=function(t,e){t.startCall("IGN").addReturn(e.context,ec),t.startCall("FUNC_ARGS").addReturn(e.context,ef),t.addMark("func_args_end",e.context,ed)},el.id=70,ec.p=function(t,e){t.startCall("IGN").addReturn(e.context,ec),t.startCall("FUNC_ARGS").addReturn(e.context,ef),t.addMark("func_args_end",e.context,ed)},ec.id=71,ef.p=function(t,e){t.addMark("func_args_end",e.context,ed)},ef.id=72,ed.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,eh),41===n&&e.addNextState(ep)},ed.id=73,eh.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,eh),41===n&&e.addNextState(ep)},eh.id=74,ep.p=function(t,e){t.returnCall("FUNC_CALL",e)},ep.id=75,em.p=function(t,e){t.startCall("EXPR^1").addReturn(e.context,eg)},em.id=76,eg.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ey),44===n&&e.addNextState(eb),t.returnCall("FUNC_ARGS",e)},eg.id=77,ey.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ey),44===n&&e.addNextState(eb),t.returnCall("FUNC_ARGS",e)},ey.id=78,ev.p=function(t,e){t.startCall("IGN").addReturn(e.context,ev),t.startCall("EXPR^1").addReturn(e.context,ew)},ev.id=79,eb.p=function(t,e){t.startCall("IGN").addReturn(e.context,ev),t.startCall("EXPR^1").addReturn(e.context,ew)},eb.id=80,ew.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ex),44===n&&e.addNextState(eb),t.returnCall("FUNC_ARGS",e)},ew.id=81,ex.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ex),44===n&&e.addNextState(eb),t.returnCall("FUNC_ARGS",e)},ex.id=82,eC.p=function(t,e){t.addMark("sci",e.context,eE),t.addMark("float",e.context,ek),t.addMark("integer",e.context,eS)},eC.id=83,eE.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eR)},eE.id=84,ek.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eL)},ek.id=85,eS.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eV)},eS.id=86,eR.p=function(t,e){var n=t.token;t.startCall("DIGIT").addReturn(e.context,eR),46===n&&e.addNextState(eA),101===n&&e.addNextState(eM),69===n&&e.addNextState(ej)},eR.id=87,e_.p=function(t,e){var n=t.token;t.startCall("DIGIT").addReturn(e.context,e_),101===n&&e.addNextState(eM),69===n&&e.addNextState(ej)},e_.id=88,eA.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,e_)},eA.id=89,eM.p=function(t,e){t.startCall("SIGN").addReturn(e.context,eO),t.startCall("DIGIT").addReturn(e.context,eT)},eM.id=90,ej.p=function(t,e){t.startCall("SIGN").addReturn(e.context,eO),t.startCall("DIGIT").addReturn(e.context,eT)},ej.id=91,eO.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eT)},eO.id=92,eT.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eT),t.addMark("sci_end",e.context,eP)},eT.id=93,eP.p=function(t,e){t.returnCall("NUMBER",e)},eP.id=94,eL.p=function(t,e){var n=t.token;t.startCall("DIGIT").addReturn(e.context,eL),46===n&&e.addNextState(eI)},eL.id=95,eI.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eD)},eI.id=96,eD.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eD),t.addMark("float_end",e.context,eN)},eD.id=97,eN.p=function(t,e){t.returnCall("NUMBER",e)},eN.id=98,eV.p=function(t,e){t.startCall("DIGIT").addReturn(e.context,eV),t.addMark("integer_end",e.context,eF)},eV.id=99,eF.p=function(t,e){t.returnCall("NUMBER",e)},eF.id=100,eB.p=function(t,e){var n=t.token;n>=48&&n<=57&&e.addNextState(eH)},eB.id=101,eH.p=function(t,e){t.returnCall("DIGIT",e)},eH.id=102,eU.p=function(t,e){var n=t.token;43===n&&e.addNextState(eZ),45===n&&e.addNextState(eW)},eU.id=103,eZ.p=function(t,e){t.returnCall("SIGN",e)},eZ.id=104,eW.p=function(t,e){t.returnCall("SIGN",e)},eW.id=105,ez.p=function(t,e){var n=t.token;34===n&&e.addNextState(eG),39===n&&e.addNextState(e$)},ez.id=106,eG.p=function(t,e){t.addMark("str_begin",e.context,eq)},eG.id=107,e$.p=function(t,e){t.addMark("str_begin",e.context,eJ)},e$.id=108,eq.p=function(t,e){t.startCall("DSTRING_CHAR").addReturn(e.context,eY),t.addMark("str_end",e.context,eX)},eq.id=109,eY.p=function(t,e){t.startCall("DSTRING_CHAR").addReturn(e.context,eY),t.addMark("str_end",e.context,eX)},eY.id=110,eX.p=function(t,e){34===t.token&&e.addNextState(eK)},eX.id=111,eK.p=function(t,e){t.returnCall("STRING",e)},eK.id=112,eJ.p=function(t,e){t.startCall("SSTRING_CHAR").addReturn(e.context,eQ),t.addMark("str_end",e.context,e1)},eJ.id=113,eQ.p=function(t,e){t.startCall("SSTRING_CHAR").addReturn(e.context,eQ),t.addMark("str_end",e.context,e1)},eQ.id=114,e1.p=function(t,e){39===t.token&&e.addNextState(e0)},e1.id=115,e0.p=function(t,e){t.returnCall("STRING",e)},e0.id=116,e5.p=function(t,e){var n=t.token;92===n&&e.addNextState(e2),(n<=33||n>=35)&&(n<=91||n>=93)&&e.addNextState(e3)},e5.id=117,e2.p=function(t,e){e.addNextState(e4)},e2.id=118,e3.p=function(t,e){t.returnCall("DSTRING_CHAR",e)},e3.id=119,e4.p=function(t,e){t.returnCall("DSTRING_CHAR",e)},e4.id=120,e6.p=function(t,e){var n=t.token;92===n&&e.addNextState(e9),(n<=38||n>=40)&&(n<=91||n>=93)&&e.addNextState(e8)},e6.id=121,e9.p=function(t,e){e.addNextState(e7)}
6,e9.id=122,e8.p=function(t,e){t.returnCall("SSTRING_CHAR",e)},e8.id=123,e7.p=function(t,e){t.returnCall("SSTRING_CHAR",e)},e7.id=124,nt.p=function(t,e){t.addMark("array",e.context,ne)},nt.id=125,ne.p=function(t,e){91===t.token&&e.addNextState(nn)},ne.id=126,nn.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nr),t.startCall("ARRAY_ELEMENT").addReturn(e.context,no),93===n&&e.addNextState(nd)},nn.id=127,nr.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nr),t.startCall("ARRAY_ELEMENT").addReturn(e.context,no),93===n&&e.addNextState(nd)},nr.id=128,ni.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ni),44===n&&e.addNextState(ns),44===n&&e.addNextState(nf),93===n&&e.addNextState(nd)},ni.id=129,no.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ni),44===n&&e.addNextState(ns),44===n&&e.addNextState(nf),93===n&&e.addNextState(nd)},no.id=130,na.p=function(t,e){t.startCall("IGN").addReturn(e.context,na),t.startCall("ARRAY_ELEMENT").addReturn(e.context,nu)},na.id=131,ns.p=function(t,e){t.startCall("IGN").addReturn(e.context,na),t.startCall("ARRAY_ELEMENT").addReturn(e.context,nu)},ns.id=132,nu.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nl),44===n&&e.addNextState(ns),44===n&&e.addNextState(nf),93===n&&e.addNextState(nd)},nu.id=133,nl.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nl),44===n&&e.addNextState(ns),44===n&&e.addNextState(nf),93===n&&e.addNextState(nd)},nl.id=134,nc.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nc),93===n&&e.addNextState(nd)},nc.id=135,nf.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nc),93===n&&e.addNextState(nd)},nf.id=136,nd.p=function(t,e){t.addMark("array_end",e.context,nh)},nd.id=137,nh.p=function(t,e){t.returnCall("ARRAY",e)},nh.id=138,np.p=function(t,e){t.addMark("array_splat",e.context,nm),t.startCall("EXPR^1").addReturn(e.context,ng)},np.id=139,nm.p=function(t,e){46===t.token&&e.addNextState(ny)},nm.id=140,ng.p=function(t,e){t.returnCall("ARRAY_ELEMENT",e)},ng.id=141,ny.p=function(t,e){46===t.token&&e.addNextState(nv)},ny.id=142,nv.p=function(t,e){46===t.token&&e.addNextState(nb)},nv.id=143,nb.p=function(t,e){t.startCall("IGN").addReturn(e.context,nw),t.startCall("EXPR^1").addReturn(e.context,ng)},nb.id=144,nw.p=function(t,e){t.startCall("IGN").addReturn(e.context,nw),t.startCall("EXPR^1").addReturn(e.context,ng)},nw.id=145,nx.p=function(t,e){t.addMark("object",e.context,nC)},nx.id=146,nC.p=function(t,e){123===t.token&&e.addNextState(nE)},nC.id=147,nE.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nk),t.startCall("OBJECT_PAIR").addReturn(e.context,nR),125===n&&e.addNextState(nP)},nE.id=148,nk.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nk),t.startCall("OBJECT_PAIR").addReturn(e.context,nR),125===n&&e.addNextState(nP)},nk.id=149,nS.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nS),44===n&&e.addNextState(nA),44===n&&e.addNextState(nT),125===n&&e.addNextState(nP)},nS.id=150,nR.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nS),44===n&&e.addNextState(nA),44===n&&e.addNextState(nT),125===n&&e.addNextState(nP)},nR.id=151,n_.p=function(t,e){t.startCall("IGN").addReturn(e.context,n_),t.startCall("OBJECT_PAIR").addReturn(e.context,nM)},n_.id=152,nA.p=function(t,e){t.startCall("IGN").addReturn(e.context,n_),t.startCall("OBJECT_PAIR").addReturn(e.context,nM)},nA.id=153,nM.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nj),44===n&&e.addNextState(nA),44===n&&e.addNextState(nT),125===n&&e.addNextState(nP)},nM.id=154,nj.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nj),44===n&&e.addNextState(nA),44===n&&e.addNextState(nT),125===n&&e.addNextState(nP)},nj.id=155,nO.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nO),125===n&&e.addNextState(nP)},nO.id=156,nT.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nO),125===n&&e.addNextState(nP)},nT.id=157,nP.p=function(t,e){t.addMark("object_end",e.context,nL)},nP.id=158,nL.p=function(t,e){t.returnCall("OBJECT",e)},nL.id=159,nI.p=function(t,e){t.addMark("object_pair",e.context,nD),t.addMark("object_expr",e.context,nN),t.addMark("object_splat_this",e.context,nV),t.addMark("object_splat",e.context,nF)},nI.id=160,nD.p=function(t,e){t.startCall("STRING").addReturn(e.context,nB
6)},nD.id=161,nN.p=function(t,e){t.startCall("EXPR^1").addReturn(e.context,nz)},nN.id=162,nV.p=function(t,e){46===t.token&&e.addNextState(nG)},nV.id=163,nF.p=function(t,e){46===t.token&&e.addNextState(nY)},nF.id=164,nB.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nH),58===n&&e.addNextState(nU)},nB.id=165,nH.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,nH),58===n&&e.addNextState(nU)},nH.id=166,nU.p=function(t,e){t.startCall("IGN").addReturn(e.context,nZ),t.startCall("EXPR^1").addReturn(e.context,nW)},nU.id=167,nZ.p=function(t,e){t.startCall("IGN").addReturn(e.context,nZ),t.startCall("EXPR^1").addReturn(e.context,nW)},nZ.id=168,nW.p=function(t,e){t.returnCall("OBJECT_PAIR",e)},nW.id=169,nz.p=function(t,e){t.returnCall("OBJECT_PAIR",e)},nz.id=170,nG.p=function(t,e){46===t.token&&e.addNextState(n$)},nG.id=171,n$.p=function(t,e){46===t.token&&e.addNextState(nq)},n$.id=172,nq.p=function(t,e){t.returnCall("OBJECT_PAIR",e)},nq.id=173,nY.p=function(t,e){46===t.token&&e.addNextState(nX)},nY.id=174,nX.p=function(t,e){46===t.token&&e.addNextState(nK)},nX.id=175,nK.p=function(t,e){t.startCall("IGN").addReturn(e.context,nJ),t.startCall("EXPR^1").addReturn(e.context,nQ)},nK.id=176,nJ.p=function(t,e){t.startCall("IGN").addReturn(e.context,nJ),t.startCall("EXPR^1").addReturn(e.context,nQ)},nJ.id=177,nQ.p=function(t,e){t.returnCall("OBJECT_PAIR",e)},nQ.id=178,n1.p=function(t,e){t.addMark("pair",e.context,n0),t.startCall("EXPR^2").addReturn(e.context,n5)},n1.id=179,n0.p=function(t,e){t.startCall("EXPR^2").addReturn(e.context,n2)},n0.id=180,n5.p=function(t,e){t.returnCall("EXPR^1",e)},n5.id=181,n2.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,n3),61===n&&e.addNextState(n4)},n2.id=182,n3.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,n3),61===n&&e.addNextState(n4)},n3.id=183,n4.p=function(t,e){62===t.token&&e.addNextState(n6)},n4.id=184,n6.p=function(t,e){t.startCall("IGN").addReturn(e.context,n9),t.startCall("EXPR^2").addReturn(e.context,n8)},n6.id=185,n9.p=function(t,e){t.startCall("IGN").addReturn(e.context,n9),t.startCall("EXPR^2").addReturn(e.context,n8)},n9.id=186,n8.p=function(t,e){t.returnCall("EXPR^1",e)},n8.id=187,n7.p=function(t,e){t.addMark("or",e.context,rt),t.startCall("EXPR^3").addReturn(e.context,re)},n7.id=188,rt.p=function(t,e){t.startCall("EXPR^2").addReturn(e.context,rn
6)},rt.id=189,re.p=function(t,e){t.returnCall("EXPR^2",e)},re.id=190,rn.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rr),124===n&&e.addNextState(ri)},rn.id=191,rr.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rr),124===n&&e.addNextState(ri)},rr.id=192,ri.p=function(t,e){124===t.token&&e.addNextState(ro)},ri.id=193,ro.p=function(t,e){t.startCall("IGN").addReturn(e.context,ra),t.startCall("EXPR^3").addReturn(e.context,rs)},ro.id=194,ra.p=function(t,e){t.startCall("IGN").addReturn(e.context,ra),t.startCall("EXPR^3").addReturn(e.context,rs)},ra.id=195,rs.p=function(t,e){t.returnCall("EXPR^2",e)},rs.id=196,ru.p=function(t,e){t.addMark("and",e.context,rl),t.startCall("EXPR^4").addReturn(e.context,rc)},ru.id=197,rl.p=function(t,e){t.startCall("EXPR^3").addReturn(e.context,rf)},rl.id=198,rc.p=function(t,e){t.returnCall("EXPR^3",e)},rc.id=199,rf.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rd),38===n&&e.addNextState(rh)},rf.id=200,rd.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rd),38===n&&e.addNextState(rh)},rd.id=201,rh.p=function(t,e){38===t.token&&e.addNextState(rp)},rh.id=202,rp.p=function(t,e){t.startCall("IGN").addReturn(e.context,rm),t.startCall("EXPR^4").addReturn(e.context,rg)},rp.id=203,rm.p=function(t,e){t.startCall("IGN").addReturn(e.context,rm),t.startCall("EXPR^4").addReturn(e.context,rg)},rm.id=204,rg.p=function(t,e){t.returnCall("EXPR^3",e)},rg.id=205,ry.p=function(t,e){t.addMark("comp",e.context,rv),t.addMark("asc",e.context,rb),t.addMark("desc",e.context,rw),t.startCall("EXPR^5").addReturn(e.context,rx)},ry.id=206,rv.p=function(t,e){t.startCall("EXPR^5").addReturn(e.context,rC)},rv.id=207,rb.p=function(t,e){t.startCall("EXPR^4").addReturn(e.context,rM)},rb.id=208,rw.p=function(t,e){t.startCall("EXPR^4").addReturn(e.context,rL)},rw.id=209,rx.p=function(t,e){t.returnCall("EXPR^4",e)},rx.id=210,rC.p=function(t,e){t.startCall("IGN").addReturn(e.context,rE),t.addMark("op",e.context,rk)},rC.id=211,rE.p=function(t,e){t.startCall("IGN").addReturn(e.context,rE),t.addMark("op",e.context,rk)},rE.id=212,rk.p=function(t,e){t.startCall("COMP_OP").addReturn(e.context,rS)},rk.id=213,rS.p=function(t,e){t.addMark("end",e.context,rR)},rS.id=214,rR.p=function(t,e){t.startCall("IGN").addReturn(e.context,r_),t.startCall("EXPR^5").addReturn(e.context,rA)},rR.id=215,r_.p=function(t,e){t.startCall("IGN").addReturn(e.context,r_),t.startCall("EXPR^5").addReturn(e.context,rA)},r_.id=216,rA.p=function(t,e){t.returnCall("EXPR^4",e)},rA.id=217,rM.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rj),97===n&&e.addNextState(rO)},rM.id=218,rj.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rj),97===n&&e.addNextState(rO)},rj.id=219,rO.p=function(t,e){115===t.token&&e.addNextState(rT)},rO.id=220,rT.p=function(t,e){99===t.token&&e.addNextState(rP)},rT.id=221,rP.p=function(t,e){t.returnCall("EXPR^4",e)},rP.id=222,rL.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rI),100===n&&e.addNextState(rD)},rL.id=223,rI.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rI),100===n&&e.addNextState(rD)},rI.id=224,rD.p=function(t,e){101===t.token&&e.addNextState(rN)},rD.id=225,rN.p=function(t,e){115===t.token&&e.addNextState(rV)},rN.id=226,rV.p=function(t,e){99===t.token&&e.addNextState(rF)},rV.id=227,rF.p=function(t,e){t.returnCall("EXPR^4",e)},rF.id=228,rB.p=function(t,e){t.addMark("inc_range",e.context,rH),t.addMark("exc_range",e.context,rU),t.startCall("EXPR^6").addReturn(e.context,rZ)},rB.id=229,rH.p=function(t,e){t.startCall("EXPR^6").addReturn(e.context,rW)},rH.id=230,rU.p=function(t,e){t.startCall("EXPR^6").addReturn(e.context,rX)},rU.id=231,rZ.p=function(t,e){t.returnCall("EXPR^5",e)},rZ.id=232,rW.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rz),46===n&&e.addNextState(rG)},rW.id=233,rz.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rz),46===n&&e.addNextState(rG)},rz.id=234,rG.p=function(t,e){46===t.token&&e.addNextState(r$)},rG.id=235,r$.p=function(t,e){t.startCall("IGN").addReturn(e.context,rq),t.startCall("EXPR^6").addReturn(e.context,rY)},r$.id=236,rq.p=function(t,e){t.startCall("IGN").addReturn(e.context,rq),t.startCall("EXPR^6").addReturn(e.context,rY)},rq.id=237,rY.p=function(t,e){t.returnCall("EXPR^5",e)},rY.id=238,rX.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rK),46===n&&e.addNextState(rJ)},rX.id=239,rK.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,rK),46===n&&e.addNextState(rJ)},rK.id=240,rJ.p=function(t,e){46===t.token&&e.addNextState(rQ)},rJ.id=241,rQ.p=function(t,e){46===t.token&&e.addNextState(r1)},rQ.id=242,r1.p=function(t,e){t.startCall("IGN").addReturn(e.context,r0),t.startCall("EXPR^6").addReturn(e.context,r5)},r1.id=243,r0.p=function(t,e){t.startCall("IGN").addReturn(e.context,r0),t.startCall("EXPR^6").addReturn(e.context,r5)},r0.id=244,r5.p=function(t,e){t.returnCall("EXPR^5",e)},r5.id=245,r2.p=function(t,e){t.addMark("add",e.context,r3),t.addMark("sub",e.context,r4),t.startCall("EXPR^7").addReturn(e.context,r6)},r2.id=246,r3.p=function(t,e){t.startCall("EXPR^6").addReturn(e.context,r9)}
6,r3.id=247,r4.p=function(t,e){t.startCall("EXPR^6").addReturn(e.context,ir)},r4.id=248,r6.p=function(t,e){t.returnCall("EXPR^6",e)},r6.id=249,r9.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,r8),43===n&&e.addNextState(r7)},r9.id=250,r8.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,r8),43===n&&e.addNextState(r7)},r8.id=251,r7.p=function(t,e){t.startCall("IGN").addReturn(e.context,it),t.startCall("EXPR^7").addReturn(e.context,ie)},r7.id=252,it.p=function(t,e){t.startCall("IGN").addReturn(e.context,it),t.startCall("EXPR^7").addReturn(e.context,ie)},it.id=253,ie.p=function(t,e){t.returnCall("EXPR^6",e)},ie.id=254,ir.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ii),45===n&&e.addNextState(io)},ir.id=255,ii.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,ii),45===n&&e.addNextState(io)},ii.id=256,io.p=function(t,e){t.startCall("IGN").addReturn(e.context,ia),t.startCall("EXPR^7").addReturn(e.context,is)},io.id=257,ia.p=function(t,e){t.startCall("IGN").addReturn(e.context,ia),t.startCall("EXPR^7").addReturn(e.context,is)},ia.id=258,is.p=function(t,e){t.returnCall("EXPR^6",e)},is.id=259,iu.p=function(t,e){t.addMark("mul",e.context,il),t.addMark("div",e.context,ic),t.addMark("mod",e.context,id),t.startCall("EXPR^9").addReturn(e.context,ih)},iu.id=260,il.p=function(t,e){t.startCall("EXPR^7").addReturn(e.context,ip)},il.id=261,ic.p=function(t,e){t.startCall("EXPR^7").addReturn(e.context,ib)},ic.id=262,id.p=function(t,e){t.startCall("EXPR^7").addReturn(e.context,ik)},id.id=263,ih.p=function(t,e){t.returnCall("EXPR^7",e)},ih.id=264,ip.p=function(t,e){t.startCall("IGN").addReturn(e.context,im),t.startCall("STAR").addReturn(e.context,ig)},ip.id=265,im.p=function(t,e){t.startCall("IGN").addReturn(e.context,im),t.startCall("STAR").addReturn(e.context,ig)},im.id=266,ig.p=function(t,e){t.startCall("IGN").addReturn(e.context,iy),t.startCall("EXPR^9").addReturn(e.context,iv)},ig.id=267,iy.p=function(t,e){t.startCall("IGN").addReturn(e.context,iy),t.startCall("EXPR^9").addReturn(e.context,iv)},iy.id=268,iv.p=function(t,e){t.returnCall("EXPR^7",e)},iv.id=269,ib.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iw),47===n&&e.addNextState(ix)},ib.id=270,iw.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iw),47===n&&e.addNextState(ix)},iw.id=271,ix.p=function(t,e){t.startCall("IGN").addReturn(e.context,iC),t.startCall("EXPR^9").addReturn(e.context,iE)},ix.id=272,iC.p=function(t,e){t.startCall("IGN").addReturn(e.context,iC),t.startCall("EXPR^9").addReturn(e.context,iE)},iC.id=273,iE.p=function(t,e){t.returnCall("EXPR^7",e)},iE.id=274,ik.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iS),37===n&&e.addNextState(iR)},ik.id=275,iS.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iS),37===n&&e.addNextState(iR)},iS.id=276,iR.p=function(t,e){t.startCall("IGN").addReturn(e.context,i_),t.startCall("EXPR^9").addReturn(e.context,iA)},iR.id=277,i_.p=function(t,e){t.startCall("IGN").addReturn(e.context,i_),t.startCall("EXPR^9").addReturn(e.context,iA)},i_.id=278,iA.p=function(t,e){t.returnCall("EXPR^7",e)},iA.id=279,iM.p=function(t,e){t.addMark("pow",e.context,ij),t.startCall("EXPR^11").addReturn(e.context,iO)},iM.id=280,ij.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,iT)},ij.id=281,iO.p=function(t,e){t.returnCall("EXPR^9",e)},iO.id=282,iT.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iP),42===n&&e.addNextState(iL)},iT.id=283,iP.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,iP),42===n&&e.addNextState(iL)},iP.id=284,iL.p=function(t,e){42===t.token&&e.addNextState(iI)},iL.id=285,iI.p=function(t,e){t.startCall("IGN").addReturn(e.context,iD),t.startCall("EXPR^9").addReturn(e.context,iN)},iI.id=286,iD.p=function(t,e){t.startCall("IGN").addReturn(e.context,iD),t.startCall("EXPR^9").addReturn(e.context,iN)},iD.id=287,iN.p=function(t,e){t.returnCall("EXPR^9",e)},iN.id=288,iV.p=function(t,e){var n=t.token;t.startCall("NUMBER").addReturn(e.context,iF),t.startCall("STRING").addReturn(e.context,iB),t.startCall("ARRAY").addReturn(e.context,iH),t.startCall("OBJECT").addReturn(e.context,iU),t.addMark("star",e.context,iZ),t.addMark("this",e.context,iW),t.startCall("PARENT").addReturn(e.context,iz),t.addMark("paren",e.context,iG),36===n&&e.addNextState(i$),t.addMark("ident",e.context,iq),t.startCall("FUNC_CALL").addReturn(e.context,iY),t.addMark("neg",e.context,iX),t.addMark("pos",e.context,iK),t.addMark("not",e.context,iJ),105===n&&e.addNextState(iQ),t.addMark("deref",e.context,i1),t.addMark("attr_cond",e.context,i0),t.addMark("attr_ident",e.context,i5),t.addMark("pipecall",e.context,i2),t.addMark("project",e.context,i3),t.addMark("filter",e.context,i4),t.addMark("arr_expr",e.context,i6)},iV.id=289,iF.p=function(t,e){t.returnCall("EXPR^11",e)},iF.id=290,iB.p=function(t,e){t.returnCall("EXPR^11",e)},iB.id=291,iH.p=function(t,e){t.returnCall("EXPR^11",e)},iH.id=292,iU.p=function(t,e){t.returnCall("EXPR^11",e)},iU.id=293,iZ.p=function(t,e){t.startCall("STAR").addReturn(e.context,i9)},iZ.id=294,iW.p=function(t,e){64===t.token&&e.addNextState(i8)},iW.id=295,iz.p=function(t,e){t.returnCall("EXPR^11",e)},iz.id=296,iG.p=function(t,e){40===t.token&&e.addNextState(i7)},iG.id=297,i$.p=function(t,e){t.addMark("param",e.context,oi)},i$.id=298,iq.p=function(t,e){t.startCall("IDENT").addReturn(e.context,os)},iq.id=299,iY.p=function(t,e){t.returnCall("EXPR^11",e)},iY.id=300,iX.p=function(t,e){45===t.token&&e.addNextState(ol)},iX.id=301,iK.p=function(t,e){43===t.token&&e.addNextState(od)},iK.id=302,iJ.p=function(t,e){33===t.token&&e.addNextState(om)},iJ.id=303,iQ.p=function(t,e){115===t.token&&e.addNextState(ov)},iQ.id=304,i1.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,ox)},i1.id=305,i0.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,oA)},i0.id=306,i5.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,oN)},i5.id=307,i2.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,oZ)},i2.id=308,i3.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,o$)},i3.id=309,i4.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,oK)},i4.id=310,i6.p=function(t,e){t.startCall("EXPR^11").addReturn(e.context,o4)},i6.id=311,i9.p=function(t,e){t.returnCall("EXPR^11",e)},i9.id=312,i8.p=function(t,e){t.returnCall("EXPR^11",e)},i8.id=313,i7.p=function(t,e){t.startCall("IGN").addReturn(e.context,ot),t.startCall("EXPR^1").addReturn(e.context,oe)},i7.id=314,ot.p=function(t,e){t.startCall("IGN").addReturn(e.context,ot),t.startCall("EXPR^1").addReturn(e.context,oe)},ot.id=315,oe.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,on),41===n&&e.addNextState(or)},oe.id=316,on.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,on),41===n&&e.addNextState(or)},on.id=317,or.p=function(t,e){t.returnCall("EXPR^11",e)},or.id=318,oi.p=function(t,e){t.startCall("IDENT").addReturn(e.context,oo)},oi.id=319,oo.p=function(t,e){t.addMark("param_end",e.context,oa)},oo.id=320,oa.p=function(t,e){t.returnCall("EXPR^11",e)},oa.id=321,os.p=function(t,e){t.addMark("ident_end",e.context,ou)},os.id=322,ou.p=function(t,e){t.returnCall("EXPR^11",e)},ou.id=323,ol.p=function(t,e){t.startCall("IGN").addReturn(e.context,oc),t.startCall("EXPR^9").addReturn(e.context,of)},ol.id=324,oc.p=function(t,e){t.startCall("IGN").addReturn(e.context,oc),t.startCall("EXPR^9").addReturn(e.context,of)},oc.id=325,of.p=function(t,e){t.returnCall("EXPR^11",e)},of.id=326,od.p=function(t,e){t.startCall("IGN").addReturn(e.context,oh),t.startCall("EXPR^11").addReturn(e.context,op)},od.id=327,oh.p=function(t,e){t.startCall("IGN").addReturn(e.context,oh),t.startCall("EXPR^11").addReturn(e.context,op)},oh.id=328,op.p=function(t,e){t.returnCall("EXPR^11",e)},op.id=329,om.p=function(t,e){t.startCall("IGN").addReturn(e.context,og),t.startCall("EXPR^11").addReturn(e.context,oy)},om.id=330,og.p=function(t,e){t.startCall("IGN").addReturn(e.context,og),t.startCall("EXPR^11").addReturn(e.context,oy)},og.id=331,oy.p=function(t,e){t.returnCall("EXPR^11",e)},oy.id=332,ov.p=function(t,e){t.startCall("IGN").addReturn(e.context,ob),t.startCall("EXPR^11").addReturn(e.context,ow)},ov.id=333,ob.p=function(t,e){t.startCall("IGN").addReturn(e.context,ob),t.startCall("EXPR^11").addReturn(e.context,ow)},ob.id=334,ow.p=function(t,e){t.returnCall("EXPR^11",e)},ow.id=335,ox.p=function(t,e){45===t.token&&e.addNextState(oC)},ox.id=336,oC.p=function(t,e){62===t.token&&e.addNextState(oE)},oC.id=337,oE.p=function(t,e){t.startCall("IGN").addReturn(e.context,ok),t.addMark("deref_field",e.context,oS),t.returnCall("EXPR^11",e)},oE.id=338,ok.p=function(t,e){t.startCall("IGN").addReturn(e.context,ok),t.addMark("deref_field",e.context,oS)},ok.id=339,oS.p=function(t,e){t.startCall("IDENT").addReturn(e.context,oR)},oS.id=340,oR.p=function(t,e){t.addMark("end",e.context,o_)},oR.id=341,o_.p=function(t,e){t.returnCall("EXPR^11",e)},o_.id=342,oA.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oM),46===n&&e.addNextState(oj)},oA.id=343,oM.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oM),46===n&&e.addNextState(oj)},oM.id=344,oj.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oO),91===n&&e.addNextState(oT)},oj.id=345,oO.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oO),91===n&&e.addNextState(oT)},oO.id=346,oT.p=function(t,e){t.startCall("IGN").addReturn(e.context,oP),t.startCall("EXPR^1").addReturn(e.context,oL)},oT.id=347,oP.p=function(t,e){t.startCall("IGN").addReturn(e.context,oP),t.startCall("EXPR^1").addReturn(e.context,oL)},oP.id=348,oL.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oI),93===n&&e.addNextState(oD)},oL.id=349,oI.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oI),93===n&&e.addNextState(oD)},oI.id=350,oD.p=function(t,e){t.returnCall("EXPR^11",e)},oD.id=351,oN.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oV),46===n&&e.addNextState(oF)},oN.id=352,oV.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oV),46===n&&e.addNextState(oF)},oV.id=353,oF.p=function(t,e){t.addMark("ident",e.context,oB)},oF.id=354,oB.p=function(t,e){t.startCall("IDENT").addReturn(e.context,oH)},oB.id=355,oH.p=function(t,e){t.addMark("ident_end",e.context,oU)},oH.id=356,oU.p=function(t,e){t.returnCall("EXPR^11",e)},oU.id=357,oZ.p=function(t,e){t.startCall("IGN").addReturn(e.context,oW),t.startCall("PIPE").addReturn(e.context,oz)},oZ.id=358,oW.p=function(t,e){t.startCall("IGN").addReturn(e.context,oW),t.startCall("PIPE").addReturn(e.context,oz)},oW.id=359,oz.p=function(t,e){t.startCall("FUNC_CALL").addReturn(e.context,oG)},oz.id=360,oG.p=function(t,e){t.returnCall("EXPR^11",e)},oG.id=361,o$.p=function(t,e){t.startCall("IGN").addReturn(e.context,oq),t.startCall("PIPE").addReturn(e.context,oY),t.startCall("OBJECT").addReturn(e.context,oX)},o$.id=362,oq.p=function(t,e){t.startCall("IGN").addReturn(e.context,oq),t.startCall("PIPE").addReturn(e.context,oY),t.startCall("OBJECT").addReturn(e.context,oX)},oq.id=363,oY.p=function(t,e){t.startCall("OBJECT").addReturn(e.context,oX)},oY.id=364,oX.p=function(t,e){t.returnCall("EXPR^11",e)},oX.id=365,oK.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oJ),t.startCall("PIPE").addReturn(e.context,oQ),91===n&&e.addNextState(o1)},oK.id=366,oJ.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,oJ),t.startCall("PIPE").addReturn(e.context,oQ),91===n&&e.addNextState(o1)},oJ.id=367,oQ.p=function(t,e){91===t.token&&e.addNextState(o1)},oQ.id=368,o1.p=function(t,e){t.startCall("IGN").addReturn(e.context,o0),t.startCall("EXPR^1").addReturn(e.context,o5)},o1.id=369,o0.p=function(t,e){t.startCall("IGN").addReturn(e.context,o0),t.startCall("EXPR^1").addReturn(e.context,o5)},o0.id=370,o5.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,o2),93===n&&e.addNextState(o3)},o5.id=371,o2.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,o2),93===n&&e.addNextState(o3)},o2.id=372,o3.p=function(t,e){t.returnCall("EXPR^11",e)},o3.id=373,o4.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,o6),t.startCall("PIPE").addReturn(e.context,o9),91===n&&e.addNextState(o8)},o4.id=374,o6.p=function(t,e){var n=t.token;t.startCall("IGN").addReturn(e.context,o6),t.startCall("PIPE").addReturn(e.context,o9),91===n&&e.addNextState(o8)},o6.id=375,o9.p=function(t,e){91===t.token&&e.addNextState(o8)},o9.id=376,o8.p=function(t,e){93===t.token&&e.addNextState(o7)},o8.id=377,o7.p=function(t,e){t.returnCall("EXPR^11",e)},o7.id=378;var at=new Q(null,null),ae=new tt(at);ae.addNextState(tr);var an=[ae],ar={};function ai(t){return"Value"===t.type}function ao(t){return ai(t)&&"number"==typeof t.value}ar.main=[to],ar.SPACE=[tl],ar.COMMENT=[tv],ar.COMMENT_END=[tk],ar.IGN=[tR],ar.PIPE=[tM],ar.PARENT=[tT],ar.IDENT_FST=[tF],ar.IDENT_REST=[tZ],ar.IDENT=[tG],ar.STAR=[tY],ar.COMP_OP=[tK],ar.FUNC_CALL=[eo],ar.FUNC_ARGS=[em],ar.NUMBER=[eC],ar.DIGIT=[eB],ar.SIGN=[eU],ar.STRING=[ez],ar.DSTRING_CHAR=[e5],ar.SSTRING_CHAR=[e6],ar.ARRAY=[nt],ar.ARRAY_ELEMENT=[np],ar.OBJECT=[nx],ar.OBJECT_PAIR=[nI],ar["EXPR^1"]=[n1],ar["EXPR^2"]=[n7],ar["EXPR^3"]=[ru],ar["EXPR^4"]=[ry],ar["EXPR^5"]=[rB],ar["EXPR^6"]=[r2],ar["EXPR^7"]=[iu],ar["EXPR^9"]=[iM],ar["EXPR^11"]=[iV
6];var aa={"'":"'",'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};function as(t){return String.fromCharCode(parseInt(t,16))}class au extends Error{}var al={paren:t=>({type:"Parenthesis",base:t.process()}),filter(t){var e=t.process(),n=t.process();return ao(n)?{type:"Element",base:e,index:n}:ai(n)&&"string"==typeof n.value?{type:"Attribute",base:e,name:n.value}:"Range"===n.type?{type:"Slice",base:e,left:n.left,right:n.right,isExclusive:n.isExclusive}:{type:"Filter",base:e,query:n}},project:t=>({type:"Projection",base:t.process(),query:t.process()}),star:()=>({type:"Star"}),this:()=>({type:"This"}),parent:()=>({type:"Parent",n:1}),dblparent:t=>({type:"Parent",n:t.process().n+1}),ident(t){var e=t.processStringEnd();return"null"===e?{type:"Value",value:null}:"true"===e?{type:"Value",value:!0}:"false"===e?{type:"Value",value:!1}:{type:"Identifier",name:e}},attr_ident:t=>({type:"Attribute",base:t.process(),name:t.processString()}),arr_expr:t=>({type:"Mapper",base:t.process()}),inc_range:t=>({type:"Range",left:t.process(),right:t.process(),isExclusive:!1}),exc_range:t=>({type:"Range",left:t.process(),right:t.process(),isExclusive:!0}),neg(t){var e=t.process();return"Value"===e.type&&"number"==typeof e.value?{type:"Value",value:-e.value}:{type:"Neg",base:e}},pos(t){var e=t.process();return ao(e)?{type:"Value",value:+e.value}:{type:"Pos",base:e}},add:t=>({type:"OpCall",op:"+",left:t.process(),right:t.process()}),sub:t=>({type:"OpCall",op:"-",left:t.process(),right:t.process()}),mul:t=>({type:"OpCall",op:"*",left:t.process(),right:t.process()}),div:t=>({type:"OpCall",op:"/",left:t.process(),right:t.process()}),mod:t=>({type:"OpCall",op:"%",left:t.process(),right:t.process()}),pow:t=>({type:"OpCall",op:"**",left:t.process(),right:t.process()}),deref(t){var e=t.process(),n=t.getMark(),r={type:"Deref",base:e};return n&&"deref_field"===n.name?{type:"Attribute",base:r,name:t.processString()}:r},comp(t){var e=t.process();return{type:"OpCall",op:t.processString(),left:e,right:t.process()}},str_begin:t=>({type:"Value",value:t.processStringEnd().replace(/\\(['"/\\bfnrt]|u([A-Fa-f0-9]{4})|u\{([A-Fa-f0-9]+)\})/g,(t,e,n,r)=>n?as(n):r?as(r):aa[e])}),integer:t=>({type:"Value",value:Number(t.processStringEnd())}),float:t=>({type:"Value",value:Number(t.processStringEnd())}),sci:t=>({type:"Value",value:Number(t.processStringEnd())}),pair:t=>({type:"Pair",left:t.process(),right:t.process()}),object(t){for(var e=[];"object_end"!==t.getMark().name;)e.push(t.process());return t.shift(),{type:"Object",attributes:e}},object_expr(t){var e=t.process();return"Pair"===e.type?{type:"ObjectConditionalSplat",condition:e.left,value:e.right}:{type:"ObjectAttribute",key:{type:"Value",value:function t(e){if("Identifier"===e.type)return e.name;if(ac.includes(e.type))return t(e.base);throw new au("Cannot determine property key for type: "+e.type)}(e)},value:e}},object_pair:t=>({type:"ObjectAttribute",key:t.process(),value:t.process()}),object_splat:t=>({type:"ObjectSplat",value:t.process()}),object_splat_this:()=>({type:"ObjectSplat",value:{type:"This"}}),array(t){for(var e=[];"array_end"!==t.getMark().name;){var n=!1;"array_splat"===t.getMark().name&&(n=!0,t.shift());var r=t.process();e.push({type:"ArrayElement",value:r,isSplat:n})}return t.shift(),{type:"Array",elements:e}},func_call(t){for(var e=t.processStringEnd(),n=[];"func_args_end"!==t.getMark().name;)n.push(t.process());t.shift();var r=q[e];if(!r)throw new au("Undefined function: "+e);return af(e,r.arity,n.length),{type:"FuncCall",func:r,name:e,args:n}},pipecall(t){for(var e=t.process(),n=t.processString(),r=[];;){var i=t.getMark().name;if("func_args_end"===i)break;if("order"===n){if("asc"===i){t.shift(),r.push({type:"Asc",base:t.process()});continue}if("desc"===i){t.shift(),r.push({type:"Desc",base:t.process()});continue}}r.push(t.process())}t.shift();var o=Y[n];if(!o)throw new au("Undefined pipe function: "+n);return af(n,o.arity,r.length),{type:"PipeFuncCall",func:o,base:e,name:o.name,args:r}},and:t=>({type:"And",left:t.process(),right:t.process()}),or:t=>({type:"Or",left:t.process(),right:t.process()}),not:t=>({type:"Not",base:t.process()}),asc(t){throw new au("unexpected asc")},desc(t){throw new au("unexpected desc")},param:t=>({type:"Parameter",name:t.processStringEnd()})},ac=["Deref","Projection","Mapper","Filter","Element","Slice"];function af(t,e,n){if("number"==typeof e){if(n!==e)throw new au("Incorrect number of arguments to function "+t+"(). Expected "+e+", got "+n+".")}else if(e&&!e(n))throw new au("Incorrect number of arguments to function "+t+"().")}
6class ad extends Error{constructor(t){super("Syntax error in GROQ query at position "+t),this.name="GroqSyntaxError",this.position=t}}function ah(t){var e=function(t){for(var e=an,n=0;n<t.length;n++){var r=te(t.charCodeAt(n),n,e);if(!r.hasNextFrames())return{type:"error",position:n};e=r.nextFrames}return(r=te(null,n,e)).wasAccepted()?{type:"success",marks:function(t){if(!t)return[];for(var e=[t],n=[];e.length;){var r=e.shift();if("concat"===r.type)e.unshift(r.left,r.right);else if("mark"===r.type)n.push(r);else throw Error("unknown mark type: "+r.type)}return n}(r.acceptedContexts[0].marks)}:{type:"error",position:n}}(t);if("error"===e.type)throw new ad(e.position);return new r(al,t,e.marks).process()}var ap=function(t,e){return am.apply(this,arguments)};function am(){return(am=c(function*(t,e){var n=t.getType();return n===e.getType()&&("number"===n||"string"===n||"boolean"===n||"null"===n)&&(yield t.get())===(yield e.get())})).apply(this,arguments)}function ag(t,e){return ay.apply(this,arguments)}function ay(){return(ay=c(function*(t,e){switch(t.getType()){case"string":return e((yield t.get())),!0;case"array":var n=!0,r=!0,o=!1;try{for(var a,s,u,l=i(t);r=(s=yield l.next()).done,u=yield s.value,!r;r=!0){var c=u;"string"===c.getType()?e((yield c.get())):n=!1}}catch(t){o=!0,a=t}finally{try{r||null==l.return||(yield l.return())}finally{if(o)throw a}}return n;default:return!1}})).apply(this,arguments)}var av={"==":(_=c(function*(t,e,n,r){var i=yield r(t,n),o=yield r(e,n);return(yield ap(i,o))?N:V}),function(t,e,n,r){return _.apply(this,arguments)}),"!=":(A=c(function*(t,e,n,r){var i=yield r(t,n),o=yield r(e,n);return(yield ap(i,o))?V:N}),function(t,e,n,r){return A.apply(this,arguments)}),">":(M=c(function*(t,e,n,r){var i=$((yield(yield r(t,n)).get()),(yield(yield r(e,n)).get()));return null===i?D:i>0?N:V}),function(t,e,n,r){return M.apply(this,arguments)}),">=":(j=c(function*(t,e,n,r){var i=$((yield(yield r(t,n)).get()),(yield(yield r(e,n)).get()));return null===i?D:i>=0?N:V}),function(t,e,n,r){return j.apply(this,arguments)}),"<":(O=c(function*(t,e,n,r){var i=$((yield(yield r(t,n)).get()),(yield(yield r(e,n)).get()));return null===i?D:i<0?N:V}),function(t,e,n,r){return O.apply(this,arguments)}),"<=":(T=c(function*(t,e,n,r){var i=$((yield(yield r(t,n)).get()),(yield(yield r(e,n)).get()));return null===i?D:i<=0?N:V}),function(t,e,n,r){return T.apply(this,arguments)}),in:(P=c(function*(t,e,n,r){var o=yield r(t,n),a=yield r(e,n);switch(a.getType()){case"array":var s=!0,u=!1;try{for(var l,c,f,d=i(a);s=(c=yield d.next()).done,f=yield c.value,!s;s=!0){var h=f;if(yield ap(o,h))return N}}catch(t){u=!0,l=t}finally{try{s||null==d.return||(yield d.return())}finally{if(u)throw l}}return V;case"range":var p=yield o.get(),m=yield a.get(),g=$(p,m.left);if(null===g)break;var y=$(p,m.right);if(null===y)break;if(m.isExclusive())return g>=0&&y<0?N:V;return g>=0&&y<=0?N:V;case"path":if("string"!==o.getType())break;var v=yield o.get();return(yield a.get()).matches(v)?N:V}return D}),function(t,e,n,r){return P.apply(this,arguments)}),match:(L=c(function*(t,e,n,r){var i,o,a=yield r(t,n),s=yield r(e,n),u=[],l=[];return(yield ag(a,t=>{u=u.concat(t.match(/[A-Za-z0-9]+/g))}),(yield ag(s,t=>{var e;l=l.concat((e=(t.match(/[A-Za-z0-9*]+/g)||[]).map(t=>RegExp("^"+t.replace(/\*/g,".*")+"$","i")),t=>e.every(e=>t.some(t=>e.test(t)))))}))&&(i=u,o=l,0!==i.length&&0!==o.length&&o.every(t=>t(i))))?N:V}),function(t,e,n,r){return L.apply(this,arguments)}),"+":(I=c(function*(t,e,n,r){var i=yield r(t,n),o=yield r(e,n),a=i.getType(),s=o.getType();return"number"===a&&"number"===s||"string"===a&&"string"===s?new m((yield i.get())+(yield o.get())):"array"===a&&"array"===s?new m((yield i.get()).concat((yield o.get()))):"object"===a&&"object"===s?new m(f({},(yield i.get()),(yield o.get()))):D}),function(t,e,n,r){return I.apply(this,arguments)}),"-":ab((t,e)=>t-e),"*":ab((t,e)=>t*e),"/":ab((t,e)=>t/e),"%":ab((t,e)=>t%e),"**":ab((t,e)=>Math.pow(t,e))};function ab(t){var e;return e=c(function*(e,n,r,i){var o=yield i(e,r),a=yield i(n,r),s=o.getType(),u=a.getType();return"number"===s&&"number"===u?W(t((yield o.get()),(yield a.get()))):D}),function(t,n,r,i){return e.apply(this,arguments)}}function aw(t,e){return t instanceof B?new B(new F(s(function*(){var n=!0,r=!1;try{for(var o,a,s,l=i(t);n=(a=yield u(l.next())).done,s=yield u(a.value),!n;n=!0){var c=s;yield e(c)}}catch(t){r=!0,o=t}finally{try{n||null==l.return||(yield u(l.return()))}finally{if(r)throw o}}}))):e(t)}class ax{constructor(t,e,n,r){this.params=t,this.source=e,this.value=n,this.parent=r,this.timestamp=r?r.timestamp:new Date().toISOString()}createNested(t){return new ax(this.params,this.source,t,this)}}function aC(t,e){if(void 0===aE[t.type])throw Error("No executor for node.type="+t.type);return(0,aE[t.type])(t,e)}var aE={This:(t,e)=>e.value,Star:(t,e)=>e.source,Parameter(t,e){var n=t.name;return z(e.params[n])},Parent(t,e){for(var n=e,r=0;r<t.n;r++){if(!n.parent)return D;
6n=n.parent}return n.value},OpCall(t,e){var n=t.op,r=t.left,i=t.right,o=av[n];if(!o)throw Error("Unknown operator: "+n);return o(r,i,e,aC)},FuncCall:(t,e)=>(0,t.func)(t.args,e,aC),PipeFuncCall:(t,e)=>c(function*(){var n=t.func,r=t.base,i=t.args;return n((yield aC(r,e)),i,e,aC)})(),Filter:(t,e)=>c(function*(){var n,r=t.base,o=t.query;return aw((yield aC(r,e)),(n=c(function*(t){return"array"!==t.getType()?D:new F(s(function*(){var n=!0,r=!1;try{for(var a,s,l,c=i(t);n=(s=yield u(c.next())).done,l=yield u(s.value),!n;n=!0){var f=l,d=e.createNested(f);(yield u(aC(o,d))).getBoolean()&&(yield f)}}catch(t){r=!0,a=t}finally{try{n||null==c.return||(yield u(c.return()))}finally{if(r)throw a}}}))}),function(t){return n.apply(this,arguments)}))})(),Element:(t,e)=>c(function*(){var n,r=t.base,i=t.index;return aw((yield aC(r,e)),(n=c(function*(t){if("array"!==t.getType())return D;var n=yield aC(i,e);if("number"!==n.getType())return D;var r=yield t.get(),o=yield n.get();return(o<0&&(o=r.length+o),o>=0&&o<r.length)?new m(r[o]):D}),function(t){return n.apply(this,arguments)}))})(),Slice:(t,e)=>c(function*(){var n,r=t.base,i=t.left,o=t.right,a=t.isExclusive;return aw((yield aC(r,e)),(n=c(function*(t){if("array"!==t.getType())return D;var n=yield aC(i,e),r=yield aC(o,e);if("number"!==n.getType()||"number"!==r.getType())return D;var s=yield t.get(),u=yield n.get(),l=yield r.get();return u<0&&(u=s.length+u),l<0&&(l=s.length+l),!a&&l++,u<0&&(u=0),l<0&&(l=0),new m(s.slice(u,l))}),function(t){return n.apply(this,arguments)}))})(),Attribute:(t,e)=>c(function*(){var n,r=t.base,i=t.name;return aw((yield aC(r,e)),(n=c(function*(t){if("object"===t.getType()){var e=yield t.get();if(e.hasOwnProperty(i))return new m(e[i])}return D}),function(t){return n.apply(this,arguments)}))})(),Identifier:(t,e)=>c(function*(){var n=t.name;if("object"===e.value.getType()){var r=yield e.value.get();if(r.hasOwnProperty(n))return new m(r[n])}return D})(),Value(t){var e=t.value;return new m(e)},Mapper:(t,e)=>c(function*(){var n=t.base,r=yield aC(n,e);return"array"!==r.getType()?r:new B(r instanceof B?new F(s(function*(){var t=!0,e=!1;try{for(var n,o,a,s=i(r);t=(o=yield u(s.next())).done,a=yield u(o.value),!t;t=!0){var l=a;if("array"===l.getType()){var c=!0,f=!1;try{for(var d,h,p,m=i(l);c=(h=yield u(m.next())).done,p=yield u(h.value),!c;c=!0){var g=p;yield g}}catch(t){f=!0,d=t}finally{try{c||null==m.return||(yield u(m.return()))}finally{if(f)throw d}}}else yield D}}catch(t){e=!0,n=t}finally{try{t||null==s.return||(yield u(s.return()))}finally{if(e)throw n}}})):r)})(),Parenthesis:(t,e)=>c(function*(){var n=t.base,r=yield aC(n,e);return r instanceof B&&(r=r.value),r})(),Projection:(t,e)=>c(function*(){var n=t.base,r=t.query,o=yield aC(n,e);if("null"===o.getType())return D;if("array"===o.getType())return new F(s(function*(){var t=!0,n=!1;try{for(var a,s,l,c=i(o);t=(s=yield u(c.next())).done,l=yield u(s.value),!t;t=!0){var f=l,d=e.createNested(f),h=yield u(aC(r,d));yield h}}catch(t){n=!0,a=t}finally{try{t||null==c.return||(yield u(c.return()))}finally{if(n)throw a}}}));var a=e.createNested(o);return yield aC(r,a)})(),Deref:(t,e)=>c(function*(){var n,r=t.base;return aw((yield aC(r,e)),(n=c(function*(t){if("array"!==e.source.getType()||"object"!==t.getType())return D;var n=(yield t.get())._ref;if("string"!=typeof n)return D;var r=!0,o=!1;try{for(var a,s,u,l=i(e.source);r=(s=yield l.next()).done,u=yield s.value,!r;r=!0){var c=u;if(n===c.data._id)return c}}catch(t){o=!0,a=t}finally{try{r||null==l.return||(yield l.return())}finally{if(o)throw a}}return D}),function(t){return n.apply(this,arguments)}))})(),Object:(t,e)=>c(function*(){for(var n,r=t.attributes,i={},o=h(r);!(n=o()).done;){var a=n.value,s=a.type;switch(a.type){case"ObjectAttribute":var u=yield aC(a.key,e);if("string"!==u.getType())continue;var l=yield aC(a.value,e);if("null"===l.getType()){delete i[u.data];break}i[u.data]=yield l.get();break;case"ObjectConditionalSplat":if(!(yield aC(a.condition,e)).getBoolean())continue;var c=yield aC(a.value,e);if("object"!==c.getType())continue;Object.assign(i,c.data);break;case"ObjectSplat":var f=yield aC(a.value,e);f.getType("object")&&Object.assign(i,f.data);break;default:throw Error("Unknown node type: "+s)}}return new m(i)})(),Array(t,e){var n=t.elements;return new F(s(function*(){for(var t,r=h(n);!(t=r()).done;){var o=t.value,a=yield u(aC(o.value,e));if(o.isSplat){if("array"===a.getType()){var s=!0,l=!1;try{for(var c,f,d,p=i(a);s=(f=yield u(p.next())).done,d=yield u(f.value),!s;s=!0){var m=d;yield m}}catch(t){l=!0,c=t}finally{try{s||null==p.return||(yield u(p.return()))}finally{if(l)throw c}}}}else yield a}}))},Range:(t,e)=>c(function*(){var n=t.left,r=t.right,i=t.isExclusive,o=yield aC(n,e),a=yield aC(r,e);if(!H.isConstructible(o.getType(),a.getType()))return D;var s=new H((yield o.get()),(yield a.get()),i);return new m(s)})(),Pair:(t,e)=>c(function*(){var n=t.left,r=t.right,i=yield aC(n,e),o=yield aC(r,e),a=new U((yield i.get()),(yield o.get()));return new m(a)})(),Or:(t,e)=>c(function*(){var n=t.left,r=t.right,i=yield aC(n,e),o=yield aC(r,e);return"boolean"===i.getType()&&!0===i.data||"boolean"===o.getType()&&!0===o.data?N:"boolean"!==i.getType()||"boolean"!==o.getType()?D:V})(),And:(t,e)=>c(function*(){var n=t.left,r=t.right,i=yield aC(n,e),o=yield aC(r,e);return"boolean"===i.getType()&&!1===i.data||"boolean"===o.getType()&&!1===o.data?V:"boolean"!==i.getType()||"boolean"!==o.getType()?D:N})(),Not:(t,e)=>c(function*(){var n=t.base,r=yield aC(n,e);return"boolean"!==r.getType()?D:r.getBoolean()?V:N})(),Neg:(t,e)=>c(function*(){var n=t.base,r=yield aC(n,e);return"number"!==r.getType()?D:W(-(yield r.get()))})(),Pos:(t,e)=>c(function*(){var n=t.base,r=yield aC(n,e);return"number"!==r.getType()?D:W((yield r.get()))})(),Asc:()=>c(function*(){return D})(),Desc:()=>c(function*(){return D})()};function ak(t,e){return aS.apply(this,arguments)}function aS(){return(aS=c(function*(t,e){void 0===e&&(e={});var n=z(e.root),r=z(e.dataset),i=f({},e.params),o=new ax(i,r,n,null);return yield aC(t,o)})).apply(this,arguments)}},78892:function(t){"use strict";
6t.exports=function(t,n){for(var r,i,o,a=t||"",s=n||"div",u={},l=0;l<a.length;)e.lastIndex=l,o=e.exec(a),(r=a.slice(l,o?o.index:a.length))&&(i?"#"===i?u.id=r:u.className?u.className.push(r):u.className=[r]:s=r,l+=r.length),o&&(i=o[0],l++);return{type:"element",tagName:s,properties:u,children:[]}};var e=/[#.]/g},62502:function(t,e,n){"use strict";var r=n(99560),i=n(66632),o=n(78892),a=n(36582).Q,s=n(56851).Q;t.exports=function(t,e,n){var i=n?function(t){for(var e,n=t.length,r=-1,i={};++r<n;)i[(e=t[r]).toLowerCase()]=e;return i}(n):null;return function(n,c){var f,d,h,p,m=o(n,e),g=Array.prototype.slice.call(arguments,2),y=m.tagName.toLowerCase();if(m.tagName=i&&u.call(i,y)?i[y]:y,c&&("string"==typeof(f=c)||"length"in f||(d=m.tagName,h=f.type,"input"!==d&&h&&"string"==typeof h&&("object"==typeof f.children&&"length"in f.children||((h=h.toLowerCase(),"button"===d)?"menu"!==h&&"submit"!==h&&"reset"!==h&&"button"!==h:"value"in f))))&&(g.unshift(c),c=null),c)for(p in c)!function(e,n,i){var o,u,c;null!=i&&i==i&&(u=(o=r(t,n)).property,"string"==typeof(c=i)&&(o.spaceSeparated?c=a(c):o.commaSeparated?c=s(c):o.commaOrSpaceSeparated&&(c=a(s(c).join(" ")))),"style"===u&&"string"!=typeof i&&(c=function(t){var e,n=[];for(e in t)n.push([e,t[e]].join(": "));return n.join("; ")}(c)),"className"===u&&e.className&&(c=e.className.concat(c)),e[u]=function(t,e,n){var r,i,o;if("object"!=typeof n||!("length"in n))return l(t,e,n);for(i=n.length,r=-1,o=[];++r<i;)o[r]=l(t,e,n[r]);return o}(o,u,c))}(m.properties,p,c[p]);return function t(e,n){var r,i;if("string"==typeof n||"number"==typeof n){e.push({type:"text",value:String(n)});return}if("object"==typeof n&&"length"in n){for(r=-1,i=n.length;++r<i;)t(e,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");e.push(n)}(m.children,g),"template"===m.tagName&&(m.content={type:"root",children:m.children},m.children=[]),m}};var u={}.hasOwnProperty;function l(t,e,n){var r=n;return t.number||t.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(t.boolean||t.overloadedBoolean)&&"string"==typeof r&&(""===r||i(n)===i(e))&&(r=!0),r}},52579:function(t,e,n){"use strict";var r=n(97247),i=n(62502)(r,"div");i.displayName="html",t.exports=i},31742:function(t,e,n){"use strict";t.exports=n(52579)},20170:function(t,e,n){"use strict";n.d(e,{lX:function(){return m},PP:function(){return y}});var r=n(87462);function i(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,i=t.length;r<i;n+=1,r+=1)t[n]=t[r];t.pop()}var a=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],a=e&&e.split("/")||[],s=t&&i(t),u=e&&i(e),l=s||u;if(t&&i(t)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var c=a[a.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=a.length;d>=0;d--){var h=a[d];"."===h?o(a,d):".."===h?(o(a,d),f++):f&&(o(a,d),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(t){var e=t.pathname,n=t.search,r=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function u(t,e,n,i){var o,s,u,l,c,f;"string"==typeof t?(u="",l="",-1!==(c=(s=t||"/").indexOf("#"))&&(l=s.substr(c),s=s.substr(0,c)),-1!==(f=s.indexOf("?"))&&(u=s.substr(f),s=s.substr(0,f)),(o={pathname:s,search:"?"===u?"":u,hash:"#"===l?"":l}).state=e):(void 0===(o=(0,r.Z)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){if(t instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw t}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function l(){var t=null,e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,i){if(null!=t){var o="function"==typeof t?t(e,n):t;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter(function(t){return t!==r})}},notifyListeners:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach(function(t){return t.apply(void 0,n)})}}}var c=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function f(t,e){e(window.confirm(t))}var d="popstate",h="hashchange";function p(){try{return window.history.state||{}}catch(t){return{}}}function m(t){void 0===t&&(t={}),c||function(t,e){if(!t)throw Error("Invariant failed")}(!1);var e,n,i,o=window.history,a=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,m=-1!==window.navigator.userAgent.indexOf("Trident"),g=t,y=g.forceRefresh,v=void 0!==y&&y,b=g.getUserConfirmation,w=void 0===b?f:b,x=g.keyLength,C=void 0===x?6:x,E=t.basename?"/"===(i="/"===(n=t.basename).charAt(0)?n:"/"+n).charAt(i.length-1)?i.slice(0,-1):i:"";function k(t){var e,n=t||{},r=n.key,i=n.state,o=window.location,a=o.pathname+o.search+o.hash;return E&&(a=0===(e=a).toLowerCase().indexOf(E.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(E.length))?e.substr(E.length):e),u(a,i,r)}function S(){return Math.random().toString(36).substr(2,C)}var R=l();function _(t){(0,r.Z)(F,t),F.length=o.length,R.notifyListeners(F.location,F.action)}function A(t){void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")||O(k(t.state))}function M(){O(k(p()))}var j=!1;function O(t){j?(j=!1,_()):R.confirmTransitionTo(t,"POP",w,function(e){var n,r,i,o;e?_({action:"POP",location:t}):(n=F.location,-1===(r=P.indexOf(n.key))&&(r=0),-1===(i=P.indexOf(t.key))&&(i=0),(o=r-i)&&(j=!0,I(o)))})}var T=k(p()),P=[T.key];function L(t){return E+s(t)}function I(t){o.go(t)}var D=0;function N(t){1===(D+=t)&&1===t?(window.addEventListener(d,A),m&&window.addEventListener(h,M)):0===D&&(window.removeEventListener(d,A),m&&window.removeEventListener(h,M))}var V=!1,F={length:o.length,action:"POP",location:T,createHref:L,push:function(t,e){var n="PUSH",r=u(t,e,S(),F.location);R.confirmTransitionTo(r,n,w,function(t){if(t){var e=L(r),i=r.key,s=r.state;if(a){if(o.pushState({key:i,state:s},null,e),v)window.location.href=e;else{var u=P.indexOf(F.location.key),l=P.slice(0,u+1);l.push(r.key),P=l,_({action:n,location:r})}}else window.location.href=e}})},replace:function(t,e){var n="REPLACE",r=u(t,e,S(),F.location);R.confirmTransitionTo(r,n,w,function(t){if(t){var e=L(r),i=r.key,s=r.state;if(a){if(o.replaceState({key:i,state:s},null,e),v)window.location.replace(e);else{var u=P.indexOf(F.location.key);-1!==u&&(P[u]=r.key),_({action:n,location:r})}}else window.location.replace(e)}})},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(t){void 0===t&&(t=!1);var e=R.setPrompt(t);return V||(N(1),V=!0),function(){return V&&(V=!1,N(-1)),e()}},listen:function(t){var e=R.appendListener(t);return N(1),function(){N(-1),e()}}};return F}function g(t,e,n){return Math.min(Math.max(t,e),n)}function y(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,i=e.initialEntries,o=void 0===i?["/"]:i,a=e.initialIndex,c=e.keyLength,f=void 0===c?6:c,d=l();function h(t){(0,r.Z)(b,t),b.length=b.entries.length,d.notifyListeners(b.location,b.action)}function p(){return Math.random().toString(36).substr(2,f)}var m=g(void 0===a?0:a,0,o.length-1),y=o.map(function(t){return"string"==typeof t?u(t,void 0,p()):u(t,void 0,t.key||p())});function v(t){var e=g(b.index+t,0,b.entries.length-1),r=b.entries[e];d.confirmTransitionTo(r,"POP",n,function(t){t?h({action:"POP",location:r,index:e}):h()})}var b={length:y.length,action:"POP",location:y[m],index:m,entries:y,createHref:s,push:function(t,e){var r="PUSH",i=u(t,e,p(),b.location);d.confirmTransitionTo(i,r,n,function(t){if(t){var e=b.index+1,n=b.entries.slice(0);n.length>e?n.splice(e,n.length-e,i):n.push(i),h({action:r,location:i,index:e,entries:n})}})},replace:function(t,e){var r="REPLACE",i=u(t,e,p(),b.location);d.confirmTransitionTo(i,r,n,function(t){t&&(b.entries[b.index]=i,h({action:r,location:i}))})},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(t){var e=b.index+t;return e>=0&&e<b.entries.length},block:function(t){return void 0===t&&(t=!1),d.setPrompt(t)},listen:function(t){return d.appendListener(t)}};return b}},60308:function(t){"use strict";
6t.exports=function(t,e){if(!Array.isArray(t))throw TypeError("humanize-list expected an array");(e=e||{}).conjunction=e.conjunction||"and";var n=t.length;if(1===n)return t[0];if(e.skipConjunction)return t.join(", ");for(var r="",i=0;i<n;i++)i===n-1?(e.oxfordComma&&(r+=","),r+=" "+e.conjunction+" "):0!==i&&(r+=", "),r+=t[i];return r}},80645:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=d/u:e+=d*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;t[n+h]=255&a,h+=p,a/=256,l-=8);t[n+h-p]|=128*m}},46260:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}},7961:function(t,e,n){"use strict";var r=n(46260),i=n(46195);t.exports=function(t){return r(t)||i(t)}},46195:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=48&&e<=57}},79480:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}},18156:function(t,e){"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)o["f"+a]=111+a;function s(t,e,n){!e||"byKey"in e||(n=e,e=null),Array.isArray(t)||(t=[t]);var i=t.map(function(t){return function(t,e){var n=e&&e.byKey,i={},a=(t=t.replace("++","+add")).split("+"),s=a.length;for(var l in r)i[r[l]]=!1;var c=!0,f=!1,d=void 0;try{for(var h,p=a[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var m,g=h.value,y=g.endsWith("?")&&g.length>1;y&&(g=g.slice(0,-1));var v=u(g),b=r[v];1!==s&&b||(n?i.key=v:i.which=(m=g,o[m=u(m)]||m.toUpperCase().charCodeAt(0))),b&&(i[b]=!y||null)}}catch(t){f=!0,d=t}finally{try{!c&&p.return&&p.return()}finally{if(f)throw d}}return i}(t,e)}),a=function(t){return i.some(function(e){return function(t,e){for(var n in t){var r=t[n],i=void 0;if(null!=r&&(null!=(i="key"===n&&null!=e.key?e.key.toLowerCase():"which"===n?91===r&&93===e.which?91:e.which:e[n])||!1!==r)&&i!==r)return!1}return!0}(e,t)})};return null==n?a:a(n)}function u(t){return t=i[t=t.toLowerCase()]||t}e.ZP=s,e.TB=function(t,e){return s(t,{byKey:!0},e)}},28092:function(t,e){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e}e.u4=function(t,e,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;return function t(e,o,a,u){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,c=Array.isArray(a)?"array":null===a?"null":r(a);return"object"===c?function(e,r,o,a){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,l=n(s(e,r,o,a),2),c=l[0],f=l[1];return c?f:Object.keys(o).reduce(function(e,n){return t(e,r,o[n],a.concat(u(o[n],n,o)),u)},f)}(e,o,a,u,l):"array"===c?function(e,r,o,a){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,l=n(s(e,r,o,a),2),c=l[0],f=l[1];return c?f:o.reduce(function(e,n,i){return t(e,r,n,a.concat(u(n,i,o)),u)},f)}(e,o,a,u,l):n(s(e,o,a,u),2)[1]}(o,e,t,[],a)};var o={_:"SKIP_MARKER"};function a(t){return[o,t]}function s(t,e,n,r){var i=e(t,n,r);return i===a?[!0,t]:Array.isArray(i)&&i[0]===o?[!0,i[1]]:[!1,i]}},12937:function(t){"use strict";let e=[],n=[],r=(t,r)=>{let i,o,a,s;if(t===r)return 0;let u=t;t.length>r.length&&(t=r,r=u);let l=t.length,c=r.length;for(;l>0&&t.charCodeAt(~-l)===r.charCodeAt(~-c);)l--,c--;let f=0;for(;f<l&&t.charCodeAt(f)===r.charCodeAt(f);)f++;if(l-=f,c-=f,0===l)return c;let d=0,h=0;for(;d<l;)n[d]=t.charCodeAt(f+d),e[d]=++d;for(;h<c;)for(d=0,i=r.charCodeAt(f+h),a=h++,o=h;d<l;d++)s=i===n[d]?a:a+1,a=e[d],o=e[d]=a>o?s>o?o+1:s:s>a?a+1:s;return o};t.exports=r,t.exports.default=r},18552:function(t,e,n){var r=n(10852)(n(55639),"DataView");t.exports=r},8437:function(t,e,n){var r=n(3118),i=n(9435);function o(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}o.prototype=r(i.prototype),o.prototype.constructor=o,t.exports=o},7548:function(t,e,n){var r=n(3118),i=n(9435);function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}o.prototype=r(i.prototype),o.prototype.constructor=o,t.exports=o},53818:function(t,e,n){var r=n(10852)(n(55639),"Promise");t.exports=r},58525:function(t,e,n){var r=n(10852)(n(55639),"Set");t.exports=r},88668:function(t,e,n){var r=n(83369),i=n(90619),o=n(72385);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},70577:function(t,e,n){var r=n(10852)(n(55639),"WeakMap");t.exports=r},44174:function(t){t.exports=function(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}},77412:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},34963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},47443:function(t,e,n){var r=n(42118);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},1196:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},29932:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},62488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},62663:function(t){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},94311:function(t,e,n){var r=n(69877);t.exports=function(t){var e=t.length;return e?t[r(0,e-1)]:void 0}},82908:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},44286:function(t){t.exports=function(t){return t.split("")}},49029:function(t){var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},81119:function(t,e,n){var r=n(89881);t.exports=function(t,e,n,i){return r(t,function(t,r,o){e(i,t,n(t),o)}),i}},44037:function(t,e,n){var r=n(98363),i=n(3674);t.exports=function(t,e){return t&&r(e,i(e),t)}},63886:function(t,e,n){var r=n(98363),i=n(81704);t.exports=function(t,e){return t&&r(e,i(e),t)}},85990:function(t,e,n){var r=n(46384),i=n(77412),o=n(34865),a=n(44037),s=n(63886),u=n(64626),l=n(278),c=n(18805),f=n(1911),d=n(58234),h=n(46904),p=n(64160),m=n(43824),g=n(29148),y=n(38517),v=n(1469),b=n(44144),w=n(56688),x=n(13218),C=n(72928),E=n(3674),k=n(81704),S="[object Arguments]",R="[object Function]",_="[object Object]",A={};A[S]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array
6]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[_]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[R]=A["[object WeakMap]"]=!1,t.exports=function t(e,n,M,j,O,T){var P,L=1&n,I=2&n;if(M&&(P=O?M(e,j,O,T):M(e)),void 0!==P)return P;if(!x(e))return e;var D=v(e);if(D){if(P=m(e),!L)return l(e,P)}else{var N=p(e),V=N==R||"[object GeneratorFunction]"==N;if(b(e))return u(e,L);if(N==_||N==S||V&&!O){if(P=I||V?{}:y(e),!L)return I?f(e,s(P,e)):c(e,a(P,e))}else{if(!A[N])return O?e:{};P=g(e,N,L)}}T||(T=new r);var F=T.get(e);if(F)return F;T.set(e,P),C(e)?e.forEach(function(r){P.add(t(r,n,M,r,e,T))}):w(e)&&e.forEach(function(r,i){P.set(i,t(r,n,M,i,e,T))});var B=D?void 0:(4&n?I?h:d:I?k:E)(e);return i(B||e,function(r,i){B&&(r=e[i=r]),o(P,i,t(r,n,M,i,e,T))}),P}},20731:function(t,e,n){var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),u=n(74757);t.exports=function(t,e,n,l){var c=-1,f=i,d=!0,h=t.length,p=[],m=e.length;if(!h)return p;n&&(e=a(e,s(n))),l?(f=o,d=!1):e.length>=200&&(f=u,d=!1,e=new r(e));t:for(;++c<h;){var g=t[c],y=null==n?g:n(g);if(g=l||0!==g?g:0,d&&y==y){for(var v=m;v--;)if(e[v]===y)continue t;p.push(g)}else f(e,y,l)||p.push(g)}return p}},89881:function(t,e,n){var r=n(47816),i=n(99291)(r);t.exports=i},56029:function(t,e,n){var r=n(33448);t.exports=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===u?s==s&&!r(s):n(s,u)))var u=s,l=a}return l}},41848:function(t){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},21078:function(t,e,n){var r=n(62488),i=n(37285);t.exports=function t(e,n,o,a,s){var u=-1,l=e.length;for(o||(o=i),s||(s=[]);++u<l;){var c=e[u];n>0&&o(c)?n>1?t(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},47816:function(t,e,n){var r=n(28483),i=n(3674);t.exports=function(t,e){return t&&r(t,e,i)}},97786:function(t,e,n){var r=n(71811),i=n(40327);t.exports=function(t,e){e=r(e,t);for(var n=0,o=e.length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},68866:function(t,e,n){var r=n(62488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},53325:function(t){t.exports=function(t,e){return t>e}},13:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},42118:function(t,e,n){var r=n(41848),i=n(62722),o=n(42351);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},47556:function(t,e,n){var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),u=n(74757),l=Math.min;t.exports=function(t,e,n){for(var c=n?o:i,f=t[0].length,d=t.length,h=d,p=Array(d),m=1/0,g=[];h--;){var y=t[h];h&&e&&(y=a(y,s(e))),m=l(y.length,m),p[h]=!n&&(e||f>=120&&y.length>=120)?new r(h&&y):void 0}y=t[0];var v=-1,b=p[0];t:for(;++v<f&&g.length<m;){var w=y[v],x=e?e(w):w;if(w=n||0!==w?w:0,!(b?u(b,x):c(g,x,n))){for(h=d;--h;){var C=p[h];if(!(C?u(C,x):c(t[h],x,n)))continue t}b&&b.push(x),g.push(w)}}return g}},90939:function(t,e,n){var r=n(2492),i=n(37005);t.exports=function t(e,n,o,a,s){return e===n||(null!=e&&null!=n&&(i(e)||i(n))?r(e,n,o,a,t,s):e!=e&&n!=n)}},2492:function(t,e,n){var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),u=n(1469),l=n(44144),c=n(36719),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,m,g,y){var v=u(t),b=u(e),w=v?d:s(t),x=b?d:s(e);w=w==f?h:w,x=x==f?h:x;var C=w==h,E=x==h,k=w==x;if(k&&l(t)){if(!l(e))return!1;v=!0,C=!1}if(k&&!C)return y||(y=new r),v||c(t)?i(t,e,n,m,g,y):o(t,e,w,n,m,g,y);if(!(1&n)){var S=C&&p.call(t,"__wrapped__"),R=E&&p.call(e,"__wrapped__");
6if(S||R){var _=S?t.value():t,A=R?e.value():e;return y||(y=new r),g(_,A,n,m,y)}}return!!k&&(y||(y=new r),a(t,e,n,m,g,y))}},25588:function(t,e,n){var r=n(64160),i=n(37005);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},2958:function(t,e,n){var r=n(46384),i=n(90939);t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=n[a])[0],f=t[c],d=l[1];if(u&&l[2]){if(void 0===f&&!(c in t))return!1}else{var h=new r;if(o)var p=o(f,d,c,t,e,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},62722:function(t){t.exports=function(t){return t!=t}},29221:function(t,e,n){var r=n(64160),i=n(37005);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},67206:function(t,e,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},280:function(t,e,n){var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},9435:function(t){t.exports=function(){}},70433:function(t){t.exports=function(t,e){return t<e}},69199:function(t,e,n){var r=n(89881),i=n(98612);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},91573:function(t,e,n){var r=n(2958),i=n(1499),o=n(42634);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},16432:function(t,e,n){var r=n(90939),i=n(27361),o=n(79095),a=n(15403),s=n(89162),u=n(42634),l=n(40327);t.exports=function(t,e){return a(t)&&s(e)?u(l(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},82689:function(t,e,n){var r=n(29932),i=n(97786),o=n(67206),a=n(69199),s=n(71131),u=n(7518),l=n(85022),c=n(6557),f=n(1469);t.exports=function(t,e,n){e=e.length?r(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[c];var d=-1;return e=r(e,u(o)),s(a(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++d,value:t}}),function(t,e){return l(t,e,n)})}},25970:function(t,e,n){var r=n(63012),i=n(79095);t.exports=function(t,e){return r(t,e,function(e,n){return i(t,n)})}},63012:function(t,e,n){var r=n(97786),i=n(10611),o=n(71811);t.exports=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var l=e[a],c=r(t,l);n(c,l)&&i(u,o(l,t),c)}return u}},40371:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},79152:function(t,e,n){var r=n(97786);t.exports=function(t){return function(e){return r(e,t)}}},18674:function(t){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},69877:function(t){var e=Math.floor,n=Math.random;t.exports=function(t,r){return t+e(n()*(r-t+1))}},40098:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,i,o){for(var a=-1,s=n(e((r-t)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=t,t+=i;return u}},84992:function(t,e,n){var r=n(94311),i=n(52628);t.exports=function(t){return r(i(t))}},10611:function(t,e,n){var r=n(34865),i=n(71811),o=n(65776),a=n(13218),s=n(40327);t.exports=function(t,e,n,u){if(!a(t))return t;e=i(e,t);for(var l=-1,c=e.length,f=c-1,d=t;null!=d&&++l<c;){var h=s(e[l]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(l!=f){var m=d[h];void 0===(p=u?u(m,h,d):void 0)&&(p=a(m)?m:o(e[l+1])?[]:{})}r(d,h,p),d=d[h]}return t}},14259:function(t){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},71131:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},80531:function(t,e,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}},27561:function(t,e,n){var r=n(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},45652:function(t,e,n){var r=n(88668),i=n(47443),o=n(1196),a=n(74757),s=n(23593),u=n(21814);t.exports=function(t,e,n){var l=-1,c=i,f=t.length,d=!0,h=[],p=h;if(n)d=!1,c=o;else if(f>=200){var m=e?null:s(t);if(m)return u(m);d=!1,c=a,p=new r}else p=e?[]:h;t:for(;++l<f;){var g=t[l],y=e?e(g):g;if(g=n||0!==g?g:0,d&&y==y){for(var v=p.length;v--;)if(p[v]===y)continue t;e&&p.push(y),h.push(g)}
6else c(p,y,n)||(p!==h&&p.push(y),h.push(g))}return h}},57406:function(t,e,n){var r=n(71811),i=n(10928),o=n(40292),a=n(40327);t.exports=function(t,e){return e=r(e,t),null==(t=o(t,e))||delete t[a(i(e))]}},47415:function(t,e,n){var r=n(29932);t.exports=function(t,e){return r(e,function(e){return t[e]})}},36128:function(t,e,n){var r=n(20731),i=n(21078),o=n(45652);t.exports=function(t,e,n){var a=t.length;if(a<2)return a?o(t[0]):[];for(var s=-1,u=Array(a);++s<a;)for(var l=t[s],c=-1;++c<a;)c!=s&&(u[s]=r(u[s]||l,t[c],e,n));return o(i(u,1),e,n)}},74757:function(t){t.exports=function(t,e){return t.has(e)}},24387:function(t,e,n){var r=n(29246);t.exports=function(t){return r(t)?t:[]}},71811:function(t,e,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},40180:function(t,e,n){var r=n(14259);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},5512:function(t,e,n){var r=n(42118);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},89817:function(t,e,n){var r=n(42118);t.exports=function(t,e){for(var n=-1,i=t.length;++n<i&&r(e,t[n],0)>-1;);return n}},57157:function(t,e,n){var r=n(74318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},93147:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},40419:function(t,e,n){var r=n(62705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},26393:function(t,e,n){var r=n(33448);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,u=null===e,l=e==e,c=r(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!c&&t<e||c&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!l)return -1}return 0}},85022:function(t,e,n){var r=n(26393);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,u=n.length;++i<s;){var l=r(o[i],a[i]);if(l){if(i>=u)return l;return l*("desc"==n[i]?-1:1)}}return t.index-e.index}},18805:function(t,e,n){var r=n(98363),i=n(99551);t.exports=function(t,e){return r(t,i(t),e)}},1911:function(t,e,n){var r=n(98363),i=n(51442);t.exports=function(t,e){return r(t,i(t),e)}},55189:function(t,e,n){var r=n(44174),i=n(81119),o=n(67206),a=n(1469);t.exports=function(t,e){return function(n,s){var u=a(n)?r:i,l=e?e():{};return u(n,t,o(s,2),l)}}},99291:function(t,e,n){var r=n(98612);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},98805:function(t,e,n){var r=n(40180),i=n(62689),o=n(83140),a=n(79833);t.exports=function(t){return function(e){var n=i(e=a(e))?o(e):void 0,s=n?n[0]:e.charAt(0),u=n?r(n,1).join(""):e.slice(1);return s[t]()+u}}},35393:function(t,e,n){var r=n(62663),i=n(53816),o=n(58748),a=RegExp("['â]","g");t.exports=function(t){return function(e){return r(o(i(e).replace(a,"")),t,"")}}},67740:function(t,e,n){var r=n(67206),i=n(98612),o=n(3674);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var u=r(n,3);e=o(e),n=function(t){return u(s[t],t,s)}}var l=t(e,n,a);return l>-1?s[u?e[l]:l]:void 0}}},23468:function(t,e,n){var r=n(7548),i=n(99021),o=n(66833),a=n(97658),s=n(1469),u=n(86528);t.exports=function(t){return i(function(e){var n=e.length,i=n,l=r.prototype.thru;for(t&&e.reverse();i--;){var c=e[i];if("function"!=typeof c)throw TypeError("Expected a function");if(l&&!f&&"wrapper"==a(c))var f=new r([],!0)}for(i=f?i:n;++i<n;){var d=a(c=e[i]),h="wrapper"==d?o(c):void 0;f=h&&u(h[0])&&424==h[1]&&!h[4].length&&1==h[9]?f[a(h[0])].apply(f,h[3]):1==c.length&&u(c)?f[d]():f.thru(c)}return function(){var t=arguments,r=t[0];if(f&&1==t.length&&s(r))return f.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}},47445:function(t,e,n){var r=n(40098),i=n(16612),o=n(18601);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},23593:function(t,e,n){var r=n(58525),i=n(50308),o=n(21814),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},60696:function(t,e,n){var r=n(68630);t.exports=function(t){return r(t)?void 0:t}},69389:function(t,e,n){var r=n(18674)({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"});t.exports=r},67114:function(t,e,n){var r=n(88668),i=n(82908),o=n(74757);t.exports=function(t,e,n,a,s,u){var l=1&n,c=t.length,f=e.length;if(c!=f&&!(l&&f>c))return!1;var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var p=-1,m=!0,g=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p<c;){var y=t[p],v=e[p];if(a)var b=l?a(v,y,p,e,t,u):a(y,v,p,t,e,u);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!i(e,function(t,e){if(!o(g,e)&&(y===t||s(y,t,n,a,u)))return g.push(e)})){m=!1;break}}else if(!(y===v||s(y,v,n,a,u))){m=!1;break}}return u.delete(t),u.delete(e),m}},18351:function(t,e,n){var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),u=n(21814),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;t.exports=function(t,e,n,r,l,f,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new i(t),new i(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=u),t.size!=e.size&&!p)break;var m=d.get(t);if(m)return m==e;r|=2,d.set(t,e);var g=a(h(t),h(e),r,l,f,d);return d.delete(t),g;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},16096:function(t,e,n){var r=n(58234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var u=1&n,l=r(t),c=l.length;if(c!=r(e).length&&!u)return!1;for(var f=c;f--;){var d=l[f];
6if(!(u?d in e:i.call(e,d)))return!1}var h=s.get(t),p=s.get(e);if(h&&p)return h==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var g=u;++f<c;){var y=t[d=l[f]],v=e[d];if(o)var b=u?o(v,y,d,e,t,s):o(y,v,d,t,e,s);if(!(void 0===b?y===v||a(y,v,n,o,s):b)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var w=t.constructor,x=e.constructor;w!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(m=!1)}return s.delete(t),s.delete(e),m}},99021:function(t,e,n){var r=n(85564),i=n(45357),o=n(30061);t.exports=function(t){return o(i(t,void 0,r),t+"")}},58234:function(t,e,n){var r=n(68866),i=n(99551),o=n(3674);t.exports=function(t){return r(t,o,i)}},46904:function(t,e,n){var r=n(68866),i=n(51442),o=n(81704);t.exports=function(t){return r(t,o,i)}},66833:function(t,e,n){var r=n(89250),i=n(50308);t.exports=r?function(t){return r.get(t)}:i},97658:function(t,e,n){var r=n(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",n=r[e],o=i.call(r,e)?n.length:0;o--;){var a=n[o],s=a.func;if(null==s||s==t)return a.name}return e}},1499:function(t,e,n){var r=n(89162),i=n(3674);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},99551:function(t,e,n){var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:r(a(t=Object(t)),function(e){return o.call(t,e)})}:i;t.exports=s},51442:function(t,e,n){var r=n(62488),i=n(85924),o=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=s},64160:function(t,e,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),u=n(44239),l=n(80346),c="[object Map]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",m=l(r),g=l(i),y=l(o),v=l(a),b=l(s),w=u;
6(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=c||o&&w(o.resolve())!=f||a&&w(new a)!=d||s&&w(new s)!=h)&&(w=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return p;case g:return c;case y:return f;case v:return d;case b:return h}return e}),t.exports=w},222:function(t,e,n){var r=n(71811),i=n(35694),o=n(1469),a=n(65776),s=n(41780),u=n(40327);t.exports=function(t,e,n){e=r(e,t);for(var l=-1,c=e.length,f=!1;++l<c;){var d=u(e[l]);if(!(f=null!=t&&n(t,d)))break;t=t[d]}return f||++l!=c?f:!!(c=null==t?0:t.length)&&s(c)&&a(d,c)&&(o(t)||i(t))}},62689:function(t){var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},93157:function(t){var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},43824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},29148:function(t,e,n){var r=n(74318),i=n(57157),o=n(93147),a=n(40419),s=n(77133);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Symbol]":return a(t)}}},37285:function(t,e,n){var r=n(62705),i=n(35694),o=n(1469),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},15403:function(t,e,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},86528:function(t,e,n){var r=n(8437),i=n(66833),o=n(97658),a=n(8111);t.exports=function(t){var e=o(t),n=a[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var s=i(n);return!!s&&t===s[0]}},89162:function(t,e,n){var r=n(13218);t.exports=function(t){return t==t&&!r(t)}},68776:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},42634:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},24523:function(t,e,n){var r=n(88306);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},89250:function(t,e,n){var r=n(70577),i=r&&new r;t.exports=i},86916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},40292:function(t,e,n){var r=n(97786),i=n(14259);t.exports=function(t,e){return e.length<2?t:r(t,i(e,0,-1))}},52060:function(t){t.exports={}},90619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},72385:function(t){t.exports=function(t){return this.__data__.has(t)}},21814:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},42351:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return -1}},83140:function(t,e,n){var r=n(44286),i=n(62689),o=n(676);t.exports=function(t){return i(t)?o(t):r(t)}},55514:function(t,e,n){var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},40327:function(t,e,n){var r=n(33448),i=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},676:function(t){var e="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",u="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*",c=RegExp(r+"(?="+r+")|(?:"+[i+n+"?",n,o,a,"["+e+"]"].join("|")+")"+(u+s+l),"g");t.exports=function(t){return t.match(c)||[]}},2757:function(t){var e="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['â]",s="["+o+"]",u="["+r+"]",l="[^"+e+o+"\\d+"+n+r+i+"]",c="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",d="["+i+"]",h="(?:"+u+"|"+l+")",p="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",y="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+e+"]",c,f].join("|")+")"+y+g+")*",b="(?:"+["["+n+"]",c,f].join("|")+")"+(y+g+v),w=RegExp([d+"?"+u+"+"+p+"(?="+[s,d,"$"].join("|")+")","(?:"+d+"|"+l+")+"+m+"(?="+[s,d+h,"$"].join("|")+")",d+"?"+h+"+"+p,d+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");t.exports=function(t){return t.match(w)||[]}},21913:function(t,e,n){var r=n(8437),i=n(7548),o=n(278);t.exports=function(t){if(t instanceof r)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=o(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},63706:function(t,e,n){var r=n(98363),i=n(21463),o=n(3674),a=i(function(t,e,n,i){r(e,o(e),t,i)});t.exports=a},48403:function(t,e,n){var r=n(79833),i=n(11700);t.exports=function(t){return i(r(t).toLowerCase())}},84596:function(t,e,n){var r=n(1469);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},66678:function(t,e,n){var r=n(85990);t.exports=function(t){return r(t,4)}},50361:function(t,e,n){var r=n(85990);t.exports=function(t){return r(t,5)}},39693:function(t){t.exports=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}},23279:function(t,e,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;t.exports=function(t,e,n){var u,l,c,f,d,h,p=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw TypeError("Expected a function");function v(e){var n=u,r=l;return u=l=void 0,p=e,f=t.apply(r,n)}function b(t){var n=t-h,r=t-p;return void 0===h||n>=e||n<0||g&&r>=c}function w(){var t,n,r,o=i();if(b(o))return x(o);d=setTimeout(w,(t=o-h,n=o-p,r=e-t,g?s(r,c-n):r))}function x(t){return(d=void 0,y&&u)?v(t):(u=l=void 0,f)}function C(){var t,n=i(),r=b(n);if(u=arguments,l=this,h=n,r){if(void 0===d)return p=t=h,d=setTimeout(w,e),m?v(t):f;if(g)return clearTimeout(d),d=setTimeout(w,e),v(h)}return void 0===d&&(d=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?a(o(n.maxWait)||0,e):c,y="trailing"in n?!!n.trailing:y),C.c
6ancel=function(){void 0!==d&&clearTimeout(d),p=0,u=h=l=d=void 0},C.flush=function(){return void 0===d?f:x(i())},C}},53816:function(t,e,n){var r=n(69389),i=n(79833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,r).replace(a,"")}},91966:function(t,e,n){var r=n(20731),i=n(21078),o=n(5976),a=n(29246),s=o(function(t,e){return a(t)?r(t,i(e,1,a,!0)):[]});t.exports=s},3522:function(t,e,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);t.exports=function(t){return(t=r(t))&&o.test(t)?t.replace(i,"\\$&"):t}},13311:function(t,e,n){var r=n(67740)(n(30998));t.exports=r},30998:function(t,e,n){var r=n(41848),i=n(67206),o=n(40554),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return -1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(t,i(e,3),u)}},94654:function(t,e,n){var r=n(21078),i=n(35161);t.exports=function(t,e){return r(i(t,e),1)}},85564:function(t,e,n){var r=n(21078);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},59242:function(t,e,n){var r=n(23468)();t.exports=r},27361:function(t,e,n){var r=n(97786);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},7739:function(t,e,n){var r=n(89465),i=n(55189),o=Object.prototype.hasOwnProperty,a=i(function(t,e,n){o.call(t,n)?t[n].push(e):r(t,n,[e])});t.exports=a},79095:function(t,e,n){var r=n(13),i=n(222);t.exports=function(t,e){return null!=t&&i(t,e,r)}},25325:function(t,e,n){var r=n(29932),i=n(47556),o=n(5976),a=n(24387),s=o(function(t){var e=r(t,a);return e.length&&e[0]===t[0]?i(e):[]});t.exports=s},41609:function(t,e,n){var r=n(280),i=n(64160),o=n(35694),a=n(1469),s=n(98612),u=n(44144),l=n(25726),c=n(36719),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||c(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(f.call(t,n))return!1;return!0}},18446:function(t,e,n){var r=n(90939);t.exports=function(t,e){return r(t,e)}},56688:function(t,e,n){var r=n(25588),i=n(7518),o=n(31167),a=o&&o.isMap,s=a?i(a):r;t.exports=s},72928:function(t,e,n){var r=n(29221),i=n(7518),o=n(31167),a=o&&o.isSet,s=a?i(a):r;t.exports=s},47037:function(t,e,n){var r=n(44239),i=n(1469),o=n(37005);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},33448:function(t,e,n){var r=n(44239),i=n(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},52353:function(t){t.exports=function(t){return void 0===t}},24350:function(t,e,n){var r=n(89465),i=n(55189)(function(t,e,n){r(t,n,e)});t.exports=i},3674:function(t,e,n){var r=n(14636),i=n(280),o=n(98612);t.exports=function(t){return o(t)?r(t):i(t)}},10928:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},35161:function(t,e,n){var r=n(29932),i=n(67206),o=n(69199),a=n(1469);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},6162:function(t,e,n){var r=n(56029),i=n(53325),o=n(6557);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},88306:function(t,e,n){var r=n(83369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},53632:function(t,e,n){var r=n(56029),i=n(70433),o=n(6557);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},94885:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},50308:function(t){t.exports=function(){}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},57557:function(t,e,n){var r=n(29932),i=n(85990),o=n(57406),a=n(71811),s=n(98363),u=n(60696),l=n(99021),c=n(46904),f=l(function(t,e){var n={};if(null==t)return n;var l=!1;e=r(e,function(e){return e=a(e,t),l||(l=e.length>1),e}),s(t,c(t),n),l&&(n=i(n,7,u));for(var f=e.length;f--;)o(n,e[f]);return n});t.exports=f},14176:function(t,e,n){var r=n(67206),i=n(94885),o=n(35937);t.exports=function(t,e){return o(t,i(r(e)))}},75472:function(t,e,n){var r=n(82689),i=n(1469);t.exports=function(t,e,n,o){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},43174:function(t,e,n){var r=n(55189)(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});t.exports=r},78718:function(t,e,n){var r=n(25970),i=n(99021)(function(t,e){return null==t?{}:r(t,e)});t.exports=i},35937:function(t,e,n){var r=n(29932),i=n(67206),o=n(63012),a=n(46904);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),function(t){return[t]});return e=i(e),o(t,n,function(t,n){return e(t,n[0])})}},39601:function(t,e,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);t.exports=function(t){return o(t)?r(a(t)):i(t)}},96026:function(t,e,n){var r=n(47445)();t.exports=r},95534:function(t,e,n){var r=n(94311),i=n(84992),o=n(1469);t.exports=function(t){return(o(t)?r:i)(t)}},89734:function(t,e,n){var r=n(21078),i=n(82689),o=n(5976),a=n(16612),s=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=s},18029:function(t,e,n){var r=n(35393),i=n(11700),o=r(function(t,e,n){return t+(n?" ":"")+i(e)});t.exports=o},70479:function(t){t.exports=function(){return[]}},23493:function(t,e,n){var r=n(23279),i=n(13218);t.exports=function(t,e,n){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:o,maxWait:e,trailing:a})}},18601:function(t,e,n){var r=n(14841),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},40554:function(t,e,n){var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},7334:function(t,e,n){var r=n(79833);t.exports=function(t){return r(t).toLowerCase()}},14841:function(t,e,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;
6if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=u.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?a:+t}},30084:function(t,e,n){var r=n(29932),i=n(278),o=n(1469),a=n(33448),s=n(55514),u=n(40327),l=n(79833);t.exports=function(t){return o(t)?r(t,u):a(t)?[t]:i(s(l(t)))}},79833:function(t,e,n){var r=n(80531);t.exports=function(t){return null==t?"":r(t)}},92742:function(t,e,n){var r=n(80531),i=n(27561),o=n(40180),a=n(5512),s=n(89817),u=n(83140),l=n(79833);t.exports=function(t,e,n){if((t=l(t))&&(n||void 0===e))return i(t);if(!t||!(e=r(e)))return t;var c=u(t),f=u(e),d=s(c,f),h=a(c,f)+1;return o(c,d,h).join("")}},93386:function(t,e,n){var r=n(21078),i=n(5976),o=n(45652),a=n(29246),s=i(function(t){return o(r(t,1,a,!0))});t.exports=s},44908:function(t,e,n){var r=n(45652);t.exports=function(t){return t&&t.length?r(t):[]}},45578:function(t,e,n){var r=n(67206),i=n(45652);t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}},73955:function(t,e,n){var r=n(79833),i=0;t.exports=function(t){var e=++i;return r(t)+e}},11700:function(t,e,n){var r=n(98805)("toUpperCase");t.exports=r},52628:function(t,e,n){var r=n(47415),i=n(3674);t.exports=function(t){return null==t?[]:r(t,i(t))}},58748:function(t,e,n){var r=n(49029),i=n(93157),o=n(79833),a=n(2757);t.exports=function(t,e,n){return(t=o(t),void 0===(e=n?void 0:e))?i(t)?a(t):r(t):t.match(e)||[]}},8111:function(t,e,n){var r=n(8437),i=n(7548),o=n(9435),a=n(1469),s=n(37005),u=n(21913),l=Object.prototype.hasOwnProperty;function c(t){if(s(t)&&!a(t)&&!(t instanceof r)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return u(t)}return new i(t)}c.prototype=o.prototype,c.prototype.constructor=c,t.exports=c},76566:function(t,e,n){var r=n(34963),i=n(5976),o=n(36128),a=n(29246),s=i(function(t){return o(r(t,a))});t.exports=s},57824:function(t){function e(t,e,n,r){return Math.round(t/n)+" "+r+(e>=1.5*n?"s":"")}t.exports=function(t,n){n=n||{};var r,i,o=typeof t;if("string"===o&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===o&&isFinite(t))return n.long?(r=Math.abs(t))>=864e5?e(t,r,864e5,"day"):r>=36e5?e(t,r,36e5,"hour"):r>=6e4?e(t,r,6e4,"minute"):r>=1e3?e(t,r,1e3,"second"):t+" ms":(i=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":i>=36e5?Math.round(t/36e5)+"h":i>=6e4?Math.round(t/6e4)+"m":i>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},70631:function(t,e,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,E=Array.prototype.concat,k=Array.prototype.join,S=Array.prototype.slice,R=Math.floor,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,O="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j?"object":"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function L(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||C.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-R(-t):R(t);if(r!==t){var i=String(r),o=v.call(e,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var I=n(24654),D=I.custom,N=H(D)?D:null;function V(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function F(t){return"[object Array]"===W(t)&&(!O||!("object"==typeof t&&O in t))}function B(t){return"[object RegExp]"===W(t)&&(!O||!("object"==typeof t&&O in t))}function H(t){if(j)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;
6if(!t||"object"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(Z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(Z(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Z(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(s,"indent")&&null!==s.indent&&" "!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength;return t(v.call(e,0,n.maxStringLength),n)+"... "+r+" more character"+(r>1?"s":"")}return V(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",n)}(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return m?L(e,w):w}if("bigint"==typeof e){var C=String(e)+"n";return m?L(e,C):C}var R=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=R&&R>0&&"object"==typeof e)return F(e)?"[Array]":"[Object]";var A=function(t,e){var n;if(" "===t.indent)n=" ";else{if("number"!=typeof t.indent||!(t.indent>0))return null;n=k.call(Array(t.indent+1)," ")}return{base:n,prev:k.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(z(i,e)>=0)return"[Circular]";function D(e,n,o){if(n&&(i=S.call(i)).push(n),o){var a={depth:s.depth};return Z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!B(e)){var U=function(t){if(t.name)return t.name;var e=y.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),J=K(e,D);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(J.length>0?" { "+k.call(J,", ")+" }":"")}if(H(e)){var Q=j?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(e);return"object"!=typeof e||j?Q:$(Q)}if(e&&"object"==typeof e&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)){for(var tt,te="<"+x.call(String(e.nodeName)),tn=e.attributes||[],tr=0;tr<tn.length;tr++)te+=" "+tn[tr].name+"="+V((tt=tn[tr].value,b.call(String(tt),/"/g,""")),"double",s);return te+=">",e.childNodes&&e.childNodes.length&&(te+="..."),te+="</"+x.call(String(e.nodeName))+">"}if(F(e)){if(0===e.length)return"[]";var ti=K(e,D);return A&&!function(t){for(var e=0;e<t.length;e++)if(z(t[e],"\n")>=0)return!1;return!0}(ti)?"["+X(ti,A)+"]":"[ "+k.call(ti,", ")+" ]"}if("[object Error]"===W(e)&&(!O||!("object"==typeof e&&O in e))){var to=K(e,D);return"cause"in Error.prototype||!("cause"in e)||T.call(e,"cause")?0===to.length?"["+String(e)+"]":"{ ["+String(e)+"] "+k.call(to,", ")+" }":"{ ["+String(e)+"] "+k.call(E.call("[cause]: "+D(e.cause),to),", ")+" }"}if("object"==typeof e&&u){if(N&&"function"==typeof e[N]&&I)return I(e,{depth:R-r});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ta=[];return a&&a.call(e,function(t,n){ta.push(D(n,e,!0)+" => "+D(t,e))}),Y("Map",o.call(e),ta,A)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ts=[];return c&&c.call(e,function(t){ts.push(D(t,e))}),Y("Set",l.call(e),ts,A)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return q("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return q("WeakSet");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{return h.call(t),!0}catch(t){}return!1}(e))return q("WeakRef");if("[object Number]"===W(e)&&(!O||!("object"==typeof e&&O in e)))return $(D(Number(e)));if(function(t){if(!t||"object"!=typeof t||!_)return!1;try{return _.call(t),!0}catch(t){}return!1}(e))return $(D(_.call(e)));if("[object Boolean]"===W(e)&&(!O||!("object"==typeof e&&O in e)))return $(p.call(e));if("[object String]"===W(e)&&(!O||!("object"==typeof e&&O in e)))return $(D(String(e)));if(!("[object Date]"===W(e)&&(!O||!("object"==typeof e&&O in e)))&&!B(e)){var tu=K(e,D),tl=P?P(e)===Object.prototype:e instanceof Object||e.constructor===Object,tc=e instanceof Object?"":"null prototype",tf=!tl&&O&&Object(e)===e&&O in e?v.call(W(e),8,-1):tc?"Object":"",td=(tl||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tf||tc?"["+k.call(E.call([],tf||[],tc||[]),": ")+"] ":"");return 0===tu.length?td+"{}":A?td+"{"+X(tu,A)+"}":td+"{ "+k.call(tu,", ")+" }"}return String(e)};var U=Object.prototype.hasOwnProperty||function(t){return t in this};function Z(t,e){return U.call(t,e)}function W(t){return m.call(t)}function z(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return -1}function G(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function $(t){return"Object("+t+")"}function q(t){return t+" { ? }"}function Y(t,e,n,r){return t+" ("+e+") {"+(r?X(n,r):k.call(n,", "))+"}"}function X(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+k.call(t,","+n)+"\n"+e.prev}function K(t,e){var n,r=F(t),i=[];if(r){i.length=t.length;for(var o=0;o<t.length;o++)i[o]=Z(t,o)?e(t[o],t):""}var a="function"==typeof A?A(t):[];if(j){n={};for(var s=0;s<a.length;s++)n["$"+a[s]]=a[s]}for(var u in t)Z(t,u)&&(!r||String(Number(u))!==u||!(u<t.length))&&(j&&n["$"+u]instanceof Symbol||(C.call(/[^\w$]/,u)?
6i.push(e(u,t)+": "+e(t[u],t)):i.push(u+": "+e(t[u],t))));if("function"==typeof A)for(var l=0;l<a.length;l++)T.call(t,a[l])&&i.push("["+e(a[l])+"]: "+e(t[a[l]],t));return i}},21827:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r=n(82649),i=function(t){return t};function o(t){void 0===t&&(t=i);var e=new r.x;return[e.pipe(t),function(t){return e.next(t)}]}},89435:function(t){"use strict";var e;t.exports=function(t){var n,r="&"+t+";";return(e=e||document.createElement("i")).innerHTML=r,(59!==(n=e.textContent).charCodeAt(n.length-1)||"semi"===t)&&n!==r&&n}},57574:function(t,e,n){"use strict";var r=n(37452),i=n(93580),o=n(46195),a=n(79480),s=n(7961),u=n(89435);t.exports=function(t,e){var n,o,a={};for(o in e||(e={}),d)n=e[o],a[o]=null==n?d[o]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(t,e){var n,o,a,d,b,w,x,C,E,k,S,R,_,A,M,j,O,T,P,L,I,D=e.additional,N=e.nonTerminated,V=e.text,F=e.reference,B=e.warning,H=e.textContext,U=e.referenceContext,Z=e.warningContext,W=e.position,z=e.indent||[],G=t.length,$=0,q=-1,Y=W.column||1,X=W.line||1,K="",J=[];for("string"==typeof D&&(D=D.charCodeAt(0)),T=Q(),k=B?function(t,e){var n=Q();n.column+=e,n.offset+=e,B.call(Z,v[t],n,t)}:f,$--,G++;++$<G;)if(10===x&&(Y=z[q]||1),38===(x=t.charCodeAt($))){if(9===(E=t.charCodeAt($+1))||10===E||12===E||32===E||38===E||60===E||E!=E||D&&E===D){K+=c(x),Y++;continue}for(A=M=$+1,I=M,35===E?(I=++A,88===(E=t.charCodeAt(I))||120===E?(j=p,I=++A):j=m):j=h,a="",_="",w="",O=y[j],I--;++I<G&&O(E=t.charCodeAt(I));)w+=c(E),j===h&&l.call(r,w)&&(a=w,_=r[w]);(b=59===t.charCodeAt(I))&&(I++,(d=j===h&&u(w))&&(a=w,_=d)),L=1+I-M,(b||N)&&(w?j===h?(b&&!_?k(5,1):(a!==w&&(L=1+(I=A+a.length)-A,b=!1),b||(S=a?1:3,e.attribute?61===(E=t.charCodeAt(I))?(k(S,L),_=null):s(E)?_=null:k(S,L):k(S,L))),C=_):(b||k(2,L),(n=C=parseInt(w,g[j]))>=55296&&n<=57343||n>1114111?(k(7,L),C=c(65533)):C in i?(k(6,L),C=i[C]):(R="",((o=C)>=1&&o<=8||11===o||o>=13&&o<=31||o>=127&&o<=159||o>=64976&&o<=65007||(65535&o)==65535||(65535&o)==65534)&&k(6,L),C>65535&&(C-=65536,R+=c(C>>>10|55296),C=56320|1023&C),C=R+c(C))):j!==h&&k(4,L)),C?(tt(),T=Q(),$=I-1,Y+=I-M+1,J.push(C),P=Q(),P.offset++,F&&F.call(U,C,{start:T,end:P},t.slice(M-1,I)),T=P):(K+=w=t.slice(M-1,I),Y+=w.length,$=I-1)}else 10===x&&(X++,q++,Y=0),x==x?(K+=c(x),Y++):tt();return J.join("");function Q(){return{line:X,column:Y,offset:$+(W.offset||0)}}function tt(){K&&(J.push(K),V&&V.call(H,K,{start:T,end:Q()}),K="")}}(t,a)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h="named",p="hexadecimal",m="decimal",g={};g[p]=16,g[m]=10;var y={};y[h]=s,y[m]=o,y[p]=a;var v={};v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},75:function(t,e,n){var r=n(34155);(function(){var e,n,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=r&&r.hrtime?(t.exports=function(){return(e()-o)/1e6},n=r.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})()-1e9*r.uptime()):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(this)},28325:function(t,e,n){/** 7 * Prism: Lightweight, robust, elegant syntax highlighting 8 * 9 * @license MIT <https://opensource.org/licenses/MIT> 10 * @author Lea Verou <https://lea.verou.me> 11 * @namespace 12 * @public 13 */var r=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof o?new o(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,o;switch(n=n||{},i.util.type(e)){case"Object":if(n[o=i.util.objId(e)])return n[o];for(var a in r={},n[o]=r,e)e.hasOwnProperty(a)&&(r[a]=t(e[a],n));return r;case"Array":if(n[o=i.util.objId(e)])return n[o];return r=[],n[o]=r,e.forEach(function(e,i){r[i]=t(e,n)}),r;default:return e}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var i=t.classList;if(i.contains(e))return!0;
13if(i.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var o=(r=r||i.languages)[t],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==e)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=o[s])}var l=r[t];return r[t]=a,i.languages.DFS(i.languages,function(e,n){n===l&&e!=t&&(this[e]=a)}),a},DFS:function t(e,n,r,o){o=o||{};var a=i.util.objId;for(var s in e)if(e.hasOwnProperty(s)){n.call(e,s,e[s],r||s);var u=e[s],l=i.util.type(u);"Object"!==l||o[a(u)]?"Array"!==l||o[a(u)]||(o[a(u)]=!0,t(u,n,s,o)):(o[a(u)]=!0,t(u,n,null,o))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===e,r.callback)},highlightElement:function(e,n,r){var o=i.util.getLanguage(e),a=i.languages[o];i.util.setLanguage(e,o);var s=e.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var u=e.textContent,l={element:e,language:o,grammar:a,code:u};function c(t){l.highlightedCode=t,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code){i.hooks.run("complete",l),r&&r.call(l.element);return}if(i.hooks.run("before-highlight",l),!l.grammar){c(i.util.encode(l.code));return}if(n&&t.Worker){var f=new Worker(i.filename);f.onmessage=function(t){c(t.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var l=new s;return u(l,l.head,t),function t(e,n,r,s,l,c){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var d=r[f];d=Array.isArray(d)?d:[d];for(var h=0;h<d.length;++h){if(c&&c.cause==f+","+h)return;var p=d[h],m=p.inside,g=!!p.lookbehind,y=!!p.greedy,v=p.alias;if(y&&!p.pattern.global){var b=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,b+"g")}for(var w=p.pattern||p,x=s.next,C=l;x!==n.tail&&(!c||!(C>=c.reach));C+=x.value.length,x=x.next){var E,k=x.value;if(n.length>e.length)return;if(!(k instanceof o)){var S=1;if(y){if(!(E=a(w,C,e,g))||E.index>=e.length)break;var R=E.index,_=E.index+E[0].length,A=C;for(A+=x.value.length;R>=A;)A+=(x=x.next).value.length;if(A-=x.value.length,C=A,x.value instanceof o)continue;for(var M=x;M!==n.tail&&(A<_||"string"==typeof M.value);M=M.next)S++,A+=M.value.length;S--,k=e.slice(C,A),E.index-=C}else if(!(E=a(w,0,k,g)))continue;var R=E.index,j=E[0],O=k.slice(0,R),T=k.slice(R+j.length),P=C+k.length;c&&P>c.reach&&(c.reach=P);var L=x.prev;O&&(L=u(n,L,O),C+=O.length),function(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}(n,L,S);var I=new o(f,m?i.tokenize(j,m):j,v,j);if(x=u(n,L,I),T&&u(n,x,T),S>1){var D={cause:f+","+h,reach:P};t(e,n,r,x.prev,C,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(t,l,e,l.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(l)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(n&&n.length)for(var r,o=0;r=n[o++];)r(e)}},Token:o};function o(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function a(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function u(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}if(t.Prism=i,o.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach(function(e){r+=t(e,n)}),r}var o={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},a=e.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var u in o.attributes)s+=" "+u+'="'+(o.attributes[u]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!t.document)return t.addEventListener&&(i.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,o=n.code,a=n.immediateClose;t.postMessage(i.highlight(o,i.languages[r],r)),a&&t.close()},!1)),i;var l=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(l&&(i.filename=l.src,l.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=r),void 0!==n.g&&(n.g.Prism=r)},99560:function(t,e,n){"use strict";var r=n(66632),i=n(81674),o=n(57643),a="data";t.exports=function(t,e){var n,d,h,p=r(e),m=e,g=o;
13return p in t.normal?t.property[t.normal[p]]:(p.length>4&&p.slice(0,4)===a&&s.test(e)&&("-"===e.charAt(4)?m=a+(n=e.slice(5).replace(u,f)).charAt(0).toUpperCase()+n.slice(1):(h=(d=e).slice(4),e=u.test(h)?d:("-"!==(h=h.replace(l,c)).charAt(0)&&(h="-"+h),a+h)),g=i),new g(m,e))};var s=/^data[-\w.:]+$/i,u=/-[a-z]/g,l=/[A-Z]/g;function c(t){return"-"+t.toLowerCase()}function f(t){return t.charAt(1).toUpperCase()}},97247:function(t,e,n){"use strict";var r=n(19940),i=n(8289),o=n(5812),a=n(94397),s=n(67716),u=n(61805);t.exports=r([o,i,a,s,u])},67716:function(t,e,n){"use strict";var r=n(17e3),i=n(17596),o=r.booleanish,a=r.number,s=r.spaceSeparated;t.exports=i({transform:function(t,e){return"role"===e?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:o,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:s,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},61805:function(t,e,n){"use strict";var r=n(17e3),i=n(17596),o=n(10855),a=r.boolean,s=r.overloadedBoolean,u=r.booleanish,l=r.number,c=r.spaceSeparated,f=r.commaSeparated;t.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:l,colSpan:null,content:null,contentEditable:u,controls:a,controlsList:c,coords:l|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:l,hidden:a,high:l,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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,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:a,optimum:l,pattern:null,ping:c,placeholder:null,playsInl
13ine:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:l,rowSpan:l,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:u,width:l,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:l,security:null,unselectable:null}})},10855:function(t,e,n){"use strict";var r=n(28740);t.exports=function(t,e){return r(t,e.toLowerCase())}},28740:function(t){"use strict";t.exports=function(t,e){return e in t?t[e]:e}},17596:function(t,e,n){"use strict";var r=n(66632),i=n(99607),o=n(81674);t.exports=function(t){var e,n,a=t.space,s=t.mustUseProperty||[],u=t.attributes||{},l=t.properties,c=t.transform,f={},d={};for(e in l)n=new o(e,c(u,e),l[e],a),-1!==s.indexOf(e)&&(n.mustUseProperty=!0),f[e]=n,d[r(e)]=e,d[r(n.attribute)]=e;return new i(f,d,a)}},81674:function(t,e,n){"use strict";var r=n(57643),i=n(17e3);t.exports=s,s.prototype=new r,s.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function s(t,e,n,s){var u,l,c,f,d,h=-1;for(u=this,s&&(u.space=s),r.call(this,t,e);++h<a;)l=this,c=d=o[h],(f=(n&i[d])===i[d])&&(l[c]=f)}},57643:function(t){"use strict";t.exports=n;var e=n.prototype;function n(t,e){this.property=t,this.attribute=e}e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1},19940:function(t,e,n){"use strict";var r=n(47529),i=n(99607);t.exports=function(t){for(var e,n,o=t.length,a=[],s=[],u=-1;++u<o;)e=t[u],a.push(e.property),s.push(e.normal),n=e.space;return new i(r.apply(null,a),r.apply(null,s),n)}},99607:function(t){"use strict";t.exports=n;var e=n.prototype;function n(t,e,n){this.property=t,this.normal=e,n&&(this.space=n)}e.space=null,e.normal={},e.property={}},17e3:function(t,e){"use strict";var n=0;function r(){return Math.pow(2,++n)}e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r()},8289:function(t,e,n){"use strict";var r=n(17596);t.exports=r({space:"xlink",transform:function(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},5812:function(t,e,n){"use strict";var r=n(17596);t.exports=r({space:"xml",transform:function(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},94397:function(t,e,n){"use strict";var r=n(17596),i=n(10855);t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},66632:function(t){"use strict";t.exports=function(t){return t.toLowerCase()}},54087:function(t,e,n){for(var r=n(75),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],u=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!u){var c=0,f=0,d=[],h=1e3/60;s=function(t){if(0===d.length){var e=r(),n=Math.max(0,h-(e-c));c=n+e,setTimeout(function(){var t=d.slice(0);d.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(c)}catch(t){setTimeout(function(){throw t},0)}},Math.round(n))}return d.push({handle:++f,callback:t,cancelled:!1}),f},u=function(t){for(var e=0;e<d.length;e++)d[e].handle===t&&(d[e].cancelled=!0)}}t.exports=function(t){return s.call(i,t)},t.exports.cancel=function(){u.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=u}},54522:function(t,e,n){"use strict";n.d(e,{ZP:function(){return tF}});
13var r,i,o=n(63366),a=n(87462),s=n(67294),u="data-focus-lock",l="data-focus-lock-disabled",c={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},f=function(t){var e=t.children;return s.createElement(s.Fragment,null,s.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:c}),e,e&&s.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:c}))};f.propTypes={},f.defaultProps={children:null};var d=n(70655);function h(t){return t}function p(t,e){void 0===e&&(e=h);var n=[],r=!1;return{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]:t},useMedium:function(t){var i=e(t,r);return n.push(i),function(){n=n.filter(function(t){return t!==i})}},assignSyncMedium:function(t){for(r=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){r=!0;var e=[];if(n.length){var i=n;n=[],i.forEach(t),e=n}var o=function(){var n=e;e=[],n.forEach(t)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(t){e.push(t),a()},filter:function(t){return e=e.filter(t),n}}}}}function m(t,e){return void 0===e&&(e=h),p(t,e)}var g=m({},function(t){return{target:t.target,currentTarget:t.currentTarget}}),y=m(),v=m(),b=((r=p(null)).options=(0,d.pi)({async:!0,ssr:!1},{async:!0}),r),w=[],x=s.forwardRef(function(t,e){var n,r,i,o,f=s.useState(),d=f[0],h=f[1],p=s.useRef(),m=s.useRef(!1),v=s.useRef(null),x=t.children,C=t.disabled,E=t.noFocusGuards,k=t.persistentFocus,S=t.crossFrame,R=t.autoFocus,_=(t.allowTextSelection,t.group),A=t.className,M=t.whiteList,j=t.hasPositiveIndices,O=t.shards,T=t.as,P=t.lockProps,L=t.sideCar,I=t.returnFocus,D=t.focusOptions,N=t.onActivation,V=t.onDeactivation,F=s.useState({})[0],B=s.useCallback(function(){v.current=v.current||document&&document.activeElement,p.current&&N&&N(p.current),m.current=!0},[N]),H=s.useCallback(function(){m.current=!1,V&&V(p.current)},[V]);(0,s.useEffect)(function(){C||(v.current=null)},[]);var U=s.useCallback(function(t){var e=v.current;if(e&&e.focus){var n="function"==typeof I?I(e):I;if(n){var r="object"==typeof n?n:void 0;v.current=null,t?Promise.resolve().then(function(){return e.focus(r)}):e.focus(r)}}},[I]),Z=s.useCallback(function(t){m.current&&g.useMedium(t)},[]),W=y.useMedium,z=s.useCallback(function(t){p.current!==t&&(p.current=t,h(t))},[]),G=(0,a.Z)(((o={})[l]=C&&"disabled",o[u]=_,o),void 0===P?{}:P),$=!0!==E,q=(n=[e,z],r=function(t){return n.forEach(function(e){var n;return"function"==typeof(n=e)?n(t):n&&(n.current=t),n})},(i=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var t=i.value;t!==value&&(i.value=value,i.callback(value,t))}}}})[0]).callback=r,i.facade);return s.createElement(s.Fragment,null,$&&[s.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:C?-1:0,style:c}),j?s.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:C?-1:1,style:c}):null],!C&&s.createElement(L,{id:F,sideCar:b,observed:d,disabled:C,persistentFocus:k,crossFrame:S,autoFocus:R,whiteList:M,shards:void 0===O?w:O,onActivation:B,onDeactivation:H,returnFocus:U,focusOptions:D}),s.createElement(void 0===T?"div":T,(0,a.Z)({ref:q},G,{className:A,onBlur:W,onFocus:Z}),x),$&&"tail"!==E&&s.createElement("div",{"data-focus-guard":!0,tabIndex:C?-1:0,style:c}))});x.propTypes={},x.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var C=n(94578),E=n(4942),k=function(t){for(var e=Array(t.length),n=0;n<t.length;++n)e[n]=t[n];return e},S=function(t){return Array.isArray(t)?t:[t]},R=function(t){return Array.isArray(t)?t[0]:t},_=function(t){if(t.nodeType!==Node.ELEMENT_NODE)return!1;var e=window.getComputedStyle(t,null);return!!e&&!!e.getPropertyValue&&("none"===e.getPropertyValue("display")||"hidden"===e.getPropertyValue("visibility"))},A=function(t){return t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode},M=function(t){return t===document||t&&t.nodeType===Node.DOCUMENT_NODE},j=function(t,e){var n,r=t.get(e);if(void 0!==r)return r;var i=(n=j.bind(void 0,t),!e||M(e)||!_(e)&&n(A(e)));return t.set(e,i),i},O=function(t,e){var n,r=t.get(e);if(void 0!==r)return r;var i=(n=O.bind(void 0,t),!e||!!M(e)||!!I(e)&&n(A(e)));return t.set(e,i),i},T=function(t){return t.dataset},P=function(t){return"INPUT"===t.tagName},L=function(t){return P(t)&&"radio"===t.type},I=function(t){return![!0,"true",""].includes(t.getAttribute("data-no-autofocus"))},D=function(t){var e;return Boolean(t&&(null===(e=T(t))||void 0===e?void 0:e.focusGuard))},N=function(t){return!D(t)},V=function(t){return Boolean(t)},F=function(t,e){var n=t.tabIndex-e.tabIndex,r=t.index-e.index;if(n){if(!t.tabIndex)return 1;if(!e.tabIndex)return -1}return n||r},B=function(t,e,n){return k(t).map(function(t,e){return{node:t,index:e,tabIndex:n&&-1===t.tabIndex?(t.dataset||{}).focusGuard?0:-1:t.tabIndex}}).filter(function(t){return!e||t.tabIndex>=0}).sort(F)},H="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",U="".concat(H,", [data-focus-guard]"),Z=function(t,e){return k((t.shadowRoot||t).children).reduce(function(t,n){return t.concat(n.matches(e?U:H)?[n]:[],Z(n))},[])},W=function(t,e){var n;return t instanceof HTMLIFrameElement&&(null===(n=t.contentDocument)||void 0===n?void 0:n.body)?z([t.contentDocument.body],e):[t]},z=function(t,e){return t.reduce(function(t,n){var r,i=Z(n,e),o=(r=[]).concat.apply(r,i.map(function(t){return W(t,e)}));return t.concat(o,n.parentNode?k(n.parentNode.querySelectorAll(H)).filter(function(t){return t===n}):[])},[])},G=function(t,e){return k(t).filter(function(t){return j(e,t)}).filter(function(t){return!((P(t)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},$=function(t,e){return void 0===e&&(e=new Map),k(t).filter(function(t){return O(e,t)})},q=function(t,e,n){return B(G(z(t,n),e),!0,n)},Y=function(t,e){return B(G(z(t),e),!1)},X=function(t,e){return t.shadowRoot?X(t.shadowRoot,e):!!(void 0!==Object.getPrototypeOf(t).contains&&Object.getPrototypeOf(t).contains.call(t,e))||k(t.children).some(function(t){var n;if(t instanceof HTMLIFrameElement){var r=null===(n=t.contentDocument)||void 0===n?void 0:n.body;return!!r&&X(r,e)}return X(t,e)})},K=function(t){try{return t()}catch(t){return}},J=function(t){if(void 0===t&&(t=document),t&&t.activeElement){var e=t.activeElement;return e.shadowRoot?J(e.shadowRoot):e instanceof HTMLIFrameElement&&K(function(){return e.contentWindow.document})?J(e.contentWindow.document):e}},Q=function(t){void 0===t&&(t=document);var e=J(t);return!!e&&k(t.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(t){return X(t,e)})},tt=function(t){for(var e=new Set,n=t.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=t[r].compareDocumentPosition(t[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&e.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&e.add(r)}return t.filter(function(t,n){return!e.has(n)})},te=function(t){return t.parentNode?te(t.parentNode):t}
13,tn=function(t){return S(t).filter(Boolean).reduce(function(t,e){var n=e.getAttribute(u);return t.push.apply(t,n?tt(k(te(e).querySelectorAll("[".concat(u,'="').concat(n,'"]:not([').concat(l,'="disabled"])')))):[e]),t},[])},tr=function(t,e){return void 0===e&&(e=J(R(t).ownerDocument)),!!e&&(!e.dataset||!e.dataset.focusGuard)&&tn(t).some(function(t){var n;return X(t,e)||(n=e,Boolean(k(t.querySelectorAll("iframe")).some(function(t){return t===n})))})},ti=function(t,e){return L(t)&&t.name&&e.filter(L).filter(function(e){return e.name===t.name}).filter(function(t){return t.checked})[0]||t},to=function(t){var e=new Set;return t.forEach(function(n){return e.add(ti(n,t))}),t.filter(function(t){return e.has(t)})},ta=function(t){return t[0]&&t.length>1?ti(t[0],t):t[0]},ts=function(t,e){return t.length>1?t.indexOf(ti(t[e],t)):e},tu="NEW_FOCUS",tl=function(t,e,n,r){var i=t.length,o=t[0],a=t[i-1],s=D(n);if(!(n&&t.indexOf(n)>=0)){var u=void 0!==n?e.indexOf(n):-1,l=r?e.indexOf(r):u,c=r?t.indexOf(r):-1,f=u-l,d=e.indexOf(o),h=e.indexOf(a),p=to(e),m=(void 0!==n?p.indexOf(n):-1)-(r?p.indexOf(r):u),g=ts(t,0),y=ts(t,i-1);if(-1===u||-1===c)return tu;if(!f&&c>=0)return c;if(u<=d&&s&&Math.abs(f)>1)return y;if(u>=h&&s&&Math.abs(f)>1)return g;if(f&&Math.abs(m)>1)return c;if(u<=d)return y;if(u>h)return g;if(f)return Math.abs(f)>1?c:(i+c+f)%i}},tc=function(t,e,n){var r=$(t.map(function(t){return t.node}).filter(function(t){var e,r=null===(e=T(t))||void 0===e?void 0:e.autofocus;return t.autofocus||void 0!==r&&"false"!==r||n.indexOf(t)>=0}));return r&&r.length?ta(r):ta($(e))},tf=function(t,e){return void 0===e&&(e=[]),e.push(t),t.parentNode&&tf(t.parentNode.host||t.parentNode,e),e},td=function(t,e){for(var n=tf(t),r=tf(e),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},th=function(t,e,n){var r=S(t),i=S(e),o=r[0],a=!1;return i.filter(Boolean).forEach(function(t){a=td(a||t,t)||a,n.filter(Boolean).forEach(function(t){var e=td(o,t);e&&(a=!a||X(e,a)?e:td(e,a))})}),a},tp=function(t,e){var n=new Map;return e.forEach(function(t){return n.set(t.node,t)}),t.map(function(t){return n.get(t)}).filter(V)},tm=function(t,e){var n=J(S(t).length>0?document:R(t).ownerDocument),r=tn(t).filter(N),i=th(n||t,t,r),o=new Map,a=Y(r,o),s=q(r,o).filter(function(t){return N(t.node)});if(s[0]||(s=a)[0]){var u=Y([i],o).map(function(t){return t.node}),l=tp(u,s),c=l.map(function(t){return t.node}),f=tl(c,u,n,e);if(f===tu){var d=tc(a,c,r.reduce(function(t,e){return t.concat(G(k(e.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(t){return z([t])}).reduce(function(t,e){return t.concat(e)},[]),o))},[]));return d?{node:d}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},tg=function(t,e){"focus"in t&&t.focus(e),"contentWindow"in t&&t.contentWindow&&t.contentWindow.focus()},ty=0,tv=!1,tb=function(t,e,n){void 0===n&&(n={});var r=tm(t,e);if(!tv&&r){if(ty>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),tv=!0,setTimeout(function(){tv=!1},1);return}ty++,tg(r.node,n.focusOptions),ty--}},tw=function(t){var e=tn(t).filter(N),n=th(t,t,e),r=new Map,i=q([n],r,!0),o=q(e,r).filter(function(t){return N(t.node)}).map(function(t){return t.node});return i.map(function(t){var e=t.node;return{node:e,index:t.index,lockItem:o.indexOf(e)>=0,guard:D(e)}})};function tx(t){var e=window.setImmediate;void 0!==e?e(t):setTimeout(t,1)}var tC=null,tE=null,tk=null,tS=!1,tR=function(){return!0},t_=function(t,e){tk={observerNode:t,portaledElement:e}};function tA(t,e,n,r){var i=null,o=t;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==t)return;i=null}else break}while((o+=n)!==e);i&&(i.node.tabIndex=0)}var tM=function(t){return t&&"current"in t?t.current:t},tj=function(){var t=!1;if(tC){var e=tC,n=e.observed,r=e.persistentFocus,i=e.autoFocus,o=e.shards,a=e.crossFrame,s=e.focusOptions,u=n||tk&&tk.portaledElement,l=document&&document.activeElement;
13if(u){var c=[u].concat(o.map(tM).filter(Boolean));if((!l||(tC.whiteList||tR)(l))&&(r||(a?Boolean(tS):"meanwhile"===tS)||!(document&&document.activeElement===document.body||Q())||!tE&&i)&&(u&&!(tr(c)||l&&c.some(function(t){return function t(e,n,r){return n&&(n.host===e&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&t(e,n.parentNode,r))}(l,t,t)})||tk&&tk.portaledElement===l)&&(document&&!tE&&l&&!i?(l.blur&&l.blur(),document.body.focus()):(t=tb(c,tE,{focusOptions:s}),tk={})),tS=!1,tE=document&&document.activeElement),document){var f=document&&document.activeElement,d=tw(c),h=d.map(function(t){return t.node}).indexOf(f);h>-1&&(d.filter(function(t){var e=t.guard,n=t.node;return e&&n.dataset.focusAutoGuard}).forEach(function(t){return t.node.removeAttribute("tabIndex")}),tA(h,d.length,1,d),tA(h,-1,-1,d))}}}return t},tO=function(t){tj()&&t&&(t.stopPropagation(),t.preventDefault())},tT=function(){return tx(tj)},tP=function(){tS="just",setTimeout(function(){tS="meanwhile"},0)},tL=function(){document.addEventListener("focusin",tO),document.addEventListener("focusout",tT),window.addEventListener("blur",tP)},tI=function(){document.removeEventListener("focusin",tO),document.removeEventListener("focusout",tT),window.removeEventListener("blur",tP)};g.assignSyncMedium(function(t){var e=t.target,n=t.currentTarget;n.contains(e)||t_(n,e)}),y.assignMedium(tT),v.assignMedium(function(t){return t({moveFocusInside:tb,focusInside:tr})});var tD=(i=function(t){var e=t.slice(-1)[0];e&&!tC&&tL();var n=tC,r=n&&e&&e.id===n.id;tC=e,!n||r||(n.onDeactivation(),t.filter(function(t){return t.id===n.id}).length||n.returnFocus(!e)),e?(tE=null,r&&n.observed===e.observed||e.onActivation(),tj(!0),tx(tj)):(tI(),tE=null)},function(t){var e,n=[];function r(){i(e=n.map(function(t){return t.props}).filter(function(t){return!t.disabled}))}var o=function(i){function o(){return i.apply(this,arguments)||this}(0,C.Z)(o,i),o.peek=function(){return e};var a=o.prototype;return a.componentDidMount=function(){n.push(this),r()},a.componentDidUpdate=function(){r()},a.componentWillUnmount=function(){var t=n.indexOf(this);n.splice(t,1),r()},a.render=function(){return s.createElement(t,this.props)},o}(s.PureComponent);return(0,E.Z)(o,"displayName","SideEffect("+(t.displayName||t.name||"Component")+")"),o})(function(){return null}),tN=s.forwardRef(function(t,e){return s.createElement(x,(0,a.Z)({sideCar:tD,ref:e},t))}),tV=x.propTypes||{};tV.sideCar,(0,o.Z)(tV,["sideCar"]),tN.propTypes={};var tF=tN},18612:function(t,e,n){"use strict";var r=n(67294),i=n(45697),o=n(11215),a=n(7869),s=n(17378),u=r.createElement;function l(t){var e="language-".concat(t.language),n={className:e}
13,r={className:[t.className,e].filter(Boolean).join(" ")};t.inline&&(n.style={display:"inline"},n.className=t.className);var i=o.highlight(t.value,t.language);t.markers&&t.markers.length>0&&(i=s(i,{markers:t.markers}));var l=u("code",n,0===i.length?t.value:i.map(a.depth(0)));return t.inline?l:u("pre",r,l)}l.propTypes={className:i.string,inline:i.bool,language:i.string.isRequired,value:i.string.isRequired,markers:i.arrayOf(i.oneOfType([i.number,i.shape({line:i.number.isRequired,className:i.string,component:i.oneOfType([i.node,i.func])})]))},l.defaultProps={className:"refractor",inline:!1},l.registerLanguage=function(t){return o.register(t)},l.hasLanguage=function(t){return o.registered(t)},t.exports=l},17378:function(t,e,n){"use strict";var r=n(67365),i=n(99294),o=n(96662);t.exports=function(t,e){var n=e.markers.map(function(t){return t.line?t:{line:t}}).sort(function(t,e){return t.line-e.line});return function(t,e,n){if(0===e.length||0===t.length)return t;for(var a=e.reduce(function(t,e){return function(t,e){var n={type:"root",children:e},a=new o,s=new o,u=new o,l=[];function c(t,e,r){l.push(e),r.forEach(function(e){t.has(e)||(t.set(e,Object.assign({},e,{children:[]})),e!==n&&l.push(e))});for(var i=r.length;i--;){var o=t.get(r[i]),a=r[i+1],s=t.get(a)||e;-1===o.children.indexOf(s)&&o.children.push(s)}}i(n,function(e,n){if(!e.children){if(e.lineStart<t){c(a,e,n);return}if(e.lineStart===t){c(s,e,n);return}e.lineEnd>t&&l.some(function(t){return -1!==n.indexOf(t)})&&c(u,e,n)}});var f=r(n,function(t){return -1===l.indexOf(t)}),d=function(t){var e=t.get(n);return e?(i(e,function(t,e){if(t.children){t.lineStart=0,t.lineEnd=0;return}e.forEach(function(e){e.lineStart=Math.max(e.lineStart,t.lineStart),e.lineEnd=Math.max(e.lineEnd,t.lineEnd)})}),e.children):[]},h=[].concat(d(a),d(s),d(u),f?f.children:[]);return a.clear(),s.clear(),u.clear(),h}(e.line,t)},t),s=[],u=0,l=0;l<e.length;l++){for(var c=e[l],f=a[u];f&&f.lineEnd<c.line;f=a[++u])s.push(f);for(var d=[],h=a[u];h&&h.lineEnd===c.line;h=a[++u])d.push(h);d.length>0&&s.push(function(t,e,n){var r=e.className||"refractor-marker";return{type:"element",tagName:e.component||"div",properties:e.component?Object.assign({},n,{className:r}):{className:r},children:t,lineStart:e.line,lineEnd:t[t.length-1].lineEnd,isMarker:!0}}(d,c,n))}for(;u<a.length;)s.push(a[u++]);return s}(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lineNumber:1};return e.reduce(function(e,r){var i=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf("\n"))return r.lineStart=i,r.lineEnd=i,e.nodes.push(r),e;for(var o=r.value.split("\n"),a=0;a<o.length;a++){var s=0===a?n.lineNumber:++n.lineNumber;e.nodes.push({type:"text",value:a===o.length-1?o[a]:"".concat(o[a],"\n"),lineStart:s,lineEnd:s})}return e.lineNumber=n.lineNumber,e}if(r.children){var u=t(r.children,n),l=u.nodes[0],c=u.nodes[u.nodes.length-1];return r.lineStart=l?l.lineStart:i,r.lineEnd=c?c.lineEnd:i,r.children=u.nodes,e.lineNumber=u.lineNumber,e.nodes.push(r),e}return e.nodes.push(r),e},{nodes:[],lineNumber:n.lineNumber})}(t).nodes,n,e)}},96662:function(t){"use strict";function e(){this.map=new WeakMap}function n(){this.keys=[],this.values=[]}t.exports="function"==typeof WeakMap?e:n,e.prototype.has=function(t){return this.map.has(t)},e.prototype.set=function(t,e){return this.map.set(t,e),this},e.prototype.get=function(t){return this.map.get(t)},e.prototype.clear=function(){},n.prototype.has=function(t){return -1!==this.keys.indexOf(t)},n.prototype.set=function(t,e){var n=this.keys.indexOf(t);return -1===n?(this.keys.push(t),this.values.push(e)):this.values[n]=e,this},n.prototype.get=function(t){var e=this.keys.indexOf(t);return -1===e?void 0:this.values[e]},n.prototype.clear=function(){this.keys=[],this.values=[]}},7869:function(t,e,n){"use strict";var r=n(67294);e.depth=function t(e){return function(n,i){return function(e,n,i){if(e.tagName){var o=e.properties&&Array.isArray(e.properties.className)?e.properties.className.join(" "):e.properties.className;return r.createElement(e.tagName,Object.assign({key:"fract-".concat(i,"-").concat(n)},e.properties,{className:o}),e.children&&e.children.map(t(i+1)))}return e.value}(n,i,e)}}},11215:function(t,e,n){"use strict";var r,i,o="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},a=(i=(r="Prism"in o)?o.Prism:void 0,function(){r?o.Prism=i:delete o.Prism,r=void 0,i=void 0});o.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),u=n(57574),l=n(28325),c=n(2717),f=n(12049),d=n(29726),h=n(36155);a();var p={}.hasOwnProperty;function m(){}m.prototype=l;var g=new m;function y(t){if("function"!=typeof t||!t.displayName)throw Error("Expected `function` for `grammar`, got `"+t+"`");void 0===g.languages[t.displayName]&&t(g)}t.exports=g,g.highlight=function(t,e){var n,r=l.highlight;if("string"!=typeof t)throw Error("Expected `string` for `value`, got `"+t+"`");if("Object"===g.util.type(e))n=e,e=null;else{if("string"!=typeof e)throw Error("Expected `string` for `name`, got `"+e+"`");if(p.call(g.languages,e))n=g.languages[e];else throw Error("Unknown language: `"+e+"` is not registered")}return r.call(this,t,n,e)},g.register=y,g.alias=function(t,e){var n,r,i,o,a=g.languages,s=t;for(n in e&&((s={})[t]=e),s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,o=-1;++o<i;)a[r[o]]=a[n]},g.registered=function(t){if("string"!=typeof t)throw Error("Expected `string` for `language`, got `"+t+"`");return p.call(g.languages,t)},g.listLanguages=function(){var t,e=g.languages,n=[];for(t in e)p.call(e,t)&&"object"==typeof e[t]&&n.push(t);return n},y(c),y(f),y(d),y(h),g.util.encode=function(t){return t},g.Token.stringify=function(t,e,n){var r;return"string"==typeof t?{type:"text",value:t}:"Array"===g.util.type(t)?function(t,e){for(var n,r=[],i=t.length,o=-1;++o<i;)""!==(n=t[o])&&null!=n&&r.push(n);for(o=-1,i=r.length;++o<i;)n=r[o],r[o]=g.Token.stringify(n,e,r);return r}(t,e):(r={type:t.type,content:g.Token.stringify(t.content,e,n),tag:"span",classes:["token",t.type],attributes:{},language:e,parent:n},t.alias&&(r.classes=r.classes.concat(t.alias)),g.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(t){var e;
13for(e in t)t[e]=u(t[e]);return t}(r.attributes),r.content))}},6979:function(t){"use strict";function e(t){!function(t){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
13CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
13&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=t.languages.bash[i[a]];t.languages.shell=t.languages.bash}(t)}t.exports=e,e.displayName="bash",e.aliases=["shell"]},29726:function(t){"use strict";function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}t.exports=e,e.displayName="clike",e.aliases=[]},12049:function(t){"use strict";function e(t){var e,n,r;n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(e=t).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(r=e.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}t.exports=e,e.displayName="css",e.aliases=[]},36155:function(t){"use strict";function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}
13(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}t.exports=e,e.displayName="javascript",e.aliases=["js"]},45950:function(t){"use strict";function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}t.exports=e,e.displayName="json",e.aliases=["webmanifest"]},96412:function(t){"use strict";function e(t){!function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(t,e){return RegExp(t=t.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),e)}i=o(i).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])
vendor: 5,897 bytes, line 13
13*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var a=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(a).join(""):""},s=function(e){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var u=a(i);r<e.length-1&&("string"==typeof e[r+1]||"plain-text"===e[r+1].type)&&(u+=a(e[r+1]),e.splice(r+1,1)),r>0&&("string"==typeof e[r-1]||"plain-text"===e[r-1].type)&&(u=a(e[r-1])+u,e.splice(r-1,1),r--),e[r]=new t.Token("plain-text",u,null,u)}i.content&&"string"!=typeof i.content&&s(i.content)}};t.hooks.add("after-tokenize",function(t){("jsx"===t.language||"tsx"===t.language)&&s(t.tokens)})}(t)}t.exports=e,e.displayName="jsx",e.aliases=[]},2717:function(t){"use strict";function e(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}t.exports=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},4979:function(t){"use strict";function e(t){var e,n;(e=t).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],delete(n=e.languages.extend("typescript",{}))["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}
13t.exports=e,e.displayName="typescript",e.aliases=["ts"]},80979:function(t,e,n){"use strict";n.d(e,{f:function(){return k}});var r,i=n(70655),o=n(90489),a=1,s={};function u(t){return t in s&&(delete s[t],!0)}var l={setImmediate:function(t){var e=a++;return s[e]=!0,r||(r=Promise.resolve()),r.then(function(){return u(e)&&t()}),e},clearImmediate:function(t){u(t)}},c=l.setImmediate,f=l.clearImmediate,d={setImmediate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=d.delegate;return((null==n?void 0:n.setImmediate)||c).apply(void 0,(0,i.ev)([],(0,i.CR)(t)))},clearImmediate:function(t){var e=d.delegate;return((null==e?void 0:e.clearImmediate)||f)(t)},delegate:void 0},h=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return(0,i.ZT)(e,t),e.prototype.requestAsyncId=function(e,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=d.setImmediate(e.flush.bind(e,void 0))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);var i,o=e.actions;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(d.clearImmediate(n),e._scheduled=void 0)},e}(o.o),p=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.flush=function(t){this._active=!0;var e,n=this._scheduled;this._scheduled=void 0;var r=this.actions;t=t||r.shift();do if(e=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,e){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw e}},e}(n(87556).v))(h),m=n(82649),g=n(6222),y=n(9653),v=n(19293),b=n(87878),w=n(1545),x=n(56542),C=n(34978),E=n(42006);function k(t,e=p){return n=>{var r,i;let o=null,a=null,s=new m.x,u=s.pipe((0,x.R)((t,e)=>t+e,0),(0,C.w)(r=>0===r?(0,g.H)(t,e).pipe((0,E.b)(()=>{o&&(o.unsubscribe(),o=null),a&&(a.unsubscribe(),a=null)})):!o&&r>0?(0,g.H)(0,e).pipe((0,E.b)(()=>{o||(o=n.connect())})):y.C));return r=()=>(a||(a=u.subscribe()),s.next(1),{unsubscribe:()=>s.next(-1)}),i=()=>n,new v.y(function(t){var e=r(),n=i(e);return(n?(0,b.Xf)(n):w.E).subscribe(t),function(){e&&e.unsubscribe()}})}}},85092:function(t,e,n){"use strict";n.d(e,{t:function(){return p},q:function(){return h}});var r=n(19917),i=n(82649),o=n(57490),a=n(37991),s=n(95978),u=n(29127),l=n(87878),c=n(96798),f=n(2566),d=n(83286);function h(t){return e=>(0,r.P)(()=>{let n=new i.x;return e.pipe((0,s.P)(()=>n,{leading:!0,trailing:!0}),function t(e,n){return n?function(r){return r.pipe(t(function(t,r){return(0,l.Xf)(e(t,r)).pipe((0,u.U)(function(e,i){return n(t,e,r,i)}))}))}:(0,c.e)(function(t,n){var r=0,i=null,o=!1;t.subscribe((0,f.x)(n,function(t){i||(i=(0,f.x)(n,void 0,function(){i=null,o&&n.complete()}),(0,l.Xf)(e(t,r++)).subscribe(i))},function(){o=!0,i||n.complete()}))})}((e,r)=>(0,o.x)(t(e,r),a.z).pipe((0,d.x)(()=>{n.next()}))))})}function p(t){return h(()=>t)}
13},86515:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(70655),i=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n.closed||e.next(this._value),n},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,n=this._value;if(t)throw e;return this._throwIfClosed(),n},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(n(82649).x)},19293:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var r=n(65044),i=n(4222),o=n(46766),a=n(90278),s=n(53912),u=n(58474),l=n(68846),c=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var o,a=this,s=(o=t)&&o instanceof r.Lv||o&&(0,u.m)(o.next)&&(0,u.m)(o.error)&&(0,u.m)(o.complete)&&(0,i.Nn)(o)?t:new r.Hp(t,e,n);return(0,l.x)(function(){var t=a.operator,e=a.source;s.add(t?t.call(s,e):e?a._subscribe(s):a._trySubscribe(s))}),s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=f(e))(function(e,i){var o=new r.Hp({next:function(e){try{t(e)}catch(t){i(t),o.unsubscribe()}},error:i,complete:e});n.subscribe(o)})},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[o.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0===t.length?a.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)})(this)},t.prototype.toPromise=function(t){var e=this;return new(t=f(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function f(t){var e;return null!==(e=null!=t?t:s.v.Promise)&&void 0!==e?e:Promise}},70003:function(t,e,n){"use strict";n.d(e,{t:function(){return a}});var r=n(70655),i=n(82649),o=n(94318),a=function(t){function e(e,n,r){void 0===e&&(e=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.l);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,n),i}return(0,r.ZT)(e,t),e.prototype.next=function(e){var n=this.isStopped,r=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,a=this._windowTime;!n&&(r.push(e),i||r.push(o.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=n?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=e.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},e}(i.x)},82649:function(t,e,n){"use strict";n.d(e,{x:function(){return l}});var r=n(70655),i=n(19293),o=n(4222),a=(0,n(9437).d)(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),s=n(3699),u=n(68846),l=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return(0,r.ZT)(e,t),e.prototype.lift=function(t){var e=new c(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new a},e.prototype.next=function(t){var e=this;(0,u.x)(function(){var n,i;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=(0,r.XA)(e.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(t)}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},e.prototype.error=function(t){var e=this;(0,u.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}})},e.prototype.complete=function(){var t=this;(0,u.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}
13,enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?o.Lc:(this.currentObservers=null,i.push(t),new o.w0(function(){e.currentObservers=null,(0,s.P)(i,t)}))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,r=this.isStopped;e?t.error(n):r&&t.complete()},e.prototype.asObservable=function(){var t=new i.y;return t.source=this,t},e.create=function(t,e){return new c(t,e)},e}(i.y),c=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return(0,r.ZT)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:o.Lc},e}(l)},65044:function(t,e,n){"use strict";n.d(e,{Hp:function(){return y},Lv:function(){return h}});var r=n(70655),i=n(58474),o=n(4222),a=n(53912),s=n(40005),u=n(22967),l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var f=n(68380),d=n(68846),h=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,(0,o.Nn)(e)&&e.add(n)):n.destination=w,n}return(0,r.ZT)(e,t),e.create=function(t,e,n){return new y(t,e,n)},e.prototype.next=function(t){this.isStopped?b(c("N",t,void 0),this):this._next(t)},e.prototype.error=function(t){this.isStopped?b(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?b(l,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(o.w0),p=Function.prototype.bind;function m(t,e){return p.call(t,e)}var g=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){v(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){v(t)}else v(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){v(t)}},t}(),y=function(t){function e(e,n,r){var o,s,u=t.call(this)||this;return(0,i.m)(e)||!e?o={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:u&&a.v.useDeprecatedNextContext?((s=Object.create(e)).unsubscribe=function(){return u.unsubscribe()},o={next:e.next&&m(e.next,s),error:e.error&&m(e.error,s),complete:e.complete&&m(e.complete,s)}):o=e,u.destination=new g(o),u}return(0,r.ZT)(e,t),e}(h);function v(t){a.v.useDeprecatedSynchronousErrorHandling?(0,d.O)(t):(0,s.h)(t)}function b(t,e){var n=a.v.onStoppedNotification;n&&f.z.setTimeout(function(){return n(t,e)})}var w={closed:!0,next:u.Z,error:function(t){throw t},complete:u.Z}},4222:function(t,e,n){"use strict";n.d(e,{Lc:function(){return u},w0:function(){return s},Nn:function(){return l}});var r=n(70655),i=n(58474),o=(0,n(9437).d)(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}),a=n(3699),s=function(){var t;function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t,e,n,a,s,u=this._parentage;if(u){if(this._parentage=null,Array.isArray(u))try{for(var l=(0,r.XA)(u),f=l.next();!f.done;f=l.next())f.value.remove(this)}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}else u.remove(this)}var d=this.initialTeardown;
13if((0,i.m)(d))try{d()}catch(t){s=t instanceof o?t.errors:[t]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=(0,r.XA)(h),m=p.next();!m.done;m=p.next()){var g=m.value;try{c(g)}catch(t){s=null!=s?s:[],t instanceof o?s=(0,r.ev)((0,r.ev)([],(0,r.CR)(s)),(0,r.CR)(t.errors)):s.push(t)}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}}if(s)throw new o(s)}},e.prototype.add=function(t){var n;if(t&&t!==this){if(this.closed)c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}},e.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},e.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},e.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&(0,a.P)(e,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&(0,a.P)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),u=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function c(t){(0,i.m)(t)?t():t.unsubscribe()}},53912:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},36861:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(18084);function i(t,e){var n="object"==typeof e;return new Promise(function(i,o){var a,s=!1;t.subscribe({next:function(t){a=t,s=!0},error:o,complete:function(){s?i(a):n?i(e.defaultValue):o(new r.K)}})})}},40317:function(t,e,n){"use strict";n.d(e,{a:function(){return p}});var r=n(19293),i=Array.isArray,o=Object.getPrototypeOf,a=Object.prototype,s=Object.keys,u=n(40052),l=n(90278),c=n(53211),f=n(22457),d=n(2566),h=n(47845);function p(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var h=(0,f.yG)(e),p=(0,f.jO)(e),g=function(t){if(1===t.length){var e=t[0];if(i(e))return{args:e,keys:null};if(e&&"object"==typeof e&&o(e)===a){var n=s(e);return{args:n.map(function(t){return e[t]}),keys:n}}}return{args:t,keys:null}}(e),y=g.args,v=g.keys;if(0===y.length)return(0,u.D)([],h);var b=new r.y((void 0===(t=v?function(t){return v.reduce(function(e,n,r){return e[n]=t[r],e},{})}:l.y)&&(t=l.y),function(e){m(h,function(){for(var n=y.length,r=Array(n),i=n,o=n,a=function(n){m(h,function(){var a=(0,u.D)(y[n],h),s=!1;a.subscribe((0,d.x)(e,function(i){r[n]=i,!s&&(s=!0,o--),o||e.next(t(r.slice()))},function(){--i||e.complete()}))},e)},s=0;s<n;s++)a(s)},e)}));return p?b.pipe((0,c.Z)(p)):b}function m(t,e,n){t?(0,h.f)(n,t,e):e()}},69243:function(t,e,n){"use strict";n.d(e,{z:function(){return a}});var r=n(44367),i=n(22457),o=n(40052);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0,r.J)(1)((0,o.D)(t,(0,i.yG)(t)))}},19917:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var r=n(19293),i=n(87878);function o(t){return new r.y(function(e){(0,i.Xf)(t()).subscribe(e)})}},1545:function(t,e,n){"use strict";n.d(e,{E:function(){return i},c:function(){return o}});var r=n(19293),i=new r.y(function(t){return t.complete()});function o(t){return t?new r.y(function(e){return t.schedule(function(){return e.complete()})}):i}},40052:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var r=n(57490),i=n(87878);function o(t,e){return e?(0,r.x)(t,e):(0,i.Xf)(t)}},22401:function(t,e,n){"use strict";n.d(e,{R:function(){return function t(e,n,p,m){if((0,u.m)(p)&&(m=p,p=void 0),m)return t(e,n,p).pipe((0,l.Z)(m));var g=(0,r.CR)((0,u.m)(e.addEventListener)&&(0,u.m)(e.removeEventListener)?f.map(function(t){return function(r){return e[t](n,r,p)}}):(0,u.m)(e.addListener)&&(0,u.m)(e.removeListener)?c.map(h(e,n)):(0,u.m)(e.on)&&(0,u.m)(e.off)?d.map(h(e,n)):[],2),y=g[0],v=g[1];if(!y&&(0,s.z)(e))return(0,a.z)(function(e){return t(e,n,p)})((0,i.Xf)(e));if(!y)throw TypeError("Invalid event target");return new o.y(function(t){var e=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1<e.length?e:e[0])};return y(e),function(){return v(e)}})}}});var r=n(70655),i=n(87878),o=n(19293),a=n(43994),s=n(45685),u=n(58474),l=n(53211),c=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function h(t,e){return function(n){return function(r){return t[n](e,r)}}}},82976:function(t,e,n){"use strict";n.d(e,{s:function(){return i}});var r=n(19917);function i(t,e,n){return(0,r.P)(function(){return t()?e:n})}},87878:function(t,e,n){"use strict";n.d(e,{Xf:function(){return m}});var r=n(70655),i=n(45685),o=n(53841),a=n(19293),s=n(71764),u=n(58430),l=n(88729),c=n(1837),f=n(48671),d=n(58474),h=n(40005),p=n(46766);function m(t){if(t instanceof a.y)return t;if(null!=t){if((0,s.c)(t))return new a.y(function(e){var n=t[p.L]();if((0,d.m)(n.subscribe))return n.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")});if((0,i.z)(t))return new a.y(function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()});if((0,o.t)(t))return new a.y(function(e){t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,h.h)});if((0,u.D)(t))return g(t);if((0,c.T)(t))return new a.y(function(e){var n,i;try{for(var o=(0,r.XA)(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(e.next(s),e.closed)return}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}e.complete()});if((0,f.L)(t))return g((0,f.Q)(t))}throw(0,l.z)(t)}function g(t){return new a.y(function(e){(function(t,e){var n,i,o,a;return(0,r.mG)(this,void 0,void 0,function(){var s;return(0,r.Jh)(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),n=(0,r.KL)(t),u.label=1;case 1:return[4,n.next()];case 2:if((i=u.sent()).done)return[3,4];if(s=i.value,e.next(s),e.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return o={error:u.sent()},[3,11];case 6:if(u.trys.push([6,,9,10]),!(i&&!i.done&&(a=n.return)))return[3,8];return[4,a.call(n)];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];
13case 10:return[7];case 11:return e.complete(),[2]}})})})(t,e).catch(function(t){return e.error(t)})})}},23071:function(t,e,n){"use strict";n.d(e,{T:function(){return u}});var r=n(44367),i=n(87878),o=n(1545),a=n(22457),s=n(40052);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,a.yG)(t),u=(0,a._6)(t,1/0);return t.length?1===t.length?(0,i.Xf)(t[0]):(0,r.J)(u)((0,s.D)(t,n)):o.E}},9653:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(19293),i=n(22967),o=new r.y(i.Z)},32817:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var r=n(22457),i=n(40052);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,r.yG)(t);return(0,i.D)(t,n)}},30743:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(94975),i=n(87878);function o(t,e,n){return[(0,r.h)(e,n)((0,i.Xf)(t)),(0,r.h)(function(t,r){return!e.call(n,t,r)})((0,i.Xf)(t))]}},83610:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var r=n(19293),i=n(58474);function o(t,e){var n=(0,i.m)(t)?t:function(){return t},o=function(t){return t.error(n())};return new r.y(e?function(t){return e.schedule(o,0,t)}:o)}},6222:function(t,e,n){"use strict";n.d(e,{H:function(){return a}});var r=n(19293),i=n(37991),o=n(64865);function a(t,e,n){void 0===t&&(t=0),void 0===n&&(n=i.P);var a=-1;return null!=e&&((0,o.K)(e)?n=e:a=e),new r.y(function(e){var r,i=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;i<0&&(i=0);var o=0;return n.schedule(function(){e.closed||(e.next(o++),0<=a?this.schedule(void 0,a):e.complete())},i)})}},2566:function(t,e,n){"use strict";n.d(e,{Q:function(){return o},x:function(){return i}});var r=n(70655);function i(t,e,n,r,i){return new o(t,e,n,r,i)}var o=function(t){function e(e,n,r,i,o,a){var s=t.call(this,e)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=n?function(t){try{n(t)}catch(t){e.error(t)}}:t.prototype._next,s._error=i?function(t){try{i(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,s._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,s}return(0,r.ZT)(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),n||null===(e=this.onFinalize)||void 0===e||e.call(this)}},e}(n(65044).Lv)},48848:function(t,e,n){"use strict";n.d(e,{e:function(){return u}});var r=n(37991),i=n(96798),o=n(87878),a=n(2566),s=n(6222);function u(t,e){return void 0===e&&(e=r.z),(0,i.e)(function(n,r){var i=!1,u=null,l=null,c=!1,f=function(){if(null==l||l.unsubscribe(),l=null,i){i=!1;var t=u;u=null,r.next(t)}c&&r.complete()},d=function(){l=null,c&&r.complete()};n.subscribe((0,a.x)(r,function(n){i=!0,u=n,l||(0,o.Xf)((0,s.H)(t,e)).subscribe(l=(0,a.x)(r,f,d))},function(){c=!0,i&&l&&!l.closed||r.complete()}))})}},79878:function(t,e,n){"use strict";n.d(e,{K:function(){return function t(e){return(0,o.e)(function(n,o){var a,s=null,u=!1;s=n.subscribe((0,i.x)(o,void 0,void 0,function(i){a=(0,r.Xf)(e(i,t(e)(n))),s?(s.unsubscribe(),s=null,a.subscribe(o)):u=!0})),u&&(s.unsubscribe(),s=null,a.subscribe(o))})}}});var r=n(87878),i=n(2566),o=n(96798)},51313:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(43994),i=n(58474);function o(t,e){return(0,i.m)(e)?(0,r.z)(t,e,1):(0,r.z)(t,1)}},92574:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var r=n(96798),i=n(22967),o=n(2566),a=n(87878);function s(t){return(0,r.e)(function(e,n){var r=!1,s=null,u=null,l=function(){if(null==u||u.unsubscribe(),u=null,r){r=!1;var t=s;s=null,n.next(t)}};e.subscribe((0,o.x)(n,function(e){null==u||u.unsubscribe(),r=!0,s=e,u=(0,o.x)(n,l,i.Z),(0,a.Xf)(t(e)).subscribe(u)},function(){l(),n.complete()},void 0,function(){s=u=null}))})}},42965:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var r=n(37991),i=n(96798),o=n(2566);function a(t,e){return void 0===e&&(e=r.z),(0,i.e)(function(n,r){var i=null,a=null,s=null,u=function(){if(i){i.unsubscribe(),i=null;var t=a;a=null,r.next(t)}};function l(){var n=s+t,o=e.now();if(o<n){i=this.schedule(void 0,n-o),r.add(i);return}u()}n.subscribe((0,o.x)(r,function(n){a=n,s=e.now(),i||(i=e.schedule(l,t),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}},35700:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(96798),i=n(2566);function o(t){return(0,r.e)(function(e,n){var r=!1;e.subscribe((0,i.x)(n,function(t){r=!0,n.next(t)},function(){r||n.next(t),n.complete()}
13))})}},46297:function(t,e,n){"use strict";n.d(e,{g:function(){return h}});var r=n(37991),i=n(69243),o=n(74727),a=n(96798),s=n(2566),u=n(22967),l=n(93833),c=n(43994),f=n(87878),d=n(6222);function h(t,e){void 0===e&&(e=r.z);var n=(0,d.H)(t,e);return function t(e,n){return n?function(r){return(0,i.z)(n.pipe((0,o.q)(1),(0,a.e)(function(t,e){t.subscribe((0,s.x)(e,u.Z))})),r.pipe(t(e)))}:(0,c.z)(function(t,n){return(0,f.Xf)(e(t,n)).pipe((0,o.q)(1),(0,l.h)(t))})}(function(){return n})}},25631:function(t,e,n){"use strict";n.d(e,{E:function(){return s}});var r=n(96798),i=n(2566),o=n(22967),a=n(87878);function s(t,e){return(0,r.e)(function(n,r){var s=new Set;n.subscribe((0,i.x)(r,function(e){var n=t?t(e):e;s.has(n)||(s.add(n),r.next(e))})),e&&(0,a.Xf)(e).subscribe((0,i.x)(r,function(){return s.clear()},o.Z))})}},53741:function(t,e,n){"use strict";n.d(e,{x:function(){return a}});var r=n(90278),i=n(96798),o=n(2566);function a(t,e){return void 0===e&&(e=r.y),t=null!=t?t:s,(0,i.e)(function(n,r){var i,a=!0;n.subscribe((0,o.x)(r,function(n){var o=e(n);(a||!t(i,o))&&(a=!1,i=o,r.next(n))}))})}function s(t,e){return t===e}},94975:function(t,e,n){"use strict";n.d(e,{h:function(){return o}});var r=n(96798),i=n(2566);function o(t,e){return(0,r.e)(function(n,r){var o=0;n.subscribe((0,i.x)(r,function(n){return t.call(e,n,o++)&&r.next(n)}))})}},83286:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(96798);function i(t){return(0,r.e)(function(e,n){try{e.subscribe(n)}finally{n.add(t)}})}},35684:function(t,e,n){"use strict";n.d(e,{P:function(){return l}});var r=n(18084),i=n(94975),o=n(74727),a=n(35700),s=n(33815),u=n(90278);function l(t,e){var n=arguments.length>=2;return function(l){return l.pipe(t?(0,i.h)(function(e,n){return t(e,n,l)}):u.y,(0,o.q)(1),n?(0,a.d)(e):(0,s.T)(function(){return new r.K}))}}},58796:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r=n(43994).z},56890:function(t,e,n){"use strict";n.d(e,{v:function(){return u}});var r=n(19293),i=n(87878),o=n(82649),a=n(96798),s=n(2566);function u(t,e,n,u){return(0,a.e)(function(a,l){e&&"function"!=typeof e?(n=e.duration,c=e.element,u=e.connector):c=e;var c,f=new Map,d=function(t){f.forEach(t),t(l)},h=function(t){return d(function(e){return e.error(t)})},p=0,m=!1,g=new s.Q(l,function(e){try{var a=t(e),d=f.get(a);if(!d){f.set(a,d=u?u():new o.x);var y,v,b=(y=d,(v=new r.y(function(t){p++;var e=y.subscribe(t);return function(){e.unsubscribe(),0==--p&&m&&g.unsubscribe()}})).key=a,v);if(l.next(b),n){var w=(0,s.x)(d,function(){d.complete(),null==w||w.unsubscribe()},void 0,void 0,function(){return f.delete(a)});g.add((0,i.Xf)(n(b)).subscribe(w))}}d.next(c?c(e):e)}catch(t){h(t)}},function(){return d(function(t){return t.complete()})},h,function(){return f.clear()},function(){return m=!0,0===p});a.subscribe(g)})}},71932:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(18084),i=n(94975),o=n(70655),a=(n(1545),n(96798)),s=n(2566),u=n(33815),l=n(35700),c=n(90278);function f(t,e){var n=arguments.length>=2;return function(f){return f.pipe(t?(0,i.h)(function(e,n){return t(e,n,f)}):c.y,(0,a.e)(function(t,e){var n=[];t.subscribe((0,s.x)(e,function(t){n.push(t),1<n.length&&n.shift()},function(){var t,r;try{for(var i=(0,o.XA)(n),a=i.next();!a.done;a=i.next()){var s=a.value;e.next(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}e.complete()},void 0,function(){n=null}))}),n?(0,l.d)(e):(0,u.T)(function(){return new r.K}))}}},29127:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var r=n(96798),i=n(2566);function o(t,e){return(0,r.e)(function(n,r){var o=0;n.subscribe((0,i.x)(r,function(n){r.next(t.call(e,n,o++))}))})}},93833:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(29127);function i(t){return(0,r.U)(function(){return t})}},44367:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(43994),i=n(90278);function o(t){return void 0===t&&(t=1/0),(0,r.z)(i.y,t)}},29007:function(t,e,n){"use strict";n.d(e,{p:function(){return a}});var r=n(87878),i=n(47845),o=n(2566);function a(t,e,n,a,s,u,l,c){var f=[],d=0,h=0,p=!1,m=function(){!p||f.length||d||e.complete()},g=function(t){return d<a?y(t):f.push(t)},y=function(t){u&&e.next(t),d++;var c=!1;(0,r.Xf)(n(t,h++)).subscribe((0,o.x)(e,function(t){null==s||s(t),u?g(t):e.next(t)},function(){c=!0},void 0,function(){if(c)try{for(d--;f.length&&d<a;
13)!function(){var t=f.shift();l?(0,i.f)(e,l,function(){return y(t)}):y(t)}();m()}catch(t){e.error(t)}}))};return t.subscribe((0,o.x)(e,g,function(){p=!0,m()})),function(){null==c||c()}}},43994:function(t,e,n){"use strict";n.d(e,{z:function(){return function t(e,n,u){return(void 0===u&&(u=1/0),(0,s.m)(n))?t(function(t,o){return(0,r.U)(function(e,r){return n(t,e,o,r)})((0,i.Xf)(e(t,o)))},u):("number"==typeof n&&(u=n),(0,o.e)(function(t,n){return(0,a.p)(t,n,e,u)}))}}});var r=n(29127),i=n(87878),o=n(96798),a=n(29007),s=n(58474)},48902:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var r=n(43994),i=n(58474);function o(t,e,n){return(void 0===n&&(n=1/0),(0,i.m)(e))?(0,r.z)(function(){return t},e,n):("number"==typeof e&&(n=e),(0,r.z)(function(){return t},n))}},18603:function(t,e,n){"use strict";n.d(e,{f:function(){return o}});var r=n(96798),i=n(29007);function o(t,e,n){return void 0===n&&(n=1/0),(0,r.e)(function(r,o){var a=e;return(0,i.p)(r,o,function(e,n){return t(a,e,n)},n,function(t){a=t},!1,void 0,function(){return a=null})})}},29526:function(t,e,n){"use strict";n.d(e,{Q:function(){return a}});var r=n(47845),i=n(96798),o=n(2566);function a(t,e){return void 0===e&&(e=0),(0,i.e)(function(n,i){n.subscribe((0,o.x)(i,function(n){return(0,r.f)(i,t,function(){return i.next(n)},e)},function(){return(0,r.f)(i,t,function(){return i.complete()},e)},function(n){return(0,r.f)(i,t,function(){return i.error(n)},e)}))})}},40148:function(t,e,n){"use strict";n.d(e,{_:function(){return h}});var r=n(70003),i=n(70655),o=n(19293),a=n(4222),s=n(30218),u=n(2566),l=n(96798),c=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,(0,l.A)(e)&&(r.lift=e.lift),r}return(0,i.ZT)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new a.w0;var n=this.getSubject();e.add(this.source.subscribe((0,u.x)(n,void 0,function(){t._teardown(),n.complete()},function(e){t._teardown(),n.error(e)},function(){return t._teardown()}))),e.closed&&(this._connection=null,e=a.w0.EMPTY)}return e},e.prototype.refCount=function(){return(0,s.x)()(this)},e}(o.y),f=n(58474),d=(n(82649),n(87878));function h(t,e,n,i){n&&!(0,f.m)(n)&&(i=n);var a=(0,f.m)(n)?n:void 0;return function(n){var s,u,h;return(s=new r.t(t,e,i),u=a,h=(0,f.m)(s)?s:function(){return s},(0,f.m)(u)?(0,l.e)(function(t,e){var n=h();(0,d.Xf)(u(new o.y(function(t){return n.subscribe(t)}))).subscribe(e),e.add(t.subscribe(n))}):function(t){return new c(t,h)})(n)}}},77270:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(71674),i=n(96798);function o(t,e){return(0,i.e)((0,r.U)(t,e,arguments.length>=2,!1,!0))}},30218:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var r=n(96798),i=n(2566);function o(){return(0,r.e)(function(t,e){var n=null;t._refCount++;var r=(0,i.x)(e,void 0,void 0,void 0,function(){if(!t||t._refCount<=0||0<--t._refCount){n=null;return}var r=t._connection,i=n;n=null,r&&(!i||r===i)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}},56542:function(t,e,n){"use strict";n.d(e,{R:function(){return o}});var r=n(96798),i=n(71674);function o(t,e){return(0,r.e)((0,i.U)(t,e,arguments.length>=2,!0))}},71674:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(2566);function i(t,e,n,i,o){return function(a,s){var u=n,l=e,c=0;a.subscribe((0,r.x)(s,function(e){var n=c++;l=u?t(l,e,n):(u=!0,e),i&&s.next(l)},o&&function(){u&&s.next(l),s.complete()}))}}},65583:function(t,e,n){"use strict";n.d(e,{B:function(){return u}});var r=n(70655),i=n(87878),o=n(82649),a=n(65044),s=n(96798);function u(t){void 0===t&&(t={});var e=t.connector,n=void 0===e?function(){return new o.x}:e,r=t.resetOnError,u=void 0===r||r,c=t.resetOnComplete,f=void 0===c||c,d=t.resetOnRefCountZero,h=void 0===d||d;return function(t){var e,r,o,c=0,d=!1,p=!1,m=function(){null==r||r.unsubscribe(),r=void 0},g=function(){m(),e=o=void 0,d=p=!1},y=function(){var t=e;g(),null==t||t.unsubscribe()};return(0,s.e)(function(t,s){c++,p||d||m();var v=o=null!=o?o:n();s.add(function(){0!=--c||p||d||(r=l(y,h))}),v.subscribe(s),!e&&c>0&&(e=new a.Hp({next:function(t){return v.next(t)},error:function(t){p=!0,m(),r=l(g,u,t),v.error(t)},complete:function(){d=!0,m(),r=l(g,f),v.complete()}}),(0,i.Xf)(t).subscribe(e))})(t)}}function l(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(!0===e){t();return}if(!1!==e){var s=new a.Hp({next:function(){s.unsubscribe(),t()}});return(0,i.Xf)(e.apply(void 0,(0,r.ev)([],(0,r.CR)(n)))).subscribe(s)}}},68515:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(70003),i=n(65583);function o(t,e,n){var o,a,s,u,l=!1;return t&&"object"==typeof t?(u=void 0===(o=t.bufferSize)?1/0:o,e=void 0===(a=t.windowTime)?1/0:a,l=void 0!==(s=t.refCount)&&s,n=t.scheduler):u=null!=t?t:1/0,(0,i.B)({connector:function(){return new r.t(u,e,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},47753:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var r=n(94975);function i(t){return(0,r.h)(function(e,n){return t<=n})}},98430:function(t,e,n){"use strict";n.d(e,{O:function(){return a}});var r=n(69243),i=n(22457),o=n(96798);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,i.yG)(t);return(0,o.e)(function(e,i){(n?(0,r.z)(t,e,n):(0,r.z)(t,e)).subscribe(i)})}},58720:function(t,e,n){"use strict";n.d(e,{R:function(){return i}});var r=n(96798);function i(t,e){return void 0===e&&(e=0),(0,r.e)(function(n,r){r.add(t.schedule(function(){return n.subscribe(r)},e))})}},34978:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var r=n(87878),i=n(96798),o=n(2566);function a(t,e){return(0,i.e)(function(n,i){var a=null,s=0,u=!1,l=function(){return u&&!a&&i.complete()};n.subscribe((0,o.x)(i,function(n){null==a||a.unsubscribe();var u=0,c=s++;(0,r.Xf)(t(n,c)).subscribe(a=(0,o.x)(i,function(t){return i.next(e?e(n,t,c,u++):t)},function(){a=null,l()}))},function(){u=!0,l()}))})}},58550:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var r=n(34978),i=n(58474);
13function o(t,e){return(0,i.m)(e)?(0,r.w)(function(){return t},e):(0,r.w)(function(){return t})}},74727:function(t,e,n){"use strict";n.d(e,{q:function(){return a}});var r=n(1545),i=n(96798),o=n(2566);function a(t){return t<=0?function(){return r.E}:(0,i.e)(function(e,n){var r=0;e.subscribe((0,o.x)(n,function(e){++r<=t&&(n.next(e),t<=r&&n.complete())}))})}},83505:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var r=n(96798),i=n(2566),o=n(87878),a=n(22967);function s(t){return(0,r.e)(function(e,n){(0,o.Xf)(t).subscribe((0,i.x)(n,function(){return n.complete()},a.Z)),n.closed||e.subscribe(n)})}},42006:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var r=n(58474),i=n(96798),o=n(2566),a=n(90278);function s(t,e,n){var s=(0,r.m)(t)||e||n?{next:t,error:e,complete:n}:t;return s?(0,i.e)(function(t,e){null===(n=s.subscribe)||void 0===n||n.call(s);var n,r=!0;t.subscribe((0,o.x)(e,function(t){var n;null===(n=s.next)||void 0===n||n.call(s,t),e.next(t)},function(){var t;r=!1,null===(t=s.complete)||void 0===t||t.call(s),e.complete()},function(t){var n;r=!1,null===(n=s.error)||void 0===n||n.call(s,t),e.error(t)},function(){var t,e;r&&(null===(t=s.unsubscribe)||void 0===t||t.call(s)),null===(e=s.finalize)||void 0===e||e.call(s)}))}):a.y}},95978:function(t,e,n){"use strict";n.d(e,{P:function(){return s},d:function(){return a}});var r=n(96798),i=n(2566),o=n(87878),a={leading:!0,trailing:!1};function s(t,e){return void 0===e&&(e=a),(0,r.e)(function(n,r){var a=e.leading,s=e.trailing,u=!1,l=null,c=null,f=!1,d=function(){null==c||c.unsubscribe(),c=null,s&&(m(),f&&r.complete())},h=function(){c=null,f&&r.complete()},p=function(e){return c=(0,o.Xf)(t(e)).subscribe((0,i.x)(r,d,h))},m=function(){if(u){u=!1;var t=l;l=null,r.next(t),f||p(t)}};n.subscribe((0,i.x)(r,function(t){u=!0,l=t,c&&!c.closed||(a?m():p(t))},function(){f=!0,s&&u&&c&&!c.closed||r.complete()}))})}},9132:function(t,e,n){"use strict";n.d(e,{p:function(){return a}});var r=n(37991),i=n(95978),o=n(6222);function a(t,e,n){void 0===e&&(e=r.z),void 0===n&&(n=i.d);var a=(0,o.H)(t,e);return(0,i.P)(function(){return a},n)}},33815:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var r=n(18084),i=n(96798),o=n(2566);function a(t){return void 0===t&&(t=s),(0,i.e)(function(e,n){var r=!1;e.subscribe((0,o.x)(n,function(t){r=!0,n.next(t)},function(){return r?n.complete():n.error(t())}))})}function s(){return new r.K}},30062:function(t,e,n){"use strict";n.d(e,{q:function(){return a}});var r=n(77270),i=n(96798),o=function(t,e){return t.push(e),t};function a(){return(0,i.e)(function(t,e){(0,r.u)(o,[])(t).subscribe(e)})}},63428:function(t,e,n){"use strict";n.d(e,{M:function(){return c}});var r=n(70655),i=n(96798),o=n(2566),a=n(87878),s=n(90278),u=n(22967),l=n(22457);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,l.jO)(t);return(0,i.e)(function(e,i){for(var l=t.length,c=Array(l),f=t.map(function(){return!1}),d=!1,h=function(e){(0,a.Xf)(t[e]).subscribe((0,o.x)(i,function(t){c[e]=t,!d&&!f[e]&&(f[e]=!0,(d=f.every(s.y))&&(f=null))},u.Z))},p=0;p<l;p++)h(p);e.subscribe((0,o.x)(i,function(t){if(d){var e=(0,r.ev)([t],(0,r.CR)(c));i.next(n?n.apply(void 0,(0,r.ev)([],(0,r.CR)(e))):e)}}))})}},57490:function(t,e,n){"use strict";n.d(e,{x:function(){return v}});var r=n(87878),i=n(29526),o=n(58720),a=n(19293),s=n(39768),u=n(58474),l=n(47845);function c(t,e){if(!t)throw Error("Iterable cannot be null");return new a.y(function(n){(0,l.f)(n,e,function(){var r=t[Symbol.asyncIterator]();(0,l.f)(n,e,function(){r.next().then(function(t){t.done?n.complete():n.next(t.value)})},0,!0)})})}var f=n(71764),d=n(53841),h=n(45685),p=n(1837),m=n(58430),g=n(88729),y=n(48671);function v(t,e){if(null!=t){if((0,f.c)(t))return(0,r.Xf)(t).pipe((0,o.R)(e),(0,i.Q)(e));if((0,h.z)(t))return new a.y(function(n){var r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})});if((0,d.t)(t))return(0,r.Xf)(t).pipe((0,o.R)(e),(0,i.Q)(e));if((0,m.D)(t))return c(t,e);if((0,p.T)(t))return new a.y(function(n){var r;return(0,l.f)(n,e,function(){r=t[s.h](),(0,l.f)(n,e,function(){var t,e,i;try{e=(t=r.next()).value,i=t.done}catch(t){n.error(t);return}i?n.complete():n.next(e)},0,!0)}),function(){return(0,u.m)(null==r?void 0:r.return)&&r.return()}});if((0,y.L)(t))return c((0,y.Q)(t),e)}throw(0,g.z)(t)}},90489:function(t,e,n){"use strict";n.d(e,{o:function(){return s}});var r=n(70655),i=function(t){function e(e,n){return t.call(this)||this}return(0,r.ZT)(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(4222).w0),o={setInterval:function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=o.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,(0,r.ev)([t,e],(0,r.CR)(n))):setInterval.apply(void 0,(0,r.ev)([t,e],(0,r.CR)(n)))},clearInterval:function(t){var e=o.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},a=n(3699),s=function(t){function e(e,n){var r=t.call(this,e,n)||this;
13return r.scheduler=e,r.work=n,r.pending=!1,r}return(0,r.ZT)(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n,r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),o.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&o.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.P)(r,this),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(i)},87556:function(t,e,n){"use strict";n.d(e,{v:function(){return a}});var r=n(70655),i=n(94318),o=function(){function t(e,n){void 0===n&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},t.now=i.l.now,t}(),a=function(t){function e(e,n){void 0===n&&(n=o.now);var r=t.call(this,e,n)||this;return r.actions=[],r._active=!1,r}return(0,r.ZT)(e,t),e.prototype.flush=function(t){var e,n=this.actions;if(this._active){n.push(t);return}this._active=!0;do if(e=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}},e}(o)},37991:function(t,e,n){"use strict";n.d(e,{P:function(){return o},z:function(){return i}});var r=n(90489),i=new(n(87556)).v(r.o),o=i},94318:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},68380:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(70655),i={setTimeout:function(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=i.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,(0,r.ev)([t,e],(0,r.CR)(n))):setTimeout.apply(void 0,(0,r.ev)([t,e],(0,r.CR)(n)))},clearTimeout:function(t){var e=i.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},39768:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},46766:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},18084:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var r=(0,n(9437).d)(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})},22457:function(t,e,n){"use strict";n.d(e,{_6:function(){return u},jO:function(){return a},yG:function(){return s}});var r=n(58474),i=n(64865);function o(t){return t[t.length-1]}function a(t){return(0,r.m)(o(t))?t.pop():void 0}function s(t){return(0,i.K)(o(t))?t.pop():void 0}function u(t,e){return"number"==typeof o(t)?t.pop():e}},3699:function(t,e,n){"use strict";function r(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:function(){return r}})},9437:function(t,e,n){"use strict";function r(t){var e=t(function(t){Error.call(t),t.stack=Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:function(){return r}})},68846:function(t,e,n){"use strict";n.d(e,{O:function(){return a},x:function(){return o}});var r=n(53912),i=null;function o(t){if(r.v.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),t(),e){var n=i,o=n.errorThrown,a=n.error;if(i=null,o)throw a}}else t()}function a(t){r.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=t)}},47845:function(t,e,n){"use strict";function r(t,e,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}n.d(e,{f:function(){return r}})},90278:function(t,e,n){"use strict";function r(t){return t}n.d(e,{y:function(){return r}})},45685:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},58430:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});var r=n(58474);function i(t){return Symbol.asyncIterator&&(0,r.m)(null==t?void 0:t[Symbol.asyncIterator])}},58474:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,{m:function(){return r}})},71764:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var r=n(46766),i=n(58474);function o(t){return(0,i.m)(t[r.L])}},1837:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var r=n(39768),i=n(58474);function o(t){return(0,i.m)(null==t?void 0:t[r.h])}},9141:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(19293),i=n(58474);function o(t){return!!t&&(t instanceof r.y||(0,i.m)(t.lift)&&(0,i.m)(t.subscribe))}},53841:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});var r=n(58474);function i(t){return(0,r.m)(null==t?void 0:t.then)}},48671:function(t,e,n){"use strict";n.d(e,{L:function(){return a},Q:function(){return o}});var r=n(70655),i=n(58474);function o(t){return(0,r.FC)(this,arguments,function(){var e,n,i;return(0,r.Jh)(this,function(o){switch(o.label){case 0:e=t.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.qq)(e.read())];case 3:if(i=(n=o.sent()).value,!n.done)return[3,5];return[4,(0,r.qq)(void 0)];case 4:return[2,o.sent()];case 5:return[4,(0,r.qq)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function a(t){return(0,i.m)(null==t?void 0:t.getReader)}},64865:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var r=n(58474);function i(t){return t&&(0,r.m)(t.schedule)}},96798:function(t,e,n){"use strict";n.d(e,{A:function(){return i},e:function(){return o}});var r=n(58474);function i(t){return(0,r.m)(null==t?void 0:t.lift)}function o(t){return function(e){if(i(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw TypeError("Unable to lift unknown Observable type")}}},53211:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(70655),i=n(29127),o=Array.isArray;function a(t){return(0,i.U)(function(e){return o(e)?t.apply(void 0,(0,r.ev)([],(0,r.CR)(e))):t(e)}
13)}},22967:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},40005:function(t,e,n){"use strict";n.d(e,{h:function(){return o}});var r=n(53912),i=n(68380);function o(t){i.z.setTimeout(function(){var e=r.v.onUnhandledError;if(e)e(t);else throw t})}},88729:function(t,e,n){"use strict";function r(t){return TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(e,{z:function(){return r}})},29043:function(t,e,n){"use strict";n.d(e,{C:function(){return y}});var r=n(52027);function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t,e,n){return(a=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i}:Reflect.construct).apply(null,arguments)}function s(t){var e="function"==typeof Map?new Map:void 0;return(s=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return a(t,arguments,i(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,t)})(t)}function u(t){return t.reduce(function(t,e,n){if(Array.isArray(e))return t+"["+e.join(":")+"]";if("object"==typeof e&&"string"==typeof e._key)return t+'[_key=="'+e._key+'"]';if("number"==typeof e)return t+"["+e+"]";if(/^\d+$/.test(e))return t+'["'+e+'"]';if("string"==typeof e)return""+t+(0===n?"":".")+e;throw Error('Unsupported path segment "'+e+'"')},"")}var l=function(t){var e;function n(e,n,r){var i,o=u(n);return(i=t.call(this,e+" (at '"+o+"')")||this).path=n,i.serializedPath=o,i.value=r,i}return(e=n).prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,n}(s(Error)),c=/^[a-z0-9][a-z0-9_.-]+$/i,f=/^[a-zA-Z_][a-zA-Z0-9_]*$/,d=/^[a-z_]/i;function h(t,e,n){if(!d.test(t))throw new l("Keys must start with a letter (a-z)",n.concat(t),e);if(!f.test(t))throw new l("Keys can only contain letters, numbers and underscores",n.concat(t),e);if("_key"===t||"_ref"===t||"_type"===t){if("string"!=typeof e)throw new l("Keys must be strings",n.concat(t),e);if(!c.test(e))throw new l("Invalid key - use less exotic characters",n.concat(t),e)}return t}var p=["_id","_type","_createdAt","_updatedAt","_rev"],m=new r.diff_match_patch,g={hideWarnings:!1,diffMatchPatch:{enabled:!0,lengthThresholdAbsolute:30,lengthThresholdRelative:1.2}};function y(t,e,n,r,i){if(void 0===n&&(n=g),void 0===r&&(r=[]),void 0===i&&(i=[]),t===e)return i;var o,a,s,u,c=Array.isArray(t)?"array":typeof t,f=Array.isArray(e)?"array":typeof e,d="undefined"===c,p="undefined"===f;if(d&&!p)return i.push({op:"set",path:r,value:e}),i;if(!d&&p)return i.push({op:"unset",path:r}),i;var k=d?f:c;return"object"===k||"array"===k?c!==f?(i.push({op:"set",path:r,value:e}),i):"array"===k?function(t,e,n,r,i){if(e.length>t.length&&i.push({op:"insert",after:r.concat([-1]),items:e.slice(t.length).map(function(t,e){return C(t,r,e,n)})}),e.length<t.length){var o=t.length-e.length==1,a=t.slice(e.length);Boolean(n.ifRevisionID||n.ifRevisionId)||!w(a)?i.push({op:"unset",path:r.concat([o?e.length:[e.length,""]])}):i.push.apply(i,a.map(function(t){return{op:"unset",path:r.concat({_key:t._key})}}))}for(var s=0;s<e.length;s++)if(Array.isArray(e[s]))throw new l("Multi-dimensional arrays not supported",r.concat(s),e[s]);var u=Math.min(t.length,e.length),c=t.slice(0,u),f=e.slice(0,u);return w(c)&&w(f)?function(t,e,n,r,i){var o,a,s=x(t),u=x(e);if(o=s.keys,a=u.keys,!(o.length===a.length&&o.every(function(t,e){return a[e]===t})))return v(t,e,n,r,i);for(var l=0;l<u.keys.length;l++){var c=u.keys[l];y(s.index[c],C(u.index[c],r,l,n),n,r.concat({_key:c}),i)}return i}(c,f,n,r,i):v(c,f,n,r,i)}(t,e,n,r,i):function(t,e,n,r,i){for(var o=0===r.length,a=Object.keys(t).filter(o?b:E).map(function(e){return h(e,t[e],r)}),s=a.length,u=Object.keys(e).filter(o?b:E).map(function(t){return h(t,e[t],r)}),l=u.length,c=0;c<s;c++){var f=a[c];f in e||i.push({op:"unset",path:r.concat(f)})}for(var d=0;d<l;d++){var p=u[d];y(t[p],e[p],n,r.concat([p]),i)}return i}(t,e,n,r,i):(o=n,a=r,s=i,u=function(t,e,n,r){var i=n.diffMatchPatch,o=i.enabled,a=i.lengthThresholdRelative,s=i.lengthThresholdAbsolute,u=r[r.length-1];if(o&&"string"==typeof t&&"string"==typeof e&&("string"!=typeof u||"_"!==u[0])&&!(e.length<s)){var l="";try{var c=m.diff_main(t,e);m.diff_cleanupEfficiency(c),l=m.patch_toText(m.patch_make(c))}catch(t){return}return l.length>e.length*a?void 0:{op:"diffMatchPatch",path:r,value:l}}}(t,e,o,a),s.push(u||{op:"set",path:a,value:e}),s)}function v(t,e,n,r,i){for(var o=0;o<t.length;o++)y(t[o],C(e[o],r,o,n),n,r.concat(o),i);return i}function b(t){return -1===p.indexOf(t)}function w(t){for(var e=[],n=0;n<t.length;n++){var r,i="object"==typeof(r=t[n])&&null!==r&&r._key;if(!i||-1!==e.indexOf(i))return!1;e.push(i)}return!0}function x(t){return t.reduce(function(t,e){return t.keys.push(e._key),t.index[e._key]=e,t},{keys:[],index:{}})}function C(t,e,n,r){return void 0!==t?t:(r.hideWarnings||console.warn("undefined value in array converted to null (at '"+u(e.concat(n))+"')"),null)}function E(t){return!0}},933:function(t,e,n){"use strict";n.d(e,{BC:function(){return H},NZ:function(){return _},PM:function(){return E},Px:function(){return O},nR:function(){return k},pG:function(){return A},rJ:function(){return j},tv:function(){return x},z:function(){return $}});var r,i=n(85893),o=n(67294),a=n(90634),s=n.n(a),u=n(85564),l=n.n(u),c=n(91966),f=n.n(c),d=n(25325),h=n.n(d),p=n(68630),m=n.n(p),g=n(78718),y=n.n(g),v=n(6557),b=n.n(v);let w=o.createContext(null);function x(){let t=(0,o.useContext)(w);if(!t)throw Error("Router: missing context value");return t}function C(t){let{onClick:e,href:n,target:r,replace:i=!1}=t,{navigateUrl:a}=x(),s=(0,o.useCallback)(t=>{!t.isDefaultPrevented()&&n&&(e&&e(t),!t.metaKey&&!t.altKey&&!t.ctrlKey&&!t.shiftKey&&0===t.button&&!r&&(t.preventDefault(),a({path:n,replace:i})))},[n,a,e,i,r]);return{onClick:s}}function E(t){let{intent:e,onClick:n,params:r,replace:i,target:o}=t,{resolveIntentLink:a}=x(),s=a(e,r),{onClick:u}=C({href:s,onClick:n,replace:i,target:o});return{onClick:u,href:s}}let k=(0,o.forwardRef)(function(t,e){let{intent:n,params:r,target:o,...a}=t,{onClick:s,href:u}=E({intent:n,params:r,target:o,onClick:t.onClick});return(0,i.jsx)("a",{...a,href:u,onClick:s,ref:e,target:o})});(0,o.forwardRef)(function(t,e){let{onClick:n,href:r,target:o,replace:a,...s}=t,{onClick:u}=C({onClick:n,href:r,target:o,replace:a});return(0,i.jsx)("a",{...s,onClick:u,href:r,target:o,ref:e})});let S=Object.prototype.hasOwnProperty,R=S.call.bind(S);function _(t){let{children:e,scope:n}=t,r=x(),{resolvePathFromState:a,navigate:s}=r,u=(0,o.useCallback)(t=>{var e;let i=!function(t){for(let e in t)if(R(t,e))return!1;return!0}(t)?(e=r.state,t&&{...e,[n]:t}):{};return a(i)},[a,r.state,n]),l=(0,o.useCallback)((t,e)=>{var i;let o=(i=r.state,t&&{...i,[n]:t});s(o,e)},[s,r.state,n]),c=(0,o.useMemo)(()=>({...r,navigate:l,resolvePathFromState:u,state:r.state[n]}),[l,r,u,n]);return(0,i.jsx)(w.Provider,{value:c,children:e})}function A(t){let{onNavigate:e,router:n,state:r}=t,a=(0,o.useCallback)(t=>{e(t)},[e]),s=(0,o.useCallback)((t,e)=>{let[r,i]=Array.isArray(e)?e:[e];return n.encode({intent:t,params:r,payload:i})},[n]),u=(0,o.useCallback)(t=>n.encode(t),[n]),l=(0,o.useCallback)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a({path:u(t),replace:e.replace})},[a,u]),c=(0,o.useCallback)(function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a({path:s(t,e),replace:n.replace})},[a,s]),f=(0,o.useMemo)(()=>({navigate:l,navigateIntent:c,navigateUrl:a,resolveIntentLink:s,resolvePathFromState:u,state:r}),[l,c,a,s,u,r]);return(0,i.jsx)(w.Provider,{value:f,children:t.children})}let M={};function j(t){let{onClick:e,replace:n,state:r,target:i,toIndex:a=!1}=t;if(r&&a)throw Error("Passing both `state` and `toIndex={true}
13` as props to StateLink is invalid");r||a||console.error(Error("No state passed to StateLink. If you want to link to an empty state, its better to use the the `toIndex` property"));let{resolvePathFromState:s}=x(),u=(0,o.useMemo)(()=>s(a?M:r||M),[s,r,a]),{onClick:l}=C({href:u,onClick:e,replace:n,target:i});return{onClick:l,href:u}}let O=(0,o.forwardRef)(function(t,e){let{onClick:n,replace:r,state:o,target:a,toIndex:s=!1,...u}=t,{onClick:l,href:c}=j({onClick:n,replace:r,state:o,target:a,toIndex:s});return(0,i.jsx)("a",{...u,href:c,onClick:l,ref:e})}),T=/^[a-zA-Z0-9_-]+$/;function P(t){if(!t)return null;if(t.startsWith(":")){let e=t.substring(1);if(!T.test(e)){let e=t.includes("*")?" Splats are not supported. Consider using child routes instead":"";console.error(Error('Warning: Param segments "'.concat(t,'" includes invalid characters.').concat(e)))}return{type:"param",name:e}}return{type:"dir",name:t}}let L=s()("state-router");function I(t){return Array.isArray(t)?t:t?[t]:[]}function D(t,e,n){return{nodes:t,missing:e,remaining:n}}function N(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=decodeURIComponent(t);if(!e)return{};try{return JSON.parse(atob(e))}catch(t){}try{return JSON.parse(e)}catch(t){console.warn("Failed to parse JSON parameters")}return{}}function V(t){return t?btoa(JSON.stringify(t)):""}function F(t){return t.split(";").reduce((t,e)=>{let[n,r]=e.split("=");return t[decodeURIComponent(n)]=decodeURIComponent(r),t},{})}function B(t){return Object.entries(t).filter(t=>{let[,e]=t;return null!=e}).map(t=>{let[e,n]=t;return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n))}).join(";")}let H={create:function(t,e,n){return G(Z(t,e,n))},scope:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];let i=Z(...n);return G({...i,scope:t})},intents:function(t){let e=(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((t,e)=>t.concat(e.split("/")),[]).filter(Boolean)})(t).join("/");return H.create("".concat(e,"/:intent"),[H.create(":params",{transform:{params:{toState:F,toPath:B}}},[H.create(":payload",{transform:{payload:{toState:N,toPath:V}}})])])}};function U(t){return Array.isArray(t)||"function"==typeof t?t:t?[t]:[]}function Z(t,e,n){return"object"==typeof t?t:Array.isArray(e)||"function"==typeof e||e&&"_isRoute"in e?{path:t,children:U(e)}:n?{path:t,...e,children:U(n)}:{path:t,...e}}let W={};function z(t){return t.split("/").every(t=>!t)}function G(t){let{path:e,scope:n,transform:r,children:i}=t;if(!e)throw TypeError("Missing path");let o=function(t){let[e]=t.split("?"),n=e.split("/").map(P).filter(Boolean);return{raw:t,segments:n}}(e);return{_isRoute:!0,scope:n,route:o,children:i||[],transform:r,encode(t){return function(t,e){L("Resolving path from state %o",e);let n=function t(e,n){if(!n)return D([],[],[]);let r=e.scope?n[e.scope]:n,i=e.route.segments.filter(t=>"param"===t.type).map(t=>t.name),o=m()(r)?Object.keys(r):[],a=h()(o,i),s=f()(i,a),u=f()(o,a);if(s.length>0)return D([],s,[]);if(0===u.length)return D([e],[],[]);let l=I(("function"==typeof e.children?e.children(m()(r)?r:{}):e.children)||[]);if(u.length>0&&0===l.length)return D([],u,[]);let c=y()(r,u),d={nodes:[],remaining:[],missing:[]};return(I(l).some(e=>(d=t(e,c)).nodes.length>0),0===d.nodes.length)?D([],s,u):D([e,...d.nodes],d.missing,d.remaining)}(t,e);if(n.remaining.length>0){let t=n.remaining;throw Error("Unable to find matching route for state. Could not map the following state key".concat(1==t.length?"":"s"," to a valid url: ").concat(t.join(", ")))}if(0===n.nodes.length)throw Error("Unable to resolve path from given state: ".concat(JSON.stringify(e)));let r=e,i=l()(n.nodes.map(t=>(t.scope&&t.scope in r&&(r=r[t.scope]),t.route.segments.map(e=>{if("dir"===e.type)return e.name;let n=t.transform&&t.transform[e.name];return n?n.toPath(r[e.name]):r[e.name]})))).join("/");return L("Resolved to /%s",i),"/".concat(i)}(this,t)},decode(t){return function(t,e){L("resolving state from path %s",e);let n=function t(e,n){let r=n.split("/").filter(Boolean),i=e.route.segments.length;if(r.length<i)return null;let o={},a=e.route.segments.every((t,n)=>{if("dir"===t.type)return t.name===r[n];let i=e.transform&&e.transform[t.name];return o[t.name]=i?i.toState(r[n]):r[n],!0});if(!a)return null;let s=r.slice(i),u=null,l="function"==typeof e.children?I(e.children(o)):e.children;if(l.some(e=>{if(e)return u=t(e,s.join("/"))}),s.length>0&&!u)return null;
13let c={...o,...u||{}};return e.scope?{[e.scope]:c}:c}(t,e.split("?")[0]);return L("resolved: %o",n||null),n||null}(this,t)},isRoot:z,isNotFound(t){return null===this.decode(t)},getBasePath(){return this.encode(W)},getRedirectBase(t){if(z(t)){let e=this.getBasePath();if(t!==e)return e}return null}}}function $(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b(),{state:e}=x(),[n,r]=(0,o.useState)(()=>t(e));return(0,o.useEffect)(()=>r(t(e)),[t,e]),n}(r=t=>t.children(t.router)).displayName||r.name},91458:function(t,e,n){"use strict";n.d(e,{r:function(){return b},t:function(){return d}});var r=n(52027);function i(t,e,n){return delete t[e],t[e]=n,n}function o(t,e,n,r){let i=t.value,o=e.value;return r?{type:"array",action:"changed",isChanged:!0,fromValue:i,toValue:o,items:n,annotation:e.annotation}:{type:"array",action:"unchanged",isChanged:!1,fromValue:i,toValue:o,items:n}}function a(t,e,n){if(t.length!==e.length)return;let r=[];for(let i=0;i<t.length;i++){let o=d(t.at(i),e.at(i),n);if(o.isChanged)return;r.push({fromIndex:i,toIndex:i,hasMoved:!1,diff:o,annotation:e.annotationAt(i)})}return r}function s(t,e){if(void 0!==t.toIndex&&void 0!==e.toIndex)return t.toIndex-e.toIndex;if(void 0!==t.fromIndex&&void 0!==e.fromIndex)return t.fromIndex-e.fromIndex;if(void 0!==t.fromIndex&&void 0!==e.toIndex)return -1;if(void 0!==t.toIndex&&void 0!==e.fromIndex)return 1;throw Error("invalid item diff comparison")}function u(t,e,n){let r=t.get(e);(function(t,e){let n=t.indexOf(e);if(-1===n)throw Error("value not found");t.splice(n,1)})(r,n),0===r.length&&t.delete(e)}function l(t){let e=new Map,n=[],r=t.length;for(let i=0;i<r;i++){let r=t.at(i),o=null;switch(r.type){case"string":o="s".concat(r.value);break;case"number":case"boolean":o=r.value;break;case"null":o="n";break;case"object":{let t=r.get("_key");if(t&&"string"===t.type&&(o="k".concat(t.value),e.has(o)))return}}if(null===o)return;n.push(o);let a=e.get(o);a||(a=[],e.set(o,a)),a.push(i)}return{keys:n,index:e}}let c=new r.diff_match_patch,f=new Set(["_id","_type","_createdAt","_updatedAt","_rev","_weak"]);function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.type!==e.type?"null"===t.type?p(e,null):"null"===e.type?h(t,null):{type:"typeChange",action:"changed",isChanged:!0,fromType:t.type,fromValue:t.value,fromDiff:h(t,void 0),toType:e.type,toValue:e.value,toDiff:p(e,void 0),annotation:e.annotation}:function(t,e,n,m){switch(t){case"null":return{type:"null",action:"unchanged",isChanged:!1,toValue:null,fromValue:null};case"boolean":return function(t,e,n){let r=t.value,i=e.value,o=t.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:t.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:e.annotation}}(e,n);case"number":return function(t,e,n){let r=t.value,i=e.value,o=t.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:t.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:e.annotation}}(e,n);case"string":return function(t,e,n){let o=t.value,a=e.value;return o===a?{type:"string",action:"unchanged",isChanged:!1,fromValue:o,toValue:a,segments:[{type:"stringSegment",action:"unchanged",text:o}]}:{type:"string",action:"changed",isChanged:!0,fromValue:o,toValue:a,annotation:e.annotation,get segments(){let n=function(t,e){let n=[],i=c.diff_main(t.value,e.value);c.diff_cleanupSemantic(i);let o=0,a=0;for(let[s,u]of i)switch(s){case r.DIFF_EQUAL:n.push({type:"stringSegment",action:"unchanged",text:u}),o+=u.length,a+=u.length;break;
13case r.DIFF_DELETE:for(let e of t.sliceAnnotation(o,o+u.length))n.push({type:"stringSegment",action:"removed",text:e.text,annotation:e.annotation});o+=u.length;break;case r.DIFF_INSERT:for(let t of e.sliceAnnotation(a,a+u.length))n.push({type:"stringSegment",action:"added",text:t.text,annotation:t.annotation});a+=u.length;break;default:throw Error('Unhandled diff-match-patch operation "'.concat(s,'"'))}return n}(t,e);return i(this,"segments",n)}}}(e,n);case"array":return function(t,e,n){if(t===e){let r=t.value,o=e.value;return{type:"array",action:"unchanged",isChanged:!1,fromValue:r,toValue:o,get items(){let r=a(t,e,n);if(!r)throw Error("invariant broken: equivalent input, but diff detected");return i(this,"items",r)}}}let r=l(t),c=l(e);if(r&&c)return function(t,e,n,r,i){let a=[],l=!1;function c(i,o,s,c){u(e.index,i,o),u(r.index,i,s);let f=t.at(o),h=n.at(s),p=d(f,h);a.push({fromIndex:o,toIndex:s,hasMoved:c,diff:p,annotation:n.annotationAt(s)}),(p.isChanged||o!==s)&&(l=!0)}let f=function(t,e){let n=function(t,e){let n=t.length,r=e.length,i=0,o=0,a=Array(n+1);for(i=0;i<n+1;i++)for(o=0,a[i]=[r+1];o<r+1;o++)a[i][o]=0;for(i=1;i<n+1;i++)for(o=1;o<r+1;o++)t[i-1]===e[o-1]?a[i][o]=a[i-1][o-1]+1:a[i][o]=Math.max(a[i-1][o],a[i][o-1]);return a}(t,e),r=function(t,e,n){let r=e.length,i=n.length,o={sequence:[],prevIndices:[],nextIndices:[]};for(;0!==r&&0!==i;){let a=e[r-1]===n[i-1];if(a)o.sequence.unshift(e[r-1]),o.prevIndices.unshift(r-1),o.nextIndices.unshift(i-1),--r,--i;else{let e=t[r][i-1],n=t[r-1][i];e>n?--i:--r}}return o}(n,t,e);return r}(e.keys,r.keys);for(let n=0;n<e.keys.length;n++){let i=e.keys[n],o=f.prevIndices.indexOf(n);if(-1!==o){c(i,n,f.nextIndices[o],!1);continue}let s=r.index.get(i),u=s&&s.find(t=>!f.nextIndices.includes(t));if(void 0!==u){c(i,n,u,!0);continue}let d=t.at(n);a.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:h(d,void 0),annotation:t.annotationAt(n)}),l=!0}for(let t of r.index.values()){for(let e of t){let t=n.at(e);a.push({fromIndex:void 0,toIndex:e,hasMoved:!1,diff:p(t,void 0),annotation:n.annotationAt(e)})}l=!0}return a.sort(s),o(t,n,a,l)}(t,r,e,c);let f=a(t,e,n);return f?o(t,e,f,!1):function(t,e,n){let r=[];for(let t=0;t<e.length;t++){let n=e.at(t);r.push({fromIndex:void 0,toIndex:t,hasMoved:!1,diff:p(n,void 0),annotation:n.annotation})}for(let e=0;e<t.length;e++){let n=t.at(e);r.push({fromIndex:e,toIndex:void 0,hasMoved:!1,diff:h(n,void 0),annotation:n.annotation})}return o(t,e,r,!0)}(t,e)}(e,n,m);case"object":return function(t,e,n){let r={},i=!1;for(let o of t.keys){if(f.has(o))continue;let a=t.get(o),s=e.get(o);if(s){let t=d(a,s,n);r[o]=t,t.isChanged&&(i=!0)}else r[o]=h(a,void 0),i=!0}for(let n of e.keys){if(f.has(n)||t.get(n))continue;let o=e.get(n);r[n]=p(o,void 0),i=!0}let o=t.value,a=e.value;return i?{type:"object",action:"changed",isChanged:!0,fromValue:o,toValue:a,fields:r,annotation:e.annotation}:{type:"object",action:"unchanged",isChanged:!1,fromValue:o,toValue:a,fields:r}}(e,n,m);default:throw Error('Unhandled diff type "'.concat(t,'"'))}}(t.type,t,e,n)}function h(t,e,n){switch(t.type){case"null":return{type:"null",action:"removed",isChanged:!0,fromValue:null,toValue:e,annotation:t.annotation};case"boolean":return{type:"boolean",action:"removed",isChanged:!0,fromValue:t.value,toValue:e,annotation:t.annotation};case"number":return{type:"number",action:"removed",isChanged:!0,fromValue:t.value,toValue:e,annotation:t.annotation};case"string":return{type:"string",action:"removed",isChanged:!0,fromValue:t.value,toValue:e,annotation:t.annotation,get segments(){let e=t.sliceAnnotation(0,t.value.length).map(t=>({type:"stringSegment",action:"removed",...t}));return i(this,"segments",e)}};case"array":return{type:"array",action:"removed",isChanged:!0,fromValue:t.value,toValue:e,annotation:t.annotation,get items(){let e=[];for(let n=0;n<t.length;n++){let r=t.at(n);e.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:h(r,void 0),annotation:t.annotationAt(n)})}return i(this,"items",e)}};case"object":return{type:"object",action:"removed",isChanged:!0,fromValue:t.value,toValue:e,annotation:t.annotation,get fields(){let e={};for(let n of t.keys){let r=t.get(n);e[n]=h(r,void 0)}return i(this,"fields",e)}};default:throw Error("Unhandled diff type")}}function p(t,e,n){switch(t.type){case"null":return{type:"null",action:"added",isChanged:!0,fromValue:e,toValue:null,annotation:t.annotation};case"boolean":return{type:"boolean",action:"added",isChanged:!0,fromValue:e,toValue:t.value,annotation:t.annotation};case"number":return{type:"number",action:"added",isChanged:!0,fromValue:e,toValue:t.value,annotation:t.annotation};case"string":return{type:"string",action:"added",isChanged:!0,fromValue:e,toValue:t.value,annotation:t.annotation,get segments(){let e=t.sliceAnnotation(0,t.value.length).map(t=>({type:"stringSegment",action:"added",...t}));return i(this,"segments",e)}};case"array":return{type:"array",action:"added",isChanged:!0,fromValue:e,toValue:t.value,annotation:t.annotation,get items(){let e=[];for(let n=0;n<t.length;n++){let r=t.at(n);e.push({fromIndex:void 0,toIndex:n,hasMoved:!1,diff:p(r,void 0),annotation:t.annotationAt(n)})}return i(this,"items",e)}};case"object":return{type:"object",action:"added",isChanged:!0,fromValue:e,toValue:t.value,annotation:t.annotation,get fields(){let e={};for(let n of t.keys){let r=t.get(n);e[n]=p(r,void 0)}return i(this,"fields",e)}};default:throw Error("Unhandled diff type")}}class m{constructor(t,e){this.type="array",this.elements=[],this.annotation=e,this.value=t,this.length=t.length}at(t){if(t>=this.length)throw Error("out of bounds");let e=this.elements[t];return e||(this.elements[t]=b(this.value[t],this.annotation))}annotationAt(){return this.annotation}}class g{constructor(t,e){this.type="object",this.fields={},this.value=t,this.annotation=e,this.keys=Object.keys(t)}get(t){let e=this.fields[t];if(e)return e;if(!this.value.hasOwnProperty(t))return;let n=this.value[t];return this.fields[t]=b(n,this.annotation)}}class y{constructor(t,e){this.type="string",this.value=t,this.annotation=e}sliceAnnotation(t,e){return[{text:this.value.slice(t,e),annotation:this.annotation}]}}class v{constructor(t,e,n){this.type=t,this.value=e,this.annotation=n}}function b(t,e){if(Array.isArray(t))return new m(t,e);if(null===t)return new v("null",t,e);let n=typeof t;switch(n){case"number":case"boolean":return new v(n,t,e);case"object":return new g(t,e);case"string":return new y(t,e);default:throw Error("cannot wrap value of type: ".concat(n))}}},18254:function(t,e,n){"use strict";n.d(e,{W6:function(){return tn},kC:function(){return I},mm:function(){return K}});var r=n(85564),i=n.n(r),o=n(39693),a=n.n(o),s=n(18446),u=n.n(s),l=n(53632),c=n.n(l),f=n(6162),d=n.n(f),h=n(52027),p=n(25934),m=n(90634),g=n.n(m);let y=/[0-9]/,v=/^[a-zA-Z0-9_]$/,b=/^[a-zA-Z_]$/,w={operator:["..",".",",",":","?"],comparator:[">",">=","<","<=","==","!="],keyword:["$","@"],boolean:["true","false"],paren:["[","]"]},x=Object.keys(w);class C{constructor(t){this.source=t,this.length=t.length,this.i=0,this.tokenizers=[this.tokenizeSymbol,this.tokenizeIdentifier,this.tokenizeNumber,this.tokenizeQuoted].map(t=>t.bind(this))}tokenize(){let t=[];for(;!this.EOF();){this.chompWhitespace();let e=null,n=this.tokenizers.some(t=>Boolean(e=t()));if(!n||!e)throw Error("Invalid tokens in jsonpath '".concat(this.source,"' @ ").concat(this.i));t.push(e)}return t}takeWhile(t){let e=this.i,n="";for(;!this.EOF();){let e=t(this.source[this.i]);if(null===e)break;n+=e,this.i++}return this.i===e?null:n}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.source[this.i]}consume(t){if(this.i+t.length>this.length)throw Error("Expected ".concat(t," at end of jsonpath"));if(t===this.source.slice(this.i,this.i+t.length))this.i+=t.length;else throw Error('Expected "'.concat(t,'", but source contained "').concat(this.source.slice()))}tryConsume(t){return this.i+t.length>this.length?null:t===this.source.slice(this.i,this.i+t.length)?(this.i+=t.length,t):null}chompWhitespace(){this.takeWhile(t=>" "===t?"":null)}tokenizeQuoted(){let t=this.peek();if("'"===t||'"'===t){this.consume(t);let e=!1,n=this.takeWhile(n=>e?(e=!1,n):"\\"===n?(e=!0,""):n!=t?n:null);return this.consume(t),{type:"quoted",value:n,quote:'"'===t?"double":"single"}}return null}tokenizeIdentifier(){let t=!0,e=this.takeWhile(e=>t?(t=!1,e.match(b)?e:null):e.match(v)?e:null);return null!==e?{type:"identifier",name:e}:null}tokenizeNumber(){let t=this.i,e=!1,n=!1,r=!1;"-"===this.peek()&&(r=!0,this.consume("-"));let i=this.takeWhile(t=>"."===t&&!e&&n?(e=!0,t):(n=!0,t.match(y)?t:null));return null!==i?{type:"number",value:r?-i:+i,raw:r?"-".concat(i):i}:(this.i=t,null)}tokenizeSymbol(){for(let t of x){let e=w[t],n=e.find(t=>this.tryConsume(t));if(n)return{type:t,symbol:n}}return null}}class E{constructor(t){this.tokens=new C(t).tokenize(),this.length=this.tokens.length,this.i=0}parse(){return this.parsePath()}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.tokens[this.i]}consume(){let t=this.peek();return this.i+=1,t}probe(t){let e=this.peek();if(!e)return null;let n=Object.keys(t).every(n=>
13n in e&&t[n]===e[n]);return n?e:null}match(t){return this.probe(t)?this.consume():null}parseAttribute(){let t=this.match({type:"identifier"});if(t&&"identifier"===t.type)return{type:"attribute",name:t.name};let e=this.match({type:"quoted",quote:"single"});return e&&"quoted"===e.type?{type:"attribute",name:e.value||""}:null}parseAlias(){return this.match({type:"keyword",symbol:"@"})||this.match({type:"keyword",symbol:"$"})?{type:"alias",target:"self"}:null}parseNumber(){let t=this.match({type:"number"});return t&&"number"===t.type?{type:"number",value:t.value}:null}parseNumberValue(){let t=this.parseNumber();return t?t.value:null}parseSliceSelector(){let t=this.i,e=this.parseNumberValue(),n=this.match({type:"operator",symbol:":"});if(!n)return null===e?(this.i=t,null):{type:"index",value:e};let r={type:"range",start:e,end:this.parseNumberValue()},i=this.match({type:"operator",symbol:":"});return(i&&(r.step=this.parseNumberValue()),null===r.start&&null===r.end)?(this.i=t,null):r}parseValueReference(){return this.parseAttribute()||this.parseSliceSelector()}parseLiteralValue(){let t=this.match({type:"quoted",quote:"double"});if(t&&"quoted"===t.type)return{type:"string",value:t.value||""};let e=this.match({type:"boolean"});return e&&"boolean"===e.type?{type:"boolean",value:"true"===e.symbol}:this.parseNumber()}parseFilterExpression(){let t=this.i,e=this.parseAttribute()||this.parseAlias();if(!e)return null;if(this.match({type:"operator",symbol:"?"}))return{type:"constraint",operator:"?",lhs:e};let n=this.match({type:"comparator"});if(!n||"comparator"!==n.type)return this.i=t,null;let r=this.parseLiteralValue();if(!r)throw Error("Operator ".concat(n.symbol," needs a literal value at the right hand side"));return{type:"constraint",operator:n.symbol,lhs:e,rhs:r}}parseExpression(){return this.parseFilterExpression()||this.parseValueReference()}parseUnion(){if(!this.match({type:"paren",symbol:"["}))return null;let t=[],e=this.parseFilterExpression()||this.parsePath()||this.parseValueReference();for(;e&&(t.push(e),!this.match({type:"paren",symbol:"]"}));){if(!this.match({type:"operator",symbol:","}))throw Error("Expected ]");if(!(e=this.parseFilterExpression()||this.parsePath()||this.parseValueReference()))throw Error("Expected expression following ','")}return{type:"union",nodes:t}}parseRecursive(){if(!this.match({type:"operator",symbol:".."}))return null;let t=this.parsePath();if(!t)throw Error("Expected path following '..' operator");return{type:"recursive",term:t}}parsePath(){let t=[],e=this.parseAttribute()||this.parseUnion()||this.parseRecursive();if(!e)return null;for(t.push(e);!this.EOF();){if(this.match({type:"operator",symbol:"."})){let e=this.parseAttribute();if(!e)throw Error("Expected attribute name following '.");t.push(e);continue}if(this.probe({type:"paren",symbol:"["})){let e=this.parseUnion();if(!e)throw Error("Expected union following '['");t.push(e)}else{let e=this.parseRecursive();e&&t.push(e);break}}return 1===t.length?t[0]:{type:"path",nodes:t}}}function k(t){let e=new E(t).parse();if(!e)throw Error('Failed to parse JSON path "'.concat(t,'"'));return e}function S(t){if("path"!==t.type)return[t,null];let e=t.nodes;return 0===e.length?[null,null]:1===e.length?[e[0],null]:[e[0],{type:"path",nodes:e.slice(1)}]}class R{constructor(t){if(!t)throw Error("Attempted to create Expression from null-value");if("expr"in t?this.expr=t.expr:this.expr=t,!("type"in this.expr))throw Error("Attempt to create Expression for expression with no type")}isPath(){return"path"===this.expr.type}isUnion(){return"union"===this.expr.type}isCollection(){return this.isPath()||this.isUnion()}isConstraint(){return"constraint"===this.expr.type}isRecursive(){return"recursive"===this.expr.type}isExistenceConstraint(){return"constraint"===this.expr.type&&"?"===this.expr.operator}isIndex(){return"index"===this.expr.type}isRange(){return"range"===this.expr.type}expandRange(t){let e="start"in this.expr&&this.expr.start||0;e=A(e,t);let n="end"in this.expr&&this.expr.end||(()=>{if(!t)throw Error("expandRange() required a probe that was not passed");return t.length()})();n=A(n,t);let r="step"in this.expr&&this.expr.step||1;return{start:e,end:n,step:r}}isAttributeReference(){return"attribute"===this.expr.type}isIndexReference(){return this.isIndex()||this.isRange()}name(){return"name"in this.expr?this.expr.name:""}isSelfReference(){return"alias"===this.expr.type&&"self"===this.expr.target}constraintTargetIsSelf(){return"constraint"===this.expr.type&&"alias"===this.expr.lhs.type&&"self"===this.expr.lhs.target}constraintTargetIsAttribute(){return"constraint"===this.expr.type&&"attribute"===this.expr.lhs.type}testConstraint(t){let e=this.expr;if("constraint"===e.type&&"alias"===e.lhs.type&&"self"===e.lhs.target){if("primitive"!==t.containerType())return!1;if("constraint"===e.type&&"?"===e.operator)return!0;
13let n=t.get(),r=e.rhs&&"value"in e.rhs?e.rhs.value:void 0;return _(n,e.operator,r)}if("constraint"!==e.type)return!1;let n=e.lhs;if(!n)throw Error("No LHS of expression");if("attribute"!==n.type)throw Error("Constraint target ".concat(n.type," not supported"));if("object"!==t.containerType())return!1;let r=t.getAttribute(n.name);if(null==r||"primitive"!==r.containerType())return!1;if(this.isExistenceConstraint())return!0;let i=e.rhs&&"value"in e.rhs?e.rhs.value:void 0;return _(r.get(),e.operator,i)}pathNodes(){return"path"===this.expr.type?this.expr.nodes:[this.expr]}prepend(t){return t?new R({type:"path",nodes:t.pathNodes().concat(this.pathNodes())}):this}concat(t){return t?t.prepend(this):this}descend(){return(function(t){let[e,n]=S(t);if(!e)throw Error("Head cannot be null");return"union"!==e.type?[[e,n]]:e.nodes.map(t=>{if("path"===t.type){let[e,r]=S(t);return[e,function(t,e){if(!t&&!e)return null;let n=t?t.nodes:[],r=e?e.nodes:[];return{type:"path",nodes:n.concat(r)}}(r,n)]}return[t,n]})})(this.expr).map(t=>{let[e,n]=t;return{head:e?new R(e):null,tail:n?new R(n):null}})}unwrapRecursive(){if("recursive"!==this.expr.type)throw Error("Attempt to unwrap recursive on type ".concat(this.expr.type));return new R(this.expr.term)}toIndicies(t){if("index"!==this.expr.type&&"range"!==this.expr.type)throw Error("Node cannot be converted to indexes");if("index"===this.expr.type)return[A(this.expr.value,t)];let e=[],n=this.expandRange(t),{start:r,end:i}=n;n.step<0&&([r,i]=[i,r]);for(let t=r;t<i;t++)e.push(t);return e}toFieldReferences(){if(this.isIndexReference())return this.toIndicies();if("attribute"===this.expr.type)return[this.expr.name];throw Error("Can't convert ".concat(this.expr.type," to field references"))}toString(){return function t(e,n){switch(e.type){case"attribute":return e.name;case"alias":return"self"===e.target?"@":"$";case"number":return"".concat(e.value);case"range":{let t=[];return n||t.push("["),e.start&&t.push("".concat(e.start)),t.push(":"),e.end&&t.push("".concat(e.end)),e.step&&t.push(":".concat(e.step)),n||t.push("]"),t.join("")}case"index":if(n)return"".concat(e.value);return"[".concat(e.value,"]");case"constraint":{let r=e.rhs?" ".concat(t(e.rhs,!1)):"",i="".concat(t(e.lhs,!1)," ").concat(e.operator).concat(r);if(n)return i;return"[".concat(i,"]")}case"string":return JSON.stringify(e.value);case"path":{let n=[],r=e.nodes.slice();for(;r.length>0;){let e=r.shift();e&&n.push(t(e,!1));let i=r[0];i&&"["!==t(i,!1)[0]&&n.push(".")}return n.join("")}case"union":return"[".concat(e.nodes.map(e=>t(e,!0)).join(","),"]");default:throw Error("Unknown node type ".concat(e.type));case"recursive":return"..".concat(t(e.term,!1))}}(this.expr,!1)}static fromPath(t){let e=k(t);if(!e)throw Error('Failed to parse path "'.concat(t,'"'));return new R(e)}static attributeReference(t){return new R({type:"attribute",name:t})}static indexReference(t){return new R({type:"index",value:t})}}function _(t,e,n){switch(e){case">":return t>n;case">=":return t>=n;case"<":return t<n;case"<=":return t<=n;case"==":return t===n;case"!=":return t!==n;default:throw Error("Unsupported binary operator ".concat(e))}}function A(t,e){if(t>=0)return t;if(!e)throw Error("interpretNegativeIndex() must have a probe when < 0");return t+e.length()}class M{constructor(t,e){this.head=t,this.tail=e}iterate(t){let e=[this];if(this.head&&this.head.isConstraint()){let n=!0;for(;n;)n=(e=i()(e.map(e=>e.iterateConstraints(t)))).some(t=>t.head&&t.head.isConstraint())}return e}isRecursive(){return Boolean(this.head&&this.head.isRecursive())}hasArrived(){return null===this.head&&null===this.tail}extractRecursives(){if(this.head&&this.head.isRecursive()){let t=this.head.unwrapRecursive();return new M(null,t.concat(this.tail)).descend()}return[]}iterateConstraints(t){let e=this.head;if(null===e||!e.isConstraint())return[this];let n=[];if("primitive"===t.containerType()&&e.constraintTargetIsSelf())return e.testConstraint(t)&&n.push(...this.descend()),n;if("array"===t.containerType()){let r=t.length();for(let i=0;i<r;i++){let r=t.getIndex(i);r&&e.testConstraint(r)&&n.push(new M(new R({type:"index",value:i}),this.tail))}return n}if("object"===t.containerType()){if(e.constraintTargetIsSelf())return[];if(e.testConstraint(t))return this.descend()}return n}
13descend(){return this.tail?this.tail.descend().map(t=>new M(t.head,t.tail)):[new M(null,null)]}toString(){let t=["<"];return this.head&&t.push(this.head.toString()),t.push("|"),this.tail&&t.push(this.tail.toString()),t.push(">"),t.join("")}}class j{constructor(t,e){this.active=t||[],e?(this.recursives=e.recursives,this.payload=e.payload):this.recursives=[],this.extractRecursives()}setPayload(t){return this.payload=t,this}extractRecursives(){this.active=this.active.filter(t=>!t.isRecursive()||(this.recursives.push(...t.extractRecursives()),!1))}activeRecursives(t){return this.recursives.filter(e=>{let n=e.head;return!!n&&(!!(n.isConstraint()||"array"===t.containerType()&&n.isIndexReference())||"object"===t.containerType()&&n.isAttributeReference()&&t.hasAttribute(n.name()))})}match(t){return this.iterate(t).extractMatches(t)}iterate(t){let e=[];return this.active.concat(this.activeRecursives(t)).forEach(n=>{e.push(...n.iterate(t))}),new j(e,this)}isDestination(){return this.active.some(t=>t.hasArrived())}hasRecursives(){return this.recursives.length>0}extractMatches(t){let e=[],n=[];if(this.active.forEach(r=>{if(r.hasArrived()){n.push(new R({type:"alias",target:"self"}));return}let i=r.head;if(i&&("array"!==t.containerType()||i.isIndexReference())&&("object"!==t.containerType()||i.isAttributeReference())){if(r.tail){let t=new j(r.descend(),this);i.toFieldReferences().forEach(()=>{e.push({target:i,matcher:t})})}else n.push(i)}}),this.hasRecursives()){let n=new j([],this);if("array"===t.containerType()){let r=t.length();for(let t=0;t<r;t++)e.push({target:R.indexReference(t),matcher:n})}else"object"===t.containerType()&&t.attributeKeys().forEach(t=>{e.push({target:R.attributeReference(t),matcher:n})})}return n.length>0?{leads:e,delivery:{targets:n,payload:this.payload}}:{leads:e}}static fromPath(t){let e=k(t);if(!e)throw Error('Failed to parse path from "'.concat(t,'"'));let n=new M(null,new R(e));return new j(n.descend())}}function O(t){return null!==t&&"object"==typeof t}class T{constructor(t,e){this._value=t,this.path=e||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(t){return!!Array.isArray(this._value)&&(t>=this.length()?null:new T(this._value[t],this.path.concat(t)))}hasAttribute(t){return!!O(this._value)&&this._value.hasOwnProperty(t)}attributeKeys(){return O(this._value)?Object.keys(this._value):[]}getAttribute(t){if(!O(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(t)?new T(this._value[t],this.path.concat(t)):null}get(){return this._value}}function P(t,e){let n=[];if(t.isIndexReference())t.toIndicies(e).forEach(t=>{n.push(e.getIndex(t))});else if(t.isAttributeReference())n.push(e.getAttribute(t.name()));else if(t.isSelfReference())n.push(e);else throw Error("Unable to derive accessor for target ".concat(t.toString()));return a()(n)}let L=/^[a-z_$]+/;function I(t){let e="";return t.forEach((t,n)=>{e+="number"==typeof t?"[".concat(t,"]"):O(t)?Object.keys(t).map(e=>!function(t){switch(typeof t){case"number":case"string":case"boolean":return!0;default:return!1}}(t[e])?"":"[".concat(e,'=="').concat(t[e],'"]')).join(""):"string"==typeof t&&L.test(t)?0===n?t:".".concat(t):"['".concat(t,"']")}),e}class D{constructor(t,e,n){this.id=t,this.path=e,this.value=n}apply(t,e){let n=e;return t.forEach(t=>{if(t.isSelfReference())n=n.set(this.value);else if(t.isIndexReference())t.toIndicies(e).forEach(t=>{n=n.setIndex(t,this.value)});else if(t.isAttributeReference())n=n.setAttribute(t.name(),this.value);else throw Error("Unable to apply to target ".concat(t.toString()))}),n}}function N(t,e){return"number"==typeof t&&Number.isFinite(t)?t+e:t}class V{constructor(t,e,n){this.path=e,this.value=n,this.id=t}apply(t,e){let n=e;if("primitive"===n.containerType())return n;for(let r of t){if(r.isIndexReference()){for(let t of r.toIndicies(e)){let e=n.getIndex(t);if(!e)continue;let r=e.get();n=n.setIndex(t,N(r,this.value))}continue}if(r.isAttributeReference()){let t=n.getAttribute(r.name());if(!t)continue;let e=t.get();n=n.setAttribute(r.name(),N(e,this.value));continue}throw Error("Unable to apply to target ".concat(r.toString()))}return n}}function F(t,e){let n=[];return t.forEach(t=>{t.isIndexReference()&&n.push(...t.toIndicies(e))}),n.sort()}class B{constructor(t,e,n,r){this.id=t,this.location=e,this.path=n,this.items=r}apply(t,e){let n=e;if("array"!==e.containerType())throw Error("Attempt to apply insert patch to non-array value");switch(this.location){case"before":{let r;let i=(r=c()(F(t,e))||0,t.forEach(t=>{if(t.isRange()){let{start:e}=t.expandRange();e<r&&(r=e)}}),r);n=n.insertItemsAt(i,this.items);break}case"after":{let r;let i=(r=d()(F(t,e))||0,t.forEach(t=>{if(t.isRange()){let{end:e}=t.expandRange();e>r&&(r=e)}}),r);n=n.insertItemsAt(i+1,this.items);break}case"replace":{let r=F(t,e);n=(n=n.unsetIndices(r)).insertItemsAt(r[0],this.items);break}default:throw Error("Unsupported location atm: ".concat(this.location))}return n}}class H{constructor(t,e,n){this.id=t,this.path=e,this.value=n}apply(t,e){let n=e;return t.forEach(t=>{if(t.isIndexReference());else if(t.isAttributeReference())n.hasAttribute(t.name())||(n=e.setAttribute(t.name(),this.value));else throw Error("Unable to apply to target ".concat(t.toString()))}),n}}class U{constructor(t,e){this.id=t,this.path=e}apply(t,e){let n=e;switch(e.containerType()){case"array":n=n.unsetIndices(F(t,e));break;case"object":t.forEach(t=>{n=n.unsetAttribute(t.name())});break;default:throw Error("Target value is neither indexable or an object. This error should potentially just be silently ignored?")}return n}}let Z=new h.diff_match_patch;function W(t,e){return"string"!=typeof e?e:Z.patch_apply(t,e)[0]}class z{constructor(t,e,n){this.id=t,this.path=e,this.dmpPatch=Z.patch_fromText(n)}apply(t,e){let n=e;if("primitive"===n.containerType())return n;for(let r of t){if(r.isIndexReference()){for(let t of r.toIndicies(e)){let e=n.getIndex(t);if(!e)continue;let r=e.get(),i=W(this.dmpPatch,r);n=n.setIndex(t,i)}continue}if(r.isAttributeReference()&&n.hasAttribute(r.name())){let t=n.getAttribute(r.name());if(!t)continue;let e=t.get(),i=W(this.dmpPatch,e);n=n.setAttribute(r.name(),i);continue}throw Error("Unable to apply diffMatchPatch to target ".concat(r.toString()))}return n}}class G{constructor(t,e){this._value=t,this.path=e||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}get(){return this._value}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(t){return!!Array.isArray(this._value)&&(t>=this.length()?null:new G(this._value[t],this.path.concat(t)))}hasAttribute(t){return!!$(this._value)&&this._value.hasOwnProperty(t)}attributeKeys(){return $(this._value)?Object.keys(this._value):[]}getAttribute(t){if(!$(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(t)?new G(this._value[t],this.path.concat(t)):null}set(t){return t===this._value?this:new G(t,this.path)}setIndex(t,e){if(!Array.isArray(this._value))throw Error("setIndex only applies to arrays");if(Object.is(e,this._value[t]))return this;let n=this._value.slice();return n[t]=e,new G(n,this.path)}setIndexAccessor(t,e){return this.setIndex(t,e.get())}unsetIndices(t){if(!Array.isArray(this._value))throw Error("unsetIndices only applies to arrays");let e=this._value.length,n=[];for(let r=0;r<e;r++)-1===t.indexOf(r)&&n.push(this._value[r]);return new G(n,this.path)}insertItemsAt(t,e){let n;if(!Array.isArray(this._value))throw Error("insertItemsAt only applies to arrays");return n=0===this._value.length&&0===t?e:this._value.slice(0,t).concat(e).concat(this._value.slice(t)),new G(n,this.path)}setAttribute(t,e){if(!$(this._value))throw Error("Unable to set attribute of non-object container");if(Object.is(e,this._value[t]))return this;let n=Object.assign({},this._value,{[t]:e});return new G(n,this.path)}
13setAttributeAccessor(t,e){return this.setAttribute(t,e.get())}unsetAttribute(t){if(!$(this._value))throw Error("Unable to unset attribute of non-object container");let e=Object.assign({},this._value);return delete e[t],new G(e,this.path)}}function $(t){return null!==t&&"object"==typeof t}class q{constructor(t){this.patches=function t(e){let n=[];if(Array.isArray(e))return e.reduce((e,n)=>e.concat(t(n)),n);let{set:r,setIfMissing:i,unset:o,diffMatchPatch:a,inc:s,dec:u,insert:l}=e;if(r&&Object.keys(r).forEach(t=>{n.push(new D(e.id,t,r[t]))}),i&&Object.keys(i).forEach(t=>{n.push(new H(e.id,t,i[t]))}),o&&o.forEach(t=>{n.push(new U(e.id,t))}),a&&Object.keys(a).forEach(t=>{n.push(new z(e.id,t,a[t]))}),s&&Object.keys(s).forEach(t=>{n.push(new V(e.id,t,s[t]))}),u&&Object.keys(u).forEach(t=>{n.push(new V(e.id,t,-u[t]))}),l){let t,r;if("before"in l)t="before",r=l.before;else if("after"in l)t="after",r=l.after;else if("replace"in l)t="replace",r=l.replace;else throw Error("Invalid insert patch");n.push(new B(e.id,t,r,l.items))}return n}(t)}apply(t){let e=new G(t);return this.applyViaAccessor(e).get()}applyViaAccessor(t){let e=t,n=t.getAttribute("_id");if(!n)throw Error("Cannot apply patch to document with no _id");let r=n.get();for(let t of this.patches){if(t.id!==r)continue;let n=j.fromPath(t.path).setPayload(t);e=function t(e,n){var r;let i=n,{leads:o,delivery:a}=e.match(n);if(o.forEach(e=>{if(e.target.isIndexReference())e.target.toIndicies().forEach(n=>{let r=i.getIndex(n);if(!r)throw Error("Index out of bounds");i=i.setIndexAccessor(n,t(e.matcher,r))});else if(e.target.isAttributeReference()){let n=i.getAttribute(e.target.name());if(!n)return;let r=t(e.matcher,n);n!==r&&(i=i.setAttributeAccessor(e.target.name(),r))}else throw Error("Unable to handle target ".concat(e.target.toString()))}),a&&Boolean((r=a.payload)&&"object"==typeof r&&null!==r&&"apply"in r&&"function"==typeof r.apply)){let t=a.payload;i=t.apply(a.targets,i)}return i}(n,e)}return e}}let Y=p.Z,X=g()("mutator-document");class K{constructor(t){this.params=t}get transactionId(){return this.params.transactionId}get transition(){return this.params.transition}get identity(){return this.params.identity}get previousRev(){return this.params.previousRev}get resultRev(){return this.params.resultRev}get mutations(){return this.params.mutations}get timestamp(){if("string"==typeof this.params.timestamp)return new Date(this.params.timestamp)}get effects(){return this.params.effects}assignRandomTransactionId(){this.params.transactionId=Y(),this.params.resultRev=this.params.transactionId}appliesToMissingDocument(){if(void 0!==this._appliesToMissingDocument)return this._appliesToMissingDocument;let t=this.mutations[0];return t?this._appliesToMissingDocument=Boolean(t.create||t.createIfNotExists||t.createOrReplace):this._appliesToMissingDocument=!0,this._appliesToMissingDocument}compile(){let t=[];this.mutations.forEach(e=>{if(e.create){let n=e.create||{};t.push(t=>t||Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp}));return}if(e.createIfNotExists){let n=e.createIfNotExists||{};t.push(t=>null===t?Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp}):t);return}if(e.createOrReplace){let n=e.createOrReplace||{};t.push(()=>Object.assign(n,{_createdAt:n._createdAt||this.params.timestamp}));return}if(e.delete){t.push(()=>null);return}if(e.patch){if("query"in e.patch)return;let n=new q(e.patch);t.push(t=>n.apply(t));return}throw Error("Unsupported mutation ".concat(JSON.stringify(e,null,2)))}),"string"==typeof this.params.timestamp&&t.push(t=>t?Object.assign(t,{_updatedAt:this.params.timestamp}):null);let e=this.previousRev,n=this.resultRev||this.transactionId;this.compiled=r=>{if(e&&r&&e!==r._rev)throw Error("Previous revision for this mutation was ".concat(e,", but the document revision is ").concat(r._rev));let i=r;for(let e of t)i=e(i);return i&&n&&(i===r&&(i=Object.assign({},r)),i._rev=n),i}}apply(t){X("Applying mutation %O to document %O",this.mutations,t),this.compiled||this.compile();let e=this.compiled(t);return X(" => %O",e),e}static applyAll(t,e){return e.reduce((t,e)=>e.apply(t),t)}static squash(t,e){let n=e.reduce((t,e)=>t.concat(...e.mutations),[]);return new K({mutations:n})}}class J{constructor(t){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.lastStagedAt=null,this.reset(t),this.HEAD=t,this.EDGE=t}reset(t){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.HEAD=t,this.EDGE=t,this.considerIncoming(),this.updateConsistencyFlag()}arrive(t){this.incoming.push(t),this.considerIncoming(),this.updateConsistencyFlag()}stage(t,e){if(!t.transactionId)throw Error("Mutations _must_ have transactionId when submitted");this.lastStagedAt=new Date,X("Staging mutation %s (pushed to pending)",t.transactionId),this.pending.push(t),this.EDGE=t.apply(this.EDGE),this.onMutation&&!e&&this.onMutation({mutation:t,document:this.EDGE,remote:!1});let n=t.transactionId;return this.updateConsistencyFlag(),{success:()=>{this.pendingSuccessfullySubmitted(n),this.updateConsistencyFlag()},failure:()=>{this.pendingFailed(n),this.updateConsistencyFlag()}}}isConsistent(){return!this.inconsistentAt}considerIncoming(){let t,e=!1,n=[];if(this.HEAD&&this.HEAD._updatedAt){let t=new Date(this.HEAD._updatedAt);this.incoming.find(e=>e.timestamp&&e.timestamp<t)&&(this.incoming=this.incoming.filter(e=>e.timestamp&&e.timestamp<t))}let r=0;do{if(this.HEAD){let e=this.HEAD;t=e._rev?this.incoming.find(t=>t.previousRev===e._rev):void 0}else t=this.incoming.find(t=>t.appliesToMissingDocument());if(t){let i=this.applyIncoming(t);if((e=e||i)&&n.push(t),r++>10)throw Error("Mutator stuck flushing incoming mutations. Probably stuck here: ".concat(JSON.stringify(t)))}}while(t);this.incoming.length>0&&X.enabled&&X("Unable to apply mutations %s",this.incoming.map(t=>t.transactionId).join(", ")),e&&this.rebase(n)}updateConsistencyFlag(){let t=this.isConsistent(),e=0===this.pending.length&&0===this.submitted.length&&0===this.incoming.length;e?this.inconsistentAt=null:this.inconsistentAt||(this.inconsistentAt=new Date),t!=e&&this.onConsistencyChanged&&(e?X("Buffered document is inconsistent"):X("Buffered document is consistent"),this.onConsistencyChanged(e))}applyIncoming(t){if(!t)return!1;if(!t.transactionId)throw Error("Received incoming mutation without a transaction ID");if(X("Applying mutation %s -> %s to rev %s",t.previousRev,t.resultRev,this.HEAD&&this.HEAD._rev),this.HEAD=t.apply(this.HEAD),this.onRemoteMutation&&this.onRemoteMutation(t),this.incoming=this.incoming.filter(e=>e.transactionId!==t.transactionId),this.hasUnresolvedMutations()){let e=this.consumeUnresolved(t.transactionId);return X.enabled&&(X("Incoming mutation ".concat(t.transactionId," appeared while there were pending or submitted local mutations")),X("Submitted txnIds: ".concat(this.submitted.map(t=>t.transactionId).join(", "))),X("Pending txnIds: ".concat(this.pending.map(t=>t.transactionId).join(", "))),X("needRebase === %s",e)),e}return X("Remote mutation %s arrived w/o any pending or submitted local mutations",t.transactionId),this.EDGE=this.HEAD,this.onMutation&&this.onMutation({mutation:t,document:this.EDGE,remote:!0}),!1}hasUnresolvedMutations(){return this.submitted.length>0||this.pending.length>0}consumeUnresolved(t){if(0===this.submitted.length&&0===this.pending.length)return!1;if(0!==this.submitted.length){if(this.submitted[0].transactionId===t)return X("Remote mutation %s matches upcoming submitted mutation, consumed from 'submitted' buffer",t),this.submitted.shift(),!1}else if(this.pending.length>0&&this.pending[0].transactionId===t)return X("Remote mutation %s matches upcoming pending mutation, consumed from 'pending' buffer",t),this.pending.shift(),!1;return X("The mutation was not the upcoming mutation, scrubbing. Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),this.submitted=this.submitted.filter(e=>e.transactionId!==t),this.pending=this.pending.filter(e=>e.transactionId!==t),X("After scrubbing: Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),!0}pendingSuccessfullySubmitted(t){let e;if(0===this.pending.length)return;let n=this.pending[0];if(n.transactionId===t){this.pending.shift(),this.submitted.push(n);return}let r=[];this.pending.forEach(n=>{if(n.transactionId===t){e=n;return}r.push(n)}),e&&this.submitted.push(e),this.pending=r,this.rebase([])}pendingFailed(t){this.pending=this.pending.filter(e=>e.transactionId!==t),this.rebase([])}rebase(t){let e=this.EDGE;this.EDGE=K.applyAll(this.HEAD,this.submitted.concat(this.pending)),null!==e&&null!==this.EDGE&&(e._rev=this.EDGE._rev);let n=!u()(this.EDGE,e);n&&this.onRebase&&this.onRebase(this.EDGE,t,this.pending)}}class Q{constructor(t){this.out=[],t?X("Reset mutation buffer to rev %s",t._rev):X("Reset mutation buffer state to document being deleted"),this.staged=[],this.setOperations={},this.documentPresent=!1,this.BASIS=t,this.PRESTAGE=t,this.dmp=new h.diff_match_patch}add(t){t.mutations.forEach(t=>this.addOperation(t))}hasChanges(){return this.out.length>0||Object.keys(this.setOperations).length>0}purge(t){this.stashStagedOperations();let e=null;return this.out.length>0&&(X("Purged mutation buffer"),e=new K({mutations:this.out,resultRev:t,transactionId:t})),this.out=[],this.documentPresent=!1,e}addOperation(t){var e;if(t.patch&&t.patch.set&&"id"in t.patch&&t.patch.id===(null==(e=this.PRESTAGE)?void 0:e._id)&&2===Object.keys(t.patch).length){let e=t.patch.set,n={};for(let t of Object.keys(e))e.hasOwnProperty(t)&&!this.optimiseSetOperation(t,e[t])&&(n[t]=e[t]);Object.keys(n).length>0&&(X("Unoptimizable set-operation detected, purging optimization buffer"),this.staged.push({patch:{id:this.PRESTAGE._id,set:n}}),this.stashStagedOperations());return}if(t.createIfNotExists&&this.PRESTAGE&&t.createIfNotExists._id===this.PRESTAGE._id){this.documentPresent||(this.staged.push(t),this.documentPresent=!0,this.stashStagedOperations());return}X("Unoptimizable mutation detected, purging optimization buffer"),this.staged.push(t),this.stashStagedOperations()}optimiseSetOperation(t,e){if("object"==typeof e)return!1;let n=function(t,e){let n=function(t,e){let n=[],r=j.fromPath(t).setPayload(function(t){n.push(...t)}),i=new T(e);return function t(e,n){let{leads:r,delivery:i}=e.match(n);
13r.forEach(e=>{P(e.target,n).forEach(n=>{t(e.matcher,n)})}),i&&i.targets.forEach(t=>{"function"==typeof i.payload&&i.payload(P(t,n))})}(r,i),n}(t,e);return n.map(t=>({path:t.path,value:t.get()}))}(t,this.PRESTAGE);if(1!==n.length)return!1;let r=n[0];if("object"==typeof r.value||!this.PRESTAGE)return!1;let i=null;if(r.value===e)i=null;else if("string"==typeof r.value&&"string"==typeof e)try{let n=this.dmp.patch_make(r.value,e).map(t=>t.toString()).join("");i={patch:{id:this.PRESTAGE._id,diffMatchPatch:{[t]:n}}}}catch{return!1}else i={patch:{id:this.PRESTAGE._id,set:{[t]:e}}};let o=I(r.path);return i?this.setOperations[o]=i:delete this.setOperations[o],!0}stashStagedOperations(){let t=[];Object.keys(this.setOperations).forEach(e=>{let n=this.setOperations[e];n&&t.push(n)}),t.push(...this.staged),t.length>0&&(this.PRESTAGE=new K({mutations:t}).apply(this.PRESTAGE),this.staged=[],this.setOperations={}),this.out.push(...t)}rebase(t){return this.stashStagedOperations(),null===t?(this.out=[],this.BASIS=t,this.PRESTAGE=t,this.documentPresent=!1):(this.BASIS=t,this.out?this.PRESTAGE=new K({mutations:this.out}).apply(this.BASIS):this.PRESTAGE=this.BASIS),this.PRESTAGE}}class tt{constructor(t,e){let{resolve:n,reject:r}=e;this.mutations=t,this.tries=0,this.resolve=n,this.reject=r}apply(t){return K.applyAll(t,this.mutations)}squash(t){let e=K.squash(t,this.mutations);return e.assignRandomTransactionId(),e}}let te=(t,e)=>t.concat(e.mutations);class tn{constructor(t){this.committerRunning=!1,this.buffer=new Q(t),this.document=new J(t),this.document.onMutation=t=>this.handleDocMutation(t),this.document.onRemoteMutation=t=>this.onRemoteMutation&&this.onRemoteMutation(t),this.document.onRebase=(t,e,n)=>this.handleDocRebase(t,e,n),this.document.onConsistencyChanged=t=>this.handleDocConsistencyChanged(t),this.LOCAL=t,this.mutations=[],this.commits=[]}reset(t){t?X("Document state reset to revision %s",t._rev):X("Document state reset to being deleted"),this.document.reset(t),this.rebase([],[]),this.handleDocConsistencyChanged(this.document.isConsistent())}add(t){this.onConsistencyChanged&&this.onConsistencyChanged(!1),X("Staged local mutation"),this.buffer.add(t);let e=this.LOCAL;this.LOCAL=t.apply(this.LOCAL),this.onMutation&&e!==this.LOCAL&&(X("onMutation fired"),this.onMutation({mutation:t,document:this.LOCAL,remote:!1}),null===this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL))}arrive(t){if(X("Remote mutation arrived %s -> %s",t.previousRev,t.resultRev),t.previousRev===t.resultRev)throw Error("Mutation ".concat(t.transactionId," has previousRev === resultRev (").concat(t.previousRev,")"));return this.document.arrive(t)}commit(){return new Promise((t,e)=>{if(!this.buffer.hasChanges()){t();return}X("Committing local changes");let n=this.buffer.purge();this.commits.push(new tt(n?[n]:[],{resolve:t,reject:e})),this.buffer=new Q(this.LOCAL),this.performCommits()})}performCommits(){if(!this.commitHandler)throw Error("No commitHandler configured for this BufferedDocument");this.committerRunning||this._cycleCommitter()}_cycleCommitter(){let t=this.commits.shift();if(!t){this.committerRunning=!1;return}this.committerRunning=!0;let e=t.squash(this.LOCAL),n=this.document.stage(e,!0),r={success:()=>{X("Commit succeeded"),n.success(),t.resolve(),this._cycleCommitter()},failure:()=>{X("Commit failed"),t.tries+=1,null!==this.LOCAL&&this.commits.unshift(t),n.failure(),t.tries<200&&setTimeout(()=>this._cycleCommitter(),Math.min(1e3*t.tries,6e4))},cancel:t=>{this.commits.forEach(e=>e.reject(t)),this.commits=[],this.reset(this.document.HEAD),this.buffer=new Q(this.LOCAL),this.committerRunning=!1}};X("Posting commit"),this.commitHandler&&this.commitHandler({mutation:e,success:r.success,failure:r.failure,cancel:r.cancel})}handleDocRebase(t,e,n){this.rebase(e,n)}handleDocumentDeleted(){X("Document deleted"),null!==this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL),this.commits=[],this.mutations=[]}handleDocMutation(t){if(0===this.commits.length&&!this.buffer.hasChanges()){X("Document mutated from remote with no local changes"),this.LOCAL=this.document.EDGE,this.buffer=new Q(this.LOCAL),this.onMutation&&this.onMutation(t);return}X("Document mutated from remote with local changes"),null===this.document.EDGE&&this.handleDocumentDeleted(),this.rebase([t.mutation],[])}rebase(t,e){X("Rebasing document"),null===this.document.EDGE&&this.handleDocumentDeleted();let n=this.LOCAL;this.LOCAL=this.commits.reduce((t,e)=>e.apply(t),this.document.EDGE),this.LOCAL=this.buffer.rebase(this.LOCAL),null!==n&&null!==this.LOCAL&&(n._rev=this.LOCAL._rev);let r=!u()(this.LOCAL,n);r&&this.onRebase&&this.onRebase(this.LOCAL,t.reduce(te,[]),e.reduce(te,[]))}handleDocConsistencyChanged(t){if(!this.onConsistencyChanged)return;let e=this.commits.length>0||this.buffer.hasChanges();t&&!e&&this.onConsistencyChanged(!0),t||this.onConsistencyChanged(!1)}}},36991:function(t,e,n){"use strict";n.d(e,{Fv:function(){return tS},_T:function(){return _},jA:function(){return tO}});var r=n(85564),i=n.n(r),o=n(27361),a=n.n(o),s=n(44908),u=n.n(s),l=n(68630),c=n.n(l),f=n(70631),d=n.n(f),h=n(43174),p=n.n(h),m=n(60308),g=n.n(m),y=n(57557),v=n.n(y),b=n(12937),w=n.n(b),x=n(91966),C=n.n(x);let E={TYPE_INVALID:"schema-type-invalid",TYPE_IS_ESM_MODULE:"schema-type-is-esm-module",TYPE_NAME_RESERVED:"schema-type-name-reserved",TYPE_MISSING_NAME:"schema-type-missing-name-or-type",TYPE_MISSING_TYPE:"schema-type-missing-name-or-type",TYPE_TITLE_RECOMMENDED:"schema-type-title-is-recommended",TYPE_TITLE_INVALID:"schema-type-title-is-recommended",OBJECT_FIELDS_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_NOT_UNIQUE:"schema-object-fields-invalid",OBJECT_FIELD_NAME_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_DEFINITION_INVA
13LID_TYPE:"schema-object-fields-invalid",ARRAY_PREDEFINED_CHOICES_INVALID:"schema-predefined-choices-invalid",ARRAY_OF_ARRAY:"schema-array-of-array",ARRAY_OF_INVALID:"schema-array-of-invalid",ARRAY_OF_NOT_UNIQUE:"schema-array-of-invalid",ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT:"schema-array-of-type-global-type-conflict",ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT:"schema-array-of-type-builtin-type-conflict",REFERENCE_TO_INVALID:"schema-reference-to-invalid",REFERENCE_TO_NOT_UNIQUE:"schema-reference-to-invalid",REFERENCE_INVALID_OPTIONS:"schema-reference-invalid-options",REFERENCE_INVALID_OPTIONS_LOCATION:"schema-reference-options-nesting",REFERENCE_INVALID_FILTER_PARAMS_COMBINATION:"schema-reference-filter-params-combination",SLUG_SLUGIFY_FN_RENAMED:"slug-slugifyfn-renamed",ASSET_METADATA_FIELD_INVALID:"asset-metadata-field-invalid",CROSS_DATASET_REFERENCE_INVALID:"cross-dataset-reference-invalid",DEPRECATED_BLOCKEDITOR_KEY:"schema-deprecated-blockeditor-key"};function k(t,e,n){if(n&&!Object.keys(E).some(t=>E[t]===n))throw Error('Used the unknown helpId "'.concat(n,'", please add it to the array in createValidationResult.js'));return{severity:t,message:e,helpId:n}}let S=(t,e)=>k("error",t,e),R=(t,e)=>k("warning",t,e);function _(t){return i()(t.map(t=>V(t))).filter(t=>t.problems.length>0)}function A(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>a()(e,t);return function(n,r){let o=[...r,{kind:"type",type:n.type,name:n.name}],a=e(n)||[],s=Array.isArray(a)?a.map(e=>{let n=[...o,{kind:"property",name:t}];return V(e,n)}):[[{path:o,problems:[S("Member declaration (".concat(t,") is not an array"))]}]];return[{path:o,problems:n._problems||[]},...i()(s)]}}let M=t=>Array.isArray(t)?t:void 0===t&&[]||[t],j=A("fields"),O=A("fields"),T=A("fields"),P=A("of"),L=A("to",t=>"to"in t?M(t.to):[]),I=A("marks.annotations"),D=A("of"),N=(t,e)=>[...I(t,e),...D(t,e)];function V(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];switch(t.type){case"object":case"document":return j(t,e);case"array":return P(t,e);case"reference":return L(t,e);case"block":return N(t,e);case"image":return O(t,e);case"file":return T(t,e);default:return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[{path:[...e,{kind:"type",type:t.type,name:t.name}],problems:t._problems||[]}]}(t,e)}}function F(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=t.reduce((t,n)=>{let r=e(n);return t[r]||(t[r]=[]),t[r].push(n),t},{});return Object.keys(n).map(t=>n[t].length>1?n[t]:null).filter(Boolean)}let B=t=>t,H={name:"type",type:null},U=["any","time","date"],Z=[{name:"array",jsonType:"array",type:"type"},{name:"block",jsonType:"object",type:"type"},{name:"boolean",jsonType:"boolean",type:"type"},{name:"datetime",jsonType:"string",type:"type"},{name:"date",jsonType:"string",type:"type"},{name:"document",jsonType:"object",type:"type"},{name:"email",jsonType:"string",type:"type"},{name:"file",jsonType:"object",type:"type"},{name:"geopoint",jsonType:"object",type:"type"},{name:"image",jsonType:"object",type:"type"},{name:"number",jsonType:"number",type:"type"},{name:"object",jsonType:"object",type:"type"},{name:"reference",jsonType:"object",type:"type"},{name:"crossDatasetReference",jsonType:"object",type:"type"},{name:"slug",jsonType:"object",type:"type"},{name:"string",jsonType:"string",type:"type"},{name:"telephone",jsonType:"string",type:"type"},{name:"text",jsonType:"string",type:"type"},{name:"url",jsonType:"string",type:"type"}],W=Z.map(t=>t.name),z=/^Symbol\(react\..+\)$/;function G(t){return"function"==typeof t||"symbol"==typeof(null==t?void 0:t.$$typeof)&&z.test(String(null==t?void 0:t.$$typeof))}function $(t){let e="components"in t&&t.components;if(!e)return[];let n=[];return e.input&&!G(e.input)&&n.push(R("The `components.input` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(d()(e.input),"). If you have imported a custom input component, please verify that you have imported the correct named/default export."))),e.field&&!G(e.field)&&n.push(R("The `components.field` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(d()(e.field),"). If you have imported a custom field component, please verify that you have imported the correct named/default export."))),e.item&&!G(e.item)&&n.push(R("The `components.item` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(d()(e.item),"). If you have imported a custom item component, please verify that you have imported the correct named/default export."))),e.preview&&!G(e.preview)&&n.push(R("The `components.preview` property is set but does not appear to be a valid React component (expected a function, but saw ".concat(d()(e.preview),"). If you have imported a custom preview component, please verify that you have imported the correct named/default export."))),n}let q=/^[A-Za-z]+[0-9A-Za-z_]*$/,Y=/^[A-Za-z_]+[0-9A-Za-z_]*$/;function X(t,e){var n;if(!c()(t))return[S("Incorrect type for field definition - should be an object, saw ".concat(d()(t)),E.OBJECT_FIELD_DEFINITION_INVA
13LID_TYPE)];let r=[];return r.push(..."name"in t?"string"!=typeof(n=t.name)?[S('Field names must be strings. Saw "'.concat(d()(n),'"'),E.OBJECT_FIELD_NAME_INVALID)]:n.startsWith("_")?[S('Invalid field name "'.concat(n,'". Field names cannot start with underscores "_" as it\'s reserved for system fields.'),E.OBJECT_FIELD_NAME_INVALID)]:q.test(n)?Y.test(n)?[]:[R("Thats an interesting field name for sure! But it is... how to put it... a bit... unconventional? It may be wise to keep special characters out of field names for easier access later on."),E.OBJECT_FIELD_NAME_INVALID]:[S('Invalid field name: "'.concat(n,'". Fields can only contain characters from A-Z, numbers and underscores and should not start with a number (must pass the regular expression ').concat(String(q),")."),E.OBJECT_FIELD_NAME_INVALID)]:[S("Missing field name",E.OBJECT_FIELD_NAME_INVALID)]),r.push(...$(t)),r}function K(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowEmpty:!1},n=[],r=Array.isArray(t);if(!r)return[S('The "fields" property must be an array of fields. Instead saw "'.concat(typeof t,'"'),E.OBJECT_FIELDS_INVALID)];let i=t.filter(t=>"string"==typeof t.name);return(function(t){let e={};return t.forEach(t=>{e[t.name]||(e[t.name]=[]),e[t.name].push(t)}),Object.keys(e).map(t=>e[t].length>1?e[t]:null).filter(Boolean)})(i).forEach(t=>{n.push(S("Found ".concat(t.length,' fields with name "').concat(t[0].name,'" in object'),E.OBJECT_FIELD_NOT_UNIQUE))}),0!==t.length||e.allowEmpty||n.push(S("Object should have at least one field",E.OBJECT_FIELDS_INVALID)),n}var J=(t,e)=>{let n=K(t.fields),r=t.preview;if(r){var i;let e=(i=t.preview,c()(i)?void 0!==i.prepare&&"function"!=typeof i.prepare?[S('The "preview.prepare" property must be a function, instead saw "'.concat(typeof i.prepare,'"'))]:i.select?c()(i.select)?Object.keys(i.select).reduce((t,e)=>"string"==typeof i.select[e]?t:t.concat(S('The key "'.concat(e,'" of "preview.select" must be a string, instead saw "').concat(typeof i.select[e],'"'))),[]):[S('The "preview.select" property must be an object, instead saw "'.concat(typeof i.prepare,'"'))]:[]:[S('The "preview" property must be an object, instead saw "'.concat(typeof i,'"'))]);n=n.concat(e),r=e.some(t=>"error"===t.severity)?{}:r}return"document"!==t.type&&"object"!==t.type&&void 0!==t.initialValue&&n.push(S('The "initialValue" property is currently only supported for document & object types.')),{...t,preview:r,fields:(Array.isArray(t.fields)?t.fields:[]).map((t,n)=>{let{name:r,...i}=t,{_problems:o,...a}=e.visit(i,n);return{name:r,...a,_problems:X(t).concat(o||[])}}),_problems:n}},Q=(t,e)=>{let n=J(t,e),{initialValue:r,initialValues:i}=n;return void 0===r||c()(r)||"function"==typeof r||n._problems.push(S('The "initialValue" property must be either a plain object or a function')),void 0!==i&&n._problems.push(S('Found property "initialValues" - did you mean "initialValue"?')),n},tt=(t,e)=>{let n=Array.isArray(t.to)||c()(t.to),r=Array.isArray(t.to)?t.to:t.to?[t.to]:t.to,o=i()([n?F(r,t=>"".concat(t.name,";").concat(t.type)).map(t=>S("Found ".concat(t.length,' members with same type, but not unique names "').concat(t[0].type,'" in reference. This makes it impossible to tell their values apart and you should consider naming them'),E.REFERENCE_TO_INVALID)):S('The reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',E.REFERENCE_TO_INVALID)]);return n&&0===r.length&&o.push(S('The reference type should define at least one accepted type. Please check the "to" property.',E.REFERENCE_TO_INVALID)),o.push(...function(t){let{options:e}=t,n=[];return(n.push(...["filter","filterParams"].filter(e=>e in t).map(t=>S("`".concat(t,"` is not allowed on a reference type definition - did you mean `options.").concat(t,"`?"),E.REFERENCE_INVALID_OPTIONS_LOCATION))),e)?c()(e)?"function"==typeof e.filter&&void 0!==e.filterParams?n.concat(S("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",E.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof e.filter&&(e.filter||e.filterParams)?"string"!=typeof e.filter?n.concat(S("If set, `filter` must be a string. Got ".concat(typeof e.filter))):void 0===e.filterParams||c()(e.filterParams)?e.filterParams?n.concat(Object.keys(e.filterParams).filter(t=>t.startsWith("__")||t.startsWith("$")).map(t=>S('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(t,'".')))):n:n.concat(S("If set, `filterParams` must be an object.")):n:n.concat(S("The reference type expects `options` to be an object",E.REFERENCE_INVALID_OPTIONS)):n}(t)),{...t,to:(n?r:[]).map(e.visit),_problems:o}};function te(t){return"string"===t||"number"===t||"boolean"===t}function tn(t){return'"'.concat(t,'"')}function tr(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"s";return 1===t.length?"":e}function ti(t){return Array.isArray(t)?"array with ".concat(t.length," entries"):"object"==typeof t&&null!==t?"object with keys ".concat(g()(Object.keys(t).map(tn))):tn(t)}var to=(t,e)=>{var n,r,o;let a=Array.isArray(t.of);if(a){let n=t.of.reduce((t,n,r)=>"string"==typeof n.name&&n.name!==n.type&&W.includes(n.name)?t.concat(S('Found array member declaration with the same type name as a built-in type ("'.concat(n.name,'"). Array members can not be given the same name as a built-in type.'),E.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT)):"object"===n.type&&n.name&&e.getType(n.name)?t.concat(R('Found array member declaration with the same name as the global schema type "'.concat(n.name,"\". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name."),E.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT)):"array"===n.type?t.concat(S('Found array member declaration of type "array" - multidimensional arrays are not currently supported by Sanity',E.ARRAY_OF_ARRAY)):n?t:t.concat(S("Found invalid type member declaration in array at index ".concat(r,": ").concat("Found ".concat(null===n?"null":typeof n,", expected member declaration")),E.ARRAY_OF_INVALID)),[]);if(n.length>0)return{...t,of:[],_problems:n}}let s=i()([a?F(t.of,t=>"".concat(t.name,";").concat(t.type)).map(t=>S("Found ".concat(t.length,' members with same type, but not unique names "').concat(t[0].type,'" in array. This makes it impossible to tell their values apart and you should consider naming them'),E.ARRAY_OF_NOT_UNIQUE)):S('The array type is missing or having an invali
13d value for the required "of" property',E.ARRAY_OF_INVALID)]),u=a?t.of:[],l=u.some(t=>"object"===t.type&&void 0===t.name),c=u.some(t=>"block"===t.type);c&&l&&s.push(S("The array type's 'of' property can't have an object type without a 'name' property as member, when the 'block' type is also a member of that array.",E.ARRAY_OF_INVALID));let[f,d]=p()(u,t=>{var n;return te(t.type)||te(null==(n=e.getType(t.type))?void 0:n.jsonType)}),h=f.length>0&&d.length>0;if(h){let t=f.map(t=>t.type),e=d.map(t=>t.type);s.push(S("The array type's 'of' property can't have both object types and primitive types (found primitive type ".concat(tr(t)," ").concat(g()(t.map(tn))," and object type").concat(tr(e)," ").concat(g()(e.map(tn)),")"),E.ARRAY_OF_INVALID))}let m=null==(n=null==t?void 0:t.options)?void 0:n.list;if(!h&&Array.isArray(m)){let t=f.length>0;t?m.forEach(t=>{var n;let r=null!=(n=null==t?void 0:t.value)?n:t,i=f.some(t=>typeof r===e.getType(t.type).jsonType);if(!i){let t=g()(f.map(t=>t.name||t.type),{conjunction:"or"});s.push(S("An invalid entry found in options.list: ".concat(ti(r),". Must be either a value of type ").concat(t,", or an object with {title: string, value: ").concat(t,"}"),E.ARRAY_PREDEFINED_CHOICES_INVALID))}}):m.forEach(t=>{let e=t._type||"object",n=d.some(t=>("string"==typeof t.name?t.name:t.type)===e);n||s.push(S("An invalid entry found in options.list: ".concat(ti(t),'. Must be an object with "_type" set to ').concat(g()(d.map(t=>t.name||t.type).map(t=>"object"===t?"undefined":tn(t)),{conjunction:"or"})),E.ARRAY_PREDEFINED_CHOICES_INVALID))})}return(null==(r=null==t?void 0:t.options)?void 0:r.list)&&(null==(o=null==t?void 0:t.options)?void 0:o.layout)==="tags"&&s.push(R("Found array member declaration with both tags layout and a list of predefined values. If you want to display a list of predefined values, remove the tags layout from `options`.")),{...t,of:u.map(e.visit),_problems:s}},ta=(t,e)=>{let n=[];return t.options&&t.options.slugifyFn&&(n.push(R('Heads up! The "slugifyFn" option has been renamed to "slugify".',E.SLUG_SLUGIFY_FN_RENAMED)),t.options.slugify=t.options.slugifyFn),{...t,_problems:n}},ts=(t,e)=>{let n=[],r=t.fields;r&&n.push(...K(r,{allowEmpty:!0}));let i=Array.isArray(r)?null==r?void 0:r.filter(t=>"asset"===t.name):[];return t.options&&void 0!==t.options.metadata&&!Array.isArray(t.options.metadata)?n.push(S("Invalid type for file `metadata` field - must be an array of strings",E.ASSET_METADATA_FIELD_INVALID)):i.length>0&&n.push(S("The name `asset` is not a valid field name for type `file`.")),{...t,fields:(Array.isArray(r)?r:[]).map((t,n)=>{let{name:r,...i}=t,{_problems:o,...a}=e.visit(i,n);return{name:r,...a,_problems:X(t).concat(o||[])}}),_problems:n}};let tu=["dimensions","hasAlpha","isOpaque"];var tl=(t,e)=>{let n=[],r=t.fields;r&&n.push(...K(r,{allowEmpty:!0}));let i=t.options,o=null==i?void 0:i.metadata,a=Array.isArray(o)?o.filter(t=>tu.includes(t)):[],s=["asset","hotspot","crop"],u=Array.isArray(r)?null==r?void 0:r.filter(t=>s.includes(t.name)):[];return void 0===o||Array.isArray(o)?a.length>0?(n.push(R("Image `metadata` field contains superfluous properties (they are always included): ".concat(a.join(", ")))),i={...i,metadata:o.filter(t=>!tu.includes(t))}):u.length>0&&n.push(S("The names `".concat(s.join("`, `"),"` are invalid field names for type `image`."))):n.push(S("Invalid type for image `metadata` field - must be an array of strings",E.ASSET_METADATA_FIELD_INVALID)),{...t,options:i,fields:(Array.isArray(r)?r:[]).map((t,n)=>{let{name:r,...i}=t,{_problems:o,...a}=e.visit(i,n);return{name:r,...a,_problems:X(t).concat(o||[])}}),_problems:n}};let tc=t=>Array.isArray(t)?"array":typeof t,tf=t=>'"'.concat(t,'"'),td=["components","lists","marks","name","of","options","styles","title","type","validation"],th=["decorators","annotations"],tp=["blockEditor","title","value","component"],tm=["blockEditor","title","value","icon","component"],tg=["title","value","icon","component"],ty=t=>'"'.concat(t,'"');var tv=(t,e)=>({...t,_problems:[...function(t,e){let n=e.getTypeNames();if(!t)return[S("Type is missing a type. Valid types are: ".concat(g()(n)),E.TYPE_MISSING_TYPE)];
13if("string"!=typeof t)return[S('Type has an invalid "type"-property - should be a string. Valid types are: '.concat(g()(n)),E.TYPE_MISSING_TYPE)];let r=n.includes(t);if(!r){let e=n.map(e=>[w()(t,e),e]).filter(t=>{let[e]=t;return e<3}).map(t=>{let[e,n]=t;return n}),r=e.length>0?" Did you mean ".concat(g()(e.map(ty),{conjunction:"or"}),"?"):"";return[S("Unknown type: ".concat(t,".").concat(r,"\n\nValid types are: ").concat(g()(n)))]}return[]}(t.type,e),...function(t,e){if(!("fields"in t))return[];let n=t;for(;n&&!n.jsonType;)n=e.getType(n.type);return n&&"object"!==n.jsonType?[S('Type has propery "fields", but is not an object/document type.')]:[]}(t,e),...function(t){var e,n,r;let i=[];return(null==t?void 0:t.inputComponent)&&i.push(R('The "inputComponent" property is deprecated. Use "components.input" instead.')),(null==(e=null==t?void 0:t.preview)?void 0:e.component)&&i.push(R('The "preview.component" property is deprecated. Use "components.preview" instead.')),(null==t?void 0:t.diffComponent)&&i.push(R('The "diffComponent" property is deprecated. Use "components.diff" instead.')),(null==(n=null==t?void 0:t.options)?void 0:n.editModal)&&i.push(R('The "options.editModal" property is deprecated. Use "options.modal" instead.')),(null==(r=null==t?void 0:t.options)?void 0:r.isHighlighted)&&i.push(R('The "options.isHighlighted" property is deprecated. You can put fields behind a collapsed fieldset if you want to hide them from plain sight.')),i}(t)].filter(Boolean)}),tb=(t,e)=>{let n=Boolean(t.name);if(!n&&1===Object.keys(t).length)return{...t,_problems:[S("Invalid/undefined type declaration, check declaration or the import/export of the schema type.",E.TYPE_INVALID)]};let r=[];return!t.name&&t.default&&(t.default.name||t.default.title)?r.push(S("Type appears to be an ES6 module imported through CommonJS require - use an import statement or access the `.default` property",E.TYPE_IS_ESM_MODULE)):n?e.isReserved(t.name)&&r.push(S('Invalid type name: "'.concat(t.name,'" is a reserved name.'),E.TYPE_NAME_RESERVED)):r.push(S("Missing type name",E.TYPE_MISSING_NAME)),e.isDuplicate(t.name)&&r.push(S('Invalid type name: A type with name "'.concat(t.name,'" is already defined in the schema.'))),r.push(...$(t)),"title"in t?"string"!=typeof t.title&&r.push(R("Type title is not a string.",E.TYPE_TITLE_INVALID)):r.push(R("Type is missing title. It's recommended to always set a descriptive title.",E.TYPE_TITLE_RECOMMENDED)),{...t,_problems:r}};let tw=/^[a-z0-9~][-_a-z0-9]+$/;var tx=(t,e)=>{let n=Array.isArray(t.to)||c()(t.to),r=Array.isArray(t.to)?t.to:t.to?[t.to]:t.to,o=i()([n?F(r,t=>"".concat(t.name,";").concat(t.type)).map(t=>S("Found ".concat(t.length,' members with same type, but not unique names "').concat(t[0].type,'" in reference. This makes it impossible to tell their values apart and you should consider naming them'),E.CROSS_DATASET_REFERENCE_INVALID)):S('The cross dataset reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',E.CROSS_DATASET_REFERENCE_INVALID)]);if(n&&0===r.length&&o.push(S('The cross dataset reference type should define at least one referenced type. Please check the "to" property.',E.CROSS_DATASET_REFERENCE_INVALID)),r.forEach((t,e)=>{t.type||o.push(S("The referenced type at index ".concat(e," must be named. Specify the name of the type you want to create references to."),E.CROSS_DATASET_REFERENCE_INVALID)),c()(t.preview)||o.push(S('Missing required preview config for the referenced type "'.concat(t.type||"<unknown type>",'"'),E.CROSS_DATASET_REFERENCE_INVALID))}),"string"==typeof t.dataset){let e=function(t){let e=t.length>=2&&t.toLowerCase()===t&&tw.test(t);return e||'The provided dataset "'.concat(t,"\" doesn't look like a valid dataset. Dataset names must be more than 2 characters, can only contain lowercase characters, numbers, underscores and dashes and can not start with a dash or an underscore")}(t.dataset);!0!==e&&o.push(S(e,E.CROSS_DATASET_REFERENCE_INVALID))}else o.push(S("A cross dataset reference must specify a `dataset`",E.CROSS_DATASET_REFERENCE_INVALID));return t.studioUrl&&"function"!=typeof t.studioUrl&&o.push(S('The "studioUrl" property on a cross dataset reference must be a function taking "{id, type}" as argument and returning a studio url.',E.CROSS_DATASET_REFERENCE_INVALID)),o.push(...function(t){let{options:e}=t,n=[];return(n.push(...["filter","filterParams"].filter(e=>e in t).map(t=>S("`".concat(t,"` is not allowed on a reference type definition - did you mean `options.").concat(t,"`?"),E.REFERENCE_INVALID_OPTIONS_LOCATION))),e)?c()(e)?"function"==typeof e.filter&&void 0!==e.filterParams?n.concat(S("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",E.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof e.filter&&(e.filter||e.filterParams)?"string"!=typeof e.filter?n.concat(S("If set, `filter` must be a string. Got ".concat(typeof e.filter))):void 0===e.filterParams||c()(e.filterParams)?e.filterParams?n.concat(Object.keys(e.filterParams).filter(t=>t.startsWith("__")||t.startsWith("$")).map(t=>S('Filter parameter cannot be prefixed with "$" or "__". Got '.concat(t,'".')))):n:n.concat(S("If set, `filterParams` must be an object.")):n:n.concat(S("The reference type expects `options` to be an object",E.REFERENCE_INVALID_OPTIONS)):n}(t)),{...t,_problems:o}};let tC={array:to,object:J,slug:ta,file:ts,image:tl,block:function(t,e){var n,r;let i=[],o=t.styles,a=t.lists,s=t.marks,u=t.of,l=Object.keys(t).filter(t=>!td.includes(t)&&!t.startsWith("_"));return l.length>0&&i.push(S("Found unknown properties for block declaration: ".concat(g()(l.map(tf))))),s&&(s=function(t,e,n){var r;let i=t.decorators,o=t.annotations;if(!c()(t))return n.push(S('"marks" declaration should be an object, got '.concat(tc(t)))),n;let a=Object.keys(t).filter(t=>!th.includes(t)&&!t.startsWith("_"));return a.length>0&&n.push(S("Found unknown properties for block declaration: ".concat(g()(a.map(tf))))),i&&!Array.isArray(i)?n.push(S('"marks.decorators" declaration should be an array, got '.concat(tc(i)))):i&&(i.filter(t=>!!t.blockEditor).forEach(t=>{t.icon=t.blockEditor.icon,t.component=t.blockEditor.render}
13),(r=i).forEach((t,e)=>{if(!c()(t)){n.push(S("Annotation must be an object, got ".concat(tc(t))));return}let r=t.value||"#".concat(e),i=Object.keys(t).filter(t=>!tm.includes(t)&&!t.startsWith("_"));i.length>0&&n.push(S("Found unknown properties for decorator ".concat(r,": ").concat(g()(i.map(tf))))),t.value?"string"!=typeof t.value?n.push(S("Decorator #".concat(e,' has an invalid "value" property, expected string, got ').concat(tc(t.value)))):t.title||n.push(R("Decorator ".concat(r,' is missing recommended "title" property'))):n.push(S("Decorator #".concat(e,' is missing required "value" property'))),void 0!==t.blockEditor&&(n.push(R('Decorator "'.concat(r,'" has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.'),E.DEPRECATED_BLOCKEDITOR_KEY)),t.icon=t.icon||t.blockEditor.icon,t.component=t.component||t.blockEditor.render)}),i=r),o&&!Array.isArray(o)?n.push(S('"marks.annotations" declaration should be an array, got '.concat(tc(o)))):o&&(o=o.map(t=>{var r,i;if(!c()(t))return{...t,_problems:[S("Annotation must be an object, got ".concat(tc(t)))]};let{_problems:o}=e.visit(t,e),a=t.type&&e.getType(t.type);return a&&!function t(e,n,r){if("jsonType"in e)return e.jsonType===n;let i=r.getType(e.type);if(!i)throw Error("Could not resolve jsonType of ".concat(e.name,". No parent type found"));return t(i,n,r)}(a,"object",e)&&o.push(S('Annotation cannot have type "'.concat(t.type,'" - annotation types must inherit from object'))),void 0!==t.blockEditor&&(n.push(R('Annotation has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',E.DEPRECATED_BLOCKEDITOR_KEY)),t.icon=t.icon||t.blockEditor.icon,(null==(r=t.blockEditor)?void 0:r.render)&&!(null==(i=t.components)?void 0:i.annotation)&&(t.components=t.components||{},t.components.annotation=t.components.annotation||t.blockEditor.render)),{...t,_problems:o}})),{...t,decorators:i,annotations:o}}(t.marks,e,i)),o&&(o=Array.isArray(n=o)?(n.forEach((t,e)=>{if(!c()(t)){i.push(S("Style must be an object, got ".concat(tc(t))));return}let n=t.value||"#".concat(e),r=Object.keys(t).filter(t=>!tp.includes(t)&&!t.startsWith("_"));r.length>0&&i.push(S("Found unknown properties for style ".concat(n,": ").concat(g()(r.map(tf))))),t.value?"string"!=typeof t.value?i.push(S("Style #".concat(e,' has an invalid "value" property, expected string, got ').concat(tc(t.value)))):t.title||i.push(R("Style ".concat(n,' is missing recommended "title" property'))):i.push(S("Style #".concat(e,' is missing required "value" property'))),void 0!==t.blockEditor&&(i.push(R('Style has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',E.DEPRECATED_BLOCKEDITOR_KEY)),t.component=t.component||t.blockEditor.render)}),n):(i.push(S('"styles" declaration should be an array, got '.concat(tc(n)))),i)),a&&(a=Array.isArray(r=a)?(r.forEach((t,e)=>{if(!c()(t)){i.push(S("List must be an object, got ".concat(tc(t))));return}let n=t.value||"#".concat(e),r=Object.keys(t).filter(t=>!tg.includes(t)&&!t.startsWith("_"));r.length>0&&i.push(S("Found unknown properties for list ".concat(n,": ").concat(g()(r.map(tf))))),t.value?"string"!=typeof t.value?i.push(S("List type #".concat(e,' has an invalid "value" property, expected string, got ').concat(tc(t.value)))):t.title||i.push(R("List type ".concat(n,' is missing recommended "title" property'))):i.push(S("List #".concat(e,' is missing required "value" property')))}),r):(i.push(S('"lists" declaration should be an array, got '.concat(tc(r)))),i)),u&&(u=function(t,e,n){if(!Array.isArray(t)){n.push(S('"of" declaration should be an array, got '.concat(tc(t))));return}return t.map(t=>{let{_problems:n}=e.visit(t,e);return{...t,_problems:n}})}(u,e,i)),{...v()(t,l),marks:s,styles:o,name:t.name||t.type,of:u,_problems:i}},document:Q,reference:tt,crossDatasetReference:tx},tE=t=>e=>({name:"<unnamed_type_@_index_".concat(t.index,">"),...e,_problems:[]});function tk(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return(t,n)=>e.reduce((t,e)=>{let r=e(t,n);return{...r,_problems:t._problems.concat(r._problems)}},{_problems:[],...t})}function tS(t){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B,r=Object.create(null),o=Object.create(null),a=e.map(t=>t.name),s=U.concat(a),l=t.map(t=>
13t&&t.name).filter(Boolean);function c(t){return"type"===t?H:r[t]||o[t]||null}e.forEach(t=>{r[t.name]=t}),t.forEach((t,e)=>{o[t&&t.name||"__unnamed_".concat(e)]={}});let f=u()(i()(F(l)));function d(t){return f.includes(t)}function h(){return l.concat(a)}function p(t){return"type"===t||s.includes(t)}let m=t=>(e,r)=>n(e,{visit:m(!1),isRoot:t,getType:c,getTypeNames:h,isReserved:p,isDuplicate:d,index:r});return e.forEach(t=>{Object.assign(r[t.name],m(t))}),t.forEach((t,e)=>{Object.assign(o[t&&t.name||"__unnamed_".concat(e)],m(!0)(t,e))}),{get(t){let e=o[t]||r[t];if(e)return e;throw Error("No such type: ".concat(t))},has:t=>t in o||t in r,getTypeNames:()=>Object.keys(o),getTypes(){return this.getTypeNames().map(this.get)},toJSON(){return this.getTypes()}}}(t,Z,(t,e)=>{let n=t&&t.type&&tC[t.type]||tE(e);return e.isRoot?tk(tb,tv,n)(t,e):tk(tv,n)(t,e)})}let tR="__experimental_actions",t_=["create","update","delete","publish"],tA=t=>tR in t?t[tR]:t_,tM=(t,e)=>{if(!Array.isArray(e))throw Error("The value of <type>.".concat(tR," should be an array with any of the actions ").concat(t_.join(", ")));let n=C()(e,t_);if(n.length>0)throw Error("Invalid action".concat(n.length>1?"s":"",' configured for schema type "').concat(t,'": ').concat(n.join(", "),". Valid actions are: ").concat(t_.join(", ")));return e},tj=t=>tM(t.name,tA(t)),tO=(t,e)=>tj(t).includes(e)},49982:function(t,e,n){"use strict";n.d(e,{V:function(){return t4}});var r=n(78718),i=n.n(r),o=n(57557),a=n.n(o),s=n(61021),u=n.n(s),l=n(84596),c=n.n(l),f=n(94654),d=n.n(f),h=n(24350),p=n.n(h),m=n(18029),g=n.n(m),y=n(14176),v=n.n(y),b=n(52353),w=n.n(b),x=n(48403),C=n.n(x),E=n(68630),k=n.n(E),S=n(30084),R=n.n(S),_=n(45578),A=n.n(_);let M=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue"],j=[...M],O={name:"any",type:null,jsonType:"any"};var T={prepare:t=>({title:String(t)})};let P=[...M],L={name:"string",title:"String",type:null,jsonType:"string"},I=[...M,"rows"],D={name:"text",title:"Text",type:null,jsonType:"string"},N=[...M],V={name:"datetime",title:"Datetime",type:null,jsonType:"string"},F=[...M],B={name:"date",title:"Datetime",type:null,jsonType:"string"},H=[...M],U={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},Z=[...M],W={name:"url",title:"Url",type:null,jsonType:"string"},z=[...M],G={name:"email",title:"Email",type:null,jsonType:"string"},$=[...M],q={name:"number",title:"Number",type:null,jsonType:"number"};function Y(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Object.defineProperty(t,e,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(t,e,{value:i,writable:Boolean(r.writable),configurable:!1}),i}}),t}let X={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function K(t){return"array"===t.type&&t.of&&t.of.some(t=>"block"===t.type)}let J=["title","name","label","heading","header","caption"],Q=["description",...J];function tt(t,e){return u()(t.to||[]).some(t=>t.type===e)}function te(t){return tt(t,"sanity.imageAsset")}function tn(t){return tt(t,"sanity.fileAsset")}function tr(t){return function(){t.options&&t.options.preview&&console.warn('Heads up! The preview config is no longer defined on "options", but instead on the type/field itself.\nPlease move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "'.concat(t.name,'".\n')),function(t){let e=t.preview||(t.options||{}).preview;e&&"fields"in e&&console.warn('Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "'.concat(t.name,'".\n'))}(t);let e=function(t){if(!t)return t;let e=t.select||t.fields||{};return Array.isArray(e)?{...i()(t,["prepare","component"]),select:e.reduce((t,e)=>(t[e]=e,t),{})}:{...i()(t,["prepare","component"]),select:e}}(t.preview||(t.options||{}).preview);return e||function(t){let e={fields:[],...t},n=e.fields.filter(t=>"string"===t.type).map(t=>t.name),r=e.fields.filter(K).map(t=>t.name),o=J.find(t=>n.includes(t)||r.includes(t)),a=Q.find(t=>t!==o&&(n.includes(t)||r.includes(t)));o||(o=n[0]||r[0],a=n[1]||r[1]);let s=e.fields.find(t=>"image"===t.type),u=function(t){let e=t.fields||[],n=e.find(te);if(n)return n.name;let r=e.find(t=>(t.fields||[]).some(te));return r?"".concat(r.name,".asset"):void 0}(e);if(!o){let t=function(t){let e=t.fields||[],n=e.find(tn);if(n)return n.name;let r=e.find(t=>(t.fields||[]).some(tn));return r?"".concat(r.name,".asset"):void 0}(e);t&&(o="".concat(t,".originalFilename")),u&&(o="".concat(u,".originalFilename"))}if(!o&&!u){let t=e.fields.map(t=>t.name),n=t.reduce((t,e)=>(t[e]=e,t),{});return{select:n,prepare:e=>({title:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={maxDepth:"maxDepth"in e?e.maxDepth:2,maxBreadth:"maxBreadth"in e?e.maxBreadth:2,ignoreKeys:"ignoreKeys"in e?e.ignoreKeys:[]};return function t(e,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(e)){if(0===e.length)return"[empty]";let i=Math.max(e.length-n.maxBreadth),o=e.slice(0,n.maxBreadth).map((e,i)=>t(e,n,r+1)).concat(i>0?"â¦+".concat(i):[]).join(", ");return 0===r?o:"[".concat(o,"]")}if("object"==typeof e&&null!==e){let o=Object.keys(e).filter(t=>!n.ignoreKeys.includes(t)&&void 0!==e[t]);if(function(t){for(let e in t)if(t.hasOwnProperty(e))return!1;return!0}(i()(e,o)))return"{empty}";let a=o.slice(0,n.maxBreadth).map(i=>"".concat(i,": ").concat(t(e[i],n,r+1))).join(", ");return 0===r?a:"{".concat(a,"}")}let o=String(e);return""===o?'""':o}(t,n,0)}(i()(e,t),X)})}}let l=v()({title:o,description:a,media:s?s.name:u},w());return{select:l}}(t)}}let ti=["title","name","label","heading","header","caption","description"],to=["string","boolean","number"],ta=t=>to.includes(t.type);function ts(t){if(!Array.isArray(t))throw Error("The search config of a document type must be an array of search config objects");return t.map(t=>{if("defaults"===t)return t;if(!k()(t))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in t?t.weight:1,path:R()(t.path),mapWith:"str
13ing"==typeof t.mapWith?t.mapWith:void 0}})}let tu=Symbol("__cachedStringFields"),tl=t=>t.type&&"reference"===t.type.name,tc=["style","list"],tf=t=>"block"===t.name||t.type&&tf(t.type),td=t=>"array"===t.jsonType&&Array.isArray(t.of)&&t.of.some(tf);function th(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0;if(i<0)return n;let o=e(n,t,r);return"array"===t.jsonType&&Array.isArray(t.of)?t.of.reduce((t,n)=>th(n,e,t,r,i-1),o):"object"===t.jsonType&&Array.isArray(t.fields)&&!tl(t)?function(t,e,n,r,i){let o=tf(t);return t.fields.reduce((t,n)=>{if(o&&tc.includes(n.name))return t;let a=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return th(n.type,e,t,r.concat(a),i-1)},n)}(t,e,o,r,i):o}let tp=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],tm={title:10,subtitle:5,description:1.5};function tg(t){var e;let n=null==(e=null==t?void 0:t.preview)?void 0:e.select;return n?Object.keys(n).filter(t=>t in tm).map(t=>({weight:tm[t],path:n[t].split(".")})):[]}let ty=[...M,"orderings","__experimental_search","blockEditor","icon"],tv={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(t,e){let n;let r={fields:[],...t},o={...r.options||{}},a=Object.assign(i()(this.get(),ty),r,{type:this.get(),title:r.title||(r.name?g()(r.name):""),options:o,orderings:r.orderings||(0===(n=ti.filter(t=>r.fields.some(e=>ta(e)&&e.name===t))).length&&(n=r.fields.filter(ta).map(t=>t.name)),n.map(t=>({name:t,title:C()(g()(t)),by:[{field:t,direction:"asc"}]}))),fields:r.fields.map(t=>{let{name:n,fieldset:r,group:i,...o}=t;return Y({name:n,group:i,fieldset:r},"type",()=>e({...o,title:t.title||g()(n)}))})});return Y(a,"fieldsets",()=>tb(r,a.fields)),Y(a,"groups",()=>(function(t,e){var n;let r=t.groups||[],i=r.map(t=>{let{name:e,title:n,description:r,icon:i,readOnly:o,hidden:a}=t;return{name:e,title:n,description:r,icon:i,readOnly:o,default:t.default,hidden:a,fields:[]}}),o=i.filter(t=>t.default);if(o.length>1)throw Error("You currently have ".concat(o.length," default field groups defined for type '").concat(t.name?g()(t.name):null!=(n=t.title)?n:"","', but only 1 is supported"));let a=p()(i,"name");return e.forEach(e=>{if(e.group){let n=c()(e.group);n.length>0&&n.forEach(n=>{var r,i;let o=a[n];if(!o)throw Error("Field group '".concat(n,"' is not defined in schema for type '").concat(null!=(i=null!=(r=t.name)?r:t.title)?i:"","'"));o.fields.push(e)})}}),d()(a).filter(t=>t.fields.length>0)})(r,a.fields)),Y(a,"preview",tr(r)),Y(a,"__experimental_search",()=>{var t;let e=r.__experimental_search?ts(r.__experimental_search):null;return e?e.map(t=>"defaults"===t?ts(r):t):((t=a)[tu]||(t[tu]=A()([...tp,...tg(t),...(function(t,e){let n=(t,e,n)=>"string"===e.jsonType?[...t,n]:t;return th(t,n,[],[],4)})(t,0).map(t=>({weight:1,path:t})),...(function(t,e){let n=(t,e,n)=>td(e)?[...t,n]:t;return th(t,n,[],[],4)})(t,0).map(t=>({weight:1,path:t,mapWith:"pt::text"}))],t=>t.path.join("."))),t[tu])},{enumerable:!1}),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=Object.assign({},e,i()(n,ty),{title:n.title||r.title||(r.name?g()(r.name):""),type:e});return Y(o,"__experimental_search",()=>e.__experimental_search),t(o)}}}(a)}};function tb(t,e){let n=t.fieldsets||[],r=n.map(t=>{let{name:e,title:n,description:r,options:i,group:o,hidden:a,readOnly:s}=t;return{name:e,title:n,description:r,options:i,group:o,fields:[],hidden:a,readOnly:s}}),i=p()(r,"name");return e.map(e=>{if(e.fieldset){let n=i[e.fieldset];if(!n)throw Error("Fieldset '".concat(e.fieldset,"' is not defined in schema for type '").concat(t.name,"'"));return n.fields.push(e),1===n.fields.length?n:null}return{single:!0,field:e}}).filter(Boolean)}let tw=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],tx=[...M],tC={name:"reference",title:"Reference",type:null,jsonType:"object"},tE=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string"}],tk=[...M],tS={name:"crossDatasetReference",type:null,jsonType:"object"},tR={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},t_={name:"hotspot",type:"sanity.imageHotspot"},tA={name:"crop",type:"sanity.imageCrop"},tM=[...M],tj={name:"image",title:"Image",type:null,jsonType:"object"},tO={},tT={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},tP=[...M],tL={name:"file",title:"File",type:null,jsonType:"object"},tI={accept:""},tD={name:"document",title:"Document",type:null,jsonType:"object"},tN={get:()=>tD,extend:tv.extend},tV=[...M],tF={name:"array",type:null,jsonType:"array",of:[]},tB={type:"text",name:"text",title:"Text"},tH={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},tU={bullet:{title:"Bullet",value:"bullet"},numbered:{title:"Numbered",value:"number"}},tZ=[tU.bullet,tU.numbered],tW={normal:{title:"Normal",value:"normal"},h1:{title:"Heading 1",value:"h1"},h2:{title:"Heading 2",value:"h2"},h3:{title:"Heading 3",value:"h3"},h4:{title:"Heading 4",value:"h4"},h5:{title:"Heading 5",value:"h5"},h6:{title:"Heading 6",value:"h6"}
13,blockquote:{title:"Quote",value:"blockquote"}},tz=[tW.normal,tW.h1,tW.h2,tW.h3,tW.h4,tW.h5,tW.h6,tW.blockquote],tG={strong:{title:"Strong",value:"strong"},em:{title:"Emphasis",value:"em"},code:{title:"Code",value:"code"},underline:{title:"Underline",value:"underline"},strikeThrough:{title:"Strike",value:"strike-through"}},t$=[tG.strong,tG.em,tG.code,tG.underline,tG.strikeThrough],tq=["type","name","title","jsonType","description","options","fieldsets","icon"],tY={name:"block",title:"Block",type:null,jsonType:"object"},tX={},tK=[{type:"object",name:"link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Url",validation:t=>t.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],tJ=["type","name","title","jsonType","description","options","fieldsets","icon"],tQ={name:"span",title:"Span",type:null,jsonType:"object"},t1={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},t0={name:"text",title:"Text",type:"string"},t5={};var t2=Object.freeze({__proto__:null,any:{get:()=>O,extend(t,e){let n=Object.assign(i()(O,j),t,{type:O,of:t.of.map(t=>({name:t.name,type:e(a()(t,"name"))}))});return function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},e,i()(n,j),{type:e});return t(r)}}}(n)}},array:{get:()=>tF,extend(t,e){let n=Object.assign(i()(tF,tV),t,{type:tF});return Y(n,"of",()=>t.of.map(t=>e(t))),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=Object.assign({},e,i()(n,tV),{type:e});return t(r)}}}(n)}},block:{get:()=>tY,extend(t,e){var n;let r={...t.options||tX},{marks:o,styles:a,lists:s,of:u,...l}=t,c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[tB,tH],annotations:t&&t.annotations?t.annotations:tK,decorators:t&&t.decorators?t.decorators:t$},...e.filter(t=>"span"!==t.type)]}}(o,u),f={name:"style",title:"Style",type:"string",options:{list:(n=a||tz).some(t=>"normal"===t.value)?n:[tW.normal,...n]}},d={name:"markDefs",title:"Mark definitions",type:"array",of:(null==o?void 0:o.annotations)||tK},h=[c,f,{name:"list",title:"List type",type:"string",options:{list:s||tZ}},d].concat(t.fields||[]),p=Object.assign(i()(tY,tq),l,{type:tY,options:r});return Y(p,"fields",()=>h.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(p,"preview",tr(t)),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=Object.assign({},e,i()(n,tq),{type:e});return t(r)}}}(p)}},boolean:{get:()=>U,extend(t){let e=Object.assign(i()(U,H),t,{type:U,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,H),{type:e});return t(r)}}}(e)}},crossDatasetReference:{get:()=>tS,extend(t,e){if(!t.to)throw Error('Missing "to" field in cross dataset reference definition. Check the type '.concat(t.name));let n=Object.assign(i()(tS,tk),t,{type:tS});return Y(n,"fields",()=>tE.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(n,"to",()=>u()(t.to).map(t=>{var e;return{...t,__experimental_search:((e=t)[tu]||(e[tu]=A()([...tp,...tg(e)],t=>t.path.join("."))),e[tu])}})),Y(n,"title",()=>t.title||(n.to&&0!==n.to.length?"Cross dataset reference to ".concat((function(t,e){let n=t.length;if(1===n)return t[0];let r=t.slice(0,n-1),i=t[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(u()(n.to).map(t=>t.title||C()(t.type)),0).toLowerCase()):"Cross dataset Reference")),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},e,i()(n,tk),{type:e});return t(r)}}}(n)}},date:{get:()=>B,extend(t){let e=Object.assign(i()(B,F),t,{type:B,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,F),{type:e});return t(r)}}}(e)}},datetime:{get:()=>V,extend(t){let e=Object.assign(i()(V,N),t,{type:V,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,N),{type:e});return t(r)}}}(e)}},document:tN,email:{get:()=>G,extend(t){let e=Object.assign(i()(G,z),t,{type:G,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,z),{type:e});return t(r)}}}(e)}},file:{get:()=>tL,extend(t,e){let n={...t.options||tI},r=[tT,...t.fields||[]],o={...t,fields:r},a=Object.assign(i()(tL,tP),o,{type:tL,title:o.title||(o.name?g()(o.name):""),options:n,fields:o.fields.map(n=>{let{name:r,fieldset:i,...o}
13=n,a={name:r,fieldset:i,isCustomized:Boolean(t.fields)};return Y(a,"type",()=>e({...o,title:n.title||g()(r)}))})});return Y(a,"fieldsets",()=>tb(o,a.fields)),Y(a,"preview",tr(Object.assign({},o,{fields:r}))),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=Object.assign({},e,i()(n,tP),{type:e});return t(r)}}}(a)}},image:{get:()=>tj,extend(t,e){let n={...t.options||tO},r=[t_,tA];n.hotspot||(r=r.map(t=>({...t,hidden:!0})));let o=[tR,...r,...t.fields||[]],a={...t,fields:o},s=Object.assign(i()(this.get(),tM),a,{type:tj,title:a.title||(a.name?g()(a.name):""),options:n,fields:a.fields.map(n=>{let{name:r,fieldset:i,...o}=n,a={name:r,fieldset:i,isCustomized:Boolean(t.fields)};return Y(a,"type",()=>e({...o,title:n.title||g()(r)}))})});return Y(s,"fieldsets",()=>tb(a,s.fields)),Y(s,"preview",tr(Object.assign({},a,{fields:o}))),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=Object.assign({},e,i()(n,tM),{type:e});return t(r)}}}(s)}},number:{get:()=>q,extend(t){let e=Object.assign(i()(q,$),t,{type:q,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,$),{type:e});return t(r)}}}(e)}},object:tv,reference:{get:()=>tC,extend(t,e){if(!t.to)throw Error('Missing "to" field in reference definition. Check the type '.concat(t.name));let n=Object.assign(i()(tC,tx),t,{type:tC});return Y(n,"fields",()=>tw.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(n,"fieldsets",()=>tb(t,n.fields)),Y(n,"to",()=>u()(t.to).map(t=>e(t))),Y(n,"title",()=>t.title||(n.to&&0!==n.to.length?"Reference to ".concat((function(t,e){let n=t.length;if(1===n)return t[0];let r=t.slice(0,n-1),i=t[n-1];return"".concat(r.join(", ")," ").concat("or"," ").concat(i)})(u()(n.to).map(t=>t.title),0).toLowerCase()):"Reference")),function t(e){return{get:()=>e,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=Object.assign({},e,i()(n,tx),{type:e});return t(r)}}}(n)}},span:{get:()=>tQ,extend(t,e){let n={...t.options||t5},{annotations:r=[],marks:o=[]}=t,a=[t1,t0],s=Object.assign(i()(tQ,tJ),t,{type:tQ,options:n});return Y(s,"fields",()=>a.map(t=>{let{name:n,...r}=t;return{name:n,type:e(r)}})),Y(s,"annotations",()=>r.map(e)),Y(s,"marks",()=>o.map(e)),Y(s,"preview",tr(t)),function t(e){return{get:()=>e,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=Object.assign({},e,i()(n,tJ),{type:e});return t(r)}}}(s)}},string:{get:()=>L,extend(t){let e=Object.assign(i()(L,P),t,{type:L,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,P),{type:e});return t(r)}}}(e)}},text:{get:()=>D,extend(t){let e=Object.assign(i()(D,I),t,{type:D,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,I),{type:e});return t(r)}}}(e)}},url:{get:()=>W,extend(t){let e=Object.assign(i()(W,Z),t,{type:W,preview:T});return function t(e){return{get:()=>e,extend:n=>{let r=Object.assign({},e,i()(n,Z),{type:e});return t(r)}}}(e)}}});let t3=class{static compile(t){return new t3(t)}constructor(t){this._original=t,this._registry=function(t){let e=Object.assign(Object.create(null),t2),n=t.types.reduce((t,e)=>{if(t[e.name])throw Error("Duplicate type name added to schema: ".concat(e.name));return t[e.name]=e,t},{});return t.types.forEach(o),e;function r(t){if(!e[t]){if(!n[t])throw Error("Unknown type: ".concat(t));o(n[t])}}function i(t){return r(t.type),e[t.type].extend(t,i).get()}function o(t){r(t.type),e[t.name]||(e[t.name]=e[t.type].extend(t,i))}}(t)}get name(){return this._original.name}get(t){return this._registry[t]&&this._registry[t].get()}has(t){return t in this._registry}getTypeNames(){return Object.keys(this._registry)}},t4=t3},92212:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function i(t){return r(t)&&"string"==typeof t._ref}function o(t){return r(t)&&"string"==typeof t._ref&&"string"==typeof t._dataset&&"string"==typeof t._projectId}function a(t){return r(t)&&"string"==typeof t._id&&"string"==typeof t._type}function s(t){return r(t)&&"string"==typeof t._type}function u(t){return r(t)&&"string"==typeof t._key}function l(t){return"error"===t.level}function c(t){return"warning"===t.level}function f(t){return"info"===t.level}n.d(e,{DG:function(){return v},EG:function(){return S},Fd:function(){return m},J1:function(){return _},M1:function(){return E},NG:function(){return b},Ny:function(){return f},Si:function(){return a},WQ:function(){return c},YN:function(){return l},Yk:function(){return i},Yz:function(){return o},aj:function(){return R},ay:function(){return s},d7:function(){return k},dD:function(){return function t(e){return w(e)&&("reference"===e.name||t(e.type))}},dw:function(){return p},fU:function(){return u},fe:function(){return j},jB:function(){return C},jp:function(){return A},lo:function(){return g},m$:function(){return x},mz:function(){return function t(e){return w(e)&&("crossDatasetReference"===e.name||t(e.type))}},n4:function(){return M}});let d=/_key\s*==\s*['"](.*)['"]/,h=/^\d*:\d*$/;function p(t){return"number"==typeof t||"string"==typeof t&&/^\[\d+\]$/.test(t)}function m(t){return"string"==typeof t?d.test(t.trim()):"object"==typeof t&&"_key"in t}function g(t){if("string"==typeof t&&h.test(t))return!0;
13if(!Array.isArray(t)||2!==t.length)return!1;let[e,n]=t;return("number"==typeof e||""===e)&&("number"==typeof n||""===n)}function y(t){return!!t&&("object"==typeof t||"function"==typeof t)}function v(t){return y(t)&&"string"==typeof t._type&&Array.isArray(t.children)&&t.children.every(t=>y(t))&&"markDefs"in t&&Array.isArray(t.markDefs)&&t.markDefs.every(t=>y(t))&&(!("style"in t)||"string"==typeof t.style)}function b(t){return y(t)&&"span"===t._type&&"string"==typeof t.text&&(!("marks"in t)||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function w(t){return!!t&&("object"==typeof t||"function"==typeof t)}function x(t){return!!w(t)&&"object"===t.jsonType}function C(t){return!!w(t)&&"array"===t.jsonType}function E(t){return C(t)&&t.of.every(t=>x(t))}function k(t){return C(t)&&t.of.every(t=>A(t))}function S(t){return!!w(t)&&"boolean"===t.jsonType}function R(t){return!!w(t)&&"string"===t.jsonType}function _(t){return!!w(t)&&"number"===t.jsonType}function A(t){return S(t)||R(t)||_(t)}function M(t){return"object"==typeof t&&null!==t&&"title"in t&&"value"in t}function j(t,e){return t}},30963:function(t,e,n){"use strict";let r;n.d(e,{E2:function(){return s},wq:function(){return l},xb:function(){return function t(e){return null==e||("object"==typeof e?function(e){for(let n in e)if("_type"!==n&&"_key"!==n&&o(e,n)&&!t(e[n]))return!1;return!0}(e):!!Array.isArray(e)&&function(e){for(let n=0;n<e.length;n++)if(t(e[n]))return!0;return!1}(e))}}});var i=n(4527),o=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);let a=()=>{if(r)return r;r=[];for(let t=0;t<256;++t)r[t]=(t+256).toString(16).substring(1);return r};function s(t){let e=a();return(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=new Uint8Array(t);return(0,i.Z)(e),e})(t).reduce((t,n)=>t+e[n],"").slice(0,t)}let u=Object.prototype.toString;function l(t){let e=function(t){switch(u.call(t)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}if("object"==typeof t&&t&&"number"==typeof t.length)try{if("function"==typeof t.callee)return"arguments"}catch(t){if(t instanceof TypeError)return"arguments"}return null===t?"null":void 0===t?"undefined":t&&1===t.nodeType?"element":t===Object(t)?"object":typeof t}(t);return"object"!==e?e:"_type"in t&&t._type||e}},9847:function(t,e,n){"use strict";n.d(e,{Q:function(){return a},W:function(){return o}});var r=n(30381),i=n.n(r);function o(t,e){return i()(t).format(e)}function a(t,e){let n=i()(t,e,!0);return n.isValid()?{isValid:!0,date:n.toDate()}:{isValid:!1,error:'Invalid date. Must be on the format "'.concat(e,'"')}}},18266:function(t,e,n){"use strict";n.d(e,{BB:function(){return y},Ny:function(){return p},U2:function(){return u},Xy:function(){return f},Zg:function(){return s},eh:function(){return d},fi:function(){return m},mL:function(){return v},s6:function(){return c},vC:function(){return g}});var r=n(92212);let i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,a=[],s="$";function u(t,e,n){let i="string"==typeof e?v(e):e;if(!Array.isArray(i))throw Error("Path must be an array or a string");let o=t;for(let t=0;t<i.length;t++){let e=i[t];if((0,r.dw)(e)){if(!Array.isArray(o))return n;o=o[e]}if((0,r.Fd)(e)){if(!Array.isArray(o))return n;o=o.find(t=>t._key===e._key)}if("string"==typeof e&&(o="object"==typeof o&&null!==o?o[e]:void 0),void 0===o)return n}return o}let l=new Map;function c(t){if(0===t.length)return a;let e=y(t);return l.has(e)?l.get(e):(l.set(e,t),Object.freeze(t),t)}function f(t,e){return t.length===e.length&&t.every((t,n)=>h(t,e[n]))}function d(t,e){let n=Math.min(t.length,e.length);for(let r=0;r<n;r++)if(!h(t[r],e[r]))return r;return n}function h(t,e){return(0,r.Fd)(t)&&(0,r.Fd)(e)?t._key===e._key:(0,r.dw)(t)?Number(t)===Number(e):(0,r.lo)(t)&&(0,r.lo)(e)?t[0]===e[0]&&t[1]===e[1]:t===e}function p(t,e){return t.every((t,n)=>h(t,e[n]))}function m(t,e){if(0===t.length||0===e.length)return e;let[n,...r]=t,[i,...o]=e;return h(n,i)?c(m(r,o)):e}function g(t,e){return p(t,e)?m(t,e):a}function y(t){if(!Array.isArray(t))throw Error("Path is not an array");return t.reduce((t,e,n)=>{let i=typeof e;if("number"===i)return"".concat(t,"[").concat(e,"]");if("string"===i)return"".concat(t).concat(0===n?"":".").concat(e);
13if((0,r.Fd)(e)&&e._key)return"".concat(t,'[_key=="').concat(e._key,'"]');if(Array.isArray(e)){let[n,r]=e;return"".concat(t,"[").concat(n,":").concat(r,"]")}throw Error("Unsupported path segment `".concat(JSON.stringify(e),"`"))},"")}function v(t){if("string"!=typeof t)throw Error("Path is not a string");let e=t.match(i);if(!e)throw Error("Invalid path string");return e.map(b)}function b(t){return(0,r.dw)(t)?Number(t.replace(/[^\d]/g,"")):(0,r.Fd)(t)?function(t){let e=t.match(o);return{_key:e[1]}}(t):(0,r.lo)(t)?function(t){let[e,n]=t.split(":").map(t=>""===t?t:Number(t));return[e,n]}(t):t}},90634:function(t,e,n){"use strict";var r=n(34155);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.log=function(){var t;return("undefined"==typeof console?"undefined":i(console))==="object"&&console.log&&(t=console).log.apply(t,arguments)},e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)}},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(5529)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},5529:function(t,e,n){"use strict";t.exports=function(t){function e(t){for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n)|0;return r.colors[Math.abs(e)%r.colors.length]}function r(t){var n;function a(){if(a.enabled){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=a,s=Number(new Date),u=s-(n||s);o.diff=u,o.prev=n,o.curr=s,n=s,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;l++;var i=r.formatters[n];if("function"==typeof i){var a=e[l];t=i.call(o,a),e.splice(l,1),l--}return t}),r.formatArgs.call(o,e),(o.log||r.log).apply(o,e)}}return a.namespace=t,a.enabled=r.enabled(t),a.useColors=r.useColors(),a.color=e(t),a.destroy=i,a.extend=o,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function i(){var t=r.instances.indexOf(this);return -1!==t&&(r.instances.splice(t,1),!0)}function o(t,e){return r(this.namespace+(void 0===e?":":e)+t)}return r.debug=r,r.default=r,r.coerce=function(t){return t instanceof Error?t.stack||t.message:t},r.disable=function(){r.enable("")},r.enable=function(t){r.save(t),r.names=[],r.skips=[];var e,n=("string"==typeof t?t:"").split(/[\s,]+/),i=n.length;for(e=0;e<i;e++)n[e]&&("-"===(t=n[e].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+t.substr(1)+"$")):r.names.push(RegExp("^"+t+"$")));for(e=0;e<r.instances.length;e++){var o=r.instances[e];o.enabled=r.enabled(o.namespace)}},r.enabled=function(t){var e,n;if("*"===t[t.length-1])return!0;for(e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1},r.humanize=n(57824),Object.keys(t).forEach(function(e){r[e]=t[e]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=e,r.enable(r.load()),r}},58898:function(t,e,n){"use strict";n.d(e,{l:function(){return a},m2:function(){return h},W2:function(){return g}});var r=n(86515),i=n(67294),o=n(53741);function a(t,e){var n=(0,i.useCallback)(function(){var n=new r.X(t),i=n.asObservable().pipe((0,o.x)());return[e?i.pipe(e):i,n]},[]),a=(0,i.useRef)();a.current||(a.current=n());var s=a.current[0];(0,i.useEffect)(function(){a.current&&a.current[1].next(t)},[t,a]);var u=(0,i.useRef)(!1);return(0,i.useEffect)(function(){return u.current&&(a.current||(a.current=n()),u.current=!1),function(){a.current&&(u.current=!0,a.current[1].complete(),a.current=void 0)}},[]),s}var s=n(61688),u=n(68515),l=n(42006);function c(t){return"function"==typeof t?t():t}var f=new WeakMap;function d(t,e){if(!f.has(t)){var n={currentValue:e};n.observable=t.pipe((0,u.d)({refCount:!0,bufferSize:1}),(0,l.b)(function(t){return n.currentValue=t})),n.subscription=n.observable.subscribe(),f.set(t,n)}return f.get(t)}function h(t,e,n){var r,o,a,u,l;return r=(0,i.useMemo)(function(){return c(t)},e),a=(o=(0,i.useMemo)(function(){var t=d(r,c(n));return t.subscription.closed&&(t.subscription=t.observable.subscribe()),[function(){return t.currentValue},function(e){var n=t.observable.subscribe(e);return function(){n.unsubscribe()}}]},[r]))[0],u=o[1],l=(0,i.useRef)(!1),(0,i.useEffect)(function(){var t=d(r,c(n));return l.current&&(t.subscription.closed&&(t.subscription=t.observable.subscribe()),l.current=!1),function(){l.current=!t.subscription.closed,t.subscription.unsubscribe()}},[r]),(0,s.useSyncExternalStore)(u,a)}var p=n(21827),m=[];function g(t,e){void 0===e&&(e=m);var n=(0,i.useRef)();n.current||(n.current=(0,p.E)());var r=n.current,o=r[0],a=r[1],s=(0,i.useCallback)(t,e);return(0,i.useEffect)(function(){var t=o.pipe(s).subscribe();return function(){t.unsubscribe()}},[o,a,s]),a}},38993:function(t){t.exports=function(t,e,n){if(null===t!=(null===e))return!1;var r=Array.isArray(t);if(r!==Array.isArray(e))return!1;var i=typeof t;return i===typeof e&&("function"!==i&&"object"!==i?n?n(t,e):t===e:r?function(t,e,n){var r=t.length;if(r!==e.length)return!1;if(n){for(var i=0;i<r;i++)if(!n(t[i],e[i]))return!1}else for(var i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}(t,e,n):function(t,e,n){var r=0,i=0;if(n)for(var o in t){if(t.hasOwnProperty(o)&&!n(t[o],e[o]))return!1;r++}else for(var o in t){if(t.hasOwnProperty(o)&&t[o]!==e[o])return!1;r++}for(var o in e)e.hasOwnProperty(o)&&i++;return r===i}(t,e,n))}},96774:function(t){t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;
13if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=t[l],f=e[l];if(!1===(i=n?n.call(r,c,f,l):void 0)||void 0===i&&c!==f)return!1}return!0}},36582:function(t,e){"use strict";e.Q=function(t){var e=String(t||"").trim();return""===e?[]:e.split(n)};var n=/[ \t\n\r\f]+/g},989:function(t,e,n){t.exports=n(63268)},63268:function(t,e){var n,r,i,o,a,s,u,l,c,f,d;r={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"Ae",Ã
:"A",Ã:"AE",Ã:"C",Ã:"E",Ã:"E",Ã:"E",Ã:"E",Ã:"I",Ã:"I",Ã:"I",Ã:"I",Ã:"D",Ã:"N",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"Oe",Å:"O",Ã:"O",Ã:"U",Ã:"U",Ã:"U",Ã:"Ue",Ű:"U",Ã:"Y",Ã:"TH",Ã:"ss",à :"a",á:"a",â:"a",ã:"a",ä:"ae",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",Ã:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",Å:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y",áº:"SS",ا:"a",Ø£:"a",Ø¥:"i",Ø¢:"aa",ؤ:"u",ئ:"e",Ø¡:"a",ب:"b",ت:"t",Ø«:"th",ج:"j",Ø:"h",Ø®:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",Ø´:"sh",ص:"s",ض:"dh",Ø·:"t",ظ:"z",ع:"a",غ:"gh",Ù:"f",Ù:"q",Ù:"k",Ù:"l",Ù
:"m",Ù:"n",Ù:"h",Ù:"w",Ù:"y",Ù:"a",Ø©:"h",ï»»:"la",ï»·:"laa",ﻹ:"lai",ﻵ:"laa",Ú¯:"g",Ú:"ch",Ù¾:"p",Ú:"zh",Ú©:"k",Û:"y","Ù":"a","Ù":"an","Ù":"e","Ù":"en","Ù":"u","Ù":"on","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9",á:"k",á:"kh",á:"g",á:"ga",á:"ng",á
:"s",á:"sa",á:"z",á
á»:"za",á:"ny",á:"t",á:"ta",á:"d",á:"da",á:"na",á:"t",á:"ta",á:"d",á:"da",á:"n",á:"p",á:"pa",á:"b",á:"ba",á:"m",á:"y",á:"ya",á:"l",á:"w",á:"th",á:"h",á :"la",á¡:"a","á¼":"y","á»":"ya","á½":"w","á¼á½":"yw","á»á½":"ywa","á¾":"h",á§:"e","á":"-e",á£:"i",á¤:"-i",á:"u",á¦:"-u",á©:"aw",áá¼á±á¬:"aw",áª:"aw","á":"0","á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á¹":"","á·":"","á¸":"",Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z",Þ:"h",Þ:"sh",Þ:"n",Þ:"r",Þ:"b",Þ
:"lh",Þ:"k",Þ:"a",Þ:"v",Þ:"m",Þ:"f",Þ:"dh",Þ:"th",Þ:"l",Þ:"g",Þ:"gn",Þ:"s",Þ:"d",Þ:"z",Þ:"t",Þ:"y",Þ:"p",Þ:"j",Þ:"ch",Þ:"tt",Þ:"hh",Þ:"kh",Þ:"th",Þ:"z",Þ:"sh",Þ:"s",Þ:"d",Þ :"t",Þ¡:"z",Þ¢:"a",Þ£:"gh",Þ¤:"q",Þ¥:"w","Þ¦":"a","Þ§":"aa","Þ¨":"i","Þ©":"ee","Þª":"u","Þ«":"oo","Þ¬":"e","Þ":"ey","Þ®":"o","Þ¯":"oa","Þ°":"",á:"a",á:"b",á:"g",á:"d",á:"e",á:"v",á:"z",á:"t",á:"i",á:"k",á:"l",á:"m",á:"n",á:"o",á:"p",á:"zh",á :"r",á¡:"s",á¢:"t",á£:"u",á¤:"p",á¥:"k",á¦:"gh",á§:"q",á¨:"sh",á©:"ch",áª:"ts",á«:"dz",á¬:"ts",á:"ch",á®:"kh",á¯:"j",á°:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",Ï:"p",Ï:"r",Ï:"s",Ï:"t",Ï
:"y",Ï:"f",Ï:"x",Ï:"ps",Ï:"o",ά:"a",Î:"e",ί:"i",Ï:"o",Ï:"y",ή:"i",Ï:"o",Ï:"s",Ï:"i",ΰ:"y",Ï:"y",Î:"i",Î:"A",Î:"B",Î:"G",Î:"D",Î:"E",Î:"Z",Î:"I",Î:"TH",Î:"I",Î:"K",Î:"L",Î:"M",Î:"N",Î:"KS",Î:"O",Î :"P",Ρ:"R",Σ:"S",Τ:"T",Î¥:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Î:"A",Î:"E",Î:"I",Î:"O",Î:"Y",Î:"I",Î:"O",Ϊ:"I",Ϋ:"Y",Ä:"a",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å«:"u",Ä:"A",Ä:"E",Ä¢:"G",Ī:"I",Ķ:"k",Ä»:"L",Å
:"N",Ū:"U",Ð:"Kj",Ñ:"kj",Ð:"Lj",Ñ:"lj",Ð:"Nj",Ñ:"nj",ТÑ:"Ts",ÑÑ:"ts",Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"E",Å:"L",Å:"N",Å:"S",Ź:"Z",Å»:"Z",Ð:"Ye",Ð:"I",Ð:"Yi",Ò:"G",Ñ:"ye",Ñ:"i",Ñ:"yi",Ò:"g",Ä:"a",Ä:"A",È:"s",È:"S",È:"t",È:"T",Å£:"t",Å¢:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",Ñ:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",Ñ:"r",Ñ:"s",Ñ:"t",Ñ:"u",Ñ:"f",Ñ
:"kh",Ñ:"c",Ñ:"ch",Ñ:"sh",Ñ:"sh",Ñ:"",Ñ:"y",Ñ:"",Ñ:"e",Ñ:"yu",Ñ:"ya",Ð:"A",Ð:"B",Ð:"V",Ð:"G",Ð:"D",Ð:"E",Ð:"Yo",Ð:"Zh",Ð:"Z",Ð:"I",Ð:"I",Ð:"K",Ð:"L",Ð:"M",Ð:"N",Ð:"O",Ð:"P",Ð :"R",С:"S",Т:"T",У:"U",Ф:"F",Ð¥:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Ð:"E",Ю:"Yu",Я:"Ya",Ñ:"dj",Ñ:"j",Ñ:"c",Ñ:"dz",Ð:"Dj",Ð:"j",Ð:"C",Ð:"Dz",ľ:"l",ĺ:"l",Å:"r",Ľ:"L",Ĺ:"L",Å:"R",Å:"s",Å:"S",ı:"i",İ:"I",Ä:"g",Ä:"G",ả:"a",Ả:"A",á
13º³:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",Ä:"d",Ä:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",á»:"e",á»:"E",á»:"e",á»:"E",á»
:"e",á»:"E",á»:"e",á»:"E",á»:"o",á»:"o",á»:"o",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",Æ¡:"o",Æ :"O",á»:"o",á»:"O",á»:"o",á»:"O",ợ:"o",Ợ:"O",ỡ:"o",á» :"O",á»:"o",á»:"o",á»:"i",á»:"I",Ä©:"i",Ĩ:"I",á»:"i",á»:"i",á»§:"u",Ủ:"U",ụ:"u",Ụ:"U",Å©:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",á»±:"u",á»°:"U",ữ:"u",á»®:"U",á»:"u",Ử:"ư",á»·:"y",á»¶:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",á»´:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",áº:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","âª":"0","â ":"1","â¡":"2","â¢":"3","â£":"4","â¤":"5","â¥":"6","â¦":"7","â§":"8","â¨":"9","â©":"10","âª":"11","â«":"12","â¬":"13","â":"14","â®":"15","â¯":"16","â°":"17","â±":"18","â²":"18","â³":"18","âµ":"1","â¶":"2","â·":"3","â¸":"4","â¹":"5","âº":"6","â»":"7","â¼":"8","â½":"9","â¾":"10","â¿":"0","â«":"11","â¬":"12","â":"13","â®":"14","â¯":"15","â°":"16","â±":"17","â²":"18","â³":"19","â´":"20","â¶":"A","â·":"B","â¸":"C","â¹":"D","âº":"E","â»":"F","â¼":"G","â½":"H","â¾":"I","â¿":"J","â":"K","â":"L","â":"M","â":"N","â":"O","â
":"P","â":"Q","â":"R","â":"S","â":"T","â":"U","â":"V","â":"W","â":"X","â":"Y","â":"Z","â":"a","â":"b","â":"c","â":"d","â":"e","â":"f","â":"g","â":"h","â":"i","â":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","â ":"q","â¡":"r","â¢":"s","â£":"t","â¤":"u","â¦":"v","â¥":"w","â§":"x","â¨":"y","â©":"z","â":'"',"â":'"',"â":"'","â":"'","â":"d",Æ:"f","â¢":"(TM)","\xa9":"(C)",Å:"oe",Å:"OE","\xae":"(R)","â ":"+","â ":"(SM)","â¦":"...","Ë":"o",º:"o",ª:"a","â¢":"*","á":",","á":".",$:"USD","â¬":"EUR","â¢":"BRN","â£":"FRF","\xa3":"GBP","â¤":"ITL","â¦":"NGN","â§":"ESP","â©":"KRW","âª":"ILS","â«":"VND","â":"LAK","â®":"MNT","â¯":"GRD","â±":"ARS","â²":"PYG","â³":"ARA","â´":"UAH","âµ":"GHS","\xa2":"cent","\xa5":"CNY",å
:"CNY",å:"YEN","ï·¼":"IRR","â ":"EWE","฿":"THB","â¨":"INR","â¹":"INR","â°":"PF","âº":"TRY","Ø":"AFN","â¼":"AZN",лв:"BGN","á":"KHR","â¡":"CRC","â¸":"KZT",ден:"MKD",zÅ:"PLN","â½":"RUB","â¾":"GEL"},i=["áº","Þ°"],o={"á¬":"a","á«":"a","á±":"e","á²":"e","á":"i","á®":"i","áá¯":"o","á¯":"u","á°":"u","á±á«ááº":"aung","á±á¬":"aw","á±á¬áº":"aw","á±á«":"aw","á±á«áº":"aw","áº":"áº",ááº:"et","áá¯ááº":"aik","á±á¬ááº":"auk",ááº:"in","áá¯ááº":"aing","á±á¬ááº":"aung",á
áº:"it",ááº:"i",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut","á±ááº":"it",ááº:"d","áá¯ááº":"ok","á¯ááº":"ait",ááº:"an","á¬ááº":"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut",ááºá¯ááº:"nub",ááº:"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"e","áá¯ááº":"ol",ááº:"in","á¶":"an","áá¶":"ein","á¯á¶":"on","Þ¦ÞÞ°":"ah","Þ¦ÞÞ°":"ah"},a={en:{},az:{ç:"c",É:"e",Ä:"g",ı:"i",ö:"o",Å:"s",ü:"u",Ã:"C",Æ:"E",Ä:"G",İ:"I",Ã:"O",Å:"S",Ã:"U"},cs:{Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z"},fi:{ä:"a",Ã:"A",ö:"o",Ã:"O"},hu:{ä:"a",Ã:"A",ö:"o",Ã:"O",ü:"u",Ã:"U",ű:"u",Ű:"U"},lt:{Ä
:"a",Ä:"c",Ä:"e",Ä:"e",į:"i",Å¡:"s",ų:"u",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä:"E",Ä®:"I",Å :"S",Ų:"U",Ū:"U"},lv:{Ä:"a",Ä:"c",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å¡:"s",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä¢:"G",Ī:"i",Ķ:"k",Ä»:"L",Å
:"N",Å :"S",Ū:"u",Ž:"Z"},pl:{Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",ó:"o",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"e",Å:"L",Å:"N",Ã:"O",Å:"S",Ź:"Z",Å»:"Z"},sv:{ä:"a",Ã:"A",ö:"o",Ã:"O"},sk:{ä:"a",Ã:"A"},sr:{Ñ:"lj",Ñ:"nj",Ð:"Lj",Ð:"Nj",Ä:"dj",Ä:"Dj"},tr:{Ã:"U",Ã:"O",ü:"u",ö:"o"}},s={ar:{"â":"delta","â":"la-nihaya","â¥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","â":"majmou","\xa4":"omla"},az:{},ca:{"â":"delta","â":"infinit","â¥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","â":"suma dels","\xa4":"moneda"},cs:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","â":"soucet","\xa4":"mena"},de:{"â":"delta","â":"unendlich","â¥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","â":"Summe von","\xa4":"Waehrung"},dv:{"â":"delta","â":"kolunulaa","â¥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","â":"jumula","\xa4":"faisaa"},en:{"â":"delta","â":"infinity","â¥":"love","&":"and","|":"or","<":"less than",">":"greater than","â":"sum","\xa4":"currency"},es:{"â":"delta","â":"infinito","â¥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","â":"suma de los","\xa4":"moneda"},fa:{"â":"delta","â":"bi-nahayat","â¥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","â":"majmooe","\xa4":"vahed"},fi:{"â":"delta","â":"aarettomyys","â¥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","â":"summa","\xa4":"valuutta"},fr:{"â":"delta","â":"infiniment","â¥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","â":"somme des","\xa4":"monnaie"},ge:{"â":"delta","â":"usasruloba","â¥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","â":"jami","\xa4":"valuta"},gr:{},hu:{"â":"delta","â":"vegtelen","â¥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","â":"szumma","\xa4":"penznem"},it:{"â":"delta","â":"infinito","â¥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","â":"somma","\xa4":"moneta"},lt:{"â":"delta","â":"begalybe","â¥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","â":"suma","\xa4":"valiuta"},lv:{"â":"delta","â":"bezgaliba","â¥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","â":"summa","\xa4":"valuta"},my:{"â":"kwahkhyaet","â":"asaonasme","â¥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","â":"paungld","\xa4":"ngwekye"},mk:{},nl:{"â":"delta","â":"oneindig","â¥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","â":"som","\xa4":"valuta"},pl:{"â":"delta","â":"nieskonczonosc","â¥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","â":"suma","\xa4":"waluta"},pt:{"â":"delta","â":"infinito","â¥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","â":"soma","\xa4":"moeda"},ro:{"â":"delta","â":"infinit","â¥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","â":"suma","\xa4":"valuta"},ru:{"â":"delta","â":"beskonechno","â¥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","â":"summa","\xa4":"valjuta"},sk:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","â":"sucet","\xa4":"mena"},sr:{},tr:{"â":"delta","â":"sonsuzluk","â¥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","â":"toplam","\xa4":"para birimi"},uk:{"â":"delta","â":"bezkinechnist","â¥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","â":"suma","\xa4":"valjuta"},vn:{"â":"delta","â":"vo cuc","â¥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","â":"tong","\xa4":"tien te"}},u=";?:@&=+$,/",l=";?:@&=+$,",c=function(t,e){var n,c,h,p,m,g,y,v,b,w,x,C,E,k,S="-",R="",_="",A=!0,M={},j="";if("string"!=typeof t)return"";if("string"==typeof e&&(S=e),y=s.en,v=a.en,"object"==typeof e)for(x in n=e.maintainCase||!1,M=e.custom&&"object"==typeof e.custom?e.custom:M,h=+e.truncate>1&&e.truncate||!1,p=e.uric||!1,m=e.uricNoSlash||!1,g=e.mark||!1,A=!1!==e.symbols&&!1!==e.lang,S=e.separator||S,p&&(j+=u),m&&(j+=l),g&&(j+=".!~*'()"),y=e.lang&&s[e.lang]&&A?s[e.lang]:A?s.en:{},v=e.lang&&a[e.lang]?a[e.lang]:!1===e.lang||!0===e.lang?{}:a.en,e.titleCase&&"number"==typeof e.titleCase.length&&Array.prototype.toString.call(e.titleCase)?(e.titleCase.forEach(function(t){M[t+""]=t+""}),c=!0):c=!!e.titleCase,e.custom&&"number"==typeof e.custom.length&&Array.prototype.toString.call(e.custom)&&e.custom.forEach(function(t){M[t+""]=t+""}
13),Object.keys(M).forEach(function(e){var n;n=e.length>1?RegExp("\\b"+f(e)+"\\b","gi"):RegExp(f(e),"gi"),t=t.replace(n,M[e])}),M)j+=x;for(j+=S,j=f(j),t=t.replace(/(^\s+|\s+$)/g,""),E=!1,k=!1,w=0,C=t.length;w<C;w++)d(x=t[w],M)?E=!1:v[x]?(x=E&&v[x].match(/[A-Za-z0-9]/)?" "+v[x]:v[x],E=!1):x in r?(w+1<C&&i.indexOf(t[w+1])>=0?(_+=x,x=""):!0===k?(x=o[_]+r[x],_=""):x=E&&r[x].match(/[A-Za-z0-9]/)?" "+r[x]:r[x],E=!1,k=!1):x in o?(_+=x,x="",w===C-1&&(x=o[_]),k=!0):!y[x]||p&&-1!==u.indexOf(x)||m&&-1!==l.indexOf(x)?(!0===k?(x=o[_]+x,_="",k=!1):E&&(/[A-Za-z0-9]/.test(x)||R.substr(-1).match(/A-Za-z0-9]/))&&(x=" "+x),E=!1):(x=(E||R.substr(-1).match(/[A-Za-z0-9]/)?S+y[x]:y[x])+(void 0!==t[w+1]&&t[w+1].match(/[A-Za-z0-9]/)?S:""),E=!0),R+=x.replace(RegExp("[^\\w\\s"+j+"_-]","g"),S);return c&&(R=R.replace(/(\w)(\S*)/g,function(t,e,n){var r=e.toUpperCase()+(null!==n?n:"");return 0>Object.keys(M).indexOf(r.toLowerCase())?r:r.toLowerCase()})),R=R.replace(/\s+/g,S).replace(RegExp("\\"+S+"+","g"),S).replace(RegExp("(^\\"+S+"+|\\"+S+"+$)","g"),""),h&&R.length>h&&(b=R.charAt(h)===S,R=R.slice(0,h),b||(R=R.slice(0,R.lastIndexOf(S)))),n||c||(R=R.toLowerCase()),R},f=function(t){return t.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(t,e){for(var n in e)if(e[n]===t)return!0}
vendor: 4,911 bytes, line 13
13,t.exports?(t.exports=c,t.exports.createSlug=function(t){return function(e){return c(e,t)}}):void 0===(n=(function(){return c}).apply(e,[]))||(t.exports=n)},68777:function(t,e,n){"use strict";n.d(e,{f6:function(){return tM},vJ:function(){return tP},iv:function(){return tw},ZP:function(){return tD},F4:function(){return tL},Fg:function(){return tI}});var r,i=n(59864),o=n(67294),a=n(96774),s=n.n(a),u=function(t){function e(t,e,r){var i=e.trim().split(p);e=i;var o=i.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<o;++s)e[s]=n(t,e[s],r).trim();break;default:var u=s=0;for(e=[];s<o;++s)for(var l=0;l<a;++l)e[u++]=n(t[l]+" ",i[s],r).trim()}return e}function n(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function r(t,e,n,o){var a=t+";",s=2*e+3*n+4*o;if(944===s){t=a.indexOf(":",9)+1;var u=a.substring(t,a.length-1).trim();return u=a.substring(0,t).trim()+u+";",1===M||2===M&&i(u,1)?"-webkit-"+u+u:u}if(0===M||2===M&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(e=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(e)){case 226:u=a.replace(b,"tb");break;case 232:u=a.replace(b,"tb-rl");break;case 220:u=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(u=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?r(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),P(2!==e?r:r.replace(E,"$1"),n,e)}function o(t,e){var n=r(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(x," or ($1)").substring(4):"("+e+")"}function a(t,e,n,r,i,o,a,s,l,c){for(var f,d=0,h=e;d<T;++d)switch(f=O[d].call(u,t,h,n,r,i,o,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==e)return h}function s(t){return void 0!==(t=t.prefix)&&(P=null,t?"function"!=typeof t?M=1:(M=2,P=t):M=0),s}function u(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<T){var u=a(-1,n,s,s,_,R,0,0,0,0);void 0!==u&&"string"==typeof u&&(n=u)}var f=function t(n,s,u,f,d){for(var h,p,m,b,x,C=0,E=0,k=0,S=0,O=0,P=0,I=m=h=0,D=0,N=0,V=0,F=0,B=u.length,H=B-1,U="",Z="",W="",z="";D<B;){if(p=u.charCodeAt(D),D===H&&0!==E+S+k+C&&(0!==E&&(p=47===E?10:47),S=k=C=0,B++,H++),0===E+S+k+C){if(D===H&&(0<N&&(U=U.replace(c,"")),0<U.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(D)}p=59}
vendor: 5,271 bytes, line 13
13switch(p){case 123:for(h=(U=U.trim()).charCodeAt(0),m=1,F=++D;D<B;){switch(p=u.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(p=u.charCodeAt(D+1)){case 42:case 47:e:{for(I=D+1;I<H;++I)switch(u.charCodeAt(I)){case 47:if(42===p&&42===u.charCodeAt(I-1)&&D+2!==I){D=I+1;break e}break;case 10:if(47===p){D=I+1;break e}}D=I}}break;case 91:p++;case 40:p++;case 34:case 39:for(;D++<H&&u.charCodeAt(D)!==p;);}if(0===m)break;D++}if(m=u.substring(F,D),0===h&&(h=(U=U.replace(l,"").trim()).charCodeAt(0)),64===h){switch(0<N&&(U=U.replace(c,"")),p=U.charCodeAt(1)){case 100:case 109:case 115:case 45:N=s;break;default:N=j}if(F=(m=t(s,N,m,p,d+1)).length,0<T&&(N=e(j,U,V),x=a(3,m,N,s,_,R,F,p,d,f),U=N.join(""),void 0!==x&&0===(F=(m=x.trim()).length)&&(p=0,m="")),0<F)switch(p){case 115:U=U.replace(w,o);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(g,"$1 $2"))+"{"+m+"}",m=1===M||2===M&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===f&&(Z+=m,m="")}else m=""}else m=t(s,e(s,U,V),m,f,d+1);W+=m,m=V=N=I=h=0,U="",p=u.charCodeAt(++D);break;case 125:case 59:if(1<(F=(U=(0<N?U.replace(c,""):U).trim()).length))switch(0===I&&(45===(h=U.charCodeAt(0))||96<h&&123>h)&&(F=(U=U.replace(" ",":")).length),0<T&&void 0!==(x=a(1,U,s,n,_,R,Z.length,f,d,f))&&0===(F=(U=x.trim()).length)&&(U="\x00\x00"),h=U.charCodeAt(0),p=U.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){z+=U+u.charAt(D);break}default:58!==U.charCodeAt(F-1)&&(Z+=r(U,h,p,U.charCodeAt(2)))}V=N=I=h=0,U="",p=u.charCodeAt(++D)}}switch(p){case 13:case 10:47===E?E=0:0===1+h&&107!==f&&0<U.length&&(N=1,U+="\x00"),0<T*L&&a(0,U,s,n,_,R,Z.length,f,d,f),R=1,_++;break;case 59:case 125:if(0===E+S+k+C){R++;break}default:switch(R++,b=u.charAt(D),p){case 9:case 32:if(0===S+C+E)switch(O){case 44:case 58:case 9:case 32:b="";break;default:32!==p&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===S+E+C&&(N=V=1,b="\f"+b);break;case 108:if(0===S+E+C+A&&0<I)switch(D-I){case 2:112===O&&58===u.charCodeAt(D-3)&&(A=O);case 8:111===P&&(A=P)}break;case 58:0===S+E+C&&(I=D);break;case 44:0===E+k+S+C&&(N=1,b+="\r");break;case 34:case 39:0===E&&(S=S===p?0:0===S?p:S);break;case 91:0===S+E+k&&C++;break;case 93:0===S+E+k&&C--;break;case 41:0===S+E+C&&k--;break;case 40:0===S+E+C&&(0===h&&(2*O+3*P==533||(h=1)),k++);break;case 64:0===E+k+S+C+I+m&&(m=1);break;case 42:case 47:if(!(0<S+C+k))switch(E){case 0:switch(2*p+3*u.charCodeAt(D+1)){case 235:E=47;break;case 220:F=D,E=42}break;case 42:47===p&&42===O&&F+2!==D&&(33===u.charCodeAt(F+2)&&(Z+=u.substring(F,D+1)),b="",E=0)}}0===E&&(U+=b)}P=O,O=p,D++}if(0<(F=Z.length)){if(N=s,0<T&&void 0!==(x=a(2,Z,N,n,_,R,F,f,d,f))&&0===(Z=x).length)return z+Z+W;if(Z=N.join(",")+"{"+Z+"}",0!=M*A){switch(2!==M||i(Z,2)||(A=0),A){case 111:Z=Z.replace(v,":-moz-$1")+Z;break;case 112:Z=Z.replace(y,"::-webkit-input-$1")+Z.replace(y,"::-moz-$1")+Z.replace(y,":-ms-input-$1")+Z}A=0}}return z+Z+W}(j,s,n,0,0);return 0<T&&void 0!==(u=a(-2,f,s,s,_,R,f.length,0,0,0))&&(f=u),A=0,R=_=1,f}var l=/^\0+/g,c=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,R=1,_=1,A=0,M=1,j=[],O=[],T=0,P=null,L=0;return u.use=function t(e){switch(e){case void 0:case null:T=O.length=0;break;default:if("function"==typeof e)O[T++]=e;else if("object"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else L=0|!!e}return t},u.set=s,void 0!==t&&s(t),u},l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},c=n(45042),f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
vendor: 9,424 bytes, line 13
13ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,c.Z)(function(t){return f.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),h=n(8679),p=n.n(h),m=n(34155);function g(){return(g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var y=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},v=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,i.typeOf)(t)},b=Object.freeze([]),w=Object.freeze({});function x(t){return"function"==typeof t}function C(t){return t.displayName||t.name||"Component"}function E(t){return t&&"string"==typeof t.styledComponentId}var k=void 0!==m&&void 0!==m.env&&(m.env.REACT_APP_SC_ATTR||m.env.SC_ATTR)||"data-styled",S="undefined"!=typeof window&&"HTMLElement"in window,R=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==m&&void 0!==m.env&&(void 0!==m.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==m.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==m.env.REACT_APP_SC_DISABLE_SPEEDY&&m.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==m.env.SC_DISABLE_SPEEDY&&""!==m.env.SC_DISABLE_SPEEDY&&"false"!==m.env.SC_DISABLE_SPEEDY&&m.env.SC_DISABLE_SPEEDY)),_={};function A(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var M=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)(i<<=1)<0&&A(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(t+1),s=0,u=e.length;s<u;s++)this.tag.insertRule(a,e[s])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,o=r;o<i;o++)e+=this.tag.getRule(o)+"/*!sc*/\n";return e},t}(),j=new Map,O=new Map,T=1,P=function(t){if(j.has(t))return j.get(t);for(;O.has(T);)T++;var e=T++;return j.set(t,e),O.set(e,t),e},L=function(t,e){e>=T&&(T=e+1),j.set(t,e),O.set(e,t)},I="style["+k+'][data-styled-version="5.3.9"]',D=RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(t,e,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&t.registerName(e,r)},V=function(t,e){for(var n=(e.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(D);if(s){var u=0|parseInt(s[1],10),l=s[2];0!==u&&(L(l,u),N(t,l,s[3]),t.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},F=function(){return n.nc},B=function(t){var e=document.head,n=t||e,r=document.createElement("style"),i=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(k))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(k,"active"),r.setAttribute("data-styled-version","5.3.9");var a=F();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},H=function(){function t(t){var e=this.element=B(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}A(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),U=function(){function t(t){var e=this.element=B(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),Z=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),W=S,z={isServer:!S,useCSSOMInjection:!R},G=function(){function t(t,e,n){void 0===t&&(t=w),void 0===e&&(e={}),this.options=g({},z,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&S&&W&&(W=!1,function(t){for(var e=document.querySelectorAll(I),n=0,r=e.length;n<r;n++){var i=e[n];i&&"active"!==i.getAttribute(k)&&(V(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return P(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(g({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){var t,e,n,r,i;return this.tag||(this.tag=(n=(e=this.options).isServer,r=e.useCSSOMInjection,i=e.target,t=n?new Z(i):r?new H(i):new U(i),new M(t)))},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(P(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(P(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(P(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++){var o,a=(o=i,O.get(o));if(void 0!==a){var s=t.names.get(a),u=e.getGroup(i);if(s&&u&&s.size){var l=k+".g"+i+'[id="'+a+'"]',c="";
13void 0!==s&&s.forEach(function(t){t.length>0&&(c+=t+",")}),r+=""+u+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},t}(),$=/(a)(d)/gi,q=function(t){return String.fromCharCode(t+(t>25?39:97))};function Y(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=q(e%52)+n;return(q(e%52)+n).replace($,"$1-$2")}var X=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},K=function(t){return X(5381,t)};function J(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(x(n)&&!E(n))return!1}return!0}var Q=K("5.3.9"),tt=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&J(t),this.componentId=e,this.baseHash=X(Q,e),this.baseStyle=n,G.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=tv(this.rules,t,e,n).join(""),a=Y(X(this.baseHash,o)>>>0);if(!e.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);e.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var u=this.rules.length,l=X(this.baseHash,n.hash),c="",f=0;f<u;f++){var d=this.rules[f];if("string"==typeof d)c+=d;else if(d){var h=tv(d,t,e,n),p=Array.isArray(h)?h.join(""):h;l=X(l,p+f),c+=p}}if(c){var m=Y(l>>>0);if(!e.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);e.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},t}(),te=/^\s*\/\/.*$/gm,tn=[":","[",".","#"];function tr(t){var e,n,r,i,o=void 0===t?w:t,a=o.options,s=o.plugins,l=void 0===s?b:s,c=new u(void 0===a?w:a),f=[],d=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,i,o,a,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return t(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(e)}}}(function(t){f.push(t)}),h=function(t,r,o){return 0===r&&-1!==tn.indexOf(o[n.length])||o.match(i)?t:"."+e};function p(t,o,a,s){void 0===s&&(s="&");var u=t.replace(te,"");return e=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,o&&a?a+" "+o+" { "+u+" }":u)}return c.use([].concat(l,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,h))},d,function(t){if(-2===t){var e=f;return f=[],e}}])),p.hash=l.length?l.reduce(function(t,e){return e.name||A(15),X(t,e.name)},5381).toString():"",p}var ti=o.createContext(),to=(ti.Consumer,o.createContext()),ta=(to.Consumer,new G),ts=tr();function tu(){return(0,o.useContext)(ti)||ta}function tl(){return(0,o.useContext)(to)||ts}function tc(t){var e=(0,o.useState)(t.stylisPlugins),n=e[0],r=e[1],i=tu(),a=(0,o.useMemo)(function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target]),u=(0,o.useMemo)(function(){return tr({options:{prefix:!t.disableVendorPrefixes},plugins:n})},[t.disableVendorPrefixes,n]);return(0,o.useEffect)(function(){s()(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]),o.createElement(ti.Provider,{value:a},o.createElement(to.Provider,{value:u},t.children))}var tf=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=ts);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){return A(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=ts),this.name+t.hash},t}(),td=/([A-Z])/,th=/([A-Z])/g,tp=/^ms-/,tm=function(t){return"-"+t.toLowerCase()};function tg(t){return td.test(t)?t.replace(th,tm).replace(tp,"-ms-"):t}var ty=function(t){return null==t||!1===t||""===t};function tv(t,e,n,r){if(Array.isArray(t)){for(var i,o=[],a=0,s=t.length;a<s;a+=1)""!==(i=tv(t[a],e,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return ty(t)?"":E(t)?"."+t.styledComponentId:x(t)?"function"!=typeof t||t.prototype&&t.prototype.isReactComponent||!e?t:tv(t(e),e,n,r):t instanceof tf?n?(t.inject(n,r),t.getName(r)):t:v(t)?function t(e,n){var r,i,o=[];for(var a in e)e.hasOwnProperty(a)&&!ty(e[a])&&(Array.isArray(e[a])&&e[a].isCss||x(e[a])?o.push(tg(a)+":",e[a],";"):v(e[a])?o.push.apply(o,t(e[a],a)):o.push(tg(a)+": "+(r=a,null==(i=e[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in l?String(i).trim():i+"px")+";"));return n?[n+" {"].concat(o,["}"]):o}(t):t.toString()}var tb=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function tw(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return x(t)||v(t)?tb(tv(y(b,[t].concat(n)))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:tb(tv(y(t,n)))}var tx=function(t,e,n){return void 0===n&&(n=w),t.theme!==n.theme&&t.theme||e||n.theme},tC=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tE=/(^-|-$)/g;function tk(t){return t.replace(tC,"-").replace(tE,"")}var tS=function(t){return Y(K(t)>>>0)};function tR(t){return"string"==typeof t}var t_=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},tA=o.createContext();function tM(t){var e=(0,o.useContext)(tA),n=(0,o.useMemo)(function(){var n;return(n=t.theme)?x(n)?n(e):Array.isArray(n)||"object"!=typeof n?A(8):e?g({},e,{},n):n:A(14)},[t.theme,e]);return t.children?o.createElement(tA.Provider,{value:n},t.children):null}tA.Consumer;var tj={},tO=function(t){return function t(e,n,r){if(void 0===r&&(r=w),!(0,i.isValidElementType)(n))return A(1,String(n));var o=function(){return e(n,r,tw.apply(void 0,arguments))};return o.withConfig=function(i){return t(e,n,g({},r,{},i))},o.attrs=function(i){return t(e,n,g({}
13,r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},o}(function t(e,n,r){var i=E(e),a=!tR(e),s=n.attrs,u=void 0===s?b:s,l=n.componentId,c=void 0===l?(k=n.displayName,S=n.parentComponentId,tj[R="string"!=typeof k?"sc":tk(k)]=(tj[R]||0)+1,_=R+"-"+tS("5.3.9"+R+tj[R]),S?S+"-"+_:_):l,f=n.displayName,h=void 0===f?tR(e)?"styled."+e:"Styled("+C(e)+")":f,m=n.displayName&&n.componentId?tk(n.displayName)+"-"+n.componentId:n.componentId||c,y=i&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,v=n.shouldForwardProp;i&&e.shouldForwardProp&&(v=n.shouldForwardProp?function(t,r,i){return e.shouldForwardProp(t,r,i)&&n.shouldForwardProp(t,r,i)}:e.shouldForwardProp);var k,S,R,_,A,M=new tt(r,m,i?e.componentStyle:void 0),j=M.isStatic&&0===u.length,O=function(t,e){return function(t,e,n,r){var i,a,s,u,l,c=t.attrs,f=t.componentStyle,h=t.defaultProps,p=t.foldedComponentIds,m=t.shouldForwardProp,y=t.styledComponentId,v=t.target,b=(void 0===(i=tx(e,(0,o.useContext)(tA),h)||w)&&(i=w),a=g({},e,{theme:i}),s={},c.forEach(function(t){var e,n,r,i=t;for(e in x(i)&&(i=i(a)),i)a[e]=s[e]="className"===e?(n=s[e],r=i[e],n&&r?n+" "+r:n||r):i[e]}),[a,s]),C=b[0],E=b[1],k=(u=tu(),l=tl(),r?f.generateAndInjectStyles(w,u,l):f.generateAndInjectStyles(C,u,l)),S=E.$as||e.$as||E.as||e.as||v,R=tR(S),_=E!==e?g({},e,{},E):e,A={};for(var M in _)"$"!==M[0]&&"as"!==M&&("forwardedAs"===M?A.as=_[M]:(m?m(M,d,S):!R||d(M))&&(A[M]=_[M]));return e.style&&E.style!==e.style&&(A.style=g({},e.style,{},E.style)),A.className=Array.prototype.concat(p,y,k!==y?k:null,e.className,E.className).filter(Boolean).join(" "),A.ref=n,(0,o.createElement)(S,A)}(A,t,e,j)};return O.displayName=h,(A=o.forwardRef(O)).attrs=y,A.componentStyle=M,A.displayName=h,A.shouldForwardProp=v,A.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):b,A.styledComponentId=m,A.target=i?e.target:e,A.withComponent=function(e){var i=n.componentId,o=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}(n,["componentId"]),a=i&&i+"-"+(tR(e)?e:tk(C(e)));return t(e,g({},o,{attrs:y,componentId:a}),r)},Object.defineProperty(A,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<r.length;o++){var a,s=r[o];if(t_(s))for(var u in s)"__proto__"!==(a=u)&&"constructor"!==a&&"prototype"!==a&&function(e,n,r){var i=e[r];t_(n)&&t_(i)?t(i,n):e[r]=n}(e,s[u],u)}return e}({},e.defaultProps,t):t}}),Object.defineProperty(A,"toString",{value:function(){return"."+A.styledComponentId}}),a&&p()(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),A},t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){tO[t]=tO(t)});var tT=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=J(t),G.registerId(this.componentId+1)}var e=t.prototype;return e.createStyles=function(t,e,n,r){var i=r(tv(this.rules,e,n,r).join(""),""),o=this.componentId+t;n.insertRules(o,o,i)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)}
13,e.renderStyles=function(t,e,n,r){t>2&&G.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},t}();function tP(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=tw.apply(void 0,[t].concat(n)),a="sc-global-"+tS(JSON.stringify(i)),s=new tT(i,a);function u(t){var e=tu(),n=tl(),r=(0,o.useContext)(tA),i=(0,o.useRef)(e.allocateGSInstance(a)).current;return e.server&&l(i,t,e,r,n),(0,o.useLayoutEffect)(function(){if(!e.server)return l(i,t,e,r,n),function(){return s.removeStyles(i,e)}},[i,t,e,r,n]),null}function l(t,e,n,r,i){if(s.isStatic)s.renderStyles(t,_,n,i);else{var o=g({},e,{theme:tx(e,r,u.defaultProps)});s.renderStyles(t,o,n,i)}}return o.memo(u)}function tL(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=tw.apply(void 0,[t].concat(n)).join(""),o=tS(i);return new tf(o,i)}(r=(function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=F();return"<style "+[n&&'nonce="'+n+'"',k+'="true"','data-styled-version="5.3.9"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?A(2):t._emitSheetCSS()}
13,this.getStyleElement=function(){if(t.sealed)return A(2);var e,n=((e={})[k]="",e["data-styled-version"]="5.3.9",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=F();return r&&(n.nonce=r),[o.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(t){return this.sealed?A(2):o.createElement(tc,{sheet:this.instance},t)},r.interleaveWithNodeStream=function(t){return A(3)};var tI=function(){return(0,o.useContext)(tA)},tD=tO},70655:function(t,e,n){"use strict";n.d(e,{CR:function(){return c},FC:function(){return p},Jh:function(){return u},KL:function(){return m},XA:function(){return l},ZT:function(){return i},_T:function(){return a},ev:function(){return d},fl:function(){return f},mG:function(){return s},pi:function(){return o},qq:function(){return h}});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}u((r=r.apply(t,e||[])).next())})}function u(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function l(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function f(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}function d(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function h(t){return this instanceof h?(this.v=t,this):new h(t)}function p(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof h?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(t){c(o[0][3],t)}}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function m(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=l(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}},67365:function(t,e,n){"use strict";var r=n(48145);t.exports=function(t,e,n){var o=r(n||e),a=null==e.cascade||e.cascade;return function t(e,n,r){var s,u,l,c,f;if(!o(e,n,r))return null;if(e.children){for(s=[],u=-1;++u<e.children.length;)(l=t(e.children[u],u,e))&&s.push(l);if(a&&e.children.length&&!s.length)return null}for(f in c={},e)i.call(e,f)&&(c[f]="children"===f?s:e[f]);return c}(t,null,null)};var i={}.hasOwnProperty},48145:function(t){"use strict";function e(){return!0}t.exports=function t(n){if(null==n)return e;if("string"==typeof n)return function(t){return Boolean(t&&t.type===n)};if("object"==typeof n)return"length"in n?function(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return function(){for(var t=-1;++t<n.length;)if(n[t].apply(this,arguments))return!0;return!1}}(n):function(t){var e;
13for(e in n)if(t[e]!==n[e])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},66750:function(t){t.exports=function(t){return t}},99294:function(t,e,n){"use strict";t.exports=a;var r=n(48145),i=n(66750),o="skip";function a(t,e,n,a){var s,u;"function"==typeof e&&"function"!=typeof n&&(a=n,n=e,e=null),u=r(e),s=a?-1:1,(function t(r,l,c){var f,d="object"==typeof r&&null!==r?r:{};return"string"==typeof d.type&&(f="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0,h.displayName="node ("+i(d.type+(f?"<"+f+">":""))+")"),h;function h(){var i,f,d,h=c.concat(r),p=[];if((!e||u(r,l,c[c.length-1]||null))&&!1===(p=null!==(i=n(r,c))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return p;if(r.children&&p[0]!==o)for(d=(a?r.children.length:-1)+s;d>-1&&d<r.children.length;){if(!1===(f=t(r.children[d],d,h)())[0])return f;d="number"==typeof f[1]?f[1]:d+s}return p}})(t,null,[])()}a.CONTINUE=!0,a.SKIP=o,a.EXIT=!1},98235:function(t,e,n){"use strict";function r(t){let{defaultDpr:e=1,maxDpr:n=3,round:r=!0}=t||{},i="undefined"!=typeof window&&"number"==typeof window.devicePixelRatio,o=i?window.devicePixelRatio:e;return Math.min(Math.max(1,r?Math.floor(o):o),n)}n.d(e,{x:function(){return r}}),n(67294)},25934:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r,i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=[],u=0;u<256;++u)s.push((u+256).toString(16).substr(1));var l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[t[e+0]]+s[t[e+1]]+s[t[e+2]]+s[t[e+3]]+"-"+s[t[e+4]]+s[t[e+5]]+"-"+s[t[e+6]]+s[t[e+7]]+"-"+s[t[e+8]]+s[t[e+9]]+"-"+s[t[e+10]]+s[t[e+11]]+s[t[e+12]]+s[t[e+13]]+s[t[e+14]]+s[t[e+15]]).toLowerCase();if(!("string"==typeof n&&a.test(n)))throw TypeError("Stringified UUID is invalid");return n},c=function(t,e,n){var r=(t=t||{}).random||(t.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return l(r)}},47529:function(t){t.exports=function(){for(var t={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)e.call(r,i)&&(t[i]=r[i])}return t};var e=Object.prototype.hasOwnProperty},4942:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(83997);function i(t,e,n){return(e=(0,r.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},83997:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(71002);function i(t){var e=function(t,e){if("object"!==(0,r.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===(0,r.Z)(e)?e:String(e)}},71002:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,{Z:function(){return r}})},88301:function(t,e,n){"use strict";function r(t){return t.split("-")[1]}function i(t){return"y"===t?"height":"width"}function o(t){return t.split("-")[0]}function a(t){return["top","bottom"].includes(o(t))?"x":"y"}function s(t,e,n){let s,{reference:u,floating:l}=t,c=u.x+u.width/2-l.width/2,f=u.y+u.height/2-l.height/2,d=a(e),h=i(d),p=u[h]/2-l[h]/2,m="x"===d;switch(o(e)){case"top":s={x:c,y:u.y-l.height};break;case"bottom":s={x:c,y:u.y+u.height};break;case"right":s={x:u.x+u.width,y:f};break;case"left":s={x:u.x-l.width,y:f};break;default:s={x:u.x,y:u.y}}switch(r(e)){case"start":s[d]-=p*(n&&m?-1:1);break;case"end":s[d]+=p*(n&&m?-1:1)}return s}n.d(e,{Cp:function(){return E},JB:function(){return c},RR:function(){return w},US:function(){return f},cv:function(){return k},oo:function(){return u},uY:function(){return S},x7:function(){return p}});let u=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}
13=n,u=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(e)),c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:d}=s(c,r,l),h=r,p={},m=0;for(let n=0;n<u.length;n++){let{name:o,fn:g}=u[n],{x:y,y:v,data:b,reset:w}=await g({x:f,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,d=null!=v?v:d,p={...p,[o]:{...p[o],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:f,y:d}=s(c,h,l)),n=-1)}return{x:f,y:d,placement:h,strategy:i,middlewareData:p}};function l(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:u}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=e,g=l(m),y=s[p?"floating"===h?"reference":"floating":h],v=c(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(y)))||n?y:y.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:f,rootBoundary:d,strategy:u})),b="floating"===h?{...a.floating,x:r,y:i}:a.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},C=c(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:w,strategy:u}):b);return{top:(v.top-C.top+g.top)/x.y,bottom:(C.bottom-v.bottom+g.bottom)/x.y,left:(v.left-C.left+g.left)/x.x,right:(C.right-v.right+g.right)/x.x}}let d=Math.min,h=Math.max,p=t=>({name:"arrow",options:t,async fn(e){let{element:n,padding:o=0}=t||{},{x:s,y:u,placement:c,rects:f,platform:p,elements:m}=e;if(null==n)return{};let g=l(o),y={x:s,y:u},v=a(c),b=i(v),w=await p.getDimensions(n),x="y"===v,C=x?"top":"left",E=x?"bottom":"right",k=x?"clientHeight":"clientWidth",S=f.reference[b]+f.reference[v]-y[v]-f.floating[b],R=y[v]-f.reference[v],_=await (null==p.getOffsetParent?void 0:p.getOffsetParent(n)),A=_?_[k]:0;A&&await (null==p.isElement?void 0:p.isElement(_))||(A=m.floating[k]||f.floating[b]);let M=g[C],j=A-w[b]-g[E],O=A/2-w[b]/2+(S/2-R/2),T=h(M,d(O,j)),P=null!=r(c)&&O!=T&&f.reference[b]/2-(O<M?g[C]:g[E])-w[b]/2<0;return{[v]:y[v]-(P?O<M?M-O:j-O:0),data:{[v]:T,centerOffset:O-T}}}}),m=["top","right","bottom","left"],g=(m.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function y(t){return t.replace(/left|right|bottom|top/g,t=>g[t])}let v={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,t=>v[t])}let w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,s,u,l;let{placement:c,middlewareData:d,rects:h,initialPlacement:p,platform:m,elements:g}=e,{mainAxis:v=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:k=!0,...S}=t,R=o(c),_=o(p)===p,A=await (null==m.isRTL?void 0:m.isRTL(g.floating)),M=x||(_||!k?[y(p)]:function(t){let e=y(t);return[b(t),e,b(e)]}(p));x||"none"===E||M.push(...function(t,e,n,i){let a=r(t),s=function(t,e,n){let r=["left","right"],i=["right","left"];switch(t){case"top":case"bottom":return n?e?i:r:e?r:i;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(o(t),"start"===n,i);return a&&(s=s.map(t=>t+"-"+a),e&&(s=s.concat(s.map(b)))),s}(p,k,E,A));let j=[p,...M],O=await f(e,S),T=[],P=(null==(n=d.flip)?void 0:n.overflows)||[];if(v&&T.push(O[R]),w){let{main:t,cross:e}=function(t,e,n){void 0===n&&(n=!1);let o=r(t),s=a(t),u=i(s),l="x"===s?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[u]>e.floating[u]&&(l=y(l)),{main:l,cross:y(l)}}(c,h,A);T.push(O[t],O[e])}if(P=[...P,{placement:c,overflows:T}],!T.every(t=>t<=0)){let t=((null==(s=d.flip)?void 0:s.index)||0)+1,e=j[t];if(e)return{data:{index:t,overflows:P},reset:{placement:e}};let n=null==(u=P.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:u.placement;if(!n)switch(C){case"bestFit":{let t=null==(l=P.map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=p}if(c!==n)return{reset:{placement:n}}}return{}}}};function x(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function C(t){return m.some(e=>t[e]>=0)}let E=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{strategy:n="referenceHidden",...r}=t,{rects:i}=e;switch(n){case"referenceHidden":{let t=x(await f(e,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:C(t)}}}case"escaped":{let t=x(await f(e,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:t,escaped:C(t)}}}default:return{}}}}},k=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){let{x:n,y:i}=e,s=await async function(t,e){let{placement:n,platform:i,elements:s}=t,u=await (null==i.isRTL?void 0:i.isRTL(s.floating)),l=o(n),c=r(n),f="x"===a(n),d=["left","top"].includes(l)?-1:1,h=u&&f?-1:1,p="function"==typeof e?e(t):e,{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),f?{x:g*h,y:m*d}:{x:m*d,y:g*h}}(e,t);return{x:n+s.x,y:i+s.y,data:s}}}},S=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:u=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=t,p={x:n,y:r}
13,m=await f(e,c),g=a(o(i)),y="x"===g?"y":"x",v=p[g],b=p[y];s&&(v=h(v+m["y"===g?"top":"left"],d(v,v-m["y"===g?"bottom":"right"]))),u&&(b=h(b+m["y"===y?"top":"left"],d(b,b-m["y"===y?"bottom":"right"])));let w=l.fn({...e,[g]:v,[y]:b});return{...w,data:{x:w.x-n,y:w.y-r}}}}}},55863:function(t,e,n){"use strict";let r;n.d(e,{Me:function(){return L},oo:function(){return I}});var i=n(88301);function o(t){var e;return(null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function a(t){return o(t).getComputedStyle(t)}function s(t){return t instanceof o(t).Node}function u(t){return s(t)?(t.nodeName||"").toLowerCase():""}function l(){if(r)return r;let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?r=t.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function c(t){return t instanceof o(t).HTMLElement}function f(t){return t instanceof o(t).Element}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof o(t).ShadowRoot||t instanceof ShadowRoot)}function h(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=a(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function p(t){let e=/firefox/i.test(l()),n=a(t),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some(t=>n.willChange.includes(t))||["paint","layout","strict","content"].some(t=>{let e=n.contain;return null!=e&&e.includes(t)})}function m(){return/^((?!chrome|android).)*safari/i.test(l())}function g(t){return["html","body","#document"].includes(u(t))}let y=Math.min,v=Math.max,b=Math.round;function w(t){let e=a(t),n=parseFloat(e.width),r=parseFloat(e.height),i=c(t),o=i?t.offsetWidth:n,s=i?t.offsetHeight:r,u=b(n)!==o||b(r)!==s;return u&&(n=o,r=s),{width:n,height:r,fallback:u}}function x(t){return f(t)?t:t.contextElement}let C={x:1,y:1};function E(t){let e=x(t);if(!c(e))return C;let n=e.getBoundingClientRect(),{width:r,height:i,fallback:o}=w(e),a=(o?b(n.width):n.width)/r,s=(o?b(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function k(t,e,n,r){var a,s;void 0===e&&(e=!1),void 0===n&&(n=!1);let u=t.getBoundingClientRect(),l=x(t),c=C;e&&(r?f(r)&&(c=E(r)):c=E(t));let d=l?o(l):window,h=m()&&n,p=(u.left+(h&&(null==(a=d.visualViewport)?void 0:a.offsetLeft)||0))/c.x,g=(u.top+(h&&(null==(s=d.visualViewport)?void 0:s.offsetTop)||0))/c.y,y=u.width/c.x,v=u.height/c.y;if(l){let t=o(l),e=r&&f(r)?o(r):r,n=t.frameElement;for(;n&&r&&e!==t;){let t=E(n),e=n.getBoundingClientRect(),r=getComputedStyle(n);e.x+=(n.clientLeft+parseFloat(r.paddingLeft))*t.x,e.y+=(n.clientTop+parseFloat(r.paddingTop))*t.y,p*=t.x,g*=t.y,y*=t.x,v*=t.y,p+=e.x,g+=e.y,n=o(n).frameElement}}return(0,i.JB)({width:y,height:v,x:p,y:g})}function S(t){return((s(t)?t.ownerDocument:t.document)||window.document).documentElement}function R(t){return f(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(t){return k(S(t)).left+R(t).scrollLeft}function A(t){if("html"===u(t))return t;let e=t.assignedSlot||t.parentNode||d(t)&&t.host||S(t);return d(e)?e.host:e}function M(t,e){var n;void 0===e&&(e=[]);let r=function t(e){let n=A(e);return g(n)?n.ownerDocument.body:c(n)&&h(n)?n:t(n)}(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),a=o(r);return i?e.concat(a,a.visualViewport||[],h(r)?r:[]):e.concat(r,M(r))}function j(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=o(t),r=S(t),i=n.visualViewport,a=r.clientWidth,s=r.clientHeight,u=0,l=0;if(i){a=i.width,s=i.height;let t=m();(!t||t&&"fixed"===e)&&(u=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:u,y:l}}(t,n);else if("document"===e)r=function(t){let e=S(t),n=R(t),r=t.ownerDocument.body,i=v(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=v(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+_(t),u=-n.scrollTop;return"rtl"===a(r).direction&&(s+=v(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:u}}(S(t));else if(f(e))r=function(t,e){let n=k(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=c(t)?E(t):{x:1,y:1};return{width:t.clientWidth*o.x,height:t.clientHeight*o.y,x:i*o.x,y:r*o.y}}(e,n);else{let n={...e};if(m()){var s,u;let e=o(t);
13n.x-=(null==(s=e.visualViewport)?void 0:s.offsetLeft)||0,n.y-=(null==(u=e.visualViewport)?void 0:u.offsetTop)||0}r=n}return(0,i.JB)(r)}function O(t,e){return c(t)&&"fixed"!==a(t).position?e?e(t):t.offsetParent:null}function T(t,e){let n=o(t);if(!c(t))return n;let r=O(t,e);for(;r&&["table","td","th"].includes(u(r))&&"static"===a(r).position;)r=O(r,e);return r&&("html"===u(r)||"body"===u(r)&&"static"===a(r).position&&!p(r))?n:r||function(t){let e=A(t);for(;c(e)&&!g(e);){if(p(e))return e;e=A(e)}return null}(t)||n}let P={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,o="clippingAncestors"===n?function(t,e){let n=e.get(t);if(n)return n;let r=M(t).filter(t=>f(t)&&"body"!==u(t)),i=null,o="fixed"===a(t).position,s=o?A(t):t;for(;f(s)&&!g(s);){let t=a(s),e=p(s);"fixed"===t.position?i=null:(o?e||i:e||"static"!==t.position||!i||!["absolute","fixed"].includes(i.position))?i=t:r=r.filter(t=>t!==s),s=A(s)}return e.set(t,r),r}(e,this._c):[].concat(n),s=[...o,r],l=s[0],c=s.reduce((t,n)=>{let r=j(e,n,i);return t.top=v(r.top,t.top),t.right=y(r.right,t.right),t.bottom=y(r.bottom,t.bottom),t.left=v(r.left,t.left),t},j(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t,i=c(n),o=S(n);if(n===o)return e;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1},l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==u(n)||h(o))&&(a=R(n)),c(n))){let t=k(n);s=E(n),l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},isElement:f,getDimensions:function(t){return w(t)},getOffsetParent:T,getDocumentElement:S,getScale:E,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t,i=this.getOffsetParent||T,o=this.getDimensions;return{reference:function(t,e,n){let r=c(e),i=S(e),o=k(t,!0,"fixed"===n,e),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&"fixed"!==n){if(("body"!==u(e)||h(i))&&(a=R(e)),c(e)){let t=k(e,!0);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=_(i))}return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}(e,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===a(t).direction};function L(t,e,n,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,u=i&&!s,l=u||o?[...f(t)?M(t):t.contextElement?M(t.contextElement):[],...M(e)]:[];l.forEach(t=>{u&&t.addEventListener("scroll",n,{passive:!0}),o&&t.addEventListener("resize",n)});let c,d=null;a&&(d=new ResizeObserver(()=>{n()}),f(t)&&!s&&d.observe(t),f(t)||!t.contextElement||s||d.observe(t.contextElement),d.observe(e));let h=s?k(t):null;return s&&function e(){let r=k(t);h&&(r.x!==h.x||r.y!==h.y||r.width!==h.width||r.height!==h.height)&&n(),h=r,c=requestAnimationFrame(e)}(),n(),()=>{var t;l.forEach(t=>{u&&t.removeEventListener("scroll",n),o&&t.removeEventListener("resize",n)}),null==(t=d)||t.disconnect(),d=null,s&&cancelAnimationFrame(c)}}let I=(t,e,n)=>{let r=new Map,o={platform:P,...n},a={...o.platform,_c:r};return(0,i.oo)(t,e,{...o,platform:a})}},79086:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){var r,i;r=t,i=n[e],e in r?Object.defineProperty(r,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[e]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(void 0===t.marks||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function a(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function s(t){return a(t)&&"listItem"in t&&"string"==typeof t.listItem&&(void 0===t.level||"number"==typeof t.level)}function u(t){return"@list"===t._type}function l(t){return"@span"===t._type}function c(t){return"@text"===t._type}n.d(e,{YI:function(){return z}});let f=["strong","em","code","underline","strike-through"];function d(t,e,n){if(!o(t)||!t.marks||!t.marks.length)return[];let r=t.marks.slice(),i={};return r.forEach(t=>{i[t]=1;for(let r=e+1;r<n.length;r++){let e=n[r];if(!(e&&o(e)&&Array.isArray(e.marks)&&-1!==e.marks.indexOf(t)))break;i[t]++}}),r.sort((t,e)=>(function(t,e,n){let r=t[e],i=t[n];if(r!==i)return i-r;let o=f.indexOf(e),a=f.indexOf(n);return o!==a?o-a:e.localeCompare(n)})(i,t,e))}function h(t,e,n){return{_type:"@list",_key:"".concat(t._key||"".concat(e),"-parent"),mode:n,level:t.level||1,listItem:t.listItem,children:[t]}}function p(t,e){let n=e.level||1,r=e.listItem||"normal",i="string"==typeof e.listItem;if(u(t)&&(t.level||1)===n&&i&&(t.listItem||"normal")===r)return t;if(!("children"in t))return;let a=t.children[t.children.length-1];return a&&!o(a)?p(a,e):void 0}var m=n(67294),g=Object.defineProperty,y=Object.defineProperties,v=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,C=(t,e,n)=>e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,E=(t,e)=>{for(var n in e||(e={}))w.call(e,n)&&C(t,n,e[n]);if(b)for(var n of b(e))x.call(e,n)&&C(t,n,e[n]);return t},k=(t,e)=>y(t,v(e)),S=(t,e)=>{var n={};for(var r in t)w.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&b)for(var r of b(t))0>e.indexOf(r)&&x.call(t,r)&&(n[r]=t[r]);return n};function R(t,e,n){let r=e[n],i=t[n];return"function"==typeof r||r&&"function"==typeof i?r:r?E(E({},i),r):i}let _=({children:t,value:e})=>m.createElement("a",{href:null==e?void 0:e.href},t),A={textDecoration:"underline"},M=({children:t})=>m.createElement("li",null,t),j=(t,e)=>`Unknown ${t}, specify a component for it in the \`components.${e}\` prop`,O=t=>j(`block type "${t}"`,"types"),T=t=>j(`mark type "${t}"`,"marks"),P=t=>j(`block style "${t}"`,"block"),L=t=>j(`list style "${t}"`,"list"),I=t=>j(`list item style "${t}"`,"listItem");function D(t){console.warn(t)}let N={display:"none"},V=({value:t,isInline:e})=>{let n=O(t._type);return e?m.createElement("span",{style:N},n):m.createElement("div",{style:N},n)},F=({markType:t,children:e})=>m.createElement("span",{className:`unknown__pt__mark__${t}`},e),B=({children:t})=>m.createElement("p",null,t),H=({children:t})=>m.createElement("ul",null,t),U=({children:t})=>m.createElement("li",null,t),Z=()=>m.createElement("br",null),W=(0,m.createContext)({types:{},block:{normal:({children:t})=>m.createElement("p",null,t),blockquote:({children:t})=>m.createElement("blockquote",null,t),h1:({children:t})=>m.createElement("h1",null,t),h2:({children:t})=>m.createElement("h2",null,t),h3:({children:t})=>m.createElement("h3",null,t),h4:({children:t})=>m.createElement("h4",null,t),h5:({children:t})=>m.createElement("h5",null,t),h6:({children:t})=>m.createElement("h6",null,t)},marks:{em:({children:t})=>m.createElement("em",null,t),strong:({children:t})=>m.createElement("strong",null,t),code:({children:t})=>m.createElement("code",null,t),underline:({children:t})=>m.createElement("span",{style:A},t),"strike-through":({children:t})=>m.createElement("del",null,t),link:_},list:{number:({children:t})=>m.createElement("ol",null,t),bullet:({children:t})=>m.createElement("ul",null,t)},listItem:M,hardBreak:Z,unknownType:V,unknownMark:F,unknownList:H,unknownListItem:U,unknownBlockStyle:B});function z({value:t,components:e,listNestingMode:n,onMissingComponent:r=D}){let o=r||q,a=Array.isArray(t)?t:[t],u=function(t,e){let n;let r=[];for(let a=0;a<t.length;a++){let u=t[a];if(u){if(s(u)){if(n){var o;if(o=n,(u.level||1)===o.level&&u.listItem===o.listItem)n.children.push(u);else if((u.level||1)>n.level){let t=h(u,a,e);if("html"===e){let e=n.children[n.children.length-1],r=i(i({},e),{},{children:[...e.children,t]});n.children[n.children.length-1]=r}else n.children.push(t);n=t}else if((u.level||1)<n.level){let t=r[r.length-1],i=t&&p(t,u);if(i){(n=i).children.push(u);continue}n=h(u,a,e),r.push(n)}else if(u.listItem===n.listItem)console.warn("Unknown state encountered for block",u),r.push(u);else{let t=r[r.length-1],i=t&&p(t,{level:u.level||1});if(i&&i.listItem===u.listItem){(n=i).children.push(u);continue}n=h(u,a,e),r.push(n)}}else n=h(u,a,e),r.push(n)}else r.push(u),n=void 0}}return r}(a,n||"html"),l=(0,m.useContext)(W),c=(0,m.useMemo)(()=>e?function(t,e){let{block:n,list:r,listItem:i,marks:o,types:a}=e,s=S(e,["block","list","listItem","marks","types"]);return E(k(E({},t),{block:R(t,e,"block"),list:R(t,e,"list"),listItem:R(t,e,"listItem"),marks:R(t,e,"marks"),types:R(t,e,"types")}),s)}(l,e):l,[l,e]),f=(0,m.useMemo)(()=>G(c,o),[c,o]),d=u.map((t,e)=>f({node:t,index:e,isInline:!1,renderNode:f}));return e?m.createElement(W.Provider,{value:c},d):m.createElement(m.Fragment,null,d)}let G=(t,e)=>function n(r){let{node:i,index:o,isInline:f}=r,d=i._key||`node-${o}`;return u(i)?function(r,i,o){let a=r.children.map((t,e)=>n({node:t._key?t:k(E({},t),{_key:`li-${i}-${e}`}),index:i,isInline:!1,renderNode:n})),s=t.list,u="function"==typeof s?s:s[r.listItem],l=u||t.unknownList;if(l===t.unknownList){let t=r.listItem||"bullet";e(L(t),{nodeType:"listStyle",type:t})}return m.createElement(l,{key:o,value:r,index:i,isInline:!1,renderNode:n},a)}
13(i,o,d):s(i)?function(r,i,o){let a=$({node:r,index:i,isInline:!1,renderNode:n}),s=t.listItem,u="function"==typeof s?s:s[r.listItem],l=u||t.unknownListItem;if(l===t.unknownListItem){let t=r.listItem||"bullet";e(I(t),{type:t,nodeType:"listItemStyle"})}let c=a.children;if(r.style&&"normal"!==r.style){let{listItem:t}=r,e=S(r,["listItem"]);c=n({node:e,index:i,isInline:!1,renderNode:n})}return m.createElement(l,{key:o,value:r,index:i,isInline:!1,renderNode:n},c)}(i,o,d):l(i)?function(r,i,o){let{markDef:a,markType:s,markKey:u}=r,f=t.marks[s]||t.unknownMark,d=r.children.map((t,e)=>n({node:t,index:e,isInline:!0,renderNode:n}));return f===t.unknownMark&&e(T(s),{nodeType:"mark",type:s}),m.createElement(f,{key:o,text:function t(e){let n="";return e.children.forEach(e=>{c(e)?n+=e.text:l(e)&&(n+=t(e))}),n}(r),value:a,markType:s,markKey:u,renderNode:n},d)}(i,0,d):a(i)?function(r,i,o,a){let s=$({node:r,index:i,isInline:a,renderNode:n}),{_key:u}=s,l=S(s,["_key"]),c=l.node.style||"normal",f="function"==typeof t.block?t.block:t.block[c],d=f||t.unknownBlockStyle;return d===t.unknownBlockStyle&&e(P(c),{nodeType:"blockStyle",type:c}),m.createElement(d,k(E({key:o},l),{value:l.node,renderNode:n}))}(i,o,d,f):c(i)?function(e,n){if("\n"===e.text){let e=t.hardBreak;return e?m.createElement(e,{key:n}):"\n"}return e.text}(i,d):function(r,i,o,a){let s=t.types[r._type],u={value:r,isInline:a,index:i,renderNode:n};if(s)return m.createElement(s,E({key:o},u));e(O(r._type),{nodeType:"block",type:r._type});let l=t.unknownType;return m.createElement(l,E({key:o},u))}(i,o,d,f)};function $(t){let{node:e,index:n,isInline:r,renderNode:i}=t,a=function(t){var e;let{children:n,markDefs:r=[]}=t;if(!n||!n.length)return[];let i=n.map(d),a={_type:"@span",children:[],markType:"<unknown>"},s=[a];for(let t=0;t<n.length;t++){let a=n[t];if(!a)continue;let u=i[t]||[],l=1;if(s.length>1)for(;l<s.length;l++){let t=(null==(e=s[l])?void 0:e.markKey)||"",n=u.indexOf(t);if(-1===n)break;u.splice(n,1)}let c=(s=s.slice(0,l))[s.length-1];if(c){for(let t of u){let e=r.find(e=>e._key===t),n=e?e._type:t,i={_type:"@span",_key:a._key,children:[],markDef:e,markType:n,markKey:t};c.children.push(i),s.push(i),c=i}if(o(a)){let t=a.text.split("\n");for(let e=t.length;e-- >1;)t.splice(e,0,"\n");c.children=c.children.concat(t.map(t=>({_type:"@text",text:t})))}else c.children=c.children.concat(a)}}return a.children}(e),s=a.map((t,e)=>i({node:t,isInline:!0,index:e,renderNode:i}));return{_key:e._key||`block-${n}`,children:s,index:n,isInline:r,node:e}}function q(){}},55379:function(t,e,n){"use strict";n.d(e,{MA:function(){return r},Q6:function(){return o},Sn:function(){return c},VG:function(){return u},ek:function(){return s},er:function(){return a},iN:function(){return i},ix:function(){return f},mE:function(){return l}});let r={50:{title:"Gray 50",hex:"#f2f3f5"},100:{title:"Gray 100",hex:"#e6e8ec"},200:{title:"Gray 200",hex:"#ced2d9"},300:{title:"Gray 300",hex:"#b6bcc6"},400:{title:"Gray 400",hex:"#9ea6b3"},500:{title:"Gray 500",hex:"#8690a0"},600:{title:"Gray 600",hex:"#6e7683"},700:{title:"Gray 700",hex:"#565d67"},800:{title:"Gray 800",hex:"#3f434a"},900:{title:"Gray 900",hex:"#272a2e"},950:{title:"Gray 950",hex:"#1b1d20"}},i={50:{title:"Blue 50",hex:"#e8f1fe"},100:{title:"Blue 100",hex:"#d2e3fe"},200:{title:"Blue 200",hex:"#a6c8fd"},300:{title:"Blue 300",hex:"#7aacfd"},400:{title:"Blue 400",hex:"#4e91fc"},500:{title:"Blue 500",hex:"#2276fc"},600:{title:"Blue 600",hex:"#1e61cd"},700:{title:"Blue 700",hex:"#1a4d9e"},800:{title:"Blue 800",hex:"#17396f"},900:{title:"Blue 900",hex:"#132540"},950:{title:"Blue 950",hex:"#111b29"}},o={50:{title:"Red 50",hex:"#fdebea"},100:{title:"Red 100",hex:"#fcd8d5"},200:{title:"Red 200",hex:"#f9b1ab"},300:{title:"Red 300",hex:"#f68b82"},400:{title:"Red 400",hex:"#f36458"},500:{title:"Red 500",hex:"#f03e2f"},600:{title:"Red 600",hex:"#c33529"},700:{title:"Red 700",hex:"#962c23"},800:{title:"Red 800",hex:"#69231d"},900:{title:"Red 900",hex:"#3c1a17"},950:{title:"Red 950",hex:"#261514"}},a={50:{title:"Yellow 50",hex:"#fef7da"},100:{title:"Yellow 100",hex:"#fdefb6"},200:{title:"Yellow 200",hex:"#fcdf6d"},300:{title:"Yellow 300",hex:"#fbd024"},400:{title:"Yellow 400",hex:"#d9b421"},500:{title:"Yellow 500",hex:"#b7991e"},600:{title:"Yellow 600",hex:"#967e1c"},700:{title:"Yellow 700",hex:"#746219"},800:{title:"Yellow 800",hex:"#534717"},900:{title:"Yellow 900",hex:"#312c14"},950:{title:"Yellow 950",hex:"#201e13"}},s={50:{title:"Green 50",hex:"#e7f9ed"},100:{title:"Green 100",hex:"#d0f4dc"},200:{title:"Green 200",hex:"#a1eaba"},300:{title:"Green 300",hex:"#72e097"},400:{title:"Green 400",hex:"#43d675"},500:{title:"Green 500",hex:"#3ab564"},600:{title:"Green 600",hex:"#329454"},700:{title:"Green 700",hex:"#297343"},800:{title:"Green 800",hex:"#215233"},900:{title:"Green 900",hex:"#183122"},950:{title:"Green 950",hex:"#14211a"}},u={gray:r,blue:i,purple:{50:{title:"Purple 50",hex:"#f8e9fe"},100:{title:"Purple 100",hex:"#f2d3fe"},200:{title:"Purple 200",hex:"#e6a7fd"},300:{title:"Purple 300",hex:"#d97bfd"},400:{title:"Purple 400",hex:"#cd4efc"},500:{title:"Purple 500",hex:"#c123fc"},600:{title:"Purple 600",hex:"#9d1fcd"},700:{title:"Purple 700",hex:"#7a1b9e"},800:{title:"Purple 800",hex:"#56186f"},900:{title:"Purple 900",hex:"#331440"},950:{title:"Purple 950",hex:"#211229"}},magenta:{50:{title:"Magenta 50",hex:"#fcebf5"},100:{title:"Magenta 100",hex:"#f9d7eb"},200:{title:"Magenta 200",hex:"#f4afd8"},300:{title:"Magenta 300",hex:"#ef87c4"},400:{title:"Magenta 400",hex:"#ea5fb1"},500:{title:"Magenta 500",hex:"#e5389e"},600:{title:"Magenta 600",hex:"#ba3082"},700:{title:"Magenta 700",hex:"#8f2866"},800:{title:"Magenta 800",hex:"#65204a"},900:{title:"Magenta 900",hex:"#3a182d"},950:{title:"Magenta 950",hex:"#25141f"}},red:o,orange:{50:{title:"Orange 50",hex:"#fef0e6"},100:{title:"Orange 100",hex:"#fee2ce"},200:{title:"Orange 200",hex:"#fdc59d"},300:{title:"Orange 300",hex:"#fca86d"}
13,400:{title:"Orange 400",hex:"#fb8b3c"},500:{title:"Orange 500",hex:"#e57322"},600:{title:"Orange 600",hex:"#ba5f1f"},700:{title:"Orange 700",hex:"#904b1b"},800:{title:"Orange 800",hex:"#653818"},900:{title:"Orange 900",hex:"#3a2415"},950:{title:"Orange 950",hex:"#251a13"}},yellow:a,green:s,cyan:{50:{title:"Cyan 50",hex:"#e3fafd"},100:{title:"Cyan 100",hex:"#c7f5fc"},200:{title:"Cyan 200",hex:"#90ecf9"},300:{title:"Cyan 300",hex:"#59e3f6"},400:{title:"Cyan 400",hex:"#22daf4"},500:{title:"Cyan 500",hex:"#1fb8ce"},600:{title:"Cyan 600",hex:"#1c97a8"},700:{title:"Cyan 700",hex:"#197583"},800:{title:"Cyan 800",hex:"#16545d"},900:{title:"Cyan 900",hex:"#133237"},950:{title:"Cyan 950",hex:"#112124"}}},l=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],c={title:"Black",hex:"#101112"},f={title:"White",hex:"#fff"}},21137:function(t,e,n){"use strict";n.d(e,{hn:function(){return s},xN:function(){return l}});var r=n(85893),i=n(55379),o=n(67294);(0,o.forwardRef)(function(t,e){return(0,r.jsxs)("svg",{"data-sanity-icon":"groq-logo",height:"1em",viewBox:"0 0 304 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:e,children:[(0,r.jsx)("path",{d:"M32 0L0 32H32V0Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M32 32H0L32 64V32Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M64 32H32V64L64 32Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 0L80 32H112V0Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M112 0H80V32L112 0Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M112 32H80L112 64V32Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M144 64L112 32V64H144Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M80 32V64H112L80 32Z",fill:i.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M112 0V32H144L112 0Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M192 0L160 32H192V0Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M192 32H160L192 64V32Z",fill:i.VG.orange[400].hex}),(0,r.jsx)("path",{d:"M224 32H192V64L224 32Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M192 0V32H224L192 0Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M272 0L240 32H272V0Z",fill:i.VG.purple[300].hex}),(0,r.jsx)("path",{d:"M304 32L272 64H304V32Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M272 32H240L272 64V32Z",fill:i.VG.blue[300].hex}),(0,r.jsx)("path",{d:"M304 32H272V64L304 32Z",fill:i.VG.yellow[200].hex}),(0,r.jsx)("path",{d:"M272 0V32H304L272 0Z",fill:i.VG.green[300].hex})]})}),(0,o.forwardRef)(function(t,e){return(0,r.jsxs)("svg",{"data-sanity-icon":"groq-monogram",width:"1em",height:"1em",viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:e,children:[(0,r.jsx)("rect",{width:"128",height:"128",rx:"8",fill:i.VG.green[950].hex}),(0,r.jsx)("rect",{y:"32",width:"64",height:"64",fill:i.VG.green[800].hex}),(0,r.jsx)("path",{d:"M64 32L32 64H64V32Z",fill:i.VG.magenta[400].hex}),(0,r.jsx)("path",{d:"M64 64H32L64 96V64Z",fill:i.VG.green[300].hex}),(0,r.jsx)("path",{d:"M96 64H64V96L96 64Z",fill:i.VG.purple[300].hex})]})});let a={light:[i.VG.red[200].hex,i.VG.red[300].hex,i.VG.red[500].hex],dark:[i.VG.gray[500].hex,i.VG.gray[300].hex,i.ix.hex]},s=(0,o.forwardRef)(function(t,e){let{dark:n,...i}=t,o=a[n?"dark":"light"];return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-logo",height:"1em",viewBox:"0 0 352 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,ref:e,children:[(0,r.jsx)("path",{d:"M311.14 57.234V80.0016H298.499V57.234",fill:o[1]}),(0,r.jsx)("path",{d:"M298.499 57.2341L319.889 20.0017H333.316L311.14 57.2341H298.499Z",fill:o[2]}),(0,r.jsx)("path",{d:"M298.499 57.2341L276.515 20.0017H290.345L305.239 45.5161L298.499 57.2341Z",fill:o[1]}),(0,r.jsx)("path",{d:"M253.839 40.9625V80.0017H241.007V47.6275L253.839 40.9625Z",fill:o[1]}),(0,r.jsx)("path",{d:"M241.007 47.5944L273.538 30.9469L268.042 21.6519L241.007 34.8633V47.5944Z",fill:o[0]}),(0,r.jsx)("path",{d:"M241.007 30.9469H221.404V20.0017H267.064L273.538 30.9469H253.839H241.007Z",fill:o[2]}),(0,r.jsx)("path",{d:"M214.047 20.0017H201.311V80.0121H214.047V20.0017Z",fill:o[2]}),(0,r.jsx)("path",{d:"M149.39 37.8712V80.0017H137.153V20.0017L149.39 37.8712Z",fill:o[1]}),(0,r.jsx)("path",{d:"M151.282 20.0017L178.231 60.9939V80.0017L137.153 20.0017H151.282Z",fill:o[2]}),(0,r.jsx)("path",{d:"M178.231 57.9129V20.0017H190.467V80.0017H178.231V57.9129Z",fill:o[1]}),(0,r.jsx)("path",{d:"M82.1168 80.9834L112.102 65.3053L108.405 55.7303L88.6644 64.9362L82.1168 80.9834Z",fill:o[0]}),(0,r.jsx)("path",{d:"M100.657 35.5422L82.1167 80.9834L72.5807 72.7745L94.6719 20.0017L100.657 35.5422Z",fill:o[1]}),(0,r.jsx)("path",{d:"M94.672 20.0017H107.312L130.69 80.0017H117.752L94.672 20.0017Z",fill:o[2]}),(0,r.jsx)("path",{d:"M25.1347 26.926C25.1347 35.2811 30.3864 40.2524 40.9004 42.8738L52.0417 45.4117C61.9923 47.6571 68.0519 53.2341 68.0519 62.3203C68.1293 66.2787 66.8194 70.1429 64.3417 73.2654C64.3417 64.2002 59.5684 59.302 48.0551 56.3568L37.1158 53.913C28.3559 51.9495 21.5946 47.3647 21.5946 37.4952C21.5485 33.6839 22.7939 29.9658 25.1347 26.926",fill:o[2]}),(0,r.jsx)("path",{d:"M57.4954 60.0957C62.2475 63.0827 64.3311 67.2602 64.3311 73.255C60.3977 78.2054 53.4875 80.9834 45.3655 80.9834C31.6941 80.9834 22.1262 74.3725 20 62.8842H33.1292C34.8196 68.1584 39.2952 70.6022 45.2698 70.6022C52.5626 70.6022 57.4104 66.7798 57.506 60.0748",fill:o[1]}),(0,r.jsx)("path",{d:"M31.9598 39.3124C29.7898 38.0455 28.0095 36.225 26.8079 34.0442C25.6062 31.8634 25.028 29.4036 25.1347 26.926C28.93 22.0174 35.5318 19.02 43.5794 19.02C57.506 19.02 65.5643 26.2472 67.5523 36.4195H54.9227C53.53 32.409 50.0431 29.2863 43.6858 29.2863C36.8926 29.2863 32.2575 33.1715 31.9917 39.3124",fill:o[1]})]})}),u={bg1:i.VG.red[500].hex,bg2:i.VG.red[200].hex,fg:i.ix.hex},l=(0,o.forwardRef)(function(t,e){let{color:n=u,...i}=t;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-monogram",width:"1em",height:"1em",viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,ref:e,children:[(0,r.jsx)("rect",{width:"128",height:"128",rx:"8",fill:n.bg1}
13),(0,r.jsx)("path",{d:"M39.423 33.163C39.423 44.1615 46.3363 50.7056 60.1768 54.1564L74.843 57.4972C87.9418 60.453 95.9186 67.7945 95.9186 79.7554C96.0205 84.9662 94.2961 90.0531 91.0345 94.1635C91.0345 82.2301 84.751 75.7822 69.595 71.9052L55.1948 68.6882C43.6633 66.1035 34.7629 60.0681 34.7629 47.0761C34.7022 42.0589 36.3416 37.1644 39.423 33.163",fill:n.fg}),(0,r.jsx)("path",{d:"M82.0221 76.827C88.2776 80.759 91.0206 86.2582 91.0206 94.1497C85.8426 100.666 76.7462 104.323 66.0545 104.323C48.0576 104.323 35.4626 95.6207 32.6637 80.4977H49.9468C52.172 87.4406 58.0636 90.6576 65.9285 90.6576C75.5287 90.6576 81.9102 85.6258 82.0361 76.7995",fill:n.bg2}),(0,r.jsx)("path",{d:"M48.4075 49.4682C45.551 47.8004 43.2074 45.404 41.6256 42.5332C40.0437 39.6624 39.2826 36.4244 39.4231 33.1629C44.4191 26.7013 53.1096 22.7556 63.7034 22.7556C82.0362 22.7556 92.6439 32.2693 95.2609 45.66H78.6355C76.8022 40.3807 72.2121 36.27 63.8434 36.27C54.9009 36.27 48.7993 41.3843 48.4495 49.4682",fill:n.bg2})]})})},6551:function(t,e,n){"use strict";n.d(e,{MG:function(){return g}});var r=n(67294);/** 14 * virtual-core 15 * 16 * Copyright (c) TanStack 17 * 18 * This source code is licensed under the MIT license found in the 19 * LICENSE.md file in the root directory of this source tree. 20 * 21 * @license MIT 22 */function i(t,e,n){let r,i=[];return()=>{let o,a;n.key&&null!=n.debug&&n.debug()&&(o=Date.now());let s=t(),u=s.length!==i.length||s.some((t,e)=>i[e]!==t);if(!u)return r;if(i=s,n.key&&null!=n.debug&&n.debug()&&(a=Date.now()),r=e(...s),null==n||null==n.onChange||n.onChange(r),n.key&&null!=n.debug&&n.debug()){let t=Math.round((Date.now()-o)*100)/100,e=Math.round((Date.now()-a)*100)/100,r=(t,e)=>{for(t=String(t);t.length<e;)t=" "+t;return t};console.info(`%câ± ${r(e,5)} /${r(t,5)} ms`,` 23 font-size: .6rem; 24 font-weight: bold; 25 color: hsl(${Math.max(0,Math.min(120-120*(e/16),120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}/** 26 * virtual-core 27 * 28 * Copyright (c) TanStack 29 * 30 * This source code is licensed under the MIT license found in the 31 * LICENSE.md file in the root directory of this source tree. 32 * 33 * @license MIT 34 */let o=t=>t,a=t=>{let e=Math.max(t.startIndex-t.overscan,0),n=Math.min(t.endIndex+t.overscan,t.count-1),r=[];for(let t=e;t<=n;t++)r.push(t);return r},s=(t,e)=>{let n=new ResizeObserver(t=>{var n,r;e({width:null==(n=t[0])?void 0:n.contentRect.width,height:null==(r=t[0])?void 0:r.contentRect.height})});if(t.scrollElement)return e(t.scrollElement.getBoundingClientRect()),n.observe(t.scrollElement),()=>{n.unobserve(t.scrollElement)}},u={element:["scrollLeft","scrollTop"],window:["scrollX","scrollY"]},l=t=>(e,n)=>{if(!e.scrollElement)return;let r=u[t][0],i=u[t][1],o=e.scrollElement[r],a=e.scrollElement[i],s=()=>{let t=e.scrollElement[e.options.horizontal?r:i];n(Math.max(0,t-e.options.scrollMargin))};s();let l=t=>{let n=t.currentTarget,u=n[r],l=n[i];(e.options.horizontal?o-u:a-l)&&s(),o=u,a=l};return e.scrollElement.addEventListener("scroll",l,{capture:!1,passive:!0}),()=>{e.scrollElement.removeEventListener("scroll",l)}},c=l("element");l("window");let f=(t,e)=>Math.round(t.getBoundingClientRect()[e.options.horizontal?"width":"height"]),d=(t,e,n)=>{var r;let{adjustments:i,behavior:o,sync:a}=e,s=(a?t:t+n.options.scrollMargin)+(i??0);null==(r=n.scrollElement)||null==r.scrollTo||r.scrollTo({[n.options.horizontal?"left":"top"]:s,behavior:o})};class h{constructor(t){var e=this;this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.measurementsCache=[],this.itemMeasurementsCache={},this.pendingMeasuredCacheIndexes=[],this.scrollAdjustments=0,this.measureElementCache={},this.pendingScrollToIndexCallback=null,this.getResizeObserver=(()=>{let t=null;return()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver(t=>{t.forEach(t=>{this._measureElement(t.target,!1)})}):null)})(),this.range={startIndex:0,endIndex:0},this.setOptions=t=>{Object.entries(t).forEach(e=>{let[n,r]=e;void 0===r&&delete t[n]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:o,rangeExtractor:a,onChange:()=>{},measureElement:f,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",...t}},this.notify=()=>{var t,e;null==(t=(e=this.options).onChange)||t.call(e,this)},this.cleanup=()=>
34{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.scrollElement=null},this._didMount=()=>{let t=this.getResizeObserver();return Object.values(this.measureElementCache).forEach(e=>null==t?void 0:t.observe(e)),()=>{null==t||t.disconnect(),this.cleanup()}},this._willUpdate=()=>{var t;null==(t=this.pendingScrollToIndexCallback)||t.call(this);let e=this.options.getScrollElement();this.scrollElement!==e?(this.cleanup(),this.scrollElement=e,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0,sync:!0}),this.unsubs.push(this.options.observeElementRect(this,t=>{this.scrollRect=t,this.calculateRange()})),this.unsubs.push(this.options.observeElementOffset(this,t=>{null!==this.isScrollingTimeoutId&&(clearTimeout(this.isScrollingTimeoutId),this.isScrollingTimeoutId=null),this.scrollOffset!==t?(this.scrollOffset=t,this.isScrolling=!0,this.scrollAdjustments=0,this.isScrollingTimeoutId=setTimeout(()=>{this.isScrollingTimeoutId=null,this.isScrolling=!1,this.notify()},this.options.scrollingDelay)):(this.isScrolling=!1,this.scrollAdjustments=0),this.calculateRange()}))):this.isScrolling||this.calculateRange()},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurements=i(()=>[this.options.count,this.options.paddingStart,this.options.getItemKey,this.itemMeasurementsCache],(t,e,n,r)=>{let i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let o=this.measurementsCache.slice(0,i);for(let a=i;a<t;a++){let t=n(a),i=r[t],s=o[a-1]?o[a-1].end:e,u="number"==typeof i?i:this.options.estimateSize(a),l=s+u;o[a]={index:a,start:s,size:u,end:l,key:t}}return this.measurementsCache=o,o},{key:!1,debug:()=>this.options.debug}),this.calculateRange=i(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(t,e,n)=>{let r=function(t){let{measurements:e,outerSize:n,scrollOffset:r}=t,i=e.length-1,o=p(0,i,t=>e[t].start,r),a=o;for(;a<i&&e[a].end<r+n;)a++;return{startIndex:o,endIndex:a}}({measurements:t,outerSize:e,scrollOffset:n});return(r.startIndex!==this.range.startIndex||r.endIndex!==this.range.endIndex)&&(this.range=r,this.notify()),this.range},{key:!1,debug:()=>this.options.debug}),this.getIndexes=i(()=>[this.options.rangeExtractor,this.range,this.options.overscan,this.options.count],(t,e,n,r)=>t({...e,overscan:n,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let e=this.options.indexAttribute,n=t.getAttribute(e);return n?parseInt(n,10):(console.warn(`Missing attribute name '${e}={index}' on measured element.`),-1)},this._measureElement=(t,e)=>{let n=this.indexFromElement(t),r=this.measurementsCache[n];if(!r)return;let i=this.measureElementCache[r.key],o=this.getResizeObserver();if(!t.isConnected){i&&(null==o||o.unobserve(i),delete this.measureElementCache[r.key]);return}i&&i===t||(i&&(null==o||o.unobserve(i)),this.measureElementCache[r.key]=t,null==o||o.observe(t));let a=this.options.measureElement(t,this),s=this.itemMeasurementsCache[r.key]??r.size,u=a-s;0!==u&&(r.start<this.scrollOffset&&this.isScrolling&&this._scrollToOffset(this.scrollOffset,{adjustments:this.scrollAdjustments+=u,behavior:void 0,sync:!1}),this.pendingMeasuredCacheIndexes.push(n),this.itemMeasurementsCache={...this.itemMeasurementsCache,[r.key]:a},this.notify())},this.measureElement=t=>{t&&this._measureElement(t,!0)},this.getVirtualItems=i(()=>[this.getIndexes(),this.getMeasurements()],(t,e)=>{let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r],o=e[i];n.push(o)}return n},{key:!1,debug:()=>this.options.debug}),this.scrollToOffset=function(t,n){let{align:r="start",behavior:i}=void 0===n?{}:n,o=e.scrollOffset,a=e.getSize();"auto"===r&&(r=t<=o?"start":t>=o+a?"end":"start");let s={adjustments:void 0,behavior:i,sync:!1};"start"===r?e._scrollToOffset(t,s):"end"===r?e._scrollToOffset(t-a,s):"center"===r&&e._scrollToOffset(t-a/2,s)},this.scrollToIndex=function(t,n){let{align:r="auto",...i}=void 0===n?{}:n;e.pendingScrollToIndexCallback=null;let o=e.getMeasurements(),a=e.scrollOffset,s=e.getSize(),{count:u}=e.options,l=o[Math.max(0,Math.min(t,u-1))];if(!l)return;if("auto"===r){if(l.end>=a+s-e.options.scrollPaddingEnd)r="end";else{if(!(l.start<=a+e.options.scrollPaddingStart))return;r="start"}}let c="end"===r?l.end+e.options.scrollPaddingEnd:l.start-e.options.scrollPaddingStart;e.scrollToOffset(c,{align:r,...i});let f=Object.keys(e.measureElementCache).length>0;if(f){let n=()=>"number"==typeof e.itemMeasurementsCache[e.options.getItemKey(t)];n()||(e.pendingScrollToIndexCallback=()=>{n()&&(e.pendingScrollToIndexCallback=null,e.scrollToIndex(t,{align:r,...i}))})}},this.getTotalSize=()=>{var t;return((null==(t=this.getMeasurements()[this.options.count-1])?void 0:t.end)||this.options.paddingStart)+this.options.paddingEnd},this._scrollToOffset=(t,e)=>
34{let{adjustments:n,behavior:r,sync:i}=e;this.options.scrollToFn(t,{behavior:r,sync:i,adjustments:n},this)},this.measure=()=>{this.itemMeasurementsCache={},this.notify()},this.setOptions(t),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.calculateRange()}}let p=(t,e,n,r)=>{for(;t<=e;){let i=(t+e)/2|0,o=n(i);if(o<r)t=i+1;else{if(!(o>r))return i;e=i-1}}return t>0?t-1:0},m="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function g(t){return function(t){let e=r.useReducer(()=>({}),{})[1],n={...t,onChange:n=>{e(),null==t.onChange||t.onChange(n)}},[i]=r.useState(()=>new h(n));return i.setOptions(n),r.useEffect(()=>i._didMount(),[]),m(()=>i._willUpdate()),i}({observeElementRect:s,observeElementOffset:c,scrollToFn:d,...t})}},83508:function(t,e,n){"use strict";function r(t,e,n){return Math.min(Math.max(t,n),e)}n.d(e,{$n:function(){return w},WC:function(){return b},XV:function(){return x},_j:function(){return g}});var i=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}};function o(t){if("string"!=typeof t)throw new i(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=h.test(t)?function(t){let e=t.toLowerCase().trim(),n=s[function(t){let e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return(e>>>0)%2341}(e)];if(!n)throw new i(t);return`#${n}`}(t):t;let n=l.exec(e);if(n){let t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(u(t,2),16)),parseInt(u(t[3]||"f",2),16)/255]}let o=c.exec(e);if(o){let t=Array.from(o).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}let a=f.exec(e);if(a){let t=Array.from(a).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}let p=d.exec(e);if(p){let[e,n,o,a]=Array.from(p).slice(1).map(parseFloat);if(r(0,100,n)!==n||r(0,100,o)!==o)throw new i(t);return[...m(e,n,o),Number.isNaN(a)?1:a]}throw new i(t)}let a=t=>parseInt(t.replace(/_/g,""),36),s="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{let n=a(e.substring(0,3)),r=a(e.substring(3)).toString(16),i="";for(let t=0;t<6-r.length;t++)i+="0";return t[n]=`${i}${r}`,t},{}),u=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),l=RegExp(`^#${u("([a-f0-9])",3)}([a-f0-9])?$`,"i"),c=RegExp(`^#${u("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),f=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),d=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,h=/^[a-z]+$/i,p=t=>Math.round(255*t),m=(t,e,n)=>{let r=n/100;if(0===e)return[r,r,r].map(p);let i=(t%360+360)%360/60,o=(1-Math.abs(2*r-1))*(e/100),a=o*(1-Math.abs(i%2-1)),s=0,u=0,l=0;i>=0&&i<1?(s=o,u=a):i>=1&&i<2?(s=a,u=o):i>=2&&i<3?(u=o,l=a):i>=3&&i<4?(u=a,l=o):i>=4&&i<5?(s=a,l=o):i>=5&&i<6&&(s=o,l=a);let c=r-o/2,f=s+c,d=u+c,h=l+c;return[f,d,h].map(p)};function g(t,e){let[n,i,a,s]=function(t){let[e,n,r,i]=o(t).map((t,e)=>3===e?t:t/255),a=Math.max(e,n,r),s=Math.min(e,n,r),u=(a+s)/2;if(a===s)return[0,0,u,i];let l=a-s;return[60*(e===a?(n-r)/l+(n<r?6:0):n===a?(r-e)/l+2:(e-n)/l+4),u>.5?l/(2-a-s):l/(a+s),u,i]}(t);return`hsla(${(n%360).toFixed()}, ${r(0,100,100*i).toFixed()}%, ${r(0,100,100*(a-e)).toFixed()}%, ${parseFloat(r(0,1,s).toFixed(3))})`}function y(t){if("transparent"===t)return 0;function e(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}let[n,r,i]=o(t);return .2126*e(n)+.7152*e(r)+.0722*e(i)}let v={decorative:1.5,readable:3,aa:4.5,aaa:7};function b(t,e="aa",n="#fff"){return function(t,e){let n=y(t),r=y(e);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}(t,n)<v[e]}function w(t,e){return g(t,-e)}function x(t){return y(t)>.179?"#000":"#fff"}},54735:function(t,e,n){"use strict";n.d(e,{qY:function(){return h},ZP:function(){return b},iW:function(){return p},$B:function(){return v}});let r=1/60*1e3,i="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(i()),r),a=!0,s=!1,u=!1,l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],f=c.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(t,o=!1,s=!1)=>{let u=s&&i,l=u?e:n;return o&&a.add(t),-1===l.indexOf(t)&&(l.push(t),u&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(u),a.has(r)&&(s.schedule(r),t())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>s=!0),t),{}),d=c.reduce((t,e)=>{let n=f[e];return t[e]=(t,e=!1,r=!1)=>(s||y(),n.schedule(t,e,r)),t},{}),h=c.reduce((t,e)=>(t[e]=f[e].cancel,t),{}),p=c.reduce((t,e)=>(t[e]=()=>f[e].process(l),t),{}),m=t=>f[t].process(l),g=t=>{s=!1,l.delta=a?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEac
vendor: 7,334 bytes, line 34
34h(m),u=!1,s&&(a=!1,o(g))},y=()=>{s=!0,a=!0,u||o(g)},v=()=>l;var b=d},4527:function(t,e,n){"use strict";function r(t){return window.crypto.getRandomValues(t)}n.d(e,{Z:function(){return r}})},12902:function(t,e,n){"use strict";function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map(function(t){return"'"+t+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(t){return!!t&&!!t[Z]}function o(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(t)||Array.isArray(t)||!!t[U]||!!(null===(e=t.constructor)||void 0===e?void 0:e[U])||f(t)||d(t))}function a(t,e,n){void 0===n&&(n=!1),0===s(t)?(n?Object.keys:z)(t).forEach(function(r){n&&"symbol"==typeof r||e(r,t[r],t)}):t.forEach(function(n,r){return e(r,n,t)})}function s(t){var e=t[Z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:f(t)?2:d(t)?3:0}function u(t,e){return 2===s(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function l(t,e,n){var r=s(t);2===r?t.set(e,n):3===r?t.add(n):t[e]=n}function c(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function f(t){return V&&t instanceof Map}function d(t){return F&&t instanceof Set}function h(t){return t.o||t.t}function p(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=G(t);delete e[Z];for(var n=z(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function m(t,e){return void 0===e&&(e=!1),y(t)||i(t)||!o(t)||(s(t)>1&&(t.set=t.add=t.clear=t.delete=g),Object.freeze(t),e&&a(t,function(t,e){return m(e,!0)},!0)),t}function g(){r(2)}function y(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function v(t){var e=$[t];return e||r(18,t),e}function b(t,e){e&&(v("Patches"),t.u=[],t.s=[],t.v=e)}function w(t){x(t),t.p.forEach(E),t.p=null}function x(t){t===D&&(D=t.l)}function C(t){return D={p:[],l:D,h:t,m:!0,_:0}}function E(t){var e=t[Z];0===e.i||1===e.i?e.j():e.g=!0}function k(t,e){e._=e.p.length;var n=e.p[0],i=void 0!==t&&t!==n;return e.h.O||v("ES5").S(e,t,i),i?(n[Z].P&&(w(e),r(4)),o(t)&&(t=S(e,t),e.l||_(e,t)),e.u&&v("Patches").M(n[Z].t,t,e.u,e.s)):t=S(e,n,[]),w(e),e.u&&e.v(e.u,e.s),t!==H?t:void 0}function S(t,e,n){if(y(e))return e;var r=e[Z];if(!r)return a(e,function(i,o){return R(t,r,e,i,o,n)},!0),e;if(r.A!==t)return e;if(!r.P)return _(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=p(r.k):r.o,o=i,s=!1;3===r.i&&(o=new Set(i),i.clear(),s=!0),a(o,function(e,o){return R(t,r,i,e,o,n,s)}),_(t,i,!1),n&&t.u&&v("Patches").N(r,n,t.u,t.s)}return r.o}function R(t,e,n,r,a,s,c){if(i(a)){var f=S(t,a,s&&e&&3!==e.i&&!u(e.R,r)?s.concat(r):void 0);if(l(n,r,f),!i(f))return;t.m=!1}else c&&n.add(a);if(o(a)&&!y(a)){if(!t.h.D&&t._<1)return;S(t,a),e&&e.A.l||_(t,a)}}function _(t,e,n){void 0===n&&(n=!1),!t.l&&t.h.D&&t.m&&m(e,n)}function A(t,e){var n=t[Z];return(n?h(n):t)[e]}function M(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function j(t){t.P||(t.P=!0,t.l&&j(t.l))}function O(t){t.o||(t.o=p(t.t))}function T(t,e,n){var r,i,o,a,s,u,l,c=f(e)?v("MapSet").F(e,n):d(e)?v("MapSet").T(e,n):t.O?(o=i={i:(r=Array.isArray(e))?1:0,A:n?n.A:D,P:!1,I:!1,R:{},l:n,t:e,k:null,o:null,j:null,C:!1},a=q,r&&(o=[i],a=Y),u=(s=Proxy.revocable(o,a)).revoke,l=s.proxy,i.k=l,i.j=u,l):v("ES5").J(e,n);return(n?n.A:D).p.push(c),c}function P(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return p(t)}function L(){function t(t,e){var n=o[t];return n?n.enumerable=e:o[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Z];return q.get(e,t)},set:function(e){var n=this[Z];q.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Z];if(!i.P)switch(i.i){case 5:r(i)&&j(i);break;case 4:n(i)&&j(i)}}}function n(t){for(var e=t.t,n=t.k,r=z(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Z){var a=e[o];if(void 0===a&&!u(e,o))return!0;var s=n[o],l=s&&s[Z];if(l?l.t!==a:!c(s,a))return!0}}var f=!!e[Z];return r.length!==z(e).length+(f?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var o={};$.ES5||($.ES5={J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=G(n);delete o[Z];for(var a=z(o),s=0;s<a.length;s++){var u=a[s];o[u]=t(u,e||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:D,P:!1,I:!1,R:{},l:n,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Z,{value:o,writable:!0}),i},S:function(t,n,o){o?i(n)&&n[Z].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Z];if(n){var i=n.t,o=n.k,s=n.R,l=n.i;if(4===l)a(o,function(e){e!==Z&&(void 0!==i[e]||u(i,e)?s[e]||t(o[e]):(s[e]=!0,j(n)))}),a(i,function(t){void 0!==o[t]||u(o,t)||(s[t]=!1,j(n))});else if(5===l){if(r(n)&&(j(n),s.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)s[c]=!1;else for(var f=i.length;f<o.length;f++)s[f]=!0;for(var d=Math.min(o.length,i.length),h=0;h<d;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(o[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}n.d(e,{P2:function(){return J},Uy:function(){return K},_x:function(){return Q},mv:function(){return i},o$:function(){return o},pV:function(){return L}});var I,D,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,F="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((I={})["immer-nothing"]=!0,I),U=N?Symbol.for("immer-draftable"):"__$immer_draftable",Z=N?Symbol.for("immer-state"):"__$immer_state",W=""+Object.prototype.constructor,z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,G=Object.getOwnPropertyDescriptors||function(t){var e={};return z(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e},$={},q={get:function(t,e){if(e===Z)return t;var n,r,i=h(t);if(!u(i,e))return(r=M(i,e))?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(t.k):void 0;var a=i[e];return t.I||!o(a)?a:a===A(t.t,e)?(O(t),t.o[e]=T(t.A.h,a,t)):a},has:function(t,e){return e in h(t)},ownKeys:function(t){return Reflect.ownKeys(h(t))},set:function(t,e,n){var r=M(h(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=A(h(t),e),o=null==i?void 0:i[Z];if(o&&o.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(c(n,i)&&(void 0!==n||u(t.t,e)))return!0;O(t),j(t)}return t.o[e]===n&&(void 0!==n||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==A(t.t,e)||e in t.t?(t.R[e]=!1,O(t),j(t)):delete t.R[e],t.o&&delete t.o[e],!0}
34,getOwnPropertyDescriptor:function(t,e){var n=h(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){r(12)}},Y={};a(q,function(t,e){Y[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Y.deleteProperty=function(t,e){return Y.set.call(this,t,e,void 0)},Y.set=function(t,e,n){return q.set.call(this,t[0],e,n,t[0])};var X=new(function(){function t(t){var e=this;this.O=B,this.D=!0,this.produce=function(t,n,i){if("function"==typeof t&&"function"!=typeof n){var a,s=n;return n=t,function(t){var r=this;void 0===t&&(t=s);for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return e.produce(t,function(t){var e;return(e=n).call.apply(e,[r,t].concat(o))})}}if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(t)){var u=C(e),l=T(e,t,void 0),c=!0;try{a=n(l),c=!1}finally{c?w(u):x(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(t){return b(u,i),k(t,u)},function(t){throw w(u),t}):(b(u,i),k(a,u))}if(!t||"object"!=typeof t){if(void 0===(a=n(t))&&(a=t),a===H&&(a=void 0),e.D&&m(a,!0),i){var f=[],d=[];v("Patches").M(t,a,f,d),i(f,d)}return a}r(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(n,function(e){return t.apply(void 0,[e].concat(i))})};var r,i,o=e.produce(t,n,function(t,e){r=t,i=e});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(t){return[t,r,i]}):[o,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){o(t)||r(8),i(t)&&(i(e=t)||r(22,e),t=function t(e){if(!o(e))return e;var n,r=e[Z],i=s(e);if(r){if(!r.P&&(r.i<4||!v("ES5").K(r)))return r.t;r.I=!0,n=P(e,i),r.I=!1}else n=P(e,i);return a(n,function(e,i){var o;r&&(2===s(o=r.t)?o.get(e):o[e])===i||l(n,e,t(i))}),3===i?new Set(n):n}(e));var e,n=C(this),u=T(this,t,void 0);return u[Z].C=!0,x(n),u},e.finishDraft=function(t,e){var n=(t&&t[Z]).A;return b(n,e),k(void 0,n)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!B&&r(20),this.O=t},e.applyPatches=function(t,e){for(n=e.length-1;n>=0;n--){var n,r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var o=v("Patches").$;return i(t)?o(t,e):this.produce(t,function(t){return o(t,e)})},t}()),K=X.produce,J=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X)),Q=X.finishDraft.bind(X);e.ZP=K},90111:function(t,e,n){"use strict";/*! 35 * is-plain-object <https://github.com/jonschlinkert/is-plain-object> 36 * 37 * Copyright (c) 2014-2017, Jon Schlinkert. 38 * Released under the MIT License. 39 */function r(t){return"[object Object]"===Object.prototype.toString.call(t)}function i(t){var e,n;return!1!==r(t)&&(void 0===(e=t.constructor)||!1!==r(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.d(e,{P:function(){return i}})},53416:function(t,e,n){"use strict";n.d(e,{kP:function(){return o},x0:function(){return a}});let r=t=>crypto.getRandomValues(new Uint8Array(t)),i=(t,e,n)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*r*e/t.length);return (o=e)=>{let a="";for(;;){let e=n(i),s=i;for(;s--;)if((a+=t[e[s]&r]||"").length===o)return a}}},o=(t,e=21)=>i(t,e,r),a=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>((e&=63)<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),"")},3982:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});let r=[],i=[],o=new Set,a=new Map,s=new Map,u=t=>"string"==typeof t?RegExp("^".concat(t,"$"),"i"):t,l=(t,e)=>"string"!=typeof e?t:t===e?e:t===t.toLowerCase()?e.toLowerCase():t===t.toUpperCase()?e.toUpperCase():t[0]===t[0].toUpperCase()?e.charAt(0).toUpperCase()+e.substr(1).toLowerCase():e.toLowerCase(),c=(t,e,n)=>{if(!t.length||o.has(t))return e;let{length:r}=n;for(;r--;){let t=n[r];if(t[0].test(e))return e.replace(t[0],function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];let[o,a]=r,s=t[1].replace(/\$(\d{1,2})/g,(t,e)=>r[e]||"");return""===o?l(e[a-1],s):l(o,s)})}return e},f=(t,e,n,r)=>{let i=t.toLowerCase();return n.has(i)?l(t,i):e.has(i)?l(t,e.get(i)):c(i,t,r)},d=(t,e,n,r)=>{let i=t.toLowerCase();return!!n.has(i)||!e.has(i)&&c(i,i,r)===i},h=(t,e,n)=>{let r=1===e?h.singular(t):h.plural(t);return n?"".concat(e," ").concat(r):r};for(let[t,e]of(h.plural=t=>f(t,s,a,r),h.singular=t=>f(t,a,s,i),h.addPluralRule=(t,e)=>{r.push([u(t),e])},h.addSingularRule=(t,e)=>{i.push([u(t),e])},h.addIrregularRule=(t,e)=>{let n=e.toLowerCase(),r=t.toLowerCase();s.set(r,n),a.set(n,r)},h.addUncountableRule=t=>{if("string"==typeof t){o.add(t.toLowerCase());return}h.addPluralRule(t,"$0"),h.addSingularRule(t,"$0")}
39,h.isPlural=t=>d(t,s,a,r),h.isSingular=t=>d(t,a,s,i),[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["my","our"],["its","their"],["his","their"],["her","their"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"],["canvas","canvases"]]))h.addIrregularRule(t,e);for(let[t,e]of[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]])h.addPluralRule(t,e);for(let[t,e]of[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ck|ix|sser|ts|wb)ies$/i,"$1ie"],[/\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]])h.addSingularRule(t,e);for(let t of["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i])h.addUncountableRule(t)},32202:function(t,e,n){"use strict";n.d(e,{eI:function(){return eJ}});let r="undefined"!=typeof navigator&&"ReactNative"===navigator.product,i={timeout:r?6e4:12e4};function o(t){let e="string"==typeof t?Object.assign({url:t},i):Object.assign({},i,t),n=new URL(e.url,"http://localhost");if(e.timeout=function t(e){if(!1===e||0===e)return!1;if(e.connect||e.socket)return e;let n=Number(e);return isNaN(n)?t(i.timeout):{connect:n,socket:n}}(e.timeout),e.query){for(let[t,r]of Object.entries(e.query))if(void 0!==r){if(Array.isArray(r))for(let e of r)n.searchParams.append(t,e);else n.searchParams.append(t,r)}}return e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e.url="http://localhost"===n.origin?"".concat(n.pathname,"?").concat(n.searchParams):n.toString(),e}let a=/^https?:\/\//i;function s(t){if(!a.test(t.url))throw Error('"'.concat(t.url,'" is not a valid URL'))}var u,l,c,f,d,h,p,m,g,y,v,b,w,x,C,E,k,S,R,_,A,M,j,O,T,P,L,I,D,N=n(4947),V=t=>function(e,n){let r="onError"===e,i=n;for(var o=arguments.length,a=Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];for(let n=0;n<t[e].length;n++){let o=t[e][n];if(i=o(i,...a),r&&!i)break}return i};let F=["request","response","progress","error","abort"],B=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var H=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},U=(t,e,n)=>(H(t,e,"read from private field"),n?n.call(t):e.get(t)),Z=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},W=(t,e,n,r)=>(H(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);u=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap,d=new WeakMap;let z="function"==typeof XMLHttpRequest?"xhr":"fetch",G="xhr"===z?XMLHttpRequest:class{constructor(){this.readyState=0,this.responseType="",Z(this,u,void 0),Z(this,l,void 0),Z(this,c,void 0),Z(this,f,{}),Z(this,d,void 0)}open(t,e,n){W(this,u,t),W(this,l,e),W(this,c,""),this.readyState=1,this.onreadystatechange(),W(this,d,void 0)}abort(){U(this,d)&&U(this,d).abort()}getAllResponseHeaders(){return U(this,c)}setRequestHeader(t,e){U(this,f)[t]=e}send(t){let e="arraybuffer"!==this.responseType,n={method:U(this,u),headers:U(this,f),body:t};"function"==typeof AbortController&&(W(this,d,new AbortController),"undefined"!=typeof EventTarget&&U(this,d).signal instanceof EventTarget&&(n.signal=U(this,d).signal)),"undefined"!=typeof document&&(n.credentials=this.withCredentials?"include":"omit"),fetch(U(this,l),n).then(t=>
39(t.headers.forEach((t,e)=>{W(this,c,U(this,c)+"".concat(e,": ").concat(t,"\r\n"))}),this.status=t.status,this.statusText=t.statusText,this.readyState=3,e?t.text():t.arrayBuffer())).then(t=>{"string"==typeof t?this.responseText=t:this.response=t,this.readyState=4,this.onreadystatechange()}).catch(t=>{var e;if("AbortError"===t.name){this.onabort();return}null==(e=this.onerror)||e.call(this,t)})}};var $=(t,e)=>{let n=t.options,r=t.applyMiddleware("finalizeOptions",n),i={},o=t.applyMiddleware("interceptRequest",void 0,{adapter:z,context:t});if(o){let t=setTimeout(e,0,null,o),n=()=>clearTimeout(t);return{abort:n}}let a=new G,s=r.headers,u=r.timeout,l=!1,c=!1,f=!1;if(a.onerror=p,a.ontimeout=p,a.onabort=()=>{h(!0),l=!0},a.onreadystatechange=()=>{u&&(h(),i.socket=setTimeout(()=>d("ESOCKETTIMEDOUT"),u.socket)),l||4!==a.readyState||0===a.status||function(){if(!l&&!c&&!f){if(0===a.status){p(Error("Unknown XHR error"));return}h(),c=!0,e(null,{body:a.response||(""===a.responseType||"text"===a.responseType?a.responseText:""),url:r.url,method:r.method,headers:N(a.getAllResponseHeaders()),statusCode:a.status,statusMessage:a.statusText})}}()},a.open(r.method,r.url,!0),a.withCredentials=!!r.withCredentials,s&&a.setRequestHeader)for(let t in s)s.hasOwnProperty(t)&&a.setRequestHeader(t,s[t]);return r.rawBody&&(a.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:r,adapter:z,request:a,context:t}),a.send(r.body||null),u&&(i.connect=setTimeout(()=>d("ETIMEDOUT"),u.connect)),{abort:function(){l=!0,a&&a.abort()}};function d(e){f=!0,a.abort();let n=Error("ESOCKETTIMEDOUT"===e?"Socket timed out on request to ".concat(r.url):"Connection timed out on request to ".concat(r.url));n.code=e,t.channels.error.publish(n)}function h(t){(t||l||a.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function p(t){if(c)return;h(!0),c=!0,a=null;let n=t||Error("Network error while attempting to reach ".concat(r.url));n.isNetworkError=!0,n.request=r,e(n)}};let q=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$;return function t(e,n){let r=[],i=B.reduce((t,e)=>(t[e]=t[e]||[],t),{processOptions:[o],validateOptions:[s]});function a(t){let e=F.reduce((t,e)=>(t[e]=function(){let t=Object.create(null),e=0;return{publish:function(e){for(let n in t)t[n](e)},subscribe:function(n){let r=e++;return t[r]=n,function(){delete t[r]}}}}(),t),{}),r=V(i),o=r("processOptions",t);r("validateOptions",o);let a={options:o,channels:e,applyMiddleware:r},s=null,u=e.request.subscribe(t=>{s=n(t,(n,i)=>(function(t,n,i){let o=t,a=n;if(!o)try{a=r("onResponse",n,i)}catch(t){a=null,o=t}(o=o&&r("onError",o,i))?e.error.publish(o):a&&e.response.publish(a)})(n,i,t))});e.abort.subscribe(()=>{u(),s&&s.abort()});let l=r("onReturn",e,a);return l===e&&e.request.publish(a),l}return a.use=function(t){if(!t)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof t)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(t.onReturn&&i.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return B.forEach(e=>{t[e]&&i[e].push(t[e])}),r.push(t),a},a.clone=function(){return t(r,n)},e.forEach(a.use),a}(t,e)};n(11227);var Y=n(90111),X=n(48764).lW;Object.prototype.hasOwnProperty;let K=void 0===X?()=>!1:t=>X.isBuffer(t),J=["boolean","string","number"];var Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};let tt=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||Promise;if(!e)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new e((e,i)=>{let o=r.options.cancelToken;o&&o.promise.then(t=>{n.abort.publish(t),i(t)}),n.error.subscribe(i),n.response.subscribe(n=>{e(t.onlyBody?n.body:n)}),setTimeout(()=>{try{n.request.publish(r)}catch(t){i(t)}},0)})}};class te{constructor(t){this.__CANCEL__=!0,this.message=t}toString(){return"Cancel".concat(this.message?": ".concat(this.message):"")}}let tn=class{constructor(t){if("function"!=typeof t)throw TypeError("executor must be a function.");let e=null;this.promise=new Promise(t=>{e=t}),t(t=>{this.reason||(this.reason=new te(t),e(this.reason))})}},tr=tn;tr.source=()=>{let t;let e=new tn(e=>{t=e});return{token:e,cancel:t}};let ti=t=>!!(t&&(null==t?void 0:t.__CANCEL__));tt.Cancel=te,tt.CancelToken=tr,tt.isCancel=ti;var to=(t,e,n)=>("GET"===n.method||"HEAD"===n.method)&&(t.isNetworkError||!1);let ta=t=>null!==t&&"object"==typeof t&&"function"==typeof t.pipe;var ts=t=>{let e=t.maxRetries||5,n=t.retryDelay||tu,r=t.shouldRetry;return{onError:(t,i)=>{let o=i.options,a=o.maxRetries||e,s=o.shouldRetry||r,u=o.attemptNumber||0;if(ta(o.body)||!s(t,u,o)||u>=a)return t;let l=Object.assign({},i,{options:Object.assign({},o,{attemptNumber:u+1})});return setTimeout(()=>i.channels.request.publish(l),n(u)),null}}};function tu(t){return 100*Math.pow(2,t)+100*Math.random()}let tl=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ts({shouldRetry:to,...t})};tl.shouldRetry=to;var tc=n(19293),tf=n(36861),td=n(29127),th=n(94975);
39class tp extends Error{constructor(t){let e=tg(t);super(e.message),this.statusCode=400,Object.assign(this,e)}}class tm extends Error{constructor(t){let e=tg(t);super(e.message),this.statusCode=500,Object.assign(this,e)}}function tg(t){let e=t.body,n={response:t,statusCode:t.statusCode,responseBody:function(t,e){let n=(e.headers["content-type"]||"").toLowerCase(),r=-1!==n.indexOf("application/json");return r?JSON.stringify(t,null,2):t}(e,t),message:"",details:void 0};if(e.error&&e.message)return n.message="".concat(e.error," - ").concat(e.message),n;if(ty(e)&&ty(e.error)&&"mutationError"===e.error.type&&"string"==typeof e.error.description){let t=e.error.items||[],r=t.slice(0,5).map(t=>{var e;return null==(e=t.error)?void 0:e.description}).filter(Boolean),i=r.length?":\n- ".concat(r.join("\n- ")):"";return t.length>5&&(i+="\n...and ".concat(t.length-5," more")),n.message="".concat(e.error.description).concat(i),n.details=e.error,n}return e.error&&e.error.description?(n.message=e.error.description,n.details=e.error,n):(n.message=e.error||e.message||function(t){let e=t.statusMessage?" ".concat(t.statusMessage):"";return"".concat(t.method,"-request to ").concat(t.url," resulted in HTTP ").concat(t.statusCode).concat(e)}(t),n)}function ty(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}let tv={onResponse:t=>{if(t.statusCode>=500)throw new tm(t);if(t.statusCode>=400)throw new tp(t);return t}},tb={onResponse:t=>{let e=t.headers["x-sanity-warning"],n=Array.isArray(e)?e:[e];return n.filter(Boolean).forEach(t=>console.warn(t)),t}};function tw(t){if("string"==typeof t||Array.isArray(t))return{id:t};if("object"==typeof t&&null!==t&&"query"in t&&"string"==typeof t.query)return"params"in t&&"object"==typeof t.params&&null!==t.params?{query:t.query,params:t.params}:{query:t.query};throw Error("Unknown selection - must be one of:\n\n".concat("* Document ID (<docId>)\n* Array of document IDs\n* Object containing `query`"))}let tx=["image","file"],tC=["before","after","replace"],tE=t=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},tk=t=>{if(!/^[-a-z0-9]+$/i.test(t))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},tS=t=>{if(-1===tx.indexOf(t))throw Error("Invalid asset type: ".concat(t,". Must be one of ").concat(tx.join(", ")))},tR=(t,e)=>{if(null===e||"object"!=typeof e||Array.isArray(e))throw Error("".concat(t,"() takes an object of properties"))},t_=(t,e)=>{if("string"!=typeof e||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(e)||e.includes(".."))throw Error("".concat(t,'(): "').concat(e,'" is not a valid document ID'))},tA=(t,e)=>{if(!e._id)throw Error("".concat(t,'() requires that the document contains an ID ("_id" property)'));t_(t,e._id)},tM=(t,e,n)=>{let r="insert(at, selector, items)";if(-1===tC.indexOf(t)){let t=tC.map(t=>'"'.concat(t,'"')).join(", ");throw Error("".concat(r,' takes an "at"-argument which is one of: ').concat(t))}if("string"!=typeof e)throw Error("".concat(r,' takes a "selector"-argument which must be a string'));if(!Array.isArray(n))throw Error("".concat(r,' takes an "items"-argument which must be an array'))},tj=t=>{if(!t.dataset)throw Error("`dataset` must be provided to perform queries");return t.dataset||""},tO=t=>{if("string"!=typeof t||!/^[a-z0-9._-]{1,75}$/i.test(t))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t},tT=t=>{let{query:e,params:n={},options:r={}}=t,i=new URLSearchParams,{tag:o,...a}=r;for(let[t,r]of(o&&i.set("tag",o),i.set("query",e),Object.entries(n)))i.set("$".concat(t),JSON.stringify(r));for(let[t,e]of Object.entries(a))e&&i.set(t,"".concat(e));return"?".concat(i)};var tP=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},tL=(t,e,n)=>(tP(t,e,"read from private field"),n?n.call(t):e.get(t)),tI=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},tD=(t,e,n,r)=>(tP(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);class tN{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.selection=t,this.operations=e}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return tR("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,e,n){return tM(t,e,n),this._assign("insert",{[t]:e,items:n})}append(t,e){return this.insert("after","".concat(t,"[-1]"),e)}prepend(t,e){return this.insert("before","".concat(t,"[0]"),e)}splice(t,e,n,r){let i=e<0?e-1:e,o=void 0===n||-1===n?-1:Math.max(0,e+n),a="".concat(t,"[").concat(i,":").concat(i<0&&o>=0?"":o,"]");return this.insert("replace",a,r||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...tw(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return tR(t,e),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},n&&this.operations[t]||{},e)}),this}_set(t,e){return this._assign(t,e,!1)}}let tV=class extends tN{constructor(t,e,n){super(t,e),tI(this,h,void 0),tD(this,h,n)}clone(){return new tV(this.selection,{...this.operations},tL(this,h))}commit(t){if(!tL(this,h))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let e="string"==typeof this.selection,n=Object.assign({returnFirst:e,returnDocuments:!0},t);return tL(this,h).mutate({patch:this.serialize()},n)}};h=new WeakMap;let tF=class extends tN{constructor(t,e,n){super(t,e),tI(this,p,void 0),tD(this,p,n)}clone(){return new tF(this.selection,{...this.operations},tL(this,p))}commit(t){if(!tL(this,p))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let e="string"==typeof this.selection,n=Object.assign({returnFirst:e,returnDocuments:!0},t);return tL(this,p).mutate({patch:this.serialize()},n)}};p=new WeakMap;var tB=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},tH=(t,e,n)=>(tB(t,e,"read from private field"),n?n.call(t):e.get(t)),tU=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},tZ=(t,e,n,r)=>(tB(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);let tW={returnDocuments:!1};class tz{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;this.operations=t,this.trxId=e}create(t){return tR("create",t),this._add({create:t})}createIfNotExists(t){let e="createIfNotExists";return tR(e,t),tA(e,t),this._add({[e]:t})}createOrReplace(t){let e="createOrReplace";return tR(e,t),tA(e,t),this._add({[e]:t})}delete(t){return t_("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}
39let tG=class extends tz{constructor(t,e,n){super(t,n),tU(this,m,void 0),tZ(this,m,e)}clone(){return new tG([...this.operations],tH(this,m),this.trxId)}commit(t){if(!tH(this,m))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tH(this,m).mutate(this.serialize(),Object.assign({transactionId:this.trxId},tW,t||{}))}patch(t,e){if("string"!=typeof t&&t instanceof tF)return this._add({patch:t.serialize()});if("function"==typeof e){let n=e(new tF(t,{},tH(this,m)));if(!(n instanceof tF))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:{id:t,...e}})}};m=new WeakMap;let t$=class extends tz{constructor(t,e,n){super(t,n),tU(this,g,void 0),tZ(this,g,e)}clone(){return new t$([...this.operations],tH(this,g),this.trxId)}commit(t){if(!tH(this,g))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tH(this,g).mutate(this.serialize(),Object.assign({transactionId:this.trxId},tW,t||{}))}patch(t,e){if("string"!=typeof t&&t instanceof tV)return this._add({patch:t.serialize()});if("function"==typeof e){let n=e(new tV(t,{},tH(this,g)));if(!(n instanceof tV))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:{id:t,...e}})}};g=new WeakMap;let tq=(t,e)=>!1===t?void 0:void 0===t?e:t,tY=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:tq(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},tX=t=>"response"===t.type,tK=t=>t.body,tJ=(t,e)=>t.reduce((t,n)=>(t[e(n)]=n,t),Object.create(null));function tQ(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=!1===i.filterResponse?t=>t:t=>t.result;return t6(t,e,"query",{query:n,params:r},i).pipe((0,td.U)(o))}function t1(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i={uri:et(t,"doc",n),json:!0,tag:r.tag};return t8(t,e,i).pipe((0,th.h)(tX),(0,td.U)(t=>t.body.documents&&t.body.documents[0]))}function t0(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i={uri:et(t,"doc",n.join(",")),json:!0,tag:r.tag};return t8(t,e,i).pipe((0,th.h)(tX),(0,td.U)(t=>{let e=tJ(t.body.documents||[],t=>t._id);return n.map(t=>e[t]||null)}))}function t5(t,e,n,r){return tA("createIfNotExists",n),t9(t,e,n,"createIfNotExists",r)}function t2(t,e,n,r){return tA("createOrReplace",n),t9(t,e,n,"createOrReplace",r)}function t3(t,e,n,r){return t6(t,e,"mutate",{mutations:[{delete:tw(n)}]},r)}function t4(t,e,n,r){let i=n instanceof tF||n instanceof tV||n instanceof tG||n instanceof t$?n.serialize():n,o=Array.isArray(i)?i:[i],a=r&&r.transactionId;return t6(t,e,"mutate",{mutations:o,transactionId:a},r)}function t6(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o="mutate"===n,a=o?"":tT(r),s=!o&&a.length<11264,u=i.returnFirst,{timeout:l,token:c,tag:f,headers:d}=i,h=et(t,n,s?a:""),p={method:s?"GET":"POST",uri:h,json:!0,body:s?void 0:r,query:o&&tY(i),timeout:l,headers:d,token:c,tag:f,canUseCdn:"query"===n,signal:i.signal};return t8(t,e,p).pipe((0,th.h)(tX),(0,td.U)(tK),(0,td.U)(t=>{if(!o)return t;let e=t.results||[];if(i.returnDocuments)return u?e[0]&&e[0].document:e.map(t=>t.document);let n=u?e[0]&&e[0].id:e.map(t=>t.id);return{transactionId:t.transactionId,results:e,[u?"documentId":"documentIds"]:n}}))}function t9(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=Object.assign({returnFirst:!0,returnDocuments:!0},i);return t6(t,e,"mutate",{mutations:[{[r]:n}]},o)}function t8(t,e,n){var r;let i=n.url||n.uri,o=t.config(),a=void 0===n.canUseCdn?["GET","HEAD"].indexOf(n.method||"GET")>=0&&0===i.indexOf("/data/"):n.canUseCdn,s=o.useCdn&&a,u=n.tag&&o.requestTagPrefix?[o.requestTagPrefix,n.tag].join("."):n.tag||o.requestTagPrefix;u&&(n.query={tag:tO(u),...n.query});let l=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=e.token||t.token;r&&(n.Authorization="Bearer ".concat(r)),e.useGlobalApi||t.useProjectHostname||!t.projectId||(n["X-Sanity-Project-ID"]=t.projectId);let i=Boolean(void 0===e.withCredentials?t.token||t.withCredentials:e.withCredentials),o=void 0===e.timeout?t.timeout:e.timeout;return Object.assign({},e,{headers:Object.assign({},n,e.headers||{}),timeout:void 0===o?3e5:o,proxy:e.proxy||t.proxy,json:!0,withCredentials:i})}(o,Object.assign({},n,{url:ee(t,i,s)})),c=new tc.y(t=>e(l,o.requester).subscribe(t));
39return n.signal?c.pipe((r=n.signal,t=>new tc.y(e=>{let n=()=>e.error(function(t){var e,n;if(en)return new DOMException(null!=(e=null==t?void 0:t.reason)?e:"The operation was aborted.","AbortError");let r=Error(null!=(n=null==t?void 0:t.reason)?n:"The operation was aborted.");return r.name="AbortError",r}(r));if(r&&r.aborted){n();return}let i=t.subscribe(e);return r.addEventListener("abort",n),()=>{r.removeEventListener("abort",n),i.unsubscribe()}}))):c}function t7(t,e,n){let r=t8(t,e,n).pipe((0,th.h)(t=>"response"===t.type),(0,td.U)(t=>t.body));return r}function et(t,e,n){let r=t.config(),i=tj(r),o="/".concat(e,"/").concat(i),a=n?"".concat(o,"/").concat(n):o;return"/data".concat(a).replace(/\/($|\?)/,"$1")}function ee(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{url:r,cdnUrl:i}=t.config();return"".concat(n?i:r,"/").concat(e.replace(/^\//,""))}let en=Boolean(globalThis.DOMException);var er=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ei=(t,e,n)=>(er(t,e,"read from private field"),n?n.call(t):e.get(t)),eo=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},ea=(t,e,n,r)=>(er(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);class es{constructor(t,e){eo(this,y,void 0),eo(this,v,void 0),ea(this,y,t),ea(this,v,e)}upload(t,e,n){return el(ei(this,y),ei(this,v),t,e,n)}}y=new WeakMap,v=new WeakMap;class eu{constructor(t,e){eo(this,b,void 0),eo(this,w,void 0),ea(this,b,t),ea(this,w,e)}upload(t,e,n){let r=el(ei(this,b),ei(this,w),t,e,n);return(0,tf.n)(r.pipe((0,th.h)(t=>"response"===t.type),(0,td.U)(t=>t.body.document)))}}function el(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};tS(n);let o=i.extract||void 0;o&&!o.length&&(o=["none"]);let a=tj(t.config()),s="undefined"!=typeof File&&r instanceof File?Object.assign({filename:!1===i.preserveFilename?void 0:r.name,contentType:r.type},i):i,{tag:u,label:l,title:c,description:f,creditLine:d,filename:h,source:p}=s,m={label:l,title:c,description:f,filename:h,meta:o,creditLine:d};return p&&(m.sourceId=p.id,m.sourceName=p.name,m.sourceUrl=p.url),t8(t,e,{tag:u,method:"POST",timeout:s.timeout||0,uri:"/assets/".concat("image"===n?"images":"files","/").concat(a),headers:s.contentType?{"Content-Type":s.contentType}:{},query:m,body:r})}function ec(t){return"https://www.sanity.io/help/"+t}b=new WeakMap,w=new WeakMap;let ef=t=>{var e;let n,r;return e=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return console.warn(t.join(" "),...n)},r=!1,function(){return r||(n=e(...arguments),r=!0),n}},ed=ef(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and","cheaper. Think about it! For more info, see ".concat(ec("js-client-cdn-configuration")," "),"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),eh=ef(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(ec("js-client-browser-token")," for more information and how to hide this warning.")]),ep=ef(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(ec("js-client-api-version"))]);ef(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead"]);let em={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0},eg=["localhost","127.0.0.1","0.0.0.0"],ey=t=>-1!==eg.indexOf(t),ev=function(t){if("1"===t||"X"===t)return;let e=new Date(t),n=/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0;if(!n)throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},eb=(t,e)=>{let n=Object.assign({},e,t);n.apiVersion||ep();let r=Object.assign({},em,n),i=r.useProjectHostname;if("undefined"==typeof Promise){let t=ec("js-client-promise-polyfill");throw Error("No native Promise-implementation found, polyfill needed - see ".concat(t))}if(i&&!r.projectId)throw Error("Configuration must contain `projectId`");let o="undefined"!=typeof window&&window.location&&window.location.hostname,a=o&&ey(window.location.hostname);o&&a&&r.token&&!0!==r.ignoreBrowserTokenWarning?eh():void 0===r.useCdn&&ed(),i&&tk(r.projectId),r.dataset&&tE(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?tO(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion="".concat(r.a
39piVersion).replace(/^v/,""),r.isDefaultApi=r.apiHost===em.apiHost,r.useCdn=Boolean(r.useCdn)&&!r.withCredentials,ev(r.apiVersion);let s=r.apiHost.split("://",2),u=s[0],l=s[1],c=r.isDefaultApi?"apicdn.sanity.io":l;return r.useProjectHostname?(r.url="".concat(u,"://").concat(r.projectId,".").concat(l,"/v").concat(r.apiVersion),r.cdnUrl="".concat(u,"://").concat(r.projectId,".").concat(c,"/v").concat(r.apiVersion)):(r.url="".concat(r.apiHost,"/v").concat(r.apiVersion),r.cdnUrl=r.url),r};var ew=(t,e)=>Object.keys(e).concat(Object.keys(t)).reduce((n,r)=>(n[r]=void 0===t[r]?e[r]:t[r],n),{});let ex=(t,e)=>e.reduce((e,n)=>(void 0===t[n]||(e[n]=t[n]),e),{}),eC=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],eE={includeResult:!0};function ek(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{url:i,token:o,withCredentials:a,requestTagPrefix:s}=this.config(),u=r.tag&&s?[s,r.tag].join("."):r.tag,l={...ew(r,eE),tag:u},c=ex(l,eC),f=tT({query:t,params:e,options:{tag:u,...c}}),d="".concat(i).concat(et(this,"listen",f));if(d.length>14800)return new tc.y(t=>t.error(Error("Query too large for listener")));let h=l.events?l.events:["mutation"],p=-1!==h.indexOf("reconnect"),m={};return(o||a)&&(m.withCredentials=!0),o&&(m.headers={Authorization:"Bearer ".concat(o)}),new tc.y(t=>{let e,r;c().then(t=>{e=t}).catch(e=>{t.error(e),g()});let i=!1;function o(){!i&&(p&&t.next({type:"reconnect"}),i||e.readyState!==e.CLOSED||(l(),clearTimeout(r),r=setTimeout(f,100)))}function a(e){t.error(function(t){if(t instanceof Error)return t;let e=eS(t);return e instanceof Error?e:Error(e.error?e.error.description?e.error.description:"string"==typeof e.error?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error")}(e))}function s(e){let n=eS(e);return n instanceof Error?t.error(n):t.next(n)}function u(){i=!0,l(),t.complete()}function l(){e&&(e.removeEventListener("error",o),e.removeEventListener("channelError",a),e.removeEventListener("disconnect",u),h.forEach(t=>e.removeEventListener(t,s)),e.close())}async function c(){let{default:t}=await n.e(8773).then(n.t.bind(n,38773,19)),e=new t(d,m);return e.addEventListener("error",o),e.addEventListener("channelError",a),e.addEventListener("disconnect",u),h.forEach(t=>e.addEventListener(t,s)),e}function f(){c().then(t=>{e=t}).catch(e=>{t.error(e),g()})}function g(){i=!0,l()}return g})}function eS(t){try{let e=t.data&&JSON.parse(t.data)||{};return Object.assign({type:t.type},e)}catch(t){return t}}var eR=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},e_=(t,e,n)=>(eR(t,e,"read from private field"),n?n.call(t):e.get(t)),eA=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},eM=(t,e,n,r)=>(eR(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);class ej{constructor(t,e){eA(this,x,void 0),eA(this,C,void 0),eM(this,x,t),eM(this,C,e)}create(t,e){return eT(e_(this,x),e_(this,C),"PUT",t,e)}edit(t,e){return eT(e_(this,x),e_(this,C),"PATCH",t,e)}delete(t){return eT(e_(this,x),e_(this,C),"DELETE",t)}list(){return t7(e_(this,x),e_(this,C),{uri:"/datasets"})}}x=new WeakMap,C=new WeakMap;class eO{constructor(t,e){eA(this,E,void 0),eA(this,k,void 0),eM(this,E,t),eM(this,k,e)}create(t,e){return(0,tf.n)(eT(e_(this,E),e_(this,k),"PUT",t,e))}edit(t,e){return(0,tf.n)(eT(e_(this,E),e_(this,k),"PATCH",t,e))}delete(t){return(0,tf.n)(eT(e_(this,E),e_(this,k),"DELETE",t))}list(){return(0,tf.n)(t7(e_(this,E),e_(this,k),{uri:"/datasets"}))}}function eT(t,e,n,r,i){return tE(r),t7(t,e,{method:n,uri:"/datasets/".concat(r),body:i})}E=new WeakMap,k=new WeakMap;var eP=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},eL=(t,e,n)=>(eP(t,e,"read from private field"),n?n.call(t):e.get(t)),eI=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},eD=(t,e,n,r)=>(eP(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);class eN{constructor(t,e){eI(this,S,void 0),eI(this,R,void 0),eD(this,S,t),eD(this,R,e)}list(){return t7(eL(this,S),eL(this,R),{uri:"/projects"})}getById(t){return t7(eL(this,S),eL(this,R),{uri:"/projects/".concat(t)})}}S=new WeakMap,R=new WeakMap;class eV{constructor(t,e){eI(this,_,void 0),eI(this,A,void 0),eD(this,_,t),eD(this,A,e)}list(){return(0,tf.n)(t7(eL(this,_),eL(this,A),{uri:"/projects"}))}getById(t){return(0,tf.n)(t7(eL(this,_),eL(this,A),{uri:"/projects/".concat(t)}))}}_=new WeakMap,A=new WeakMap;var eF=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},eB=(t,e,n)=>(eF(t,e,"read from private field"),n?n.call(t):e.get(t)),eH=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},eU=(t,e,n,r)=>(eF(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);class eZ{constructor(t,e){eH(this,M,void 0),eH(this,j,void 0),eU(this,M,t),eU(this,j,e)}getById(t){return t7(eB(this,M),eB(this,j),{uri:"/users/".concat(t)})}}M=new WeakMap,j=new WeakMap;class eW{constructor(t,e){eH(this,O,void 0),eH(this,T,void 0),eU(this,O,t),eU(this,T,e)}getById(t){return(0,tf.n)(t7(eB(this,O),eB(this,T),{uri:"/users/".concat(t)}))}}O=new WeakMap,T=new WeakMap;var ez=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},eG=(t,e,n)=>(ez(t,e,"read from private field"),n?n.call(t):e.get(t)),e$=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},eq=(t,e,n,r)=>(ez(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);let eY=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:em;e$(this,P,void 0),e$(this,L,void 0),this.listen=ek,this.config(e),eq(this,L,t),this.assets=new es(this,eG(this,L)),this.datasets=new ej(this,eG(this,L)),this.projects=new eN(this,eG(this,L)),this.users=new eZ(this,eG(this,L))}clone(){return new eY(eG(this,L),this.config())}config(t){if(void 0===t)return{...eG(this,P)};if(eG(this,P)&&!1===eG(this,P).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return eq(this,P,eb(t,eG(this,P)||{})),this}withConfig(t){return new eY(eG(this,L),{...this.config(),...t})}fetch(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return tQ(this,eG(this,L),t,e,n)}getDocument(t,e){return t1(this,eG(this,L),t,e)}
39getDocuments(t,e){return t0(this,eG(this,L),t,e)}create(t,e){return t9(this,eG(this,L),t,"create",e)}createIfNotExists(t,e){return t5(this,eG(this,L),t,e)}createOrReplace(t,e){return t2(this,eG(this,L),t,e)}delete(t,e){return t3(this,eG(this,L),t,e)}mutate(t,e){return t4(this,eG(this,L),t,e)}patch(t,e){return new tV(t,e,this)}transaction(t){return new t$(t,this)}request(t){return t7(this,eG(this,L),t)}getUrl(t,e){return ee(this,t,e)}getDataUrl(t,e){return et(this,t,e)}};P=new WeakMap,L=new WeakMap;let eX=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:em;e$(this,I,void 0),e$(this,D,void 0),this.listen=ek,this.config(e),eq(this,D,t),this.assets=new eu(this,eG(this,D)),this.datasets=new eO(this,eG(this,D)),this.projects=new eV(this,eG(this,D)),this.users=new eW(this,eG(this,D)),this.observable=new eY(t,e)}clone(){return new eX(eG(this,D),this.config())}config(t){if(void 0===t)return{...eG(this,I)};if(eG(this,I)&&!1===eG(this,I).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),eq(this,I,eb(t,eG(this,I)||{})),this}withConfig(t){return new eX(eG(this,D),{...this.config(),...t})}fetch(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,tf.n)(tQ(this,eG(this,D),t,e,n))}getDocument(t,e){return(0,tf.n)(t1(this,eG(this,D),t,e))}getDocuments(t,e){return(0,tf.n)(t0(this,eG(this,D),t,e))}create(t,e){return(0,tf.n)(t9(this,eG(this,D),t,"create",e))}createIfNotExists(t,e){return(0,tf.n)(t5(this,eG(this,D),t,e))}createOrReplace(t,e){return(0,tf.n)(t2(this,eG(this,D),t,e))}delete(t,e){return(0,tf.n)(t3(this,eG(this,D),t,e))}mutate(t,e){return(0,tf.n)(t4(this,eG(this,D),t,e))}patch(t,e){return new tF(t,e,this)}transaction(t){return new tG(t,this)}request(t){return(0,tf.n)(t7(this,eG(this,D),t))}dataRequest(t,e,n){return(0,tf.n)(t6(this,eG(this,D),t,e,n))}getUrl(t,e){return ee(this,t,e)}getDataUrl(t,e){return et(this,t,e)}};I=new WeakMap,D=new WeakMap;let eK=function(t){var e;let n=q([...t,tb,{processOptions:t=>{let e=t.body;if(!e)return t;let n="function"==typeof e.pipe,r=!n&&!K(e)&&(-1!==J.indexOf(typeof e)||Array.isArray(e)||(0,Y.P)(e));return r?Object.assign({},t,{body:JSON.stringify(t.body),headers:Object.assign({},t.headers,{"Content-Type":"application/json"})}):t}},{onResponse:t=>{let n=t.headers["content-type"]||"",r=e&&e.force||-1!==n.indexOf("application/json");return t.body&&n&&r?Object.assign({},t,{body:function(t){try{return JSON.parse(t)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}(t.body)}):t},processOptions:t=>Object.assign({},t,{headers:Object.assign({Accept:"application/json"},t.headers)})},{onRequest:t=>{if("xhr"!==t.adapter)return;let e=t.request,n=t.context;function r(t){return e=>{let r=e.lengthComputable?e.loaded/e.total*100:-1;n.channels.progress.publish({stage:t,percent:r,total:e.total,loaded:e.loaded,lengthComputable:e.lengthComputable})}}"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=r("upload")),"onprogress"in e&&(e.onprogress=r("download"))}},tv,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||Q.Observable;if(!e)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(t,n)=>new e(e=>(t.error.subscribe(t=>e.error(t)),t.progress.subscribe(t=>e.next(Object.assign({type:"progress"},t))),t.response.subscribe(t=>{e.next(Object.assign({type:"response"},t)),e.complete()}),t.request.publish(n),()=>t.abort.publish()))}}({implementation:tc.y})]);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return e({maxRedirects:0,...t})}return r.defaultRequester=n,r}([]);eK.defaultRequester;let eJ=t=>new eX(eK,t)},43747:function(t,e,n){"use strict";n.d(e,{$lS:function(){return ti},AEM:function(){return eX},Adg:function(){return eK},BHU:function(){return tV},BWR:function(){return el},CPA:function(){return ed},EI4:function(){return ef},GVG:function(){return eC},HFL:function(){return ep},IEm:function(){return G},KML:function(){return P},Kmg:function(){return F},Kz2:function(){return tG},L4p:function(){return ek},LZ3:function(){return h},NWY:function(){return eL},NvX:function(){return en},Oqj:function(){return t9},Ow9:function(){return tQ},Qq:function(){return tj},Que:function(){return M},ROc:function(){return tL},Rf5:function(){return tt},Rhe:function(){return eP},T39:function(){return H},TAM:function(){return td},TIy:function(){return J},Two:function(){return Z},Tzq:function(){return eQ},UEU:function(){return eJ},V13:function(){return ev},VVU:function(){return tb},W1M:function(){return ex},W5x:function(){return $},X5P:function(){return em},XBm:function(){return tH},XCv:function(){return D},XHJ:function(){return ez},Y4O:function(){return d},YE8:function(){return tx},_8t:function(){return tv},aI:function(){return x},agZ:function(){return s},bg6:function(){return w},bnu:function(){return eI},buG:function(){return tJ},cMY:function(){return eM},d$S:function(){return K},dNJ:function(){return z},dY8:function(){return tE},dtP:function(){return u},dwl:function(){return eT},foC:function(){return e6},fzI:function(){return eE},g8U:function(){return N},h32:function(){return tX},hQ6:function(){return tz},hsE:function(){return tT},iro:function(){return eR},j29:function(){return X},jtq:function(){return ei},kLh:function(){return t7}
39,kLv:function(){return t6},mY4:function(){return k},nSX:function(){return T},o1U:function(){return eu},oty:function(){return tY},oyc:function(){return e3},qtd:function(){return q},rG2:function(){return e5},reJ:function(){return eA},sLo:function(){return A},sTT:function(){return C},tgp:function(){return eH},uIy:function(){return tM},ugZ:function(){return tr},v4q:function(){return L},vaB:function(){return o},vaD:function(){return eg},veu:function(){return f},wyc:function(){return I},xEY:function(){return e0},xPt:function(){return t0},yEv:function(){return et},ySV:function(){return tq},zGg:function(){return tS}});var r=n(67294),i=n(85893);let o=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"access-denied",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M18.1569 6.84315C21.281 9.96734 21.281 15.0327 18.1569 18.1569C15.0327 21.281 9.96734 21.281 6.84314 18.1569C3.71895 15.0327 3.71895 9.96734 6.84314 6.84315C9.96734 3.71895 15.0327 3.71895 18.1569 6.84315ZM18.1569 6.84315L6.84401 18.156",stroke:"currentColor",strokeWidth:1.2})})}),a=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"activity",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2})})}),s=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"add-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),u=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"add",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2})})}),l=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"api",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})}),c=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"archive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M16 14L12.5 17.5L9 14M4.5 7.5V20.5H20.5V7.5L18.5 4.5H6.5L4.5 7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 10.5V17",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M4.5 7.5H20.5",stroke:"currentColor",strokeWidth:1.2})]})}),f=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 18.5V6M12.5 18.5L18 13M12.5 18.5L7 13",stroke:"currentColor",strokeWidth:1.2})})}),d=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12 18L6.5 12.5L12 7M6.5 12.5H19",stroke:"currentColor",strokeWidth:1.2})})}),h=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M13 7L18.5 12.5L13 18M18.5 12.5H6",stroke:"currentColor",strokeWidth:1.2})})}),p=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"arrow-top-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M9 8.5H16.5V16",
39stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2})]})}),m=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"arrow-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 6V18.5M7 11.5L12.5 6L18 11.5",stroke:"currentColor",strokeWidth:1.2})})}),g=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bar-chart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2})})}),y=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"basket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 10.5V19.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9.5 19.5L8.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M15.5 19.5L16.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M19.5 13.5H5.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M19 16.5H6",stroke:"currentColor",strokeWidth:1.2})]})}),v=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bell",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17C6.5 15.5 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 15.5 19.5 17V17.5H5.5V17Z",stroke:"currentColor",strokeWidth:1.2})})}),b=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bill",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16",stroke:"currentColor",strokeWidth:1.2})})}),w=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"binary-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M9.5 11.5V16.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5ZM12.5 11.5V16.5H15.5V11.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"}),(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5",stroke:"currentColor",strokeWidth:1.2})]})}),x=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"block-content",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.59999L11 7.59999V6.39999L21 6.39999V7.59999Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.59999H6.92377L4 15.6H5.29072L6.0371 13.4766H9.12362L9.86438 15.6ZM7.53546 9.05252H7.63086L8.80374 12.4344H6.35698L7.53546 9.05252Z",fill:"currentColor"})]})}),C=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"block-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6.5 8.5V7.9H5.9V8.5H6.5ZM18.5 8.5H19.1V7.9H18.5V8.5ZM6.5 16.5H5.9V17.1H6.5V16.5ZM18.5 16.5V17.1H19.1V16.5H18.5ZM6.5 9.1H18.5V7.9H6.5V9.1ZM7.1 16.5V8.5H5.9V16.5H7.1ZM18.5 15.9H6.5V17.1H18.5V15.9ZM17.9 8.5V16.5H19.1V8.5H17.9ZM5 20.1H20V18.9H5V20.1ZM5 6.1H20V4.9H5V6.1Z",fill:"currentColor"})})}),E=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"blockquote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2})})}),k=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bold",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.649
396 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z",fill:"currentColor"})})}),S=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"book",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 18.5L4.5 19.5V18.5M12.5 18.5L20.5 19.5V18.5M12.5 18.5V6.5M12.5 18.5H4.5M12.5 18.5H20.5M4.5 18.5V17.5M20.5 18.5V17.5M4.5 5.5V17.5L12.5 18.5L20.5 17.5V5.5L12.5 6.5L4.5 5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),R=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bottle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94771 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5",stroke:"currentColor",strokeWidth:1.2})})}),_=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"bulb-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M16.4272 14.3368L15.9388 13.9883L16.4272 14.3368ZM14 19.5V18.9H13.4V19.5H14ZM11 19.5H11.6V18.9H11V19.5ZM8.57284 14.3368L9.06122 13.9883H9.06122L8.57284 14.3368ZM16.1 17.212C16.1 16.3069 16.3868 15.4261 16.9155 14.6853L15.9388 13.9883C15.2678 14.9284 14.9 16.0519 14.9 17.212H16.1ZM16.1 18.5V17.212H14.9V18.5H16.1ZM14.5 20.1C15.3837 20.1 16.1 19.3837 16.1 18.5H14.9C14.9 18.7209 14.7209 18.9 14.5 18.9V20.1ZM14 20.1H14.5V18.9H14V20.1ZM13.4 19.5V20.5H14.6V19.5H13.4ZM13.4 20.5C13.4 20.7209 13.2209 20.9 13 20.9V22.1C13.8837 22.1 14.6 21.3837 14.6 20.5H13.4ZM13 20.9H12V22.1H13V20.9ZM12 20.9C11.7791 20.9 11.6 20.7209 11.6 20.5H10.4C10.4 21.3837 11.1163 22.1 12 22.1V20.9ZM11.6 20.5V19.5H10.4V20.5H11.6ZM10.5 20.1H11V18.9H10.5V20.1ZM8.9 18.5C8.9 19.3837 9.61634 20.1 10.5 20.1V18.9C10.2791 18.9 10.1 18.7209 10.1 18.5H8.9ZM8.9 17.212V18.5H10.1V17.212H8.9ZM8.08446 14.6853C8.61315 15.4261 8.9 16.3069 8.9 17.212H10.1C10.1 16.0519 9.73217 14.9284 9.06122 13.9883L8.08446 14.6853ZM6.4 10C6.4 11.0377 6.56208 11.8595 6.86624 12.611C7.16624 13.3521 7.59495 13.9995 8.08446 14.6853L9.06122 13.9883C8.58004 13.3
3914 8.22233 12.7629 7.97858 12.1607C7.739 11.5688 7.6 10.9023 7.6 10H6.4ZM12.5 3.9C9.16863 3.9 6.4 6.66863 6.4 10H7.6C7.6 7.33137 9.83137 5.1 12.5 5.1V3.9ZM18.6 10C18.6 6.66863 15.8314 3.9 12.5 3.9V5.1C15.1686 5.1 17.4 7.33137 17.4 10H18.6ZM16.9155 14.6853C17.4051 13.9995 17.8338 13.3521 18.1338 12.611C18.4379 11.8595 18.6 11.0377 18.6 10H17.4C17.4 10.9023 17.261 11.5688 17.0214 12.1607C16.7777 12.7629 16.42 13.314 15.9388 13.9883L16.9155 14.6853Z",fill:"currentColor"})]})}),A=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"bulb-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z",stroke:"currentColor",strokeWidth:1.2})})}),M=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"calendar",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M4.5 10.5V19.5H20.5V10.5M4.5 10.5V5.5H20.5V10.5M4.5 10.5H12.5H20.5M20.5 13.5H16.5M16.5 13.5H12.5M16.5 13.5V10.5M16.5 13.5V16.5M12.5 13.5H8.5M12.5 13.5V16.5M12.5 13.5V10.5M8.5 13.5H4.5M8.5 13.5V10.5M8.5 13.5V16.5M20.5 16.5H16.5M16.5 16.5H12.5M16.5 16.5V19.5M12.5 16.5H8.5M12.5 16.5V19.5M8.5 16.5H4.5M8.5 16.5V19.5M17.5 8V3M7.5 8V3",stroke:"currentColor",strokeWidth:1.2})})}),j=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"case",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12",stroke:"currentColor",strokeWidth:1.2})})}),O=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"chart-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2})})}),T=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"checkmark-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),P=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"checkmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2})})}),L=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17 10.5L12.5 15L8 10.5",stroke:"currentColor",strokeWidth:1.2})})}),I=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M14.5 17L10 12.5L14.5 8",stroke:"currentColor",strokeWidth:1.2})})}),D=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 8L15 12.5L10.5 17",stroke:"currentColor",strokeWidth:1.2})})}),N=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 14.5L12.5 10L17 14.5",stroke:"currentColor",strokeWidth:1.2})})}),V=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2})})}),F=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"clipboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2})})}),B=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"clipboard-image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2})})}),H=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"clock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),U=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"close-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),Z=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"close",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2})})}),W=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"code-block",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),z=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"code",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7.5 12.5L7.07574 12.0757L6.65147 12.5L7.07574 12.9243L7.5 12.5ZM17.5 12.5L17.9243 12.9243L18.3485 12.5L17.9243 12.0757L17.5 12.5ZM11.4243 15.5757L7.92426 12.0757L7.07574 12.9243L10.5757 16.4243L11.4243 15.5757ZM7.92426 12.9243L11.4243 9.42426L10.5757 8.57574L7.07574 12.0757L7.92426 12.9243ZM13.5757 9.42426L17.0757 12.9243L17.9243 12.0757L14.4243 8.57574L13.5757 9.42426ZM17.0757 12.0757L13.5757 15.5757L14.4243 16.4243L17.9243 12.9243L17.0757 12.0757Z",fill:"currentColor"})})}),G=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M14.2624 5.40607L13.8714 4.42848C13.6471 3.86771 13.104 3.5 12.5 3.5C11.896 3.5 11.3529 3.86771 11.1286 4.42848L10.7376 5.40607C10.5857 5.78585 10.2869 6.08826 9.90901 6.2448C9.53111 6.40133 9.10603 6.39874 8.73006 6.23761L7.76229 5.82285C7.20716 5.58494 6.56311 5.70897 6.13604 6.13604C5.70897 6.56311 5.58494 7.20716 5.82285 7.76229L6.23761 8.73006C6.39874 9.10602 6.40133 9.53111 6.2448 9.90901C6.08826 10.2869 5.78585 10.5857 5.40607 10.7376L4.42848 11.1286C3.86771 11.3529 3.5 11.896 3.5 12.5C3.5 13.104 3.86771 13.6471 4.42848 13.8714L5.40607 14.2624C5.78585 14.4143 6.08826 14.7131 6.2448 15.091C6.40133 15.4689 6.39874 15.894 6.23761 16.2699L5.82285 17.2377C5.58494 17.7928 5.70897 18.4369 6.13604 18.864C6.56311 19.291 7.20716 19.4151 7.76229 19.1772L8.73006 18.7624C9.10603 18.6013 9.53111 18.5987 9.90901 18.7552C10.2869 18.9117 10.5857 19.2141 10.7376 19.5939L11.1286 20.5715C11.3529 21.1323 11.896 21.5 12.5 21.5C13.104 21.5 13.6471 21.1323 13.8714 20.5715L14.2624 19.5939C14.4143 19.2141 14.7131 18.9117 15.091 18.7552C15.4689 18.5987 15.894 18.6013 16.2699 18.7624L17.2377 19.1771C17.7928 19.4151 18.4369 19.291 18.864 18.864C19.291 18.4369 19.4151 17.7928 19.1771 17.2377L18.7624 16.2699C18.6013 15.894 18.5987 15.4689 18.7552 15.091C18.911
397 14.7131 19.2141 14.4143 19.5939 14.2624L20.5715 13.8714C21.1323 13.6471 21.5 13.104 21.5 12.5C21.5 11.896 21.1323 11.3529 20.5715 11.1286L19.5939 10.7376C19.2141 10.5857 18.9117 10.2869 18.7552 9.90901C18.5987 9.53111 18.6013 9.10602 18.7624 8.73006L19.1772 7.76229C19.4151 7.20716 19.291 6.56311 18.864 6.13604C18.4369 5.70897 17.7928 5.58494 17.2377 5.82285L16.2699 6.23761C15.894 6.39874 15.4689 6.40133 15.091 6.2448C14.7131 6.08826 14.4143 5.78585 14.2624 5.40607Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 12.5C16.5 14.7091 14.7091 16.5 12.5 16.5C10.2909 16.5 8.5 14.7091 8.5 12.5C8.5 10.2909 10.2909 8.5 12.5 8.5C14.7091 8.5 16.5 10.2909 16.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),$=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"collapse",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M10.5 14.5L6 19",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2})]})}),q=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2})})}),Y=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"component",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z",stroke:"currentColor",strokeWidth:1.2})})}),X=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"compose",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z",stroke:"currentColor",strokeWidth:1.2})})}),K=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"controls",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20",stroke:"currentColor",strokeWidth:1.2})})}),J=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"copy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),Q=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"credit-card",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M4.5 10.5H20.5M4.5 9.5H20.5M4.5 11.5H20.5M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tt=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"crop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.5 4V16.5H21M4 8.5H16.5V21",stroke:"currentColor",strokeWidth:1.2})})}),te=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"dashboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tn=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"database",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.
390504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z",stroke:"currentColor",strokeWidth:1.2})})}),tr=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"desktop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M4.5 14.5V16.5C4.5 17.0523 4.94772 17.5 5.5 17.5H12.5M4.5 14.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V14.5M4.5 14.5H20.5M20.5 14.5V16.5C20.5 17.0523 20.0523 17.5 19.5 17.5H12.5M12.5 17.5V20.5M12.5 20.5H8M12.5 20.5H17",stroke:"currentColor",strokeWidth:1.2})})}),ti=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),to=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-pdf",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.7414 13.14L12.749 13.1046C12.896 12.4991 13.0809 11.7442 12.9365 11.0602C12.8402 10.5206 12.4425 10.3104 12.1031 10.2952C11.7028 10.2775 11.3456 10.5054 11.2569 10.8373C11.0897 11.4453 11.2392 12.2762 11.5128 13.3351C11.1683 14.1559 10.6186 15.3491 10.2158 16.0584C9.46592 16.446 8.46022 17.0438 8.31075 17.7987C8.28036 17.9381 8.31582 18.1154 8.39942 18.275C8.49315 18.4523 8.64261 18.5891 8.81741 18.655C8.89341 18.6828 8.9846 18.7056 9.091 18.7056C9.53686 18.7056 10.2588 18.3459 11.2215 16.6942C11.3684 16.6461 11.5204 16.5954 11.6673 16.5448C12.3564 16.3117 13.0708 16.0685 13.7167 15.9596C14.4311 16.3421 15.2443 16.5878 15.7966 16.5878C16.3437 16.5878 16.5591 16.2636 16.6401 16.0685C16.782 15.7265 16.7136 15.2959 16.4831 15.0653C16.1487 14.736 15.3355 14.6499 14.0689 14.8069C13.4457 14.4269 13.0378 13.9102 12.7414 13.14ZM9.96245 16.9881C9.61032 17.4998 9.34433 17.7557 9.19993 17.8671C9.36966 17.5555 9.70152 17.2262 9.96245 16.9881ZM12.1816 11.0222C12.3133 11.2477 12.2956 11.9291 12.1943 12.2737C12.0701 11.7695 12.0524 11.0552 12.1259 10.9716L12.1816 11.0222ZM12.1411 14.0748C12.4121 14.5435 12.7541 14.9463 13.1316 15.2452C12.5844 15.3693 12.0853 15.5745 11.6395 15.7569C11.5331 15.8 11.4292 15.843 11.3279 15.8836C11.6648 15.2731 11.946 14.5815 12.1411 14.0748ZM16.0828 15.7341L16.0676 15.7569C16.0676 15.7569 15.8346 15.8988 14.9403 15.5466C15.9688 15.4985 16.0828 15.7341 16.0828 15.7341Z",fill:"currentColor"})]})}),ta=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"document-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2515 3.9H10.5H18.5H19.1V4.5V11.9H17.9V5.1H11.1V8.5V9.1H10.5H7.09999V11.9H5.89999V8.5V8.25147L6.07573 8.07574L10.0757 4.07574L10.2515 3.9ZM17.9 19.9V14.1H19.1V20.5V21.1H18.5H6.49999H5.89999V20.5V14.1H7.09999V19.9H17.9ZM7.94852 7.9H9.89999V5.94853L7.94852 7.9ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}),ts=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-sheet",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:10.4,y1:19,x2:10.4,y2:10,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:14.4,y1:19,x2:14.4,y2:10,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:8,y1:12.4,x2:17,y2:12.4,stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("line",{x1:8,y1:16.4,x2:17,y2:16.4,stroke:"currentColor",strokeWidth:1.2})]})}),tu=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5
39H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 12H12.5H9",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 15H12.5H9",stroke:"currentColor",strokeWidth:1.2})]})}),tl=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M11.5 15.5V12.5L14 14L11.5 15.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})]})}),tc=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-word",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z",fill:"currentColor"})]})}),tf=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"document-zip",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M10.5 4.5V8.5H6.5M10.5 4.5H18.5V20.5H6.5V8.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13",stroke:"currentColor",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2})]})}),td=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"documents",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M16.5 6.5H19.5V21.5H8.5V18.5M10 3.5V8H5.5M10 3.5H16.5V18.5H5.5V8L10 3.5Z",stroke:"currentColor",strokeWidth:1.2})})}),th=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"dot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("circle",{cx:12.5,cy:12.5,r:1.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),tp=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17 8.5L12.5 13L8 8.5M17 12.5L12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2})})}),tm=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M16.5 17L12 12.5L16.5 8",stroke:"currentColor",strokeWidth:1.2})})}),tg=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M8.5 8L13 12.5L8.5 17",stroke:"currentColor",strokeWidth:1.2})})}),ty=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"double-chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 16.5L12.5 12L17 16.5",stroke:"currentColor",strokeWidth:1.2})})}),tv=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"download",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M19.5 17V19.5H5.5V17M17.5 11L12.5 16L7.5 11M12.5 16V4.99998",stroke:"currentColor",strokeWidth:1.2})})}),tb=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"drag-handle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8ZM9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14ZM11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5ZM15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8ZM17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5ZM15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z",fill:"currentColor"})})}),tw=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"drop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M18.5 14.5C18.5 18
3916 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tx=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"earth-americas",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9 19.4303V16.7515L11.5203 15.1312L8.60296 13.4642L7.6 12.2105V13L6.4382 13.2107L5.3943 10.4269C5.20272 11.0847 5.1 11.7804 5.1 12.5C5.1 15.672 7.09572 18.3778 9.9 19.4303ZM15.6 5.77866V11.4485L13.7515 9.6H11.3L10.2922 10.9437L10.7485 11.4H12.6V12.8183L13.3211 13.9H15.7172L18.7651 16.4399C19.484 15.2991 19.9 13.9481 19.9 12.5C19.9 9.52001 18.1385 6.95143 15.6 5.77866ZM15.6 4.47567C18.8178 5.71962 21.1 8.84329 21.1 12.5C21.1 17.2497 17.2496 21.1 12.5 21.1C7.75035 21.1 3.9 17.2497 3.9 12.5C3.9 7.75035 7.75035 3.9 12.5 3.9C13.5164 3.9 14.4915 4.07631 15.3966 4.4H15.6V4.47567Z",fill:"currentColor"})})}),tC=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"earth-globe",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 16.5H19.5M5.5 8.5H19.5M4.5 12.5H20.5M12.5 20.5C12.5 20.5 8 18.5 8 12.5C8 6.5 12.5 4.5 12.5 4.5M12.5 4.5C12.5 4.5 17 6.5 17 12.5C17 18.5 12.5 20.5 12.5 20.5M12.5 4.5V20.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tE=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"edit",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2})})}),tk=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"ellipsis-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z",fill:"currentColor"})]})}),tS=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"ellipsis-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5ZM14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5ZM12.5 20C13.3284 20 14 19.3284 14 18.5C14 17.6716 13.3284 17 12.5 17C11.6716 17 11 17.6716 11 18.5C11 19.3284 11.6716 20 12.5 20Z",fill:"currentColor"})})}),tR=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"envelope",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5",stroke:"currentColor",strokeWidth:1.2})]})}),t_=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"equal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M7.5 4.5H3.5V20.5H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),tA=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"error-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z",fill:"currentColor"})})}),tM=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"error-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tj=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"expand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2})]})}),tO=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"eye-closed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5",stroke:"currentColor",strokeWidth:1.2})})}),tT=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"eye-open",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.20513 12.5C6.66296 14.7936 8.9567 16.9 12.5 16.9C16.0433 16.9 18.3371 14.7936 19.7949 12.5C18.3371 10.2064 16.0433 8.1 12.5 8.1C8.9567 8.1 6.66296 10.2064 5.20513 12.5ZM3.98551 12.1913C5.53974 9.60093 8.20179 6.9 12.5 6.9C16.7982 6.9 19.4603 9.60093 21.0145 12.1913L21.1997 12.5L21.0145 12.8087C19.4603 15.399
391 16.7982 18.1 12.5 18.1C8.20179 18.1 5.53974 15.3991 3.98551 12.8087L3.80029 12.5L3.98551 12.1913ZM12.5 9.4C10.7879 9.4 9.4 10.7879 9.4 12.5C9.4 14.2121 10.7879 15.6 12.5 15.6C14.2121 15.6 15.6 14.2121 15.6 12.5C15.6 10.7879 14.2121 9.4 12.5 9.4Z",fill:"currentColor"})})}),tP=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"filter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),tL=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"folder",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2})})}),tI=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"generate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2})]})}),tD=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"heart-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),tN=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"heart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",stroke:"currentColor",strokeWidth:1.2})})}),tV=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"help-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tF=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"home",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6.5 8.75V18.5H18.5V8.75M4.5 10L12.5 5L20.5 10M14.5 18.5V11.5H10.5V18.5",stroke:"currentColor",strokeWidth:1.2})})}),tB=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"ice-cream",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tH=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tU=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"image-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.9 5.9H5.5H19.5H20.1V6.5V11.4H18.9V7.1H6.1V11.4H4.9V6.5V5.9ZM18.9 13.7315V13.6H20.1V18.5V19.1H19.5H5.5H4.9V18.5V13.6H7.74853L6.1 15.2485V17.9H18.9V14.9685L15.8162 14.1975C15.6994 14.1683 15.5756 14.1933 15.4792 14.2656L14.5538 14.9596C13.9168 15.4374 13.0255 15.374 12.4625 14.811L11.2515 13.6H12.9485L13.311 13.9625C13.4518 14.1032 13.6746 14.1191 13.8338 13.9996L14.3667 13.6H18.3739L18.9 13.7315ZM12.9 10C12.9 10.6024 13.2329 11.1271 13.7248 11.4H15.2752C15.7671 11.1271 16.1 10.6024 16.1 10C16.1 9.11635 15.3837 8.4 14.5 8.4C13.6163 8.4 12.9 9.11635 12.9 10ZM8.25147 11.4H10.7485L10.6314 11.2828C10.0065 10.658 8.99347 10.658 8.36863 11.2828L8.25147 11.4ZM14.1 10C14.1 9.77909 14.2791 9.6 14.5 9.6C14.7209 9.6 14.9 9.77909 14.9 10C14.9 10.2209 14.7209 10.4 14.5 10.4C14.2791 10.4 14.1 10.2209 14.1 10ZM2 13.1H23V11.9H2V13.1Z",fill:"currentColor"})})}),tZ=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"images",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tW=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"info-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z",fill:"currentColor"})})}),tz=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"info-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tG=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"inl
39ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M16.5 6.5H17.1V5.9H16.5V6.5ZM8.5 6.5V5.9H7.9V6.5H8.5ZM16.5 18.5V19.1H17.1V18.5H16.5ZM8.5 18.5H7.9V19.1H8.5V18.5ZM16.5 5.9H8.5V7.1H16.5V5.9ZM17.1 18.5V6.5H15.9V18.5H17.1ZM8.5 19.1H16.5V17.9H8.5V19.1ZM7.9 6.5V18.5H9.1V6.5H7.9ZM4.9 5V20H6.1V5H4.9ZM18.9 5V20H20.1V5H18.9Z",fill:"currentColor"})})}),t$=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"inline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2})})}),tq=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"insert-above",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.50001M18.5 5.50001L6.5 5.50001M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),tY=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"insert-below",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square"})})}),tX=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"italic",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29848C13.8022 8.29848 14.2095 7.89111 14.2095 7.39321C14.2095 6.89531 13.8022 6.48794 13.3043 6.48794C12.8064 6.48794 12.399 6.89531 12.399 7.39321C12.399 7.89111 12.8064 8.29848 13.3043 8.29848Z",fill:"currentColor"})})}),tK=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"joystick",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2})})}),tJ=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"launch",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M14 6.5H5.5V19.5H18.5V11M20.5 4.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 4.5H20.5V9",stroke:"currentColor",strokeWidth:1.2})]})}),tQ=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"leave",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M16.5 15V19.5H5.5V5.5H16.5V10M10 12.5H22.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20 10L22.5 12.5L20 15",stroke:"currentColor",strokeWidth:1.2})]})}),t1=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"lemon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379
3912.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2})})}),t0=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"link",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.7811 14.719 14.7811 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.50001C17.2189 6.71896 15.781 6.71896 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.7811 6.5 14L9.50001 11C10.2811 10.219 11.719 10.219 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2})})}),t5=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"link-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.4243 7.07574C17.9038 6.55531 17.1875 6.31422 16.5 6.31422C15.8125 6.31422 15.0962 6.55531 14.5757 7.07574L12.5757 9.07574L13.4243 9.92427L15.4243 7.92427C15.6849 7.66365 16.078 7.51422 16.5 7.51422C16.922 7.51422 17.3151 7.66365 17.5757 7.92427L17.9983 7.50165L17.5757 7.92427L18.0757 8.42427C18.3363 8.68488 18.4858 9.07799 18.4858 9.5C18.4858 9.92201 18.3363 10.3151 18.0757 10.5757L16.7515 11.9H18.4485L18.9243 11.4243C19.4447 10.9038 19.6858 10.1875 19.6858 9.5C19.6858 8.81253 19.4447 8.09617 18.9243 7.57574L18.5 8L18.9243 7.57574L18.4243 7.07574ZM12.0757 11.4243L12.5515 11.9H14.2485L12.9243 10.5757C12.4038 10.0553 11.6875 9.81421 11 9.81421C10.3125 9.81421 9.59617 10.0553 9.07574 10.5757L7.75147 11.9H9.44853L9.92427 11.4243C10.1849 11.1636 10.578 11.0142 11 11.0142C11.422 11.0142 11.8151 11.1636 12.0757 11.4243ZM7.24853 14.1H5.67654C5.43071 14.5303 5.31421 15.0221 5.31421 15.5C5.31421 16.1875 5.55529 16.9038 6.07573 17.4243L6.4965 17.0035L6.07573 17.4243L6.57573 17.9243C7.09616 18.4447 7.81252 18.6858 8.49999 18.6858C9.18746 18.6858 9.90382 18.4447 10.4243 17.9243L12.4243 15.9243L11.5757 15.0757L9.57573 17.0757C9.31511 17.3363 8.922 17.4858 8.49999 17.4858C8.07798 17.4858 7.68487 17.3363 7.42426 17.0757L6.99999 17.5L7.42425 17.0757L6.92426 16.5757C6.66364 16.3151 6.51421 15.922 6.51421 15.5C6.51421 15.078 6.66365 14.6849 6.92426 14.4243L7.24853 14.1ZM16.2485 14.1H11.7515L12.0757 14.4243C12.5962 14.9447 13.3125 15.1858 14 15.1858C14.6875 15.1858 15.4038 14.9447 15.9243 14.4243L16.2485 14.1ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}
39),t2=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"lock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t3=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"logo-js",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),t4=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"logo-ts",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),t6=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"master-detail",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6 8.5H9M10.5 5.5V19.5M6 11.5H9M13 8.5H18M6 14.5H9M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),t9=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"menu",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M6 8.1H19V6.9H6V8.1ZM6 18.1H19V16.9H6V18.1ZM6 13.1H19V11.9H6V13.1Z",fill:"currentColor"})})}),t8=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"mobile-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.1 6.5C8.1 5.7268 8.7268 5.1 9.5 5.1V3.9C8.06406 3.9 6.9 5.06406 6.9 6.5H8.1ZM8.1 18.5V6.5H6.9V18.5H8.1ZM9.5 19.9C8.7268 19.9 8.1 19.2732 8.1 18.5H6.9C6.9 19.9359 8.06406 21.1 9.5 21.1V19.9ZM15.5 19.9H9.5V21.1H15.5V19.9ZM16.9 18.5C16.9 19.2732 16.2732 19.9 15.5 19.9V21.1C16.9359 21.1 18.1 19.9359 18.1 18.5H16.9ZM16.9 6.5V18.5H18.1V6.5H16.9ZM15.5 5.1C16.2732 5.1 16.9 5.7268 16.9 6.5H18.1C18.1 5.06406 16.9359 3.9 15.5 3.9V5.1ZM9.5 5.1H15.5V3.9H9.5V5.1ZM12.9 17.5C12.9 17.7209 12.7209 17.9 12.5 17.9V19.1C13.3837 19.1 14.1 18.3837 14.1 17.5H12.9ZM12.5 17.1C12.7209 17.1 12.9 17.2791 12.9 17.5H14.1C14.1 16.6163 13.3837 15.9 12.5 15.9V17.1ZM12.1 17.5C12.1 17.2791 12.2791 17.1 12.5 17.1V15.9C11.6163 15.9 10.9 16.6163 10.9 17.5H12.1ZM12.5 17.9C12.2791 17.9 12.1 17.7209 12.1 17.5H10.9C10.9 18.3837 11.6163 19.1 12.5 19.1V17.9Z",fill:"currentColor"})})}),t7=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"moon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z",stroke:"currentColor",strokeWidth:1.2})})}),et=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"number",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M7.09808 13.3967V7.50803H5.74066L3.83636 8.78244V10.091L5.65277 8.88498H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M9.81781 9.63205V9.66135H11.1069V9.62717C11.1069 8.95334 11.5756 8.49435 12.2739 8.49435C12.9575 8.49435 13.4018 8.89474 13.4018 9.5051C13.4018 9.97873 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9856C14.3491 10.843 14.7543 10.1838 14.7543 9.41232C14.7543 8.19162 13.7729 7.36642 12.3178 7.36642C10.8383 7.36642 9.81781 8.28439 9.81781 9.63205Z",fill:"currentColor"}
39),(0,i.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8684 19.8422 12.4983C19.8422 13.1184 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.677 20.9457 10.0666 20.9457 9.23654C20.9457 8.12326 19.9741 7.36642 18.5434 7.36642C17.0541 7.36642 16.1118 8.17697 16.0629 9.50021H17.2983C17.3422 8.8801 17.8061 8.48459 18.4995 8.48459C19.2075 8.48459 19.6567 8.85568 19.6567 9.44162C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})}),ee=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"ok-hand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.9957 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13",stroke:"currentColor",strokeWidth:1.2})})}),en=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"olist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7.5 18.5V19H8.30902L7.94721 18.2764L7.5 18.5ZM7.5 16.5L7.94721 16.7236L8.30902 16H7.5V16.5ZM7 17.5L6.55279 17.2764L6.44098 17.5L6.55279 17.7236L7 17.5ZM6.5 6.5H7V6H6.5V6.5ZM6 13.5L5.55279 13.2764L5.19098 14H6V13.5ZM7 11.5L7.44721 11.7236L7.80902 11H7V11.5ZM10 8H19V7H10V8ZM10 13H19V12H10V13ZM10 18H19V17H10V18ZM5 19H7.5V18H5V19ZM7.5 16H5V17H7.5V16ZM7.94721 18.2764L7.44721 17.2764L6.55279 17.7236L7.05279 18.7236L7.94721 18.2764ZM7.44721 17.7236L7.94721 16.7236L7.05279 16.2764L6.55279 17.2764L7.44721 17.7236ZM5 7H6.5V6H5V7ZM5 9H6.5V8H5V9ZM6.5 9H8V8H6.5V9ZM6 6.5V8.5H7V6.5H6ZM8 13H6V14H8V13ZM6.44721 13.7236L7.44721 11.7236L6.55279 11.2764L5.55279 13.2764L6.44721 13.7236ZM7 11H5V12H7V11Z",fill:"currentColor"})})}),er=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"overage",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 5.9H18.5H19.1V6.5V11H17.9V7.94853L12.8485 13H11.1515L17.0515 7.1H14V5.9ZM10.2515 13.9H11.9485H22V15.1L12.95 15.1H7.95L3 15.1V13.9H10.2515ZM8.15148 16L6.07574 18.0757L6.92426 18.9243L9.84853 16H8.15148Z",fill:"currentColor"})})}),ei=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"package",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2})})}),eo=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"pause",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 7.5H8.5V17.5H10.5V7.5ZM16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M8.5 7.5V6.9H7.9V7.5H8.5ZM10.5 7.5H11.1V6.9H10.5V7.5ZM8.5 17.5H7.9V18.1H8.5V17.5ZM10.5 17.5V18.1H11.1V17.5H10.5ZM14.5 7.5V6.9H13.9V7.5H14.5ZM16.5 7.5H17.1V6.9H16.5V7.5ZM14.5 17.5H13.9V18.1H14.5V17.5ZM16.5 17.5V18.1H17.1V17.5H16.5ZM8.5 8.1H10.5V6.9H8.5V8.1ZM9.1 17.5V7.5H7.9V17.5H9.1ZM10.5 16.9H8.5V18.1H10.5V16.9ZM9.9 7.5V17.5H11.1V7.5H9.9ZM14.5 8.1H16.5V6.9H14.5V8.1ZM15.1 17.5V7.5H13.9V17.5H15.1ZM16.5 16.9H14.5V18.1H16.5V16.9ZM15.9 7.5V17.5H17.1V7.5H15.9Z",fill:"currentColor"})]})}),ea=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"pin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),es=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"pin-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0757 20.9243L12.5 21.3485L12.9243 20.9243C14.4315 19.417 15.9655 17.7584 17.1242 16.0203C17.5402 15.3963 17.9127 14.7549 18.2192 14.1H16.8785C16.6575 14.5172 16.4051 14.9356 16.1258 15.3547C15.1381 16.8362 13.8436 18.2803 12.5 19.6478C11.1564 18.2803 9.86189 16.8362 8.87423 15.3547C8.59486 14.9356 8.34249 14.5172 8.12154 14.1H6.78084C7.08725 14.7549 7.45976 15.3963 7.87577 16.0203C9.03448 17.7584 10.5685 19.417 12.0757 20.9243ZM19.1 10.5C19.1 10.9701 19.0508 11.4372 18.9594 11.9H17.732C17.8418 11.4297 17.9 10.9627 17.9 10.5C17.9 7.33137 15.6686 5.1 12.5 5.1C9.33137 5.1 7.1 7.33137 7.1 10.5C7.1 10.9627 7.15822 11.4297 7.26799 11.9H6.04056C5.94923 11.4372 5.9 10.9701 5.9 10.5C5.9 6.66863 8.66863 3.9 12.5 3.9C16.3314 3.9 19.1 6.66863 19.1 10.5ZM14.6 10.5C14.6 11.0379 14.3978 11.5285 14.0653 11.9H10.9347C10.6022 11.5285 10.4 11.0379 10.4 10.5C10.4 9.3402 11.3402 8.4 12.5 8.4C13.6598 8.4 14.6 9.3402 14.6 10.5ZM11.6 10.5C11.6 10.0029 12.0029 9.6 12.5 9.6C12.9971 9.6 13.4 10.0029 13.4 10.5C13.4 10.9971 12.9971 11.4 12.5 11.4C12.0029 11.4 11.6 10.9971 11.6 10.5ZM2 13.6H23V12.4H2V13.6Z",fill:"currentColor"})})}),eu=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"play",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),el=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"plug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z",stroke:"currentColor",strokeWidth:1.2})})}),ec=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"presentation",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ef=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"publish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M4.99997 5.50005H20M7.5 14L12.5 9.00003L17.5 14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M12.5 9.00003V20",stroke:"currentColor",strokeWidth:1.2})]})}),ed=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"read-only",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2})})}),eh=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"remove-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ep=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2})})}),em=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"reset",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M4.56189 13.5L4.14285 13.9294L4.5724 14.3486L4.99144 13.9189L4.56189 13.5ZM9.92427 15.9243L15.9243 9.92427L15.0757 9.07574L9.07574 15.0757L9.92427 15.9243ZM9.07574 9.92426L15.0757 15.9243L15.9243 15.0757L9.92426 9.07574L9.07574 9.92426ZM19.9 12.5C19.9 16.5869 16.5869 19.9 12.5 19.9V21.1C17.2496 21.1 21.1 17.2496 21.1 12.5H19.9ZM5.1 12.5C5.1 8.41309 8.41309 5.1 12.5 5.1V3.9C7.75035 3.9 3.9 7.75035 3.9 12.5H5.1ZM12.5 5.1C16.5869 5.1 19.9 8.41309 19.9 12.5H21.1C21.1 7.75035 17.2496 3.9 12.5 3.9V5.1ZM5.15728 13.4258C5.1195 13.1227 5.1 12.8138 5.1 12.5H3.9C3.9 12.8635 3.92259 13.2221 3.9665 13.5742L5.15728 13.4258ZM12.5 19.9C9.9571 19.9 7.71347 18.6179 6.38048 16.6621L5.38888 17.3379C6.93584 19.6076 9.54355 21.1 12.5 21.1V19.9ZM4.99144 13.9189L7.42955 11.4189L6.57045 10.5811L4.13235 13.0811L4.99144 13.9189ZM4.98094 13.0706L2.41905 10.5706L1.58095 11.4294L4.14285 13.9294L4.98094 13.0706Z",fill:"currentColor"})})}),eg=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"restore",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
39183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2})]})}),ey=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"retrieve",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M12.5 10.5L12.5 17.5M4.5 7.5V20.5H20.5V7.5L18.5 4.5H6.5L4.5 7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 14L12.5 10.5L16 14",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M4.5 7.5H20.5",stroke:"currentColor",strokeWidth:1.2})]})}),ev=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"revert",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M5 9L14.5 9C16.9853 9 19 11.0147 19 13.5C19 15.9853 16.9853 18 14.5 18H5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M9 13L5 9L9 5",stroke:"currentColor",strokeWidth:1.2})]})}),eb=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"robot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ew=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"rocket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.5L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.90001 12.5 7.50001C15.5 4.50001 20.5 4.50001 20.5 4.50001C20.5 4.50001 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 10C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 10C13.5 9.17157 14.1716 8.5 15 8.5C15.8284 8.5 16.5 9.17157 16.5 10Z",stroke:"currentColor",strokeWidth:1.2})})}),ex=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"search",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M14.0355 14.0355L20 20M15.5 10.5C15.5 13.2614 13.2614 15.5 10.5 15.5C7.73858 15.5 5.5 13.2614 5.5 10.5C5.5 7.73858 7.73858 5.5 10.5 5.5C13.2614 5.5 15.5 7.73858 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eC=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"select",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M16.5 15.5L12.5 19.5L8.5 15.5M8.5 9.5L12.5 5.5L16.5 9.5",stroke:"currentColor",strokeWidth:1.2})})}),eE=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"sort",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10",stroke:"currentColor",strokeWidth:1.2})})}),ek=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9
39183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2})})}),eS=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"split-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10",stroke:"currentColor",strokeWidth:1.2})})}),eR=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"split-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e_=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"square",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2})})}),eA=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"stack-compact",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5",stroke:"currentColor",strokeWidth:1.2})})}),eM=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"stack",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ej=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"star",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M13 4L15.2747 9.8691L21.5595 10.2188L16.6806 14.1959L18.2901 20.2812L13 16.87L7.70993 20.2812L9.31941 14.1959L4.44049 10.2188L10.7253 9.8691L13 4Z",stroke:"currentColor",strokeWidth:1.2})})}),eO=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"stop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),eT=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"strikethrough",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5656 7.73438C11.0656 7.73438 10.0734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438ZM12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656ZM7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})})}),eP=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"string",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279
3915.637 16.4609 15.637Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}),eL=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"sun",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eI=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"sync",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811",stroke:"currentColor",strokeWidth:1.2})]})}),eD=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"tag",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),eN=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"terminal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eV=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"th-large",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H20.5M12.5 12.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eF=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"th-list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H20.5M9.5 10.5H4.5M9.5 14.5V18.5M9.5 14.5H20.5M9.5 14.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eB=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"tiers",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 8.5L12.5 12.5L4.5 8.5L12.5 4.5L20.5 8.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),eH=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"toggle-arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10 16.5V8.5L16 12.5L10 16.5Z",fill:"currentColor"})})}),eU=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"token",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eZ=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"transfer",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2})]})}),eW=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"translate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.37
3973 15.9Z",fill:"currentColor"})})}),ez=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"trash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eG=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"trend-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),e$=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"triangle-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eq=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"trolley",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6",stroke:"currentColor",strokeWidth:1.2})})}),eY=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"truncate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5",stroke:"currentColor",strokeWidth:1.2})})}),eX=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"ulist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19M7.10153 17.5001C7.10153 17.8323 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8323 5.89847 17.5001C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5001ZM7.10153 7.5C7.10153 7.83221 6.83221 8.10153 6.5 8.10153C6.16778 8.10153 5.89847 7.83221 5.89847 7.5C5.89847 7.16778 6.16778 6.89847 6.5 6.89847C6.83221 6.89847 7.10153 7.16778 7.10153 7.5ZM7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8985 6.5 11.8985C6.83221 11.8985 7.10153 12.1678 7.10153 12.5Z",stroke:"currentColor",strokeWidth:1.2})})}),eK=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"underline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.17 7.11409H9.52791V14.1677C9.52791 15.8123 10.6067 17.0042 12.4927 17.0042C14.3787 17.0042 15.4574 15.8123 15.4574 14.1677V7.11409H16.8154V14.2582C16.8154 16.5817 15.1934 18.2565 12.4927 18.2565C9.79195 18.2565 8.17 16.5817 8.17 14.2582V7.11409ZM7 21.1H18V19.9H7V21.1Z",fill:"currentColor"})})}),eJ=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"undo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2})]})}),eQ=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"unknown",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e1=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"unlock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M3.5 11.5V8.5C3.5 6.5 5 5.5 6.5 5.5C8 5.5 9.5 6.5 9.5 8.5V11.5",stroke:"currentColor",strokeWidth:1.2})]})}),e0=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"unpublish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M5 19.5H20M12.5 16V4.99998",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2})]})}),e5=(0,r.forwardRef)(function(t,e){return(0,i.jsxs)("svg",{"data-sanity-icon":"upload",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:[(0,i.jsx)("path",{d:"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,i.jsx)("path",{d:"M7.5 11L12.5 6.00003L17.5 11",stroke:"currentColor",strokeWidth:1.2})]})}),e2=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e3=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"users",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M17.5 18.5H2
391.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z",stroke:"currentColor",strokeWidth:1.2})})}),e4=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"warning-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7728 5.35558C13.7822 3.57248 11.2178 3.57247 10.2272 5.35558L3.62622 17.2373C2.66345 18.9703 3.91657 21.1 5.89903 21.1H19.101C21.0834 21.1 22.3365 18.9703 21.3738 17.2373L14.7728 5.35558ZM13 16V17.5H12V16H13ZM12 10.4999V14.5H13V10.4999H12Z",fill:"currentColor"})})}),e6=(0,r.forwardRef)(function(t,e){return(0,i.jsx)("svg",{"data-sanity-icon":"warning-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...t,children:(0,i.jsx)("path",{d:"M12.5 10V14M12.5 17V15.5M14.2483 5.64697L20.8493 17.5287C21.5899 18.8618 20.6259 20.5 19.101 20.5H5.89903C4.37406 20.5 3.41013 18.8618 4.15072 17.5287L10.7517 5.64697C11.5137 4.27535 13.4863 4.27535 14.2483 5.64697Z",stroke:"currentColor",strokeWidth:1.2})})}),e9={"access-denied":o,activity:a,"add-circle":s,add:u,api:l,archive:c,"arrow-down":f,"arrow-left":d,"arrow-right":h,"arrow-top-right":p,"arrow-up":m,"bar-chart":g,basket:y,bell:v,bill:b,"binary-document":w,"block-content":x,"block-element":C,blockquote:E,bold:k,book:S,bottle:R,"bulb-filled":_,"bulb-outline":A,calendar:M,case:j,"chart-upward":O,"checkmark-circle":T,checkmark:P,"chevron-down":L,"chevron-left":I,"chevron-right":D,"chevron-up":N,circle:V,clipboard:F,"clipboard-image":B,clock:H,"close-circle":U,close:Z,"code-block":W,code:z,cog:G,collapse:$,comment:q,component:Y,compose:X,controls:K,copy:J,"credit-card":Q,crop:tt,dashboard:te,database:tn,desktop:tr,document:ti,"document-pdf":to,"document-remove":ta,"document-sheet":ts,"document-text":tu,"document-video":tl,"document-word":tc,"document-zip":tf,documents:td,dot:th,"double-chevron-down":tp,"double-chevron-left":tm,"double-chevron-right":tg,"double-chevron-up":ty,download:tv,"drag-handle":tb,drop:tw,"earth-americas":tx,"earth-globe":tC,edit:tE,"ellipsis-horizontal":tk,"ellipsis-vertical":tS,envelope:tR,equal:t_,"error-filled":tA,"error-outline":tM,expand:tj,"eye-closed":tO,"eye-open":tT,filter:tP,folder:tL,generate:tI,"heart-filled":tD,heart:tN,"help-circle":tV,home:tF,"ice-cream":tB,image:tH,"image-remove":tU,images:tZ,"info-filled":tW,"info-outline":tz,"inline-element":tG,inline:t$,"insert-above":tq,"insert-below":tY,italic:tX,joystick:tK,launch:tJ,leave:tQ,lemon:t1,link:t0,"link-removed":t5,lock:t2,"logo-js":t3,"logo-ts":t4,"master-detail":t6,menu:t9,"mobile-device":t8,moon:t7,number:et,"ok-hand":ee,olist:en,overage:er,package:ei,pause:eo,pin:ea,"pin-removed":es,play:eu,plug:el,presentation:ec,publish:ef,"read-only":ed,"remove-circle":eh,remove:ep,reset:em,restore:eg,retrieve:ey,revert:ev,robot:eb,rocket:ew,search:ex,select:eC,sort:eE,spinner:ek,"split-horizontal":eS,"split-vertical":eR,square:e_,"stack-compact":eA,stack:eM,star:ej,stop:eO,strikethrough:eT,string:eP,sun:eL,sync:eI,tag:eD,terminal:eN,"th-large":eV,"th-list":eF,tiers:eB,"toggle-arrow-right":eH,token:eU,transfer:eZ,translate:eW,trash:ez,"trend-upward":eG,"triangle-outline":e$,trolley:eq,truncate:eY,ulist:eX,underline:eK,undo:eJ,unknown:eQ,unlock:e1,unpublish:e0,upload:e5,user:e2,users:e3,"warning-filled":e4,"warning-outline":e6};(0,r.forwardRef)(function(t,e){let{symbol:n,...i}=t,o=e9[n];return o?(0,r.createElement)(o,{...i,ref:e}):null})},97227:function(t,e,n){"use strict";n.d(e,{M:function(){return g}});var r=n(67294),i=n(71098),o=n(5810);function a(){let t=(0,r.useRef)(!1);return(0,o.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var s=n(47292),u=n(4551);class l extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:t,isPresent:e}){let n=(0,r.useId)(),i=(0,r.useRef)(null),o=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:t,height:r,top:a,left:s}=o.current;if(e||!i.current||!t||!r)return;i.current.dataset.motionPopId=n;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 40 [data-motion-pop-id="${n}"] { 41 position: absolute !important; 42 width: ${t}px !important; 43 height: ${r}px !important; 44 top: ${a}px !important; 45 left: ${s}px !important; 46 } 47 `),()=>{document.head.removeChild(u)}},[e]),r.createElement(l,{isPresent:e,childRef:i,sizeRef:o},r.cloneElement(t,{ref:i}))}let f=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:l})=>{let f=(0,u.h)(d),h=(0,r.useId)(),p=(0,r.useMemo)(()=>({id:h,initial:e,isPresent:n,custom:o,onExitComplete:t=>
47{for(let e of(f.set(t,!0),f.values()))if(!e)return;i&&i()},register:t=>(f.set(t,!1),()=>f.delete(t))}),a?void 0:[n]);return(0,r.useMemo)(()=>{f.forEach((t,e)=>f.set(e,!1))},[n]),r.useEffect(()=>{n||f.size||!i||i()},[n]),"popLayout"===l&&(t=r.createElement(c,{isPresent:n},t)),r.createElement(s.O.Provider,{value:p},t)};function d(){return new Map}var h=n(63695),p=n(98890);let m=t=>t.key||"",g=({children:t,custom:e,initial:n=!0,onExitComplete:s,exitBeforeEnter:u,presenceAffectsLayout:l=!0,mode:c="sync"})=>{var d;(0,p.k)(!u,"Replace exitBeforeEnter with mode='wait'");let[g]=function(){let t=a(),[e,n]=(0,r.useState)(0),o=(0,r.useCallback)(()=>{t.current&&n(e+1)},[e]),s=(0,r.useCallback)(()=>i.Wi.postRender(o),[o]);return[s,e]}(),y=(0,r.useContext)(h.p).forceRender;y&&(g=y);let v=a(),b=function(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}(t),w=b,x=new Set,C=(0,r.useRef)(w),E=(0,r.useRef)(new Map).current,k=(0,r.useRef)(!0);if((0,o.L)(()=>{k.current=!1,function(t,e){t.forEach(t=>{let n=m(t);e.set(n,t)})}(b,E),C.current=w}),d=()=>{k.current=!0,E.clear(),x.clear()},(0,r.useEffect)(()=>()=>d(),[]),k.current)return r.createElement(r.Fragment,null,w.map(t=>r.createElement(f,{key:m(t),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:c},t)));w=[...w];let S=C.current.map(m),R=b.map(m),_=S.length;for(let t=0;t<_;t++){let e=S[t];-1===R.indexOf(e)&&x.add(e)}return"wait"===c&&x.size&&(w=[]),x.forEach(t=>{if(-1!==R.indexOf(t))return;let n=E.get(t);if(!n)return;let i=S.indexOf(t),o=()=>{E.delete(t),x.delete(t);let e=C.current.findIndex(e=>e.key===t);if(C.current.splice(e,1),!x.size){if(C.current=b,!1===v.current)return;g(),s&&s()}};w.splice(i,0,r.createElement(f,{key:m(n),isPresent:!1,onExitComplete:o,custom:e,presenceAffectsLayout:l,mode:c},n))}),w=w.map(t=>{let e=t.key;return x.has(e)?t:r.createElement(f,{key:m(t),isPresent:!0,presenceAffectsLayout:l,mode:c},t)}),r.createElement(r.Fragment,null,x.size?w:w.map(t=>(0,r.cloneElement)(t)))}},63695:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var r=n(67294);let i=(0,r.createContext)({})},47292:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(67294);let i=(0,r.createContext)(null)},14794:function(t,e,n){"use strict";n.d(e,{w:function(){return r}});let r={delta:0,timestamp:0,isProcessing:!1}},71098:function(t,e,n){"use strict";n.d(e,{Pn:function(){return d},Wi:function(){return f},S6:function(){return s}});var r=n(14794);let i=!0,o=!1,a=["read","update","preRender","render","postRender"],s=a.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(t,o=!1,s=!1)=>{let u=s&&i,l=u?e:n;return o&&a.add(t),-1===l.indexOf(t)&&(l.push(t),u&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(u),a.has(r)&&(s.schedule(r),t())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>o=!0),t),{}),u=t=>s[t].process(r.w),l=t=>{o=!1,r.w.delta=i?1e3/60:Math.max(Math.min(t-r.w.timestamp,40),1),r.w.timestamp=t,r.w.isProcessing=!0,a.forEach(u),r.w.isProcessing=!1,o&&(i=!1,requestAnimationFrame(l))},c=()=>{o=!0,i=!0,r.w.isProcessing||requestAnimationFrame(l)},f=a.reduce((t,e)=>{let n=s[e];return t[e]=(t,e=!1,r=!1)=>(o||c(),n.schedule(t,e,r)),t},{});function d(t){a.forEach(e=>s[e].cancel(t))}},58418:function(t,e,n){"use strict";n.d(e,{E:function(){return iD}});var r,i=n(67294);let o=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),a=(0,i.createContext)({});var s=n(47292),u=n(5810);let l=(0,i.createContext)({strict:!1});function c(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function f(t){return"string"==typeof t||Array.isArray(t)}function d(t){return"object"==typeof t&&"function"==typeof t.start}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],p=["initial",...h];function m(t){return d(t.animate)||p.some(e=>f(t[e]))}function g(t){return Boolean(m(t)||t.variants)}function y(t){return Array.isArray(t)?t.join(" "):t}let v={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},b={};for(let t in v)b[t]={isEnabled:e=>v[t].some(t=>!!e[t])};var w=n(94090),x=n(4551);let C={hasAnimatedSinceResize:!0,hasEverUpdated:!1},E=1;var k=n(63695);let S=(0,i.createContext)({}),R=Symbol.for("motionComponentSymbol"),_=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function A(t){if("string"!=typeof t||t.includes("-"));else if(_.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let M={},j=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],O=new Set(j);function T(t,{layout:e,layoutId:n}){return O.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!M[t]||"opacity"===t)}let P=t=>Boolean(t&&t.getVelocity),L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=j.length,D=t=>e=>"string"==typeof e&&e.startsWith(t),N=D("--"),V=D("var(--"),F=(t,e)=>e&&"number"==typeof t?e.transform(t):t,B=(t,e,n)=>Math.min(Math.max(n,t),e),H={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},U={...H,transform:t=>B(0,1,t)},Z={...H,default:1},W=t=>
47Math.round(1e5*t)/1e5,z=/(-)?([\d]*\.?[\d])+/g,G=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,$=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(t){return"string"==typeof t}let Y=t=>({test:e=>q(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),X=Y("deg"),K=Y("%"),J=Y("px"),Q=Y("vh"),tt=Y("vw"),te={...K,parse:t=>K.parse(t)/100,transform:t=>K.transform(100*t)},tn={...H,transform:Math.round},tr={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,size:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:Z,scaleX:Z,scaleY:Z,scaleZ:Z,skew:X,skewX:X,skewY:X,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:U,originX:te,originY:te,originZ:J,zIndex:tn,fillOpacity:U,strokeOpacity:U,numOctaves:tn};function ti(t,e,n,r){let{style:i,vars:o,transform:a,transformOrigin:s}=t,u=!1,l=!1,c=!0;for(let t in e){let n=e[t];if(N(t)){o[t]=n;continue}let r=tr[t],f=F(n,r);if(O.has(t)){if(u=!0,a[t]=f,!c)continue;n!==(r.default||0)&&(c=!1)}else t.startsWith("origin")?(l=!0,s[t]=f):i[t]=f}if(!e.transform&&(u||r?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let o="";for(let e=0;e<I;e++){let n=j[e];if(void 0!==t[n]){let e=L[n]||n;o+=`${e}(${t[n]}) `}}return e&&!t.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(t,r?"":o):n&&r&&(o="none"),o}(t.transform,n,c,r):i.transform&&(i.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:n=0}=s;i.transformOrigin=`${t} ${e} ${n}`}}let to=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ta(t,e,n){for(let r in e)P(e[r])||T(r,n)||(t[r]=e[r])}function ts(t,e,n){let r={},o=function(t,e,n){let r=t.style||{},o={};return ta(o,r,t),Object.assign(o,function({transformTemplate:t},e,n){return(0,i.useMemo)(()=>{let r=to();return ti(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(o):o}(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r}let tu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function tl(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||tu.has(t)}let tc=t=>!tl(t);try{(r=require("@emotion/is-prop-valid").default)&&(tc=t=>
47t.startsWith("on")?!tl(t):r(t))}catch(t){}function tf(t,e,n){return"string"==typeof t?t:J.transform(e+n*t)}let td={offset:"stroke-dashoffset",array:"stroke-dasharray"},th={offset:"strokeDashoffset",array:"strokeDasharray"};function tp(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:u=0,...l},c,f,d){if(ti(t,l,c,d),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:p,dimensions:m}=t;h.transform&&(m&&(p.transform=h.transform),delete h.transform),m&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,n){let r=tf(e,t.x,t.width),i=tf(n,t.y,t.height);return`${r} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==e&&(h.x=e),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(t,e,n=1,r=0,i=!0){t.pathLength=1;let o=i?td:th;t[o.offset]=J.transform(-r);let a=J.transform(e),s=J.transform(n);t[o.array]=`${a} ${s}`}(h,a,s,u,!1)}let tm=()=>({...to(),attrs:{}}),tg=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ty(t,e,n,r){let o=(0,i.useMemo)(()=>{let n=tm();return tp(n,e,{enableHardwareAcceleration:!1},tg(r),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};ta(e,t.style,t),o.style={...e,...o.style}}return o}let tv=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tb(t,{style:e,vars:n},r,i){for(let o in Object.assign(t.style,e,i&&i.getProjectionStyles(r)),n)t.style.setProperty(o,n[o])}let tw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tx(t,e,n,r){for(let n in tb(t,e,void 0,r),e.attrs)t.setAttribute(tw.has(n)?n:tv(n),e.attrs[n])}function tC(t,e){let{style:n}=t,r={};for(let i in n)(P(n[i])||e.style&&P(e.style[i])||T(i,t))&&(r[i]=n[i]);return r}function tE(t,e){let n=tC(t,e);for(let r in t)if(P(t[r])||P(e[r])){let e=-1!==j.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[e]=t[r]}return n}function tk(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}let tS=t=>Array.isArray(t),tR=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),t_=t=>tS(t)?t[t.length-1]||0:t;function tA(t){let e=P(t)?t.get():t;return tR(e)?e.toValue():e}let tM=t=>(e,n)=>{let r=(0,i.useContext)(a),o=(0,i.useContext)(s.O),u=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,o){let a={latestValues:function(t,e,n,r){let i={},o=r(t,{});for(let t in o)i[t]=tA(o[t]);let{initial:a,animate:s}=t,u=m(t),l=g(t);e&&l&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let c=!!n&&!1===n.initial;c=c||!1===a;let f=c?s:a;if(f&&"boolean"!=typeof f&&!d(f)){let e=Array.isArray(f)?f:[f];e.forEach(e=>{let n=tk(t,e);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let t in a){let e=a[t];
47if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in r)i[t]=r[t]})}return i}(r,i,o,t),renderState:e()};return n&&(a.mount=t=>n(r,t,a)),a})(t,e,r,o);return n?u():(0,x.h)(u)},tj={useVisualState:tM({scrapeMotionValuesFromProps:tE,createRenderState:tm,onMount:(t,e,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}tp(n,r,{enableHardwareAcceleration:!1},tg(e.tagName),t.transformTemplate),tx(e,n)}})},tO={useVisualState:tM({scrapeMotionValuesFromProps:tC,createRenderState:to})};function tT(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}let tP=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tL(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tI=t=>e=>tP(e)&&t(e,tL(e));function tD(t,e,n,r){return tT(t,e,tI(n),r)}let tN=(t,e)=>n=>e(t(n)),tV=(...t)=>t.reduce(tN);function tF(t){let e=null;return()=>{let n=()=>{e=null};return null===e&&(e=t,n)}}let tB=tF("dragHorizontal"),tH=tF("dragVertical");function tU(t){let e=!1;if("y"===t)e=tH();else if("x"===t)e=tB();else{let t=tB(),n=tH();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function tZ(){let t=tU(!0);return!t||(t(),!1)}class tW{constructor(t){this.isMounted=!1,this.node=t}update(){}}var tz=n(71098);function tG(t,e){let n="onHover"+(e?"Start":"End"),r=(r,i)=>{if("touch"===r.type||tZ())return;let o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[n]&&tz.Wi.update(()=>o[n](r,i))};return tD(t.current,"pointer"+(e?"enter":"leave"),r,{passive:!t.getProps()[n]})}let t$=(t,e)=>!!e&&(t===e||t$(t,e.parentElement));var tq=n(38915);function tY(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,tL(n))}let tX=new WeakMap,tK=new WeakMap,tJ=t=>{let e=tX.get(t.target);e&&e(t)},tQ=t=>{t.forEach(tJ)},t1={some:0,all:1};function t0(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function t5(t,e,n){let r=t.getProps();return tk(r,e,void 0!==n?n:r.custom,function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}let t2="data-"+tv("framerAppearId");var t3=n(98890);let t4=t=>1e3*t,t6=t=>t/1e3,t9={current:!1},t8=t=>Array.isArray(t)&&"number"==typeof t[0],t7=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,et={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t7([0,.65,.55,1]),circOut:t7([.55,0,1,.45]),backIn:t7([.31,.01,.66,-.59]),backOut:t7([.33,1.53,.69,.99])},ee={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},en={},er={};for(let t in ee)er[t]=()=>(void 0===en[t]&&(en[t]=ee[t]()),en[t]);let ei=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function eo(t,e,n,r){if(t===e&&n===r)return tq.Z;let i=e=>(function(t,e,n,r,i){let o,a;let s=0;do(o=ei(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:ei(i(t),e,r)}let ea=eo(.42,0,1,1),es=eo(0,0,.58,1),eu=eo(.42,0,.58,1),el=t=>Array.isArray(t)&&"number"!=typeof t[0],ec=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ef=t=>e=>1-t(1-e),ed=t=>1-Math.sin(Math.acos(t)),eh=ef(ed),ep=ec(eh),em=eo(.33,1.53,.69,.99),eg=ef(em),ey=ec(eg),ev=t=>(t*=2)<1?.5*eg(t):.5*(2-Math.pow(2,-10*(t-1))),eb={linear:tq.Z,easeIn:ea,easeInOut:eu,easeOut:es,circIn:ed,circInOut:ep,circOut:eh,backIn:eg,backInOut:ey,backOut:em,anticipate:ev},ew=t=>{if(Array.isArray(t)){(0,t3.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,r,i]=t;return eo(e,n,r,i)}return"string"==typeof t?((0,t3.k)(void 0!==eb[t],`Invalid easing type '${t}'`),eb[t]):t},ex=(t,e)=>n=>Boolean(q(n)&&$.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),eC=(t,e,n)=>r=>{if(!q(r))return r;let[i,o,a,s]=r.match(z);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eE=t=>B(0,255,t),ek={...H,transform:t=>Math.round(eE(t))},eS={test:ex("rgb","red"),parse:eC("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+ek.transform(t)+", "+ek.transform(e)+", "+ek.transform(n)+", "+W(U.transform(r))+")"},eR={test:ex("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
47a:i?parseInt(i,16)/255:1}},transform:eS.transform},e_={test:ex("hsl","hue"),parse:eC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+K.transform(W(e))+", "+K.transform(W(n))+", "+W(U.transform(r))+")"},eA={test:t=>eS.test(t)||eR.test(t)||e_.test(t),parse:t=>eS.test(t)?eS.parse(t):e_.test(t)?e_.parse(t):eR.parse(t),transform:t=>q(t)?t:t.hasOwnProperty("red")?eS.transform(t):e_.transform(t)},eM=(t,e,n)=>-n*t+n*e+t;function ej(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}let eO=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eT=[eR,eS,e_],eP=t=>eT.find(e=>e.test(t));function eL(t){let e=eP(t);(0,t3.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===e_&&(n=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=ej(s,r,t+1/3),o=ej(s,r,t),a=ej(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let eI=(t,e)=>{let n=eL(t),r=eL(e),i={...n};return t=>(i.red=eO(n.red,r.red,t),i.green=eO(n.green,r.green,t),i.blue=eO(n.blue,r.blue,t),i.alpha=eM(n.alpha,r.alpha,t),eS.transform(i))}
47,eD={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:tq.Z},eN={regex:G,countKey:"Colors",token:"${c}",parse:eA.parse},eV={regex:z,countKey:"Numbers",token:"${n}",parse:H.parse};function eF(t,{regex:e,countKey:n,token:r,parse:i}){let o=t.tokenised.match(e);o&&(t["num"+n]=o.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...o.map(i)))}function eB(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&eF(n,eD),eF(n,eN),eF(n,eV),n}function eH(t){return eB(t).values}function eU(t){let{values:e,numColors:n,numVars:r,tokenised:i}=eB(t),o=e.length;return t=>{let e=i;for(let i=0;i<o;i++)e=i<r?e.replace(eD.token,t[i]):i<r+n?e.replace(eN.token,eA.transform(t[i])):e.replace(eV.token,W(t[i]));return e}}let eZ=t=>"number"==typeof t?0:t,eW={test:function(t){var e,n;return isNaN(t)&&q(t)&&((null===(e=t.match(z))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(G))||void 0===n?void 0:n.length)||0)>0},parse:eH,createTransformer:eU,getAnimatableNone:function(t){let e=eH(t),n=eU(t);return n(e.map(eZ))}},ez=(t,e)=>n=>`${n>0?e:t}`;function eG(t,e){return"number"==typeof t?n=>eM(t,e,n):eA.test(t)?eI(t,e):t.startsWith("var(")?ez(t,e):eY(t,e)}let e$=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>eG(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},eq=(t,e)=>{let n={...t,...e},r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=eG(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}},eY=(t,e)=>{let n=eW.createTransformer(e),r=eB(t),i=eB(e),o=r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers;return o?tV(e$(r.values,i.values),n):((0,t3.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ez(t,e))},eX=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},eK=(t,e)=>n=>eM(t,e,n);function eJ(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;if((0,t3.k)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,n){let r=[],i=n||function(t){if("number"==typeof t);else if("string"==typeof t)return eA.test(t)?eI:eY;else if(Array.isArray(t))return e$;else if("object"==typeof t)return eq;return eK}(t[0]),o=t.length-1;for(let n=0;n<o;n++){let o=i(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]||tq.Z:e;o=tV(t,o)}r.push(o)}return r}(e,r,i),s=a.length,u=e=>{let n=0;if(s>1)for(;n<t.length-2&&!(e<t[n+1]);n++);let r=eX(t[n],t[n+1],e);return a[n](r)};return n?e=>u(B(t[0],t[o-1],e)):u}function eQ({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){let i=el(r)?r.map(ew):ew(r),o={done:!1,value:e[0]},a=(n&&n.length===e.length?n:function(t){let e=[0];return function(t,e){let n=t[t.length-1];for(let r=1;r<=e;r++){let i=eX(0,e,r);t.push(eM(n,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),s=eJ(a,e,{ease:Array.isArray(i)?i:e.map(()=>i||eu).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=s(e),o.done=e>=t,o)}}function e1(t,e,n){var r,i;let o=Math.max(e-5,0);return r=n-t(o),(i=e-o)?r*(1e3/i):0}function e0(t,e){return t*Math.sqrt(1-e*e)}let e5=["duration","bounce"],e2=["stiffness","damping","mass"];function e3(t,e){return e.some(e=>void 0!==t[e])}function e4({keyframes:t,restDelta:e,restSpeed:n,...r}){let i;let o=t[0],a=t[t.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,velocity:f,duration:d,isResolvedFromDuration:h}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!e3(t,e2)&&e3(t,e5)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;(0,t3.K)(t<=t4(10),"Spring duration must be 10 seconds or less");let a=1-e;a=B(.05,1,a),t=B(.01,10,t6(t)),a<1?(i=e=>{let r=e*a,i=r*t,o=e0(e,a);return .001-(r-n)/o*Math.exp(-i)},o=e=>{let r=e*a,o=r*t,s=Math.pow(a,2)*Math.pow(e,2)*t,u=e0(Math.pow(e,2),a),l=-i(e)+.001>0?-1:1;return l*((o*n+n-s)*Math.exp(-o))/u}):(i=e=>{let r=Math.exp(-e*t),i=(e-n)*t+1;return -.001+r*i},o=e=>{let r=Math.exp(-e*t),i=(n-e)*(t*t);return r*i});let s=5/t,u=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,s);if(t=t4(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*r;
47return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...n,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(r),p=f?-t6(f):0,m=l/(2*Math.sqrt(u*c)),g=a-o,y=t6(Math.sqrt(u/c)),v=5>Math.abs(g);if(n||(n=v?.01:2),e||(e=v?.005:.5),m<1){let t=e0(y,m);i=e=>a-Math.exp(-m*y*e)*((p+m*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===m)i=t=>a-Math.exp(-y*t)*(g+(p+y*g)*t);else{let t=y*Math.sqrt(m*m-1);i=e=>{let n=Math.min(t*e,300);return a-Math.exp(-m*y*e)*((p+m*y*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}return{calculatedDuration:h&&d||null,next:t=>{let r=i(t);if(h)s.done=t>=d;else{let o=p;0!==t&&(o=m<1?e1(i,t,r):0);let u=Math.abs(o)<=n,l=Math.abs(a-r)<=e;s.done=u&&l}return s.value=s.done?a:r,s}}}function e6({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:u,restDelta:l=.5,restSpeed:c}){let f,d;let h=t[0],p={done:!1,value:h},m=t=>void 0!==s&&t<s||void 0!==u&&t>u,g=t=>void 0===s?u:void 0===u?s:Math.abs(s-t)<Math.abs(u-t)?s:u,y=n*e,v=h+y,b=void 0===a?v:a(v);b!==v&&(y=b-h);let w=t=>-y*Math.exp(-t/r),x=t=>b+w(t),C=t=>{let e=w(t),n=x(t);p.done=Math.abs(e)<=l,p.value=p.done?b:n},E=t=>{m(p.value)&&(f=t,d=e4({keyframes:[p.value,g(p.value)],velocity:e1(x,t,p.value),damping:i,stiffness:o,restDelta:l,restSpeed:c}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==f||(e=!0,C(t),E(t)),void 0!==f&&t>f)?d.next(t-f):(e||C(t),p)}}}var e9=n(14794);let e8=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tz.Wi.update(e,!0),stop:()=>(0,tz.Pn)(e),now:()=>e9.w.isProcessing?e9.w.timestamp:performance.now()}};function e7(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}let nt={decay:e6,inertia:e6,tween:eQ,keyframes:eQ,spring:e4};function ne({autoplay:t=!0,delay:e=0,driver:n=e8,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:u,onStop:l,onComplete:c,onUpdate:f,...d}){let h,p,m,g,y,v=1,b=!1,w=()=>{h&&h(),p=new Promise(t=>{h=t})};w();let x=nt[i]||eQ;x!==eQ&&"number"!=typeof r[0]&&(g=eJ([0,100],r,{clamp:!1}),r=[0,100]);let C=x({...d,keyframes:r});"mirror"===s&&(y=x({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let E="idle",k=null,S=null,R=null;null===C.calculatedDuration&&o&&(C.calculatedDuration=e7(C));let{calculatedDuration:_}=C,A=1/0,M=1/0;null!==_&&(M=(A=_+a)*(o+1)-a);let j=0,O=t=>{if(null===S)return;v>0&&(S=Math.min(S,t)),j=null!==k?k:(t-S)*v;let n=j-e,i=n<0;j=Math.max(n,0),"finished"===E&&null===k&&(j=M);let u=j,l=C;if(o){let t=j/A,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,o+1);let r=Boolean(e%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/A)):"mirror"===s&&(l=y));let i=B(0,1,n);j>M&&(i="reverse"===s&&r?1:0),u=i*A}let c=i?{done:!1,value:r[0]}:l.next(u);g&&(c.value=g(c.value));let{done:d}=c;i||null===_||(d=j>=M);let h=null===k&&("finished"===E||"running"===E&&d||v<0&&j<=0);return f&&f(c.value),h&&L(),c},T=()=>{m&&m.stop(),m=void 0},P=()=>{E="idle",T(),w(),S=R=null},L=()=>{E="finished",c&&c(),T(),w()},I=()=>{if(b)return;m||(m=n(O));let t=m.now();u&&u(),null!==k?S=t-k:S&&"finished"!==E||(S=t),R=S,k=null,E="running",m.start()};t&&I();let D={then:(t,e)=>p.then(t,e),get time(){return t6(j)},set time(newTime){j=newTime=t4(newTime),null===k&&m&&0!==v?S=m.now()-newTime/v:k=newTime},get duration(){let t=null===C.calculatedDuration?e7(C):C.calculatedDuration;return t6(t)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,D.time=t6(j)},get state(){return E},play:I,pause:()=>{E="paused",k=j},stop:()=>{b=!0,"idle"!==E&&(E="idle",l&&l(),P())},cancel:()=>{null!==R&&O(R),P()},complete:()=>{E="finished"},sample:t=>(S=0,O(t))};return D}let nn=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),nr=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return Boolean(!e||"string"==typeof e&&et[e]||t8(e)||Array.isArray(e)&&e.every(t))}(e.ease),ni={type:"spring",stiffness:500,damping:25,restSpeed:10},no=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),na={type:"keyframes",duration:.8},ns={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nu=(t,{keyframes:e})=>e.length>2?na:O.has(t)?t.startsWith("scale")?no(e[1]):ni:ns,nl=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eW.test(e)||"0"===e)&&!e.startsWith("url(")),nc=new Set(["brightness","contrast","saturate","opacity"]);function nf(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(z)||[];if(!r)return t;let i=n.replace(r,""),o=nc.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nd=/([a-z-]*)\(.*?\)/g,nh={...eW,getAnimatableNone:t=>{let e=t.match(nd);return e?e.map(nf).join(" "):t}},np={...tr,color:eA,backgroundColor:eA,outlineColor:eA,fill:eA,stroke:eA,borderColor:eA,borderTopColor:eA,borderRightColor:eA,borderBottomColor:eA,borderLeftColor:eA,filter:nh,WebkitFilter:nh},nm=t=>np[t];function ng(t,e){let n=nm(t);return n!==nh&&(n=eW),n.getAnimatableNone?n.getAnimatableNone(e):void 0}let ny=t=>/^0[^.\s]+$/.test(t);function nv(t,e){return t[e]||t.default||t}let nb=(t,e,n,r={})=>i=>{let o=nv(r,t)||{},a=o.delay||r.delay||0,{elapsed:s=0}=r;s-=t4(a);let u=function(t,e,n,r){let i,o;let a=nl(e,n);i=Array.isArray(n)?[...n]:[null,n];let s=void 0!==r.from?r.from:t.get(),u=[];for(let t=0;t<i.length;t++){var l;(null===i[t]&&(i[t]=0===t?s:i[t-1]),"number"==typeof(l=i[t])?0===l:null!==l?"none"===l||"0"===l||ny(l):void 0)?u.push(t):"string"==typeof i[t]&&(o=i[t])}if(a&&u.length&&o)for(let t=0;t<u.length;t++){let n=u[t];i[n]=ng(e,o)}return i}(e,t,n,o),l=u[0],c=u[u.length-1],f=nl(t,l),d=nl(t,c);(0,t3.K)(f===d,`You are trying to animate ${t} from "${l}" to "${c}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${c} via the \`style\` property.`);let h={keyframes:u,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:u,elapsed:l,...c}){return!!Object.keys(c).length}(o)&&(h={...h,...nu(t,h)}),h.duration&&(h.duration=t4(h.duration)),h.repeatDelay&&(h.repeatDelay=t4(h.repeatDelay)),!f||!d||t9.current||!1===o.type)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){let i=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:tq.Z,pause:tq.Z,stop:tq.Z,then:t=>(t(),Promise.resolve()),cancel:tq.Z,complete:tq.Z});return e?ne({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(h);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUp
47date){let n=function(t,e,{onUpdate:n,onComplete:r,...i}){let o,a;let s=er.waapi()&&nn.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!s)return!1;let u=!1,l=()=>{a=new Promise(t=>{o=t})};l();let{keyframes:c,duration:f=300,ease:d,times:h}=i;if(nr(e,i)){let t=ne({...i,repeat:0,delay:0}),e={done:!1,value:c[0]},n=[],r=0;for(;!e.done&&r<2e4;)n.push((e=t.sample(r)).value),r+=10;h=void 0,c=n,f=r-10,d="linear"}let p=function(t,e,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:u}={}){let l={[e]:n};u&&(l.offset=u);let c=function t(e){if(e)return t8(e)?t7(e):Array.isArray(e)?e.map(t):et[e]}(s);return Array.isArray(c)&&(l.easing=c),t.animate(l,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,c,{...i,duration:f,ease:d,times:h}),m=()=>p.cancel(),g=()=>{tz.Wi.update(m),o(),l()};return p.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){let r=e&&"loop"!==n&&e%2==1?0:t.length-1;return t[r]}(c,i)),r&&r(),g()},{then:(t,e)=>a.then(t,e),get time(){return t6(p.currentTime||0)},set time(newTime){p.currentTime=t4(newTime)},get speed(){return p.playbackRate},set speed(newSpeed){p.playbackRate=newSpeed},get duration(){return t6(f)},play:()=>{u||(p.play(),(0,tz.Pn)(m))},pause:()=>p.pause(),stop:()=>{if(u=!0,"idle"===p.playState)return;let{currentTime:e}=p;if(e){let n=ne({...i,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}g()},complete:()=>p.finish(),cancel:g}}(e,t,h);if(n)return n}return ne(h)};function nw(t){return Boolean(P(t)&&t.add)}let nx=t=>/^\-?\d*\.?\d+$/.test(t);function nC(t,e){-1===t.indexOf(e)&&t.push(e)}function nE(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class nk{constructor(){this.subscriptions=[]}add(t){return nC(this.subscriptions,t),()=>nE(this.subscriptions,t)}notify(t,e,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let nS=t=>!isNaN(parseFloat(t));class nR{constructor(t,e={}){this.version="10.12.7",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:n,timestamp:r}=e9.w;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,tz.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>tz.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=nS(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new nk);let n=this.events[t].add(e);return"change"===t?()=>{n(),tz.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?t*(1e3/e):0):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function n_(t,e){return new nR(t,e)}let nA=t=>e=>e.test(t),nM=[H,J,K,X,tt,Q,{test:t=>"auto"===t,parse:t=>t}],nj=t=>nM.find(nA(t)),nO=[...nM,eA,eW],nT=t=>nO.find(nA(t));function nP(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:a,...s}=t.makeTargetAnimatable(e),u=t.getValue("willChange");r&&(o=r);let l=[],c=i&&t.animationState&&t.animationState.getState()[i];for(let e in s){let r=t.getValue(e),i=s[e];if(!r||void 0===i||c&&function({protectedKeys:t,needsAnimating:e},n){let r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}(c,e))continue;let a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){let n=t.getProps()[t2];n&&(a.elapsed=window.HandoffAppearAnimations(n,e,r,tz.Wi))}r.start(nb(e,r,i,t.shouldReduceMotion&&O.has(e)?{type:!1}:a));let f=r.animation;nw(u)&&(u.add(e),f.then(()=>u.remove(e))),l.push(f)}return a&&Promise.all(l).then(()=>{a&&function(t,e){let n=t5(t,e),{transitionEnd:r={},transition:i={},...o}=n?t.makeTargetAnimatable(n,!1):{};for(let e in o={...o,...r}){var a;let n=t_(o[e]);a=e,t.hasValue(a)?t.getValue(a).set(n):t.addValue(a,n_(n))}}(t,a)}),l}function nL(t,e,n={}){let r=t5(t,e,n.custom),{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(nP(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(t,e,n=0,r=0,i=1,o){let a=[],s=(t.variantChildren.size-1)*r,u=1===i?(t=0)=>t*r:(t=0)=>s-t*r;
47return Array.from(t.variantChildren).sort(nI).forEach((t,r)=>{t.notify("AnimationStart",e),a.push(nL(t,e,{...o,delay:n+u(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),a(n.delay)]);{let[t,e]="beforeChildren"===s?[o,a]:[a,o];return t().then(()=>e())}}function nI(t,e){return t.sortNodePosition(e)}let nD=[...h].reverse(),nN=h.length;function nV(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let nF=0,nB=(t,e)=>Math.abs(t-e);class nH{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=nW(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){let n=nB(t.x,e.x),r=nB(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;let{point:r}=t,{timestamp:i}=e9.w;this.history.push({...r,timestamp:i});let{onStart:o,onMove:a}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nU(e,this.transformPagePoint),tz.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:n,onSessionEnd:r}=this.handlers,i=nW("pointercancel"===t.type?this.lastMoveEventInfo:nU(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!tP(t))return;this.handlers=e,this.transformPagePoint=n;let r=tL(t),i=nU(r,this.transformPagePoint),{point:o}=i,{timestamp:a}=e9.w;this.history=[{...o,timestamp:a}];let{onSessionStart:s}=e;s&&s(t,nW(i,this.history)),this.removeListeners=tV(tD(window,"pointermove",this.handlePointerMove),tD(window,"pointerup",this.handlePointerUp),tD(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tz.Pn)(this.updatePoint)}}function nU(t,e){return e?{point:e(t.point)}:t}function nZ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nW({point:t},e){return{point:t,delta:nZ(t,nz(e)),offset:nZ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null,i=nz(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>t4(.1)));)n--;if(!r)return{x:0,y:0};let o=t6(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function nz(t){return t[t.length-1]}function nG(t){return t.max-t.min}function n$(t,e=0,n=.01){return Math.abs(t-e)<=n}function nq(t,e,n,r=.5){t.origin=r,t.originPoint=eM(e.min,e.max,t.origin),t.scale=nG(n)/nG(e),(n$(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eM(n.min,n.max,t.origin)-t.originPoint,(n$(t.translate)||isNaN(t.translate))&&(t.translate=0)}function nY(t,e,n,r){nq(t.x,e.x,n.x,r?r.originX:void 0),nq(t.y,e.y,n.y,r?r.originY:void 0)}function nX(t,e,n){t.min=n.min+e.min,t.max=t.min+nG(e)}function nK(t,e,n){t.min=e.min-n.min,t.max=t.min+nG(e)}function nJ(t,e,n){nK(t.x,e.x,n.x),nK(t.y,e.y,n.y)}function nQ(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function n1(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function n0(t,e,n){return{min:n5(t,e),max:n5(t,n)}}function n5(t,e){return"number"==typeof t?t:t[e]||0}let n2=()=>({translate:0,scale:1,origin:0,originPoint:0}),n3=()=>({x:n2(),y:n2()}),n4=()=>({min:0,max:0}),n6=()=>({x:n4(),y:n4()});function n9(t){return[t("x"),t("y")]}function n8({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function n7(t){return void 0===t||1===t}function rt({scale:t,scaleX:e,scaleY:n}){return!n7(t)||!n7(e)||!n7(n)}function re(t){return rt(t)||rn(t)||t.z||t.rotate||t.rotateX||t.rotateY}function rn(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function rr(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function ri(t,e=0,n=1,r,i){t.min=rr(t.min,e,n,r,i),t.max=rr(t.max,e,n,r,i)}function ro(t,{x:e,y:n}){ri(t.x,e.translate,e.scale,e.originPoint),ri(t.y,n.translate,n.scale,n.originPoint)}function ra(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function rs(t,e){t.min=t.min+e,t.max=t.max+e}function ru(t,e,[n,r,i]){let o=void 0!==e[i]?e[i]:.5,a=eM(t.min,t.max,o);ri(t,e[n],e[r],a,e.scale)}let rl=["x","scaleX","originX"],rc=["y","scaleY","originY"];function rf(t,e){ru(t.x,e,rl),ru(t.y,e,rc)}function rd(t,e){return n8(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let rh=new WeakMap;class rp{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=n6(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{this.stopAnimation(),e&&this.snapToCursor(tL(t,"page").point)},i=(t,e)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tU(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n9(t=>{let e=this.getAxisMotionValue(t).get()||0;if(K.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[t];if(r){let t=nG(r);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),i&&tz.Wi.update(()=>i(t,e),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(t,e)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),o&&o(t,e)},a=(t,e)=>this.stop(t,e);this.panSession=new nH(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:i}=this.getProps();
47i&&tz.Wi.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:r}=this.getProps();if(!n||!rm(t,r,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?eM(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?eM(n,t,r.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;t&&c(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:r,right:i}){return{x:nQ(t.x,n,i),y:nQ(t.y,e,r)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:n0(t,"left","right"),y:n0(t,"top","bottom")}}(e),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&n9(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!c(e))return!1;let r=e.current;(0,t3.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(t,e,n){let r=rd(t,n),{scroll:i}=e;return i&&(rs(r.x,i.offset.x),rs(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a={x:n1((t=i.layout.layoutBox).x,o.x),y:n1(t.y,o.y)};if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=n8(t))}return a}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},u=n9(a=>{if(!rm(a,e,this.currentDirection))return;let u=s&&s[a]||{};o&&(u={min:0,max:0});let l={type:"inertia",velocity:n?t[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(a,l)});return Promise.all(u).then(a)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return n.start(nb(t,n,0,e))}stopAnimation(){n9(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){n9(e=>{let{drag:n}=this.getProps();if(!rm(e,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[e];i.set(t[e]-eM(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!c(e)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};n9(t=>{let e=this.getAxisMotionValue(t);if(e){let n=e.get();r[t]=function(t,e){let n=.5,r=nG(t),i=nG(e);return i>r?n=eX(e.min,e.max-r,t.min):r>i&&(n=eX(t.min,t.max-i,e.min)),B(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),n9(e=>{if(!rm(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set(eM(i,o,r[e]))})}addListeners(){if(!this.visualElement.current)return;rh.set(this.visualElement,this);let t=this.visualElement.current,e=tD(t,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();c(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();let o=tT(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(n9(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),a&&a()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function rm(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}let rg=t=>
47(e,n)=>{t&&tz.Wi.update(()=>t(e,n))};function ry(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rv={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!J.test(t))return t;t=parseFloat(t)}let n=ry(t,e.target.x),r=ry(t,e.target.y);return`${n}% ${r}%`}};class rb extends i.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;Object.assign(M,rx),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),C.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===i||(i?o.promote():o.relegate()||tz.Wi.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rw(t){let[e,n]=function(){let t=(0,i.useContext)(s.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:r}=t,o=(0,i.useId)();(0,i.useEffect)(()=>r(o),[]);let a=()=>n&&n(o);return!e&&n?[!1,a]:[!0]}(),r=(0,i.useContext)(k.p);return i.createElement(rb,{...t,layoutGroup:r,switchLayoutGroup:(0,i.useContext)(S),isPresent:e,safeToRemove:n})}let rx={borderRadius:{...rv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rv,borderTopRightRadius:rv,borderBottomLeftRadius:rv,borderBottomRightRadius:rv,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let r=eW.parse(t);if(r.length>5)return t;let i=eW.createTransformer(t),o="number"!=typeof r[0]?1:0,a=n.x.scale*e.x,s=n.y.scale*e.y;r[0+o]/=a,r[1+o]/=s;let u=eM(a,s,.5);return"number"==typeof r[2+o]&&(r[2+o]/=u),"number"==typeof r[3+o]&&(r[3+o]/=u),i(r)}}},rC=["TopLeft","TopRight","BottomLeft","BottomRight"],rE=rC.length,rk=t=>"string"==typeof t?parseFloat(t):t,rS=t=>"number"==typeof t||J.test(t);function rR(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let r_=rM(0,.5,eh),rA=rM(.5,.95,tq.Z);function rM(t,e,n){return r=>r<t?0:r>e?1:n(eX(t,e,r))}function rj(t,e){t.min=e.min,t.max=e.max}function rO(t,e){rj(t.x,e.x),rj(t.y,e.y)}function rT(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function rP(t,e,[n,r,i],o,a){!function(t,e=0,n=1,r=.5,i,o=t,a=t){if(K.test(e)){e=parseFloat(e);let t=eM(a.min,a.max,e/100);e=t-a.min}if("number"!=typeof e)return;let s=eM(o.min,o.max,r);t===o&&(s-=e),t.min=rT(t.min,e,n,s,i),t.max=rT(t.max,e,n,s,i)}(t,e[n],e[r],e[i],e.scale,o,a)}let rL=["x","scaleX","originX"],rI=["y","scaleY","originY"];function rD(t,e,n,r){rP(t.x,e,rL,n?n.x:void 0,r?r.x:void 0),rP(t.y,e,rI,n?n.y:void 0,r?r.y:void 0)}function rN(t){return 0===t.translate&&1===t.scale}function rV(t){return rN(t.x)&&rN(t.y)}function rF(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function rB(t){return nG(t.x)/nG(t.y)}class rH{constructor(){this.members=[]}add(t){nC(this.members,t),t.scheduleRender()}remove(t){if(nE(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}
47exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rU(t,e,n){let r="",i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){let{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}let a=t.x.scale*e.x,s=t.y.scale*e.y;return(1!==a||1!==s)&&(r+=`scale(${a}, ${s})`),r||"none"}let rZ=(t,e)=>t.depth-e.depth;class rW{constructor(){this.children=[],this.isDirty=!1}add(t){nC(this.children,t),this.isDirty=!0}remove(t){nE(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rZ),this.isDirty=!1,this.children.forEach(t)}}let rz=["","X","Y","Z"],rG=0,r$={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rq({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t,n={},r=null==e?void 0:e()){this.id=rG++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{r$.totalNodes=r$.resolvedTargetDeltas=r$.recalculatedProjection=0,this.nodes.forEach(rK),this.nodes.forEach(r2),this.nodes.forEach(r3),this.nodes.forEach(rJ),window.MotionDebug&&window.MotionDebug.record(r$)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rW)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nk),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,n=!1){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(i||r)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=e&&((0,tz.Pn)(r),t(o-e))};return tz.Wi.read(r,!0),()=>(0,tz.Pn)(r)}(r,250),C.hasAnimatedSinceResize&&(C.hasAnimatedSinceResize=!1,this.nodes.forEach(r5))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||it,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),u=!this.targetLayout||!rF(this.targetLayout,r)||n,l=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,l);let e={...nv(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||r5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tz.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
47h(r4),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r1);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(ie),this.potentialNodes.clear()),this.nodes.forEach(r0),this.nodes.forEach(rY),this.nodes.forEach(rX),this.clearAllSnapshots(),tz.S6.update.process(e9.w),tz.S6.preRender.process(e9.w),tz.S6.render.process(e9.w))}clearAllSnapshots(){this.nodes.forEach(rQ),this.sharedNodes.forEach(r6)}scheduleUpdateProjection(){tz.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tz.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){let e=this.path[t];e.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=n6(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!rV(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;t&&(e||re(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),ir((e=r).x),ir(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return n6();let e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(rs(e.x,n.offset.x),rs(e.y,n.offset.y)),e}removeElementScroll(t){let e=n6();rO(e,t);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){rO(e,t);let{scroll:n}=this.root;n&&(rs(e.x,-n.offset.x),rs(e.y,-n.offset.y))}rs(e.x,i.offset.x),rs(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let n=n6();rO(n,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&rf(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),re(r.latestValues)&&rf(n,r.latestValues)}return re(this.latestValues)&&rf(n,this.latestValues),n}removeTransform(t){let e=n6();rO(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!re(n.latestValues))continue;rt(n.latestValues)&&n.updateSnapshot();let r=n6(),i=n.measurePageBox();rO(r,i),rD(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return re(this.latestValues)&&rD(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==e9.w.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=Boolean(this.resumingFrom)||this!==o,s=!(t||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(s)return;let{layout:u,layoutId:l}=this.options;if(this.layout&&(u||l)){if(this.resolvedRelativeTargetAt=e9.w.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=n6(),this.relativeTargetOrigin=n6(),nJ(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rO(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=n6(),this.targetWithTransforms=n6()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,nX(n.x,r.x,i.x),nX(n.y,r.y,i.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):rO(this.target,this.layout.layoutBox),ro(this.target,this.targetDelta)):rO(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=n6(),this.relativeTargetOrigin=n6(),nJ(this.relativeTargetOrigin,this.target,t.target),rO(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}r$.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||rt(this.parent.latestValues)||rn(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===e9.w.timestamp&&(r=!1),r)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;rO(this.layoutCorrected,this.layout.layoutBox),function(t,e,n,r=!1){let i,o;let a=n.length;if(a){e.x=e.y=1;for(let s=0;s<a;s++){o=(i=n[s]).projectionDelta;let a=i.instance;(!a||!a.style||"contents"!==a.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rf(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,ro(t,o)),r&&re(i.latestValues)&&rf(t,i.latestValues))}e.x=ra(e.x),e.y=ra(e.y)}}(this.layoutCorrected,this.treeScale,this.path,n);let{target:a}=e;if(!a)return;this.projectionDelta||(this.projectionDelta=n3(),this.projectionDeltaWithTransform=n3());let s=this.treeScale.x,u=this.treeScale.y,l=this.projectionTransform;nY(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=rU(this.projectionDelta,this.treeScale),(this.projectionTransform!==l||this.treeScale.x!==s||this.treeScale.y!==u)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),r$.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},a=n3();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let s=n6(),u=r?r.source:void 0,l=this.layout?this.layout.source:void 0,c=u!==l,f=this.getStack(),d=!f||f.members.length<=1,h=Boolean(c&&!d&&!0===this.options.crossfade&&!this.path.some(r7));this.animationProgress=0,this.mixTargetDelta=e=>{var r,u;let l=e/1e3;
47r9(a.x,t.x,l),r9(a.y,t.y,l),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nJ(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r=this.relativeTarget,u=this.relativeTargetOrigin,r8(r.x,u.x,s.x,l),r8(r.y,u.y,s.y,l),n&&rF(this.relativeTarget,n)&&(this.isProjectionDirty=!1),n||(n=n6()),rO(n,this.relativeTarget)),c&&(this.animationValues=o,function(t,e,n,r,i,o){i?(t.opacity=eM(0,void 0!==n.opacity?n.opacity:1,r_(r)),t.opacityExit=eM(void 0!==e.opacity?e.opacity:1,0,rA(r))):o&&(t.opacity=eM(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<rE;i++){let o=`border${rC[i]}Radius`,a=rR(e,o),s=rR(n,o);if(void 0===a&&void 0===s)continue;a||(a=0),s||(s=0);let u=0===a||0===s||rS(a)===rS(s);u?(t[o]=Math.max(eM(rk(a),rk(s),r),0),(K.test(s)||K.test(a))&&(t[o]+="%")):t[o]=s}(e.rotate||n.rotate)&&(t.rotate=eM(e.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,l,h,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=l},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tz.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tz.Wi.update(()=>{C.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){let r=P(t)?t:n_(t);return r.start(nb("",r,1e3,n)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&ii(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||n6();let e=nG(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let r=nG(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}rO(e,n),rf(e,i),nY(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rH);let n=this.sharedNodes.get(t);n.add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<rz.length;e++){let i="rotate"+rz[e];n[i]&&(r[i]=n[i],t.setStaticValue(i,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t={}){var e,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tA(t.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tA(t.pointerEvents)||""),this.hasProjected&&!re(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=rU(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));let{x:s,y:u}=this.projectionDelta;for(let t in r.transformOrigin=`${100*s.origin}% ${100*u.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(e=a.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,M){if(void 0===a[t])continue;let{correct:e,applyTo:n}=M[t],i="none"===r.transform?a[t]:e(a[t],o);if(n){let t=n.length;for(let e=0;e<t;e++)r[n[e]]=i}else r[t]=i}return this.options.layoutId&&(r.pointerEvents=o===this?tA(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
47resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(r1),this.root.sharedNodes.clear()}}}function rY(t){t.updateLayout()}function rX(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,o=n.source!==t.layout.source;"size"===i?n9(t=>{let r=o?n.measuredBox[t]:n.layoutBox[t],i=nG(r);r.min=e[t].min,r.max=r.min+i}):ii(i,n.layoutBox,e)&&n9(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],a=nG(e[r]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)});let a=n3();nY(a,e,n.layoutBox);let s=n3();o?nY(s,t.applyTransform(r,!0),n.measuredBox):nY(s,e,n.layoutBox);let u=!rV(a),l=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let a=n6();nJ(a,n.layoutBox,i.layoutBox);let s=n6();nJ(s,e,o.layoutBox),rF(a,s)||(l=!0),r.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:l})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rK(t){r$.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rJ(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rQ(t){t.clearSnapshot()}function r1(t){t.clearMeasurements()}function r0(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function r2(t){t.resolveTargetDelta()}function r3(t){t.calcProjection()}function r4(t){t.resetRotation()}function r6(t){t.removeLeadSnapshot()}function r9(t,e,n){t.translate=eM(e.translate,0,n),t.scale=eM(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function r8(t,e,n,r){t.min=eM(e.min,n.min,r),t.max=eM(e.max,n.max,r)}function r7(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let it={duration:.45,ease:[.4,0,.1,1]};function ie(t,e){let n=t.root;for(let e=t.path.length-1;e>=0;e--)if(Boolean(t.path[e].instance)){n=t.path[e];break}let r=n&&n!==t.root?n.instance:document,i=r.querySelector(`[data-
47projection-id="${e}"]`);i&&t.mount(i,!0)}function ir(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ii(t,e,n){return"position"===t||"preserve-aspect"===t&&!n$(rB(e),rB(n),.2)}let io=rq({attachResizeListener:(t,e)=>tT(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ia={current:void 0},is=rq({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ia.current){let t=new io(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),ia.current=t}return ia.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),iu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function il(t,e,n=1){(0,t3.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,i]=function(t){let e=iu.exec(t);if(!e)return[,];let[,n,r]=e;return[n,r]}(t);if(!r)return;let o=window.getComputedStyle(e).getPropertyValue(r);return o?o.trim():V(i)?il(i,e,n+1):i}let ic=new Set(["width","height","top","left","right","bottom","x","y"]),id=t=>ic.has(t),ih=t=>Object.keys(t).some(id),ip=t=>t===H||t===J,im=(t,e)=>parseFloat(t.split(", ")[e]),ig=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return im(i[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?im(e[1],t):0}},iy=new Set(["x","y","z"]),iv=j.filter(t=>!iy.has(t)),ib={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ig(4,13),y:ig(5,14)},iw=(t,e,n)=>{let r=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach(t=>{s[t]=ib[t](r,o)}),e.render();let u=e.measureViewportBox();return n.forEach(n=>{let r=e.getValue(n);r&&r.jump(s[n]),t[n]=ib[n](u,o)}),t},ix=(t,e,n={},r={})=>{e={...e},r={...r};let i=Object.keys(e).filter(id),o=[],a=!1,s=[];if(i.forEach(i=>{let u;let l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],f=nj(c),d=e[i];if(tS(d)){let t=d.length,e=null===d[0]?1:0;f=nj(c=d[e]);for(let n=e;n<t&&null!==d[n];n++)u?(0,t3.k)(nj(d[n])===u,"All keyframes must be of the same type"):(u=nj(d[n]),(0,t3.k)(u===f||ip(f)&&ip(u),"Keyframes must be of the same dimension as the current value"))}else u=nj(d);if(f!==u){if(ip(f)&&ip(u)){let t=l.get();"string"==typeof t&&l.set(parseFloat(t)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&u===J&&(e[i]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===c||0===d)?0===c?l.set(u.transform(c)):e[i]=f.transform(d):(a||(o=function(t){let e=[];return iv.forEach(n=>{let r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],l.jump(d))}}),!s.length)return{target:e,transitionEnd:r};{let n=s.indexOf("height")>=0?window.pageYOffset:null,i=iw(e,t,s);return o.length&&o.forEach(([e,n])=>{t.getValue(e).set(n)}),t.render(),w.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},iC=(t,e,n,r)=>{var i,o;let a=function(t,{...e},n){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};for(let i in n&&(n={...n}),t.values.forEach(t=>{let e=t.get();if(!V(e))return;let n=il(e,r);n&&t.set(n)}),e){let t=e[i];if(!V(t))continue;let o=il(t,r);o&&(e[i]=o,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return e=a.target,r=a.transitionEnd,i=e,o=r,ih(i)?ix(t,i,n,o):{target:i,transitionEnd:o}},iE={current:null},ik={current:!1},iS=new WeakMap,iR=Object.keys(b),i_=iR.length,iA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iM=p.length;class ij{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tz.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=m(e),this.isVariantNode=g(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:u,...l}=this.scrapeMotionValuesFromProps(e,{});for(let t in l){let e=l[t];void 0!==a[t]&&P(e)&&(e.set(a[t],!1),nw(u)&&u.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,iS.set(t,this),this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
47h((t,e)=>this.bindToMotionValue(e,t)),ik.current||function(){if(ik.current=!0,w.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iE.current=t.matches;t.addListener(e),e()}else iE.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iE.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in iS.delete(this.current),this.projection&&this.projection.unmount(),(0,tz.Pn)(this.notifyUpdate),(0,tz.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let n=O.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tz.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i,o){let a,s;for(let t=0;t<i_;t++){let n=iR[t],{isEnabled:r,Feature:i,ProjectionNode:o,MeasureLayout:u}=b[n];o&&(a=o),r(e)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),u&&(s=u))}if(!this.projection&&a){this.projection=new a(i,this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:n,drag:r,dragConstraints:s,layoutScroll:u,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(r)||s&&c(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:u,layoutRoot:l})}return s}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update(this.props,this.prevProps):(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):n6()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<iA.length;e++){let n=iA[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){let{willChange:r}=e;for(let i in e){let o=e[i],a=n[i];if(P(o))t.addValue(i,o),nw(r)&&r.add(i);else if(P(a))t.addValue(i,n_(o,{owner:t})),nw(r)&&r.remove(i);else if(a!==o){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(o)}else{let e=t.getStaticValue(i);t.addValue(i,n_(void 0!==e?e:o,{owner:t}))}}}for(let r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<iM;t++){let n=p[t],r=this.props[n];(f(r)||!1===r)&&(e[n]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=n_(e,{owner:this}),this.addValue(t,n)),n}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=tk(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||P(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new nk),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class iO extends ij{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},i){let o=function(t,e,n){let r={};for(let i in t){let t=function(t,e){if(!e)return;let n=e[t]||e.default||e;return n.from}(i,e);if(void 0!==t)r[i]=t;else{let t=n.getValue(i);t&&(r[i]=t.get())}}return r}(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),o&&(o=r(o))),i){!function(t,e,n){var r,i;let o=Object.keys(e).filter(e=>!t.hasValue(e)),a=o.length;if(a)for(let s=0;s<a;s++){let a=o[s],u=e[a],l=null;Array.isArray(u)&&(l=u[0]),null===l&&(l=null!==(i=null!==(r=n[a])&&void 0!==r?r:t.readValue(a))&&void 0!==i?i:e[a]),null!=l&&("string"==typeof l&&(nx(l)||ny(l))?l=parseFloat(l):!nT(l)&&eW.test(u)&&(l=ng(a,u)),t.addValue(a,n_(l,{owner:t})),void 0===n[a]&&(n[a]=l),null!==l&&t.setBaseTarget(a,l))}}(this,n,o);let t=iC(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class iT extends iO{readValueFromInstance(t,e){if(O.has(e)){let t=nm(e);return t&&t.default||0}{let n=window.getComputedStyle(t),r=(N(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rd(t,e)}build(t,e,n,r){ti(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tC(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;P(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,n,r){tb(t,e,n,r)}}class iP extends iO{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(O.has(e)){let t=nm(e);return t&&t.default||0}return e=tw.has(e)?e:tv(e),t.getAttribute(e)}measureInstanceViewportBox(){return n6()}scrapeMotionValuesFromProps(t,e){return tE(t,e)}build(t,e,n,r){tp(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){tx(t,e,n,r)}mount(t){this.isSVGTag=tg(t.tagName),super.mount(t)}}let iL=(t,e)=>A(t)?new iP(e,{enableHardwareAcceleration:!1}):new iT(e,{enableHardwareAcceleration:!0}),iI={animation:{Feature:class extends tW{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){let i=e.map(e=>nL(t,e,n));r=Promise.all(i)}else if("string"==typeof e)r=nL(t,e,n);else{let i="function"==typeof e?t5(t,e,n.custom):e;r=Promise.all(nP(t,i,n))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,n))),n={animate:nV(!0),whileInView:nV(),whileHover:nV(),whileTap:nV(),whileDrag:nV(),whileFocus:nV(),exit:nV()},r=!0,i=(e,n)=>{let r=t5(t,n);if(r){let{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function o(o,a){let s=t.getProps(),u=t.getVariantContext(!0)||{},l=[],c=new Set,h={},p=1/0;for(let e=0;e<nN;e++){var m;let g=nD[e],y=n[g],v=void 0!==s[g]?s[g]:u[g],b=f(v),w=g===a?y.isActive:null;!1===w&&(p=e);let x=v===u[g]&&v!==s[g]&&b;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),y.protectedKeys={...h},!y.isActive&&null===w||!v&&!y.prevProp||d(v)||"boolean"==typeof v)continue;let C=(m=y.prevProp,"string"==typeof v?v!==m:!!Array.isArray(v)&&!t0(v,m)),E=C||g===a&&y.isActive&&!x&&b||e>p&&b,k=Array.isArray(v)?v:[v],S=k.reduce(i,{});!1===w&&(S={});let{prevResolvedValues:R={}}=y,_={...R,...S},A=t=>{E=!0,c.delete(t),y.needsAnimating[t]=!0}
47;for(let t in _){let e=S[t],n=R[t];h.hasOwnProperty(t)||(e!==n?tS(e)&&tS(n)?!t0(e,n)||C?A(t):y.protectedKeys[t]=!0:void 0!==e?A(t):c.add(t):void 0!==e&&c.has(t)?A(t):y.protectedKeys[t]=!0)}y.prevProp=v,y.prevResolvedValues=S,y.isActive&&(h={...h,...S}),r&&t.blockInitialAnimation&&(E=!1),E&&!x&&l.push(...k.map(t=>({animation:t,options:{type:g,...o}})))}if(c.size){let e={};c.forEach(n=>{let r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)}),l.push({animation:e})}let g=Boolean(l.length);return r&&!1===s.initial&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r;let s=o(i,e);for(let t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),d(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends tW{constructor(){super(...arguments),this.id=nF++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends tW{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:t1[r]},a=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=e?n:r;o&&o(t)};return function(t,e,n){let r=function({root:t,...e}){let n=t||document;tK.has(n)||tK.set(n,{});let r=tK.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(tQ,{root:t,...e})),r[i]}(e);return tX.set(t,n),r.observe(t),()=>{tX.delete(t),r.unobserve(t)}}(this.node.current,o,a)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends tW{constructor(){super(...arguments),this.removeStartListeners=tq.Z,this.removeEndListeners=tq.Z,this.removeAccessibleListeners=tq.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;let n=this.node.getProps(),r=(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r}=this.node.getProps();tz.Wi.update(()=>{t$(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)})},i=tD(window,"pointerup",r,{passive:!(n.onTap||n.onPointerUp)}),o=tD(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=tV(i,o),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&tY("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&tz.Wi.update(()=>n(t,e))})};this.removeEndListeners(),this.removeEndListeners=tT(this.node.current,"keyup",e),tY("down",(t,e)=>{this.startPress(t,e)})},e=tT(this.node.current,"keydown",t),n=()=>{this.isPressing&&tY("cancel",(t,e)=>this.cancelPress(t,e))},r=tT(this.node.current,"blur",n);this.removeAccessibleListeners=tV(e,r)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&tz.Wi.update(()=>n(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tZ()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();
47n&&tz.Wi.update(()=>n(t,e))}mount(){let t=this.node.getProps(),e=tD(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=tT(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tV(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends tW{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tV(tT(this.node.current,"focus",()=>this.onFocus()),tT(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends tW{mount(){this.unmount=tV(tG(this.node,!0),tG(this.node,!1))}unmount(){}}},pan:{Feature:class extends tW{constructor(){super(...arguments),this.removePointerDownListener=tq.Z}onPointerDown(t){this.session=new nH(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rg(t),onStart:rg(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&tz.Wi.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=tD(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends tW{constructor(t){super(t),this.removeGroupControls=tq.Z,this.removeListeners=tq.Z,this.controls=new rp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tq.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:is,MeasureLayout:rw},layout:{ProjectionNode:is,MeasureLayout:rw}},iD=function(t){function e(e,n={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:d}){t&&function(t){for(let e in t)b[e]={...b[e],...t[e]}}(t);let h=(0,i.forwardRef)(function(h,p){var g,v;let b;let R={...(0,i.useContext)(o),...h,layoutId:function({layoutId:t}){let e=(0,i.useContext)(k.p).id;return e&&void 0!==t?e+"-"+t:t}(h)},{isStatic:_}=R,A=function(t){let{initial:e,animate:n}=function(t,e){if(m(t)){let{initial:e,animate:n}=t;return{initial:!1===e||f(e)?e:void 0,animate:f(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(a));return(0,i.useMemo)(()=>({initial:e,animate:n}),[y(e),y(n)])}(h),M=_?void 0:(0,x.h)(()=>{if(C.hasEverUpdated)return E++}),j=r(h,_);if(!_&&w.j){A.visualElement=function(t,e,n,r){let{visualElement:c}=(0,i.useContext)(a),f=(0,i.useContext)(l),d=(0,i.useContext)(s.O),h=(0,i.useContext)(o).reducedMotion,p=(0,i.useRef)();r=r||f.renderer,!p.current&&r&&(p.current=r(t,{visualState:e,parent:c,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:h}));let m=p.current;(0,i.useInsertionEffect)(()=>{m&&m.update(n,d)}),(0,u.L)(()=>{m&&m.render()}),(0,i.useEffect)(()=>{m&&m.updateFeatures()});let g=window.HandoffAppearAnimations?u.L:i.useEffect;return g(()=>{m&&m.animationState&&m.animationState.animateChanges()}),m}(d,j,R,e);let n=(0,i.useContext)(S),r=(0,i.useContext)(l).strict;A.visualElement&&(b=A.visualElement.loadFeatures(R,r,t,M,n))}return i.createElement(a.Provider,{value:A},b&&A.visualElement?i.createElement(b,{visualElement:A.visualElement,...R}):null,n(d,h,M,(g=A.visualElement,v=p,(0,i.useCallback)(t=>{t&&j.mount&&j.mount(t),g&&(t?g.mount(t):g.unmount()),v&&("function"==typeof v?v(t):c(v)&&(v.current=t))},[g])),j,_,A.visualElement))});return h[R]=d,h}(t(e,n))}if("undefined"==typeof Proxy)return e;let n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},n,r){let o=A(t)?tj:tO;return{...o,preloadedFeatures:n,useRender:function(t=!1){let e=(e,n,r,o,{latestValues:a},s)=>{let u=A(e)?ty:ts,l=u(n,a,s,e),c=function(t,e,n){let r={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(tc(i)||!0===n&&tl(i)||!e&&!tl(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),f={...c,...l,ref:o},{children:d}=n,h=(0,i.useMemo)(()=>P(d)?d.get():d,[d]);return r&&(f["data-projection-id"]=r),(0,i.createElement)(e,{...f,children:h})};return e}(e),createVisualElement:r,Component:t}})(t,e,iI,iL))},98890:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return o}});var r=n(38915);let i=r.Z,o=r.Z},94090:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});let r="undefined"!=typeof document},38915:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});let r=t=>t},4551:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(67294);function i(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},5810:function(t,e,n){"use strict";n.d(e,{L:function(){return o}});var r=n(67294),i=n(94090);let o=i.j?r.useLayoutEffect:r.useEffect},31880:function(t,e,n){"use strict";n.d(e,{M:function(){return y}});var r=n(70655),i=n(67294),o=n(44265),a=n(54735),s=n(24423);function u(){var t=(0,i.useRef)(!1);return(0,s.L)(function(){return t.current=!0,function(){t.current=!1}},[]),t}var l=n(41782),c=n(4804),f=n(75012),d=function(t){var e=t.children,n=t.initial,o=t.isPresent,a=t.onExitComplete,s=t.custom,u=t.presenceAffectsLayout,d=(0,c.h)(h),p=(0,f.M)(),m=(0,i.useMemo)(function(){return{id:p,initial:n,isPresent:o,custom:s,onExitComplete:function(t){var e,n;d.set(t,!0);try{for(var i=(0,r.XA)(d.values()),o=i.next();!o.done;o=i.next())if(!o.value)return}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}null==a||a()},register:function(t){return d.set(t,!1),function(){return d.delete(t)}}}},u?void 0:[o]);return(0,i.useMemo)(function(){d.forEach(function(t,e){return d.set(e,!1)})},[o]),i.useEffect(function(){o||d.size||null==a||a()},[o]),i.createElement(l.O.Provider,{value:m},e)};function h(){return new Map}var p=n(94453),m=n(4522),g=function(t){return t.key||""},y=function(t){var e,n,l,c,f,h,y=t.children,v=t.custom,b=t.initial,w=void 0===b||b,x=t.onExitComplete,C=t.exitBeforeEnter,E=t.presenceAffectsLayout,k=void 0===E||E,S=(0,r.CR)((e=u(),l=(n=(0,r.CR)((0,i.useState)(0),2))[0],c=n[1],f=(0,i.useCallback)(function(){e.current&&c(l+1)},[l]),[(0,i.useCallback)(function(){return a.ZP.postRender(f)},[f]),l]),1)[0],R=(0,i.useContext)(p.p).forceRender;R&&(S=R);
47var _=u(),A=(h=[],i.Children.forEach(y,function(t){(0,i.isValidElement)(t)&&h.push(t)}),h),M=A,j=new Set,O=(0,i.useRef)(M),T=(0,i.useRef)(new Map).current,P=(0,i.useRef)(!0);if((0,s.L)(function(){P.current=!1,function(t,e){t.forEach(function(t){var n=g(t);e.set(n,t)})}(A,T),O.current=M}),(0,m.z)(function(){P.current=!0,T.clear(),j.clear()}),P.current)return i.createElement(i.Fragment,null,M.map(function(t){return i.createElement(d,{key:g(t),isPresent:!0,initial:!!w&&void 0,presenceAffectsLayout:k},t)}));M=(0,r.ev)([],(0,r.CR)(M),!1);for(var L=O.current.map(g),I=A.map(g),D=L.length,N=0;N<D;N++){var V=L[N];-1===I.indexOf(V)&&j.add(V)}return C&&j.size&&(M=[]),j.forEach(function(t){if(-1===I.indexOf(t)){var e=T.get(t);if(e){var n=L.indexOf(t);M.splice(n,0,i.createElement(d,{key:g(e),isPresent:!1,onExitComplete:function(){T.delete(t),j.delete(t);var e=O.current.findIndex(function(e){return e.key===t});if(O.current.splice(e,1),!j.size){if(O.current=A,!1===_.current)return;S(),x&&x()}},custom:v,presenceAffectsLayout:k},e))}}}),M=M.map(function(t){var e=t.key;return j.has(e)?t:i.createElement(d,{key:g(t),isPresent:!0,presenceAffectsLayout:k},t)}),"production"!==o.O&&C&&M.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,j.size?M:M.map(function(t){return(0,i.cloneElement)(t)}))}},94453:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var r=(0,n(67294).createContext)({})},41782:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var r=(0,n(67294).createContext)(null)},57627:function(t,e,n){"use strict";n.d(e,{E:function(){return iX}});var r,i,o,a,s,u=n(70655),l=n(67294),c=n(44265),f=function(t){return{isEnabled:function(e){return t.some(function(t){return!!e[t]})}}},d={measureLayout:f(["layout","layoutId","drag"]),animation:f(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:f(["exit"]),drag:f(["drag","dragControls"]),focus:f(["whileFocus"]),hover:f(["whileHover","onHoverStart","onHoverEnd"]),tap:f(["whileTap","onTap","onTapStart","onTapCancel"]),pan:f(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:f(["whileInView","onViewportEnter","onViewportLeave"])},h=function(){},p=function(){},m=(0,l.createContext)({strict:!1}),g=Object.keys(d),y=g.length,v=(0,l.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),b=(0,l.createContext)({}),w=n(41782),x=n(24423),C=n(43418),E={current:null},k=!1;function S(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function R(t){return Array.isArray(t)}function _(t){return"string"==typeof t||R(t)}function A(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function M(t,e,n){var r,i,o=t.getProps();return A(o,e,null!=n?n:o.custom,(r={},t.forEachValue(function(t,e){return r[e]=t.get()}),r),(i={},t.forEachValue(function(t,e){return i[e]=t.getVelocity()}),i))}function j(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||_(t.initial)||_(t.animate)||_(t.whileHover)||_(t.whileDrag)||_(t.whileTap)||_(t.whileFocus)||_(t.exit)}function O(t){return Boolean(j(t)||t.variants)}function T(t){return Array.isArray(t)?t.join(" "):t}var P=n(4804),L={hasAnimatedSinceResize:!0,hasEverUpdated:!1},I=1,D=n(94453),N=(0,l.createContext)({}),V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,u.ZT)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(l.Component),F=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function B(t){if("string"!=typeof t||t.includes("-"));else if(F.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var H={},U=["","X","Y","Z"],Z=["transformPerspective","x","y","z"];function W(t,e){return Z.indexOf(t)-Z.indexOf(e)}["translate","scale","rotate","skew"].forEach(function(t){return U.forEac
47h(function(e){return Z.push(t+e)})});var z=new Set(Z);function G(t){return z.has(t)}var $=new Set(["originX","originY","originZ"]);function q(t,e){var n=e.layout,r=e.layoutId;return G(t)||$.has(t)||(n||void 0!==r)&&(!!H[t]||"opacity"===t)}var Y=function(t){return Boolean(null!==t&&"object"==typeof t&&t.getVelocity)},X={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function K(t){return t.startsWith("--")}let J=(t,e)=>n=>Math.max(Math.min(n,e),t),Q=t=>t%1?Number(t.toFixed(5)):t,tt=/(-)?([\d]*\.?[\d])+/g,te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tn=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function tr(t){return"string"==typeof t}let ti=t=>({test:e=>tr(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),to=ti("deg"),ta=ti("%"),ts=ti("px"),tu=ti("vh"),tl=ti("vw"),tc=Object.assign(Object.assign({},ta),{parse:t=>ta.parse(t)/100,transform:t=>ta.transform(100*t)}),tf={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},td=Object.assign(Object.assign({},tf),{transform:J(0,1)}),th=Object.assign(Object.assign({},tf),{default:1});var tp=(0,u.pi)((0,u.pi)({},tf),{transform:Math.round}),tm={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,size:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,rotate:to,rotateX:to,rotateY:to,rotateZ:to,scale:th,scaleX:th,scaleY:th,scaleZ:th,skew:to,skewX:to,skewY:to,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:td,originX:tc,originY:tc,originZ:ts,zIndex:tp,fillOpacity:td,strokeOpacity:td,numOctaves:tp};function tg(t,e,n,r){var i,o,a,s,u=t.style,l=t.vars,c=t.transform,f=t.transformKeys,d=t.transformOrigin;f.length=0;var h=!1,p=!1,m=!0;for(var g in e){var y,v=e[g];if(K(g)){l[g]=v;continue}var b=tm[g],w=b&&"number"==typeof v?b.transform(v):v;if(G(g)){if(h=!0,c[g]=w,f.push(g),!m)continue;v!==(null!==(s=b.default)&&void 0!==s?s:0)&&(m=!1)}else(y=g,$.has(y))?(d[g]=w,p=!0):u[g]=w}h?u.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,a=e.enableHardwareAcceleration,s=e.allowTransformNone,u="";o.sort(W);for(var l=!1,c=o.length,f=0;f<c;f++){var d=o[f];u+="".concat(X[d]||d,"(").concat(i[d],") "),"z"===d&&(l=!0)}return!l&&(void 0===a||a)?u+="translateZ(0)":u=u.trim(),r?u=r(i,n?"":u):(void 0===s||s)&&n&&(u="none"),u}(t,n,m,r):r?u.transform=r({},""):!e.transform&&u.transform&&(u.transform="none"),p&&(u.transformOrigin=(i=d.originX,o=d.originY,a=d.originZ,"".concat(void 0===i?"50%":i," ").concat(void 0===o?"50%":o," ").concat(void 0===a?0:a)))}var ty=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function tv(t,e,n){for(var r in e)Y(e[r])||q(r,n)||(t[r]=e[r])}function tb(t,e,n){var r,i,o={},a=(tv(r={},t.style||{},t),Object.assign(r,(i=t.transformTemplate,(0,l.useMemo)(function(){var t=ty();tg(t,e,{enableHardwareAcceleration:!n},i);var r=t.vars,o=t.style;return(0,u.pi)((0,u.pi)({},r),o)},[e]))),t.transformValues&&(r=t.transformValues(r)),r);return Boolean(t.drag)&&!1!==t.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),o.style=a,o}var tw=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function tx(t){return tw.has(t)}var tC=function(t){return!tx(t)};try{(r=require("@emotion/is-prop-valid").default)&&(tC=function(t){return t.startsWith("on")?!tx(t):r(t)})}catch(t){}function tE(t,e,n){return"string"==typeof t?t:ts.transform(e+n*t)}var tk={offset:"stroke-dashoffset",array:"stroke-dasharray"},tS={offset:"strokeDashoffset",array:"strokeDasharray"};function tR(t,e,n,r){var i,o,a,s,l,c,f,d,h,p=e.attrX,m=e.attrY,g=e.originX,y=e.originY,v=e.pathLength,b=e.pathSpacing,w=e.pathOffset;tg(t,(0,u._T)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),t.attrs=t.style,t.style={};var x=t.attrs,C=t.style,E=t.dimensions;x.transform&&(E&&(C.transform=x.transform),delete x.transform),E&&(void 0!==g||void 0!==y||C.transform)&&(C.transformOrigin=(i=tE(void 0!==g?g:.5,E.x,E.width),o=tE(void 0!==y?y:.5,E.y,E.height),"".concat(i," ").concat(o))),void 0!==p&&(x.x=p),void 0!==m&&(x.y=m),void 0!==v&&(a=x,c=!1,void 0===(s=void 0===b?1:b)&&(s=1),void 0===(l=void 0===w?0:w)&&(l=0),void 0===c&&(c=!0),a.pathLength=1,a[(f=c?tk:tS).offset]=ts.transform(-l),d=ts.transform(v),h=ts.transform(s),a[f.array]="".concat(d," ").concat(h))}var t_=function(){return(0,u.pi)((0,u.pi)({},ty()),{attrs:{}})};function tA(t,e){var n=(0,l.useMemo)(function(){var n=t_();return tR(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,u.pi)((0,u.pi)({},n.attrs),{style:(0,u.pi)({},n.style)})},[e]);if(t.style){var r={};tv(r,t.style,t),n.style=(0,u.pi)((0,u.pi)({},r),n.style)}return n}var tM=/([a-z])([A-Z])/g,tj=function(t){return t.replace(tM,"$1-$2").toLowerCase()};function tO(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}var tT=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function tP(t,e,n,r){for(var i in tO(t,e,void 0,r),e.attrs)t.setAttribute(tT.has(i)?i:tj(i),e.attrs[i])}function tL(t){var e=t.style,n={};for(var r in e)(Y(e[r])||q(r,t))&&(n[r]=e[r]);return n}function tI(t){var e=tL(t);for(var n in t)Y(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}function tD(t){return"object"==typeof t&&"function"==typeof t.start}
47var tN=function(t){return Array.isArray(t)},tV=function(t){return tN(t)?t[t.length-1]||0:t};function tF(t){var e=Y(t)?t.get():t;return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)?e.toValue():e}function tB(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,s={latestValues:function(t,e,n,r){var i={},o=(null==n?void 0:n.initial)===!1,a=r(t);for(var s in a)i[s]=tF(a[s]);var l=t.initial,c=t.animate,f=j(t),d=O(t);e&&d&&!f&&!1!==t.inherit&&(null!=l||(l=e.initial),null!=c||(c=e.animate));var h=o||!1===l,p=h?c:l;return p&&"boolean"!=typeof p&&!tD(p)&&(Array.isArray(p)?p:[p]).forEach(function(e){var n=A(t,e);if(n){var r=n.transitionEnd;n.transition;var o=(0,u._T)(n,["transitionEnd","transition"]);for(var a in o){var s=o[a];if(Array.isArray(s)){var l=h?s.length-1:0;s=s[l]}null!==s&&(i[a]=s)}for(var a in r)i[a]=r[a]}}),i}(e,n,r,i),renderState:o()};return a&&(s.mount=function(t){return a(e,t,s)}),s}var tH=function(t){return function(e,n){var r=(0,l.useContext)(b),i=(0,l.useContext)(w.O);return n?tB(t,e,r,i):(0,P.h)(function(){return tB(t,e,r,i)})}},tU={useVisualState:tH({scrapeMotionValuesFromProps:tI,createRenderState:t_,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}tR(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),tP(e,r)}})},tZ={useVisualState:tH({scrapeMotionValuesFromProps:tL,createRenderState:ty})};function tW(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function tz(t,e,n,r){(0,l.useEffect)(function(){var i=t.current;if(n&&i)return tW(i,e,n,r)},[t,e,n,r])}function tG(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}(i=a||(a={})).Animate="animate",i.Hover="whileHover",i.Tap="whileTap",i.Drag="whileDrag",i.Focus="whileFocus",i.InView="whileInView",i.Exit="exit";var t$={pageX:0,pageY:0};function tq(t,e){var n,r,i;return void 0===e&&(e="page"),{point:t.touches?(void 0===(n=e)&&(n="page"),{x:(r=t.touches[0]||t.changedTouches[0]||t$)[n+"X"],y:r[n+"Y"]}):(void 0===(i=e)&&(i="page"),{x:t[i+"X"],y:t[i+"Y"]})}}var tY=function(t,e){void 0===e&&(e=!1);var n=function(e){return t(e,tq(e))};return e?function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}:n},tX={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tK={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function tJ(t){if(C.j&&null===window.onpointerdown);else if(C.j&&null===window.ontouchstart)return tK[t];else if(C.j&&null===window.onmousedown)return tX[t];return t}function tQ(t,e,n,r){return tW(t,tJ(e),tY(n,"pointerdown"===e),r)}function t1(t,e,n,r){return tz(t,tJ(e),n&&tY(n,"pointerdown"===e),r)}function t0(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var t5=t0("dragHorizontal"),t2=t0("dragVertical");function t3(t){var e=!1;if("y"===t)e=t2();else if("x"===t)e=t5();else{var n=t5(),r=t2();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function t4(){var t=t3(!0);return!t||(t(),!1)}function t6(t,e,n){return function(r,i){var o;!tG(r)||t4()||(null===(o=t.animationState)||void 0===o||o.setActive(a.Hover,e),null==n||n(r,i))}}var t9=function(t,e){return!!e&&(t===e||t9(t,e.parentElement))},t8=n(4522);let t7=(t,e)=>n=>e(t(n)),et=(...t)=>t.reduce(t7);var ee=new Set,en=new WeakMap,er=new WeakMap,ei=function(t){var e;null===(e=en.get(t.target))||void 0===e||e(t)},eo=function(t){t.forEach(ei)},ea={some:0,all:1};function es(t,e,n,r){var i=r.root,o=r.margin,s=r.amount,c=void 0===s?"some":s,f=r.once;(0,l.useEffect)(function(){if(t){var r,s,l,d,h,p,m,g={root:null==i?void 0:i.current,rootMargin:o,threshold:"number"==typeof c?c:ea[c]};return r=n.getInstance(),s=g.root,l=(0,u._T)(g,["root"]),d=s||document,er.has(d)||er.set(d,{}),(h=er.get(d))[p=JSON.stringify(l)]||(h[p]=new IntersectionObserver(eo,(0,u.pi)({root:s},l))),m=h[p],en.set(r,function(t){var r,i=t.isIntersecting;if(e.isInView!==i){if(e.isInView=i,f&&!i&&e.hasEnteredView)return;i&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(a.InView,i);var o=n.getProps(),s=i?o.onViewportEnter:o.onViewportLeave;null==s||s(t)}}),m.observe(r),function(){en.delete(r),m.unobserve(r)}}},[t,i,o,c])}function eu(t,e,n,r){var i=r.fallback,o=void 0===i||i;(0,l.useEffect)(function(){if(t&&o){if("production"!==c.O){var r,i;r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",ee.has(r)||(console.warn(r),i&&console.warn(i),ee.add(r))}requestAnimationFrame(function(){e.hasEnteredView=!0;var t,r=n.getProps().onViewportEnter;null==r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(a.InView,!0)})}},[t])}var el=function(t){return function(e){return t(e),null}},ec={inView:el(function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,i=t.onViewportLeave,o=t.viewport,a=void 0===o?{}:o,s=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(n||r||i);
47a.once&&s.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?eu:es)(u,s.current,e,a)}),tap:el(function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,i=t.whileTap,o=t.visualElement,s=(0,l.useRef)(!1),u=(0,l.useRef)(null),c={passive:!(n||e||r||m)};function f(){var t;null===(t=u.current)||void 0===t||t.call(u),u.current=null}function d(){var t;return f(),s.current=!1,null===(t=o.animationState)||void 0===t||t.setActive(a.Tap,!1),!t4()}function h(t,n){d()&&(t9(o.getInstance(),t.target)?null==e||e(t,n):null==r||r(t,n))}function p(t,e){d()&&(null==r||r(t,e))}function m(t,e){var r;f(),s.current||(s.current=!0,u.current=et(tQ(window,"pointerup",h,c),tQ(window,"pointercancel",p,c)),null===(r=o.animationState)||void 0===r||r.setActive(a.Tap,!0),null==n||n(t,e))}t1(o,"pointerdown",e||n||r||i?m:void 0,c),(0,t8.z)(f)}),focus:el(function(t){var e=t.whileFocus,n=t.visualElement;tz(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(a.Focus,!0)}:void 0),tz(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(a.Focus,!1)}:void 0)}),hover:el(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;t1(i,"pointerenter",e||r?t6(i,!0,e):void 0,{passive:!e}),t1(i,"pointerleave",n||r?t6(i,!1,n):void 0,{passive:!n})})},ef=n(75012);function ed(){var t=(0,l.useContext)(w.O);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=(0,ef.M)();return(0,l.useEffect)(function(){return r(i)},[]),!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function eh(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}let ep=(t,e,n)=>Math.min(Math.max(n,t),e);function em(t,e){return t*Math.sqrt(1-e*e)}let eg=["duration","bounce"],ey=["stiffness","damping","mass"];function ev(t,e){return e.some(e=>void 0!==t[e])}function eb(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:i}=t,o=(0,u._T)(t,["from","to","restSpeed","restDelta"]);let a={done:!1,value:e},{stiffness:s,damping:l,mass:c,velocity:f,duration:d,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!ev(t,ey)&&ev(t,eg)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;h(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=ep(.05,1,a),t=ep(.01,10,t/1e3),a<1?(i=e=>{let r=e*a,i=r*t,o=em(e,a);return .001-(r-n)/o*Math.exp(-i)},o=e=>{let r=e*a,o=r*t,s=Math.pow(a,2)*Math.pow(e,2)*t,u=em(Math.pow(e,2),a),l=-i(e)+.001>0?-1:1;return l*((o*n+n-s)*Math.exp(-o))/u}):(i=e=>{let r=Math.exp(-e*t),i=(e-n)*t+1;return -.001+r*i},o=e=>{let r=Math.exp(-e*t),i=(n-e)*(t*t);return r*i});let s=5/t,u=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,s);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(o),m=ew,g=ew;function y(){let t=f?-(f/1e3):0,r=n-e,o=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){let e=em(a,o);m=i=>n-Math.exp(-o*a*i)*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i)),g=n=>{let i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)m=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{let e=a*Math.sqrt(o*o-1);m=i=>{let s=Math.min(e*i,300);return n-Math.exp(-o*a*i)*((t+o*a*r)*Math.sinh(s)+e*r*Math.cosh(s))/e}}}return y(),{next:t=>{let e=m(t);if(p)a.done=t>=d;else{let o=1e3*g(t),s=Math.abs(n-e)<=i;a.done=Math.abs(o)<=r&&s}return a.value=a.done?n:e,a},flipTarget:()=>{f=-f,[e,n]=[n,e],y()}}}eb.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let ew=t=>0,ex=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},eC=(t,e,n)=>-n*t+n*e+t,eE=(t,e)=>n=>Boolean(tr(n)&&tn.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),ek=(t,e,n)=>r=>{if(!tr(r))return r;let[i,o,a,s]=r.match(tt);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eS=J(0,255),eR=Object.assign(Object.assign({},tf),{transform:t=>Math.round(eS(t))}),e_={test:eE("rgb","red"),parse:ek("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+eR.transform(t)+", "+eR.transform(e)+", "+eR.transform(n)+", "+Q(td.transform(r))+")"},eA={test:eE("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
47a:i?parseInt(i,16)/255:1}},transform:e_.transform},eM={test:eE("hsl","hue"),parse:ek("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+ta.transform(Q(e))+", "+ta.transform(Q(n))+", "+Q(td.transform(r))+")"};function ej(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eO({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=ej(s,r,t+1/3),o=ej(s,r,t),a=ej(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let eT=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eP=[eA,e_,eM],eL=t=>eP.find(e=>e.test(t)),eI=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,eD=(t,e)=>{let n=eL(t),r=eL(e);p(!!n,eI(t)),p(!!r,eI(e));let i=n.parse(t),o=r.parse(e);n===eM&&(i=eO(i),n=e_),r===eM&&(o=eO(o),r=e_);let a=Object.assign({},i);return t=>{for(let e in a)"alpha"!==e&&(a[e]=eT(i[e],o[e],t));return a.alpha=eC(i.alpha,o.alpha,t),n.transform(a)}},eN={test:t=>e_.test(t)||eA.test(t)||eM.test(t),parse:t=>e_.test(t)?e_.parse(t):eM.test(t)?eM.parse(t):eA.parse(t),transform:t=>tr(t)?t:t.hasOwnProperty("red")?e_.transform(t):eM.transform(t)},eV="${c}",eF="${n}";function eB(t){"number"==typeof t&&(t=`${t}`);let e=[],n=0,r=t.match(te);r&&(n=r.length,t=t.replace(te,eV),e.push(...r.map(eN.parse)));let i=t.match(tt);return i&&(t=t.replace(tt,eF),e.push(...i.map(tf.parse))),{values:e,numColors:n,tokenised:t}}function eH(t){return eB(t).values}function eU(t){let{values:e,numColors:n,tokenised:r}=eB(t),i=e.length;return t=>{let e=r;for(let r=0;r<i;r++)e=e.replace(r<n?eV:eF,r<n?eN.transform(t[r]):Q(t[r]));return e}}let eZ=t=>"number"==typeof t?0:t,eW={test:function(t){var e,n,r,i;return isNaN(t)&&tr(t)&&(null!==(n=null===(e=t.match(tt))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(te))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:eH,createTransformer:eU,getAnimatableNone:function(t){let e=eH(t),n=eU(t);return n(e.map(eZ))}},ez=t=>"number"==typeof t;function eG(t,e){return ez(t)?n=>eC(t,e,n):eN.test(t)?eD(t,e):eX(t,e)}let e$=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>eG(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},eq=(t,e)=>{let n=Object.assign(Object.assign({},t),e),r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=eG(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}};function eY(t){let e=eW.parse(t),n=e.length,r=0,i=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:void 0!==e[t].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}let eX=(t,e)=>{let n=eW.createTransformer(e),r=eY(t),i=eY(e),o=r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers;return o?et(e$(r.parsed,i.parsed),n):(h(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)},eK=(t,e)=>n=>eC(t,e,n);function eJ(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;p(o===e.length,"Both input and output ranges must be the same length"),p(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let a=function(t,e,n){var r;let i=[],o=n||("number"==typeof(r=t[0])?eK:"string"==typeof r?eN.test(r)?eD:eX:Array.isArray(r)?e$:"object"==typeof r?eq:void 0),a=t.length-1;for(let n=0;n<a;n++){let r=o(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]:e;r=et(t,r)}i.push(r)}return i}(e,r,i),s=2===o?function([t,e],[n]){return r=>n(ex(t,e,r))}(t,a):function(t,e){let n=t.length,r=n-1;return i=>{let o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i)&&e!==r;e++);o=e-1}let s=ex(t[o],t[o+1],i);return e[o](s)}}(t,a);return n?e=>s(ep(t[0],t[o-1],e)):s}let eQ=t=>e=>1-t(1-e),e1=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,e0=t=>e=>e*e*((t+1)*e-t),e5=4/11,e2=8/11,e3=t=>t,e4=t=>Math.pow(t,2),e6=eQ(e4),e9=e1(e4),e8=t=>1-Math.sin(Math.acos(t)),e7=eQ(e8),nt=e1(e7),ne=e0(1.525),nn=eQ(ne),nr=e1(ne),ni=(t=>{let e=e0(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(0),no=4356/361,na=35442/1805,ns=16061/1805,nu=t=>
47{if(1===t||0===t)return t;let e=t*t;return t<e5?7.5625*e:t<e2?9.075*e-9.9*t+3.4:t<.9?no*e-na*t+ns:10.8*t*t-20.52*t+10.72},nl=eQ(nu),nc=t=>t<.5?.5*(1-nu(1-2*t)):.5*nu(2*t-1)+.5;function nf({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){let o={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=(r&&r.length===a.length?r:function(t){let e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a)).map(t=>t*i);function u(){return eJ(s,a,{ease:Array.isArray(n)?n:a.map(()=>n||e9).splice(0,a.length-1)})}let l=u();return{next:t=>(o.value=l(t),o.done=t>=i,o),flipTarget:()=>{a.reverse(),l=u()}}}let nd={keyframes:nf,spring:eb,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:e},s=n*t,u=e+s,l=void 0===o?u:o(u);return l!==u&&(s=l-e),{next:t=>{let e=-s*Math.exp(-t/r);return a.done=!(e>i||e<-i),a.value=a.done?l:l+e,a},flipTarget:()=>{}}}};var nh=n(54735);function np(t,e,n=0){return t-e-n}let nm=t=>{let e=({delta:e})=>t(e);return{start:()=>nh.ZP.update(e,!0),stop:()=>nh.qY.update(e)}};function ng(t){let e,n,r;var i,{from:o,autoplay:a=!0,driver:s=nm,elapsed:l=0,repeat:c=0,repeatType:f="loop",repeatDelay:d=0,onPlay:h,onStop:p,onComplete:m,onRepeat:g,onUpdate:y}=t,v=(0,u._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=v,w=0,x=v.duration,C=!1,E=!0,k=function(t){if(Array.isArray(t.to))return nf;if(nd[t.type])return nd[t.type];let e=new Set(Object.keys(t));if(e.has("ease")||e.has("duration")&&!e.has("dampingRatio"));else if(e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta"))return eb;return nf}(v);(null===(i=k.needsInterpolation)||void 0===i?void 0:i.call(k,o,b))&&(r=eJ([0,100],[o,b],{clamp:!1}),o=0,b=100);let S=k(Object.assign(Object.assign({},v),{from:o,to:b}));return a&&(null==h||h(),(e=s(function(t){if(E||(t=-t),l+=t,!C){let t=S.next(Math.max(0,l));n=t.value,r&&(n=r(n)),C=E?t.done:l<=0}if(null==y||y(n),C){if(0===w&&(null!=x||(x=l)),w<c){var i,o;i=l,o=x,(E?i>=o+d:i<=-d)&&(w++,"reverse"===f?l=function(t,e,n=0,r=!0){return r?np(e+-t,e,n):e-(t-e)+n}(l,x,d,E=w%2==0):(l=np(l,x,d),"mirror"===f&&S.flipTarget()),C=!1,g&&g())}else e.stop(),m&&m()}})).start()),{stop:()=>{null==p||p(),e.stop()}}}var ny=function(t){return 1e3*t};let nv=(t,e)=>1-3*e+3*t,nb=(t,e)=>3*e-6*t,nw=t=>3*t,nx=(t,e,n)=>((nv(e,n)*t+nb(e,n))*t+nw(e))*t,nC=(t,e,n)=>3*nv(e,n)*t*t+2*nb(e,n)*t+nw(e);var nE={linear:e3,easeIn:e4,easeInOut:e9,easeOut:e6,circIn:e8,circInOut:nt,circOut:e7,backIn:ne,backInOut:nr,backOut:nn,anticipate:ni,bounceIn:nl,bounceInOut:nc,bounceOut:nu},nk=function(t){if(Array.isArray(t)){p(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,u.CR)(t,4);return function(t,e,n,r){if(t===e&&n===r)return e3;let i=new Float32Array(11);for(let e=0;e<11;++e)i[e]=nx(.1*e,t,n);return o=>0===o||1===o?o:nx(function(e){let r=0,o=1;for(;10!==o&&i[o]<=e;++o)r+=.1;--o;let a=(e-i[o])/(i[o+1]-i[o]),s=r+.1*a,u=nC(s,t,n);return u>=.001?function(t,e,n,r){for(let i=0;i<8;++i){let i=nC(e,n,r);if(0===i)break;let o=nx(e,n,r)-t;e-=o/i}return e}(e,s,t,n):0===u?s:function(t,e,n,r,i){let o,a;let s=0;do(o=nx(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<10);return a}(e,r,r+.1,t,n)}(o),e,r)}(e[0],e[1],e[2],e[3])}return"string"==typeof t?(p(void 0!==nE[t],"Invalid easing type '".concat(t,"'")),nE[t]):t},nS=function(t,e){return"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&eW.test(e)&&!e.startsWith("url("))},nR=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},n_=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},nA=function(){return{type:"keyframes",ease:"linear",duration:.3}},nM=function(t){return{type:"keyframes",duration:.8,values:t}},nj={x:nR,y:nR,z:nR,rotate:nR,rotateX:nR,rotateY:nR,rotateZ:nR,scaleX:n_,scaleY:n_,scale:n_,opacity:nA,backgroundColor:nA,color:nA,default:n_},nO=function(t,e){var n;return n=tN(e)?nM:nj[t]||nj.default,(0,u.pi)({to:e},n(e))};let nT=new Set(["brightness","contrast","saturate","opacity"]);function nP(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(tt)||[];if(!r)return t;let i=n.replace(r,""),o=nT.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nL=/([a-z-]*)\(.*?\)/g,nI=Object.assign(Object.assign({},eW),{getAnimatableNone:t=>{let e=t.match(nL);return e?e.map(nP).join(" "):t}});var nD=(0,u.pi)((0,u.pi)({},tm),{color:eN,backgroundColor:eN,outlineColor:eN,fill:eN,stroke:eN,borderColor:eN,borderTopColor:eN,borderRightColor:eN,borderBottomColor:eN,borderLeftColor:eN,filter:nI,WebkitFilter:nI}),nN=function(t){return nD[t]};function nV(t,e){var n,r=nN(t);return r!==nI&&(r=eW),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var nF={current:!1},nB=!1;function nH(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function nU(t){return"number"==typeof t?0:nV("",t)}function nZ(t,e){return t[e]||t.default||t}function nW(t,e,n,r){return void 0===r&&(r={}),nF.current&&(r={type:!1}),e.start(function(i){var o,a,s,l,c,f,d,p,m,g,y,v=(l=n,d=null!==(c=(f=nZ(r,t)).from)&&void 0!==c?c:e.get(),p=nS(t,l),"none"===d&&p&&"string"==typeof l?d=nV(t,l):nH(d)&&"string"==typeof l?d=nU(l):!Array.isArray(l)&&nH(l)&&"string"==typeof d&&(l=nU(d)),h((m
47=nS(t,d))===p,"You are trying to animate ".concat(t,' from "').concat(d,'" to "').concat(l,'". ').concat(d," is not an animatable value - to enable this animation set ").concat(d," to a value animatable to ").concat(l," via the `style` property.")),m&&p&&!1!==f.type?function(){var n,r,o,a,s,c,p,m,g,y,v,b,w={from:d,to:l,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===f.type||"decay"===f.type?function({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:f,onComplete:d,onStop:h}){let p;function m(t){return void 0!==n&&t<n||void 0!==r&&t>r}function g(t){return void 0===n?r:void 0===r?n:Math.abs(n-t)<Math.abs(r-t)?n:r}function y(t){null==p||p.stop(),p=ng(Object.assign(Object.assign({},t),{driver:c,onUpdate:e=>{var n;null==f||f(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:h}))}function v(t){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(m(t))v({from:t,velocity:e,to:g(t)});else{let r,a,s=i*e+t;void 0!==l&&(s=l(s));let c=g(s),f=c===n?-1:1,d=t=>{var n;r=a,a=t,e=(n=(0,nh.$B)().delta)?(t-r)*(1e3/n):0,(1===f&&t>c||-1===f&&t<c)&&v({from:t,to:c,velocity:e})};y({type:"decay",from:t,velocity:e,timeConstant:o,power:i,restDelta:u,modifyTarget:l,onUpdate:m(s)?d:void 0})}return{stop:()=>null==p?void 0:p.stop()}}((0,u.pi)((0,u.pi)({},w),f)):ng((0,u.pi)((0,u.pi)({},(g=f,Array.isArray(w.to)&&(null!==(y=g.duration)&&void 0!==y||(g.duration=.8)),Array.isArray((v=w).to)&&null===v.to[0]&&(v.to=(0,u.ev)([],(0,u.CR)(v.to),!1),v.to[0]=v.from),(b=g).when,b.delay,b.delayChildren,b.staggerChildren,b.staggerDirection,b.repeat,b.repeatType,b.repeatDelay,b.from,Object.keys((0,u._T)(b,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(g=(0,u.pi)((0,u.pi)({},g),nO(t,w.to))),(0,u.pi)((0,u.pi)({},w),(r=(n=g).ease,o=n.times,a=n.yoyo,s=n.flip,c=n.loop,p=(0,u._T)(n,["ease","times","yoyo","flip","loop"]),m=(0,u.pi)({},p),o&&(m.offset=o),p.duration&&(m.duration=ny(p.duration)),p.repeatDelay&&(m.repeatDelay=ny(p.repeatDelay)),r&&(m.ease=Array.isArray(r)&&"number"!=typeof r[0]?r.map(nk):nk(r)),"tween"===p.type&&(m.type="keyframes"),(a||c||s)&&(h(!nB,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nB=!0,a?m.repeatType="reverse":c?m.repeatType="loop":s&&(m.repeatType="mirror"),m.repeat=c||a||s||p.repeat),"spring"!==p.type&&(m.type="keyframes"),m)))),{onUpdate:function(t){var e;w.onUpdate(t),null===(e=f.onUpdate)||void 0===e||e.call(f,t)},onComplete:function(){var t;w.onComplete(),null===(t=f.onComplete)||void 0===t||t.call(f)}}))}:function(){var t,n,r=tV(l);return e.set(r),i(),null===(t=null==f?void 0:f.onUpdate)||void 0===t||t.call(f,r),null===(n=null==f?void 0:f.onComplete)||void 0===n||n.call(f),{stop:function(){}}}),b=null!==(s=null!==(a=(nZ(o=r,t)||{}).delay)&&void 0!==a?a:o.delay)&&void 0!==s?s:0,w=function(){return y=v()};return b?g=window.setTimeout(w,ny(b)):w(),function(){clearTimeout(g),null==y||y.stop()}})}function nz(t,e){-1===t.indexOf(e)&&t.push(e)}function nG(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var n$=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return nz(this.subscriptions,t),function(){return nG(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),nq=function(){function t(t){var e=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new n$,this.velocityUpdateSubscribers=new n$,this.renderSubscribers=new n$,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,nh.$B)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,nh.ZP.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.render
47Subscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return nh.ZP.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?t*(1e3/e):0):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function nY(t){return new nq(t)}var nX=function(t){return function(e){return e.test(t)}},nK=[tf,ts,ta,to,tl,tu,{test:function(t){return"auto"===t},parse:function(t){return t}}],nJ=function(t){return nK.find(nX(t))},nQ=(0,u.ev)((0,u.ev)([],(0,u.CR)(nK),!1),[eN,eW],!1);function n1(t,e,n){void 0===n&&(n={});var r,i=M(t,e,n.custom),o=(i||{}).transition,a=void 0===o?t.getDefaultTransition()||{}:o;n.transitionOverride&&(a=n.transitionOverride);var s=i?function(){return n0(t,i,n)}:function(){return Promise.resolve()},l=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i,o,s,l,c,f,d,h=a.delayChildren,p=a.staggerChildren,m=a.staggerDirection;return i=(void 0===h?0:h)+r,o=p,s=m,l=n,void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=1),c=[],f=(t.variantChildren.size-1)*o,d=1===s?function(t){return void 0===t&&(t=0),t*o}:function(t){return void 0===t&&(t=0),f-t*o},Array.from(t.variantChildren).sort(n5).forEach(function(t,n){c.push(n1(t,e,(0,u.pi)((0,u.pi)({},l),{delay:i+d(n)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(c)}:function(){return Promise.resolve()},c=a.when;if(!c)return Promise.all([s(),l(n.delay)]);var f=(0,u.CR)("beforeChildren"===c?[s,l]:[l,s],2),d=f[0],h=f[1];return d().then(h)}function n0(t,e,n){var r,i=void 0===n?{}:n,o=i.delay,a=void 0===o?0:o,s=i.transitionOverride,l=i.type,c=t.makeTargetAnimatable(e),f=c.transition,d=void 0===f?t.getDefaultTransition():f,h=c.transitionEnd,p=(0,u._T)(c,["transition","transitionEnd"]);s&&(d=s);var m=[],g=l&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[l]);for(var y in p){var v=t.getValue(y),b=p[y];if(!(!v||void 0===b||g&&function(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}(g,y))){var w=(0,u.pi)({delay:a},d);t.shouldReduceMotion&&G(y)&&(w=(0,u.pi)((0,u.pi)({},w),{type:!1,delay:0}));var x=nW(y,v,b,w);m.push(x)}}return Promise.all(m).then(function(){h&&function(t,e){var n=M(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd;r.transition;var o=(0,u._T)(r,["transitionEnd","transition"]);for(var a in o=(0,u.pi)((0,u.pi)({},o),void 0===i?{}:i)){var s,l=tV(o[a]);s=a,t.hasValue(s)?t.getValue(s).set(l):t.addValue(s,nY(l))}}(t,h)})}function n5(t,e){return t.sortNodePosition(e)}var n2=[a.Animate,a.InView,a.Focus,a.Hover,a.Tap,a.Drag,a.Exit],n3=(0,u.ev)([],(0,u.CR)(n2),!1).reverse(),n4=n2.length;function n6(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var n9={animation:el(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=function(t){var e,n=function(e){return Promise.all(e.map(function(e){return function(t,e,n){if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var r;r=Promise.all(e.map(function(e){return n1(t,e,n)}
47))}else if("string"==typeof e)r=n1(t,e,n);else{var i="function"==typeof e?M(t,e,n.custom):e;r=n0(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,e.animation,e.options)}))},r=((e={})[a.Animate]=n6(!0),e[a.InView]=n6(),e[a.Hover]=n6(),e[a.Tap]=n6(),e[a.Drag]=n6(),e[a.Focus]=n6(),e[a.Exit]=n6(),e),i={},o=!0,s=function(e,n){var r=M(t,n);if(r){r.transition;var i=r.transitionEnd,o=(0,u._T)(r,["transition","transitionEnd"]);e=(0,u.pi)((0,u.pi)((0,u.pi)({},e),o),i)}return e};function l(e,a){for(var l,c=t.getProps(),f=t.getVariantContext(!0)||{},d=[],h=new Set,p={},m=1/0,g=0;g<n4;g++)!function(n){var i,g=n3[n],y=r[g],v=null!==(l=c[g])&&void 0!==l?l:f[g],b=_(v),w=g===a?y.isActive:null;!1===w&&(m=n);var x=v===f[g]&&v!==c[g]&&b;if(x&&o&&t.manuallyAnimateOnMount&&(x=!1),y.protectedKeys=(0,u.pi)({},p),!(!y.isActive&&null===w||!v&&!y.prevProp||tD(v))&&"boolean"!=typeof v){var C=(i=y.prevProp,"string"==typeof v?v!==i:!!R(v)&&!eh(v,i)),E=C||g===a&&y.isActive&&!x&&b||n>m&&b,k=Array.isArray(v)?v:[v],S=k.reduce(s,{});!1===w&&(S={});var A=y.prevResolvedValues,M=void 0===A?{}:A,j=(0,u.pi)((0,u.pi)({},M),S),O=function(t){E=!0,h.delete(t),y.needsAnimating[t]=!0};for(var T in j){var P=S[T],L=M[T];p.hasOwnProperty(T)||(P!==L?tN(P)&&tN(L)?!eh(P,L)||C?O(T):y.protectedKeys[T]=!0:void 0!==P?O(T):h.add(T):void 0!==P&&h.has(T)?O(T):y.protectedKeys[T]=!0)}y.prevProp=v,y.prevResolvedValues=S,y.isActive&&(p=(0,u.pi)((0,u.pi)({},p),S)),o&&t.blockInitialAnimation&&(E=!1),E&&!x&&d.push.apply(d,(0,u.ev)([],(0,u.CR)(k.map(function(t){return{animation:t,options:(0,u.pi)({type:g},e)}})),!1))}}(g);if(i=(0,u.pi)({},p),h.size){var y={};h.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(y[e]=n)}),d.push({animation:y})}var v=Boolean(d.length);return o&&!1===c.initial&&!t.manuallyAnimateOnMount&&(v=!1),o=!1,v?n(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:l,setActive:function(e,n,i){if(r[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;var o,a=l(i,e);for(var s in r)r[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return r}}}(e)),tD(n)&&(0,l.useEffect)(function(){return n.subscribe(e)},[n])}),exit:el(function(t){var e=t.custom,n=t.visualElement,r=(0,u.CR)(ed(),2),i=r[0],o=r[1],s=(0,l.useContext)(w.O);(0,l.useEffect)(function(){n.isPresent=i;var t,r,u=null===(t=n.animationState)||void 0===t?void 0:t.setActive(a.Exit,!i,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:e});i||null==u||u.then(o)},[i])})};let n8=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),n7=t=>n8(t)&&t.hasOwnProperty("z"),rt=(t,e)=>Math.abs(t-e);function re(t,e){if(ez(t)&&ez(e))return rt(t,e);if(n8(t)&&n8(e)){let n=rt(t.x,e.x),r=rt(t.y,e.y),i=n7(t)&&n7(e)?rt(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}var rn=function(){function t(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=ro(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=re(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,o=(0,nh.$B)().timestamp;r.history.push((0,u.pi)((0,u.pi)({},i),{timestamp:o}));var a=r.handlers,s=a.onStart,l=a.onMove;e||(s&&s(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){if(r.lastMoveEvent=t,r.lastMoveEventInfo=rr(e,r.transformPagePoint),tG(t)&&0===t.buttons){r.handlePointerUp(t,e);return}nh.ZP.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=ro(rr(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,a),o&&o(t,a)},!t.touches||!(t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var o=rr(tq(t),this.transformPagePoint),a=o.point,s=(0,nh.$B)().timestamp;this.history=[(0,u.pi)((0,u.pi)({},a),{timestamp:s})];var l=e.onSessionStart;l&&l(t,ro(o,this.history)),this.removeListeners=et(tQ(window,"pointermove",this.handlePointerMove),tQ(window,"pointerup",this.handlePointerUp),tQ(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),nh.qY.update(this.updatePoint)},t}();function rr(t,e){return e?{point:e(t.point)}:t}function ri(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ro(t,e){var n=t.point;return{point:n,delta:ri(n,ra(e)),offset:ri(n,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=ra(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>ny(.1)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function ra(t){return t[t.length-1]}function rs(t){return t.max-t.min}function ru(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),re(t,e)<n}function rl(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=eC(e.min,e.max,t.origin),t.scale=rs(n)/rs(e),(ru(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eC(n.min,n.max,t.origin)-t.originPoint,(ru(t.translate)||isNaN(t.translate))&&(t.translate=0)}function rc(t,e,n,r){rl(t.x,e.x,n.x,null==r?void 0:r.originX),rl(t.y,e.y,n.y,null==r?void 0:r.originY)}function rf(t,e,n){t.min=n.min+e.min,t.max=t.min+rs(e)}function rd(t,e,n){t.min=e.min-n.min,t.max=t.min+rs(e)}function rh(t,e,n){rd(t.x,e.x,n.x),rd(t.y,e.y,n.y)}function rp(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function rm(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=(0,u.CR)([i,r],2))[0],i=n[1]),{min:r,max:i}}function rg(t,e,n){return{min:ry(t,e),max:ry(t,n)}}function ry(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}var rv=function(){return{translate:0,scale:1,origin:0,originPoint:0}},rb=function(){return{x:rv(),y:rv()}},rw=function(){return{min:0,max:0}},rx=function(){return{x:rw(),y:rw()}};function rC(t){return[t("x"),t("y")]}function rE(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function rk(t){return void 0===t||1===t}function rS(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!rk(e)||!rk(n)||!rk(r)}function rR(t){var e,n;return rS(t)||(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n||t.z||t.rotate||t.rotateX||t.rotateY}function r_(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function rA(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=r_(t.min,e,n,r,i),t.max=r_(t.max,e,n,r,i)}function rM(t,e){var n=e.x,r=e.y;rA(t.x,n.translate,n.scale,n.originPoint),rA(t.y,r.translate,r.scale,r.originPoint)}function rj(t,e){t.min=t.min+e,t.max=t.max+e}
47function rO(t,e,n){var r=(0,u.CR)(n,3),i=r[0],o=r[1],a=r[2],s=void 0!==e[a]?e[a]:.5,l=eC(t.min,t.max,s);rA(t,e[i],e[o],l,e.scale)}var rT=["x","scaleX","originX"],rP=["y","scaleY","originY"];function rL(t,e){rO(t.x,e,rT),rO(t.y,e,rP)}function rI(t,e){return rE(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var rD=new WeakMap,rN=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rx(),this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new rn(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(tq(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),o=i.drag,s=i.dragPropagation,u=i.onDragStart;(!o||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=t3(o),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),rC(function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(ta.test(i)){var o=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];o&&(i=rs(o)*(parseFloat(i)/100))}n.originPoint[t]=i}),null==u||u(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(a.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u,l,c=e.offset;if(o&&null===n.currentDirection){n.currentDirection=(void 0===u&&(u=10),l=null,Math.abs(c.y)>u?l="y":Math.abs(c.x)>u&&(l="x"),l),null!==n.currentDirection&&(null==a||a(n.currentDirection));return}n.updateAxis("x",e.point,c),n.updateAxis("y",e.point,c),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(a.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&rV(t,r,this.currentDirection)){var i,o,a,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=c,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?eC(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?eC(u,i,a.max):Math.min(i,u)),c=i),l.set(c)}},t.prototype.resolveConstraints=function(){var t,e,n,r,i,o,a=this,s=this.getProps(),u=s.dragConstraints,l=s.dragElastic,c=(this.visualElement.projection||{}).layout,f=this.constraints;u&&S(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&c?this.constraints=(t=c.actual,e=u.top,n=u.left,r=u.bottom,i=u.right,{x:rp(t.x,n,i),y:rp(t.y,e,r)}):this.constraints=!1,this.elastic=(void 0===(o=l)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:rg(o,"left","right"),y:rg(o,"top","bottom")}),f!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&rC(function(t){if(a.getAxisMotionValue(t)){var e,n,r;a.constraints[t]=(e=c.actual[t],n=a.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r)}})},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!S(e))return!1;var r=e.current;p(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=(s=i.root,u=rI(r,this.visualElement.getTransformPagePoint()),(l=s.scroll)&&(rj(u.x,l.x),rj(u.y,l.y)),u),a={x:rm((c=i.layout.actual).x,o.x),y:rm(c.y,o.y)};if(n){var s,u,l,c,f,d,h,m=n((d=(f=a).x,{top:(h=f.y).min,right:d.max,bottom:h.max,left:d.min}));this.hasMutatedConstraints=!!m,m&&(a=rE(m))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,o=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{};return Promise.all(rC(function(n){if(rV(n,r,e.currentDirection)){var l,f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{};s&&(f={min:0,max:0});var d=(0,u.pi)((0,u.pi)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},a),f);return e.startAxisValueAnimation(n,d)}})).then(l)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return nW(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;rC(function(e){return t.getAxisMotionValue(e).stop()})},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;rC(function(n){if(rV(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(t[n]-eC(a,s,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(S(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};rC(function(t){var n=e.getAxisMotionValue(t);if(n){var r,i,o,s,u,l=n.get();a[t]=(r={min:l,max:l},i=e.constraints[t],o=.5,s=rs(r),(u=rs(i))>s?o=ex(i.min,i.max-s,r.min):s>u&&(o=ex(r.min,r.max-u,i.min)),ep(0,1,o))}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),rC(function(t){if(rV(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;n.set(eC(o,s,a[t]))}})}},t.prototype.addListeners=function(){var t,e=this;rD.set(this.visualElement,this);var n=tQ(this.visualElement.getInstance(),"pointerdown",function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=function(){S(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var a=tW(window,"resize",function(){return e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(rC(function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))}),e.visualElement.syncRender())}),function(){a(),n(),o()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=t.dragDirectionLock,r=t.dragPropagation,i=t.dragConstraints,o=t.dragElastic,a=t.dragMomentum;return(0,u.pi)((0,u.pi)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==i&&i,dragElastic:void 0===o?.35:o,dragMomentum:void 0===a||a})},t}();function rV(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var rF={pan:el(function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,o=t.visualElement,a=(0,l.useRef)(null),s=(0,l.useContext)(v).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){a.current=null,r&&r(t,e)}};(0,l.useEffect)(function(){null!==a.current&&a.current.updateHandlers(u)}
47),t1(o,"pointerdown",(e||n||r||i)&&function(t){a.current=new rn(t,u,{transformPagePoint:s})}),(0,t8.z)(function(){return a.current&&a.current.end()})}),drag:el(function(t){var e=t.dragControls,n=t.visualElement,r=(0,P.h)(function(){return new rN(n)});(0,l.useEffect)(function(){return e&&e.subscribe(r)},[r,e]),(0,l.useEffect)(function(){return r.addListeners()},[r])})},rB=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],rH=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,o=t.makeTargetAnimatable,a=t.measureViewportBox,s=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,f=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var h,p,m,g,y,v=t.parent,b=t.props,w=t.presenceId,x=t.blockInitialAnimation,C=t.visualState,E=t.shouldReduceMotion;void 0===e&&(e={});var k=!1,S=C.latestValues,R=C.renderState,A=(h=rB.map(function(){return new n$}),p={},m={clearAllListeners:function(){return h.forEach(function(t){return t.clear()})},updatePropListeners:function(t){rB.forEach(function(e){var n,r="on"+e,i=t[r];null===(n=p[e])||void 0===n||n.call(p),i&&(p[e]=m[r](i))})}},h.forEach(function(t,e){m["on"+rB[e]]=function(e){return t.add(e)},m["notify"+rB[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,u.ev)([],(0,u.CR)(e),!1))}}),m),M=new Map,T=new Map,P={},L=(0,u.pi)({},S);function I(){g&&k&&(D(),s(g,R,b.style,W.projection))}function D(){r(W,R,S,e,b)}function N(){A.notifyUpdate(S)}function V(t,e){var n=e.onChange(function(e){S[t]=e,b.onUpdate&&nh.ZP.update(N,!1,!0)}),r=e.onRenderRequest(W.scheduleRender);T.set(t,function(){n(),r()})}var F=d(b);for(var B in F){var H=F[B];void 0!==S[B]&&Y(H)&&H.set(S[B],!1)}var U=j(b),Z=O(b),W=(0,u.pi)((0,u.pi)({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:w,shouldReduceMotion:E,variantChildren:Z?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==v?void 0:v.isMounted()),blockInitialAnimation:x,isMounted:function(){return Boolean(g)},mount:function(t){k=!0,g=W.current=t,W.projection&&W.projection.mount(t),Z&&v&&!U&&(y=null==v?void 0:v.addVariantChild(W)),M.forEach(function(t,e){return V(e,t)}),null==v||v.children.add(W),W.setProps(b)},unmount:function(){var t;null===(t=W.projection)||void 0===t||t.unmount(),nh.qY.update(N),nh.qY.render(I),T.forEach(function(t){return t()}),null==y||y(),null==v||v.children.delete(W),A.clearAllListeners(),g=void 0,k=!1},addVariantChild:function(t){var e,n=W.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return f&&n===t.treeType?f(W.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return Z?W:null==v?void 0:v.getClosestVariantNode()},getLayoutId:function(){return b.layoutId},getInstance:function(){return g},getStaticValue:function(t){return S[t]},setStaticValue:function(t,e){return S[t]=e},getLatestValues:function(){return S},setVisibility:function(t){W.isVisible!==t&&(W.isVisible=t,W.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),o(W,t,b,e)},measureViewportBox:function(){return a(g,b)},addValue:function(t,e){W.hasValue(t)&&W.removeValue(t),M.set(t,e),S[t]=e.get(),V(t,e)},removeValue:function(t){var e;M.delete(t),null===(e=T.get(t))||void 0===e||e(),T.delete(t),delete S[t],c(t,R)},hasValue:function(t){return M.has(t)},getValue:function(t,e){var n=M.get(t);return void 0===n&&void 0!==e&&(n=nY(e),W.addValue(t,n)),n},forEachValue:function(t){return M.forEach(t)},readValue:function(t){var n;return null!==(n=S[t])&&void 0!==n?n:l(g,t,e)},setBaseTarget:function(t,e){L[t]=e},getBaseTarget:function(t){if(i){var e=i(b,t);if(void 0!==e&&!Y(e))return e}return L[t]}},A),{build:function(){return D(),R},scheduleRender:function(){nh.ZP.render(I,!1,!0)},syncRender:I,setProps:function(t){(t.transformTemplate||b.transformTemplate)&&W.scheduleRender(),b=t,A.updatePropListeners(t),P=function(t,e,n){var r;for(var i in e){var o=e[i],a=n[i];if(Y(o))t.addValue(i,o);else if(Y(a))t.addValue(i,nY(o));else if(a!==o){if(t.hasValue(i)){var s=t.getValue(i);s.hasAnimated||s.set(o)}else t.addValue(i,nY(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(W,d(b),P)},getProps:function(){return b},getVariant:function(t){var e;return null===(e=b.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return b.transition},getTransformPagePoint:function(){return b.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==v?void 0:v.getVariantContext();if(!U){var e=(null==v?void 0:v.getVariantContext())||{};return void 0!==b.initial&&(e.initial=b.initial),e}for(var n={},r=0;r<rZ;r++){var i=rU[r],o=b[i];(_(o)||!1===o)&&(n[i]=o)}return n}});return W}},rU=(0,u.ev)(["initial"],(0,u.CR)(n2),!1),rZ=rU.length;function rW(t){return"string"==typeof t&&t.startsWith("var(--")}var rz=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rG(t,e,n){void 0===n&&(n=1),p(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));
47var r=(0,u.CR)(function(t){var e=rz.exec(t);if(!e)return[,];var n=(0,u.CR)(e,3);return[n[1],n[2]]}(t),2),i=r[0],o=r[1];if(i){var a=window.getComputedStyle(e).getPropertyValue(i);return a?a.trim():rW(o)?rG(o,e,n+1):o}}var r$=new Set(["width","height","top","left","right","bottom","x","y"]),rq=function(t){return r$.has(t)},rY=function(t,e){t.set(e,!1),t.set(e)},rX=function(t){return t===tf||t===ts};(o=s||(s={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";var rK=function(t,e){return parseFloat(t.split(", ")[e])},rJ=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return rK(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?rK(a[1],t):0}},rQ=new Set(["x","y","z"]),r1=Z.filter(function(t){return!rQ.has(t)}),r0={width:function(t,e){var n=t.x,r=e.paddingLeft,i=e.paddingRight;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},height:function(t,e){var n=t.y,r=e.paddingTop,i=e.paddingBottom;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:rJ(4,13),y:rJ(5,14)},r5=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),o=getComputedStyle(i),a=o.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach(function(t){s[t]=r0[t](r,o)}),e.syncRender();var u=e.measureViewportBox();return n.forEach(function(n){rY(e.getValue(n),s[n]),t[n]=r0[n](u,o)}),t},r2=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=(0,u.pi)({},e),r=(0,u.pi)({},r);var i=Object.keys(e).filter(rq),o=[],a=!1,s=[];if(i.forEach(function(i){var u,l=t.getValue(i);if(t.hasValue(i)){var c=n[i],f=nJ(c),d=e[i];if(tN(d)){var h=d.length,m=null===d[0]?1:0;f=nJ(c=d[m]);for(var g=m;g<h;g++)u?p(nJ(d[g])===u,"All keyframes must be of the same type"):p((u=nJ(d[g]))===f||rX(f)&&rX(u),"Keyframes must be of the same dimension as the current value")}else u=nJ(d);if(f!==u){if(rX(f)&&rX(u)){var y,v=l.get();"string"==typeof v&&l.set(parseFloat(v)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&u===ts&&(e[i]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===c||0===d)?0===c?l.set(u.transform(c)):e[i]=f.transform(d):(a||(y=[],r1.forEac
47h(function(e){var n=t.getValue(e);void 0!==n&&(y.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),y.length&&t.syncRender(),o=y,a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],rY(l,d))}}}),!s.length)return{target:e,transitionEnd:r};var l=s.indexOf("height")>=0?window.pageYOffset:null,c=r5(e,t,s);return o.length&&o.forEach(function(e){var n=(0,u.CR)(e,2),r=n[0],i=n[1];t.getValue(r).set(i)}),t.syncRender(),null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:r}},r3=function(t,e,n,r){var i,o,a=function(t,e,n){var r,i=(0,u._T)(e,[]),o=t.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};for(var a in n&&(n=(0,u.pi)({},n)),t.forEachValue(function(t){var e=t.get();if(rW(e)){var n=rG(e,o);n&&t.set(n)}}),i){var s=i[a];if(rW(s)){var l=rG(s,o);l&&(i[a]=l,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=s)))}}return{target:i,transitionEnd:n}}(t,e,r);return e=a.target,r=a.transitionEnd,i=e,o=r,Object.keys(i).some(rq)?r2(t,i,n,o):{target:i,transitionEnd:o}},r4={treeType:"dom",readValueFromInstance:function(t,e){if(G(e)){var n=nN(e);return n&&n.default||0}var r=window.getComputedStyle(t);return(K(e)?r.getPropertyValue(e):r[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return rI(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var o=e.transition,a=e.transitionEnd,s=(0,u._T)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=function(t,e){if(e)return(e[t]||e.default||e).from}(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(s,o||{},t);if(i&&(a&&(a=i(a)),s&&(s=i(s)),l&&(l=i(l))),r){!function(t,e,n){var r,i,o,a,s=Object.keys(e).filter(function(e){return!t.hasValue(e)}),u=s.length;if(u)for(var l=0;l<u;l++){var c,f,d,h=s[l],p=e[h],m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(i=null!==(r=n[h])&&void 0!==r?r:t.readValue(h))&&void 0!==i?i:e[h]),null!=m&&("string"==typeof m&&(c=m,/^\-?\d*\.?\d+$/.test(c)||(f=m,/^0[^.\s]+$/.test(f)))?m=parseFloat(m):(d=m,!nQ.find(nX(d))&&eW.test(p)&&(m=nV(h,p))),t.addValue(h,nY(m)),null!==(o=(a=n)[h])&&void 0!==o||(a[h]=m),t.setBaseTarget(h,m))}}(t,s,l);var c=r3(t,s,l,a);a=c.transitionEnd,s=c.target}return(0,u.pi)({transition:o,transitionEnd:a},s)},scrapeMotionValuesFromProps:tL,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),tg(e,n,r,i.transformTemplate)},render:tO},r6=rH(r4),r9=rH((0,u.pi)((0,u.pi)({},r4),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return G(e)?(null===(n=nN(e))||void 0===n?void 0:n.default)||0:(e=tT.has(e)?e:tj(e),t.getAttribute(e))},scrapeMotionValuesFromProps:tI,build:function(t,e,n,r,i){tR(e,n,r,i.transformTemplate)},render:tP})),r8=function(t,e){return B(t)?r9(e,{enableHardwareAcceleration:!1}):r6(e,{enableHardwareAcceleration:!0})};function r7(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var it={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!ts.test(t))return t;t=parseFloat(t)}var n=r7(t,e.target.x),r=r7(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},ie="_$css",ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,u.ZT)(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.visualElement,r=e.layoutGroup,i=e.switchLayoutGroup,o=e.layoutId,a=n.projection;Object.assign(H,ii),a&&((null==r?void 0:r.group)&&r.group.add(a),(null==i?void 0:i.register)&&o&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",function(){t.safeToRemove()}),a.setOptions((0,u.pi)((0,u.pi)({},a.options),{onExitComplete:function(){return t.safeToRemove()}}))),L.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent===a||(a?s.promote():s.relegate()||nh.ZP.postRender(function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(l.Component),ii={borderRadius:(0,u.pi)((0,u.pi)({},it),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomLeftRadius:it,borderBottomRightRadius:it,boxShadow:{correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(rz,function(t){return a.push(t),ie}));var s=eW.parse(t);if(s.length>5)return i;var u=eW.createTransformer(t),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=f;var d=eC(c,f,.5);"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d);var h=u(s);if(o){var p=0;h=h.replace(ie,function(){var t=a[p];return p++,t})}return h}}},io=["TopLeft","TopRight","BottomLeft","BottomRight"],ia=io.length,is=function(t){return"string"==typeof t?parseFloat(t):t},iu=function(t){return"number"==typeof t||ts.test(t)};function il(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var ic=ih(0,.5,e7),id=ih(.5,.95,e3);function ih(t,e,n){return function(r){return r<t?0:r>e?1:n(ex(t,e,r))}}function ip(t,e){t.min=e.min,t.max=e.max}function im(t,e){ip(t.x,e.x),ip(t.y,e.y)}function ig(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function iy(t,e,n,r,i){var o=(0,u.CR)(n,3),a=o[0],s=o[1],l=o[2];!function(t,e,n,r,i,o,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=t),void 0===a&&(a=t),ta.test(e)&&(e=parseFloat(e),e=eC(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=eC(o.min,o.max,r);t===o&&(s-=e),t.min=ig(t.min,e,n,s,i),t.max=ig(t.max,e,n,s,i)}}(t,e[a],e[s],e[l],e.scale,r,i)}var iv=["x","scaleX","originX"],ib=["y","scaleY","originY"];function iw(t,e,n,r){iy(t.x,e,iv,null==n?void 0:n.x,null==r?void 0:r.x),iy(t.y,e,ib,null==n?void 0:n.y,null==r?void 0:r.y
47)}function ix(t){return 0===t.translate&&1===t.scale}function iC(t){return ix(t.x)&&ix(t.y)}function iE(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var ik=function(){function t(){this.members=[]}return t.prototype.add=function(t){nz(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if(nG(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex(function(e){return t===e});if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var e,n,r,i,o;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(o=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})},t.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}();function iS(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}var l=t.x.scale*e.x,c=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(l,", ").concat(c,")"))?"none":o}var iR=function(t,e){return t.depth-e.depth},i_=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){nz(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){nG(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(iR),this.isDirty=!1,this.children.forEach(t)},t}();function iA(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.checkIsScrollRoot,o=t.resetTransform;return function(){function t(t,e,r){var i=this;void 0===e&&(e={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(iI),i.nodes.forEach(iD)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?(0,u.ev)((0,u.ev)([],(0,u.CR)(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new i_)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new n$),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.eventHandlers.get(t);null==r||r.notify.apply(r,(0,u.ev)([],(0,u.CR)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var r=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var i=this.options,o=i.layoutId,a=i.layout,s=i.visualElement;
47if(s&&!s.getInstance()&&s.mount(t),this.root.nodes.add(this),null===(l=this.parent)||void 0===l||l.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(a||o)&&(this.isLayoutDirty=!0),e){var l,c,f=function(){return r.root.updateBlockedByResize=!1};e(t,function(){r.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(f,250),L.hasAnimatedSinceResize&&(L.hasAnimatedSinceResize=!1,r.nodes.forEach(iL))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||a)&&this.addEventListener("didUpdate",function(t){var e,n,i,o,a,l=t.delta,c=t.hasLayoutChanged,f=t.hasRelativeTargetChanged,d=t.layout;if(r.isTreeAnimationBlocked()){r.target=void 0,r.relativeTarget=void 0;return}var h=null!==(n=null!==(e=r.options.transition)&&void 0!==e?e:s.getDefaultTransition())&&void 0!==n?n:iU,p=s.getProps(),m=p.onLayoutAnimationStart,g=p.onLayoutAnimationComplete,y=!r.targetLayout||!iE(r.targetLayout,d)||f,v=!c&&f;if((null===(i=r.resumeFrom)||void 0===i?void 0:i.instance)||v||c&&(y||!r.currentAnimation)){r.resumeFrom&&(r.resumingFrom=r.resumeFrom,r.resumingFrom.resumingFrom=void 0),r.setAnimationOrigin(l,v);var b=(0,u.pi)((0,u.pi)({},nZ(h,"layout")),{onPlay:m,onComplete:g});s.shouldReduceMotion&&(b.delay=0,b.type=!1),r.startAnimation(b)}else c||0!==r.animationProgress||r.finishAnimation(),r.isLead()&&(null===(a=(o=r.options).onExitComplete)||void 0===a||a.call(o));r.targetLayout=d})}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,nh.qY.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(iN))},t.prototype.willUpdate=function(t){if(void 0===t&&(t=!0),this.root.isUpdateBlocked()){null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e,n,r,i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iT);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(iZ),this.potentialNodes.clear()),this.nodes.forEach(iP),this.nodes.forEach(iM),this.nodes.forEach(ij),this.clearAllSnapshots(),nh.iW.update(),nh.iW.preRender(),nh.iW.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(iO),this.sharedNodes.forEach(iV)},t.prototype.scheduleUpdateProjection=function(){nh.ZP.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;nh.ZP.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));iz(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t,e=0;e<this.path.length;e++)this.path[e].updateScroll();var n=this.measure();iz(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=rx(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},t.prototype.resetTransform=function(){if(o){var t,e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!iC(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||rR(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return rx();var e=t.measureViewportBox(),n=this.root.scroll;return n&&(rj(e.x,n.x),rj(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e=rx();im(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options,a=r.isScrollRoot;if(r!==this.root&&i&&o.layoutScroll){if(a){im(e,t);var s=this.root.scroll;s&&(rj(e.x,-s.x),rj(e.y,-s.y))}rj(e.x,i.x),rj(e.y,i.y)}}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n=rx();im(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rL(n,{x:-i.scroll.x,y:-i.scroll.y}),rR(i.latestValues)&&rL(n,i.latestValues)}return rR(this.latestValues)&&rL(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n=rx();im(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&rR(i.latestValues)){rS(i.latestValues)&&i.updateSnapshot();var o=rx();im(o,i.measure()),iw(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,o)}}return rR(this.latestValues)&&iw(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,u.pi)((0,u.pi)((0,u.pi)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=rx(),this.relativeTargetOrigin=rx(),rh(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),im(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=rx(),this.targetWithTransforms=rx()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(r=this.relativeParent)||void 0===r?void 0:r.target))?(t=this.target,e=this.relativeTarget,n=this.relativeParent.target,rf(t.x,e.x,n.x),rf(t.y,e.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):im(this.target,this.layout.actual),rM(this.target,this.targetDelta)):im(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=rx(),this.relativeTargetOrigin=rx(),rh(this.relativeTargetOrigin,this.target,this.relativeParent.target),im(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(!(!this.parent||rR(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();im(this.layoutCorrected,this.layout.actual),function(t,e,n,r){void 0===r&&(r=!1);var i,o,a,s,u=n.length;if(u){e.x=e.y=1;for(var l=0;l<u;l++)s=(a=n[l]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&rL(t,{x:-a.scroll.x,y:-a.scroll.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,rM(t,s)),r&&rR(a.latestValues)&&rL(t,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta=rb(),this.projectionDeltaWithTransform=rb());var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;rc(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=iS(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,r=this;void 0===e&&(e=!1);var i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a=(0,u.pi)({},this.latestValues),s=rb();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;
47var l=rx(),c=null==i?void 0:i.isShared,f=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),d=Boolean(c&&!f&&!0===this.options.crossfade&&!this.path.some(iH));this.animationProgress=0,this.mixTargetDelta=function(e){var n,i,u,h=e/1e3;iF(s.x,t.x,h),iF(s.y,t.y,h),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(u=r.relativeParent)||void 0===u?void 0:u.layout)&&(rh(l,r.layout.actual,r.relativeParent.layout.actual),n=r.relativeTarget,i=r.relativeTargetOrigin,iB(n.x,i.x,l.x,h),iB(n.y,i.y,l.y,h)),c&&(r.animationValues=a,function(t,e,n,r,i,o){var a,s,u,l;i?(t.opacity=eC(0,null!==(a=n.opacity)&&void 0!==a?a:1,ic(r)),t.opacityExit=eC(null!==(s=e.opacity)&&void 0!==s?s:1,0,id(r))):o&&(t.opacity=eC(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<ia;c++){var f="border".concat(io[c],"Radius"),d=il(e,f),h=il(n,f);(void 0!==d||void 0!==h)&&(d||(d=0),h||(h=0),0===d||0===h||iu(d)===iu(h)?(t[f]=Math.max(eC(is(d),is(h),r),0),(ta.test(h)||ta.test(d))&&(t[f]+="%")):t[f]=h)}(e.rotate||n.rotate)&&(t.rotate=eC(e.rotate||0,n.rotate||0,r))}(a,o,r.latestValues,h,d,f)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=h},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,r=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nh.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nh.ZP.update(function(){var e,n;L.hasAnimatedSinceResize=!0,r.currentAnimation=(void 0===(e=(0,u.pi)((0,u.pi)({},t),{onUpdate:function(e){var n;r.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),r.completeAnimation()}}))&&(e={}),nW("",n=Y(0)?0:nY(0),1e3,e),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(im(e,n),rL(e,i),rc(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new ik),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<U.length;r++){var i="rotate"+U[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){void 0===t&&(t={});var e,n,r,i,o,a,s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tF(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=tF(t.pointerEvents)||""),this.hasProjected&&!rR(this.latestValues)&&(c.transform=u?u({},""):"none",this.hasProjected=!1),c}var f=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=iS(this.projectionDeltaWithTransform,this.treeScale,f),u&&(s.transform=u(f,s.transform));var d=this.projectionDelta,h=d.x,p=d.y;for(var m in s.transformOrigin="".concat(100*h.origin,"% ").concat(100*p.origin,"% 0"),l.animationValues?s.opacity=l===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=l===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,H)if(void 0!==f[m]){var g=H[m],y=g.correct,v=g.applyTo,b=y(f[m],l);if(v)for(var w=v.length,x=0;x<w;x++)s[v[x]]=b;else s[m]=b}return this.options.layoutId&&(s.pointerEvents=l===this?tF(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
47,t.prototype.resetTree=function(){this.root.nodes.forEach(function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(iT),this.root.sharedNodes.clear()},t}()}function iM(t){t.updateLayout()}function ij(t){var e,n,r,i,o=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var a=t.layout,s=a.actual,u=a.measured;"size"===t.options.animationType?rC(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=rs(e);e.min=s[t].min,e.max=e.min+n}):"position"===t.options.animationType&&rC(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=rs(s[t]);e.max=e.min+n});var l=rb();rc(l,s,o.layout);var c=rb();o.isShared?rc(c,t.applyTransform(u,!0),o.measured):rc(c,s,o.layout);var f=!iC(l),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var h=t.relativeParent,p=h.snapshot,m=h.layout;if(p&&m){var g=rx();rh(g,o.layout,p.layout);var y=rx();rh(y,s,m.actual),iE(g,y)||(d=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function iO(t){t.clearSnapshot()}function iT(t){t.clearMeasurements()}function iP(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function iL(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function iI(t){t.resolveTargetDelta()}function iD(t){t.calcProjection()}function iN(t){t.resetRotation()}function iV(t){t.removeLeadSnapshot()}function iF(t,e,n){t.translate=eC(e.translate,0,n),t.scale=eC(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function iB(t,e,n,r){t.min=eC(e.min,n.min,r),t.max=eC(e.max,n.max,r)}function iH(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var iU={duration:.45,ease:[.4,0,.1,1]};function iZ(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function iW(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function iz(t){iW(t.x),iW(t.y)}var iG=iA({attachResizeListener:function(t,e){return tW(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),i$={current:void 0},iq=iA({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!i$.current){var t=new iG(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),i$.current=t}return i$.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return Boolean("fixed"===window.getComputedStyle(t).position)}}),iY=(0,u.pi)((0,u.pi)((0,u.pi)((0,u.pi)({},n9),ec),rF),{measureLayout:function(t){var e=(0,u.CR)(ed(),2),n=e[0],r=e[1],i=(0,l.useContext)(D.p);return l.createElement(ir,(0,u.pi)({},t,{layoutGroup:i,switchLayoutGroup:(0,l.useContext)(N),isPresent:n,safeToRemove:r}))}}),iX=function(t){function e(e,n){var r,i,o,a,s,f,h;return void 0===n&&(n={}),i=(r=t(e,n)).preloadedFeatures,o=r.createVisualElement,a=r.projectionNodeConstructor,s=r.useRender,f=r.useVisualState,h=r.Component,i&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?d.projectionNodeConstructor=t[e]:d[e].Component=t[e])}(i),(0,l.forwardRef)(function(t,e){var n,r,R,A,M,O,F,B,H,U,Z,W,z,G,$,q,Y,X,K,J,Q,tt,te,tn,tr,ti,to,ta,ts=(W=t.layoutId,(z=null===(Z=(0,l.useContext)(D.p))||void 0===Z?void 0:Z.id)&&void 0!==W?z+"-"+W:W);t=(0,u.pi)((0,u.pi)({},t),{layoutId:ts});var tu=(0,l.useContext)(v),tl=null,tc=($=(G=function(t,e){if(j(t)){var n=t.initial,r=t.animate;return{initial:!1===n||_(n)?n:void 0,animate:_(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,l.useContext)(b))).initial,q=G.animate,(0,l.useMemo)(function(){return{initial:$,animate:q}},[T($),T(q)])),tf=tu.isStatic?void 0:(0,P.h)(function(){if(L.hasEverUpdated)return I++}),td=f(t,tu.isStatic);return!tu.isStatic&&C.j&&(tc.visualElement=(Y=(0,u.pi)((0,u.pi)({},tu),t),X=o,K=(0,l.useContext)(m),J=(0,l.useContext)(b).visualElement,Q=(0,l.useContext)(w.O),k||function(){if(k=!0,C.j){if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return E.current=t.matches};t.addListener(e),e()}else E.current=!1}}
47(),tt=(0,u.CR)((0,l.useState)(E.current),1)[0],tn="never"!==(te=(0,l.useContext)(v).reducedMotion)&&("always"===te||tt),tr=(0,l.useRef)(void 0),X||(X=K.renderer),!tr.current&&X&&(tr.current=X(h,{visualState:td,parent:J,props:Y,presenceId:null==Q?void 0:Q.id,blockInitialAnimation:(null==Q?void 0:Q.initial)===!1,shouldReduceMotion:tn})),ti=tr.current,(0,x.L)(function(){null==ti||ti.syncRender()}),(0,l.useEffect)(function(){var t;null===(t=null==ti?void 0:ti.animationState)||void 0===t||t.animateChanges()}),(0,x.L)(function(){return function(){return null==ti?void 0:ti.notifyUnmount()}},[]),ti),n=t,r=tc.visualElement,R=a||d.projectionNodeConstructor,M=n.layoutId,O=n.layout,F=n.drag,B=n.dragConstraints,H=n.layoutScroll,U=(0,l.useContext)(N),!R||!r||(null==r?void 0:r.projection)||(r.projection=new R(tf,r.getLatestValues(),null===(A=r.parent)||void 0===A?void 0:A.projection),r.projection.setOptions({layoutId:M,layout:O,alwaysMeasureLayout:Boolean(F)||B&&S(B),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof O?O:"both",initialPromotionConfig:U,layoutScroll:H})),tl=function(t,e,n){var r=[],i=(0,l.useContext)(m);if(!e)return null;"production"!==c.O&&n&&i.strict&&p(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;o<y;
47o++){var a=g[o],s=d[a],f=s.isEnabled,h=s.Component;f(t)&&h&&r.push(l.createElement(h,(0,u.pi)({key:a},t,{visualElement:e})))}return r}(t,tc.visualElement,i)),l.createElement(V,{visualElement:tc.visualElement,props:(0,u.pi)((0,u.pi)({},tu),t)},tl,l.createElement(b.Provider,{value:tc},s(h,t,tf,(to=tc.visualElement,ta=e,(0,l.useCallback)(function(t){var e;t&&(null===(e=td.mount)||void 0===e||e.call(td,t)),to&&(t?to.mount(t):to.unmount()),ta&&("function"==typeof ta?ta(t):S(ta)&&(ta.current=t))},[to])),td,tu.isStatic,tc.visualElement)))})}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}(function(t,e){var n,r,i;return n=e.forwardMotionProps,r=B(t)?tU:tZ,(0,u.pi)((0,u.pi)({},r),{preloadedFeatures:iY,useRender:(void 0===(i=void 0!==n&&n)&&(i=!1),function(t,e,n,r,o,a){var s=o.latestValues,c=(B(t)?tA:tb)(e,s,a),f=function(t,e,n){var r={};for(var i in t)(tC(i)||!0===n&&tx(i)||!e&&!tx(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(e,"string"==typeof t,i),d=(0,u.pi)((0,u.pi)((0,u.pi)({},f),c),{ref:r});return n&&(d["data-projection-id"]=n),(0,l.createElement)(t,d)}),createVisualElement:r8,projectionNodeConstructor:iq,Component:t})})},43418:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var r="undefined"!=typeof document},44265:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(34155),i=(void 0===r||r.env,"production")},4804:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(67294);function i(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},75012:function(t,e,n){"use strict";n.d(e,{M:function(){return a}});var r=n(4804),i=0,o=function(){return i++},a=function(){return(0,r.h)(o)}},24423:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(67294),i=n(43418).j?r.useLayoutEffect:r.useEffect},4522:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(67294);function i(t){return(0,r.useEffect)(function(){return function(){return t()}},[])}},89903:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});let r=t=>"object"==typeof t&&null!=t&&1===t.nodeType,i=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,o=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let n,r=getComputedStyle(t,null);return i(r.overflowY,e)||i(r.overflowX,e)||!!(n=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t))&&(n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth)}return!1},a=(t,e,n,r,i,o,a,s)=>o<t&&a>e||o>t&&a<e?0:o<=t&&s<=n||a>=e&&s>=n?o-t-r:a>e&&s<n||o<t&&s>n?a-e+i:0,s=t=>{let e=t.parentElement;return null==e?t.getRootNode().host||null:e},u=(t,e)=>{var n,i,u,l;if("undefined"==typeof document)return[];let{scrollMode:c,block:f,inline:d,boundary:h,skipOverflowHiddenElements:p}=e,m="function"==typeof h?h:t=>t!==h;if(!r(t))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,y=[],v=t;for(;r(v)&&m(v);){if((v=s(v))===g){y.push(v);break}null!=v&&v===document.body&&o(v)&&!o(document.documentElement)||null!=v&&o(v,p)&&y.push(v)}let b=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,w=null!=(l=null==(u=window.visualViewport)?void 0:u.height)?l:innerHeight,{scrollX:x,scrollY:C}=window,{height:E,width:k,top:S,right:R,bottom:_,left:A}=t.getBoundingClientRect(),M="start"===f||"nearest"===f?S:"end"===f?_:S+E/2,j="center"===d?A+k/2:"end"===d?R:A,O=[];for(let t=0;t<y.length;t++){let e=y[t],{height:n,width:r,top:i,right:o,bottom:s,left:u}=e.getBoundingClientRect();if("if-needed"===c&&S>=0&&A>=0&&_<=w&&R<=b&&S>=i&&_<=s&&A>=u&&R<=o)break;let l=getComputedStyle(e),h=parseInt(l.borderLeftWidth,10),p=parseInt(l.borderTopWidth,10),m=parseInt(l.borderRightWidth,10),v=parseInt(l.borderBottomWidth,10),T=0,P=0,L="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-m:0,I="offsetHeight"in e?e.offsetHeight-e.clientHeight-p-v:0,D="offsetWidth"in e?0===e.offsetWidth?0:r/e.offsetWidth:0,N="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(g===e)T="start"===f?M:"end"===f?M-w:"nearest"===f?a(C,C+w,w,p,v,C+M,C+M+E,E):M-w/2,P="start"===d?j:"center"===d?j-b/2:"end"===d?j-b:a(x,x+b,b,h,m,x+j,x+j+k,k),T=Math.max(0,T+C),P=Math.max(0,P+x);else{T="start"===f?M-i-p:"end"===f?M-s+v+I:"nearest"===f?a(i,s,n,p,v+I,M,M+E,E):M-(i+n/2)+I/2,P="start"===d?j-u-h:"center"===d?j-(u+r/2)+L/2:"end"===d?j-o+m+L:a(u,o,r,h,m+L,j,j+k,k);let{scrollLeft:t,scrollTop:l}=e;T=Math.max(0,Math.min(l+T/N,e.scrollHeight-n/N+I)),P=Math.max(0,Math.min(t+P/D,e.scrollWidth-r/D+L)),M+=l-T,j+=t-P}O.push({el:e,top:T,left:P})}return O},l=t=>"object"==typeof t&&"function"==typeof t.behavior,c=t=>!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"};function f(t,e){if(!t.isConnected||!t.ownerDocument.documentElement.contains(t))return;if(l(e))return e.behavior(u(t,e));let n="boolean"==typeof e||null==e?void 0:e.behavior;for(let{el:r,top:i,left:o}of u(t,c(e)))r.scroll({top:i,left:o,behavior:n})}},9095:function(t,e,n){"use strict";n.d(e,{H:function(){return a}});var r=n(67294),i=(()=>{try{return!0}catch(t){return!1}})(),o=()=>{try{return Boolean(i&&void 0)}catch(t){return!1}};function a(t){if(o)return void(0,r.useEffect)(()=>{},[t])}},37452:function(t){"use strict";
47t.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(t){"use strict";t.exports=JSON.parse('{"0":"�","128":"â¬","130":"â","131":"Æ","132":"â","133":"â¦","134":"â ","135":"â¡","136":"Ë","137":"â°","138":"Å ","139":"â¹","140":"Å","142":"Ž","145":"â","146":"â","147":"â","148":"â","149":"â¢","150":"â","151":"â","152":"Ë","153":"â¢","154":"Å¡","155":"âº","156":"Å","158":"ž","159":"Ÿ"}')}}]);
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.