conductor-remote 1.92.1 → 1.92.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{index-DUZ2ZaW9.js → index-DnnHEVDt.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/dist-node/src/db.js +40 -5
- package/dist-node/src/search-worker.js +269 -0
- package/dist-node/src/search.js +102 -209
- package/dist-node/src/server.js +2 -2
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ Error generating stack: `+o.message+`
|
|
|
8
8
|
`+o.stack}}var Ve=Object.prototype.hasOwnProperty,cn=e.unstable_scheduleCallback,ht=e.unstable_cancelCallback,ue=e.unstable_shouldYield,Ot=e.unstable_requestPaint,rt=e.unstable_now,se=e.unstable_getCurrentPriorityLevel,te=e.unstable_ImmediatePriority,de=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Qe=e.unstable_LowPriority,We=e.unstable_IdlePriority,Dn=e.log,Ar=e.unstable_setDisableYieldValue,xn=null,It=null;function En(t){if(typeof Dn=="function"&&Ar(t),It&&typeof It.setStrictMode=="function")try{It.setStrictMode(xn,t)}catch{}}var mt=Math.clz32?Math.clz32:to,Sr=Math.log,Fn=Math.LN2;function to(t){return t>>>=0,t===0?32:31-(Sr(t)/Fn|0)|0}var Ya=256,wi=262144,Ka=4194304;function Mn(t){var r=t&42;if(r!==0)return r;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function H(t,r,l){var o=t.pendingLanes;if(o===0)return 0;var p=0,g=t.suspendedLanes,B=t.pingedLanes;t=t.warmLanes;var w=o&134217727;return w!==0?(o=w&~g,o!==0?p=Mn(o):(B&=w,B!==0?p=Mn(B):l||(l=w&~t,l!==0&&(p=Mn(l))))):(w=o&~g,w!==0?p=Mn(w):B!==0?p=Mn(B):l||(l=o&~t,l!==0&&(p=Mn(l)))),p===0?0:r!==0&&r!==p&&(r&g)===0&&(g=p&-p,l=r&-r,g>=l||g===32&&(l&4194048)!==0)?r:p}function oe(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function ye(t,r){switch(t){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ie(){var t=Ka;return Ka<<=1,(Ka&62914560)===0&&(Ka=4194304),t}function Mt(t){for(var r=[],l=0;31>l;l++)r.push(t);return r}function Dt(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ne(t,r,l,o,p,g){var B=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var w=t.entanglements,I=t.expirationTimes,ee=t.hiddenUpdates;for(l=B&~l;0<l;){var le=31-mt(l),xe=1<<le;w[le]=0,I[le]=-1;var ne=ee[le];if(ne!==null)for(ee[le]=null,le=0;le<ne.length;le++){var ae=ne[le];ae!==null&&(ae.lane&=-536870913)}l&=~xe}o!==0&&De(t,o,0),g!==0&&p===0&&t.tag!==0&&(t.suspendedLanes|=g&~(B&~r))}function De(t,r,l){t.pendingLanes|=r,t.suspendedLanes&=~r;var o=31-mt(r);t.entangledLanes|=r,t.entanglements[o]=t.entanglements[o]|1073741824|l&261930}function Ue(t,r){var l=t.entangledLanes|=r;for(t=t.entanglements;l;){var o=31-mt(l),p=1<<o;p&r|t[o]&r&&(t[o]|=r),l&=~p}}function Vt(t,r){var l=r&-r;return l=(l&42)!==0?1:zt(l),(l&(t.suspendedLanes|r))!==0?0:l}function zt(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Pr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Si(){var t=Z.p;return t!==0?t:(t=window.event,t===void 0?32:Hp(t.type))}function _i(t,r){var l=Z.p;try{return Z.p=t,r()}finally{Z.p=l}}var _r=Math.random().toString(36).slice(2),Qt="__reactFiber$"+_r,gn="__reactProps$"+_r,fa="__reactContainer$"+_r,kl="__reactEvents$"+_r,no="__reactListeners$"+_r,Ni="__reactHandles$"+_r,ro="__reactResources$"+_r,Xa="__reactMarker$"+_r;function Dl(t){delete t[Qt],delete t[gn],delete t[kl],delete t[no],delete t[Ni]}function wn(t){var r=t[Qt];if(r)return r;for(var l=t.parentNode;l;){if(r=l[fa]||l[Qt]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(t=Dp(t);t!==null;){if(l=t[Qt])return l;t=Dp(t)}return r}t=l,l=t.parentNode}return null}function Ur(t){if(t=t[Qt]||t[fa]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function ha(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(i(33))}function pa(t){var r=t[ro];return r||(r=t[ro]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Wt(t){t[Xa]=!0}var ao=new Set,Za={};function Ir(t,r){pe(t,r),pe(t+"Capture",r)}function pe(t,r){for(Za[t]=r,t=0;t<r.length;t++)ao.add(r[t])}var je=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Je={},Et={};function Yt(t){return Ve.call(Et,t)?!0:Ve.call(Je,t)?!1:je.test(t)?Et[t]=!0:(Je[t]=!0,!1)}function yn(t,r,l){if(Yt(r))if(l===null)t.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(r);return;case"boolean":var o=r.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(r);return}}t.setAttribute(r,""+l)}}function Gn(t,r,l){if(l===null)t.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttribute(r,""+l)}}function Tn(t,r,l,o){if(o===null)t.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(r,l,""+o)}}function Nt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Vn(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function io(t,r,l){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,r);if(!t.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var p=o.get,g=o.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return p.call(this)},set:function(B){l=""+B,g.call(this,B)}}),Object.defineProperty(t,r,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(B){l=""+B},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Mi(t){if(!t._valueTracker){var r=Vn(t)?"checked":"value";t._valueTracker=io(t,r,""+t[r])}}function Fl(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var l=r.getValue(),o="";return t&&(o=Vn(t)?t.checked?"true":"false":t.value),t=o,t!==l?(r.setValue(t),!0):!1}function Ti(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var lc=/[\n"\\]/g;function jn(t){return t.replace(lc,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function wl(t,r,l,o,p,g,B,w){t.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?t.type=B:t.removeAttribute("type"),r!=null?B==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+Nt(r)):t.value!==""+Nt(r)&&(t.value=""+Nt(r)):B!=="submit"&&B!=="reset"||t.removeAttribute("value"),r!=null?ji(t,B,Nt(r)):l!=null?ji(t,B,Nt(l)):o!=null&&t.removeAttribute("value"),p==null&&g!=null&&(t.defaultChecked=!!g),p!=null&&(t.checked=p&&typeof p!="function"&&typeof p!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?t.name=""+Nt(w):t.removeAttribute("name")}function Wa(t,r,l,o,p,g,B,w){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.type=g),r!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||r!=null)){Mi(t);return}l=l!=null?""+Nt(l):"",r=r!=null?""+Nt(r):l,w||r===t.value||(t.value=r),t.defaultValue=r}o=o??p,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=w?t.checked:!!o,t.defaultChecked=!!o,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(t.name=B),Mi(t)}function ji(t,r,l){r==="number"&&Ti(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function un(t,r,l,o){if(t=t.options,r){r={};for(var p=0;p<l.length;p++)r["$"+l[p]]=!0;for(l=0;l<t.length;l++)p=r.hasOwnProperty("$"+t[l].value),t[l].selected!==p&&(t[l].selected=p),p&&o&&(t[l].defaultSelected=!0)}else{for(l=""+Nt(l),r=null,p=0;p<t.length;p++){if(t[p].value===l){t[p].selected=!0,o&&(t[p].defaultSelected=!0);return}r!==null||t[p].disabled||(r=t[p])}r!==null&&(r.selected=!0)}}function lo(t,r,l){if(r!=null&&(r=""+Nt(r),r!==t.value&&(t.value=r),l==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=l!=null?""+Nt(l):""}function Ri(t,r,l,o){if(r==null){if(o!=null){if(l!=null)throw Error(i(92));if(P(o)){if(1<o.length)throw Error(i(93));o=o[0]}l=o}l==null&&(l=""),r=l}l=Nt(r),t.defaultValue=l,o=t.textContent,o===l&&o!==""&&o!==null&&(t.value=o),Mi(t)}function Pe(t,r){if(r){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=r;return}}t.textContent=r}var so=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jt(t,r,l){var o=r.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?o?t.setProperty(r,""):r==="float"?t.cssFloat="":t[r]="":o?t.setProperty(r,l):typeof l!="number"||l===0||so.has(r)?r==="float"?t.cssFloat=l:t[r]=(""+l).trim():t[r]=l+"px"}function gt(t,r,l){if(r!=null&&typeof r!="object")throw Error(i(62));if(t=t.style,l!=null){for(var o in l)!l.hasOwnProperty(o)||r!=null&&r.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var p in r)o=r[p],r.hasOwnProperty(p)&&l[p]!==o&&Jt(t,p,o)}else for(var g in r)r.hasOwnProperty(g)&&Jt(t,g,r[g])}function ma(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hr=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Sl=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ea(t){return Sl.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ge(){}var Me=null;function Ye(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var at=null,Ut=null;function ir(t){var r=Ur(t);if(r&&(t=r.stateNode)){var l=t[gn]||null;e:switch(t=r.stateNode,r.type){case"input":if(wl(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),r=l.name,l.type==="radio"&&r!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+jn(""+r)+'"][type="radio"]'),r=0;r<l.length;r++){var o=l[r];if(o!==t&&o.form===t.form){var p=o[gn]||null;if(!p)throw Error(i(90));wl(o,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(r=0;r<l.length;r++)o=l[r],o.form===t.form&&Fl(o)}break e;case"textarea":lo(t,l.value,l.defaultValue);break e;case"select":r=l.value,r!=null&&un(t,!!l.multiple,r,!1)}}}var _l=!1;function oo(t,r,l){if(_l)return t(r,l);_l=!0;try{var o=t(r);return o}finally{if(_l=!1,(at!==null||Ut!==null)&&(Xo(),at&&(r=at,t=Ut,Ut=at=null,ir(r),t)))for(r=0;r<t.length;r++)ir(t[r])}}function Nl(t,r){var l=t.stateNode;if(l===null)return null;var o=l[gn]||null;if(o===null)return null;l=o[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,r,typeof l));return l}var qr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sc=!1;if(qr)try{var Ml={};Object.defineProperty(Ml,"passive",{get:function(){sc=!0}}),window.addEventListener("test",Ml,Ml),window.removeEventListener("test",Ml,Ml)}catch{sc=!1}var ga=null,oc=null,co=null;function yf(){if(co)return co;var t,r=oc,l=r.length,o,p="value"in ga?ga.value:ga.textContent,g=p.length;for(t=0;t<l&&r[t]===p[t];t++);var B=l-t;for(o=1;o<=B&&r[l-o]===p[g-o];o++);return co=p.slice(t,1<o?1-o:void 0)}function xo(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function uo(){return!0}function Cf(){return!1}function Rn(t){function r(l,o,p,g,B){this._reactName=l,this._targetInst=p,this.type=o,this.nativeEvent=g,this.target=B,this.currentTarget=null;for(var w in t)t.hasOwnProperty(w)&&(l=t[w],this[w]=l?l(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?uo:Cf,this.isPropagationStopped=Cf,this}return h(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=uo)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=uo)},persist:function(){},isPersistent:uo}),r}var Ja={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fo=Rn(Ja),Tl=h({},Ja,{view:0,detail:0}),I5=Rn(Tl),cc,xc,jl,ho=h({},Tl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==jl&&(jl&&t.type==="mousemove"?(cc=t.screenX-jl.screenX,xc=t.screenY-jl.screenY):xc=cc=0,jl=t),cc)},movementY:function(t){return"movementY"in t?t.movementY:xc}}),bf=Rn(ho),H5=h({},ho,{dataTransfer:0}),q5=Rn(H5),$5=h({},Tl,{relatedTarget:0}),uc=Rn($5),G5=h({},Ja,{animationName:0,elapsedTime:0,pseudoElement:0}),V5=Rn(G5),Q5=h({},Ja,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Y5=Rn(Q5),K5=h({},Ja,{data:0}),Af=Rn(K5),X5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Z5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},W5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function J5(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=W5[t])?!!r[t]:!1}function dc(){return J5}var eg=h({},Tl,{key:function(t){if(t.key){var r=X5[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=xo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Z5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dc,charCode:function(t){return t.type==="keypress"?xo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),tg=Rn(eg),ng=h({},ho,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=Rn(ng),rg=h({},Tl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dc}),ag=Rn(rg),ig=h({},Ja,{propertyName:0,elapsedTime:0,pseudoElement:0}),lg=Rn(ig),sg=h({},ho,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),og=Rn(sg),cg=h({},Ja,{newState:0,oldState:0}),xg=Rn(cg),ug=[9,13,27,32],fc=qr&&"CompositionEvent"in window,Rl=null;qr&&"documentMode"in document&&(Rl=document.documentMode);var dg=qr&&"TextEvent"in window&&!Rl,vf=qr&&(!fc||Rl&&8<Rl&&11>=Rl),kf=" ",Df=!1;function Ff(t,r){switch(t){case"keyup":return ug.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Oi=!1;function fg(t,r){switch(t){case"compositionend":return wf(r);case"keypress":return r.which!==32?null:(Df=!0,kf);case"textInput":return t=r.data,t===kf&&Df?null:t;default:return null}}function hg(t,r){if(Oi)return t==="compositionend"||!fc&&Ff(t,r)?(t=yf(),co=oc=ga=null,Oi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return vf&&r.locale!=="ko"?null:r.data;default:return null}}var pg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sf(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!pg[t.type]:r==="textarea"}function _f(t,r,l,o){at?Ut?Ut.push(o):Ut=[o]:at=o,r=r0(r,"onChange"),0<r.length&&(l=new fo("onChange","change",null,l,o),t.push({event:l,listeners:r}))}var Ol=null,zl=null;function mg(t){dp(t,0)}function po(t){var r=ha(t);if(Fl(r))return t}function Nf(t,r){if(t==="change")return r}var Mf=!1;if(qr){var hc;if(qr){var pc="oninput"in document;if(!pc){var Tf=document.createElement("div");Tf.setAttribute("oninput","return;"),pc=typeof Tf.oninput=="function"}hc=pc}else hc=!1;Mf=hc&&(!document.documentMode||9<document.documentMode)}function jf(){Ol&&(Ol.detachEvent("onpropertychange",Rf),zl=Ol=null)}function Rf(t){if(t.propertyName==="value"&&po(zl)){var r=[];_f(r,zl,t,Ye(t)),oo(mg,r)}}function Eg(t,r,l){t==="focusin"?(jf(),Ol=r,zl=l,Ol.attachEvent("onpropertychange",Rf)):t==="focusout"&&jf()}function gg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return po(zl)}function yg(t,r){if(t==="click")return po(r)}function Cg(t,r){if(t==="input"||t==="change")return po(r)}function bg(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Qn=typeof Object.is=="function"?Object.is:bg;function Ll(t,r){if(Qn(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var l=Object.keys(t),o=Object.keys(r);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var p=l[o];if(!Ve.call(r,p)||!Qn(t[p],r[p]))return!1}return!0}function Of(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function zf(t,r){var l=Of(t);t=0;for(var o;l;){if(l.nodeType===3){if(o=t+l.textContent.length,t<=r&&o>=r)return{node:l,offset:r-t};t=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Of(l)}}function Lf(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Lf(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Pf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=Ti(t.document);r instanceof t.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)t=r.contentWindow;else break;r=Ti(t.document)}return r}function mc(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}var Ag=qr&&"documentMode"in document&&11>=document.documentMode,zi=null,Ec=null,Pl=null,gc=!1;function Uf(t,r,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;gc||zi==null||zi!==Ti(o)||(o=zi,"selectionStart"in o&&mc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Pl&&Ll(Pl,o)||(Pl=o,o=r0(Ec,"onSelect"),0<o.length&&(r=new fo("onSelect","select",null,r,l),t.push({event:r,listeners:o}),r.target=zi)))}function ei(t,r){var l={};return l[t.toLowerCase()]=r.toLowerCase(),l["Webkit"+t]="webkit"+r,l["Moz"+t]="moz"+r,l}var Li={animationend:ei("Animation","AnimationEnd"),animationiteration:ei("Animation","AnimationIteration"),animationstart:ei("Animation","AnimationStart"),transitionrun:ei("Transition","TransitionRun"),transitionstart:ei("Transition","TransitionStart"),transitioncancel:ei("Transition","TransitionCancel"),transitionend:ei("Transition","TransitionEnd")},yc={},If={};qr&&(If=document.createElement("div").style,"AnimationEvent"in window||(delete Li.animationend.animation,delete Li.animationiteration.animation,delete Li.animationstart.animation),"TransitionEvent"in window||delete Li.transitionend.transition);function ti(t){if(yc[t])return yc[t];if(!Li[t])return t;var r=Li[t],l;for(l in r)if(r.hasOwnProperty(l)&&l in If)return yc[t]=r[l];return t}var Hf=ti("animationend"),qf=ti("animationiteration"),$f=ti("animationstart"),Bg=ti("transitionrun"),vg=ti("transitionstart"),kg=ti("transitioncancel"),Gf=ti("transitionend"),Vf=new Map,Cc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Cc.push("scrollEnd");function Br(t,r){Vf.set(t,r),Ir(r,[t])}var mo=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},lr=[],Pi=0,bc=0;function Eo(){for(var t=Pi,r=bc=Pi=0;r<t;){var l=lr[r];lr[r++]=null;var o=lr[r];lr[r++]=null;var p=lr[r];lr[r++]=null;var g=lr[r];if(lr[r++]=null,o!==null&&p!==null){var B=o.pending;B===null?p.next=p:(p.next=B.next,B.next=p),o.pending=p}g!==0&&Qf(l,p,g)}}function go(t,r,l,o){lr[Pi++]=t,lr[Pi++]=r,lr[Pi++]=l,lr[Pi++]=o,bc|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Ac(t,r,l,o){return go(t,r,l,o),yo(t)}function ni(t,r){return go(t,null,null,r),yo(t)}function Qf(t,r,l){t.lanes|=l;var o=t.alternate;o!==null&&(o.lanes|=l);for(var p=!1,g=t.return;g!==null;)g.childLanes|=l,o=g.alternate,o!==null&&(o.childLanes|=l),g.tag===22&&(t=g.stateNode,t===null||t._visibility&1||(p=!0)),t=g,g=g.return;return t.tag===3?(g=t.stateNode,p&&r!==null&&(p=31-mt(l),t=g.hiddenUpdates,o=t[p],o===null?t[p]=[r]:o.push(r),r.lane=l|536870912),g):null}function yo(t){if(50<ss)throw ss=0,Nx=null,Error(i(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var Ui={};function Dg(t,r,l,o){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yn(t,r,l,o){return new Dg(t,r,l,o)}function Bc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function $r(t,r){var l=t.alternate;return l===null?(l=Yn(t.tag,r,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=r,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,r=t.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Yf(t,r){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=r,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,r=l.dependencies,t.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),t}function Co(t,r,l,o,p,g){var B=0;if(o=t,typeof t=="function")Bc(t)&&(B=1);else if(typeof t=="string")B=N6(t,l,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case $:return t=Yn(31,l,r,p),t.elementType=$,t.lanes=g,t;case A:return ri(l.children,p,g,r);case v:B=8,p|=24;break;case k:return t=Yn(12,l,r,p|2),t.elementType=k,t.lanes=g,t;case O:return t=Yn(13,l,r,p),t.elementType=O,t.lanes=g,t;case M:return t=Yn(19,l,r,p),t.elementType=M,t.lanes=g,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case F:B=10;break e;case T:B=9;break e;case j:B=11;break e;case R:B=14;break e;case z:B=16,o=null;break e}B=29,l=Error(i(130,t===null?"null":typeof t,"")),o=null}return r=Yn(B,l,r,p),r.elementType=t,r.type=o,r.lanes=g,r}function ri(t,r,l,o){return t=Yn(7,t,o,r),t.lanes=l,t}function vc(t,r,l){return t=Yn(6,t,null,r),t.lanes=l,t}function Kf(t){var r=Yn(18,null,null,0);return r.stateNode=t,r}function kc(t,r,l){return r=Yn(4,t.children!==null?t.children:[],t.key,r),r.lanes=l,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var Xf=new WeakMap;function sr(t,r){if(typeof t=="object"&&t!==null){var l=Xf.get(t);return l!==void 0?l:(r={value:t,source:r,stack:_t(r)},Xf.set(t,r),r)}return{value:t,source:r,stack:_t(r)}}var Ii=[],Hi=0,bo=null,Ul=0,or=[],cr=0,ya=null,Nr=1,Mr="";function Gr(t,r){Ii[Hi++]=Ul,Ii[Hi++]=bo,bo=t,Ul=r}function Zf(t,r,l){or[cr++]=Nr,or[cr++]=Mr,or[cr++]=ya,ya=t;var o=Nr;t=Mr;var p=32-mt(o)-1;o&=~(1<<p),l+=1;var g=32-mt(r)+p;if(30<g){var B=p-p%5;g=(o&(1<<B)-1).toString(32),o>>=B,p-=B,Nr=1<<32-mt(r)+p|l<<p|o,Mr=g+t}else Nr=1<<g|l<<p|o,Mr=t}function Dc(t){t.return!==null&&(Gr(t,1),Zf(t,1,0))}function Fc(t){for(;t===bo;)bo=Ii[--Hi],Ii[Hi]=null,Ul=Ii[--Hi],Ii[Hi]=null;for(;t===ya;)ya=or[--cr],or[cr]=null,Mr=or[--cr],or[cr]=null,Nr=or[--cr],or[cr]=null}function Wf(t,r){or[cr++]=Nr,or[cr++]=Mr,or[cr++]=ya,Nr=r.id,Mr=r.overflow,ya=t}var dn=null,Tt=null,st=!1,Ca=null,xr=!1,wc=Error(i(519));function ba(t){var r=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Il(sr(r,t)),wc}function Jf(t){var r=t.stateNode,l=t.type,o=t.memoizedProps;switch(r[Qt]=t,r[gn]=o,l){case"dialog":tt("cancel",r),tt("close",r);break;case"iframe":case"object":case"embed":tt("load",r);break;case"video":case"audio":for(l=0;l<cs.length;l++)tt(cs[l],r);break;case"source":tt("error",r);break;case"img":case"image":case"link":tt("error",r),tt("load",r);break;case"details":tt("toggle",r);break;case"input":tt("invalid",r),Wa(r,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":tt("invalid",r);break;case"textarea":tt("invalid",r),Ri(r,o.value,o.defaultValue,o.children)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||r.textContent===""+l||o.suppressHydrationWarning===!0||mp(r.textContent,l)?(o.popover!=null&&(tt("beforetoggle",r),tt("toggle",r)),o.onScroll!=null&&tt("scroll",r),o.onScrollEnd!=null&&tt("scrollend",r),o.onClick!=null&&(r.onclick=ge),r=!0):r=!1,r||ba(t,!0)}function eh(t){for(dn=t.return;dn;)switch(dn.tag){case 5:case 31:case 13:xr=!1;return;case 27:case 3:xr=!0;return;default:dn=dn.return}}function qi(t){if(t!==dn)return!1;if(!st)return eh(t),st=!0,!1;var r=t.tag,l;if((l=r!==3&&r!==27)&&((l=r===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Vx(t.type,t.memoizedProps)),l=!l),l&&Tt&&ba(t),eh(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Tt=kp(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Tt=kp(t)}else r===27?(r=Tt,Ra(t.type)?(t=Zx,Zx=null,Tt=t):Tt=r):Tt=dn?dr(t.stateNode.nextSibling):null;return!0}function ai(){Tt=dn=null,st=!1}function Sc(){var t=Ca;return t!==null&&(Pn===null?Pn=t:Pn.push.apply(Pn,t),Ca=null),t}function Il(t){Ca===null?Ca=[t]:Ca.push(t)}var _c=S(null),ii=null,Vr=null;function Aa(t,r,l){_(_c,r._currentValue),r._currentValue=l}function Qr(t){t._currentValue=_c.current,Q(_c)}function Nc(t,r,l){for(;t!==null;){var o=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,o!==null&&(o.childLanes|=r)):o!==null&&(o.childLanes&r)!==r&&(o.childLanes|=r),t===l)break;t=t.return}}function Mc(t,r,l,o){var p=t.child;for(p!==null&&(p.return=t);p!==null;){var g=p.dependencies;if(g!==null){var B=p.child;g=g.firstContext;e:for(;g!==null;){var w=g;g=p;for(var I=0;I<r.length;I++)if(w.context===r[I]){g.lanes|=l,w=g.alternate,w!==null&&(w.lanes|=l),Nc(g.return,l,t),o||(B=null);break e}g=w.next}}else if(p.tag===18){if(B=p.return,B===null)throw Error(i(341));B.lanes|=l,g=B.alternate,g!==null&&(g.lanes|=l),Nc(B,l,t),B=null}else B=p.child;if(B!==null)B.return=p;else for(B=p;B!==null;){if(B===t){B=null;break}if(p=B.sibling,p!==null){p.return=B.return,B=p;break}B=B.return}p=B}}function $i(t,r,l,o){t=null;for(var p=r,g=!1;p!==null;){if(!g){if((p.flags&524288)!==0)g=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var B=p.alternate;if(B===null)throw Error(i(387));if(B=B.memoizedProps,B!==null){var w=p.type;Qn(p.pendingProps.value,B.value)||(t!==null?t.push(w):t=[w])}}else if(p===ve.current){if(B=p.alternate,B===null)throw Error(i(387));B.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(t!==null?t.push(hs):t=[hs])}p=p.return}t!==null&&Mc(r,t,l,o),r.flags|=262144}function Ao(t){for(t=t.firstContext;t!==null;){if(!Qn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function li(t){ii=t,Vr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function fn(t){return th(ii,t)}function Bo(t,r){return ii===null&&li(t),th(t,r)}function th(t,r){var l=r._currentValue;if(r={context:r,memoizedValue:l,next:null},Vr===null){if(t===null)throw Error(i(308));Vr=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else Vr=Vr.next=r;return l}var Fg=typeof AbortController<"u"?AbortController:function(){var t=[],r=this.signal={aborted:!1,addEventListener:function(l,o){t.push(o)}};this.abort=function(){r.aborted=!0,t.forEach(function(l){return l()})}},wg=e.unstable_scheduleCallback,Sg=e.unstable_NormalPriority,en={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Tc(){return{controller:new Fg,data:new Map,refCount:0}}function Hl(t){t.refCount--,t.refCount===0&&wg(Sg,function(){t.controller.abort()})}var ql=null,jc=0,Gi=0,Vi=null;function _g(t,r){if(ql===null){var l=ql=[];jc=0,Gi=zx(),Vi={status:"pending",value:void 0,then:function(o){l.push(o)}}}return jc++,r.then(nh,nh),r}function nh(){if(--jc===0&&ql!==null){Vi!==null&&(Vi.status="fulfilled");var t=ql;ql=null,Gi=0,Vi=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function Ng(t,r){var l=[],o={status:"pending",value:null,reason:null,then:function(p){l.push(p)}};return t.then(function(){o.status="fulfilled",o.value=r;for(var p=0;p<l.length;p++)(0,l[p])(r)},function(p){for(o.status="rejected",o.reason=p,p=0;p<l.length;p++)(0,l[p])(void 0)}),o}var rh=U.S;U.S=function(t,r){U1=rt(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&_g(t,r),rh!==null&&rh(t,r)};var si=S(null);function Rc(){var t=si.current;return t!==null?t:Ft.pooledCache}function vo(t,r){r===null?_(si,si.current):_(si,r.pool)}function ah(){var t=Rc();return t===null?null:{parent:en._currentValue,pool:t}}var Qi=Error(i(460)),Oc=Error(i(474)),ko=Error(i(542)),Do={then:function(){}};function ih(t){return t=t.status,t==="fulfilled"||t==="rejected"}function lh(t,r,l){switch(l=t[l],l===void 0?t.push(r):l!==r&&(r.then(ge,ge),r=l),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,oh(t),t;default:if(typeof r.status=="string")r.then(ge,ge);else{if(t=Ft,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=r,t.status="pending",t.then(function(o){if(r.status==="pending"){var p=r;p.status="fulfilled",p.value=o}},function(o){if(r.status==="pending"){var p=r;p.status="rejected",p.reason=o}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,oh(t),t}throw ci=r,Qi}}function oi(t){try{var r=t._init;return r(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ci=l,Qi):l}}var ci=null;function sh(){if(ci===null)throw Error(i(459));var t=ci;return ci=null,t}function oh(t){if(t===Qi||t===ko)throw Error(i(483))}var Yi=null,$l=0;function Fo(t){var r=$l;return $l+=1,Yi===null&&(Yi=[]),lh(Yi,t,r)}function Gl(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function wo(t,r){throw r.$$typeof===y?Error(i(525)):(t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t)))}function ch(t){function r(K,q){if(t){var W=K.deletions;W===null?(K.deletions=[q],K.flags|=16):W.push(q)}}function l(K,q){if(!t)return null;for(;q!==null;)r(K,q),q=q.sibling;return null}function o(K){for(var q=new Map;K!==null;)K.key!==null?q.set(K.key,K):q.set(K.index,K),K=K.sibling;return q}function p(K,q){return K=$r(K,q),K.index=0,K.sibling=null,K}function g(K,q,W){return K.index=W,t?(W=K.alternate,W!==null?(W=W.index,W<q?(K.flags|=67108866,q):W):(K.flags|=67108866,q)):(K.flags|=1048576,q)}function B(K){return t&&K.alternate===null&&(K.flags|=67108866),K}function w(K,q,W,ce){return q===null||q.tag!==6?(q=vc(W,K.mode,ce),q.return=K,q):(q=p(q,W),q.return=K,q)}function I(K,q,W,ce){var Re=W.type;return Re===A?le(K,q,W.props.children,ce,W.key):q!==null&&(q.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===z&&oi(Re)===q.type)?(q=p(q,W.props),Gl(q,W),q.return=K,q):(q=Co(W.type,W.key,W.props,null,K.mode,ce),Gl(q,W),q.return=K,q)}function ee(K,q,W,ce){return q===null||q.tag!==4||q.stateNode.containerInfo!==W.containerInfo||q.stateNode.implementation!==W.implementation?(q=kc(W,K.mode,ce),q.return=K,q):(q=p(q,W.children||[]),q.return=K,q)}function le(K,q,W,ce,Re){return q===null||q.tag!==7?(q=ri(W,K.mode,ce,Re),q.return=K,q):(q=p(q,W),q.return=K,q)}function xe(K,q,W){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=vc(""+q,K.mode,W),q.return=K,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case C:return W=Co(q.type,q.key,q.props,null,K.mode,W),Gl(W,q),W.return=K,W;case b:return q=kc(q,K.mode,W),q.return=K,q;case z:return q=oi(q),xe(K,q,W)}if(P(q)||Y(q))return q=ri(q,K.mode,W,null),q.return=K,q;if(typeof q.then=="function")return xe(K,Fo(q),W);if(q.$$typeof===F)return xe(K,Bo(K,q),W);wo(K,q)}return null}function ne(K,q,W,ce){var Re=q!==null?q.key:null;if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return Re!==null?null:w(K,q,""+W,ce);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case C:return W.key===Re?I(K,q,W,ce):null;case b:return W.key===Re?ee(K,q,W,ce):null;case z:return W=oi(W),ne(K,q,W,ce)}if(P(W)||Y(W))return Re!==null?null:le(K,q,W,ce,null);if(typeof W.then=="function")return ne(K,q,Fo(W),ce);if(W.$$typeof===F)return ne(K,q,Bo(K,W),ce);wo(K,W)}return null}function ae(K,q,W,ce,Re){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return K=K.get(W)||null,w(q,K,""+ce,Re);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case C:return K=K.get(ce.key===null?W:ce.key)||null,I(q,K,ce,Re);case b:return K=K.get(ce.key===null?W:ce.key)||null,ee(q,K,ce,Re);case z:return ce=oi(ce),ae(K,q,W,ce,Re)}if(P(ce)||Y(ce))return K=K.get(W)||null,le(q,K,ce,Re,null);if(typeof ce.then=="function")return ae(K,q,W,Fo(ce),Re);if(ce.$$typeof===F)return ae(K,q,W,Bo(q,ce),Re);wo(q,ce)}return null}function Se(K,q,W,ce){for(var Re=null,ut=null,Te=q,Xe=q=0,lt=null;Te!==null&&Xe<W.length;Xe++){Te.index>Xe?(lt=Te,Te=null):lt=Te.sibling;var dt=ne(K,Te,W[Xe],ce);if(dt===null){Te===null&&(Te=lt);break}t&&Te&&dt.alternate===null&&r(K,Te),q=g(dt,q,Xe),ut===null?Re=dt:ut.sibling=dt,ut=dt,Te=lt}if(Xe===W.length)return l(K,Te),st&&Gr(K,Xe),Re;if(Te===null){for(;Xe<W.length;Xe++)Te=xe(K,W[Xe],ce),Te!==null&&(q=g(Te,q,Xe),ut===null?Re=Te:ut.sibling=Te,ut=Te);return st&&Gr(K,Xe),Re}for(Te=o(Te);Xe<W.length;Xe++)lt=ae(Te,K,Xe,W[Xe],ce),lt!==null&&(t&<.alternate!==null&&Te.delete(lt.key===null?Xe:lt.key),q=g(lt,q,Xe),ut===null?Re=lt:ut.sibling=lt,ut=lt);return t&&Te.forEach(function(Ua){return r(K,Ua)}),st&&Gr(K,Xe),Re}function Le(K,q,W,ce){if(W==null)throw Error(i(151));for(var Re=null,ut=null,Te=q,Xe=q=0,lt=null,dt=W.next();Te!==null&&!dt.done;Xe++,dt=W.next()){Te.index>Xe?(lt=Te,Te=null):lt=Te.sibling;var Ua=ne(K,Te,dt.value,ce);if(Ua===null){Te===null&&(Te=lt);break}t&&Te&&Ua.alternate===null&&r(K,Te),q=g(Ua,q,Xe),ut===null?Re=Ua:ut.sibling=Ua,ut=Ua,Te=lt}if(dt.done)return l(K,Te),st&&Gr(K,Xe),Re;if(Te===null){for(;!dt.done;Xe++,dt=W.next())dt=xe(K,dt.value,ce),dt!==null&&(q=g(dt,q,Xe),ut===null?Re=dt:ut.sibling=dt,ut=dt);return st&&Gr(K,Xe),Re}for(Te=o(Te);!dt.done;Xe++,dt=W.next())dt=ae(Te,K,Xe,dt.value,ce),dt!==null&&(t&&dt.alternate!==null&&Te.delete(dt.key===null?Xe:dt.key),q=g(dt,q,Xe),ut===null?Re=dt:ut.sibling=dt,ut=dt);return t&&Te.forEach(function(H6){return r(K,H6)}),st&&Gr(K,Xe),Re}function vt(K,q,W,ce){if(typeof W=="object"&&W!==null&&W.type===A&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case C:e:{for(var Re=W.key;q!==null;){if(q.key===Re){if(Re=W.type,Re===A){if(q.tag===7){l(K,q.sibling),ce=p(q,W.props.children),ce.return=K,K=ce;break e}}else if(q.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===z&&oi(Re)===q.type){l(K,q.sibling),ce=p(q,W.props),Gl(ce,W),ce.return=K,K=ce;break e}l(K,q);break}else r(K,q);q=q.sibling}W.type===A?(ce=ri(W.props.children,K.mode,ce,W.key),ce.return=K,K=ce):(ce=Co(W.type,W.key,W.props,null,K.mode,ce),Gl(ce,W),ce.return=K,K=ce)}return B(K);case b:e:{for(Re=W.key;q!==null;){if(q.key===Re)if(q.tag===4&&q.stateNode.containerInfo===W.containerInfo&&q.stateNode.implementation===W.implementation){l(K,q.sibling),ce=p(q,W.children||[]),ce.return=K,K=ce;break e}else{l(K,q);break}else r(K,q);q=q.sibling}ce=kc(W,K.mode,ce),ce.return=K,K=ce}return B(K);case z:return W=oi(W),vt(K,q,W,ce)}if(P(W))return Se(K,q,W,ce);if(Y(W)){if(Re=Y(W),typeof Re!="function")throw Error(i(150));return W=Re.call(W),Le(K,q,W,ce)}if(typeof W.then=="function")return vt(K,q,Fo(W),ce);if(W.$$typeof===F)return vt(K,q,Bo(K,W),ce);wo(K,W)}return typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint"?(W=""+W,q!==null&&q.tag===6?(l(K,q.sibling),ce=p(q,W),ce.return=K,K=ce):(l(K,q),ce=vc(W,K.mode,ce),ce.return=K,K=ce),B(K)):l(K,q)}return function(K,q,W,ce){try{$l=0;var Re=vt(K,q,W,ce);return Yi=null,Re}catch(Te){if(Te===Qi||Te===ko)throw Te;var ut=Yn(29,Te,null,K.mode);return ut.lanes=ce,ut.return=K,ut}}}var xi=ch(!0),xh=ch(!1),Ba=!1;function zc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lc(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function va(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ka(t,r,l){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(pt&2)!==0){var p=o.pending;return p===null?r.next=r:(r.next=p.next,p.next=r),o.pending=r,r=yo(t),Qf(t,null,l),r}return go(t,o,r,l),yo(t)}function Vl(t,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194048)!==0)){var o=r.lanes;o&=t.pendingLanes,l|=o,r.lanes=l,Ue(t,l)}}function Pc(t,r){var l=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var p=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var B={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?p=g=B:g=g.next=B,l=l.next}while(l!==null);g===null?p=g=r:g=g.next=r}else p=g=r;l={baseState:o.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:o.shared,callbacks:o.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=r:t.next=r,l.lastBaseUpdate=r}var Uc=!1;function Ql(){if(Uc){var t=Vi;if(t!==null)throw t}}function Yl(t,r,l,o){Uc=!1;var p=t.updateQueue;Ba=!1;var g=p.firstBaseUpdate,B=p.lastBaseUpdate,w=p.shared.pending;if(w!==null){p.shared.pending=null;var I=w,ee=I.next;I.next=null,B===null?g=ee:B.next=ee,B=I;var le=t.alternate;le!==null&&(le=le.updateQueue,w=le.lastBaseUpdate,w!==B&&(w===null?le.firstBaseUpdate=ee:w.next=ee,le.lastBaseUpdate=I))}if(g!==null){var xe=p.baseState;B=0,le=ee=I=null,w=g;do{var ne=w.lane&-536870913,ae=ne!==w.lane;if(ae?(it&ne)===ne:(o&ne)===ne){ne!==0&&ne===Gi&&(Uc=!0),le!==null&&(le=le.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var Se=t,Le=w;ne=r;var vt=l;switch(Le.tag){case 1:if(Se=Le.payload,typeof Se=="function"){xe=Se.call(vt,xe,ne);break e}xe=Se;break e;case 3:Se.flags=Se.flags&-65537|128;case 0:if(Se=Le.payload,ne=typeof Se=="function"?Se.call(vt,xe,ne):Se,ne==null)break e;xe=h({},xe,ne);break e;case 2:Ba=!0}}ne=w.callback,ne!==null&&(t.flags|=64,ae&&(t.flags|=8192),ae=p.callbacks,ae===null?p.callbacks=[ne]:ae.push(ne))}else ae={lane:ne,tag:w.tag,payload:w.payload,callback:w.callback,next:null},le===null?(ee=le=ae,I=xe):le=le.next=ae,B|=ne;if(w=w.next,w===null){if(w=p.shared.pending,w===null)break;ae=w,w=ae.next,ae.next=null,p.lastBaseUpdate=ae,p.shared.pending=null}}while(!0);le===null&&(I=xe),p.baseState=I,p.firstBaseUpdate=ee,p.lastBaseUpdate=le,g===null&&(p.shared.lanes=0),_a|=B,t.lanes=B,t.memoizedState=xe}}function uh(t,r){if(typeof t!="function")throw Error(i(191,t));t.call(r)}function dh(t,r){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)uh(l[t],r)}var Ki=S(null),So=S(0);function fh(t,r){t=na,_(So,t),_(Ki,r),na=t|r.baseLanes}function Ic(){_(So,na),_(Ki,Ki.current)}function Hc(){na=So.current,Q(Ki),Q(So)}var Kn=S(null),ur=null;function Da(t){var r=t.alternate;_(Kt,Kt.current&1),_(Kn,t),ur===null&&(r===null||Ki.current!==null||r.memoizedState!==null)&&(ur=t)}function qc(t){_(Kt,Kt.current),_(Kn,t),ur===null&&(ur=t)}function hh(t){t.tag===22?(_(Kt,Kt.current),_(Kn,t),ur===null&&(ur=t)):Fa()}function Fa(){_(Kt,Kt.current),_(Kn,Kn.current)}function Xn(t){Q(Kn),ur===t&&(ur=null),Q(Kt)}var Kt=S(0);function _o(t){for(var r=t;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Kx(l)||Xx(l)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Yr=0,Ke=null,At=null,tn=null,No=!1,Xi=!1,ui=!1,Mo=0,Kl=0,Zi=null,Mg=0;function Ht(){throw Error(i(321))}function $c(t,r){if(r===null)return!1;for(var l=0;l<r.length&&l<t.length;l++)if(!Qn(t[l],r[l]))return!1;return!0}function Gc(t,r,l,o,p,g){return Yr=g,Ke=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,U.H=t===null||t.memoizedState===null?Zh:lx,ui=!1,g=l(o,p),ui=!1,Xi&&(g=mh(r,l,o,p)),ph(t),g}function ph(t){U.H=Wl;var r=At!==null&&At.next!==null;if(Yr=0,tn=At=Ke=null,No=!1,Kl=0,Zi=null,r)throw Error(i(300));t===null||nn||(t=t.dependencies,t!==null&&Ao(t)&&(nn=!0))}function mh(t,r,l,o){Ke=t;var p=0;do{if(Xi&&(Zi=null),Kl=0,Xi=!1,25<=p)throw Error(i(301));if(p+=1,tn=At=null,t.updateQueue!=null){var g=t.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}U.H=Wh,g=r(l,o)}while(Xi);return g}function Tg(){var t=U.H,r=t.useState()[0];return r=typeof r.then=="function"?Xl(r):r,t=t.useState()[0],(At!==null?At.memoizedState:null)!==t&&(Ke.flags|=1024),r}function Vc(){var t=Mo!==0;return Mo=0,t}function Qc(t,r,l){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~l}function Yc(t){if(No){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}No=!1}Yr=0,tn=At=Ke=null,Xi=!1,Kl=Mo=0,Zi=null}function Sn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tn===null?Ke.memoizedState=tn=t:tn=tn.next=t,tn}function Xt(){if(At===null){var t=Ke.alternate;t=t!==null?t.memoizedState:null}else t=At.next;var r=tn===null?Ke.memoizedState:tn.next;if(r!==null)tn=r,At=t;else{if(t===null)throw Ke.alternate===null?Error(i(467)):Error(i(310));At=t,t={memoizedState:At.memoizedState,baseState:At.baseState,baseQueue:At.baseQueue,queue:At.queue,next:null},tn===null?Ke.memoizedState=tn=t:tn=tn.next=t}return tn}function To(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(t){var r=Kl;return Kl+=1,Zi===null&&(Zi=[]),t=lh(Zi,t,r),r=Ke,(tn===null?r.memoizedState:tn.next)===null&&(r=r.alternate,U.H=r===null||r.memoizedState===null?Zh:lx),t}function jo(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Xl(t);if(t.$$typeof===F)return fn(t)}throw Error(i(438,String(t)))}function Kc(t){var r=null,l=Ke.updateQueue;if(l!==null&&(r=l.memoCache),r==null){var o=Ke.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(r={data:o.data.map(function(p){return p.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),l===null&&(l=To(),Ke.updateQueue=l),l.memoCache=r,l=r.data[r.index],l===void 0)for(l=r.data[r.index]=Array(t),o=0;o<t;o++)l[o]=L;return r.index++,l}function Kr(t,r){return typeof r=="function"?r(t):r}function Ro(t){var r=Xt();return Xc(r,At,t)}function Xc(t,r,l){var o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=l;var p=t.baseQueue,g=o.pending;if(g!==null){if(p!==null){var B=p.next;p.next=g.next,g.next=B}r.baseQueue=p=g,o.pending=null}if(g=t.baseState,p===null)t.memoizedState=g;else{r=p.next;var w=B=null,I=null,ee=r,le=!1;do{var xe=ee.lane&-536870913;if(xe!==ee.lane?(it&xe)===xe:(Yr&xe)===xe){var ne=ee.revertLane;if(ne===0)I!==null&&(I=I.next={lane:0,revertLane:0,gesture:null,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),xe===Gi&&(le=!0);else if((Yr&ne)===ne){ee=ee.next,ne===Gi&&(le=!0);continue}else xe={lane:0,revertLane:ee.revertLane,gesture:null,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},I===null?(w=I=xe,B=g):I=I.next=xe,Ke.lanes|=ne,_a|=ne;xe=ee.action,ui&&l(g,xe),g=ee.hasEagerState?ee.eagerState:l(g,xe)}else ne={lane:xe,revertLane:ee.revertLane,gesture:ee.gesture,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},I===null?(w=I=ne,B=g):I=I.next=ne,Ke.lanes|=xe,_a|=xe;ee=ee.next}while(ee!==null&&ee!==r);if(I===null?B=g:I.next=w,!Qn(g,t.memoizedState)&&(nn=!0,le&&(l=Vi,l!==null)))throw l;t.memoizedState=g,t.baseState=B,t.baseQueue=I,o.lastRenderedState=g}return p===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Zc(t){var r=Xt(),l=r.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var o=l.dispatch,p=l.pending,g=r.memoizedState;if(p!==null){l.pending=null;var B=p=p.next;do g=t(g,B.action),B=B.next;while(B!==p);Qn(g,r.memoizedState)||(nn=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),l.lastRenderedState=g}return[g,o]}function Eh(t,r,l){var o=Ke,p=Xt(),g=st;if(g){if(l===void 0)throw Error(i(407));l=l()}else l=r();var B=!Qn((At||p).memoizedState,l);if(B&&(p.memoizedState=l,nn=!0),p=p.queue,ex(Ch.bind(null,o,p,t),[t]),p.getSnapshot!==r||B||tn!==null&&tn.memoizedState.tag&1){if(o.flags|=2048,Wi(9,{destroy:void 0},yh.bind(null,o,p,l,r),null),Ft===null)throw Error(i(349));g||(Yr&127)!==0||gh(o,r,l)}return l}function gh(t,r,l){t.flags|=16384,t={getSnapshot:r,value:l},r=Ke.updateQueue,r===null?(r=To(),Ke.updateQueue=r,r.stores=[t]):(l=r.stores,l===null?r.stores=[t]:l.push(t))}function yh(t,r,l,o){r.value=l,r.getSnapshot=o,bh(r)&&Ah(t)}function Ch(t,r,l){return l(function(){bh(r)&&Ah(t)})}function bh(t){var r=t.getSnapshot;t=t.value;try{var l=r();return!Qn(t,l)}catch{return!0}}function Ah(t){var r=ni(t,2);r!==null&&Un(r,t,2)}function Wc(t){var r=Sn();if(typeof t=="function"){var l=t;if(t=l(),ui){En(!0);try{l()}finally{En(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kr,lastRenderedState:t},r}function Bh(t,r,l,o){return t.baseState=l,Xc(t,At,typeof o=="function"?o:Kr)}function jg(t,r,l,o,p){if(Lo(t))throw Error(i(485));if(t=r.action,t!==null){var g={payload:p,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){g.listeners.push(B)}};U.T!==null?l(!0):g.isTransition=!1,o(g),l=r.pending,l===null?(g.next=r.pending=g,vh(r,g)):(g.next=l.next,r.pending=l.next=g)}}function vh(t,r){var l=r.action,o=r.payload,p=t.state;if(r.isTransition){var g=U.T,B={};U.T=B;try{var w=l(p,o),I=U.S;I!==null&&I(B,w),kh(t,r,w)}catch(ee){Jc(t,r,ee)}finally{g!==null&&B.types!==null&&(g.types=B.types),U.T=g}}else try{g=l(p,o),kh(t,r,g)}catch(ee){Jc(t,r,ee)}}function kh(t,r,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(o){Dh(t,r,o)},function(o){return Jc(t,r,o)}):Dh(t,r,l)}function Dh(t,r,l){r.status="fulfilled",r.value=l,Fh(r),t.state=l,r=t.pending,r!==null&&(l=r.next,l===r?t.pending=null:(l=l.next,r.next=l,vh(t,l)))}function Jc(t,r,l){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do r.status="rejected",r.reason=l,Fh(r),r=r.next;while(r!==o)}t.action=null}function Fh(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function wh(t,r){return r}function Sh(t,r){if(st){var l=Ft.formState;if(l!==null){e:{var o=Ke;if(st){if(Tt){t:{for(var p=Tt,g=xr;p.nodeType!==8;){if(!g){p=null;break t}if(p=dr(p.nextSibling),p===null){p=null;break t}}g=p.data,p=g==="F!"||g==="F"?p:null}if(p){Tt=dr(p.nextSibling),o=p.data==="F!";break e}}ba(o)}o=!1}o&&(r=l[0])}}return l=Sn(),l.memoizedState=l.baseState=r,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wh,lastRenderedState:r},l.queue=o,l=Yh.bind(null,Ke,o),o.dispatch=l,o=Wc(!1),g=ix.bind(null,Ke,!1,o.queue),o=Sn(),p={state:r,dispatch:null,action:t,pending:null},o.queue=p,l=jg.bind(null,Ke,p,g,l),p.dispatch=l,o.memoizedState=t,[r,l,!1]}function _h(t){var r=Xt();return Nh(r,At,t)}function Nh(t,r,l){if(r=Xc(t,r,wh)[0],t=Ro(Kr)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var o=Xl(r)}catch(B){throw B===Qi?ko:B}else o=r;r=Xt();var p=r.queue,g=p.dispatch;return l!==r.memoizedState&&(Ke.flags|=2048,Wi(9,{destroy:void 0},Rg.bind(null,p,l),null)),[o,g,t]}function Rg(t,r){t.action=r}function Mh(t){var r=Xt(),l=At;if(l!==null)return Nh(r,l,t);Xt(),r=r.memoizedState,l=Xt();var o=l.queue.dispatch;return l.memoizedState=t,[r,o,!1]}function Wi(t,r,l,o){return t={tag:t,create:l,deps:o,inst:r,next:null},r=Ke.updateQueue,r===null&&(r=To(),Ke.updateQueue=r),l=r.lastEffect,l===null?r.lastEffect=t.next=t:(o=l.next,l.next=t,t.next=o,r.lastEffect=t),t}function Th(){return Xt().memoizedState}function Oo(t,r,l,o){var p=Sn();Ke.flags|=t,p.memoizedState=Wi(1|r,{destroy:void 0},l,o===void 0?null:o)}function zo(t,r,l,o){var p=Xt();o=o===void 0?null:o;var g=p.memoizedState.inst;At!==null&&o!==null&&$c(o,At.memoizedState.deps)?p.memoizedState=Wi(r,g,l,o):(Ke.flags|=t,p.memoizedState=Wi(1|r,g,l,o))}function jh(t,r){Oo(8390656,8,t,r)}function ex(t,r){zo(2048,8,t,r)}function Og(t){Ke.flags|=4;var r=Ke.updateQueue;if(r===null)r=To(),Ke.updateQueue=r,r.events=[t];else{var l=r.events;l===null?r.events=[t]:l.push(t)}}function Rh(t){var r=Xt().memoizedState;return Og({ref:r,nextImpl:t}),function(){if((pt&2)!==0)throw Error(i(440));return r.impl.apply(void 0,arguments)}}function Oh(t,r){return zo(4,2,t,r)}function zh(t,r){return zo(4,4,t,r)}function Lh(t,r){if(typeof r=="function"){t=t();var l=r(t);return function(){typeof l=="function"?l():r(null)}}if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function Ph(t,r,l){l=l!=null?l.concat([t]):null,zo(4,4,Lh.bind(null,r,t),l)}function tx(){}function Uh(t,r){var l=Xt();r=r===void 0?null:r;var o=l.memoizedState;return r!==null&&$c(r,o[1])?o[0]:(l.memoizedState=[t,r],t)}function Ih(t,r){var l=Xt();r=r===void 0?null:r;var o=l.memoizedState;if(r!==null&&$c(r,o[1]))return o[0];if(o=t(),ui){En(!0);try{t()}finally{En(!1)}}return l.memoizedState=[o,r],o}function nx(t,r,l){return l===void 0||(Yr&1073741824)!==0&&(it&261930)===0?t.memoizedState=r:(t.memoizedState=l,t=H1(),Ke.lanes|=t,_a|=t,l)}function Hh(t,r,l,o){return Qn(l,r)?l:Ki.current!==null?(t=nx(t,l,o),Qn(t,r)||(nn=!0),t):(Yr&42)===0||(Yr&1073741824)!==0&&(it&261930)===0?(nn=!0,t.memoizedState=l):(t=H1(),Ke.lanes|=t,_a|=t,r)}function qh(t,r,l,o,p){var g=Z.p;Z.p=g!==0&&8>g?g:8;var B=U.T,w={};U.T=w,ix(t,!1,r,l);try{var I=p(),ee=U.S;if(ee!==null&&ee(w,I),I!==null&&typeof I=="object"&&typeof I.then=="function"){var le=Ng(I,o);Zl(t,r,le,Jn(t))}else Zl(t,r,o,Jn(t))}catch(xe){Zl(t,r,{then:function(){},status:"rejected",reason:xe},Jn())}finally{Z.p=g,B!==null&&w.types!==null&&(B.types=w.types),U.T=B}}function zg(){}function rx(t,r,l,o){if(t.tag!==5)throw Error(i(476));var p=$h(t).queue;qh(t,p,r,ie,l===null?zg:function(){return Gh(t),l(o)})}function $h(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kr,lastRenderedState:ie},next:null};var l={};return r.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kr,lastRenderedState:l},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function Gh(t){var r=$h(t);r.next===null&&(r=t.alternate.memoizedState),Zl(t,r.next.queue,{},Jn())}function ax(){return fn(hs)}function Vh(){return Xt().memoizedState}function Qh(){return Xt().memoizedState}function Lg(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var l=Jn();t=va(l);var o=ka(r,t,l);o!==null&&(Un(o,r,l),Vl(o,r,l)),r={cache:Tc()},t.payload=r;return}r=r.return}}function Pg(t,r,l){var o=Jn();l={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Lo(t)?Kh(r,l):(l=Ac(t,r,l,o),l!==null&&(Un(l,t,o),Xh(l,r,o)))}function Yh(t,r,l){var o=Jn();Zl(t,r,l,o)}function Zl(t,r,l,o){var p={lane:o,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Lo(t))Kh(r,p);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var B=r.lastRenderedState,w=g(B,l);if(p.hasEagerState=!0,p.eagerState=w,Qn(w,B))return go(t,r,p,0),Ft===null&&Eo(),!1}catch{}if(l=Ac(t,r,p,o),l!==null)return Un(l,t,o),Xh(l,r,o),!0}return!1}function ix(t,r,l,o){if(o={lane:2,revertLane:zx(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Lo(t)){if(r)throw Error(i(479))}else r=Ac(t,l,o,2),r!==null&&Un(r,t,2)}function Lo(t){var r=t.alternate;return t===Ke||r!==null&&r===Ke}function Kh(t,r){Xi=No=!0;var l=t.pending;l===null?r.next=r:(r.next=l.next,l.next=r),t.pending=r}function Xh(t,r,l){if((l&4194048)!==0){var o=r.lanes;o&=t.pendingLanes,l|=o,r.lanes=l,Ue(t,l)}}var Wl={readContext:fn,use:jo,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useLayoutEffect:Ht,useInsertionEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useSyncExternalStore:Ht,useId:Ht,useHostTransitionStatus:Ht,useFormState:Ht,useActionState:Ht,useOptimistic:Ht,useMemoCache:Ht,useCacheRefresh:Ht};Wl.useEffectEvent=Ht;var Zh={readContext:fn,use:jo,useCallback:function(t,r){return Sn().memoizedState=[t,r===void 0?null:r],t},useContext:fn,useEffect:jh,useImperativeHandle:function(t,r,l){l=l!=null?l.concat([t]):null,Oo(4194308,4,Lh.bind(null,r,t),l)},useLayoutEffect:function(t,r){return Oo(4194308,4,t,r)},useInsertionEffect:function(t,r){Oo(4,2,t,r)},useMemo:function(t,r){var l=Sn();r=r===void 0?null:r;var o=t();if(ui){En(!0);try{t()}finally{En(!1)}}return l.memoizedState=[o,r],o},useReducer:function(t,r,l){var o=Sn();if(l!==void 0){var p=l(r);if(ui){En(!0);try{l(r)}finally{En(!1)}}}else p=r;return o.memoizedState=o.baseState=p,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:p},o.queue=t,t=t.dispatch=Pg.bind(null,Ke,t),[o.memoizedState,t]},useRef:function(t){var r=Sn();return t={current:t},r.memoizedState=t},useState:function(t){t=Wc(t);var r=t.queue,l=Yh.bind(null,Ke,r);return r.dispatch=l,[t.memoizedState,l]},useDebugValue:tx,useDeferredValue:function(t,r){var l=Sn();return nx(l,t,r)},useTransition:function(){var t=Wc(!1);return t=qh.bind(null,Ke,t.queue,!0,!1),Sn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,l){var o=Ke,p=Sn();if(st){if(l===void 0)throw Error(i(407));l=l()}else{if(l=r(),Ft===null)throw Error(i(349));(it&127)!==0||gh(o,r,l)}p.memoizedState=l;var g={value:l,getSnapshot:r};return p.queue=g,jh(Ch.bind(null,o,g,t),[t]),o.flags|=2048,Wi(9,{destroy:void 0},yh.bind(null,o,g,l,r),null),l},useId:function(){var t=Sn(),r=Ft.identifierPrefix;if(st){var l=Mr,o=Nr;l=(o&~(1<<32-mt(o)-1)).toString(32)+l,r="_"+r+"R_"+l,l=Mo++,0<l&&(r+="H"+l.toString(32)),r+="_"}else l=Mg++,r="_"+r+"r_"+l.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:ax,useFormState:Sh,useActionState:Sh,useOptimistic:function(t){var r=Sn();r.memoizedState=r.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=l,r=ix.bind(null,Ke,!0,l),l.dispatch=r,[t,r]},useMemoCache:Kc,useCacheRefresh:function(){return Sn().memoizedState=Lg.bind(null,Ke)},useEffectEvent:function(t){var r=Sn(),l={impl:t};return r.memoizedState=l,function(){if((pt&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},lx={readContext:fn,use:jo,useCallback:Uh,useContext:fn,useEffect:ex,useImperativeHandle:Ph,useInsertionEffect:Oh,useLayoutEffect:zh,useMemo:Ih,useReducer:Ro,useRef:Th,useState:function(){return Ro(Kr)},useDebugValue:tx,useDeferredValue:function(t,r){var l=Xt();return Hh(l,At.memoizedState,t,r)},useTransition:function(){var t=Ro(Kr)[0],r=Xt().memoizedState;return[typeof t=="boolean"?t:Xl(t),r]},useSyncExternalStore:Eh,useId:Vh,useHostTransitionStatus:ax,useFormState:_h,useActionState:_h,useOptimistic:function(t,r){var l=Xt();return Bh(l,At,t,r)},useMemoCache:Kc,useCacheRefresh:Qh};lx.useEffectEvent=Rh;var Wh={readContext:fn,use:jo,useCallback:Uh,useContext:fn,useEffect:ex,useImperativeHandle:Ph,useInsertionEffect:Oh,useLayoutEffect:zh,useMemo:Ih,useReducer:Zc,useRef:Th,useState:function(){return Zc(Kr)},useDebugValue:tx,useDeferredValue:function(t,r){var l=Xt();return At===null?nx(l,t,r):Hh(l,At.memoizedState,t,r)},useTransition:function(){var t=Zc(Kr)[0],r=Xt().memoizedState;return[typeof t=="boolean"?t:Xl(t),r]},useSyncExternalStore:Eh,useId:Vh,useHostTransitionStatus:ax,useFormState:Mh,useActionState:Mh,useOptimistic:function(t,r){var l=Xt();return At!==null?Bh(l,At,t,r):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Kc,useCacheRefresh:Qh};Wh.useEffectEvent=Rh;function sx(t,r,l,o){r=t.memoizedState,l=l(o,r),l=l==null?r:h({},r,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var ox={enqueueSetState:function(t,r,l){t=t._reactInternals;var o=Jn(),p=va(o);p.payload=r,l!=null&&(p.callback=l),r=ka(t,p,o),r!==null&&(Un(r,t,o),Vl(r,t,o))},enqueueReplaceState:function(t,r,l){t=t._reactInternals;var o=Jn(),p=va(o);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=ka(t,p,o),r!==null&&(Un(r,t,o),Vl(r,t,o))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var l=Jn(),o=va(l);o.tag=2,r!=null&&(o.callback=r),r=ka(t,o,l),r!==null&&(Un(r,t,l),Vl(r,t,l))}};function Jh(t,r,l,o,p,g,B){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,g,B):r.prototype&&r.prototype.isPureReactComponent?!Ll(l,o)||!Ll(p,g):!0}function e1(t,r,l,o){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,o),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,o),r.state!==t&&ox.enqueueReplaceState(r,r.state,null)}function di(t,r){var l=r;if("ref"in r){l={};for(var o in r)o!=="ref"&&(l[o]=r[o])}if(t=t.defaultProps){l===r&&(l=h({},l));for(var p in t)l[p]===void 0&&(l[p]=t[p])}return l}function t1(t){mo(t)}function n1(t){console.error(t)}function r1(t){mo(t)}function Po(t,r){try{var l=t.onUncaughtError;l(r.value,{componentStack:r.stack})}catch(o){setTimeout(function(){throw o})}}function a1(t,r,l){try{var o=t.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function cx(t,r,l){return l=va(l),l.tag=3,l.payload={element:null},l.callback=function(){Po(t,r)},l}function i1(t){return t=va(t),t.tag=3,t}function l1(t,r,l,o){var p=l.type.getDerivedStateFromError;if(typeof p=="function"){var g=o.value;t.payload=function(){return p(g)},t.callback=function(){a1(r,l,o)}}var B=l.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(t.callback=function(){a1(r,l,o),typeof p!="function"&&(Na===null?Na=new Set([this]):Na.add(this));var w=o.stack;this.componentDidCatch(o.value,{componentStack:w!==null?w:""})})}function Ug(t,r,l,o,p){if(l.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(r=l.alternate,r!==null&&$i(r,l,p,!0),l=Kn.current,l!==null){switch(l.tag){case 31:case 13:return ur===null?Zo():l.alternate===null&&qt===0&&(qt=3),l.flags&=-257,l.flags|=65536,l.lanes=p,o===Do?l.flags|=16384:(r=l.updateQueue,r===null?l.updateQueue=new Set([o]):r.add(o),jx(t,o,p)),!1;case 22:return l.flags|=65536,o===Do?l.flags|=16384:(r=l.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=r):(l=r.retryQueue,l===null?r.retryQueue=new Set([o]):l.add(o)),jx(t,o,p)),!1}throw Error(i(435,l.tag))}return jx(t,o,p),Zo(),!1}if(st)return r=Kn.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=p,o!==wc&&(t=Error(i(422),{cause:o}),Il(sr(t,l)))):(o!==wc&&(r=Error(i(423),{cause:o}),Il(sr(r,l))),t=t.current.alternate,t.flags|=65536,p&=-p,t.lanes|=p,o=sr(o,l),p=cx(t.stateNode,o,p),Pc(t,p),qt!==4&&(qt=2)),!1;var g=Error(i(520),{cause:o});if(g=sr(g,l),ls===null?ls=[g]:ls.push(g),qt!==4&&(qt=2),r===null)return!0;o=sr(o,l),l=r;do{switch(l.tag){case 3:return l.flags|=65536,t=p&-p,l.lanes|=t,t=cx(l.stateNode,o,t),Pc(l,t),!1;case 1:if(r=l.type,g=l.stateNode,(l.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Na===null||!Na.has(g))))return l.flags|=65536,p&=-p,l.lanes|=p,p=i1(p),l1(p,t,l,o),Pc(l,p),!1}l=l.return}while(l!==null);return!1}var xx=Error(i(461)),nn=!1;function hn(t,r,l,o){r.child=t===null?xh(r,null,l,o):xi(r,t.child,l,o)}function s1(t,r,l,o,p){l=l.render;var g=r.ref;if("ref"in o){var B={};for(var w in o)w!=="ref"&&(B[w]=o[w])}else B=o;return li(r),o=Gc(t,r,l,B,g,p),w=Vc(),t!==null&&!nn?(Qc(t,r,p),Xr(t,r,p)):(st&&w&&Dc(r),r.flags|=1,hn(t,r,o,p),r.child)}function o1(t,r,l,o,p){if(t===null){var g=l.type;return typeof g=="function"&&!Bc(g)&&g.defaultProps===void 0&&l.compare===null?(r.tag=15,r.type=g,c1(t,r,g,o,p)):(t=Co(l.type,null,o,r,r.mode,p),t.ref=r.ref,t.return=r,r.child=t)}if(g=t.child,!gx(t,p)){var B=g.memoizedProps;if(l=l.compare,l=l!==null?l:Ll,l(B,o)&&t.ref===r.ref)return Xr(t,r,p)}return r.flags|=1,t=$r(g,o),t.ref=r.ref,t.return=r,r.child=t}function c1(t,r,l,o,p){if(t!==null){var g=t.memoizedProps;if(Ll(g,o)&&t.ref===r.ref)if(nn=!1,r.pendingProps=o=g,gx(t,p))(t.flags&131072)!==0&&(nn=!0);else return r.lanes=t.lanes,Xr(t,r,p)}return ux(t,r,l,o,p)}function x1(t,r,l,o){var p=o.children,g=t!==null?t.memoizedState:null;if(t===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((r.flags&128)!==0){if(g=g!==null?g.baseLanes|l:l,t!==null){for(o=r.child=t.child,p=0;o!==null;)p=p|o.lanes|o.childLanes,o=o.sibling;o=p&~g}else o=0,r.child=null;return u1(t,r,g,l,o)}if((l&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&vo(r,g!==null?g.cachePool:null),g!==null?fh(r,g):Ic(),hh(r);else return o=r.lanes=536870912,u1(t,r,g!==null?g.baseLanes|l:l,l,o)}else g!==null?(vo(r,g.cachePool),fh(r,g),Fa(),r.memoizedState=null):(t!==null&&vo(r,null),Ic(),Fa());return hn(t,r,p,l),r.child}function Jl(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function u1(t,r,l,o,p){var g=Rc();return g=g===null?null:{parent:en._currentValue,pool:g},r.memoizedState={baseLanes:l,cachePool:g},t!==null&&vo(r,null),Ic(),hh(r),t!==null&&$i(t,r,o,!0),r.childLanes=p,null}function Uo(t,r){return r=Ho({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function d1(t,r,l){return xi(r,t.child,null,l),t=Uo(r,r.pendingProps),t.flags|=2,Xn(r),r.memoizedState=null,t}function Ig(t,r,l){var o=r.pendingProps,p=(r.flags&128)!==0;if(r.flags&=-129,t===null){if(st){if(o.mode==="hidden")return t=Uo(r,o),r.lanes=536870912,Jl(null,t);if(qc(r),(t=Tt)?(t=vp(t,xr),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:ya!==null?{id:Nr,overflow:Mr}:null,retryLane:536870912,hydrationErrors:null},l=Kf(t),l.return=r,r.child=l,dn=r,Tt=null)):t=null,t===null)throw ba(r);return r.lanes=536870912,null}return Uo(r,o)}var g=t.memoizedState;if(g!==null){var B=g.dehydrated;if(qc(r),p)if(r.flags&256)r.flags&=-257,r=d1(t,r,l);else if(r.memoizedState!==null)r.child=t.child,r.flags|=128,r=null;else throw Error(i(558));else if(nn||$i(t,r,l,!1),p=(l&t.childLanes)!==0,nn||p){if(o=Ft,o!==null&&(B=Vt(o,l),B!==0&&B!==g.retryLane))throw g.retryLane=B,ni(t,B),Un(o,t,B),xx;Zo(),r=d1(t,r,l)}else t=g.treeContext,Tt=dr(B.nextSibling),dn=r,st=!0,Ca=null,xr=!1,t!==null&&Wf(r,t),r=Uo(r,o),r.flags|=4096;return r}return t=$r(t.child,{mode:o.mode,children:o.children}),t.ref=r.ref,r.child=t,t.return=r,t}function Io(t,r){var l=r.ref;if(l===null)t!==null&&t.ref!==null&&(r.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(r.flags|=4194816)}}function ux(t,r,l,o,p){return li(r),l=Gc(t,r,l,o,void 0,p),o=Vc(),t!==null&&!nn?(Qc(t,r,p),Xr(t,r,p)):(st&&o&&Dc(r),r.flags|=1,hn(t,r,l,p),r.child)}function f1(t,r,l,o,p,g){return li(r),r.updateQueue=null,l=mh(r,o,l,p),ph(t),o=Vc(),t!==null&&!nn?(Qc(t,r,g),Xr(t,r,g)):(st&&o&&Dc(r),r.flags|=1,hn(t,r,l,g),r.child)}function h1(t,r,l,o,p){if(li(r),r.stateNode===null){var g=Ui,B=l.contextType;typeof B=="object"&&B!==null&&(g=fn(B)),g=new l(o,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=ox,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=o,g.state=r.memoizedState,g.refs={},zc(r),B=l.contextType,g.context=typeof B=="object"&&B!==null?fn(B):Ui,g.state=r.memoizedState,B=l.getDerivedStateFromProps,typeof B=="function"&&(sx(r,l,B,o),g.state=r.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(B=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),B!==g.state&&ox.enqueueReplaceState(g,g.state,null),Yl(r,o,g,p),Ql(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),o=!0}else if(t===null){g=r.stateNode;var w=r.memoizedProps,I=di(l,w);g.props=I;var ee=g.context,le=l.contextType;B=Ui,typeof le=="object"&&le!==null&&(B=fn(le));var xe=l.getDerivedStateFromProps;le=typeof xe=="function"||typeof g.getSnapshotBeforeUpdate=="function",w=r.pendingProps!==w,le||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w||ee!==B)&&e1(r,g,o,B),Ba=!1;var ne=r.memoizedState;g.state=ne,Yl(r,o,g,p),Ql(),ee=r.memoizedState,w||ne!==ee||Ba?(typeof xe=="function"&&(sx(r,l,xe,o),ee=r.memoizedState),(I=Ba||Jh(r,l,I,o,ne,ee,B))?(le||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=o,r.memoizedState=ee),g.props=o,g.state=ee,g.context=B,o=I):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),o=!1)}else{g=r.stateNode,Lc(t,r),B=r.memoizedProps,le=di(l,B),g.props=le,xe=r.pendingProps,ne=g.context,ee=l.contextType,I=Ui,typeof ee=="object"&&ee!==null&&(I=fn(ee)),w=l.getDerivedStateFromProps,(ee=typeof w=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(B!==xe||ne!==I)&&e1(r,g,o,I),Ba=!1,ne=r.memoizedState,g.state=ne,Yl(r,o,g,p),Ql();var ae=r.memoizedState;B!==xe||ne!==ae||Ba||t!==null&&t.dependencies!==null&&Ao(t.dependencies)?(typeof w=="function"&&(sx(r,l,w,o),ae=r.memoizedState),(le=Ba||Jh(r,l,le,o,ne,ae,I)||t!==null&&t.dependencies!==null&&Ao(t.dependencies))?(ee||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(o,ae,I),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(o,ae,I)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||B===t.memoizedProps&&ne===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&ne===t.memoizedState||(r.flags|=1024),r.memoizedProps=o,r.memoizedState=ae),g.props=o,g.state=ae,g.context=I,o=le):(typeof g.componentDidUpdate!="function"||B===t.memoizedProps&&ne===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&ne===t.memoizedState||(r.flags|=1024),o=!1)}return g=o,Io(t,r),o=(r.flags&128)!==0,g||o?(g=r.stateNode,l=o&&typeof l.getDerivedStateFromError!="function"?null:g.render(),r.flags|=1,t!==null&&o?(r.child=xi(r,t.child,null,p),r.child=xi(r,null,l,p)):hn(t,r,l,p),r.memoizedState=g.state,t=r.child):t=Xr(t,r,p),t}function p1(t,r,l,o){return ai(),r.flags|=256,hn(t,r,l,o),r.child}var dx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fx(t){return{baseLanes:t,cachePool:ah()}}function hx(t,r,l){return t=t!==null?t.childLanes&~l:0,r&&(t|=Wn),t}function m1(t,r,l){var o=r.pendingProps,p=!1,g=(r.flags&128)!==0,B;if((B=g)||(B=t!==null&&t.memoizedState===null?!1:(Kt.current&2)!==0),B&&(p=!0,r.flags&=-129),B=(r.flags&32)!==0,r.flags&=-33,t===null){if(st){if(p?Da(r):Fa(),(t=Tt)?(t=vp(t,xr),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:ya!==null?{id:Nr,overflow:Mr}:null,retryLane:536870912,hydrationErrors:null},l=Kf(t),l.return=r,r.child=l,dn=r,Tt=null)):t=null,t===null)throw ba(r);return Xx(t)?r.lanes=32:r.lanes=536870912,null}var w=o.children;return o=o.fallback,p?(Fa(),p=r.mode,w=Ho({mode:"hidden",children:w},p),o=ri(o,p,l,null),w.return=r,o.return=r,w.sibling=o,r.child=w,o=r.child,o.memoizedState=fx(l),o.childLanes=hx(t,B,l),r.memoizedState=dx,Jl(null,o)):(Da(r),px(r,w))}var I=t.memoizedState;if(I!==null&&(w=I.dehydrated,w!==null)){if(g)r.flags&256?(Da(r),r.flags&=-257,r=mx(t,r,l)):r.memoizedState!==null?(Fa(),r.child=t.child,r.flags|=128,r=null):(Fa(),w=o.fallback,p=r.mode,o=Ho({mode:"visible",children:o.children},p),w=ri(w,p,l,null),w.flags|=2,o.return=r,w.return=r,o.sibling=w,r.child=o,xi(r,t.child,null,l),o=r.child,o.memoizedState=fx(l),o.childLanes=hx(t,B,l),r.memoizedState=dx,r=Jl(null,o));else if(Da(r),Xx(w)){if(B=w.nextSibling&&w.nextSibling.dataset,B)var ee=B.dgst;B=ee,o=Error(i(419)),o.stack="",o.digest=B,Il({value:o,source:null,stack:null}),r=mx(t,r,l)}else if(nn||$i(t,r,l,!1),B=(l&t.childLanes)!==0,nn||B){if(B=Ft,B!==null&&(o=Vt(B,l),o!==0&&o!==I.retryLane))throw I.retryLane=o,ni(t,o),Un(B,t,o),xx;Kx(w)||Zo(),r=mx(t,r,l)}else Kx(w)?(r.flags|=192,r.child=t.child,r=null):(t=I.treeContext,Tt=dr(w.nextSibling),dn=r,st=!0,Ca=null,xr=!1,t!==null&&Wf(r,t),r=px(r,o.children),r.flags|=4096);return r}return p?(Fa(),w=o.fallback,p=r.mode,I=t.child,ee=I.sibling,o=$r(I,{mode:"hidden",children:o.children}),o.subtreeFlags=I.subtreeFlags&65011712,ee!==null?w=$r(ee,w):(w=ri(w,p,l,null),w.flags|=2),w.return=r,o.return=r,o.sibling=w,r.child=o,Jl(null,o),o=r.child,w=t.child.memoizedState,w===null?w=fx(l):(p=w.cachePool,p!==null?(I=en._currentValue,p=p.parent!==I?{parent:I,pool:I}:p):p=ah(),w={baseLanes:w.baseLanes|l,cachePool:p}),o.memoizedState=w,o.childLanes=hx(t,B,l),r.memoizedState=dx,Jl(t.child,o)):(Da(r),l=t.child,t=l.sibling,l=$r(l,{mode:"visible",children:o.children}),l.return=r,l.sibling=null,t!==null&&(B=r.deletions,B===null?(r.deletions=[t],r.flags|=16):B.push(t)),r.child=l,r.memoizedState=null,l)}function px(t,r){return r=Ho({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function Ho(t,r){return t=Yn(22,t,null,r),t.lanes=0,t}function mx(t,r,l){return xi(r,t.child,null,l),t=px(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function E1(t,r,l){t.lanes|=r;var o=t.alternate;o!==null&&(o.lanes|=r),Nc(t.return,r,l)}function Ex(t,r,l,o,p,g){var B=t.memoizedState;B===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:p,treeForkCount:g}:(B.isBackwards=r,B.rendering=null,B.renderingStartTime=0,B.last=o,B.tail=l,B.tailMode=p,B.treeForkCount=g)}function g1(t,r,l){var o=r.pendingProps,p=o.revealOrder,g=o.tail;o=o.children;var B=Kt.current,w=(B&2)!==0;if(w?(B=B&1|2,r.flags|=128):B&=1,_(Kt,B),hn(t,r,o,l),o=st?Ul:0,!w&&t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&E1(t,l,r);else if(t.tag===19)E1(t,l,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(p){case"forwards":for(l=r.child,p=null;l!==null;)t=l.alternate,t!==null&&_o(t)===null&&(p=l),l=l.sibling;l=p,l===null?(p=r.child,r.child=null):(p=l.sibling,l.sibling=null),Ex(r,!1,p,l,g,o);break;case"backwards":case"unstable_legacy-backwards":for(l=null,p=r.child,r.child=null;p!==null;){if(t=p.alternate,t!==null&&_o(t)===null){r.child=p;break}t=p.sibling,p.sibling=l,l=p,p=t}Ex(r,!0,l,null,g,o);break;case"together":Ex(r,!1,null,null,void 0,o);break;default:r.memoizedState=null}return r.child}function Xr(t,r,l){if(t!==null&&(r.dependencies=t.dependencies),_a|=r.lanes,(l&r.childLanes)===0)if(t!==null){if($i(t,r,l,!1),(l&r.childLanes)===0)return null}else return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,l=$r(t,t.pendingProps),r.child=l,l.return=r;t.sibling!==null;)t=t.sibling,l=l.sibling=$r(t,t.pendingProps),l.return=r;l.sibling=null}return r.child}function gx(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&Ao(t)))}function Hg(t,r,l){switch(r.tag){case 3:Ge(r,r.stateNode.containerInfo),Aa(r,en,t.memoizedState.cache),ai();break;case 27:case 5:ft(r);break;case 4:Ge(r,r.stateNode.containerInfo);break;case 10:Aa(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,qc(r),null;break;case 13:var o=r.memoizedState;if(o!==null)return o.dehydrated!==null?(Da(r),r.flags|=128,null):(l&r.child.childLanes)!==0?m1(t,r,l):(Da(r),t=Xr(t,r,l),t!==null?t.sibling:null);Da(r);break;case 19:var p=(t.flags&128)!==0;if(o=(l&r.childLanes)!==0,o||($i(t,r,l,!1),o=(l&r.childLanes)!==0),p){if(o)return g1(t,r,l);r.flags|=128}if(p=r.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),_(Kt,Kt.current),o)break;return null;case 22:return r.lanes=0,x1(t,r,l,r.pendingProps);case 24:Aa(r,en,t.memoizedState.cache)}return Xr(t,r,l)}function y1(t,r,l){if(t!==null)if(t.memoizedProps!==r.pendingProps)nn=!0;else{if(!gx(t,l)&&(r.flags&128)===0)return nn=!1,Hg(t,r,l);nn=(t.flags&131072)!==0}else nn=!1,st&&(r.flags&1048576)!==0&&Zf(r,Ul,r.index);switch(r.lanes=0,r.tag){case 16:e:{var o=r.pendingProps;if(t=oi(r.elementType),r.type=t,typeof t=="function")Bc(t)?(o=di(t,o),r.tag=1,r=h1(null,r,t,o,l)):(r.tag=0,r=ux(null,r,t,o,l));else{if(t!=null){var p=t.$$typeof;if(p===j){r.tag=11,r=s1(null,r,t,o,l);break e}else if(p===R){r.tag=14,r=o1(null,r,t,o,l);break e}}throw r=X(t)||t,Error(i(306,r,""))}}return r;case 0:return ux(t,r,r.type,r.pendingProps,l);case 1:return o=r.type,p=di(o,r.pendingProps),h1(t,r,o,p,l);case 3:e:{if(Ge(r,r.stateNode.containerInfo),t===null)throw Error(i(387));o=r.pendingProps;var g=r.memoizedState;p=g.element,Lc(t,r),Yl(r,o,null,l);var B=r.memoizedState;if(o=B.cache,Aa(r,en,o),o!==g.cache&&Mc(r,[en],l,!0),Ql(),o=B.element,g.isDehydrated)if(g={element:o,isDehydrated:!1,cache:B.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=p1(t,r,o,l);break e}else if(o!==p){p=sr(Error(i(424)),r),Il(p),r=p1(t,r,o,l);break e}else for(t=r.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Tt=dr(t.firstChild),dn=r,st=!0,Ca=null,xr=!0,l=xh(r,null,o,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(ai(),o===p){r=Xr(t,r,l);break e}hn(t,r,o,l)}r=r.child}return r;case 26:return Io(t,r),t===null?(l=_p(r.type,null,r.pendingProps,null))?r.memoizedState=l:st||(l=r.type,t=r.pendingProps,o=a0(fe.current).createElement(l),o[Qt]=r,o[gn]=t,pn(o,l,t),Wt(o),r.stateNode=o):r.memoizedState=_p(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return ft(r),t===null&&st&&(o=r.stateNode=Fp(r.type,r.pendingProps,fe.current),dn=r,xr=!0,p=Tt,Ra(r.type)?(Zx=p,Tt=dr(o.firstChild)):Tt=p),hn(t,r,r.pendingProps.children,l),Io(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&st&&((p=o=Tt)&&(o=g6(o,r.type,r.pendingProps,xr),o!==null?(r.stateNode=o,dn=r,Tt=dr(o.firstChild),xr=!1,p=!0):p=!1),p||ba(r)),ft(r),p=r.type,g=r.pendingProps,B=t!==null?t.memoizedProps:null,o=g.children,Vx(p,g)?o=null:B!==null&&Vx(p,B)&&(r.flags|=32),r.memoizedState!==null&&(p=Gc(t,r,Tg,null,null,l),hs._currentValue=p),Io(t,r),hn(t,r,o,l),r.child;case 6:return t===null&&st&&((t=l=Tt)&&(l=y6(l,r.pendingProps,xr),l!==null?(r.stateNode=l,dn=r,Tt=null,t=!0):t=!1),t||ba(r)),null;case 13:return m1(t,r,l);case 4:return Ge(r,r.stateNode.containerInfo),o=r.pendingProps,t===null?r.child=xi(r,null,o,l):hn(t,r,o,l),r.child;case 11:return s1(t,r,r.type,r.pendingProps,l);case 7:return hn(t,r,r.pendingProps,l),r.child;case 8:return hn(t,r,r.pendingProps.children,l),r.child;case 12:return hn(t,r,r.pendingProps.children,l),r.child;case 10:return o=r.pendingProps,Aa(r,r.type,o.value),hn(t,r,o.children,l),r.child;case 9:return p=r.type._context,o=r.pendingProps.children,li(r),p=fn(p),o=o(p),r.flags|=1,hn(t,r,o,l),r.child;case 14:return o1(t,r,r.type,r.pendingProps,l);case 15:return c1(t,r,r.type,r.pendingProps,l);case 19:return g1(t,r,l);case 31:return Ig(t,r,l);case 22:return x1(t,r,l,r.pendingProps);case 24:return li(r),o=fn(en),t===null?(p=Rc(),p===null&&(p=Ft,g=Tc(),p.pooledCache=g,g.refCount++,g!==null&&(p.pooledCacheLanes|=l),p=g),r.memoizedState={parent:o,cache:p},zc(r),Aa(r,en,p)):((t.lanes&l)!==0&&(Lc(t,r),Yl(r,null,null,l),Ql()),p=t.memoizedState,g=r.memoizedState,p.parent!==o?(p={parent:o,cache:o},r.memoizedState=p,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=p),Aa(r,en,o)):(o=g.cache,Aa(r,en,o),o!==p.cache&&Mc(r,[en],l,!0))),hn(t,r,r.pendingProps.children,l),r.child;case 29:throw r.pendingProps}throw Error(i(156,r.tag))}function Zr(t){t.flags|=4}function yx(t,r,l,o,p){if((r=(t.mode&32)!==0)&&(r=!1),r){if(t.flags|=16777216,(p&335544128)===p)if(t.stateNode.complete)t.flags|=8192;else if(V1())t.flags|=8192;else throw ci=Do,Oc}else t.flags&=-16777217}function C1(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Rp(r))if(V1())t.flags|=8192;else throw ci=Do,Oc}function qo(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Ie():536870912,t.lanes|=r,nl|=r)}function es(t,r){if(!st)switch(t.tailMode){case"hidden":r=t.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function jt(t){var r=t.alternate!==null&&t.alternate.child===t.child,l=0,o=0;if(r)for(var p=t.child;p!==null;)l|=p.lanes|p.childLanes,o|=p.subtreeFlags&65011712,o|=p.flags&65011712,p.return=t,p=p.sibling;else for(p=t.child;p!==null;)l|=p.lanes|p.childLanes,o|=p.subtreeFlags,o|=p.flags,p.return=t,p=p.sibling;return t.subtreeFlags|=o,t.childLanes=l,r}function qg(t,r,l){var o=r.pendingProps;switch(Fc(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(r),null;case 1:return jt(r),null;case 3:return l=r.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),Qr(en),ke(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(qi(r)?Zr(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Sc())),jt(r),null;case 26:var p=r.type,g=r.memoizedState;return t===null?(Zr(r),g!==null?(jt(r),C1(r,g)):(jt(r),yx(r,p,null,o,l))):g?g!==t.memoizedState?(Zr(r),jt(r),C1(r,g)):(jt(r),r.flags&=-16777217):(t=t.memoizedProps,t!==o&&Zr(r),jt(r),yx(r,p,t,o,l)),null;case 27:if(xt(r),l=fe.current,p=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==o&&Zr(r);else{if(!o){if(r.stateNode===null)throw Error(i(166));return jt(r),null}t=re.current,qi(r)?Jf(r):(t=Fp(p,o,l),r.stateNode=t,Zr(r))}return jt(r),null;case 5:if(xt(r),p=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==o&&Zr(r);else{if(!o){if(r.stateNode===null)throw Error(i(166));return jt(r),null}if(g=re.current,qi(r))Jf(r);else{var B=a0(fe.current);switch(g){case 1:g=B.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:g=B.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":g=B.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":g=B.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":g=B.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof o.is=="string"?B.createElement("select",{is:o.is}):B.createElement("select"),o.multiple?g.multiple=!0:o.size&&(g.size=o.size);break;default:g=typeof o.is=="string"?B.createElement(p,{is:o.is}):B.createElement(p)}}g[Qt]=r,g[gn]=o;e:for(B=r.child;B!==null;){if(B.tag===5||B.tag===6)g.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===r)break e;for(;B.sibling===null;){if(B.return===null||B.return===r)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}r.stateNode=g;e:switch(pn(g,p,o),p){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Zr(r)}}return jt(r),yx(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,l),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==o&&Zr(r);else{if(typeof o!="string"&&r.stateNode===null)throw Error(i(166));if(t=fe.current,qi(r)){if(t=r.stateNode,l=r.memoizedProps,o=null,p=dn,p!==null)switch(p.tag){case 27:case 5:o=p.memoizedProps}t[Qt]=r,t=!!(t.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||mp(t.nodeValue,l)),t||ba(r,!0)}else t=a0(t).createTextNode(o),t[Qt]=r,r.stateNode=t}return jt(r),null;case 31:if(l=r.memoizedState,t===null||t.memoizedState!==null){if(o=qi(r),l!==null){if(t===null){if(!o)throw Error(i(318));if(t=r.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[Qt]=r}else ai(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;jt(r),t=!1}else l=Sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return r.flags&256?(Xn(r),r):(Xn(r),null);if((r.flags&128)!==0)throw Error(i(558))}return jt(r),null;case 13:if(o=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(p=qi(r),o!==null&&o.dehydrated!==null){if(t===null){if(!p)throw Error(i(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[Qt]=r}else ai(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;jt(r),p=!1}else p=Sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=p),p=!0;if(!p)return r.flags&256?(Xn(r),r):(Xn(r),null)}return Xn(r),(r.flags&128)!==0?(r.lanes=l,r):(l=o!==null,t=t!==null&&t.memoizedState!==null,l&&(o=r.child,p=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(p=o.alternate.memoizedState.cachePool.pool),g=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(g=o.memoizedState.cachePool.pool),g!==p&&(o.flags|=2048)),l!==t&&l&&(r.child.flags|=8192),qo(r,r.updateQueue),jt(r),null);case 4:return ke(),t===null&&Ix(r.stateNode.containerInfo),jt(r),null;case 10:return Qr(r.type),jt(r),null;case 19:if(Q(Kt),o=r.memoizedState,o===null)return jt(r),null;if(p=(r.flags&128)!==0,g=o.rendering,g===null)if(p)es(o,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(g=_o(t),g!==null){for(r.flags|=128,es(o,!1),t=g.updateQueue,r.updateQueue=t,qo(r,t),r.subtreeFlags=0,t=l,l=r.child;l!==null;)Yf(l,t),l=l.sibling;return _(Kt,Kt.current&1|2),st&&Gr(r,o.treeForkCount),r.child}t=t.sibling}o.tail!==null&&rt()>Yo&&(r.flags|=128,p=!0,es(o,!1),r.lanes=4194304)}else{if(!p)if(t=_o(g),t!==null){if(r.flags|=128,p=!0,t=t.updateQueue,r.updateQueue=t,qo(r,t),es(o,!0),o.tail===null&&o.tailMode==="hidden"&&!g.alternate&&!st)return jt(r),null}else 2*rt()-o.renderingStartTime>Yo&&l!==536870912&&(r.flags|=128,p=!0,es(o,!1),r.lanes=4194304);o.isBackwards?(g.sibling=r.child,r.child=g):(t=o.last,t!==null?t.sibling=g:r.child=g,o.last=g)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=rt(),t.sibling=null,l=Kt.current,_(Kt,p?l&1|2:l&1),st&&Gr(r,o.treeForkCount),t):(jt(r),null);case 22:case 23:return Xn(r),Hc(),o=r.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(r.flags|=8192):o&&(r.flags|=8192),o?(l&536870912)!==0&&(r.flags&128)===0&&(jt(r),r.subtreeFlags&6&&(r.flags|=8192)):jt(r),l=r.updateQueue,l!==null&&qo(r,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==l&&(r.flags|=2048),t!==null&&Q(si),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),r.memoizedState.cache!==l&&(r.flags|=2048),Qr(en),jt(r),null;case 25:return null;case 30:return null}throw Error(i(156,r.tag))}function $g(t,r){switch(Fc(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Qr(en),ke(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return xt(r),null;case 31:if(r.memoizedState!==null){if(Xn(r),r.alternate===null)throw Error(i(340));ai()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(Xn(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));ai()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Q(Kt),null;case 4:return ke(),null;case 10:return Qr(r.type),null;case 22:case 23:return Xn(r),Hc(),t!==null&&Q(si),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return Qr(en),null;case 25:return null;default:return null}}function b1(t,r){switch(Fc(r),r.tag){case 3:Qr(en),ke();break;case 26:case 27:case 5:xt(r);break;case 4:ke();break;case 31:r.memoizedState!==null&&Xn(r);break;case 13:Xn(r);break;case 19:Q(Kt);break;case 10:Qr(r.type);break;case 22:case 23:Xn(r),Hc(),t!==null&&Q(si);break;case 24:Qr(en)}}function ts(t,r){try{var l=r.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var p=o.next;l=p;do{if((l.tag&t)===t){o=void 0;var g=l.create,B=l.inst;o=g(),B.destroy=o}l=l.next}while(l!==p)}}catch(w){Ct(r,r.return,w)}}function wa(t,r,l){try{var o=r.updateQueue,p=o!==null?o.lastEffect:null;if(p!==null){var g=p.next;o=g;do{if((o.tag&t)===t){var B=o.inst,w=B.destroy;if(w!==void 0){B.destroy=void 0,p=r;var I=l,ee=w;try{ee()}catch(le){Ct(p,I,le)}}}o=o.next}while(o!==g)}}catch(le){Ct(r,r.return,le)}}function A1(t){var r=t.updateQueue;if(r!==null){var l=t.stateNode;try{dh(r,l)}catch(o){Ct(t,t.return,o)}}}function B1(t,r,l){l.props=di(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(o){Ct(t,r,o)}}function ns(t,r){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof l=="function"?t.refCleanup=l(o):l.current=o}}catch(p){Ct(t,r,p)}}function Tr(t,r){var l=t.ref,o=t.refCleanup;if(l!==null)if(typeof o=="function")try{o()}catch(p){Ct(t,r,p)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(p){Ct(t,r,p)}else l.current=null}function v1(t){var r=t.type,l=t.memoizedProps,o=t.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":l.autoFocus&&o.focus();break e;case"img":l.src?o.src=l.src:l.srcSet&&(o.srcset=l.srcSet)}}catch(p){Ct(t,t.return,p)}}function Cx(t,r,l){try{var o=t.stateNode;d6(o,t.type,l,r),o[gn]=r}catch(p){Ct(t,t.return,p)}}function k1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ra(t.type)||t.tag===4}function bx(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||k1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ra(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ax(t,r,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,r?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,r):(r=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,r.appendChild(t),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=ge));else if(o!==4&&(o===27&&Ra(t.type)&&(l=t.stateNode,r=null),t=t.child,t!==null))for(Ax(t,r,l),t=t.sibling;t!==null;)Ax(t,r,l),t=t.sibling}function $o(t,r,l){var o=t.tag;if(o===5||o===6)t=t.stateNode,r?l.insertBefore(t,r):l.appendChild(t);else if(o!==4&&(o===27&&Ra(t.type)&&(l=t.stateNode),t=t.child,t!==null))for($o(t,r,l),t=t.sibling;t!==null;)$o(t,r,l),t=t.sibling}function D1(t){var r=t.stateNode,l=t.memoizedProps;try{for(var o=t.type,p=r.attributes;p.length;)r.removeAttributeNode(p[0]);pn(r,o,l),r[Qt]=t,r[gn]=l}catch(g){Ct(t,t.return,g)}}var Wr=!1,rn=!1,Bx=!1,F1=typeof WeakSet=="function"?WeakSet:Set,on=null;function Gg(t,r){if(t=t.containerInfo,$x=u0,t=Pf(t),mc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var p=o.anchorOffset,g=o.focusNode;o=o.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var B=0,w=-1,I=-1,ee=0,le=0,xe=t,ne=null;t:for(;;){for(var ae;xe!==l||p!==0&&xe.nodeType!==3||(w=B+p),xe!==g||o!==0&&xe.nodeType!==3||(I=B+o),xe.nodeType===3&&(B+=xe.nodeValue.length),(ae=xe.firstChild)!==null;)ne=xe,xe=ae;for(;;){if(xe===t)break t;if(ne===l&&++ee===p&&(w=B),ne===g&&++le===o&&(I=B),(ae=xe.nextSibling)!==null)break;xe=ne,ne=xe.parentNode}xe=ae}l=w===-1||I===-1?null:{start:w,end:I}}else l=null}l=l||{start:0,end:0}}else l=null;for(Gx={focusedElem:t,selectionRange:l},u0=!1,on=r;on!==null;)if(r=on,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,on=t;else for(;on!==null;){switch(r=on,g=r.alternate,t=r.flags,r.tag){case 0:if((t&4)!==0&&(t=r.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)p=t[l],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&g!==null){t=void 0,l=r,p=g.memoizedProps,g=g.memoizedState,o=l.stateNode;try{var Se=di(l.type,p);t=o.getSnapshotBeforeUpdate(Se,g),o.__reactInternalSnapshotBeforeUpdate=t}catch(Le){Ct(l,l.return,Le)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,l=t.nodeType,l===9)Yx(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Yx(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=r.sibling,t!==null){t.return=r.return,on=t;break}on=r.return}}function w1(t,r,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:ea(t,l),o&4&&ts(5,l);break;case 1:if(ea(t,l),o&4)if(t=l.stateNode,r===null)try{t.componentDidMount()}catch(B){Ct(l,l.return,B)}else{var p=di(l.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(p,r,t.__reactInternalSnapshotBeforeUpdate)}catch(B){Ct(l,l.return,B)}}o&64&&A1(l),o&512&&ns(l,l.return);break;case 3:if(ea(t,l),o&64&&(t=l.updateQueue,t!==null)){if(r=null,l.child!==null)switch(l.child.tag){case 27:case 5:r=l.child.stateNode;break;case 1:r=l.child.stateNode}try{dh(t,r)}catch(B){Ct(l,l.return,B)}}break;case 27:r===null&&o&4&&D1(l);case 26:case 5:ea(t,l),r===null&&o&4&&v1(l),o&512&&ns(l,l.return);break;case 12:ea(t,l);break;case 31:ea(t,l),o&4&&N1(t,l);break;case 13:ea(t,l),o&4&&M1(t,l),o&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=e6.bind(null,l),C6(t,l))));break;case 22:if(o=l.memoizedState!==null||Wr,!o){r=r!==null&&r.memoizedState!==null||rn,p=Wr;var g=rn;Wr=o,(rn=r)&&!g?ta(t,l,(l.subtreeFlags&8772)!==0):ea(t,l),Wr=p,rn=g}break;case 30:break;default:ea(t,l)}}function S1(t){var r=t.alternate;r!==null&&(t.alternate=null,S1(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&Dl(r)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Lt=null,On=!1;function Jr(t,r,l){for(l=l.child;l!==null;)_1(t,r,l),l=l.sibling}function _1(t,r,l){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(xn,l)}catch{}switch(l.tag){case 26:rn||Tr(l,r),Jr(t,r,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:rn||Tr(l,r);var o=Lt,p=On;Ra(l.type)&&(Lt=l.stateNode,On=!1),Jr(t,r,l),us(l.stateNode),Lt=o,On=p;break;case 5:rn||Tr(l,r);case 6:if(o=Lt,p=On,Lt=null,Jr(t,r,l),Lt=o,On=p,Lt!==null)if(On)try{(Lt.nodeType===9?Lt.body:Lt.nodeName==="HTML"?Lt.ownerDocument.body:Lt).removeChild(l.stateNode)}catch(g){Ct(l,r,g)}else try{Lt.removeChild(l.stateNode)}catch(g){Ct(l,r,g)}break;case 18:Lt!==null&&(On?(t=Lt,Ap(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),xl(t)):Ap(Lt,l.stateNode));break;case 4:o=Lt,p=On,Lt=l.stateNode.containerInfo,On=!0,Jr(t,r,l),Lt=o,On=p;break;case 0:case 11:case 14:case 15:wa(2,l,r),rn||wa(4,l,r),Jr(t,r,l);break;case 1:rn||(Tr(l,r),o=l.stateNode,typeof o.componentWillUnmount=="function"&&B1(l,r,o)),Jr(t,r,l);break;case 21:Jr(t,r,l);break;case 22:rn=(o=rn)||l.memoizedState!==null,Jr(t,r,l),rn=o;break;default:Jr(t,r,l)}}function N1(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{xl(t)}catch(l){Ct(r,r.return,l)}}}function M1(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{xl(t)}catch(l){Ct(r,r.return,l)}}function Vg(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new F1),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new F1),r;default:throw Error(i(435,t.tag))}}function Go(t,r){var l=Vg(t);r.forEach(function(o){if(!l.has(o)){l.add(o);var p=t6.bind(null,t,o);o.then(p,p)}})}function zn(t,r){var l=r.deletions;if(l!==null)for(var o=0;o<l.length;o++){var p=l[o],g=t,B=r,w=B;e:for(;w!==null;){switch(w.tag){case 27:if(Ra(w.type)){Lt=w.stateNode,On=!1;break e}break;case 5:Lt=w.stateNode,On=!1;break e;case 3:case 4:Lt=w.stateNode.containerInfo,On=!0;break e}w=w.return}if(Lt===null)throw Error(i(160));_1(g,B,p),Lt=null,On=!1,g=p.alternate,g!==null&&(g.return=null),p.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)T1(r,t),r=r.sibling}var vr=null;function T1(t,r){var l=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:zn(r,t),Ln(t),o&4&&(wa(3,t,t.return),ts(3,t),wa(5,t,t.return));break;case 1:zn(r,t),Ln(t),o&512&&(rn||l===null||Tr(l,l.return)),o&64&&Wr&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var p=vr;if(zn(r,t),Ln(t),o&512&&(rn||l===null||Tr(l,l.return)),o&4){var g=l!==null?l.memoizedState:null;if(o=t.memoizedState,l===null)if(o===null)if(t.stateNode===null){e:{o=t.type,l=t.memoizedProps,p=p.ownerDocument||p;t:switch(o){case"title":g=p.getElementsByTagName("title")[0],(!g||g[Xa]||g[Qt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=p.createElement(o),p.head.insertBefore(g,p.querySelector("head > title"))),pn(g,o,l),g[Qt]=t,Wt(g),o=g;break e;case"link":var B=Tp("link","href",p).get(o+(l.href||""));if(B){for(var w=0;w<B.length;w++)if(g=B[w],g.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&g.getAttribute("rel")===(l.rel==null?null:l.rel)&&g.getAttribute("title")===(l.title==null?null:l.title)&&g.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){B.splice(w,1);break t}}g=p.createElement(o),pn(g,o,l),p.head.appendChild(g);break;case"meta":if(B=Tp("meta","content",p).get(o+(l.content||""))){for(w=0;w<B.length;w++)if(g=B[w],g.getAttribute("content")===(l.content==null?null:""+l.content)&&g.getAttribute("name")===(l.name==null?null:l.name)&&g.getAttribute("property")===(l.property==null?null:l.property)&&g.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&g.getAttribute("charset")===(l.charSet==null?null:l.charSet)){B.splice(w,1);break t}}g=p.createElement(o),pn(g,o,l),p.head.appendChild(g);break;default:throw Error(i(468,o))}g[Qt]=t,Wt(g),o=g}t.stateNode=o}else jp(p,t.type,t.stateNode);else t.stateNode=Mp(p,o,t.memoizedProps);else g!==o?(g===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):g.count--,o===null?jp(p,t.type,t.stateNode):Mp(p,o,t.memoizedProps)):o===null&&t.stateNode!==null&&Cx(t,t.memoizedProps,l.memoizedProps)}break;case 27:zn(r,t),Ln(t),o&512&&(rn||l===null||Tr(l,l.return)),l!==null&&o&4&&Cx(t,t.memoizedProps,l.memoizedProps);break;case 5:if(zn(r,t),Ln(t),o&512&&(rn||l===null||Tr(l,l.return)),t.flags&32){p=t.stateNode;try{Pe(p,"")}catch(Se){Ct(t,t.return,Se)}}o&4&&t.stateNode!=null&&(p=t.memoizedProps,Cx(t,p,l!==null?l.memoizedProps:p)),o&1024&&(Bx=!0);break;case 6:if(zn(r,t),Ln(t),o&4){if(t.stateNode===null)throw Error(i(162));o=t.memoizedProps,l=t.stateNode;try{l.nodeValue=o}catch(Se){Ct(t,t.return,Se)}}break;case 3:if(s0=null,p=vr,vr=i0(r.containerInfo),zn(r,t),vr=p,Ln(t),o&4&&l!==null&&l.memoizedState.isDehydrated)try{xl(r.containerInfo)}catch(Se){Ct(t,t.return,Se)}Bx&&(Bx=!1,j1(t));break;case 4:o=vr,vr=i0(t.stateNode.containerInfo),zn(r,t),Ln(t),vr=o;break;case 12:zn(r,t),Ln(t);break;case 31:zn(r,t),Ln(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Go(t,o)));break;case 13:zn(r,t),Ln(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Qo=rt()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Go(t,o)));break;case 22:p=t.memoizedState!==null;var I=l!==null&&l.memoizedState!==null,ee=Wr,le=rn;if(Wr=ee||p,rn=le||I,zn(r,t),rn=le,Wr=ee,Ln(t),o&8192)e:for(r=t.stateNode,r._visibility=p?r._visibility&-2:r._visibility|1,p&&(l===null||I||Wr||rn||fi(t)),l=null,r=t;;){if(r.tag===5||r.tag===26){if(l===null){I=l=r;try{if(g=I.stateNode,p)B=g.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{w=I.stateNode;var xe=I.memoizedProps.style,ne=xe!=null&&xe.hasOwnProperty("display")?xe.display:null;w.style.display=ne==null||typeof ne=="boolean"?"":(""+ne).trim()}}catch(Se){Ct(I,I.return,Se)}}}else if(r.tag===6){if(l===null){I=r;try{I.stateNode.nodeValue=p?"":I.memoizedProps}catch(Se){Ct(I,I.return,Se)}}}else if(r.tag===18){if(l===null){I=r;try{var ae=I.stateNode;p?Bp(ae,!0):Bp(I.stateNode,!1)}catch(Se){Ct(I,I.return,Se)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===t)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;l===r&&(l=null),r=r.return}l===r&&(l=null),r.sibling.return=r.return,r=r.sibling}o&4&&(o=t.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,Go(t,l))));break;case 19:zn(r,t),Ln(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Go(t,o)));break;case 30:break;case 21:break;default:zn(r,t),Ln(t)}}function Ln(t){var r=t.flags;if(r&2){try{for(var l,o=t.return;o!==null;){if(k1(o)){l=o;break}o=o.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var p=l.stateNode,g=bx(t);$o(t,g,p);break;case 5:var B=l.stateNode;l.flags&32&&(Pe(B,""),l.flags&=-33);var w=bx(t);$o(t,w,B);break;case 3:case 4:var I=l.stateNode.containerInfo,ee=bx(t);Ax(t,ee,I);break;default:throw Error(i(161))}}catch(le){Ct(t,t.return,le)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function j1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;j1(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function ea(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)w1(t,r.alternate,r),r=r.sibling}function fi(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:wa(4,r,r.return),fi(r);break;case 1:Tr(r,r.return);var l=r.stateNode;typeof l.componentWillUnmount=="function"&&B1(r,r.return,l),fi(r);break;case 27:us(r.stateNode);case 26:case 5:Tr(r,r.return),fi(r);break;case 22:r.memoizedState===null&&fi(r);break;case 30:fi(r);break;default:fi(r)}t=t.sibling}}function ta(t,r,l){for(l=l&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var o=r.alternate,p=t,g=r,B=g.flags;switch(g.tag){case 0:case 11:case 15:ta(p,g,l),ts(4,g);break;case 1:if(ta(p,g,l),o=g,p=o.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(ee){Ct(o,o.return,ee)}if(o=g,p=o.updateQueue,p!==null){var w=o.stateNode;try{var I=p.shared.hiddenCallbacks;if(I!==null)for(p.shared.hiddenCallbacks=null,p=0;p<I.length;p++)uh(I[p],w)}catch(ee){Ct(o,o.return,ee)}}l&&B&64&&A1(g),ns(g,g.return);break;case 27:D1(g);case 26:case 5:ta(p,g,l),l&&o===null&&B&4&&v1(g),ns(g,g.return);break;case 12:ta(p,g,l);break;case 31:ta(p,g,l),l&&B&4&&N1(p,g);break;case 13:ta(p,g,l),l&&B&4&&M1(p,g);break;case 22:g.memoizedState===null&&ta(p,g,l),ns(g,g.return);break;case 30:break;default:ta(p,g,l)}r=r.sibling}}function vx(t,r){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(t=r.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Hl(l))}function kx(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Hl(t))}function kr(t,r,l,o){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)R1(t,r,l,o),r=r.sibling}function R1(t,r,l,o){var p=r.flags;switch(r.tag){case 0:case 11:case 15:kr(t,r,l,o),p&2048&&ts(9,r);break;case 1:kr(t,r,l,o);break;case 3:kr(t,r,l,o),p&2048&&(t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Hl(t)));break;case 12:if(p&2048){kr(t,r,l,o),t=r.stateNode;try{var g=r.memoizedProps,B=g.id,w=g.onPostCommit;typeof w=="function"&&w(B,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(I){Ct(r,r.return,I)}}else kr(t,r,l,o);break;case 31:kr(t,r,l,o);break;case 13:kr(t,r,l,o);break;case 23:break;case 22:g=r.stateNode,B=r.alternate,r.memoizedState!==null?g._visibility&2?kr(t,r,l,o):rs(t,r):g._visibility&2?kr(t,r,l,o):(g._visibility|=2,Ji(t,r,l,o,(r.subtreeFlags&10256)!==0||!1)),p&2048&&vx(B,r);break;case 24:kr(t,r,l,o),p&2048&&kx(r.alternate,r);break;default:kr(t,r,l,o)}}function Ji(t,r,l,o,p){for(p=p&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=t,B=r,w=l,I=o,ee=B.flags;switch(B.tag){case 0:case 11:case 15:Ji(g,B,w,I,p),ts(8,B);break;case 23:break;case 22:var le=B.stateNode;B.memoizedState!==null?le._visibility&2?Ji(g,B,w,I,p):rs(g,B):(le._visibility|=2,Ji(g,B,w,I,p)),p&&ee&2048&&vx(B.alternate,B);break;case 24:Ji(g,B,w,I,p),p&&ee&2048&&kx(B.alternate,B);break;default:Ji(g,B,w,I,p)}r=r.sibling}}function rs(t,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var l=t,o=r,p=o.flags;switch(o.tag){case 22:rs(l,o),p&2048&&vx(o.alternate,o);break;case 24:rs(l,o),p&2048&&kx(o.alternate,o);break;default:rs(l,o)}r=r.sibling}}var as=8192;function el(t,r,l){if(t.subtreeFlags&as)for(t=t.child;t!==null;)O1(t,r,l),t=t.sibling}function O1(t,r,l){switch(t.tag){case 26:el(t,r,l),t.flags&as&&t.memoizedState!==null&&M6(l,vr,t.memoizedState,t.memoizedProps);break;case 5:el(t,r,l);break;case 3:case 4:var o=vr;vr=i0(t.stateNode.containerInfo),el(t,r,l),vr=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=as,as=16777216,el(t,r,l),as=o):el(t,r,l));break;default:el(t,r,l)}}function z1(t){var r=t.alternate;if(r!==null&&(t=r.child,t!==null)){r.child=null;do r=t.sibling,t.sibling=null,t=r;while(t!==null)}}function is(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var o=r[l];on=o,P1(o,t)}z1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)L1(t),t=t.sibling}function L1(t){switch(t.tag){case 0:case 11:case 15:is(t),t.flags&2048&&wa(9,t,t.return);break;case 3:is(t);break;case 12:is(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,Vo(t)):is(t);break;default:is(t)}}function Vo(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var o=r[l];on=o,P1(o,t)}z1(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:wa(8,r,r.return),Vo(r);break;case 22:l=r.stateNode,l._visibility&2&&(l._visibility&=-3,Vo(r));break;default:Vo(r)}t=t.sibling}}function P1(t,r){for(;on!==null;){var l=on;switch(l.tag){case 0:case 11:case 15:wa(8,l,r);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var o=l.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Hl(l.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,on=o;else e:for(l=t;on!==null;){o=on;var p=o.sibling,g=o.return;if(S1(o),o===l){on=null;break e}if(p!==null){p.return=g,on=p;break e}on=g}}}var Qg={getCacheForType:function(t){var r=fn(en),l=r.data.get(t);return l===void 0&&(l=t(),r.data.set(t,l)),l},cacheSignal:function(){return fn(en).controller.signal}},Yg=typeof WeakMap=="function"?WeakMap:Map,pt=0,Ft=null,et=null,it=0,yt=0,Zn=null,Sa=!1,tl=!1,Dx=!1,na=0,qt=0,_a=0,hi=0,Fx=0,Wn=0,nl=0,ls=null,Pn=null,wx=!1,Qo=0,U1=0,Yo=1/0,Ko=null,Na=null,ln=0,Ma=null,rl=null,ra=0,Sx=0,_x=null,I1=null,ss=0,Nx=null;function Jn(){return(pt&2)!==0&&it!==0?it&-it:U.T!==null?zx():Si()}function H1(){if(Wn===0)if((it&536870912)===0||st){var t=wi;wi<<=1,(wi&3932160)===0&&(wi=262144),Wn=t}else Wn=536870912;return t=Kn.current,t!==null&&(t.flags|=32),Wn}function Un(t,r,l){(t===Ft&&(yt===2||yt===9)||t.cancelPendingCommit!==null)&&(al(t,0),Ta(t,it,Wn,!1)),Dt(t,l),((pt&2)===0||t!==Ft)&&(t===Ft&&((pt&2)===0&&(hi|=l),qt===4&&Ta(t,it,Wn,!1)),jr(t))}function q1(t,r,l){if((pt&6)!==0)throw Error(i(327));var o=!l&&(r&127)===0&&(r&t.expiredLanes)===0||oe(t,r),p=o?Zg(t,r):Tx(t,r,!0),g=o;do{if(p===0){tl&&!o&&Ta(t,r,0,!1);break}else{if(l=t.current.alternate,g&&!Kg(l)){p=Tx(t,r,!1),g=!1;continue}if(p===2){if(g=r,t.errorRecoveryDisabledLanes&g)var B=0;else B=t.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){r=B;e:{var w=t;p=ls;var I=w.current.memoizedState.isDehydrated;if(I&&(al(w,B).flags|=256),B=Tx(w,B,!1),B!==2){if(Dx&&!I){w.errorRecoveryDisabledLanes|=g,hi|=g,p=4;break e}g=Pn,Pn=p,g!==null&&(Pn===null?Pn=g:Pn.push.apply(Pn,g))}p=B}if(g=!1,p!==2)continue}}if(p===1){al(t,0),Ta(t,r,0,!0);break}e:{switch(o=t,g=p,g){case 0:case 1:throw Error(i(345));case 4:if((r&4194048)!==r)break;case 6:Ta(o,r,Wn,!Sa);break e;case 2:Pn=null;break;case 3:case 5:break;default:throw Error(i(329))}if((r&62914560)===r&&(p=Qo+300-rt(),10<p)){if(Ta(o,r,Wn,!Sa),H(o,0,!0)!==0)break e;ra=r,o.timeoutHandle=Cp($1.bind(null,o,l,Pn,Ko,wx,r,Wn,hi,nl,Sa,g,"Throttled",-0,0),p);break e}$1(o,l,Pn,Ko,wx,r,Wn,hi,nl,Sa,g,null,-0,0)}}break}while(!0);jr(t)}function $1(t,r,l,o,p,g,B,w,I,ee,le,xe,ne,ae){if(t.timeoutHandle=-1,xe=r.subtreeFlags,xe&8192||(xe&16785408)===16785408){xe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ge},O1(r,g,xe);var Se=(g&62914560)===g?Qo-rt():(g&4194048)===g?U1-rt():0;if(Se=T6(xe,Se),Se!==null){ra=g,t.cancelPendingCommit=Se(W1.bind(null,t,r,g,l,o,p,B,w,I,le,xe,null,ne,ae)),Ta(t,g,B,!ee);return}}W1(t,r,g,l,o,p,B,w,I)}function Kg(t){for(var r=t;;){var l=r.tag;if((l===0||l===11||l===15)&&r.flags&16384&&(l=r.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var p=l[o],g=p.getSnapshot;p=p.value;try{if(!Qn(g(),p))return!1}catch{return!1}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Ta(t,r,l,o){r&=~Fx,r&=~hi,t.suspendedLanes|=r,t.pingedLanes&=~r,o&&(t.warmLanes|=r),o=t.expirationTimes;for(var p=r;0<p;){var g=31-mt(p),B=1<<g;o[g]=-1,p&=~B}l!==0&&De(t,l,r)}function Xo(){return(pt&6)===0?(os(0),!1):!0}function Mx(){if(et!==null){if(yt===0)var t=et.return;else t=et,Vr=ii=null,Yc(t),Yi=null,$l=0,t=et;for(;t!==null;)b1(t.alternate,t),t=t.return;et=null}}function al(t,r){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,p6(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),ra=0,Mx(),Ft=t,et=l=$r(t.current,null),it=r,yt=0,Zn=null,Sa=!1,tl=oe(t,r),Dx=!1,nl=Wn=Fx=hi=_a=qt=0,Pn=ls=null,wx=!1,(r&8)!==0&&(r|=r&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=r;0<o;){var p=31-mt(o),g=1<<p;r|=t[p],o&=~g}return na=r,Eo(),l}function G1(t,r){Ke=null,U.H=Wl,r===Qi||r===ko?(r=sh(),yt=3):r===Oc?(r=sh(),yt=4):yt=r===xx?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Zn=r,et===null&&(qt=1,Po(t,sr(r,t.current)))}function V1(){var t=Kn.current;return t===null?!0:(it&4194048)===it?ur===null:(it&62914560)===it||(it&536870912)!==0?t===ur:!1}function Q1(){var t=U.H;return U.H=Wl,t===null?Wl:t}function Y1(){var t=U.A;return U.A=Qg,t}function Zo(){qt=4,Sa||(it&4194048)!==it&&Kn.current!==null||(tl=!0),(_a&134217727)===0&&(hi&134217727)===0||Ft===null||Ta(Ft,it,Wn,!1)}function Tx(t,r,l){var o=pt;pt|=2;var p=Q1(),g=Y1();(Ft!==t||it!==r)&&(Ko=null,al(t,r)),r=!1;var B=qt;e:do try{if(yt!==0&&et!==null){var w=et,I=Zn;switch(yt){case 8:Mx(),B=6;break e;case 3:case 2:case 9:case 6:Kn.current===null&&(r=!0);var ee=yt;if(yt=0,Zn=null,il(t,w,I,ee),l&&tl){B=0;break e}break;default:ee=yt,yt=0,Zn=null,il(t,w,I,ee)}}Xg(),B=qt;break}catch(le){G1(t,le)}while(!0);return r&&t.shellSuspendCounter++,Vr=ii=null,pt=o,U.H=p,U.A=g,et===null&&(Ft=null,it=0,Eo()),B}function Xg(){for(;et!==null;)K1(et)}function Zg(t,r){var l=pt;pt|=2;var o=Q1(),p=Y1();Ft!==t||it!==r?(Ko=null,Yo=rt()+500,al(t,r)):tl=oe(t,r);e:do try{if(yt!==0&&et!==null){r=et;var g=Zn;t:switch(yt){case 1:yt=0,Zn=null,il(t,r,g,1);break;case 2:case 9:if(ih(g)){yt=0,Zn=null,X1(r);break}r=function(){yt!==2&&yt!==9||Ft!==t||(yt=7),jr(t)},g.then(r,r);break e;case 3:yt=7;break e;case 4:yt=5;break e;case 7:ih(g)?(yt=0,Zn=null,X1(r)):(yt=0,Zn=null,il(t,r,g,7));break;case 5:var B=null;switch(et.tag){case 26:B=et.memoizedState;case 5:case 27:var w=et;if(B?Rp(B):w.stateNode.complete){yt=0,Zn=null;var I=w.sibling;if(I!==null)et=I;else{var ee=w.return;ee!==null?(et=ee,Wo(ee)):et=null}break t}}yt=0,Zn=null,il(t,r,g,5);break;case 6:yt=0,Zn=null,il(t,r,g,6);break;case 8:Mx(),qt=6;break e;default:throw Error(i(462))}}Wg();break}catch(le){G1(t,le)}while(!0);return Vr=ii=null,U.H=o,U.A=p,pt=l,et!==null?0:(Ft=null,it=0,Eo(),qt)}function Wg(){for(;et!==null&&!ue();)K1(et)}function K1(t){var r=y1(t.alternate,t,na);t.memoizedProps=t.pendingProps,r===null?Wo(t):et=r}function X1(t){var r=t,l=r.alternate;switch(r.tag){case 15:case 0:r=f1(l,r,r.pendingProps,r.type,void 0,it);break;case 11:r=f1(l,r,r.pendingProps,r.type.render,r.ref,it);break;case 5:Yc(r);default:b1(l,r),r=et=Yf(r,na),r=y1(l,r,na)}t.memoizedProps=t.pendingProps,r===null?Wo(t):et=r}function il(t,r,l,o){Vr=ii=null,Yc(r),Yi=null,$l=0;var p=r.return;try{if(Ug(t,p,r,l,it)){qt=1,Po(t,sr(l,t.current)),et=null;return}}catch(g){if(p!==null)throw et=p,g;qt=1,Po(t,sr(l,t.current)),et=null;return}r.flags&32768?(st||o===1?t=!0:tl||(it&536870912)!==0?t=!1:(Sa=t=!0,(o===2||o===9||o===3||o===6)&&(o=Kn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Z1(r,t)):Wo(r)}function Wo(t){var r=t;do{if((r.flags&32768)!==0){Z1(r,Sa);return}t=r.return;var l=qg(r.alternate,r,na);if(l!==null){et=l;return}if(r=r.sibling,r!==null){et=r;return}et=r=t}while(r!==null);qt===0&&(qt=5)}function Z1(t,r){do{var l=$g(t.alternate,t);if(l!==null){l.flags&=32767,et=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!r&&(t=t.sibling,t!==null)){et=t;return}et=t=l}while(t!==null);qt=6,et=null}function W1(t,r,l,o,p,g,B,w,I){t.cancelPendingCommit=null;do Jo();while(ln!==0);if((pt&6)!==0)throw Error(i(327));if(r!==null){if(r===t.current)throw Error(i(177));if(g=r.lanes|r.childLanes,g|=bc,Ne(t,l,g,B,w,I),t===Ft&&(et=Ft=null,it=0),rl=r,Ma=t,ra=l,Sx=g,_x=p,I1=o,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,n6(_e,function(){return rp(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||o){o=U.T,U.T=null,p=Z.p,Z.p=2,B=pt,pt|=4;try{Gg(t,r,l)}finally{pt=B,Z.p=p,U.T=o}}ln=1,J1(),ep(),tp()}}function J1(){if(ln===1){ln=0;var t=Ma,r=rl,l=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var o=Z.p;Z.p=2;var p=pt;pt|=4;try{T1(r,t);var g=Gx,B=Pf(t.containerInfo),w=g.focusedElem,I=g.selectionRange;if(B!==w&&w&&w.ownerDocument&&Lf(w.ownerDocument.documentElement,w)){if(I!==null&&mc(w)){var ee=I.start,le=I.end;if(le===void 0&&(le=ee),"selectionStart"in w)w.selectionStart=ee,w.selectionEnd=Math.min(le,w.value.length);else{var xe=w.ownerDocument||document,ne=xe&&xe.defaultView||window;if(ne.getSelection){var ae=ne.getSelection(),Se=w.textContent.length,Le=Math.min(I.start,Se),vt=I.end===void 0?Le:Math.min(I.end,Se);!ae.extend&&Le>vt&&(B=vt,vt=Le,Le=B);var K=zf(w,Le),q=zf(w,vt);if(K&&q&&(ae.rangeCount!==1||ae.anchorNode!==K.node||ae.anchorOffset!==K.offset||ae.focusNode!==q.node||ae.focusOffset!==q.offset)){var W=xe.createRange();W.setStart(K.node,K.offset),ae.removeAllRanges(),Le>vt?(ae.addRange(W),ae.extend(q.node,q.offset)):(W.setEnd(q.node,q.offset),ae.addRange(W))}}}}for(xe=[],ae=w;ae=ae.parentNode;)ae.nodeType===1&&xe.push({element:ae,left:ae.scrollLeft,top:ae.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<xe.length;w++){var ce=xe[w];ce.element.scrollLeft=ce.left,ce.element.scrollTop=ce.top}}u0=!!$x,Gx=$x=null}finally{pt=p,Z.p=o,U.T=l}}t.current=r,ln=2}}function ep(){if(ln===2){ln=0;var t=Ma,r=rl,l=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var o=Z.p;Z.p=2;var p=pt;pt|=4;try{w1(t,r.alternate,r)}finally{pt=p,Z.p=o,U.T=l}}ln=3}}function tp(){if(ln===4||ln===3){ln=0,Ot();var t=Ma,r=rl,l=ra,o=I1;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?ln=5:(ln=0,rl=Ma=null,np(t,t.pendingLanes));var p=t.pendingLanes;if(p===0&&(Na=null),Pr(l),r=r.stateNode,It&&typeof It.onCommitFiberRoot=="function")try{It.onCommitFiberRoot(xn,r,void 0,(r.current.flags&128)===128)}catch{}if(o!==null){r=U.T,p=Z.p,Z.p=2,U.T=null;try{for(var g=t.onRecoverableError,B=0;B<o.length;B++){var w=o[B];g(w.value,{componentStack:w.stack})}}finally{U.T=r,Z.p=p}}(ra&3)!==0&&Jo(),jr(t),p=t.pendingLanes,(l&261930)!==0&&(p&42)!==0?t===Nx?ss++:(ss=0,Nx=t):ss=0,os(0)}}function np(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Hl(r)))}function Jo(){return J1(),ep(),tp(),rp()}function rp(){if(ln!==5)return!1;var t=Ma,r=Sx;Sx=0;var l=Pr(ra),o=U.T,p=Z.p;try{Z.p=32>l?32:l,U.T=null,l=_x,_x=null;var g=Ma,B=ra;if(ln=0,rl=Ma=null,ra=0,(pt&6)!==0)throw Error(i(331));var w=pt;if(pt|=4,L1(g.current),R1(g,g.current,B,l),pt=w,os(0,!1),It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(xn,g)}catch{}return!0}finally{Z.p=p,U.T=o,np(t,r)}}function ap(t,r,l){r=sr(l,r),r=cx(t.stateNode,r,2),t=ka(t,r,2),t!==null&&(Dt(t,2),jr(t))}function Ct(t,r,l){if(t.tag===3)ap(t,t,l);else for(;r!==null;){if(r.tag===3){ap(r,t,l);break}else if(r.tag===1){var o=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Na===null||!Na.has(o))){t=sr(l,t),l=i1(2),o=ka(r,l,2),o!==null&&(l1(l,o,r,t),Dt(o,2),jr(o));break}}r=r.return}}function jx(t,r,l){var o=t.pingCache;if(o===null){o=t.pingCache=new Yg;var p=new Set;o.set(r,p)}else p=o.get(r),p===void 0&&(p=new Set,o.set(r,p));p.has(l)||(Dx=!0,p.add(l),t=Jg.bind(null,t,r,l),r.then(t,t))}function Jg(t,r,l){var o=t.pingCache;o!==null&&o.delete(r),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ft===t&&(it&l)===l&&(qt===4||qt===3&&(it&62914560)===it&&300>rt()-Qo?(pt&2)===0&&al(t,0):Fx|=l,nl===it&&(nl=0)),jr(t)}function ip(t,r){r===0&&(r=Ie()),t=ni(t,r),t!==null&&(Dt(t,r),jr(t))}function e6(t){var r=t.memoizedState,l=0;r!==null&&(l=r.retryLane),ip(t,l)}function t6(t,r){var l=0;switch(t.tag){case 31:case 13:var o=t.stateNode,p=t.memoizedState;p!==null&&(l=p.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(r),ip(t,l)}function n6(t,r){return cn(t,r)}var e0=null,ll=null,Rx=!1,t0=!1,Ox=!1,ja=0;function jr(t){t!==ll&&t.next===null&&(ll===null?e0=ll=t:ll=ll.next=t),t0=!0,Rx||(Rx=!0,a6())}function os(t,r){if(!Ox&&t0){Ox=!0;do for(var l=!1,o=e0;o!==null;){if(t!==0){var p=o.pendingLanes;if(p===0)var g=0;else{var B=o.suspendedLanes,w=o.pingedLanes;g=(1<<31-mt(42|t)+1)-1,g&=p&~(B&~w),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,cp(o,g))}else g=it,g=H(o,o===Ft?g:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(g&3)===0||oe(o,g)||(l=!0,cp(o,g));o=o.next}while(l);Ox=!1}}function r6(){lp()}function lp(){t0=Rx=!1;var t=0;ja!==0&&h6()&&(t=ja);for(var r=rt(),l=null,o=e0;o!==null;){var p=o.next,g=sp(o,r);g===0?(o.next=null,l===null?e0=p:l.next=p,p===null&&(ll=l)):(l=o,(t!==0||(g&3)!==0)&&(t0=!0)),o=p}ln!==0&&ln!==5||os(t),ja!==0&&(ja=0)}function sp(t,r){for(var l=t.suspendedLanes,o=t.pingedLanes,p=t.expirationTimes,g=t.pendingLanes&-62914561;0<g;){var B=31-mt(g),w=1<<B,I=p[B];I===-1?((w&l)===0||(w&o)!==0)&&(p[B]=ye(w,r)):I<=r&&(t.expiredLanes|=w),g&=~w}if(r=Ft,l=it,l=H(t,t===r?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,l===0||t===r&&(yt===2||yt===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&ht(o),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||oe(t,l)){if(r=l&-l,r===t.callbackPriority)return r;switch(o!==null&&ht(o),Pr(l)){case 2:case 8:l=de;break;case 32:l=_e;break;case 268435456:l=We;break;default:l=_e}return o=op.bind(null,t),l=cn(l,o),t.callbackPriority=r,t.callbackNode=l,r}return o!==null&&o!==null&&ht(o),t.callbackPriority=2,t.callbackNode=null,2}function op(t,r){if(ln!==0&&ln!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Jo()&&t.callbackNode!==l)return null;var o=it;return o=H(t,t===Ft?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(q1(t,o,r),sp(t,rt()),t.callbackNode!=null&&t.callbackNode===l?op.bind(null,t):null)}function cp(t,r){if(Jo())return null;q1(t,r,!0)}function a6(){m6(function(){(pt&6)!==0?cn(te,r6):lp()})}function zx(){if(ja===0){var t=Gi;t===0&&(t=Ya,Ya<<=1,(Ya&261888)===0&&(Ya=256)),ja=t}return ja}function xp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ea(""+t)}function up(t,r){var l=r.ownerDocument.createElement("input");return l.name=r.name,l.value=r.value,t.id&&l.setAttribute("form",t.id),r.parentNode.insertBefore(l,r),t=new FormData(t),l.parentNode.removeChild(l),t}function i6(t,r,l,o,p){if(r==="submit"&&l&&l.stateNode===p){var g=xp((p[gn]||null).action),B=o.submitter;B&&(r=(r=B[gn]||null)?xp(r.formAction):B.getAttribute("formAction"),r!==null&&(g=r,B=null));var w=new fo("action","action",null,o,p);t.push({event:w,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(ja!==0){var I=B?up(p,B):new FormData(p);rx(l,{pending:!0,data:I,method:p.method,action:g},null,I)}}else typeof g=="function"&&(w.preventDefault(),I=B?up(p,B):new FormData(p),rx(l,{pending:!0,data:I,method:p.method,action:g},g,I))},currentTarget:p}]})}}for(var Lx=0;Lx<Cc.length;Lx++){var Px=Cc[Lx],l6=Px.toLowerCase(),s6=Px[0].toUpperCase()+Px.slice(1);Br(l6,"on"+s6)}Br(Hf,"onAnimationEnd"),Br(qf,"onAnimationIteration"),Br($f,"onAnimationStart"),Br("dblclick","onDoubleClick"),Br("focusin","onFocus"),Br("focusout","onBlur"),Br(Bg,"onTransitionRun"),Br(vg,"onTransitionStart"),Br(kg,"onTransitionCancel"),Br(Gf,"onTransitionEnd"),pe("onMouseEnter",["mouseout","mouseover"]),pe("onMouseLeave",["mouseout","mouseover"]),pe("onPointerEnter",["pointerout","pointerover"]),pe("onPointerLeave",["pointerout","pointerover"]),Ir("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ir("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ir("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ir("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ir("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ir("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),o6=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cs));function dp(t,r){r=(r&4)!==0;for(var l=0;l<t.length;l++){var o=t[l],p=o.event;o=o.listeners;e:{var g=void 0;if(r)for(var B=o.length-1;0<=B;B--){var w=o[B],I=w.instance,ee=w.currentTarget;if(w=w.listener,I!==g&&p.isPropagationStopped())break e;g=w,p.currentTarget=ee;try{g(p)}catch(le){mo(le)}p.currentTarget=null,g=I}else for(B=0;B<o.length;B++){if(w=o[B],I=w.instance,ee=w.currentTarget,w=w.listener,I!==g&&p.isPropagationStopped())break e;g=w,p.currentTarget=ee;try{g(p)}catch(le){mo(le)}p.currentTarget=null,g=I}}}}function tt(t,r){var l=r[kl];l===void 0&&(l=r[kl]=new Set);var o=t+"__bubble";l.has(o)||(fp(r,t,2,!1),l.add(o))}function Ux(t,r,l){var o=0;r&&(o|=4),fp(l,t,o,r)}var n0="_reactListening"+Math.random().toString(36).slice(2);function Ix(t){if(!t[n0]){t[n0]=!0,ao.forEach(function(l){l!=="selectionchange"&&(o6.has(l)||Ux(l,!1,t),Ux(l,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[n0]||(r[n0]=!0,Ux("selectionchange",!1,r))}}function fp(t,r,l,o){switch(Hp(r)){case 2:var p=O6;break;case 8:p=z6;break;default:p=nu}l=p.bind(null,r,l,t),p=void 0,!sc||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(p=!0),o?p!==void 0?t.addEventListener(r,l,{capture:!0,passive:p}):t.addEventListener(r,l,!0):p!==void 0?t.addEventListener(r,l,{passive:p}):t.addEventListener(r,l,!1)}function Hx(t,r,l,o,p){var g=o;if((r&1)===0&&(r&2)===0&&o!==null)e:for(;;){if(o===null)return;var B=o.tag;if(B===3||B===4){var w=o.stateNode.containerInfo;if(w===p)break;if(B===4)for(B=o.return;B!==null;){var I=B.tag;if((I===3||I===4)&&B.stateNode.containerInfo===p)return;B=B.return}for(;w!==null;){if(B=wn(w),B===null)return;if(I=B.tag,I===5||I===6||I===26||I===27){o=g=B;continue e}w=w.parentNode}}o=o.return}oo(function(){var ee=g,le=Ye(l),xe=[];e:{var ne=Vf.get(t);if(ne!==void 0){var ae=fo,Se=t;switch(t){case"keypress":if(xo(l)===0)break e;case"keydown":case"keyup":ae=tg;break;case"focusin":Se="focus",ae=uc;break;case"focusout":Se="blur",ae=uc;break;case"beforeblur":case"afterblur":ae=uc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=bf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=q5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=ag;break;case Hf:case qf:case $f:ae=V5;break;case Gf:ae=lg;break;case"scroll":case"scrollend":ae=I5;break;case"wheel":ae=og;break;case"copy":case"cut":case"paste":ae=Y5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=Bf;break;case"toggle":case"beforetoggle":ae=xg}var Le=(r&4)!==0,vt=!Le&&(t==="scroll"||t==="scrollend"),K=Le?ne!==null?ne+"Capture":null:ne;Le=[];for(var q=ee,W;q!==null;){var ce=q;if(W=ce.stateNode,ce=ce.tag,ce!==5&&ce!==26&&ce!==27||W===null||K===null||(ce=Nl(q,K),ce!=null&&Le.push(xs(q,ce,W))),vt)break;q=q.return}0<Le.length&&(ne=new ae(ne,Se,null,l,le),xe.push({event:ne,listeners:Le}))}}if((r&7)===0){e:{if(ne=t==="mouseover"||t==="pointerover",ae=t==="mouseout"||t==="pointerout",ne&&l!==Me&&(Se=l.relatedTarget||l.fromElement)&&(wn(Se)||Se[fa]))break e;if((ae||ne)&&(ne=le.window===le?le:(ne=le.ownerDocument)?ne.defaultView||ne.parentWindow:window,ae?(Se=l.relatedTarget||l.toElement,ae=ee,Se=Se?wn(Se):null,Se!==null&&(vt=c(Se),Le=Se.tag,Se!==vt||Le!==5&&Le!==27&&Le!==6)&&(Se=null)):(ae=null,Se=ee),ae!==Se)){if(Le=bf,ce="onMouseLeave",K="onMouseEnter",q="mouse",(t==="pointerout"||t==="pointerover")&&(Le=Bf,ce="onPointerLeave",K="onPointerEnter",q="pointer"),vt=ae==null?ne:ha(ae),W=Se==null?ne:ha(Se),ne=new Le(ce,q+"leave",ae,l,le),ne.target=vt,ne.relatedTarget=W,ce=null,wn(le)===ee&&(Le=new Le(K,q+"enter",Se,l,le),Le.target=W,Le.relatedTarget=vt,ce=Le),vt=ce,ae&&Se)t:{for(Le=c6,K=ae,q=Se,W=0,ce=K;ce;ce=Le(ce))W++;ce=0;for(var Re=q;Re;Re=Le(Re))ce++;for(;0<W-ce;)K=Le(K),W--;for(;0<ce-W;)q=Le(q),ce--;for(;W--;){if(K===q||q!==null&&K===q.alternate){Le=K;break t}K=Le(K),q=Le(q)}Le=null}else Le=null;ae!==null&&hp(xe,ne,ae,Le,!1),Se!==null&&vt!==null&&hp(xe,vt,Se,Le,!0)}}e:{if(ne=ee?ha(ee):window,ae=ne.nodeName&&ne.nodeName.toLowerCase(),ae==="select"||ae==="input"&&ne.type==="file")var ut=Nf;else if(Sf(ne))if(Mf)ut=Cg;else{ut=gg;var Te=Eg}else ae=ne.nodeName,!ae||ae.toLowerCase()!=="input"||ne.type!=="checkbox"&&ne.type!=="radio"?ee&&ma(ee.elementType)&&(ut=Nf):ut=yg;if(ut&&(ut=ut(t,ee))){_f(xe,ut,l,le);break e}Te&&Te(t,ne,ee),t==="focusout"&&ee&&ne.type==="number"&&ee.memoizedProps.value!=null&&ji(ne,"number",ne.value)}switch(Te=ee?ha(ee):window,t){case"focusin":(Sf(Te)||Te.contentEditable==="true")&&(zi=Te,Ec=ee,Pl=null);break;case"focusout":Pl=Ec=zi=null;break;case"mousedown":gc=!0;break;case"contextmenu":case"mouseup":case"dragend":gc=!1,Uf(xe,l,le);break;case"selectionchange":if(Ag)break;case"keydown":case"keyup":Uf(xe,l,le)}var Xe;if(fc)e:{switch(t){case"compositionstart":var lt="onCompositionStart";break e;case"compositionend":lt="onCompositionEnd";break e;case"compositionupdate":lt="onCompositionUpdate";break e}lt=void 0}else Oi?Ff(t,l)&&(lt="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(lt="onCompositionStart");lt&&(vf&&l.locale!=="ko"&&(Oi||lt!=="onCompositionStart"?lt==="onCompositionEnd"&&Oi&&(Xe=yf()):(ga=le,oc="value"in ga?ga.value:ga.textContent,Oi=!0)),Te=r0(ee,lt),0<Te.length&&(lt=new Af(lt,t,null,l,le),xe.push({event:lt,listeners:Te}),Xe?lt.data=Xe:(Xe=wf(l),Xe!==null&&(lt.data=Xe)))),(Xe=dg?fg(t,l):hg(t,l))&&(lt=r0(ee,"onBeforeInput"),0<lt.length&&(Te=new Af("onBeforeInput","beforeinput",null,l,le),xe.push({event:Te,listeners:lt}),Te.data=Xe)),i6(xe,t,ee,l,le)}dp(xe,r)})}function xs(t,r,l){return{instance:t,listener:r,currentTarget:l}}function r0(t,r){for(var l=r+"Capture",o=[];t!==null;){var p=t,g=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||g===null||(p=Nl(t,l),p!=null&&o.unshift(xs(t,p,g)),p=Nl(t,r),p!=null&&o.push(xs(t,p,g))),t.tag===3)return o;t=t.return}return[]}function c6(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function hp(t,r,l,o,p){for(var g=r._reactName,B=[];l!==null&&l!==o;){var w=l,I=w.alternate,ee=w.stateNode;if(w=w.tag,I!==null&&I===o)break;w!==5&&w!==26&&w!==27||ee===null||(I=ee,p?(ee=Nl(l,g),ee!=null&&B.unshift(xs(l,ee,I))):p||(ee=Nl(l,g),ee!=null&&B.push(xs(l,ee,I)))),l=l.return}B.length!==0&&t.push({event:r,listeners:B})}var x6=/\r\n?/g,u6=/\u0000|\uFFFD/g;function pp(t){return(typeof t=="string"?t:""+t).replace(x6,`
|
|
9
9
|
`).replace(u6,"")}function mp(t,r){return r=pp(r),pp(t)===r}function Bt(t,r,l,o,p,g){switch(l){case"children":typeof o=="string"?r==="body"||r==="textarea"&&o===""||Pe(t,o):(typeof o=="number"||typeof o=="bigint")&&r!=="body"&&Pe(t,""+o);break;case"className":Gn(t,"class",o);break;case"tabIndex":Gn(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Gn(t,l,o);break;case"style":gt(t,o,g);break;case"data":if(r!=="object"){Gn(t,"data",o);break}case"src":case"href":if(o===""&&(r!=="a"||l!=="href")){t.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ea(""+o),t.setAttribute(l,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(l==="formAction"?(r!=="input"&&Bt(t,r,"name",p.name,p,null),Bt(t,r,"formEncType",p.formEncType,p,null),Bt(t,r,"formMethod",p.formMethod,p,null),Bt(t,r,"formTarget",p.formTarget,p,null)):(Bt(t,r,"encType",p.encType,p,null),Bt(t,r,"method",p.method,p,null),Bt(t,r,"target",p.target,p,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(l);break}o=Ea(""+o),t.setAttribute(l,o);break;case"onClick":o!=null&&(t.onclick=ge);break;case"onScroll":o!=null&&tt("scroll",t);break;case"onScrollEnd":o!=null&&tt("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(p.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}l=Ea(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""+o):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":o===!0?t.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(l,o):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(l,o):t.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(l):t.setAttribute(l,o);break;case"popover":tt("beforetoggle",t),tt("toggle",t),yn(t,"popover",o);break;case"xlinkActuate":Tn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Tn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Tn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Tn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Tn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Tn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":yn(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Hr.get(l)||l,yn(t,l,o))}}function qx(t,r,l,o,p,g){switch(l){case"style":gt(t,o,g);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(l=o.__html,l!=null){if(p.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof o=="string"?Pe(t,o):(typeof o=="number"||typeof o=="bigint")&&Pe(t,""+o);break;case"onScroll":o!=null&&tt("scroll",t);break;case"onScrollEnd":o!=null&&tt("scrollend",t);break;case"onClick":o!=null&&(t.onclick=ge);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Za.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(p=l.endsWith("Capture"),r=l.slice(2,p?l.length-7:void 0),g=t[gn]||null,g=g!=null?g[l]:null,typeof g=="function"&&t.removeEventListener(r,g,p),typeof o=="function")){typeof g!="function"&&g!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(r,o,p);break e}l in t?t[l]=o:o===!0?t.setAttribute(l,""):yn(t,l,o)}}}function pn(t,r,l){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tt("error",t),tt("load",t);var o=!1,p=!1,g;for(g in l)if(l.hasOwnProperty(g)){var B=l[g];if(B!=null)switch(g){case"src":o=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Bt(t,r,g,B,l,null)}}p&&Bt(t,r,"srcSet",l.srcSet,l,null),o&&Bt(t,r,"src",l.src,l,null);return;case"input":tt("invalid",t);var w=g=B=p=null,I=null,ee=null;for(o in l)if(l.hasOwnProperty(o)){var le=l[o];if(le!=null)switch(o){case"name":p=le;break;case"type":B=le;break;case"checked":I=le;break;case"defaultChecked":ee=le;break;case"value":g=le;break;case"defaultValue":w=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(i(137,r));break;default:Bt(t,r,o,le,l,null)}}Wa(t,g,w,I,ee,B,p,!1);return;case"select":tt("invalid",t),o=B=g=null;for(p in l)if(l.hasOwnProperty(p)&&(w=l[p],w!=null))switch(p){case"value":g=w;break;case"defaultValue":B=w;break;case"multiple":o=w;default:Bt(t,r,p,w,l,null)}r=g,l=B,t.multiple=!!o,r!=null?un(t,!!o,r,!1):l!=null&&un(t,!!o,l,!0);return;case"textarea":tt("invalid",t),g=p=o=null;for(B in l)if(l.hasOwnProperty(B)&&(w=l[B],w!=null))switch(B){case"value":o=w;break;case"defaultValue":p=w;break;case"children":g=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(i(91));break;default:Bt(t,r,B,w,l,null)}Ri(t,o,p,g);return;case"option":for(I in l)l.hasOwnProperty(I)&&(o=l[I],o!=null)&&(I==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":Bt(t,r,I,o,l,null));return;case"dialog":tt("beforetoggle",t),tt("toggle",t),tt("cancel",t),tt("close",t);break;case"iframe":case"object":tt("load",t);break;case"video":case"audio":for(o=0;o<cs.length;o++)tt(cs[o],t);break;case"image":tt("error",t),tt("load",t);break;case"details":tt("toggle",t);break;case"embed":case"source":case"link":tt("error",t),tt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in l)if(l.hasOwnProperty(ee)&&(o=l[ee],o!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Bt(t,r,ee,o,l,null)}return;default:if(ma(r)){for(le in l)l.hasOwnProperty(le)&&(o=l[le],o!==void 0&&qx(t,r,le,o,l,void 0));return}}for(w in l)l.hasOwnProperty(w)&&(o=l[w],o!=null&&Bt(t,r,w,o,l,null))}function d6(t,r,l,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,g=null,B=null,w=null,I=null,ee=null,le=null;for(ae in l){var xe=l[ae];if(l.hasOwnProperty(ae)&&xe!=null)switch(ae){case"checked":break;case"value":break;case"defaultValue":I=xe;default:o.hasOwnProperty(ae)||Bt(t,r,ae,null,o,xe)}}for(var ne in o){var ae=o[ne];if(xe=l[ne],o.hasOwnProperty(ne)&&(ae!=null||xe!=null))switch(ne){case"type":g=ae;break;case"name":p=ae;break;case"checked":ee=ae;break;case"defaultChecked":le=ae;break;case"value":B=ae;break;case"defaultValue":w=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(i(137,r));break;default:ae!==xe&&Bt(t,r,ne,ae,o,xe)}}wl(t,B,w,I,ee,le,g,p);return;case"select":ae=B=w=ne=null;for(g in l)if(I=l[g],l.hasOwnProperty(g)&&I!=null)switch(g){case"value":break;case"multiple":ae=I;default:o.hasOwnProperty(g)||Bt(t,r,g,null,o,I)}for(p in o)if(g=o[p],I=l[p],o.hasOwnProperty(p)&&(g!=null||I!=null))switch(p){case"value":ne=g;break;case"defaultValue":w=g;break;case"multiple":B=g;default:g!==I&&Bt(t,r,p,g,o,I)}r=w,l=B,o=ae,ne!=null?un(t,!!l,ne,!1):!!o!=!!l&&(r!=null?un(t,!!l,r,!0):un(t,!!l,l?[]:"",!1));return;case"textarea":ae=ne=null;for(w in l)if(p=l[w],l.hasOwnProperty(w)&&p!=null&&!o.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:Bt(t,r,w,null,o,p)}for(B in o)if(p=o[B],g=l[B],o.hasOwnProperty(B)&&(p!=null||g!=null))switch(B){case"value":ne=p;break;case"defaultValue":ae=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(i(91));break;default:p!==g&&Bt(t,r,B,p,o,g)}lo(t,ne,ae);return;case"option":for(var Se in l)ne=l[Se],l.hasOwnProperty(Se)&&ne!=null&&!o.hasOwnProperty(Se)&&(Se==="selected"?t.selected=!1:Bt(t,r,Se,null,o,ne));for(I in o)ne=o[I],ae=l[I],o.hasOwnProperty(I)&&ne!==ae&&(ne!=null||ae!=null)&&(I==="selected"?t.selected=ne&&typeof ne!="function"&&typeof ne!="symbol":Bt(t,r,I,ne,o,ae));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Le in l)ne=l[Le],l.hasOwnProperty(Le)&&ne!=null&&!o.hasOwnProperty(Le)&&Bt(t,r,Le,null,o,ne);for(ee in o)if(ne=o[ee],ae=l[ee],o.hasOwnProperty(ee)&&ne!==ae&&(ne!=null||ae!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,r));break;default:Bt(t,r,ee,ne,o,ae)}return;default:if(ma(r)){for(var vt in l)ne=l[vt],l.hasOwnProperty(vt)&&ne!==void 0&&!o.hasOwnProperty(vt)&&qx(t,r,vt,void 0,o,ne);for(le in o)ne=o[le],ae=l[le],!o.hasOwnProperty(le)||ne===ae||ne===void 0&&ae===void 0||qx(t,r,le,ne,o,ae);return}}for(var K in l)ne=l[K],l.hasOwnProperty(K)&&ne!=null&&!o.hasOwnProperty(K)&&Bt(t,r,K,null,o,ne);for(xe in o)ne=o[xe],ae=l[xe],!o.hasOwnProperty(xe)||ne===ae||ne==null&&ae==null||Bt(t,r,xe,ne,o,ae)}function Ep(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function f6(){if(typeof performance.getEntriesByType=="function"){for(var t=0,r=0,l=performance.getEntriesByType("resource"),o=0;o<l.length;o++){var p=l[o],g=p.transferSize,B=p.initiatorType,w=p.duration;if(g&&w&&Ep(B)){for(B=0,w=p.responseEnd,o+=1;o<l.length;o++){var I=l[o],ee=I.startTime;if(ee>w)break;var le=I.transferSize,xe=I.initiatorType;le&&Ep(xe)&&(I=I.responseEnd,B+=le*(I<w?1:(w-ee)/(I-ee)))}if(--o,r+=8*(g+B)/(p.duration/1e3),t++,10<t)break}}if(0<t)return r/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var $x=null,Gx=null;function a0(t){return t.nodeType===9?t:t.ownerDocument}function gp(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yp(t,r){if(t===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&r==="foreignObject"?0:t}function Vx(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Qx=null;function h6(){var t=window.event;return t&&t.type==="popstate"?t===Qx?!1:(Qx=t,!0):(Qx=null,!1)}var Cp=typeof setTimeout=="function"?setTimeout:void 0,p6=typeof clearTimeout=="function"?clearTimeout:void 0,bp=typeof Promise=="function"?Promise:void 0,m6=typeof queueMicrotask=="function"?queueMicrotask:typeof bp<"u"?function(t){return bp.resolve(null).then(t).catch(E6)}:Cp;function E6(t){setTimeout(function(){throw t})}function Ra(t){return t==="head"}function Ap(t,r){var l=r,o=0;do{var p=l.nextSibling;if(t.removeChild(l),p&&p.nodeType===8)if(l=p.data,l==="/$"||l==="/&"){if(o===0){t.removeChild(p),xl(r);return}o--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")o++;else if(l==="html")us(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,us(l);for(var g=l.firstChild;g;){var B=g.nextSibling,w=g.nodeName;g[Xa]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&g.rel.toLowerCase()==="stylesheet"||l.removeChild(g),g=B}}else l==="body"&&us(t.ownerDocument.body);l=p}while(l);xl(r)}function Bp(t,r){var l=t;t=0;do{var o=l.nextSibling;if(l.nodeType===1?r?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(r?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=o}while(l)}function Yx(t){var r=t.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var l=r;switch(r=r.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Yx(l),Dl(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function g6(t,r,l,o){for(;t.nodeType===1;){var p=l;if(t.nodeName.toLowerCase()!==r.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[Xa])switch(r){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(g=t.getAttribute("rel"),g==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(g!==p.rel||t.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||t.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||t.getAttribute("title")!==(p.title==null?null:p.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(g=t.getAttribute("src"),(g!==(p.src==null?null:p.src)||t.getAttribute("type")!==(p.type==null?null:p.type)||t.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&g&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(r==="input"&&t.type==="hidden"){var g=p.name==null?null:""+p.name;if(p.type==="hidden"&&t.getAttribute("name")===g)return t}else return t;if(t=dr(t.nextSibling),t===null)break}return null}function y6(t,r,l){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=dr(t.nextSibling),t===null))return null;return t}function vp(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=dr(t.nextSibling),t===null))return null;return t}function Kx(t){return t.data==="$?"||t.data==="$~"}function Xx(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function C6(t,r){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=r;else if(t.data!=="$?"||l.readyState!=="loading")r();else{var o=function(){r(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function dr(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return t}var Zx=null;function kp(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(r===0)return dr(t.nextSibling);r--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||r++}t=t.nextSibling}return null}function Dp(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(r===0)return t;r--}else l!=="/$"&&l!=="/&"||r++}t=t.previousSibling}return null}function Fp(t,r,l){switch(r=a0(l),t){case"html":if(t=r.documentElement,!t)throw Error(i(452));return t;case"head":if(t=r.head,!t)throw Error(i(453));return t;case"body":if(t=r.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function us(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Dl(t)}var fr=new Map,wp=new Set;function i0(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var aa=Z.d;Z.d={f:b6,r:A6,D:B6,C:v6,L:k6,m:D6,X:w6,S:F6,M:S6};function b6(){var t=aa.f(),r=Xo();return t||r}function A6(t){var r=Ur(t);r!==null&&r.tag===5&&r.type==="form"?Gh(r):aa.r(t)}var sl=typeof document>"u"?null:document;function Sp(t,r,l){var o=sl;if(o&&typeof r=="string"&&r){var p=jn(r);p='link[rel="'+t+'"][href="'+p+'"]',typeof l=="string"&&(p+='[crossorigin="'+l+'"]'),wp.has(p)||(wp.add(p),t={rel:t,crossOrigin:l,href:r},o.querySelector(p)===null&&(r=o.createElement("link"),pn(r,"link",t),Wt(r),o.head.appendChild(r)))}}function B6(t){aa.D(t),Sp("dns-prefetch",t,null)}function v6(t,r){aa.C(t,r),Sp("preconnect",t,r)}function k6(t,r,l){aa.L(t,r,l);var o=sl;if(o&&t&&r){var p='link[rel="preload"][as="'+jn(r)+'"]';r==="image"&&l&&l.imageSrcSet?(p+='[imagesrcset="'+jn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(p+='[imagesizes="'+jn(l.imageSizes)+'"]')):p+='[href="'+jn(t)+'"]';var g=p;switch(r){case"style":g=ol(t);break;case"script":g=cl(t)}fr.has(g)||(t=h({rel:"preload",href:r==="image"&&l&&l.imageSrcSet?void 0:t,as:r},l),fr.set(g,t),o.querySelector(p)!==null||r==="style"&&o.querySelector(ds(g))||r==="script"&&o.querySelector(fs(g))||(r=o.createElement("link"),pn(r,"link",t),Wt(r),o.head.appendChild(r)))}}function D6(t,r){aa.m(t,r);var l=sl;if(l&&t){var o=r&&typeof r.as=="string"?r.as:"script",p='link[rel="modulepreload"][as="'+jn(o)+'"][href="'+jn(t)+'"]',g=p;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=cl(t)}if(!fr.has(g)&&(t=h({rel:"modulepreload",href:t},r),fr.set(g,t),l.querySelector(p)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(fs(g)))return}o=l.createElement("link"),pn(o,"link",t),Wt(o),l.head.appendChild(o)}}}function F6(t,r,l){aa.S(t,r,l);var o=sl;if(o&&t){var p=pa(o).hoistableStyles,g=ol(t);r=r||"default";var B=p.get(g);if(!B){var w={loading:0,preload:null};if(B=o.querySelector(ds(g)))w.loading=5;else{t=h({rel:"stylesheet",href:t,"data-precedence":r},l),(l=fr.get(g))&&Wx(t,l);var I=B=o.createElement("link");Wt(I),pn(I,"link",t),I._p=new Promise(function(ee,le){I.onload=ee,I.onerror=le}),I.addEventListener("load",function(){w.loading|=1}),I.addEventListener("error",function(){w.loading|=2}),w.loading|=4,l0(B,r,o)}B={type:"stylesheet",instance:B,count:1,state:w},p.set(g,B)}}}function w6(t,r){aa.X(t,r);var l=sl;if(l&&t){var o=pa(l).hoistableScripts,p=cl(t),g=o.get(p);g||(g=l.querySelector(fs(p)),g||(t=h({src:t,async:!0},r),(r=fr.get(p))&&Jx(t,r),g=l.createElement("script"),Wt(g),pn(g,"link",t),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},o.set(p,g))}}function S6(t,r){aa.M(t,r);var l=sl;if(l&&t){var o=pa(l).hoistableScripts,p=cl(t),g=o.get(p);g||(g=l.querySelector(fs(p)),g||(t=h({src:t,async:!0,type:"module"},r),(r=fr.get(p))&&Jx(t,r),g=l.createElement("script"),Wt(g),pn(g,"link",t),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},o.set(p,g))}}function _p(t,r,l,o){var p=(p=fe.current)?i0(p):null;if(!p)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(r=ol(l.href),l=pa(p).hoistableStyles,o=l.get(r),o||(o={type:"style",instance:null,count:0,state:null},l.set(r,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=ol(l.href);var g=pa(p).hoistableStyles,B=g.get(t);if(B||(p=p.ownerDocument||p,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(t,B),(g=p.querySelector(ds(t)))&&!g._p&&(B.instance=g,B.state.loading=5),fr.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},fr.set(t,l),g||_6(p,t,l,B.state))),r&&o===null)throw Error(i(528,""));return B}if(r&&o!==null)throw Error(i(529,""));return null;case"script":return r=l.async,l=l.src,typeof l=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=cl(l),l=pa(p).hoistableScripts,o=l.get(r),o||(o={type:"script",instance:null,count:0,state:null},l.set(r,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function ol(t){return'href="'+jn(t)+'"'}function ds(t){return'link[rel="stylesheet"]['+t+"]"}function Np(t){return h({},t,{"data-precedence":t.precedence,precedence:null})}function _6(t,r,l,o){t.querySelector('link[rel="preload"][as="style"]['+r+"]")?o.loading=1:(r=t.createElement("link"),o.preload=r,r.addEventListener("load",function(){return o.loading|=1}),r.addEventListener("error",function(){return o.loading|=2}),pn(r,"link",l),Wt(r),t.head.appendChild(r))}function cl(t){return'[src="'+jn(t)+'"]'}function fs(t){return"script[async]"+t}function Mp(t,r,l){if(r.count++,r.instance===null)switch(r.type){case"style":var o=t.querySelector('style[data-href~="'+jn(l.href)+'"]');if(o)return r.instance=o,Wt(o),o;var p=h({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),Wt(o),pn(o,"style",p),l0(o,l.precedence,t),r.instance=o;case"stylesheet":p=ol(l.href);var g=t.querySelector(ds(p));if(g)return r.state.loading|=4,r.instance=g,Wt(g),g;o=Np(l),(p=fr.get(p))&&Wx(o,p),g=(t.ownerDocument||t).createElement("link"),Wt(g);var B=g;return B._p=new Promise(function(w,I){B.onload=w,B.onerror=I}),pn(g,"link",o),r.state.loading|=4,l0(g,l.precedence,t),r.instance=g;case"script":return g=cl(l.src),(p=t.querySelector(fs(g)))?(r.instance=p,Wt(p),p):(o=l,(p=fr.get(g))&&(o=h({},l),Jx(o,p)),t=t.ownerDocument||t,p=t.createElement("script"),Wt(p),pn(p,"link",o),t.head.appendChild(p),r.instance=p);case"void":return null;default:throw Error(i(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(o=r.instance,r.state.loading|=4,l0(o,l.precedence,t));return r.instance}function l0(t,r,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=o.length?o[o.length-1]:null,g=p,B=0;B<o.length;B++){var w=o[B];if(w.dataset.precedence===r)g=w;else if(g!==p)break}g?g.parentNode.insertBefore(t,g.nextSibling):(r=l.nodeType===9?l.head:l,r.insertBefore(t,r.firstChild))}function Wx(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function Jx(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var s0=null;function Tp(t,r,l){if(s0===null){var o=new Map,p=s0=new Map;p.set(l,o)}else p=s0,o=p.get(l),o||(o=new Map,p.set(l,o));if(o.has(t))return o;for(o.set(t,null),l=l.getElementsByTagName(t),p=0;p<l.length;p++){var g=l[p];if(!(g[Xa]||g[Qt]||t==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var B=g.getAttribute(r)||"";B=t+B;var w=o.get(B);w?w.push(g):o.set(B,[g])}}return o}function jp(t,r,l){t=t.ownerDocument||t,t.head.insertBefore(l,r==="title"?t.querySelector("head > title"):null)}function N6(t,r,l){if(l===1||r.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;return r.rel==="stylesheet"?(t=r.disabled,typeof r.precedence=="string"&&t==null):!0;case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function Rp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function M6(t,r,l,o){if(l.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var p=ol(o.href),g=r.querySelector(ds(p));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=o0.bind(t),r.then(t,t)),l.state.loading|=4,l.instance=g,Wt(g);return}g=r.ownerDocument||r,o=Np(o),(p=fr.get(p))&&Wx(o,p),g=g.createElement("link"),Wt(g);var B=g;B._p=new Promise(function(w,I){B.onload=w,B.onerror=I}),pn(g,"link",o),l.instance=g}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,r),(r=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=o0.bind(t),r.addEventListener("load",l),r.addEventListener("error",l))}}var eu=0;function T6(t,r){return t.stylesheets&&t.count===0&&x0(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var o=setTimeout(function(){if(t.stylesheets&&x0(t,t.stylesheets),t.unsuspend){var g=t.unsuspend;t.unsuspend=null,g()}},6e4+r);0<t.imgBytes&&eu===0&&(eu=62500*f6());var p=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&x0(t,t.stylesheets),t.unsuspend)){var g=t.unsuspend;t.unsuspend=null,g()}},(t.imgBytes>eu?50:800)+r);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(p)}}:null}function o0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)x0(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var c0=null;function x0(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,c0=new Map,r.forEach(j6,t),c0=null,o0.call(t))}function j6(t,r){if(!(r.state.loading&4)){var l=c0.get(t);if(l)var o=l.get(null);else{l=new Map,c0.set(t,l);for(var p=t.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<p.length;g++){var B=p[g];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(l.set(B.dataset.precedence,B),o=B)}o&&l.set(null,o)}p=r.instance,B=p.getAttribute("data-precedence"),g=l.get(B)||o,g===o&&l.set(null,p),l.set(B,p),this.count++,o=o0.bind(this),p.addEventListener("load",o),p.addEventListener("error",o),g?g.parentNode.insertBefore(p,g.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(p,t.firstChild)),r.state.loading|=4}}var hs={$$typeof:F,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function R6(t,r,l,o,p,g,B,w,I){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Mt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mt(0),this.hiddenUpdates=Mt(null),this.identifierPrefix=o,this.onUncaughtError=p,this.onCaughtError=g,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=I,this.incompleteTransitions=new Map}function Op(t,r,l,o,p,g,B,w,I,ee,le,xe){return t=new R6(t,r,l,B,I,ee,le,xe,w),r=1,g===!0&&(r|=24),g=Yn(3,null,null,r),t.current=g,g.stateNode=t,r=Tc(),r.refCount++,t.pooledCache=r,r.refCount++,g.memoizedState={element:o,isDehydrated:l,cache:r},zc(g),t}function zp(t){return t?(t=Ui,t):Ui}function Lp(t,r,l,o,p,g){p=zp(p),o.context===null?o.context=p:o.pendingContext=p,o=va(r),o.payload={element:l},g=g===void 0?null:g,g!==null&&(o.callback=g),l=ka(t,o,r),l!==null&&(Un(l,t,r),Vl(l,t,r))}function Pp(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<r?l:r}}function tu(t,r){Pp(t,r),(t=t.alternate)&&Pp(t,r)}function Up(t){if(t.tag===13||t.tag===31){var r=ni(t,67108864);r!==null&&Un(r,t,67108864),tu(t,67108864)}}function Ip(t){if(t.tag===13||t.tag===31){var r=Jn();r=zt(r);var l=ni(t,r);l!==null&&Un(l,t,r),tu(t,r)}}var u0=!0;function O6(t,r,l,o){var p=U.T;U.T=null;var g=Z.p;try{Z.p=2,nu(t,r,l,o)}finally{Z.p=g,U.T=p}}function z6(t,r,l,o){var p=U.T;U.T=null;var g=Z.p;try{Z.p=8,nu(t,r,l,o)}finally{Z.p=g,U.T=p}}function nu(t,r,l,o){if(u0){var p=ru(o);if(p===null)Hx(t,r,o,d0,l),qp(t,o);else if(P6(p,t,r,l,o))o.stopPropagation();else if(qp(t,o),r&4&&-1<L6.indexOf(t)){for(;p!==null;){var g=Ur(p);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var B=Mn(g.pendingLanes);if(B!==0){var w=g;for(w.pendingLanes|=2,w.entangledLanes|=2;B;){var I=1<<31-mt(B);w.entanglements[1]|=I,B&=~I}jr(g),(pt&6)===0&&(Yo=rt()+500,os(0))}}break;case 31:case 13:w=ni(g,2),w!==null&&Un(w,g,2),Xo(),tu(g,2)}if(g=ru(o),g===null&&Hx(t,r,o,d0,l),g===p)break;p=g}p!==null&&o.stopPropagation()}else Hx(t,r,o,null,l)}}function ru(t){return t=Ye(t),au(t)}var d0=null;function au(t){if(d0=null,t=wn(t),t!==null){var r=c(t);if(r===null)t=null;else{var l=r.tag;if(l===13){if(t=x(r),t!==null)return t;t=null}else if(l===31){if(t=d(r),t!==null)return t;t=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null)}}return d0=t,null}function Hp(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(se()){case te:return 2;case de:return 8;case _e:case Qe:return 32;case We:return 268435456;default:return 32}default:return 32}}var iu=!1,Oa=null,za=null,La=null,ps=new Map,ms=new Map,Pa=[],L6="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function qp(t,r){switch(t){case"focusin":case"focusout":Oa=null;break;case"dragenter":case"dragleave":za=null;break;case"mouseover":case"mouseout":La=null;break;case"pointerover":case"pointerout":ps.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":ms.delete(r.pointerId)}}function Es(t,r,l,o,p,g){return t===null||t.nativeEvent!==g?(t={blockedOn:r,domEventName:l,eventSystemFlags:o,nativeEvent:g,targetContainers:[p]},r!==null&&(r=Ur(r),r!==null&&Up(r)),t):(t.eventSystemFlags|=o,r=t.targetContainers,p!==null&&r.indexOf(p)===-1&&r.push(p),t)}function P6(t,r,l,o,p){switch(r){case"focusin":return Oa=Es(Oa,t,r,l,o,p),!0;case"dragenter":return za=Es(za,t,r,l,o,p),!0;case"mouseover":return La=Es(La,t,r,l,o,p),!0;case"pointerover":var g=p.pointerId;return ps.set(g,Es(ps.get(g)||null,t,r,l,o,p)),!0;case"gotpointercapture":return g=p.pointerId,ms.set(g,Es(ms.get(g)||null,t,r,l,o,p)),!0}return!1}function $p(t){var r=wn(t.target);if(r!==null){var l=c(r);if(l!==null){if(r=l.tag,r===13){if(r=x(l),r!==null){t.blockedOn=r,_i(t.priority,function(){Ip(l)});return}}else if(r===31){if(r=d(l),r!==null){t.blockedOn=r,_i(t.priority,function(){Ip(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function f0(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var l=ru(t.nativeEvent);if(l===null){l=t.nativeEvent;var o=new l.constructor(l.type,l);Me=o,l.target.dispatchEvent(o),Me=null}else return r=Ur(l),r!==null&&Up(r),t.blockedOn=l,!1;r.shift()}return!0}function Gp(t,r,l){f0(t)&&l.delete(r)}function U6(){iu=!1,Oa!==null&&f0(Oa)&&(Oa=null),za!==null&&f0(za)&&(za=null),La!==null&&f0(La)&&(La=null),ps.forEach(Gp),ms.forEach(Gp)}function h0(t,r){t.blockedOn===r&&(t.blockedOn=null,iu||(iu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,U6)))}var p0=null;function Vp(t){p0!==t&&(p0=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){p0===t&&(p0=null);for(var r=0;r<t.length;r+=3){var l=t[r],o=t[r+1],p=t[r+2];if(typeof o!="function"){if(au(o||l)===null)continue;break}var g=Ur(l);g!==null&&(t.splice(r,3),r-=3,rx(g,{pending:!0,data:p,method:l.method,action:o},o,p))}}))}function xl(t){function r(I){return h0(I,t)}Oa!==null&&h0(Oa,t),za!==null&&h0(za,t),La!==null&&h0(La,t),ps.forEach(r),ms.forEach(r);for(var l=0;l<Pa.length;l++){var o=Pa[l];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Pa.length&&(l=Pa[0],l.blockedOn===null);)$p(l),l.blockedOn===null&&Pa.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var p=l[o],g=l[o+1],B=p[gn]||null;if(typeof g=="function")B||Vp(l);else if(B){var w=null;if(g&&g.hasAttribute("formAction")){if(p=g,B=g[gn]||null)w=B.formAction;else if(au(p)!==null)continue}else w=B.action;typeof w=="function"?l[o+1]=w:(l.splice(o,3),o-=3),Vp(l)}}}function Qp(){function t(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(B){return p=B})},focusReset:"manual",scroll:"manual"})}function r(){p!==null&&(p(),p=null),o||setTimeout(l,20)}function l(){if(!o&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,p=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(l,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),p!==null&&(p(),p=null)}}}function lu(t){this._internalRoot=t}m0.prototype.render=lu.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));var l=r.current,o=Jn();Lp(l,o,t,r,null,null)},m0.prototype.unmount=lu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;Lp(t.current,2,null,t,null,null),Xo(),r[fa]=null}};function m0(t){this._internalRoot=t}m0.prototype.unstable_scheduleHydration=function(t){if(t){var r=Si();t={blockedOn:null,target:t,priority:r};for(var l=0;l<Pa.length&&r!==0&&r<Pa[l].priority;l++);Pa.splice(l,0,t),l===0&&$p(t)}};var Yp=n.version;if(Yp!=="19.2.7")throw Error(i(527,Yp,"19.2.7"));Z.findDOMNode=function(t){var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=f(r),t=t!==null?E(t):null,t=t===null?null:t.stateNode,t};var I6={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var E0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!E0.isDisabled&&E0.supportsFiber)try{xn=E0.inject(I6),It=E0}catch{}}return ys.createRoot=function(t,r){if(!s(t))throw Error(i(299));var l=!1,o="",p=t1,g=n1,B=r1;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onUncaughtError!==void 0&&(p=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(B=r.onRecoverableError)),r=Op(t,1,!1,null,null,l,o,null,p,g,B,Qp),t[fa]=r.current,Ix(t),new lu(r)},ys.hydrateRoot=function(t,r,l){if(!s(t))throw Error(i(299));var o=!1,p="",g=t1,B=n1,w=r1,I=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(B=l.onCaughtError),l.onRecoverableError!==void 0&&(w=l.onRecoverableError),l.formState!==void 0&&(I=l.formState)),r=Op(t,1,!0,r,l??null,o,p,I,g,B,w,Qp),r.context=zp(null),l=r.current,o=Jn(),o=zt(o),p=va(o),p.callback=null,ka(l,p,o),l=o,r.current.lanes=l,Dt(r,l),jr(r),t[fa]=r.current,Ix(t),new m0(r)},ys.version="19.2.7",ys}var h9;function R4(){if(h9)return cu.exports;h9=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),cu.exports=j4(),cu.exports}var O4=R4();var Fd=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,b8=/^[\\/]{2}/;function z4(e,n){return n+e.replace(/\\/g,"/")}var p9="popstate";function m9(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function L4(e={}){function n(i,s){let c=s.state?.masked,{pathname:x,search:d,hash:u}=c||i.location;return Xu("",{pathname:x,search:d,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,s){return typeof s=="string"?s:Ps(s)}return U4(n,a,null,e)}function Rt(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function mr(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function P4(){return Math.random().toString(36).substring(2,10)}function E9(e,n){return{usr:e.state,key:e.key,idx:n,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Xu(e,n,a=null,i,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?gl(n):n,state:a,key:n&&n.key||i||P4(),mask:s}}function Ps({pathname:e="/",search:n="",hash:a=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function gl(e){let n={};if(e){let a=e.indexOf("#");a>=0&&(n.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(n.search=e.substring(i),e=e.substring(0,i)),e&&(n.pathname=e)}return n}function U4(e,n,a,i={}){let{window:s=document.defaultView,v5Compat:c=!1}=i,x=s.history,d="POP",u=null,f=E();f==null&&(f=0,x.replaceState({...x.state,idx:f},""));function E(){return(x.state||{idx:null}).idx}function h(){d="POP";let v=E(),k=v==null?null:v-f;f=v,u&&u({action:d,location:A.location,delta:k})}function y(v,k){d="PUSH";let T=m9(v)?v:Xu(A.location,v,k);f=E()+1;let F=E9(T,f),j=A.createHref(T.mask||T);try{x.pushState(F,"",j)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;s.location.assign(j)}c&&u&&u({action:d,location:A.location,delta:1})}function C(v,k){d="REPLACE";let T=m9(v)?v:Xu(A.location,v,k);f=E();let F=E9(T,f),j=A.createHref(T.mask||T);x.replaceState(F,"",j),c&&u&&u({action:d,location:A.location,delta:0})}function b(v){return I4(s,v)}let A={get action(){return d},get location(){return e(s,x)},listen(v){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(p9,h),u=v,()=>{s.removeEventListener(p9,h),u=null}},createHref(v){return n(s,v)},createURL:b,encodeLocation(v){let k=b(v);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:y,replace:C,go(v){return x.go(v)}};return A}function I4(e,n,a=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),Rt(i,"No window.location.(origin|href) available to create URL");let s=typeof n=="string"?n:Ps(n);return s=s.replace(/ $/,"%20"),!a&&b8.test(s)&&(s=i+s),new URL(s,i)}function A8(e,n,a="/"){return H4(e,n,a,!1)}function H4(e,n,a,i,s){let c=typeof n=="string"?gl(n):n,x=oa(c.pathname||"/",a);if(x==null)return null;let d=q4(e),u=null,f=F8(x);for(let E=0;u==null&&E<d.length;++E)u=J4(d[E],f,i);return u}function q4(e){let n=B8(e);return $4(n),n}function B8(e,n=[],a=[],i="",s=!1){let c=(x,d,u=s,f)=>{let E={relativePath:f===void 0?x.path||"":f,caseSensitive:x.caseSensitive===!0,childrenIndex:d,route:x};if(E.relativePath.startsWith("/")){if(!E.relativePath.startsWith(i)&&u)return;Rt(E.relativePath.startsWith(i),`Absolute route path "${E.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),E.relativePath=E.relativePath.slice(i.length)}let h=Fr([i,E.relativePath]),y=a.concat(E);x.children&&x.children.length>0&&(Rt(x.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),B8(x.children,n,y,h,u)),!(x.path==null&&!x.index)&&n.push({path:h,score:Z4(h,x.index),routesMeta:y.map((C,b)=>{let[A,v]=D8(C.relativePath,C.caseSensitive,b===y.length-1);return{...C,matcher:A,compiledParams:v}})})};return e.forEach((x,d)=>{if(x.path===""||!x.path?.includes("?"))c(x,d);else for(let u of v8(x.path))c(x,d,!0,u)}),n}function v8(e){let n=e.split("/");if(n.length===0)return[];let[a,...i]=n,s=a.endsWith("?"),c=a.replace(/\?$/,"");if(i.length===0)return s?[c,""]:[c];let x=v8(i.join("/")),d=[];return d.push(...x.map(u=>u===""?c:[c,u].join("/"))),s&&d.push(...x),d.map(u=>e.startsWith("/")&&u===""?"/":u)}function $4(e){e.sort((n,a)=>n.score!==a.score?a.score-n.score:W4(n.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var G4=/^:[\w-]+$/,V4=3,Q4=2,Y4=1,K4=10,X4=-2,g9=e=>e==="*";function Z4(e,n){let a=e.split("/"),i=a.length;return a.some(g9)&&(i+=X4),n&&(i+=Q4),a.filter(s=>!g9(s)).reduce((s,c)=>s+(G4.test(c)?V4:c===""?Y4:K4),i)}function W4(e,n){return e.length===n.length&&e.slice(0,-1).every((i,s)=>i===n[s])?e[e.length-1]-n[n.length-1]:0}function J4(e,n,a=!1){let{routesMeta:i}=e,s={},c="/",x=[];for(let d=0;d<i.length;++d){let u=i[d],f=d===i.length-1,E=c==="/"?n:n.slice(c.length)||"/",h={path:u.relativePath,caseSensitive:u.caseSensitive,end:f},y=u.matcher&&u.compiledParams?k8(h,E,u.matcher,u.compiledParams):Us(h,E),C=u.route;if(!y&&f&&a&&!i[i.length-1].route.index&&(y=Us({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},E)),!y)return null;Object.assign(s,y.params),x.push({params:s,pathname:Fr([c,y.pathname]),pathnameBase:ny(Fr([c,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(c=Fr([c,y.pathnameBase]))}return x}function Us(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=D8(e.path,e.caseSensitive,e.end);return k8(e,n,a,i)}function k8(e,n,a,i){let s=n.match(a);if(!s)return null;let c=s[0],x=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:i.reduce((f,{paramName:E,isOptional:h},y)=>{if(E==="*"){let b=d[y]||"";x=c.slice(0,c.length-b.length).replace(/(.)\/+$/,"$1")}const C=d[y];return h&&!C?f[E]=void 0:f[E]=(C||"").replace(/%2F/g,"/"),f},{}),pathname:c,pathnameBase:x,pattern:e}}function D8(e,n=!1,a=!0){mr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(x,d,u,f,E)=>{if(i.push({paramName:d,isOptional:u!=null}),u){let h=E.charAt(f+x.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,n?void 0:"i"),i]}function F8(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return mr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function oa(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let a=n.endsWith("/")?n.length-1:n.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}function ey(e,n="/"){let{pathname:a,search:i="",hash:s=""}=typeof e=="string"?gl(e):e,c;return a?(a=w8(a),a.startsWith("/")?c=y9(a.substring(1),"/"):c=y9(a,n)):c=n,{pathname:c,search:ry(i),hash:ay(s)}}function y9(e,n){let a=P0(n).split("/");return e.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function fu(e,n,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ty(e){return e.filter((n,a)=>a===0||n.route.path&&n.route.path.length>0)}function wd(e){let n=ty(e);return n.map((a,i)=>i===n.length-1?a.pathname:a.pathnameBase)}function X0(e,n,a,i=!1){let s;typeof e=="string"?s=gl(e):(s={...e},Rt(!s.pathname||!s.pathname.includes("?"),fu("?","pathname","search",s)),Rt(!s.pathname||!s.pathname.includes("#"),fu("#","pathname","hash",s)),Rt(!s.search||!s.search.includes("#"),fu("#","search","hash",s)));let c=e===""||s.pathname==="",x=c?"/":s.pathname,d;if(x==null)d=a;else{let h=n.length-1;if(!i&&x.startsWith("..")){let y=x.split("/");for(;y[0]==="..";)y.shift(),h-=1;s.pathname=y.join("/")}d=h>=0?n[h]:"/"}let u=ey(s,d),f=x&&x!=="/"&&x.endsWith("/"),E=(c||x===".")&&a.endsWith("/");return!u.pathname.endsWith("/")&&(f||E)&&(u.pathname+="/"),u}var w8=e=>e.replace(/[\\/]{2,}/g,"/"),Fr=e=>w8(e.join("/")),P0=e=>e.replace(/\/+$/,""),ny=e=>P0(e).replace(/^\/*/,"/"),ry=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ay=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,iy=class{constructor(e,n,a,i=!1){this.status=e,this.statusText=n||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function ly(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function sy(e){let n=e.map(a=>a.route.path).filter(Boolean);return Fr(n)||"/"}var S8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function _8(e,n){let a=e;if(typeof a!="string"||!Fd.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,s=!1;if(S8)try{let c=new URL(window.location.href),x=b8.test(a)?new URL(z4(a,c.protocol)):new URL(a),d=oa(x.pathname,n);x.origin===c.origin&&d!=null?a=d+x.search+x.hash:s=!0}catch{mr(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var N8=["POST","PUT","PATCH","DELETE"];new Set(N8);var oy=["GET",...N8];new Set(oy);var cy=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function xy(e){try{return cy.includes(new URL(e).protocol)}catch{return!1}}var yl=D.createContext(null);yl.displayName="DataRouter";var Z0=D.createContext(null);Z0.displayName="DataRouterState";var M8=D.createContext(!1);function uy(){return D.useContext(M8)}var T8=D.createContext({isTransitioning:!1});T8.displayName="ViewTransition";var dy=D.createContext(new Map);dy.displayName="Fetchers";var fy=D.createContext(null);fy.displayName="Await";var ar=D.createContext(null);ar.displayName="Navigation";var Ks=D.createContext(null);Ks.displayName="Location";var yr=D.createContext({outlet:null,matches:[],isDataRoute:!1});yr.displayName="Route";var Sd=D.createContext(null);Sd.displayName="RouteError";var j8="REACT_ROUTER_ERROR",hy="REDIRECT",py="ROUTE_ERROR_RESPONSE";function my(e){if(e.startsWith(`${j8}:${hy}:{`))try{let n=JSON.parse(e.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function Ey(e){if(e.startsWith(`${j8}:${py}:{`))try{let n=JSON.parse(e.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new iy(n.status,n.statusText,n.data)}catch{}}function gy(e,{relative:n}={}){Rt(ki(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=D.useContext(ar),{hash:s,pathname:c,search:x}=Xs(e,{relative:n}),d=c;return a!=="/"&&(d=c==="/"?a:Fr([a,c])),i.createHref({pathname:d,search:x,hash:s})}function ki(){return D.useContext(Ks)!=null}function Cr(){return Rt(ki(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Ks).location}function yy(e){Rt(ki(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:n}=Cr();return D.useMemo(()=>Us(e,F8(n)),[n,e])}var R8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function O8(e){D.useContext(ar).static||D.useLayoutEffect(e)}function Cl(){let{isDataRoute:e}=D.useContext(yr);return e?Ry():Cy()}function Cy(){Rt(ki(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(yl),{basename:n,navigator:a}=D.useContext(ar),{matches:i}=D.useContext(yr),{pathname:s}=Cr(),c=JSON.stringify(wd(i)),x=D.useRef(!1);return O8(()=>{x.current=!0}),D.useCallback((u,f={})=>{if(mr(x.current,R8),!x.current)return;if(typeof u=="number"){a.go(u);return}let E=X0(u,JSON.parse(c),s,f.relative==="path");e==null&&n!=="/"&&(E.pathname=E.pathname==="/"?n:Fr([n,E.pathname])),(f.replace?a.replace:a.push)(E,f.state,f)},[n,a,c,s,e])}var by=D.createContext(null);function Ay(e){let n=D.useContext(yr).outlet;return D.useMemo(()=>n&&D.createElement(by.Provider,{value:e},n),[n,e])}function By(){let{matches:e}=D.useContext(yr);return e[e.length-1]?.params??{}}function Xs(e,{relative:n}={}){let{matches:a}=D.useContext(yr),{pathname:i}=Cr(),s=JSON.stringify(wd(a));return D.useMemo(()=>X0(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function vy(e,n){return z8(e,n)}function z8(e,n,a){Rt(ki(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=D.useContext(ar),{matches:s}=D.useContext(yr),c=s[s.length-1],x=c?c.params:{},d=c?c.pathname:"/",u=c?c.pathnameBase:"/",f=c&&c.route;{let v=f&&f.path||"";P8(d,!f||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${v}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
10
10
|
|
|
11
|
-
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let E=Cr(),h;if(n){let v=typeof n=="string"?gl(n):n;Rt(u==="/"||v.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${v.pathname}" was given in the \`location\` prop.`),h=v}else h=E;let y=h.pathname||"/",C=y;if(u!=="/"){let v=u.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(v.length).join("/")}let b=a&&a.state.matches.length?a.state.matches.map(v=>Object.assign(v,{route:a.manifest[v.route.id]||v.route})):A8(e,{pathname:C});mr(f||b!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),mr(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let A=Sy(b&&b.map(v=>Object.assign({},v,{params:Object.assign({},x,v.params),pathname:Fr([u,i.encodeLocation?i.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?u:Fr([u,i.encodeLocation?i.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),s,a);return n&&A?D.createElement(Ks.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...h},navigationType:"POP"}},A):A}function ky(){let e=jy(),n=ly(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i},x=null;return console.error("Error handled by React Router default ErrorBoundary:",e),x=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:c},"ErrorBoundary")," or"," ",D.createElement("code",{style:c},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},n),a?D.createElement("pre",{style:s},a):null,x)}var Dy=D.createElement(ky,null),L8=class extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=Ey(e.digest);a&&(e=a)}let n=e!==void 0?D.createElement(yr.Provider,{value:this.props.routeContext},D.createElement(Sd.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?D.createElement(Fy,{error:e},n):n}};L8.contextType=M8;var hu=new WeakMap;function Fy({children:e,error:n}){let{basename:a}=D.useContext(ar);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=my(n.digest);if(i){let s=hu.get(n);if(s)throw s;let c=_8(i.location,a),x=c.absoluteURL||c.to;if(xy(x))throw new Error("Invalid redirect location");if(S8&&!hu.get(n))if(c.isExternal||i.reloadDocument)window.location.href=x;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:i.replace}));throw hu.set(n,d),d}return D.createElement("meta",{httpEquiv:"refresh",content:`0;url=${x}`})}}return e}function wy({routeContext:e,match:n,children:a}){let i=D.useContext(yl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),D.createElement(yr.Provider,{value:e},a)}function Sy(e,n=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,c=i?.errors;if(c!=null){let E=s.findIndex(h=>h.route.id&&c?.[h.route.id]!==void 0);Rt(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,E+1))}let x=!1,d=-1;if(a&&i){x=i.renderFallback;for(let E=0;E<s.length;E++){let h=s[E];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(d=E),h.route.id){let{loaderData:y,errors:C}=i,b=h.route.loader&&!y.hasOwnProperty(h.route.id)&&(!C||C[h.route.id]===void 0);if(h.route.lazy||b){a.isStatic&&(x=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let u=a?.onError,f=i&&u?(E,h)=>{u(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:sy(i.matches),errorInfo:h})}:void 0;return s.reduceRight((E,h,y)=>{let C,b=!1,A=null,v=null;i&&(C=c&&h.route.id?c[h.route.id]:void 0,A=h.route.errorElement||Dy,x&&(d<0&&y===0?(P8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,v=null):d===y&&(b=!0,v=h.route.hydrateFallbackElement||null)));let k=n.concat(s.slice(0,y+1)),T=()=>{let F;return C?F=A:b?F=v:h.route.Component?F=D.createElement(h.route.Component,null):h.route.element?F=h.route.element:F=E,D.createElement(wy,{match:h,routeContext:{outlet:E,matches:k,isDataRoute:i!=null},children:F})};return i&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?D.createElement(L8,{location:i.location,revalidation:i.revalidation,component:A,error:C,children:T(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:f}):T()},null)}function _d(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function _y(e){let n=D.useContext(yl);return Rt(n,_d(e)),n}function Ny(e){let n=D.useContext(Z0);return Rt(n,_d(e)),n}function My(e){let n=D.useContext(yr);return Rt(n,_d(e)),n}function Nd(e){let n=My(e),a=n.matches[n.matches.length-1];return Rt(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function Ty(){return Nd("useRouteId")}function jy(){let e=D.useContext(Sd),n=Ny("useRouteError"),a=Nd("useRouteError");return e!==void 0?e:n.errors?.[a]}function Ry(){let{router:e}=_y("useNavigate"),n=Nd("useNavigate"),a=D.useRef(!1);return O8(()=>{a.current=!0}),D.useCallback(async(s,c={})=>{mr(a.current,R8),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:n,...c}))},[e,n])}var C9={};function P8(e,n,a){!n&&!C9[e]&&(C9[e]=!0,mr(!1,a))}D.memo(Oy);function Oy({routes:e,manifest:n,future:a,state:i,isStatic:s,onError:c}){return z8(e,void 0,{manifest:n,state:i,isStatic:s,onError:c})}function zy({to:e,replace:n,state:a,relative:i}){Rt(ki(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=D.useContext(ar);mr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=D.useContext(yr),{pathname:x}=Cr(),d=Cl(),u=X0(e,wd(c),x,i==="path"),f=JSON.stringify(u);return D.useEffect(()=>{d(JSON.parse(f),{replace:n,state:a,relative:i})},[d,f,i,n,a]),null}function Ly(e){return Ay(e.context)}function _s(e){Rt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Py({basename:e="/",children:n=null,location:a,navigationType:i="POP",navigator:s,static:c=!1,useTransitions:x}){Rt(!ki(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),u=D.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:x,future:{}}),[d,s,c,x]);typeof a=="string"&&(a=gl(a));let{pathname:f="/",search:E="",hash:h="",state:y=null,key:C="default",mask:b}=a,A=D.useMemo(()=>{let v=oa(f,d);return v==null?null:{location:{pathname:v,search:E,hash:h,state:y,key:C,mask:b},navigationType:i}},[d,f,E,h,y,C,i,b]);return mr(A!=null,`<Router basename="${d}"> is not able to match the URL "${f}${E}${h}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:D.createElement(ar.Provider,{value:u},D.createElement(Ks.Provider,{children:n,value:A}))}function Uy({children:e,location:n}){return vy(Zu(e),n)}function Zu(e,n=[]){let a=[];return D.Children.forEach(e,(i,s)=>{if(!D.isValidElement(i))return;let c=[...n,s];if(i.type===D.Fragment){a.push.apply(a,Zu(i.props.children,c));return}Rt(i.type===_s,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Rt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let x={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(x.children=Zu(i.props.children,c)),a.push(x)}),a}var T0="get",j0="application/x-www-form-urlencoded";function W0(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Iy(e){return W0(e)&&e.tagName.toLowerCase()==="button"}function Hy(e){return W0(e)&&e.tagName.toLowerCase()==="form"}function qy(e){return W0(e)&&e.tagName.toLowerCase()==="input"}function $y(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Gy(e,n){return e.button===0&&(!n||n==="_self")&&!$y(e)}function Wu(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,a)=>{let i=e[a];return n.concat(Array.isArray(i)?i.map(s=>[a,s]):[[a,i]])},[]))}function Vy(e,n){let a=Wu(e);return n&&n.forEach((i,s)=>{a.has(s)||n.getAll(s).forEach(c=>{a.append(s,c)})}),a}var C0=null;function Qy(){if(C0===null)try{new FormData(document.createElement("form"),0),C0=!1}catch{C0=!0}return C0}var Yy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pu(e){return e!=null&&!Yy.has(e)?(mr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${j0}"`),null):e}function Ky(e,n){let a,i,s,c,x;if(Hy(e)){let d=e.getAttribute("action");i=d?oa(d,n):null,a=e.getAttribute("method")||T0,s=pu(e.getAttribute("enctype"))||j0,c=new FormData(e)}else if(Iy(e)||qy(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||d.getAttribute("action");if(i=u?oa(u,n):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||T0,s=pu(e.getAttribute("formenctype"))||pu(d.getAttribute("enctype"))||j0,c=new FormData(d,e),!Qy()){let{name:f,type:E,value:h}=e;if(E==="image"){let y=f?`${f}.`:"";c.append(`${y}x`,"0"),c.append(`${y}y`,"0")}else f&&c.append(f,h)}}else{if(W0(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=T0,i=null,s=j0,x=e}return c&&s==="text/plain"&&(x=c,c=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:c,body:x}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Md(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function U8(e,n,a,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:n&&oa(s.pathname,n)==="/"?s.pathname=`${P0(n)}/_root.${i}`:s.pathname=`${P0(s.pathname)}.${i}`,s}async function Xy(e,n){if(e.id in n)return n[e.id];try{let a=await import(e.module);return n[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Zy(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Wy(e,n,a){let i=await Promise.all(e.map(async s=>{let c=n.routes[s.route.id];if(c){let x=await Xy(c,a);return x.links?x.links():[]}return[]}));return n7(i.flat(1).filter(Zy).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function b9(e,n,a,i,s,c){let x=(u,f)=>a[f]?u.route.id!==a[f].route.id:!0,d=(u,f)=>a[f].pathname!==u.pathname||a[f].route.path?.endsWith("*")&&a[f].params["*"]!==u.params["*"];return c==="assets"?n.filter((u,f)=>x(u,f)||d(u,f)):c==="data"?n.filter((u,f)=>{let E=i.routes[u.route.id];if(!E||!E.hasLoader)return!1;if(x(u,f)||d(u,f))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function Jy(e,n,{includeHydrateFallback:a}={}){return e7(e.map(i=>{let s=n.routes[i.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function e7(e){return[...new Set(e)]}function t7(e){let n={},a=Object.keys(e).sort();for(let i of a)n[i]=e[i];return n}function n7(e,n){let a=new Set;return new Set(n),e.reduce((i,s)=>{let c=JSON.stringify(t7(s));return a.has(c)||(a.add(c),i.push({key:c,link:s})),i},[])}function Td(){let e=D.useContext(yl);return Md(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function r7(){let e=D.useContext(Z0);return Md(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var jd=D.createContext(void 0);jd.displayName="FrameworkContext";function J0(){let e=D.useContext(jd);return Md(e,"You must render this element inside a <HydratedRouter> element"),e}function a7(e,n){let a=D.useContext(jd),[i,s]=D.useState(!1),[c,x]=D.useState(!1),{onFocus:d,onBlur:u,onMouseEnter:f,onMouseLeave:E,onTouchStart:h}=n,y=D.useRef(null);D.useEffect(()=>{if(e==="render"&&x(!0),e==="viewport"){let A=k=>{k.forEach(T=>{x(T.isIntersecting)})},v=new IntersectionObserver(A,{threshold:.5});return y.current&&v.observe(y.current),()=>{v.disconnect()}}},[e]),D.useEffect(()=>{if(i){let A=setTimeout(()=>{x(!0)},100);return()=>{clearTimeout(A)}}},[i]);let C=()=>{s(!0)},b=()=>{s(!1),x(!1)};return a?e!=="intent"?[c,y,{}]:[c,y,{onFocus:Cs(d,C),onBlur:Cs(u,b),onMouseEnter:Cs(f,C),onMouseLeave:Cs(E,b),onTouchStart:Cs(h,C)}]:[!1,y,{}]}function Cs(e,n){return a=>{e&&e(a),a.defaultPrevented||n(a)}}function i7({page:e,...n}){let a=uy(),{nonce:i}=J0(),{router:s}=Td(),c=D.useMemo(()=>A8(s.routes,e,s.basename),[s.routes,e,s.basename]);return c?(n.nonce==null&&i&&(n={...n,nonce:i}),a?D.createElement(s7,{page:e,matches:c,...n}):D.createElement(o7,{page:e,matches:c,...n})):null}function l7(e){let{manifest:n,routeModules:a}=J0(),[i,s]=D.useState([]);return D.useEffect(()=>{let c=!1;return Wy(e,n,a).then(x=>{c||s(x)}),()=>{c=!0}},[e,n,a]),i}function s7({page:e,matches:n,...a}){let i=Cr(),{future:s}=J0(),{basename:c}=Td(),x=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let d=U8(e,c,s.v8_trailingSlashAwareDataRequests,"rsc"),u=!1,f=[];for(let E of n)typeof E.route.shouldRevalidate=="function"?u=!0:f.push(E.route.id);return u&&f.length>0&&d.searchParams.set("_routes",f.join(",")),[d.pathname+d.search]},[c,s.v8_trailingSlashAwareDataRequests,e,i,n]);return D.createElement(D.Fragment,null,x.map(d=>D.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...a})))}function o7({page:e,matches:n,...a}){let i=Cr(),{future:s,manifest:c,routeModules:x}=J0(),{basename:d}=Td(),{loaderData:u,matches:f}=r7(),E=D.useMemo(()=>b9(e,n,f,c,i,"data"),[e,n,f,c,i]),h=D.useMemo(()=>b9(e,n,f,c,i,"assets"),[e,n,f,c,i]),y=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let A=new Set,v=!1;if(n.forEach(T=>{let F=c.routes[T.route.id];!F||!F.hasLoader||(!E.some(j=>j.route.id===T.route.id)&&T.route.id in u&&x[T.route.id]?.shouldRevalidate||F.hasClientLoader?v=!0:A.add(T.route.id))}),A.size===0)return[];let k=U8(e,d,s.v8_trailingSlashAwareDataRequests,"data");return v&&A.size>0&&k.searchParams.set("_routes",n.filter(T=>A.has(T.route.id)).map(T=>T.route.id).join(",")),[k.pathname+k.search]},[d,s.v8_trailingSlashAwareDataRequests,u,i,c,E,n,e,x]),C=D.useMemo(()=>Jy(h,c),[h,c]),b=l7(h);return D.createElement(D.Fragment,null,y.map(A=>D.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...a})),C.map(A=>D.createElement("link",{key:A,rel:"modulepreload",href:A,...a})),b.map(({key:A,link:v})=>D.createElement("link",{key:A,nonce:a.nonce,...v,crossOrigin:v.crossOrigin??a.crossOrigin})))}function c7(...e){return n=>{e.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})}}var x7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{x7&&(window.__reactRouterVersion="7.18.1")}catch{}function u7({basename:e,children:n,useTransitions:a,window:i}){let s=D.useRef();s.current==null&&(s.current=L4({window:i,v5Compat:!0}));let c=s.current,[x,d]=D.useState({action:c.action,location:c.location}),u=D.useCallback(f=>{a===!1?d(f):D.startTransition(()=>d(f))},[a]);return D.useLayoutEffect(()=>c.listen(u),[c,u]),D.createElement(Py,{basename:e,children:n,location:x.location,navigationType:x.action,navigator:c,useTransitions:a})}var I8=D.forwardRef(function({onClick:n,discover:a="render",prefetch:i="none",relative:s,reloadDocument:c,replace:x,mask:d,state:u,target:f,to:E,preventScrollReset:h,viewTransition:y,defaultShouldRevalidate:C,...b},A){let{basename:v,navigator:k,useTransitions:T}=D.useContext(ar),F=typeof E=="string"&&Fd.test(E),j=_8(E,v);E=j.to;let O=gy(E,{relative:s}),M=Cr(),R=null;if(d){let P=X0(d,[],M.mask?M.mask.pathname:"/",!0);v!=="/"&&(P.pathname=P.pathname==="/"?v:Fr([v,P.pathname])),R=k.createHref(P)}let[z,$,L]=a7(i,b),V=p7(E,{replace:x,mask:d,state:u,target:f,preventScrollReset:h,relative:s,viewTransition:y,defaultShouldRevalidate:C,useTransitions:T});function Y(P){n&&n(P),P.defaultPrevented||V(P)}let J=!(j.isExternal||c),X=D.createElement("a",{...b,...L,href:(J?R:void 0)||j.absoluteURL||O,onClick:J?Y:n,ref:c7(A,$),target:f,"data-discover":!F&&a==="render"?"true":void 0});return z&&!F?D.createElement(D.Fragment,null,X,D.createElement(i7,{page:O})):X});I8.displayName="Link";var d7=D.forwardRef(function({"aria-current":n="page",caseSensitive:a=!1,className:i="",end:s=!1,style:c,to:x,viewTransition:d,children:u,...f},E){let h=Xs(x,{relative:f.relative}),y=Cr(),C=D.useContext(Z0),{navigator:b,basename:A}=D.useContext(ar),v=C!=null&&C7(h)&&d===!0,k=b.encodeLocation?b.encodeLocation(h).pathname:h.pathname,T=y.pathname,F=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(T=T.toLowerCase(),F=F?F.toLowerCase():null,k=k.toLowerCase()),F&&A&&(F=oa(F,A)||F);const j=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let O=T===k||!s&&T.startsWith(k)&&T.charAt(j)==="/",M=F!=null&&(F===k||!s&&F.startsWith(k)&&F.charAt(k.length)==="/"),R={isActive:O,isPending:M,isTransitioning:v},z=O?n:void 0,$;typeof i=="function"?$=i(R):$=[i,O?"active":null,M?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let L=typeof c=="function"?c(R):c;return D.createElement(I8,{...f,"aria-current":z,className:$,ref:E,style:L,to:x,viewTransition:d},typeof u=="function"?u(R):u)});d7.displayName="NavLink";var f7=D.forwardRef(({discover:e="render",fetcherKey:n,navigate:a,reloadDocument:i,replace:s,state:c,method:x=T0,action:d,onSubmit:u,relative:f,preventScrollReset:E,viewTransition:h,defaultShouldRevalidate:y,...C},b)=>{let{useTransitions:A}=D.useContext(ar),v=g7(),k=y7(d,{relative:f}),T=x.toLowerCase()==="get"?"get":"post",F=typeof d=="string"&&Fd.test(d),j=O=>{if(u&&u(O),O.defaultPrevented)return;O.preventDefault();let M=O.nativeEvent.submitter,R=M?.getAttribute("formmethod")||x,z=()=>v(M||O.currentTarget,{fetcherKey:n,method:R,navigate:a,replace:s,state:c,relative:f,preventScrollReset:E,viewTransition:h,defaultShouldRevalidate:y});A&&a!==!1?D.startTransition(()=>z()):z()};return D.createElement("form",{ref:b,method:T,action:k,onSubmit:i?u:j,...C,"data-discover":!F&&e==="render"?"true":void 0})});f7.displayName="Form";function h7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function H8(e){let n=D.useContext(yl);return Rt(n,h7(e)),n}function p7(e,{target:n,replace:a,mask:i,state:s,preventScrollReset:c,relative:x,viewTransition:d,defaultShouldRevalidate:u,useTransitions:f}={}){let E=Cl(),h=Cr(),y=Xs(e,{relative:x});return D.useCallback(C=>{if(Gy(C,n)){C.preventDefault();let b=a!==void 0?a:Ps(h)===Ps(y),A=()=>E(e,{replace:b,mask:i,state:s,preventScrollReset:c,relative:x,viewTransition:d,defaultShouldRevalidate:u});f?D.startTransition(()=>A()):A()}},[h,E,y,a,i,s,n,e,c,x,d,u,f])}function q8(e){mr(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=D.useRef(Wu(e)),a=D.useRef(!1),i=Cr(),s=D.useMemo(()=>Vy(i.search,a.current?null:n.current),[i.search]),c=Cl(),x=D.useCallback((d,u)=>{const f=Wu(typeof d=="function"?d(new URLSearchParams(s)):d);a.current=!0,c("?"+f,u)},[c,s]);return[s,x]}var m7=0,E7=()=>`__${String(++m7)}__`;function g7(){let{router:e}=H8("useSubmit"),{basename:n}=D.useContext(ar),a=Ty(),i=e.fetch,s=e.navigate;return D.useCallback(async(c,x={})=>{let{action:d,method:u,encType:f,formData:E,body:h}=Ky(c,n);if(x.navigate===!1){let y=x.fetcherKey||E7();await i(y,a,x.action||d,{defaultShouldRevalidate:x.defaultShouldRevalidate,preventScrollReset:x.preventScrollReset,formData:E,body:h,formMethod:x.method||u,formEncType:x.encType||f,flushSync:x.flushSync})}else await s(x.action||d,{defaultShouldRevalidate:x.defaultShouldRevalidate,preventScrollReset:x.preventScrollReset,formData:E,body:h,formMethod:x.method||u,formEncType:x.encType||f,replace:x.replace,state:x.state,fromRouteId:a,flushSync:x.flushSync,viewTransition:x.viewTransition})},[i,s,n,a])}function y7(e,{relative:n}={}){let{basename:a}=D.useContext(ar),i=D.useContext(yr);Rt(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),c={...Xs(e||".",{relative:n})},x=Cr();if(e==null){c.search=x.search;let d=new URLSearchParams(c.search),u=d.getAll("index");if(u.some(E=>E==="")){d.delete("index"),u.filter(h=>h).forEach(h=>d.append("index",h));let E=d.toString();c.search=E?`?${E}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:Fr([a,c.pathname])),Ps(c)}function C7(e,{relative:n}={}){let a=D.useContext(T8);Rt(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=H8("useViewTransitionState"),s=Xs(e,{relative:n});if(!a.isTransitioning)return!1;let c=oa(a.currentLocation.pathname,i)||a.currentLocation.pathname,x=oa(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Us(s.pathname,x)!=null||Us(s.pathname,c)!=null}const b7="modulepreload",A7=function(e){return"/"+e},A9={},B7=function(n,a,i){let s=Promise.resolve();if(a&&a.length>0){let f=function(E){return Promise.all(E.map(h=>Promise.resolve(h).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var x=f;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),u=d?.nonce||d?.getAttribute("nonce");s=f(a.map(E=>{if(E=A7(E),E in A9)return;A9[E]=!0;const h=E.endsWith(".css"),y=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=h?"stylesheet":b7,h||(C.as="script"),C.crossOrigin="",C.href=E,u&&C.setAttribute("nonce",u),document.head.appendChild(C),h)return new Promise((b,A)=>{C.addEventListener("load",b),C.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${E}`)))})}))}function c(d){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=d,window.dispatchEvent(u),!u.defaultPrevented)throw d}return s.then(d=>{for(const u of d||[])u.status==="rejected"&&c(u.reason);return n().catch(c)})};function v7(e={}){const{immediate:n=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:c,onRegisteredSW:x,onRegisterError:d}=e;let u,f,E;const h=async(C=!0)=>{await f,E?.()};async function y(){if("serviceWorker"in navigator){if(u=await B7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{d?.(C)}),!u)return;E=()=>{u?.messageSkipWaiting()};{let C=!1;const b=()=>{C=!0,u?.addEventListener("controlling",A=>{A.isUpdate&&(a?a():window.location.reload())}),i?.()};u.addEventListener("installed",A=>{typeof A.isUpdate>"u"?typeof A.isExternal<"u"&&A.isExternal?b():!C&&s?.():A.isUpdate||s?.()}),u.addEventListener("waiting",b)}u.register({immediate:n}).then(C=>{x?x("/sw.js",C):c?.(C)}).catch(C=>{d?.(C)})}}return f=y(),h}function k7(e={}){const{immediate:n=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:c,onRegisteredSW:x,onRegisterError:d}=e,[u,f]=D.useState(!1),[E,h]=D.useState(!1),[y]=D.useState(()=>v7({immediate:n,onNeedReload:a,onOfflineReady(){h(!0),s?.()},onNeedRefresh(){f(!0),i?.()},onRegistered:c,onRegisteredSW:x,onRegisterError:d}));return{needRefresh:[u,f],offlineReady:[E,h],updateServiceWorker:y}}const $8=(...e)=>e.filter((n,a,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===a).join(" ").trim();const D7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const F7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,i)=>i?i.toUpperCase():a.toLowerCase());const B9=e=>{const n=F7(e);return n.charAt(0).toUpperCase()+n.slice(1)};var w7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const S7=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};const _7=D.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:s="",children:c,iconNode:x,...d},u)=>D.createElement("svg",{ref:u,...w7,width:n,height:n,stroke:e,strokeWidth:i?Number(a)*24/Number(n):a,className:$8("lucide",s),...!c&&!S7(d)&&{"aria-hidden":"true"},...d},[...x.map(([f,E])=>D.createElement(f,E)),...Array.isArray(c)?c:[c]]));const G=(e,n)=>{const a=D.forwardRef(({className:i,...s},c)=>D.createElement(_7,{ref:c,iconNode:n,className:$8(`lucide-${D7(B9(e))}`,`lucide-${e}`,i),...s}));return a.displayName=B9(e),a};const N7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],M7=G("activity",N7);const T7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],j7=G("anchor",T7);const R7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],O7=G("apple",R7);const z7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]],L7=G("archive-x",z7);const P7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Rd=G("archive",P7);const U7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],I7=G("arrow-up-right",U7);const H7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],q7=G("arrow-up",H7);const $7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],G7=G("atom",$7);const V7=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Q7=G("award",V7);const Y7=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],K7=G("banknote",Y7);const X7=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],Z7=G("battery",X7);const W7=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],J7=G("beer",W7);const e3=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],G8=G("bell",e3);const t3=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],n3=G("bike",t3);const r3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],a3=G("bird",r3);const i3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],l3=G("bluetooth",i3);const s3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],o3=G("book-open",s3);const c3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],x3=G("book",c3);const u3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],d3=G("bookmark",u3);const f3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],V8=G("bot",f3);const h3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],p3=G("box",h3);const m3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],E3=G("brain",m3);const g3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],y3=G("briefcase",g3);const C3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],b3=G("brush",C3);const A3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],B3=G("bug-play",A3);const v3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],k3=G("bug",v3);const D3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],F3=G("building-2",D3);const w3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],S3=G("building",w3);const _3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],N3=G("cake",_3);const M3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],T3=G("calendar",M3);const j3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],R3=G("camera",j3);const O3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],z3=G("car",O3);const L3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],P3=G("carrot",L3);const U3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],I3=G("cat",U3);const H3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],q3=G("chart-bar",H3);const $3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],G3=G("chart-line",$3);const V3=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Q3=G("chart-pie",V3);const Y3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ca=G("check",Y3);const K3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ua=G("chevron-down",K3);const X3=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Z3=G("chevron-up",X3);const W3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],J3=G("circle-x",W3);const eC=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],tC=G("clapperboard",eC);const nC=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],rC=G("clock",nC);const aC=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],iC=G("cloud-off",aC);const lC=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],sC=G("cloud-upload",lC);const oC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],cC=G("cloud",oC);const xC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],uC=G("code-xml",xC);const dC=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],fC=G("code",dC);const hC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],pC=G("coffee",hC);const mC=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],EC=G("cog",mC);const gC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yC=G("compass",gC);const CC=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Od=G("copy",CC);const bC=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],AC=G("cpu",bC);const BC=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],vC=G("credit-card",BC);const kC=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],DC=G("crown",kC);const FC=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],wC=G("database",FC);const SC=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],_C=G("dna",SC);const NC=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],MC=G("dog",NC);const TC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],jC=G("dollar-sign",TC);const RC=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],OC=G("dumbbell",RC);const zC=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],LC=G("earth",zC);const PC=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],UC=G("egg",PC);const IC=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],HC=G("external-link",IC);const qC=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],$C=G("factory",qC);const GC=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],VC=G("feather",GC);const QC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],YC=G("file-code",QC);const KC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Q8=G("file-diff",KC);const XC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],ZC=G("file",XC);const WC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],JC=G("film",WC);const eb=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],tb=G("fish",eb);const nb=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],rb=G("flag",nb);const ab=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],ib=G("flame",ab);const lb=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],sb=G("flask-conical",lb);const ob=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],cb=G("folder",ob);const xb=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],ub=G("funnel",xb);const db=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],fb=G("gamepad-2",db);const hb=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],pb=G("gauge",hb);const mb=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],Eb=G("gem",mb);const gb=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],yb=G("gift",gb);const Cb=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],bb=G("git-branch-plus",Cb);const Ab=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Bb=G("git-branch",Ab);const vb=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Y8=G("git-fork",vb);const kb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],K8=G("git-merge",kb);const Db=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Fb=G("github",Db);const wb=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],Sb=G("glasses",wb);const _b=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Nb=G("globe",_b);const Mb=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],Tb=G("graduation-cap",Mb);const jb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Rb=G("grid-3x3",jb);const Ob=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],zb=G("hammer",Ob);const Lb=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Pb=G("headphones",Lb);const Ub=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],Ib=G("heart-pulse",Ub);const Hb=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],qb=G("heart",Hb);const $b=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],X8=G("hourglass",$b);const Gb=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Vb=G("house",Gb);const Qb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Yb=G("image",Qb);const Kb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Xb=G("info",Kb);const Zb=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Wb=G("key",Zb);const Jb=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],eA=G("laptop",Jb);const tA=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],nA=G("layers",tA);const rA=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],aA=G("layout-grid",rA);const iA=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],lA=G("leaf",iA);const sA=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],oA=G("lightbulb",sA);const cA=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],xA=G("link",cA);const uA=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],dA=G("list",uA);const fA=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],rr=G("loader-circle",fA);const hA=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],pA=G("lock",hA);const mA=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],EA=G("log-out",mA);const gA=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],yA=G("mail",gA);const CA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],bA=G("map-pin",CA);const AA=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Z8=G("map",AA);const BA=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],vA=G("martini",BA);const kA=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],DA=G("medal",kA);const FA=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],wA=G("message-circle",FA);const SA=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],_A=G("message-square",SA);const NA=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],MA=G("mic",NA);const TA=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],jA=G("microscope",TA);const RA=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],OA=G("monitor",RA);const zA=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],LA=G("moon",zA);const PA=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],UA=G("music",PA);const IA=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],HA=G("orbit",IA);const qA=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],$A=G("package",qA);const GA=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],VA=G("paintbrush",GA);const QA=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],YA=G("panel-left",QA);const KA=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],ec=G("paperclip",KA);const XA=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],ZA=G("paw-print",XA);const WA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],JA=G("pen",WA);const eB=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],tB=G("pencil",eB);const nB=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],rB=G("phone",nB);const aB=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],iB=G("pill",aB);const lB=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],sB=G("pipette",lB);const oB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],cB=G("pizza",oB);const xB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],uB=G("plane",xB);const dB=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],fB=G("play",dB);const hB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],pB=G("plug",hB);const mB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],W8=G("plus",mB);const EB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],gB=G("power",EB);const yB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],CB=G("puzzle",yB);const bB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],J8=G("qr-code",bB);const AB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],BB=G("rabbit",AB);const vB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],kB=G("radio",vB);const DB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Zs=G("refresh-cw",DB);const FB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],wB=G("rocket",FB);const SB=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],_B=G("rotate-ccw",SB);const NB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],MB=G("salad",NB);const TB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],jB=G("ruler",TB);const RB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],OB=G("satellite",RB);const zB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],LB=G("scissors",zB);const PB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],e2=G("search",PB);const UB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],IB=G("server",UB);const HB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],qB=G("settings",HB);const $B=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],GB=G("shell",$B);const VB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],QB=G("shield",VB);const YB=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],KB=G("ship",YB);const XB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],ZB=G("shopping-bag",XB);const WB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],JB=G("shopping-cart",WB);const ev=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],tv=G("sliders-horizontal",ev);const nv=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],rv=G("smartphone",nv);const av=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],iv=G("snail",av);const lv=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]],sv=G("snowflake",lv);const ov=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],cv=G("soup",ov);const xv=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],uv=G("sparkles",xv);const dv=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],fv=G("sprout",dv);const hv=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],t2=G("square",hv);const pv=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ju=G("star",pv);const mv=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],Ev=G("stethoscope",mv);const gv=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],yv=G("store",gv);const Cv=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],bv=G("sun-moon",Cv);const Av=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],n2=G("sun",Av);const Bv=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],vv=G("tag",Bv);const kv=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],Dv=G("tags",kv);const Fv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],wv=G("target",Fv);const Sv=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],_v=G("telescope",Sv);const Nv=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Mv=G("terminal",Nv);const Tv=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],jv=G("ticket",Tv);const Rv=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],Ov=G("train-front",Rv);const zv=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],Lv=G("tree-pine",zv);const Pv=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Uv=G("trending-up",Pv);const Iv=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],zd=G("triangle-alert",Iv);const Hv=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],qv=G("trophy",Hv);const $v=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],Gv=G("turtle",$v);const Vv=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Qv=G("user",Vv);const Yv=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Kv=G("users",Yv);const Xv=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],Zv=G("utensils",Xv);const Wv=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Jv=G("video",Wv);const ek=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],tk=G("wallet",ek);const nk=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],v9=G("wand-sparkles",nk);const rk=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],ak=G("warehouse",rk);const ik=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],lk=G("wheat",ik);const sk=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ld=G("wifi-off",sk);const ok=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],r2=G("wifi",ok);const ck=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],xk=G("wine",ck);const uk=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],dk=G("wrench",uk);const fk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Nn=G("x",fk);const hk=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],a2=G("zap",hk);function k9(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Zt(e,n){return{method:e,pattern:n,path:()=>n}}function kt(e,n){const[a,i]=n.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${n} declares no :param`);return{method:e,pattern:n,path:s=>`${a}${encodeURIComponent(s)}${i}`,re:new RegExp(`^${k9(a)}([^/]+)${k9(i)}$`)}}const be={state:Zt("GET","/api/state"),search:Zt("GET","/api/search"),repos:Zt("GET","/api/repos"),modelCatalog:Zt("GET","/api/models"),modelDefaults:Zt("GET","/api/models/defaults"),updateModelDefaults:Zt("PATCH","/api/models/defaults"),planUsage:Zt("GET","/api/usage"),repoIcon:kt("GET","/api/repos/:repo/icon"),localImage:kt("GET","/api/local-images/:path"),filePreview:kt("GET","/api/files/:reference"),toolImage:kt("GET","/api/tool-images/:reference"),stageAttachment:Zt("POST","/api/attachments"),discardStagedAttachment:kt("DELETE","/api/attachments/:attachmentId"),logs:Zt("GET","/api/logs"),restartConductor:Zt("POST","/api/conductor/restart"),settings:Zt("GET","/api/settings"),updateSettings:Zt("PATCH","/api/settings"),prefs:Zt("GET","/api/prefs"),updatePrefs:Zt("PATCH","/api/prefs"),armNoSleep:Zt("POST","/api/nosleep"),disarmNoSleep:Zt("DELETE","/api/nosleep"),push:Zt("GET","/api/push"),pushSubscribe:Zt("POST","/api/push/subscribe"),pushUnsubscribe:Zt("POST","/api/push/unsubscribe"),pushTest:Zt("POST","/api/push/test"),createWorkspace:Zt("POST","/api/workspaces"),workspace:kt("GET","/api/workspaces/:workspaceId"),sessions:kt("GET","/api/workspaces/:workspaceId/sessions"),newChat:kt("POST","/api/workspaces/:workspaceId/sessions"),diff:kt("GET","/api/workspaces/:workspaceId/diff"),workspaceFiles:kt("GET","/api/workspaces/:workspaceId/files"),merge:kt("POST","/api/workspaces/:workspaceId/merge"),continueWorkspace:kt("POST","/api/workspaces/:workspaceId/continue"),workspaceStatus:kt("POST","/api/workspaces/:workspaceId/status"),archiveWorkspace:kt("POST","/api/workspaces/:workspaceId/archive"),devServer:kt("GET","/api/workspaces/:workspaceId/dev-server"),startDevServer:kt("POST","/api/workspaces/:workspaceId/dev-server"),stopDevServer:kt("DELETE","/api/workspaces/:workspaceId/dev-server"),dismissFirstPrompt:kt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:kt("GET","/api/sessions/:sessionId/messages"),models:kt("GET","/api/sessions/:sessionId/models"),defaultModel:kt("POST","/api/sessions/:sessionId/default-model"),agent:kt("POST","/api/sessions/:sessionId/agent"),stop:kt("POST","/api/sessions/:sessionId/stop"),closeChat:kt("DELETE","/api/sessions/:sessionId"),sendPrompt:kt("POST","/api/sessions/:sessionId/prompt"),uploadAttachment:kt("POST","/api/sessions/:sessionId/attachments"),splitChat:kt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:kt("DELETE","/api/sessions/:sessionId/prompt")};function pk(e){const n=e??"",i=(n.includes("/")?n.slice(n.indexOf("/")+1):n).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function zr(e){return e.workspace_name||e.pr_title||pk(e.branch)||e.directory_name||e.id.slice(0,8)}function mk(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function qn(e){const n=/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)?$/.test(e);return Date.parse(n?`${e.replace(" ","T")}Z`:e)}function Pd(e){return e.endsWith(" NEW")?e.slice(0,-4):e}function ed(e){return Pd(e).replace(/^opencode-/i,"")}function Ek(e){const n=Pd(e).trim().toLowerCase();if(n.startsWith("anthropic/"))return"Anthropic";if(n.startsWith("openai/"))return"OpenAI";if(n.startsWith("cursor/"))return"Cursor";if(/^(claude|fable|haiku|opus|sonnet)(?:[\s-]|$)/.test(n))return"Anthropic";if(/^(?:auto|gpt|o[1-9]|\d)(?:[\s.-]|$)/.test(n))return"OpenAI";if(/^(composer|grok)(?:[\s-]|$)/.test(n))return"Cursor";if(/^opencode(?:-go)?\//.test(n))return"OpenCode";const a=n.indexOf("/");return a>0?n.slice(0,a):"Other"}function gk(e){const n=new Map;for(const a of e){const i=Pd(a).trim();if(!i)continue;const s=Ek(i),c=n.get(s)??[];c.includes(i)||c.push(i),n.set(s,c)}return[...n].map(([a,i])=>({label:a,models:i.sort((s,c)=>s.localeCompare(c))})).sort((a,i)=>a.label.localeCompare(i.label))}const yk="",Ck="",D9=".context/attachments/";function bk(e){const n=[];let a=0;for(;a<e.length;){const i=e.indexOf("@⟦",a);if(i<0)break;const s=e.indexOf("⟧(",i+2);if(s<0||/[\r\n]/.test(e.slice(i,s))){a=i+2;continue}const c=e.slice(i+2,s),x=s+2;let d=x,u=!1;for(;!u&&(d=e.indexOf(")",d),!(d<0));){const f=e.slice(x,d);try{const E=decodeURIComponent(f),h=E.startsWith(D9)?E.slice(D9.length):"",y=h.indexOf("/"),C=y<0?"":h.slice(0,y),b=y<0?"":h.slice(y+1);if(/^[A-Za-z0-9]{6}$/.test(C)&&b===c&&!b.includes("/")){n.push({start:i,end:d+1,name:c,path:E}),a=d+1,u=!0;continue}}catch{}d+=1}u||(a=i+2)}return n}const Ak=new Set([".bash",".c",".cc",".cpp",".css",".go",".h",".hpp",".html",".java",".js",".json",".jsx",".md",".mjs",".mts",".php",".py",".rb",".rs",".scss",".sh",".sql",".svg",".swift",".toml",".ts",".tsx",".txt",".yaml",".yml"]);function i2(e){const n=e.slice(e.lastIndexOf("/")+1),a=n.lastIndexOf(".");return a!==-1&&Ak.has(n.slice(a).toLowerCase())}function F9(e){return e.role==="tool"&&!e.tool&&e.output!==void 0}const Bk="The Mac is locked";function Bi(e){return(e??"").includes(Bk)}const vk="x-relay-device",Is="conductor-remote-token";function kk(){const n=new URLSearchParams(location.hash.slice(1)).get("token");return n&&(localStorage.setItem(Is,n),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(Is)}function Ud(){return localStorage.getItem(Is)}function Dk(){localStorage.removeItem(Is)}function Fk(e){localStorage.setItem(Is,e)}function wk(e){const n=e.trim();if(!n)return null;const a=n.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(n)?null:n}class Er extends Error{constructor(n,a){super(n),this.status=a}status}const l2=6e3,bn=45e3,Sk=75e3,_k=75e3,w9=75e3,Nk=75e3;async function $e(e,n={},a=l2){const i=Ud();let s;try{s=await fetch(e,{...n,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...n.headers}})}catch(c){throw c instanceof DOMException&&c.name==="TimeoutError"?new Er("Request timed out",0):c}if(!s.ok){const c=await s.json().catch(()=>({}));throw new Er(c.error||`HTTP ${s.status}`,s.status)}return s.json()}async function S9(e,n){const a=Ud();let i;try{i=await fetch(e,{method:"POST",body:n,signal:AbortSignal.timeout(bn),headers:{authorization:`Bearer ${a??""}`,"content-type":n.type||"application/octet-stream","x-attachment-name":encodeURIComponent(n.name),"x-client-timeout-ms":String(bn)}})}catch(s){throw s instanceof DOMException&&s.name==="TimeoutError"?new Er("Upload timed out",0):s}if(!i.ok){const s=await i.json().catch(()=>({}));throw new Er(s.error||`HTTP ${i.status}`,i.status)}return i.json()}const mu=new Map;async function Mk(e){const n=Ud(),a=await fetch(e,{headers:{authorization:`Bearer ${n??""}`},signal:AbortSignal.timeout(l2)});if(!a.ok)throw new Er(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}function Eu(e){let n=mu.get(e);return n||(n=Mk(e),n.catch(()=>mu.delete(e)),mu.set(e,n)),n}const Oe={state:()=>$e(be.state.path()),repoIcon:e=>Eu(be.repoIcon.path(e)),localImage:e=>Eu(be.localImage.path(e)),toolImage:e=>Eu(be.toolImage.path(e)),filePreview:e=>$e(be.filePreview.path(e)),stageAttachment:e=>S9(be.stageAttachment.path(),e),discardStagedAttachment:e=>$e(be.discardStagedAttachment.path(e),{method:be.discardStagedAttachment.method}),workspace:e=>$e(be.workspace.path(e)),sessions:e=>$e(be.sessions.path(e)),messages:(e,n,a)=>$e(`${be.messages.path(e)}?after=${n}`,{headers:a?{[vk]:a}:{}}),uploadAttachment:(e,n,a)=>S9(`${be.uploadAttachment.path(e)}?workspaceId=${encodeURIComponent(n)}`,a),diff:e=>$e(be.diff.path(e)),workspaceFiles:e=>$e(be.workspaceFiles.path(e)),sendPrompt:(e,n,a,i,s,c)=>$e(be.sendPrompt.path(e),{method:be.sendPrompt.method,body:JSON.stringify({text:n,workspaceId:a,agent:i,clientId:s,queue:c})},_k),stop:(e,n)=>$e(be.stop.path(e),{method:be.stop.method,body:JSON.stringify({workspaceId:n})},bn),closeChat:(e,n,a=!1)=>$e(be.closeChat.path(e),{method:be.closeChat.method,body:JSON.stringify({workspaceId:n,closeRunning:a})},bn),newChat:e=>$e(be.newChat.path(e),{method:be.newChat.method},bn),splitChat:(e,n,a,i,s,c)=>$e(be.splitChat.path(e),{method:be.splitChat.method,body:JSON.stringify({workspaceId:n,includeThinking:a,includeTools:i,throughRowid:s,onlyRowid:c})},bn),repos:()=>$e(be.repos.path()),modelCatalog:()=>$e(be.modelCatalog.path()),modelDefaults:()=>$e(be.modelDefaults.path()),patchModelDefaults:e=>$e(be.updateModelDefaults.path(),{method:be.updateModelDefaults.method,body:JSON.stringify(e)}),planUsage:(e=!1)=>$e(`${be.planUsage.path()}${e?"?refresh=1":""}`,{},15e3),search:(e,n=[],a=!0)=>{const i=new URLSearchParams({q:e});for(const s of n)i.append("repo",s);return a||i.set("archived","0"),$e(`${be.search.path()}?${i}`)},dismissPrompt:e=>$e(be.dismissFirstPrompt.path(e),{method:be.dismissFirstPrompt.method}),dismissParked:e=>$e(be.dismissParkedPrompt.path(e),{method:be.dismissParkedPrompt.method}),createWorkspace:(e,n,a=!0,i=[],s={})=>$e(be.createWorkspace.path(),{method:be.createWorkspace.method,body:JSON.stringify({repo:e,prompt:n,sendImmediately:a,attachmentIds:i,...s})},bn),setAgent:(e,n,a)=>$e(be.agent.path(e),{method:be.agent.method,body:JSON.stringify({...n,workspaceId:a})},bn),models:(e,n)=>$e(`${be.models.path(e)}?workspaceId=${encodeURIComponent(n)}`,{},bn),setDefaultModel:(e,n,a)=>$e(be.defaultModel.path(e),{method:be.defaultModel.method,body:JSON.stringify({model:n,workspaceId:a})},bn),logs:(e,n=300)=>$e(`${be.logs.path()}?limit=${n}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>$e(be.push.path()),pushSubscribe:(e,n)=>$e(be.pushSubscribe.path(),{method:be.pushSubscribe.method,body:JSON.stringify({subscription:e,label:n})}),pushUnsubscribe:e=>$e(be.pushUnsubscribe.path(),{method:be.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>$e(be.pushTest.path(),{method:be.pushTest.method,body:JSON.stringify({id:e})},bn),merge:e=>$e(be.merge.path(e),{method:be.merge.method},bn),continueWorkspace:(e,n)=>$e(be.continueWorkspace.path(e),{method:be.continueWorkspace.method,body:JSON.stringify({sessionId:n})},Sk),setStatus:(e,n)=>$e(be.workspaceStatus.path(e),{method:be.workspaceStatus.method,body:JSON.stringify({status:n})},bn),archive:(e,n=!1)=>$e(be.archiveWorkspace.path(e),{method:be.archiveWorkspace.method,body:JSON.stringify({stopAgents:n})},bn),devServer:e=>$e(be.devServer.path(e)),startDevServer:e=>$e(be.startDevServer.path(e),{method:be.startDevServer.method},w9),stopDevServer:e=>$e(be.stopDevServer.path(e),{method:be.stopDevServer.method},w9),settings:()=>$e(be.settings.path()),patchSettings:e=>$e(be.updateSettings.path(),{method:be.updateSettings.method,body:JSON.stringify(e)}),prefs:()=>$e(be.prefs.path()),patchPrefs:(e,n=!1)=>$e(be.updatePrefs.path(),{method:be.updatePrefs.method,body:JSON.stringify(e),keepalive:n}),armNoSleep:e=>$e(be.armNoSleep.path(),{method:be.armNoSleep.method,body:JSON.stringify({seconds:e})},bn),disarmNoSleep:()=>$e(be.disarmNoSleep.path(),{method:be.disarmNoSleep.method},bn),restartConductor:(e=!1)=>$e(be.restartConductor.path(),{method:be.restartConductor.method,body:JSON.stringify({stopAgents:e})},Nk)},_9=e=>{let n;const a=new Set,i=(f,E)=>{const h=typeof f=="function"?f(n):f;if(!Object.is(h,n)){const y=n;n=E??(typeof h!="object"||h===null)?h:Object.assign({},n,h),a.forEach(C=>C(n,y))}},s=()=>n,d={setState:i,getState:s,getInitialState:()=>u,subscribe:f=>(a.add(f),()=>a.delete(f))},u=n=e(i,s,d);return d},Tk=(e=>e?_9(e):_9),jk=e=>e;function Rk(e,n=jk){const a=y0.useSyncExternalStore(e.subscribe,y0.useCallback(()=>n(e.getState()),[e,n]),y0.useCallback(()=>n(e.getInitialState()),[e,n]));return y0.useDebugValue(a),a}const N9=e=>{const n=Tk(e),a=i=>Rk(n,i);return Object.assign(a,n),a},Ok=(e=>e?N9(e):N9),zk=1e4;function Lk(e,n=Date.now()){return Math.max(0,(e??n)+zk-n)}const td="conductor-remote-pending",s2=20,Pk=1440*60*1e3;function o2(e,n=[],a=!1){let i=a;const s=new Set;for(const c of e){if(s.add(c.text.trim()),c.status==="error")return"failed";c.status==="sending"&&(i=!0)}for(const c of n)if(!s.has(c.text.trim())){if(c.status==="failed")return"failed";c.status==="waiting"&&(i=!0)}return i?"sending":null}const M9=e=>e.status==="sending"||!!e.interrupted;function Uk(e){const n=e;return!!n&&typeof n.id=="string"&&typeof n.sessionId=="string"&&typeof n.workspaceId=="string"&&typeof n.text=="string"&&typeof n.createdAt=="number"&&(n.status==="sending"||n.status==="error")}const Ik=e=>e.status==="sending"?{...e,status:"error",interrupted:!0,error:"Never confirmed — the app reloaded"}:e;function Hk(){try{const e=JSON.parse(localStorage.getItem(td)??"[]");if(!Array.isArray(e))return[];const n=Date.now()-Pk;return e.filter(Uk).filter(a=>a.createdAt>n).slice(-s2).map(Ik)}catch{return[]}}function qk(e){try{const n=e.slice(-s2);n.length?localStorage.setItem(td,JSON.stringify(n)):localStorage.removeItem(td)}catch{}}const b0="conductor-remote-agent:",A0="conductor-remote-draft:",ia="new-workspace",T9="conductor-remote-read",c2=(e,n,a)=>(e[n]??"")<a;function $k(e,n){return(e.unread_sessions??[]).filter(a=>c2(n,a.id,a.at)).length}function Gk(e,n){return!!e.unread_count&&c2(n,e.id,e.updated_at)}const j9="conductor-remote-prefs-v1";function hr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function nd(e){const n=hr(e);if(!n)return{};const a={};return typeof n.model=="string"&&(a.model=n.model),typeof n.effort=="string"&&(a.effort=n.effort),typeof n.plan=="boolean"&&(a.plan=n.plan),typeof n.fast=="boolean"&&(a.fast=n.fast),a}function hl(e){return Object.keys(e).length>0}function Vk(e){const n=hr(e);return!n||typeof n.name!="string"||typeof n.path!="string"||typeof n.token!="string"||!Number.isSafeInteger(Number(n.bytes))||Number(n.bytes)<0||n.stageId!==void 0&&typeof n.stageId!="string"?null:{name:n.name,path:n.path,bytes:Number(n.bytes),token:n.token,...n.stageId?{stageId:n.stageId}:{}}}function x2(e){if(!Array.isArray(e))return[];const n=new Set;return e.flatMap(a=>{const i=Vk(a);return!i||n.has(i.path)?[]:(n.add(i.path),[i])})}function R9(e){const n=hr(e);if(!n)return null;const a=Number(n.updatedAt);return!Number.isSafeInteger(a)||a<0?null:n.deleted===!0?{text:"",agent:{},attachments:[],updatedAt:a,deleted:!0}:typeof n.text!="string"?null:{text:n.text,agent:nd(n.agent),attachments:x2(n.attachments),updatedAt:a,deleted:!1}}function u2(e,n){return e.model===n.model&&e.effort===n.effort&&e.plan===n.plan&&e.fast===n.fast}function Qk(e,n){return e.text===n.text&&e.updatedAt===n.updatedAt&&e.deleted===n.deleted&&u2(e.agent,n.agent)&&e.attachments.length===n.attachments.length&&e.attachments.every((a,i)=>{const s=n.attachments[i];return a.name===s?.name&&a.path===s.path&&a.bytes===s.bytes&&a.token===s.token&&a.stageId===s.stageId})}function ul(e,n,a,i){return e||hl(n)||a.length?{text:e,agent:{...n},attachments:x2(a),updatedAt:i,deleted:!1}:{text:"",agent:{},attachments:[],updatedAt:i,deleted:!0}}class Yk{storage;prefs;clock;generation=0;touched=new Set;listeners=new Set;constructor(n){this.storage=n;const a=this.readRawDrafts(),i=this.readRawAgents(),s=this.readMetadata(),c=s?.drafts??{};if(this.clock=Math.max(Date.now(),...Object.values(c).map(x=>x.updatedAt)),s){const x={...c};for(const d of new Set([...Object.keys(c),...Object.keys(a),...Object.keys(i)])){const u=ul(a[d]??"",i[d]??{},[],c[d]?.updatedAt??0),f=c[d];!(f&&!f.deleted&&f.attachments.length>0&&!f.text&&!hl(f.agent)&&u.deleted)&&(!f||f.text!==u.text||f.deleted!==u.deleted||!u2(f.agent,u.agent))&&(x[d]=ul(u.text,u.agent,[],this.tick()),this.touched.add(d))}this.prefs={readMarks:this.readRawMarks(),drafts:x}}else{const x={};for(const d of new Set([...Object.keys(a),...Object.keys(i)]))x[d]=ul(a[d]??"",i[d]??{},[],0);this.prefs={readMarks:this.readRawMarks(),drafts:x}}this.persistAll()}snapshot(){return{readMarks:{...this.prefs.readMarks},drafts:Object.fromEntries(Object.entries(this.prefs.drafts).map(([n,a])=>[n,{...a,agent:{...a.agent},attachments:a.attachments.map(i=>({...i}))}]))}}project(){const n={},a={},i={};for(const[s,c]of Object.entries(this.prefs.drafts))c.deleted||(n[s]=c.text,hl(c.agent)&&(a[s]={...c.agent}),c.attachments.length&&(i[s]=c.attachments.map(x=>({...x}))));return{drafts:n,agentDrafts:a,draftAttachments:i,readMarks:{...this.prefs.readMarks}}}currentGeneration(){return this.generation}setDraft(n,a,i){return this.setLocal(n,a,i,this.prefs.drafts[n]?.attachments??[]),this.project()}setAgent(n,a,i){return this.setLocal(n,i,a,this.prefs.drafts[n]?.attachments??[]),this.project()}setAttachments(n,a,i,s){return this.setLocal(n,i,s,a),this.project()}setContent(n,a,i,s){return this.setLocal(n,a,i,s),this.project()}moveDraft(n,a){const i=this.prefs.drafts[n],s=this.prefs.drafts[a];return!i||i.deleted||n===a||s&&!s.deleted?this.project():(this.prefs.drafts[n]=ul("",{},[],this.tick()),this.prefs.drafts[a]=ul(i.text,i.agent,i.attachments,this.tick()),this.touched.add(n),this.touched.add(a),this.changed(),this.project())}markRead(n,a){return(this.prefs.readMarks[n]??"")>=a?this.project():(this.prefs.readMarks[n]=a,this.changed(),this.project())}merge(n,a){const i=hr(hr(n)?.drafts),s=this.cleanPrefs(n);for(const d of Object.values(s.drafts))this.clock=Math.max(this.clock,d.updatedAt);let c=!1,x=!1;for(const[d,u]of Object.entries(s.readMarks))(this.prefs.readMarks[d]??"")>=u||(this.prefs.readMarks[d]=u,c=!0);for(const[d,u]of Object.entries(this.prefs.readMarks))(s.readMarks[d]??"")<u&&(x=!0);for(const d of new Set([...Object.keys(this.prefs.drafts),...Object.keys(s.drafts)])){const u=this.prefs.drafts[d],f=s.drafts[d],E=hr(i?.[d]);if(u&&f&&!f.deleted&&E&&!Object.hasOwn(E,"attachments")&&(f.attachments=u.attachments.map(C=>({...C}))),!u&&f){this.prefs.drafts[d]=f,c=!0;continue}if(u&&!f){x=!0;continue}if(!(u&&f)||Qk(u,f))continue;const h=a===d&&(this.touched.has(d)||!u.deleted&&(u.text.length>0||hl(u.agent)||u.attachments.length>0)),y=f.updatedAt>u.updatedAt||f.updatedAt===u.updatedAt&&(f.deleted||!u.deleted);if(y&&!h){this.prefs.drafts[d]=f,c=!0;continue}y&&(u.updatedAt=this.tick(f.updatedAt),c=!0),x=!0}return c&&this.persistAll(),{state:this.project(),needsUpload:x}}subscribe(n){return this.listeners.add(n),()=>this.listeners.delete(n)}requestFlush(){for(const n of this.listeners)n(!0)}setLocal(n,a,i,s){this.prefs.drafts[n]=ul(a,nd(i),s,this.tick()),this.touched.add(n),this.changed()}changed(){this.generation+=1,this.persistAll();for(const n of this.listeners)n(!1)}tick(n=0){return this.clock=Math.max(Date.now(),this.clock+1,n+1),this.clock}cleanPrefs(n){const a=hr(n),i={};for(const[c,x]of Object.entries(hr(a?.readMarks)??{}))typeof x=="string"&&(i[c]=x);const s={};for(const[c,x]of Object.entries(hr(a?.drafts)??{})){const d=R9(x);d&&(s[c]=d)}return{readMarks:i,drafts:s}}readMetadata(){try{const n=hr(JSON.parse(this.storage.getItem(j9)??"null"));if(n?.version!==1)return null;const a={};for(const[i,s]of Object.entries(hr(n.drafts)??{})){const c=R9(s);c&&(a[i]=c)}return{drafts:a}}catch{return null}}readRawDrafts(){const n={};try{for(let a=0;a<this.storage.length;a++){const i=this.storage.key(a);if(!i?.startsWith(A0))continue;const s=this.storage.getItem(i);s&&(n[i.slice(A0.length)]=s)}}catch{}return n}readRawAgents(){const n={};try{for(let a=0;a<this.storage.length;a++){const i=this.storage.key(a);if(!i?.startsWith(b0))continue;const s=this.storage.getItem(i);if(!s)continue;const c=nd(JSON.parse(s));hl(c)&&(n[i.slice(b0.length)]=c)}}catch{}return n}readRawMarks(){try{const n=hr(JSON.parse(this.storage.getItem(T9)??"{}"));return n?Object.fromEntries(Object.entries(n).filter(a=>typeof a[1]=="string")):{}}catch{return{}}}persistAll(){try{for(const[n,a]of Object.entries(this.prefs.drafts))!a.deleted&&a.text?this.storage.setItem(A0+n,a.text):this.storage.removeItem(A0+n),!a.deleted&&hl(a.agent)?this.storage.setItem(b0+n,JSON.stringify(a.agent)):this.storage.removeItem(b0+n);this.storage.setItem(T9,JSON.stringify(this.prefs.readMarks)),this.storage.setItem(j9,JSON.stringify({version:1,drafts:this.prefs.drafts}))}catch{}}}let gu=null;function br(){return gu||(gu=new Yk(localStorage)),gu}const Kk=()=>br().project(),Xk=()=>br().snapshot(),O9=()=>br().currentGeneration(),Zk=(e,n,a)=>br().setDraft(e,n,a),z9=(e,n,a)=>br().setAgent(e,n,a),L9=(e,n,a,i)=>br().setAttachments(e,n,a,i),Wk=(e,n,a,i)=>br().setContent(e,n,a,i),Jk=(e,n)=>br().moveDraft(e,n),eD=(e,n)=>br().markRead(e,n),tD=(e,n)=>br().merge(e,n),nD=e=>br().subscribe(e),rd=()=>br().requestFlush();let dl=null;const B0=Kk(),ad=15e3,d2="conductor-remote-view",f2="conductor-remote-last-new-workspace-repo",P9={groupBy:"status",repos:[],sortBy:"updated",showDiffs:!0,hideMerged:!1,hideDone:!1,collapsed:[]};function U9(e){const n={};return e.model!==void 0&&(n.model=e.model),e.effort!==void 0&&(n.effort=e.effort),e.plan!==void 0&&(n.plan=e.plan),e.fast!==void 0&&(n.fast=e.fast),n}function rD(){try{const{repo:e,...n}=JSON.parse(localStorage.getItem(d2)??"{}"),a=Array.isArray(n.repos)?n.repos.filter(i=>typeof i=="string"):typeof e=="string"?[e]:[];return{...P9,...n,repos:a}}catch{return P9}}function aD(){try{return localStorage.getItem(f2)??""}catch{return""}}const Ae=Ok((e,n)=>{const a=s=>{localStorage.setItem(d2,JSON.stringify(s)),e({view:s})},i=s=>{qk(s),e({pending:s})};return{token:kk(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:Hk(),drafts:B0.drafts,draftAttachments:B0.draftAttachments,agentDrafts:B0.agentDrafts,readMarks:B0.readMarks,focusedDraft:null,push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),lastNewWorkspaceRepo:aD(),view:rD(),setToken:s=>{s?Fk(s):Dk(),e({token:s})},setOnline:s=>{if(s){dl&&clearTimeout(dl),dl=null,e({online:s,lastSyncAt:Date.now()});return}if(!n().online||dl)return;const c=Lk(n().lastSyncAt);if(c===0){e({online:!1});return}dl=setTimeout(()=>{dl=null,e({online:!1})},c)},setUpdate:s=>e({update:s}),markWorking:s=>e({workingHints:{...n().workingHints,[s]:Date.now()}}),clearWorking:s=>{const{[s]:c,...x}=n().workingHints;e({workingHints:x})},addPending:s=>i([...n().pending.filter(c=>c.id!==s.id),{...s,status:"sending",error:void 0,createdAt:Date.now()}]),failPending:(s,c)=>i(n().pending.map(x=>x.id===s?{...x,status:"error",error:c}:x)),removePending:s=>i(n().pending.filter(c=>c.id!==s)),setDraft:(s,c)=>{const x=Zk(s,c,n().agentDrafts[s]??{});e({drafts:x.drafts,agentDrafts:x.agentDrafts,draftAttachments:x.draftAttachments})},addDraftAttachment:(s,c)=>{const x=n().draftAttachments[s]??[];if(x.some(u=>u.path===c.path))return;const d=L9(s,[...x,c],n().drafts[s]??"",n().agentDrafts[s]??{});e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},removeDraftAttachment:(s,c)=>{const x=n().draftAttachments[s]??[],d=x.filter(f=>f.path!==c);if(d.length===x.length)return;const u=L9(s,d,n().drafts[s]??"",n().agentDrafts[s]??{});e({drafts:u.drafts,agentDrafts:u.agentDrafts,draftAttachments:u.draftAttachments})},clearDraftContent:s=>{const c=Wk(s,"",n().agentDrafts[s]??{},[]);e({drafts:c.drafts,agentDrafts:c.agentDrafts,draftAttachments:c.draftAttachments})},moveDraft:(s,c)=>{const x=n().drafts,u=x[s]!==void 0||n().agentDrafts[s]!==void 0||n().draftAttachments[s]!==void 0,f=x[c]!==void 0||n().agentDrafts[c]!==void 0||n().draftAttachments[c]!==void 0;if(!u||s===c||f)return;const E=Jk(s,c);e({drafts:E.drafts,agentDrafts:E.agentDrafts,draftAttachments:E.draftAttachments})},markRead:(s,c)=>{(n().readMarks[s]??"")>=c||e({readMarks:eD(s,c).readMarks})},stageAgent:(s,c)=>{const x=U9({...n().agentDrafts[s],...c}),d=z9(s,x,n().drafts[s]??"");e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},clearAgentDraft:(s,c)=>{const x=n().agentDrafts[s];if(!x)return;const d=U9({model:x.model===c.model?void 0:x.model,effort:x.effort===c.effort?void 0:x.effort,plan:x.plan===c.plan?void 0:x.plan,fast:x.fast===c.fast?void 0:x.fast}),u=z9(s,d,n().drafts[s]??"");e({drafts:u.drafts,agentDrafts:u.agentDrafts,draftAttachments:u.draftAttachments})},applySyncedPrefs:s=>e({drafts:s.drafts,agentDrafts:s.agentDrafts,draftAttachments:s.draftAttachments,readMarks:s.readMarks}),setFocusedDraft:s=>e({focusedDraft:s}),setPush:s=>e({push:s}),setSidebarOpen:s=>e({sidebarOpen:s}),setLastNewWorkspaceRepo:s=>{try{localStorage.setItem(f2,s)}catch{}e({lastNewWorkspaceRepo:s})},setView:s=>a({...n().view,...s}),toggleGroup:s=>{const{collapsed:c}=n().view;a({...n().view,collapsed:c.includes(s)?c.filter(x=>x!==s):[...c,s]})}}}),I9=6e4,iD=1e4,yu="pwa-update-attempted-at",lD=2500,sD=30*6e4,bs="pwa-update-snoozed-until";async function oD(){try{if("serviceWorker"in navigator){const n=await navigator.serviceWorker.getRegistrations();await Promise.all(n.map(a=>a.unregister()))}if("caches"in window){const n=await caches.keys();await Promise.all(n.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function cD(){const e=Ae(h=>h.token),n=D.useRef(null),a=D.useRef(!1),{needRefresh:[i,s],updateServiceWorker:c}=k7({onRegisteredSW(h,y){y&&(n.current=y,setInterval(()=>{y.update().catch(()=>{})},I9))}}),{data:x}=vn({queryKey:["state"],queryFn:()=>Oe.state(),enabled:!!e,refetchInterval:!1}),d=x?.version,u=D.useRef(null);if(D.useEffect(()=>{!d||d==="1.92.1"||u.current===d||(u.current=d,n.current?.update().catch(()=>{}))},[d]),D.useEffect(()=>{if(!i)return;const h=Number(sessionStorage.getItem(yu));if(sessionStorage.removeItem(yu),h&&Date.now()-h<iD){s(!1);return}const y=Number(sessionStorage.getItem(bs));y&&Date.now()<y&&s(!1)},[i,s]),D.useEffect(()=>{if(i)return;const h=()=>{const C=Number(sessionStorage.getItem(bs));!C||Date.now()<C||n.current?.waiting&&(sessionStorage.removeItem(bs),s(!0))},y=window.setInterval(h,I9);return document.addEventListener("visibilitychange",h),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",h)}},[i,s]),!i)return null;const f=()=>{sessionStorage.setItem(bs,String(Date.now()+sD)),s(!1)},E=()=>{sessionStorage.removeItem(bs),sessionStorage.setItem(yu,String(Date.now()));const h=()=>{a.current||(a.current=!0,window.location.reload())},y=n.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",h,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&h()}),y.postMessage({type:"SKIP_WAITING"})):c(!0),window.setTimeout(()=>{a.current||(a.current=!0,oD())},lD)};return m.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[m.jsx(Zs,{size:15,className:"shrink-0 text-accent"}),m.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),m.jsx("button",{type:"button",onClick:f,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),m.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-on-solid transition active:scale-95",children:"Update"})]})}function xD(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function h2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function p2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?xD()&&!h2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function m2(){const e=navigator.userAgent,n=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return h2()?n:`${n} (browser)`}function uD(e){const n=e+"=".repeat((4-e.length%4)%4),a=atob(n.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let s=0;s<a.length;s++)i[s]=a.charCodeAt(s);return i}function dD(e){let n="";for(const a of new Uint8Array(e))n+=String.fromCharCode(a);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Id(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(n=>setTimeout(()=>n(null),5e3))])}async function fD(e){const n=await Id();if(typeof n?.getNotifications=="function")try{for(const a of await n.getNotifications({tag:e}))a.close()}catch{}}async function E2(){return await(await Id())?.pushManager.getSubscription()??null}function hD(e,n){const a=e.options.applicationServerKey;return!!a&&dD(a)===n}async function g2(e){const n=await Id();if(!n)throw new Error("the app’s service worker isn’t running yet — reload and try again");return n.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:uD(e)})}function y2(e){const n=e.toJSON(),a=n.keys??{};if(!n.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:n.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function pD(e){let n=await E2();if(n&&!hD(n,e)&&(await n.unsubscribe().catch(()=>{}),n=Notification.permission==="granted"?await g2(e):null),!n)return null;const a=await Oe.pushSubscribe(y2(n),m2());return{id:a.id??null,devices:a.devices.length}}function U0(){const e=window.getSelection();return!!e&&!e.isCollapsed&&e.toString().length>0}const v0=28;function mD(e,n){const a=window.getSelection();if(!a||a.isCollapsed||!a.rangeCount)return!1;for(const i of a.getRangeAt(0).getClientRects())if(e>=i.left-v0&&e<=i.right+v0&&n>=i.top-v0&&n<=i.bottom+v0)return!0;return!1}function ED(e,n){const a=n.filter(c=>F9(c)&&c.toolUseId);if(!a.length)return[...e,...n];const i=[...e,...n.filter(c=>!F9(c))],s=new Map;i.forEach((c,x)=>{c.tool&&c.toolUseId&&!s.has(c.toolUseId)&&s.set(c.toolUseId,x)});for(const c of a){const x=c.toolUseId?s.get(c.toolUseId):void 0;if(x===void 0){c.error&&i.push(c);continue}const d=i[x];i[x]={...d,output:c.output,diff:c.diff,images:c.images,error:c.error??d.error}}return i}function gD(e,n){if(!n.length)return[...e];const a=new Set(e.map(i=>i.id));return[...e,...n.filter(i=>!a.has(i.id))]}function yD(e){const n=Ae(s=>s.setSidebarOpen),a=Ae(s=>s.sidebarOpen),i=D.useRef(a);i.current=a,D.useEffect(()=>{const s=e.current;s&&(s.style.transition="",s.style.transform="")},[a,e]),D.useEffect(()=>{const x=window.matchMedia("(min-width: 768px)"),d=()=>e.current;let u=!1,f=!1,E=!1,h=!1,y=0,C=0,b=0,A=0;const v=R=>{const z=d();z&&(z.style.transition="none",z.style.transform=`translateX(${R}px)`,A=R)},k=()=>{const R=d();R&&(R.style.transition="",R.style.transform="")},T=R=>{for(let z=R;z;z=z.parentElement)if(z.scrollLeft>0)return!0;return!1},F=()=>{u&&(u=!1,k())},j=R=>{if(F(),x.matches||R.touches.length!==1)return;const z=R.touches[0];if(i.current){const $=d()?.getBoundingClientRect().right??0;if(z.clientX>$)return}else if(z.clientX>44||T(R.target))return;mD(z.clientX,z.clientY)||(u=!0,f=!1,E=!1,h=U0(),y=z.clientX,C=z.clientY,b=d()?.offsetWidth??0)},O=R=>{if(!u||E)return;if(!h&&U0()){E=!0;return}const z=R.touches[0],$=z.clientX-y,L=z.clientY-C;if(!f){if(Math.abs(L)>Math.abs($)&&Math.abs(L)>8){E=!0;return}if(Math.abs($)<6)return;f=!0}R.preventDefault();const V=i.current?0:-b;v(Math.max(-b,Math.min(0,V+$)))},M=()=>{if(!u)return;if(u=!1,!f||E)return k();const R=b?(A+b)/b:0;k(),n(R>.4)};return window.addEventListener("touchstart",j,{passive:!0}),window.addEventListener("touchmove",O,{passive:!1}),window.addEventListener("touchend",M),window.addEventListener("touchcancel",M),document.addEventListener("visibilitychange",F),()=>{window.removeEventListener("touchstart",j),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",M),window.removeEventListener("touchcancel",M),document.removeEventListener("visibilitychange",F)}},[e,n])}const H9='input, textarea, [contenteditable]:not([contenteditable="false"])';function CD(){D.useEffect(()=>{const e=window.visualViewport;if(!e)return;const n=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&n.setAttribute("data-standalone","");let a=0,i;const s=()=>{n.style.removeProperty("--app-height"),n.removeAttribute("data-keyboard")},c=E=>{E&&!i?i=setInterval(x,300):!E&&i&&(clearInterval(i),i=void 0)},x=()=>{const E=document.activeElement,h=E instanceof HTMLElement&&E.matches(H9),y=e.scale>1.01;!h||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),s()):(a||window.innerHeight)-e.height>40?(n.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),n.setAttribute("data-keyboard","")):s(),c(h||n.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let d;const u=()=>{x(),clearTimeout(d),d=setTimeout(x,350)},f=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(H9)&&E.blur(),s(),c(!1)}else u()};return x(),e.addEventListener("resize",x),e.addEventListener("scroll",x),window.addEventListener("pageshow",u),document.addEventListener("visibilitychange",f),document.addEventListener("focusin",u),document.addEventListener("focusout",u),()=>{clearTimeout(d),c(!1),e.removeEventListener("resize",x),e.removeEventListener("scroll",x),window.removeEventListener("pageshow",u),document.removeEventListener("visibilitychange",f),document.removeEventListener("focusin",u),document.removeEventListener("focusout",u),s()}},[])}function bl(){const e=Ae(a=>a.setOnline),n=Ae(a=>a.setToken);return D.useCallback((a,i)=>{e(a),i instanceof Er&&i.status===401&&n(null)},[e,n])}function Hd(){const e=bl(),n=Ae(i=>i.setUpdate),a=vn({queryKey:["state"],queryFn:()=>Oe.state(),refetchInterval:2500});return D.useEffect(()=>{a.isSuccess&&(e(!0),n(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,n]),a}function bD(){const e=bl();D.useEffect(()=>{let i=!0,s=!1,c=!1,x=!1,d=null;const u=A=>{const v=tD(A,Ae.getState().focusedDraft);Ae.getState().applySyncedPrefs(v.state),v.needsUpload&&E(!1)},f=async(A,v=!1)=>{if(!i)return;if(s){c||=A,x||=v;return}s=!0;const k=O9();try{const T=A?await Oe.patchPrefs(Xk(),v):await Oe.prefs();if(!i)return;e(!0),u(T.prefs),O9()!==k&&E(!1)}catch(T){if(!i)return;T instanceof Er&&T.status===404||e(!1,T)}finally{if(s=!1,i&&c){const T=x;c=!1,x=!1,f(!0,T)}}};function E(A,v=!1){d&&clearTimeout(d),d=null,A?f(!0,v):d=setTimeout(()=>{f(!0)},700)}const h=nD(A=>E(A)),y=setInterval(()=>{f(!1)},15e3),C=()=>{document.visibilityState==="hidden"?E(!0,!0):f(!1)},b=()=>E(!0);return document.addEventListener("visibilitychange",C),window.addEventListener("online",b),f(!0),()=>{i=!1,d&&clearTimeout(d),clearInterval(y),h(),document.removeEventListener("visibilitychange",C),window.removeEventListener("online",b)}},[e])}function C2(){return vn({queryKey:["repos"],queryFn:()=>Oe.repos(),staleTime:6e4})}function AD(e,n){const[a,i]=D.useState(e);return D.useEffect(()=>{const s=setTimeout(()=>i(e),n);return()=>clearTimeout(s)},[e,n]),a}function BD(e,n=[],a=!0){const i=e.trim();return vn({queryKey:["search",i,n,a],queryFn:()=>Oe.search(i,n,a),enabled:i.length>=2,staleTime:3e4,placeholderData:J6})}function vD(e,n){const a=bl(),i=vn({queryKey:["workspace",e],queryFn:()=>Oe.workspace(e),enabled:n&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(s,c)=>!(c instanceof Er&&c.status===404)&&s<1});return D.useEffect(()=>{i.isError&&!(i.error instanceof Er&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function b2(e,n=!0){const a=bl(),i=vn({queryKey:["sessions",e],queryFn:()=>Oe.sessions(e),enabled:!!e,refetchInterval:n?2e3:!1});return D.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function kD(e,n){return vn({queryKey:["workspaceFiles",e],queryFn:()=>Oe.workspaceFiles(e),enabled:n&&!!e,staleTime:12e4,retry:!1})}function DD(e){return vn({queryKey:["dev-server",e],queryFn:()=>Oe.devServer(e),enabled:!!e,refetchInterval:2500})}function A2(e,n){const a=bl(),i=vn({queryKey:["diff",e],queryFn:()=>Oe.diff(e),enabled:!!e,refetchInterval:5e3});return D.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function FD(e){return vn({queryKey:["repoIcon",e],queryFn:()=>Oe.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function wD(e,n){return vn({queryKey:["logs",e],queryFn:()=>Oe.logs(e),enabled:n,refetchInterval:3e3,retry:!1})}function qd(){return vn({queryKey:["model-catalog"],queryFn:Oe.modelCatalog,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function B2(){return vn({queryKey:["model-defaults"],queryFn:Oe.modelDefaults,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function SD(e){return vn({queryKey:["plan-usage"],queryFn:()=>Oe.planUsage(),enabled:e,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function _D(e,n,a){const i=e?.agent_type??"claude",s=gr();return vn({queryKey:["models",i],queryFn:async()=>{const c=await Oe.models(e.id,n);if(!c.ok||!c.models?.length)throw new Error(c.error??"could not read the model list");return await s.invalidateQueries({queryKey:["model-catalog"]}),c},enabled:a&&!!e,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}const ND=(e,n)=>e.length===n.length&&e.every((a,i)=>a.id===n[i].id&&a.text===n[i].text);function MD(e,n=!0){const a=bl(),[i,s]=D.useState({entries:[],queued:[],loading:!0,error:null}),c=D.useRef(0),x=Ae(f=>f.push.deviceId),d=D.useRef(x);return d.current=x,D.useEffect(()=>{if(!e){s({entries:[],queued:[],loading:!1,error:null});return}c.current=0,s({entries:[],queued:[],loading:!0,error:null});let f=!0,E=!1;const h=async()=>{if(!E){E=!0;try{const C=document.visibilityState==="visible"?d.current:null,{entries:b,queued:A=[],cursor:v}=await Oe.messages(e,c.current,C);if(!f)return;a(!0),c.current=v,s(k=>{const T=b.length?ED(k.entries,b):k.entries,F=ND(k.queued,A);return T===k.entries&&F&&!k.loading&&!k.error?k:{entries:T,queued:F?k.queued:A,loading:!1,error:null}})}catch(C){if(!f)return;a(!1,C),s(b=>({...b,loading:!1,error:C instanceof Error?C.message:String(C)}))}finally{E=!1}}};h();const y=n?setInterval(h,1e3):void 0;return()=>{f=!1,y&&clearInterval(y)}},[e,n,a]),{entries:D.useMemo(()=>gD(i.entries,i.queued),[i.entries,i.queued]),loading:i.loading,error:i.error}}function v2(){const e=gr(),n=Ae(x=>x.addPending),a=Ae(x=>x.failPending),i=Ae(x=>x.removePending),s=Ae(x=>x.markWorking),c=Ae(x=>x.clearAgentDraft);return D.useCallback(async x=>{const d=x.text.trim();if(!d)return!1;const u=x.id??crypto.randomUUID(),{sessionId:f,workspaceId:E}=x;n({id:u,sessionId:f,workspaceId:E,text:d,queue:x.queue});try{const h=Ae.getState().agentDrafts[f],y=h&&Object.keys(h).length?h:void 0,C=await Oe.sendPrompt(f,d,E,y,u,x.queue);if(C.ok||C.parked)return y&&(c(f,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&s(f),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(u),4e3),!0;a(u,C.error||"Send failed")}catch(h){a(u,h instanceof Error?h.message:String(h))}return!1},[n,a,i,s,c,e])}function k2(e){return vn({queryKey:["push"],queryFn:()=>Oe.push(),enabled:e,staleTime:3e4})}function TD(){const[e]=D.useState(p2),n=Ae(s=>s.setPush),{data:a}=k2(e==="ok"),i=a?.publicKey;D.useEffect(()=>{if(e!=="ok"||!i)return;let s=!0;return pD(i).then(c=>{s&&n({deviceId:c?.id??null,devices:c?.devices??0})}).catch(()=>{}),()=>{s=!1}},[e,i,n])}function jD(){const[e]=D.useState(p2),[n,a]=D.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,s]=D.useState(!1),[c,x]=D.useState(null),{deviceId:d,devices:u}=Ae(A=>A.push),f=Ae(A=>A.setPush),E=k2(e==="ok"),h=E.data?.publicKey,y=D.useCallback(async()=>{s(!0),x(null);try{const A=await Notification.requestPermission();if(a(A),A!=="granted"){x(A==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const v=h??(await Oe.push()).publicKey,k=await g2(v),T=await Oe.pushSubscribe(y2(k),m2());f({deviceId:T.id??null,devices:T.devices.length})}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}},[h,f]),C=D.useCallback(async()=>{s(!0),x(null);try{const A=await E2();let v=0;A&&(v=(await Oe.pushUnsubscribe(A.endpoint).catch(()=>null))?.devices.length??0,await A.unsubscribe()),f({deviceId:null,devices:v})}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}},[f]),b=D.useCallback(async()=>{if(d){s(!0),x(null);try{const A=await Oe.pushTest(d);A.ok||x(A.error??"The push service rejected it.")}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}}},[d]);return{support:e,permission:n,enabled:!!d,relayDisabled:E.data?.enabled===!1,busy:i,error:c,devices:u,enable:y,disable:C,test:b}}const RD="push-route",q9="/__push-route",OD=12e4;async function $9(){if(!("caches"in window))return null;try{const e=await caches.open(RD),n=await e.match(q9);if(!n)return null;await e.delete(q9);const{url:a,ts:i}=await n.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>OD?null:a}catch{return null}}function zD(){const e=Cl();D.useEffect(()=>{let n=!0;const a=()=>{$9().then(c=>{n&&c&&e(c)})},i=c=>{const x=c.data;x?.type==="push-navigate"&&typeof x.url=="string"&&x.url.startsWith("/")&&($9(),e(x.url))},s=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",s),a(),()=>{n=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",s)}},[e])}function LD(e,n){D.useEffect(()=>{if(!e)return;const a=()=>{document.visibilityState==="visible"&&fD(e)};return a(),document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[e,n])}function D2(e){var n,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(a=D2(e[n]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function PD(){for(var e,n,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(n=D2(e))&&(i&&(i+=" "),i+=n);return i}const UD=(e,n)=>{const a=new Array(e.length+n.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<n.length;i++)a[e.length+i]=n[i];return a},ID=(e,n)=>({classGroupId:e,validator:n}),F2=(e=new Map,n=null,a)=>({nextPart:e,validators:n,classGroupId:a}),I0="-",G9=[],HD="arbitrary..",qD=e=>{const n=GD(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:x=>{if(x.startsWith("[")&&x.endsWith("]"))return $D(x);const d=x.split(I0),u=d[0]===""&&d.length>1?1:0;return w2(d,u,n)},getConflictingClassGroupIds:(x,d)=>{if(d){const u=i[x],f=a[x];return u?f?UD(f,u):u:f||G9}return a[x]||G9}}},w2=(e,n,a)=>{if(e.length-n===0)return a.classGroupId;const s=e[n],c=a.nextPart.get(s);if(c){const f=w2(e,n+1,c);if(f)return f}const x=a.validators;if(x===null)return;const d=n===0?e.join(I0):e.slice(n).join(I0),u=x.length;for(let f=0;f<u;f++){const E=x[f];if(E.validator(d))return E.classGroupId}},$D=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),a=n.indexOf(":"),i=n.slice(0,a);return i?HD+i:void 0})(),GD=e=>{const{theme:n,classGroups:a}=e;return VD(a,n)},VD=(e,n)=>{const a=F2();for(const i in e){const s=e[i];$d(s,a,i,n)}return a},$d=(e,n,a,i)=>{const s=e.length;for(let c=0;c<s;c++){const x=e[c];QD(x,n,a,i)}},QD=(e,n,a,i)=>{if(typeof e=="string"){YD(e,n,a);return}if(typeof e=="function"){KD(e,n,a,i);return}XD(e,n,a,i)},YD=(e,n,a)=>{const i=e===""?n:S2(n,e);i.classGroupId=a},KD=(e,n,a,i)=>{if(ZD(e)){$d(e(i),n,a,i);return}n.validators===null&&(n.validators=[]),n.validators.push(ID(a,e))},XD=(e,n,a,i)=>{const s=Object.entries(e),c=s.length;for(let x=0;x<c;x++){const[d,u]=s[x];$d(u,S2(n,d),a,i)}},S2=(e,n)=>{let a=e;const i=n.split(I0),s=i.length;for(let c=0;c<s;c++){const x=i[c];let d=a.nextPart.get(x);d||(d=F2(),a.nextPart.set(x,d)),a=d}return a},ZD=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,WD=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=Object.create(null),i=Object.create(null);const s=(c,x)=>{a[c]=x,n++,n>e&&(n=0,i=a,a=Object.create(null))};return{get(c){let x=a[c];if(x!==void 0)return x;if((x=i[c])!==void 0)return s(c,x),x},set(c,x){c in a?a[c]=x:s(c,x)}}},id="!",V9=":",JD=[],Q9=(e,n,a,i,s)=>({modifiers:e,hasImportantModifier:n,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),eF=e=>{const{prefix:n,experimentalParseClassName:a}=e;let i=s=>{const c=[];let x=0,d=0,u=0,f;const E=s.length;for(let A=0;A<E;A++){const v=s[A];if(x===0&&d===0){if(v===V9){c.push(s.slice(u,A)),u=A+1;continue}if(v==="/"){f=A;continue}}v==="["?x++:v==="]"?x--:v==="("?d++:v===")"&&d--}const h=c.length===0?s:s.slice(u);let y=h,C=!1;h.endsWith(id)?(y=h.slice(0,-1),C=!0):h.startsWith(id)&&(y=h.slice(1),C=!0);const b=f&&f>u?f-u:void 0;return Q9(c,C,y,b)};if(n){const s=n+V9,c=i;i=x=>x.startsWith(s)?c(x.slice(s.length)):Q9(JD,!1,x,void 0,!0)}if(a){const s=i;i=c=>a({className:c,parseClassName:s})}return i},tF=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{n.set(a,1e6+i)}),a=>{const i=[];let s=[];for(let c=0;c<a.length;c++){const x=a[c],d=x[0]==="[",u=n.has(x);d||u?(s.length>0&&(s.sort(),i.push(...s),s=[]),i.push(x)):s.push(x)}return s.length>0&&(s.sort(),i.push(...s)),i}},nF=e=>({cache:WD(e.cacheSize),parseClassName:eF(e),sortModifiers:tF(e),postfixLookupClassGroupIds:rF(e),...qD(e)}),rF=e=>{const n=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)n[a[i]]=!0;return n},aF=/\s+/,iF=(e,n)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:c,postfixLookupClassGroupIds:x}=n,d=[],u=e.trim().split(aF);let f="";for(let E=u.length-1;E>=0;E-=1){const h=u[E],{isExternal:y,modifiers:C,hasImportantModifier:b,baseClassName:A,maybePostfixModifierPosition:v}=a(h);if(y){f=h+(f.length>0?" "+f:f);continue}let k=!!v,T;if(k){const R=A.substring(0,v);T=i(R);const z=T&&x[T]?i(A):void 0;z&&z!==T&&(T=z,k=!1)}else T=i(A);if(!T){if(!k){f=h+(f.length>0?" "+f:f);continue}if(T=i(A),!T){f=h+(f.length>0?" "+f:f);continue}k=!1}const F=C.length===0?"":C.length===1?C[0]:c(C).join(":"),j=b?F+id:F,O=j+T;if(d.indexOf(O)>-1)continue;d.push(O);const M=s(T,k);for(let R=0;R<M.length;++R){const z=M[R];d.push(j+z)}f=h+(f.length>0?" "+f:f)}return f},lF=(...e)=>{let n=0,a,i,s="";for(;n<e.length;)(a=e[n++])&&(i=_2(a))&&(s&&(s+=" "),s+=i);return s},_2=e=>{if(typeof e=="string")return e;let n,a="";for(let i=0;i<e.length;i++)e[i]&&(n=_2(e[i]))&&(a&&(a+=" "),a+=n);return a},sF=(e,...n)=>{let a,i,s,c;const x=u=>{const f=n.reduce((E,h)=>h(E),e());return a=nF(f),i=a.cache.get,s=a.cache.set,c=d,d(u)},d=u=>{const f=i(u);if(f)return f;const E=iF(u,a);return s(u,E),E};return c=x,(...u)=>c(lF(...u))},oF=[],sn=e=>{const n=a=>a[e]||oF;return n.isThemeGetter=!0,n},N2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,M2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cF=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,xF=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,uF=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dF=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,fF=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hF=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ia=e=>cF.test(e),Ze=e=>!!e&&!Number.isNaN(Number(e)),Rr=e=>!!e&&Number.isInteger(Number(e)),Cu=e=>e.endsWith("%")&&Ze(e.slice(0,-1)),la=e=>xF.test(e),T2=()=>!0,pF=e=>uF.test(e)&&!dF.test(e),Gd=()=>!1,mF=e=>fF.test(e),EF=e=>hF.test(e),gF=e=>!Fe(e)&&!we(e),yF=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),CF=e=>Ga(e,O2,Gd),Fe=e=>N2.test(e),pi=e=>Ga(e,z2,pF),Y9=e=>Ga(e,wF,Ze),bF=e=>Ga(e,P2,T2),AF=e=>Ga(e,L2,Gd),K9=e=>Ga(e,j2,Gd),BF=e=>Ga(e,R2,EF),k0=e=>Ga(e,U2,mF),we=e=>M2.test(e),As=e=>Di(e,z2),vF=e=>Di(e,L2),X9=e=>Di(e,j2),kF=e=>Di(e,O2),DF=e=>Di(e,R2),D0=e=>Di(e,U2,!0),FF=e=>Di(e,P2,!0),Ga=(e,n,a)=>{const i=N2.exec(e);return i?i[1]?n(i[1]):a(i[2]):!1},Di=(e,n,a=!1)=>{const i=M2.exec(e);return i?i[1]?n(i[1]):a:!1},j2=e=>e==="position"||e==="percentage",R2=e=>e==="image"||e==="url",O2=e=>e==="length"||e==="size"||e==="bg-size",z2=e=>e==="length",wF=e=>e==="number",L2=e=>e==="family-name",P2=e=>e==="number"||e==="weight",U2=e=>e==="shadow",SF=()=>{const e=sn("color"),n=sn("font"),a=sn("text"),i=sn("font-weight"),s=sn("tracking"),c=sn("leading"),x=sn("breakpoint"),d=sn("container"),u=sn("spacing"),f=sn("radius"),E=sn("shadow"),h=sn("inset-shadow"),y=sn("text-shadow"),C=sn("drop-shadow"),b=sn("blur"),A=sn("perspective"),v=sn("aspect"),k=sn("ease"),T=sn("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...j(),we,Fe],M=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],z=()=>[we,Fe,u],$=()=>[Ia,"full","auto",...z()],L=()=>[Rr,"none","subgrid",we,Fe],V=()=>["auto",{span:["full",Rr,we,Fe]},Rr,we,Fe],Y=()=>[Rr,"auto",we,Fe],J=()=>["auto","min","max","fr",we,Fe],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...z()],Z=()=>[Ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],ie=()=>[Ia,"screen","full","dvw","lvw","svw","min","max","fit",...z()],he=()=>[Ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],N=()=>[e,we,Fe],S=()=>[...j(),X9,K9,{position:[we,Fe]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],_=()=>["auto","cover","contain",kF,CF,{size:[we,Fe]}],re=()=>[Cu,As,pi],Ee=()=>["","none","full",f,we,Fe],fe=()=>["",Ze,As,pi],ve=()=>["solid","dashed","dotted","double"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[Ze,Cu,X9,K9],ft=()=>["","none",b,we,Fe],xt=()=>["none",Ze,we,Fe],$t=()=>["none",Ze,we,Fe],Gt=()=>[Ze,we,Fe],ot=()=>[Ia,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[la],breakpoint:[la],color:[T2],container:[la],"drop-shadow":[la],ease:["in","out","in-out"],font:[gF],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[la],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[la],shadow:[la],spacing:["px",Ze],text:[la],"text-shadow":[la],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ia,Fe,we,v]}],container:["container"],"container-type":[{"@container":["","normal","size",we,Fe]}],"container-named":[yF],columns:[{columns:[Ze,Fe,we,d]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Rr,"auto",we,Fe]}],basis:[{basis:[Ia,"full","auto",d,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ze,Ia,"auto","initial","none",Fe]}],grow:[{grow:["",Ze,we,Fe]}],shrink:[{shrink:["",Ze,we,Fe]}],order:[{order:[Rr,"first","last","none",we,Fe]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":J()}],"auto-rows":[{"auto-rows":J()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[d,"screen",...Z()]}],"min-w":[{"min-w":[d,"screen","none",...Z()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[x]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",a,As,pi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,FF,bF]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Cu,Fe]}],"font-family":[{font:[vF,AF,n]}],"font-features":[{"font-features":[Fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,we,Fe]}],"line-clamp":[{"line-clamp":[Ze,"none",we,Y9]}],leading:[{leading:[c,...z()]}],"list-image":[{"list-image":["none",we,Fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,Fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ze,"from-font","auto",we,pi]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[Ze,"auto",we,Fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[Rr,we,Fe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:_()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Rr,we,Fe],radial:["",we,Fe],conic:[Rr,we,Fe]},DF,BF]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:Ee()}],"rounded-s":[{"rounded-s":Ee()}],"rounded-e":[{"rounded-e":Ee()}],"rounded-t":[{"rounded-t":Ee()}],"rounded-r":[{"rounded-r":Ee()}],"rounded-b":[{"rounded-b":Ee()}],"rounded-l":[{"rounded-l":Ee()}],"rounded-ss":[{"rounded-ss":Ee()}],"rounded-se":[{"rounded-se":Ee()}],"rounded-ee":[{"rounded-ee":Ee()}],"rounded-es":[{"rounded-es":Ee()}],"rounded-tl":[{"rounded-tl":Ee()}],"rounded-tr":[{"rounded-tr":Ee()}],"rounded-br":[{"rounded-br":Ee()}],"rounded-bl":[{"rounded-bl":Ee()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-bs":[{"border-bs":N()}],"border-color-be":[{"border-be":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ze,we,Fe]}],"outline-w":[{outline:["",Ze,As,pi]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",E,D0,k0]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",h,D0,k0]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[Ze,pi]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",y,D0,k0]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[Ze,we,Fe]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ge()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ze]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[we,Fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[Ze]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:_()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,Fe]}],filter:[{filter:["","none",we,Fe]}],blur:[{blur:ft()}],brightness:[{brightness:[Ze,we,Fe]}],contrast:[{contrast:[Ze,we,Fe]}],"drop-shadow":[{"drop-shadow":["","none",C,D0,k0]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",Ze,we,Fe]}],"hue-rotate":[{"hue-rotate":[Ze,we,Fe]}],invert:[{invert:["",Ze,we,Fe]}],saturate:[{saturate:[Ze,we,Fe]}],sepia:[{sepia:["",Ze,we,Fe]}],"backdrop-filter":[{"backdrop-filter":["","none",we,Fe]}],"backdrop-blur":[{"backdrop-blur":ft()}],"backdrop-brightness":[{"backdrop-brightness":[Ze,we,Fe]}],"backdrop-contrast":[{"backdrop-contrast":[Ze,we,Fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ze,we,Fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ze,we,Fe]}],"backdrop-invert":[{"backdrop-invert":["",Ze,we,Fe]}],"backdrop-opacity":[{"backdrop-opacity":[Ze,we,Fe]}],"backdrop-saturate":[{"backdrop-saturate":[Ze,we,Fe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ze,we,Fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,Fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ze,"initial",we,Fe]}],ease:[{ease:["linear","initial",k,we,Fe]}],delay:[{delay:[Ze,we,Fe]}],animate:[{animate:["none",T,we,Fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,we,Fe]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:xt()}],"rotate-x":[{"rotate-x":xt()}],"rotate-y":[{"rotate-y":xt()}],"rotate-z":[{"rotate-z":xt()}],scale:[{scale:$t()}],"scale-x":[{"scale-x":$t()}],"scale-y":[{"scale-y":$t()}],"scale-z":[{"scale-z":$t()}],"scale-3d":["scale-3d"],skew:[{skew:Gt()}],"skew-x":[{"skew-x":Gt()}],"skew-y":[{"skew-y":Gt()}],transform:[{transform:[we,Fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ot()}],"translate-x":[{"translate-x":ot()}],"translate-y":[{"translate-y":ot()}],"translate-z":[{"translate-z":ot()}],"translate-none":["translate-none"],zoom:[{zoom:[Rr,we,Fe]}],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,Fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":N()}],"scrollbar-track-color":[{"scrollbar-track":N()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,Fe]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[Ze,As,pi,Y9]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},_F=sF(SF);function Ce(...e){return _F(PD(e))}const NF=200;function I2(e,n){const a=new Map;for(const i of n??[]){const s=i.slice(i.lastIndexOf("/")+1),c=a.get(s);c?c.push(i):a.set(s,[i])}return i=>{const s=MF(i);if(!s)return null;const{path:c,location:x}=s;if(c.startsWith("/")||c.startsWith("~/"))return c+x;if(!e)return null;const d=TF(a,c);return d?`${e}/${d}${x}`:null}}function MF(e){if(!e||e.length>NF||/\s/.test(e)||e.includes("://"))return null;const n=e.match(/:([1-9]\d*)(?::\d+)?$/),a=n?n[0]:"",i=n?e.slice(0,-a.length):e;return i.startsWith("../")||i.includes("/../")?null:i2(i)?{path:i.startsWith("./")?i.slice(2):i,location:a}:null}function TF(e,n){const a=n.slice(n.lastIndexOf("/")+1),i=e.get(a);if(!i)return null;const s=i.filter(c=>c===n||c.endsWith(`/${n}`));return s.length===1?s[0]:null}const H2=D.createContext(null),jF=H2.Provider,RF=I2(null,void 0);function q2(e){const n=D.useContext(H2)??RF;return e===null?null:n(e)}function OF(e){const n=[],a=e.split(yk);for(let i=0;i<a.length;i++){const s=a[i];if(i===0){s&&n.push({text:s,hit:!1});continue}const c=s.indexOf(Ck);if(c<0){s&&n.push({text:s,hit:!0});continue}const x=s.slice(0,c),d=s.slice(c+1);x&&n.push({text:x,hit:!0}),d&&n.push({text:d,hit:!1})}return n}function $2(e){return e.state==="setting_up"}const zF={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-attention)",checks_failed:"var(--color-pr-attention)",checks_pending:"var(--color-working)",mergeable:"var(--color-pr-mergeable)"};function LF(e){return $2(e)?{color:"var(--color-muted)",spinning:!0}:{color:e.pr_status&&zF[e.pr_status]||"var(--color-done)",spinning:e.session_status==="working"||e.pr_status==="checks_pending"}}function PF(e){return e.pr_status==="merged"}function UF(e){return Vd(e)==="done"}function Vd(e){return $2(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const Z9=["done","in-review","in-progress","setting-up","backlog","canceled"],IF=["backlog","in-progress","in-review","done","canceled"];function ld(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const HF=["today","yesterday","week","month","older"];function qF(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function W9(e){const n=new Date(e);return n.setHours(0,0,0,0),n.getTime()}function $F(e,n=new Date){const a=new Date(qn(e));if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((W9(n)-W9(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const Qd={done:"var(--color-pr-merged)","in-review":"var(--color-pr-mergeable)","in-progress":"var(--color-done)","setting-up":"var(--color-muted)"};function G2(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}const sd=e=>e.toLowerCase().replace(/[^a-z0-9]/g,""),J9=e=>sd(e.replace(/[\s\-_]\d+[mk]$/i,""));function V2(e,n=[]){const a=G2(e);if(!a)return"";const i=a.split("/").pop()??a,s=i.split(":").pop()??i;return GF(s,n)??VF(s)}function GF(e,n){const a=sd(e);if(!a)return;const i=n.find(c=>sd(c)===a);if(i)return i;const s=n.filter(c=>J9(c)===J9(e));return s.length===1?s[0]:void 0}function VF(e){const n=QF(e.split("-")),a=i=>i?i.toLowerCase()==="1m"?"1M":i[0].toUpperCase()+i.slice(1):"";return n[0]==="gpt"&&n[1]?[n[1],...n.slice(2).map(a)].join(" "):/^(opus|sonnet|haiku|fable)$/.test(n[0]??"")?n.map(a).join(" "):e}function QF(e){const n=[];for(const a of e){const i=n[n.length-1];i!==void 0&&/^\d+$/.test(a)&&/^\d[\d.]*$/.test(i)?n[n.length-1]=`${i}.${a}`:n.push(a)}return n}function H0(e,n=120){const i=(e.split(`
|
|
11
|
+
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let E=Cr(),h;if(n){let v=typeof n=="string"?gl(n):n;Rt(u==="/"||v.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${v.pathname}" was given in the \`location\` prop.`),h=v}else h=E;let y=h.pathname||"/",C=y;if(u!=="/"){let v=u.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(v.length).join("/")}let b=a&&a.state.matches.length?a.state.matches.map(v=>Object.assign(v,{route:a.manifest[v.route.id]||v.route})):A8(e,{pathname:C});mr(f||b!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),mr(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let A=Sy(b&&b.map(v=>Object.assign({},v,{params:Object.assign({},x,v.params),pathname:Fr([u,i.encodeLocation?i.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?u:Fr([u,i.encodeLocation?i.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),s,a);return n&&A?D.createElement(Ks.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...h},navigationType:"POP"}},A):A}function ky(){let e=jy(),n=ly(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i},x=null;return console.error("Error handled by React Router default ErrorBoundary:",e),x=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:c},"ErrorBoundary")," or"," ",D.createElement("code",{style:c},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},n),a?D.createElement("pre",{style:s},a):null,x)}var Dy=D.createElement(ky,null),L8=class extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=Ey(e.digest);a&&(e=a)}let n=e!==void 0?D.createElement(yr.Provider,{value:this.props.routeContext},D.createElement(Sd.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?D.createElement(Fy,{error:e},n):n}};L8.contextType=M8;var hu=new WeakMap;function Fy({children:e,error:n}){let{basename:a}=D.useContext(ar);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=my(n.digest);if(i){let s=hu.get(n);if(s)throw s;let c=_8(i.location,a),x=c.absoluteURL||c.to;if(xy(x))throw new Error("Invalid redirect location");if(S8&&!hu.get(n))if(c.isExternal||i.reloadDocument)window.location.href=x;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:i.replace}));throw hu.set(n,d),d}return D.createElement("meta",{httpEquiv:"refresh",content:`0;url=${x}`})}}return e}function wy({routeContext:e,match:n,children:a}){let i=D.useContext(yl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),D.createElement(yr.Provider,{value:e},a)}function Sy(e,n=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,c=i?.errors;if(c!=null){let E=s.findIndex(h=>h.route.id&&c?.[h.route.id]!==void 0);Rt(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,E+1))}let x=!1,d=-1;if(a&&i){x=i.renderFallback;for(let E=0;E<s.length;E++){let h=s[E];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(d=E),h.route.id){let{loaderData:y,errors:C}=i,b=h.route.loader&&!y.hasOwnProperty(h.route.id)&&(!C||C[h.route.id]===void 0);if(h.route.lazy||b){a.isStatic&&(x=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let u=a?.onError,f=i&&u?(E,h)=>{u(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:sy(i.matches),errorInfo:h})}:void 0;return s.reduceRight((E,h,y)=>{let C,b=!1,A=null,v=null;i&&(C=c&&h.route.id?c[h.route.id]:void 0,A=h.route.errorElement||Dy,x&&(d<0&&y===0?(P8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,v=null):d===y&&(b=!0,v=h.route.hydrateFallbackElement||null)));let k=n.concat(s.slice(0,y+1)),T=()=>{let F;return C?F=A:b?F=v:h.route.Component?F=D.createElement(h.route.Component,null):h.route.element?F=h.route.element:F=E,D.createElement(wy,{match:h,routeContext:{outlet:E,matches:k,isDataRoute:i!=null},children:F})};return i&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?D.createElement(L8,{location:i.location,revalidation:i.revalidation,component:A,error:C,children:T(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:f}):T()},null)}function _d(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function _y(e){let n=D.useContext(yl);return Rt(n,_d(e)),n}function Ny(e){let n=D.useContext(Z0);return Rt(n,_d(e)),n}function My(e){let n=D.useContext(yr);return Rt(n,_d(e)),n}function Nd(e){let n=My(e),a=n.matches[n.matches.length-1];return Rt(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function Ty(){return Nd("useRouteId")}function jy(){let e=D.useContext(Sd),n=Ny("useRouteError"),a=Nd("useRouteError");return e!==void 0?e:n.errors?.[a]}function Ry(){let{router:e}=_y("useNavigate"),n=Nd("useNavigate"),a=D.useRef(!1);return O8(()=>{a.current=!0}),D.useCallback(async(s,c={})=>{mr(a.current,R8),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:n,...c}))},[e,n])}var C9={};function P8(e,n,a){!n&&!C9[e]&&(C9[e]=!0,mr(!1,a))}D.memo(Oy);function Oy({routes:e,manifest:n,future:a,state:i,isStatic:s,onError:c}){return z8(e,void 0,{manifest:n,state:i,isStatic:s,onError:c})}function zy({to:e,replace:n,state:a,relative:i}){Rt(ki(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=D.useContext(ar);mr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=D.useContext(yr),{pathname:x}=Cr(),d=Cl(),u=X0(e,wd(c),x,i==="path"),f=JSON.stringify(u);return D.useEffect(()=>{d(JSON.parse(f),{replace:n,state:a,relative:i})},[d,f,i,n,a]),null}function Ly(e){return Ay(e.context)}function _s(e){Rt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Py({basename:e="/",children:n=null,location:a,navigationType:i="POP",navigator:s,static:c=!1,useTransitions:x}){Rt(!ki(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),u=D.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:x,future:{}}),[d,s,c,x]);typeof a=="string"&&(a=gl(a));let{pathname:f="/",search:E="",hash:h="",state:y=null,key:C="default",mask:b}=a,A=D.useMemo(()=>{let v=oa(f,d);return v==null?null:{location:{pathname:v,search:E,hash:h,state:y,key:C,mask:b},navigationType:i}},[d,f,E,h,y,C,i,b]);return mr(A!=null,`<Router basename="${d}"> is not able to match the URL "${f}${E}${h}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:D.createElement(ar.Provider,{value:u},D.createElement(Ks.Provider,{children:n,value:A}))}function Uy({children:e,location:n}){return vy(Zu(e),n)}function Zu(e,n=[]){let a=[];return D.Children.forEach(e,(i,s)=>{if(!D.isValidElement(i))return;let c=[...n,s];if(i.type===D.Fragment){a.push.apply(a,Zu(i.props.children,c));return}Rt(i.type===_s,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Rt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let x={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(x.children=Zu(i.props.children,c)),a.push(x)}),a}var T0="get",j0="application/x-www-form-urlencoded";function W0(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Iy(e){return W0(e)&&e.tagName.toLowerCase()==="button"}function Hy(e){return W0(e)&&e.tagName.toLowerCase()==="form"}function qy(e){return W0(e)&&e.tagName.toLowerCase()==="input"}function $y(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Gy(e,n){return e.button===0&&(!n||n==="_self")&&!$y(e)}function Wu(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,a)=>{let i=e[a];return n.concat(Array.isArray(i)?i.map(s=>[a,s]):[[a,i]])},[]))}function Vy(e,n){let a=Wu(e);return n&&n.forEach((i,s)=>{a.has(s)||n.getAll(s).forEach(c=>{a.append(s,c)})}),a}var C0=null;function Qy(){if(C0===null)try{new FormData(document.createElement("form"),0),C0=!1}catch{C0=!0}return C0}var Yy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pu(e){return e!=null&&!Yy.has(e)?(mr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${j0}"`),null):e}function Ky(e,n){let a,i,s,c,x;if(Hy(e)){let d=e.getAttribute("action");i=d?oa(d,n):null,a=e.getAttribute("method")||T0,s=pu(e.getAttribute("enctype"))||j0,c=new FormData(e)}else if(Iy(e)||qy(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||d.getAttribute("action");if(i=u?oa(u,n):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||T0,s=pu(e.getAttribute("formenctype"))||pu(d.getAttribute("enctype"))||j0,c=new FormData(d,e),!Qy()){let{name:f,type:E,value:h}=e;if(E==="image"){let y=f?`${f}.`:"";c.append(`${y}x`,"0"),c.append(`${y}y`,"0")}else f&&c.append(f,h)}}else{if(W0(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=T0,i=null,s=j0,x=e}return c&&s==="text/plain"&&(x=c,c=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:c,body:x}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Md(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function U8(e,n,a,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:n&&oa(s.pathname,n)==="/"?s.pathname=`${P0(n)}/_root.${i}`:s.pathname=`${P0(s.pathname)}.${i}`,s}async function Xy(e,n){if(e.id in n)return n[e.id];try{let a=await import(e.module);return n[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Zy(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Wy(e,n,a){let i=await Promise.all(e.map(async s=>{let c=n.routes[s.route.id];if(c){let x=await Xy(c,a);return x.links?x.links():[]}return[]}));return n7(i.flat(1).filter(Zy).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function b9(e,n,a,i,s,c){let x=(u,f)=>a[f]?u.route.id!==a[f].route.id:!0,d=(u,f)=>a[f].pathname!==u.pathname||a[f].route.path?.endsWith("*")&&a[f].params["*"]!==u.params["*"];return c==="assets"?n.filter((u,f)=>x(u,f)||d(u,f)):c==="data"?n.filter((u,f)=>{let E=i.routes[u.route.id];if(!E||!E.hasLoader)return!1;if(x(u,f)||d(u,f))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function Jy(e,n,{includeHydrateFallback:a}={}){return e7(e.map(i=>{let s=n.routes[i.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function e7(e){return[...new Set(e)]}function t7(e){let n={},a=Object.keys(e).sort();for(let i of a)n[i]=e[i];return n}function n7(e,n){let a=new Set;return new Set(n),e.reduce((i,s)=>{let c=JSON.stringify(t7(s));return a.has(c)||(a.add(c),i.push({key:c,link:s})),i},[])}function Td(){let e=D.useContext(yl);return Md(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function r7(){let e=D.useContext(Z0);return Md(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var jd=D.createContext(void 0);jd.displayName="FrameworkContext";function J0(){let e=D.useContext(jd);return Md(e,"You must render this element inside a <HydratedRouter> element"),e}function a7(e,n){let a=D.useContext(jd),[i,s]=D.useState(!1),[c,x]=D.useState(!1),{onFocus:d,onBlur:u,onMouseEnter:f,onMouseLeave:E,onTouchStart:h}=n,y=D.useRef(null);D.useEffect(()=>{if(e==="render"&&x(!0),e==="viewport"){let A=k=>{k.forEach(T=>{x(T.isIntersecting)})},v=new IntersectionObserver(A,{threshold:.5});return y.current&&v.observe(y.current),()=>{v.disconnect()}}},[e]),D.useEffect(()=>{if(i){let A=setTimeout(()=>{x(!0)},100);return()=>{clearTimeout(A)}}},[i]);let C=()=>{s(!0)},b=()=>{s(!1),x(!1)};return a?e!=="intent"?[c,y,{}]:[c,y,{onFocus:Cs(d,C),onBlur:Cs(u,b),onMouseEnter:Cs(f,C),onMouseLeave:Cs(E,b),onTouchStart:Cs(h,C)}]:[!1,y,{}]}function Cs(e,n){return a=>{e&&e(a),a.defaultPrevented||n(a)}}function i7({page:e,...n}){let a=uy(),{nonce:i}=J0(),{router:s}=Td(),c=D.useMemo(()=>A8(s.routes,e,s.basename),[s.routes,e,s.basename]);return c?(n.nonce==null&&i&&(n={...n,nonce:i}),a?D.createElement(s7,{page:e,matches:c,...n}):D.createElement(o7,{page:e,matches:c,...n})):null}function l7(e){let{manifest:n,routeModules:a}=J0(),[i,s]=D.useState([]);return D.useEffect(()=>{let c=!1;return Wy(e,n,a).then(x=>{c||s(x)}),()=>{c=!0}},[e,n,a]),i}function s7({page:e,matches:n,...a}){let i=Cr(),{future:s}=J0(),{basename:c}=Td(),x=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let d=U8(e,c,s.v8_trailingSlashAwareDataRequests,"rsc"),u=!1,f=[];for(let E of n)typeof E.route.shouldRevalidate=="function"?u=!0:f.push(E.route.id);return u&&f.length>0&&d.searchParams.set("_routes",f.join(",")),[d.pathname+d.search]},[c,s.v8_trailingSlashAwareDataRequests,e,i,n]);return D.createElement(D.Fragment,null,x.map(d=>D.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...a})))}function o7({page:e,matches:n,...a}){let i=Cr(),{future:s,manifest:c,routeModules:x}=J0(),{basename:d}=Td(),{loaderData:u,matches:f}=r7(),E=D.useMemo(()=>b9(e,n,f,c,i,"data"),[e,n,f,c,i]),h=D.useMemo(()=>b9(e,n,f,c,i,"assets"),[e,n,f,c,i]),y=D.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let A=new Set,v=!1;if(n.forEach(T=>{let F=c.routes[T.route.id];!F||!F.hasLoader||(!E.some(j=>j.route.id===T.route.id)&&T.route.id in u&&x[T.route.id]?.shouldRevalidate||F.hasClientLoader?v=!0:A.add(T.route.id))}),A.size===0)return[];let k=U8(e,d,s.v8_trailingSlashAwareDataRequests,"data");return v&&A.size>0&&k.searchParams.set("_routes",n.filter(T=>A.has(T.route.id)).map(T=>T.route.id).join(",")),[k.pathname+k.search]},[d,s.v8_trailingSlashAwareDataRequests,u,i,c,E,n,e,x]),C=D.useMemo(()=>Jy(h,c),[h,c]),b=l7(h);return D.createElement(D.Fragment,null,y.map(A=>D.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...a})),C.map(A=>D.createElement("link",{key:A,rel:"modulepreload",href:A,...a})),b.map(({key:A,link:v})=>D.createElement("link",{key:A,nonce:a.nonce,...v,crossOrigin:v.crossOrigin??a.crossOrigin})))}function c7(...e){return n=>{e.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})}}var x7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{x7&&(window.__reactRouterVersion="7.18.1")}catch{}function u7({basename:e,children:n,useTransitions:a,window:i}){let s=D.useRef();s.current==null&&(s.current=L4({window:i,v5Compat:!0}));let c=s.current,[x,d]=D.useState({action:c.action,location:c.location}),u=D.useCallback(f=>{a===!1?d(f):D.startTransition(()=>d(f))},[a]);return D.useLayoutEffect(()=>c.listen(u),[c,u]),D.createElement(Py,{basename:e,children:n,location:x.location,navigationType:x.action,navigator:c,useTransitions:a})}var I8=D.forwardRef(function({onClick:n,discover:a="render",prefetch:i="none",relative:s,reloadDocument:c,replace:x,mask:d,state:u,target:f,to:E,preventScrollReset:h,viewTransition:y,defaultShouldRevalidate:C,...b},A){let{basename:v,navigator:k,useTransitions:T}=D.useContext(ar),F=typeof E=="string"&&Fd.test(E),j=_8(E,v);E=j.to;let O=gy(E,{relative:s}),M=Cr(),R=null;if(d){let P=X0(d,[],M.mask?M.mask.pathname:"/",!0);v!=="/"&&(P.pathname=P.pathname==="/"?v:Fr([v,P.pathname])),R=k.createHref(P)}let[z,$,L]=a7(i,b),V=p7(E,{replace:x,mask:d,state:u,target:f,preventScrollReset:h,relative:s,viewTransition:y,defaultShouldRevalidate:C,useTransitions:T});function Y(P){n&&n(P),P.defaultPrevented||V(P)}let J=!(j.isExternal||c),X=D.createElement("a",{...b,...L,href:(J?R:void 0)||j.absoluteURL||O,onClick:J?Y:n,ref:c7(A,$),target:f,"data-discover":!F&&a==="render"?"true":void 0});return z&&!F?D.createElement(D.Fragment,null,X,D.createElement(i7,{page:O})):X});I8.displayName="Link";var d7=D.forwardRef(function({"aria-current":n="page",caseSensitive:a=!1,className:i="",end:s=!1,style:c,to:x,viewTransition:d,children:u,...f},E){let h=Xs(x,{relative:f.relative}),y=Cr(),C=D.useContext(Z0),{navigator:b,basename:A}=D.useContext(ar),v=C!=null&&C7(h)&&d===!0,k=b.encodeLocation?b.encodeLocation(h).pathname:h.pathname,T=y.pathname,F=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(T=T.toLowerCase(),F=F?F.toLowerCase():null,k=k.toLowerCase()),F&&A&&(F=oa(F,A)||F);const j=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let O=T===k||!s&&T.startsWith(k)&&T.charAt(j)==="/",M=F!=null&&(F===k||!s&&F.startsWith(k)&&F.charAt(k.length)==="/"),R={isActive:O,isPending:M,isTransitioning:v},z=O?n:void 0,$;typeof i=="function"?$=i(R):$=[i,O?"active":null,M?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let L=typeof c=="function"?c(R):c;return D.createElement(I8,{...f,"aria-current":z,className:$,ref:E,style:L,to:x,viewTransition:d},typeof u=="function"?u(R):u)});d7.displayName="NavLink";var f7=D.forwardRef(({discover:e="render",fetcherKey:n,navigate:a,reloadDocument:i,replace:s,state:c,method:x=T0,action:d,onSubmit:u,relative:f,preventScrollReset:E,viewTransition:h,defaultShouldRevalidate:y,...C},b)=>{let{useTransitions:A}=D.useContext(ar),v=g7(),k=y7(d,{relative:f}),T=x.toLowerCase()==="get"?"get":"post",F=typeof d=="string"&&Fd.test(d),j=O=>{if(u&&u(O),O.defaultPrevented)return;O.preventDefault();let M=O.nativeEvent.submitter,R=M?.getAttribute("formmethod")||x,z=()=>v(M||O.currentTarget,{fetcherKey:n,method:R,navigate:a,replace:s,state:c,relative:f,preventScrollReset:E,viewTransition:h,defaultShouldRevalidate:y});A&&a!==!1?D.startTransition(()=>z()):z()};return D.createElement("form",{ref:b,method:T,action:k,onSubmit:i?u:j,...C,"data-discover":!F&&e==="render"?"true":void 0})});f7.displayName="Form";function h7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function H8(e){let n=D.useContext(yl);return Rt(n,h7(e)),n}function p7(e,{target:n,replace:a,mask:i,state:s,preventScrollReset:c,relative:x,viewTransition:d,defaultShouldRevalidate:u,useTransitions:f}={}){let E=Cl(),h=Cr(),y=Xs(e,{relative:x});return D.useCallback(C=>{if(Gy(C,n)){C.preventDefault();let b=a!==void 0?a:Ps(h)===Ps(y),A=()=>E(e,{replace:b,mask:i,state:s,preventScrollReset:c,relative:x,viewTransition:d,defaultShouldRevalidate:u});f?D.startTransition(()=>A()):A()}},[h,E,y,a,i,s,n,e,c,x,d,u,f])}function q8(e){mr(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=D.useRef(Wu(e)),a=D.useRef(!1),i=Cr(),s=D.useMemo(()=>Vy(i.search,a.current?null:n.current),[i.search]),c=Cl(),x=D.useCallback((d,u)=>{const f=Wu(typeof d=="function"?d(new URLSearchParams(s)):d);a.current=!0,c("?"+f,u)},[c,s]);return[s,x]}var m7=0,E7=()=>`__${String(++m7)}__`;function g7(){let{router:e}=H8("useSubmit"),{basename:n}=D.useContext(ar),a=Ty(),i=e.fetch,s=e.navigate;return D.useCallback(async(c,x={})=>{let{action:d,method:u,encType:f,formData:E,body:h}=Ky(c,n);if(x.navigate===!1){let y=x.fetcherKey||E7();await i(y,a,x.action||d,{defaultShouldRevalidate:x.defaultShouldRevalidate,preventScrollReset:x.preventScrollReset,formData:E,body:h,formMethod:x.method||u,formEncType:x.encType||f,flushSync:x.flushSync})}else await s(x.action||d,{defaultShouldRevalidate:x.defaultShouldRevalidate,preventScrollReset:x.preventScrollReset,formData:E,body:h,formMethod:x.method||u,formEncType:x.encType||f,replace:x.replace,state:x.state,fromRouteId:a,flushSync:x.flushSync,viewTransition:x.viewTransition})},[i,s,n,a])}function y7(e,{relative:n}={}){let{basename:a}=D.useContext(ar),i=D.useContext(yr);Rt(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),c={...Xs(e||".",{relative:n})},x=Cr();if(e==null){c.search=x.search;let d=new URLSearchParams(c.search),u=d.getAll("index");if(u.some(E=>E==="")){d.delete("index"),u.filter(h=>h).forEach(h=>d.append("index",h));let E=d.toString();c.search=E?`?${E}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:Fr([a,c.pathname])),Ps(c)}function C7(e,{relative:n}={}){let a=D.useContext(T8);Rt(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=H8("useViewTransitionState"),s=Xs(e,{relative:n});if(!a.isTransitioning)return!1;let c=oa(a.currentLocation.pathname,i)||a.currentLocation.pathname,x=oa(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Us(s.pathname,x)!=null||Us(s.pathname,c)!=null}const b7="modulepreload",A7=function(e){return"/"+e},A9={},B7=function(n,a,i){let s=Promise.resolve();if(a&&a.length>0){let f=function(E){return Promise.all(E.map(h=>Promise.resolve(h).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var x=f;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),u=d?.nonce||d?.getAttribute("nonce");s=f(a.map(E=>{if(E=A7(E),E in A9)return;A9[E]=!0;const h=E.endsWith(".css"),y=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=h?"stylesheet":b7,h||(C.as="script"),C.crossOrigin="",C.href=E,u&&C.setAttribute("nonce",u),document.head.appendChild(C),h)return new Promise((b,A)=>{C.addEventListener("load",b),C.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${E}`)))})}))}function c(d){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=d,window.dispatchEvent(u),!u.defaultPrevented)throw d}return s.then(d=>{for(const u of d||[])u.status==="rejected"&&c(u.reason);return n().catch(c)})};function v7(e={}){const{immediate:n=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:c,onRegisteredSW:x,onRegisterError:d}=e;let u,f,E;const h=async(C=!0)=>{await f,E?.()};async function y(){if("serviceWorker"in navigator){if(u=await B7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{d?.(C)}),!u)return;E=()=>{u?.messageSkipWaiting()};{let C=!1;const b=()=>{C=!0,u?.addEventListener("controlling",A=>{A.isUpdate&&(a?a():window.location.reload())}),i?.()};u.addEventListener("installed",A=>{typeof A.isUpdate>"u"?typeof A.isExternal<"u"&&A.isExternal?b():!C&&s?.():A.isUpdate||s?.()}),u.addEventListener("waiting",b)}u.register({immediate:n}).then(C=>{x?x("/sw.js",C):c?.(C)}).catch(C=>{d?.(C)})}}return f=y(),h}function k7(e={}){const{immediate:n=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:s,onRegistered:c,onRegisteredSW:x,onRegisterError:d}=e,[u,f]=D.useState(!1),[E,h]=D.useState(!1),[y]=D.useState(()=>v7({immediate:n,onNeedReload:a,onOfflineReady(){h(!0),s?.()},onNeedRefresh(){f(!0),i?.()},onRegistered:c,onRegisteredSW:x,onRegisterError:d}));return{needRefresh:[u,f],offlineReady:[E,h],updateServiceWorker:y}}const $8=(...e)=>e.filter((n,a,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===a).join(" ").trim();const D7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const F7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,i)=>i?i.toUpperCase():a.toLowerCase());const B9=e=>{const n=F7(e);return n.charAt(0).toUpperCase()+n.slice(1)};var w7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const S7=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};const _7=D.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:s="",children:c,iconNode:x,...d},u)=>D.createElement("svg",{ref:u,...w7,width:n,height:n,stroke:e,strokeWidth:i?Number(a)*24/Number(n):a,className:$8("lucide",s),...!c&&!S7(d)&&{"aria-hidden":"true"},...d},[...x.map(([f,E])=>D.createElement(f,E)),...Array.isArray(c)?c:[c]]));const G=(e,n)=>{const a=D.forwardRef(({className:i,...s},c)=>D.createElement(_7,{ref:c,iconNode:n,className:$8(`lucide-${D7(B9(e))}`,`lucide-${e}`,i),...s}));return a.displayName=B9(e),a};const N7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],M7=G("activity",N7);const T7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],j7=G("anchor",T7);const R7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],O7=G("apple",R7);const z7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]],L7=G("archive-x",z7);const P7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Rd=G("archive",P7);const U7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],I7=G("arrow-up-right",U7);const H7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],q7=G("arrow-up",H7);const $7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],G7=G("atom",$7);const V7=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Q7=G("award",V7);const Y7=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],K7=G("banknote",Y7);const X7=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],Z7=G("battery",X7);const W7=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],J7=G("beer",W7);const e3=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],G8=G("bell",e3);const t3=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],n3=G("bike",t3);const r3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],a3=G("bird",r3);const i3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],l3=G("bluetooth",i3);const s3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],o3=G("book-open",s3);const c3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],x3=G("book",c3);const u3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],d3=G("bookmark",u3);const f3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],V8=G("bot",f3);const h3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],p3=G("box",h3);const m3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],E3=G("brain",m3);const g3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],y3=G("briefcase",g3);const C3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],b3=G("brush",C3);const A3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],B3=G("bug-play",A3);const v3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],k3=G("bug",v3);const D3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],F3=G("building-2",D3);const w3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],S3=G("building",w3);const _3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],N3=G("cake",_3);const M3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],T3=G("calendar",M3);const j3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],R3=G("camera",j3);const O3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],z3=G("car",O3);const L3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],P3=G("carrot",L3);const U3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],I3=G("cat",U3);const H3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],q3=G("chart-bar",H3);const $3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],G3=G("chart-line",$3);const V3=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Q3=G("chart-pie",V3);const Y3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ca=G("check",Y3);const K3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ua=G("chevron-down",K3);const X3=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Z3=G("chevron-up",X3);const W3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],J3=G("circle-x",W3);const eC=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],tC=G("clapperboard",eC);const nC=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],rC=G("clock",nC);const aC=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],iC=G("cloud-off",aC);const lC=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],sC=G("cloud-upload",lC);const oC=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],cC=G("cloud",oC);const xC=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],uC=G("code-xml",xC);const dC=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],fC=G("code",dC);const hC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],pC=G("coffee",hC);const mC=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],EC=G("cog",mC);const gC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yC=G("compass",gC);const CC=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Od=G("copy",CC);const bC=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],AC=G("cpu",bC);const BC=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],vC=G("credit-card",BC);const kC=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],DC=G("crown",kC);const FC=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],wC=G("database",FC);const SC=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],_C=G("dna",SC);const NC=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],MC=G("dog",NC);const TC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],jC=G("dollar-sign",TC);const RC=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],OC=G("dumbbell",RC);const zC=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],LC=G("earth",zC);const PC=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],UC=G("egg",PC);const IC=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],HC=G("external-link",IC);const qC=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],$C=G("factory",qC);const GC=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],VC=G("feather",GC);const QC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],YC=G("file-code",QC);const KC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Q8=G("file-diff",KC);const XC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],ZC=G("file",XC);const WC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],JC=G("film",WC);const eb=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],tb=G("fish",eb);const nb=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],rb=G("flag",nb);const ab=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],ib=G("flame",ab);const lb=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],sb=G("flask-conical",lb);const ob=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],cb=G("folder",ob);const xb=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],ub=G("funnel",xb);const db=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],fb=G("gamepad-2",db);const hb=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],pb=G("gauge",hb);const mb=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],Eb=G("gem",mb);const gb=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],yb=G("gift",gb);const Cb=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],bb=G("git-branch-plus",Cb);const Ab=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Bb=G("git-branch",Ab);const vb=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Y8=G("git-fork",vb);const kb=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],K8=G("git-merge",kb);const Db=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Fb=G("github",Db);const wb=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],Sb=G("glasses",wb);const _b=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Nb=G("globe",_b);const Mb=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],Tb=G("graduation-cap",Mb);const jb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Rb=G("grid-3x3",jb);const Ob=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],zb=G("hammer",Ob);const Lb=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Pb=G("headphones",Lb);const Ub=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],Ib=G("heart-pulse",Ub);const Hb=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],qb=G("heart",Hb);const $b=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],X8=G("hourglass",$b);const Gb=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Vb=G("house",Gb);const Qb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Yb=G("image",Qb);const Kb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Xb=G("info",Kb);const Zb=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Wb=G("key",Zb);const Jb=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],eA=G("laptop",Jb);const tA=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],nA=G("layers",tA);const rA=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],aA=G("layout-grid",rA);const iA=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],lA=G("leaf",iA);const sA=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],oA=G("lightbulb",sA);const cA=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],xA=G("link",cA);const uA=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],dA=G("list",uA);const fA=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],rr=G("loader-circle",fA);const hA=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],pA=G("lock",hA);const mA=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],EA=G("log-out",mA);const gA=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],yA=G("mail",gA);const CA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],bA=G("map-pin",CA);const AA=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Z8=G("map",AA);const BA=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],vA=G("martini",BA);const kA=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],DA=G("medal",kA);const FA=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],wA=G("message-circle",FA);const SA=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],_A=G("message-square",SA);const NA=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],MA=G("mic",NA);const TA=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],jA=G("microscope",TA);const RA=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],OA=G("monitor",RA);const zA=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],LA=G("moon",zA);const PA=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],UA=G("music",PA);const IA=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],HA=G("orbit",IA);const qA=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],$A=G("package",qA);const GA=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],VA=G("paintbrush",GA);const QA=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],YA=G("panel-left",QA);const KA=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],ec=G("paperclip",KA);const XA=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],ZA=G("paw-print",XA);const WA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],JA=G("pen",WA);const eB=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],tB=G("pencil",eB);const nB=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],rB=G("phone",nB);const aB=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],iB=G("pill",aB);const lB=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],sB=G("pipette",lB);const oB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],cB=G("pizza",oB);const xB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],uB=G("plane",xB);const dB=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],fB=G("play",dB);const hB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],pB=G("plug",hB);const mB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],W8=G("plus",mB);const EB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],gB=G("power",EB);const yB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],CB=G("puzzle",yB);const bB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],J8=G("qr-code",bB);const AB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],BB=G("rabbit",AB);const vB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],kB=G("radio",vB);const DB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Zs=G("refresh-cw",DB);const FB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],wB=G("rocket",FB);const SB=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],_B=G("rotate-ccw",SB);const NB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],MB=G("salad",NB);const TB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],jB=G("ruler",TB);const RB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],OB=G("satellite",RB);const zB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],LB=G("scissors",zB);const PB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],e2=G("search",PB);const UB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],IB=G("server",UB);const HB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],qB=G("settings",HB);const $B=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],GB=G("shell",$B);const VB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],QB=G("shield",VB);const YB=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],KB=G("ship",YB);const XB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],ZB=G("shopping-bag",XB);const WB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],JB=G("shopping-cart",WB);const ev=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],tv=G("sliders-horizontal",ev);const nv=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],rv=G("smartphone",nv);const av=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],iv=G("snail",av);const lv=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]],sv=G("snowflake",lv);const ov=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],cv=G("soup",ov);const xv=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],uv=G("sparkles",xv);const dv=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],fv=G("sprout",dv);const hv=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],t2=G("square",hv);const pv=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ju=G("star",pv);const mv=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],Ev=G("stethoscope",mv);const gv=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],yv=G("store",gv);const Cv=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],bv=G("sun-moon",Cv);const Av=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],n2=G("sun",Av);const Bv=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],vv=G("tag",Bv);const kv=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],Dv=G("tags",kv);const Fv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],wv=G("target",Fv);const Sv=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],_v=G("telescope",Sv);const Nv=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Mv=G("terminal",Nv);const Tv=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],jv=G("ticket",Tv);const Rv=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],Ov=G("train-front",Rv);const zv=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],Lv=G("tree-pine",zv);const Pv=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Uv=G("trending-up",Pv);const Iv=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],zd=G("triangle-alert",Iv);const Hv=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],qv=G("trophy",Hv);const $v=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],Gv=G("turtle",$v);const Vv=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Qv=G("user",Vv);const Yv=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Kv=G("users",Yv);const Xv=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],Zv=G("utensils",Xv);const Wv=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Jv=G("video",Wv);const ek=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],tk=G("wallet",ek);const nk=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],v9=G("wand-sparkles",nk);const rk=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],ak=G("warehouse",rk);const ik=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],lk=G("wheat",ik);const sk=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ld=G("wifi-off",sk);const ok=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],r2=G("wifi",ok);const ck=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],xk=G("wine",ck);const uk=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],dk=G("wrench",uk);const fk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Nn=G("x",fk);const hk=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],a2=G("zap",hk);function k9(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Zt(e,n){return{method:e,pattern:n,path:()=>n}}function kt(e,n){const[a,i]=n.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${n} declares no :param`);return{method:e,pattern:n,path:s=>`${a}${encodeURIComponent(s)}${i}`,re:new RegExp(`^${k9(a)}([^/]+)${k9(i)}$`)}}const be={state:Zt("GET","/api/state"),search:Zt("GET","/api/search"),repos:Zt("GET","/api/repos"),modelCatalog:Zt("GET","/api/models"),modelDefaults:Zt("GET","/api/models/defaults"),updateModelDefaults:Zt("PATCH","/api/models/defaults"),planUsage:Zt("GET","/api/usage"),repoIcon:kt("GET","/api/repos/:repo/icon"),localImage:kt("GET","/api/local-images/:path"),filePreview:kt("GET","/api/files/:reference"),toolImage:kt("GET","/api/tool-images/:reference"),stageAttachment:Zt("POST","/api/attachments"),discardStagedAttachment:kt("DELETE","/api/attachments/:attachmentId"),logs:Zt("GET","/api/logs"),restartConductor:Zt("POST","/api/conductor/restart"),settings:Zt("GET","/api/settings"),updateSettings:Zt("PATCH","/api/settings"),prefs:Zt("GET","/api/prefs"),updatePrefs:Zt("PATCH","/api/prefs"),armNoSleep:Zt("POST","/api/nosleep"),disarmNoSleep:Zt("DELETE","/api/nosleep"),push:Zt("GET","/api/push"),pushSubscribe:Zt("POST","/api/push/subscribe"),pushUnsubscribe:Zt("POST","/api/push/unsubscribe"),pushTest:Zt("POST","/api/push/test"),createWorkspace:Zt("POST","/api/workspaces"),workspace:kt("GET","/api/workspaces/:workspaceId"),sessions:kt("GET","/api/workspaces/:workspaceId/sessions"),newChat:kt("POST","/api/workspaces/:workspaceId/sessions"),diff:kt("GET","/api/workspaces/:workspaceId/diff"),workspaceFiles:kt("GET","/api/workspaces/:workspaceId/files"),merge:kt("POST","/api/workspaces/:workspaceId/merge"),continueWorkspace:kt("POST","/api/workspaces/:workspaceId/continue"),workspaceStatus:kt("POST","/api/workspaces/:workspaceId/status"),archiveWorkspace:kt("POST","/api/workspaces/:workspaceId/archive"),devServer:kt("GET","/api/workspaces/:workspaceId/dev-server"),startDevServer:kt("POST","/api/workspaces/:workspaceId/dev-server"),stopDevServer:kt("DELETE","/api/workspaces/:workspaceId/dev-server"),dismissFirstPrompt:kt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:kt("GET","/api/sessions/:sessionId/messages"),models:kt("GET","/api/sessions/:sessionId/models"),defaultModel:kt("POST","/api/sessions/:sessionId/default-model"),agent:kt("POST","/api/sessions/:sessionId/agent"),stop:kt("POST","/api/sessions/:sessionId/stop"),closeChat:kt("DELETE","/api/sessions/:sessionId"),sendPrompt:kt("POST","/api/sessions/:sessionId/prompt"),uploadAttachment:kt("POST","/api/sessions/:sessionId/attachments"),splitChat:kt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:kt("DELETE","/api/sessions/:sessionId/prompt")};function pk(e){const n=e??"",i=(n.includes("/")?n.slice(n.indexOf("/")+1):n).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function zr(e){return e.workspace_name||e.pr_title||pk(e.branch)||e.directory_name||e.id.slice(0,8)}function mk(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function qn(e){const n=/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)?$/.test(e);return Date.parse(n?`${e.replace(" ","T")}Z`:e)}function Pd(e){return e.endsWith(" NEW")?e.slice(0,-4):e}function ed(e){return Pd(e).replace(/^opencode-/i,"")}function Ek(e){const n=Pd(e).trim().toLowerCase();if(n.startsWith("anthropic/"))return"Anthropic";if(n.startsWith("openai/"))return"OpenAI";if(n.startsWith("cursor/"))return"Cursor";if(/^(claude|fable|haiku|opus|sonnet)(?:[\s-]|$)/.test(n))return"Anthropic";if(/^(?:auto|gpt|o[1-9]|\d)(?:[\s.-]|$)/.test(n))return"OpenAI";if(/^(composer|grok)(?:[\s-]|$)/.test(n))return"Cursor";if(/^opencode(?:-go)?\//.test(n))return"OpenCode";const a=n.indexOf("/");return a>0?n.slice(0,a):"Other"}function gk(e){const n=new Map;for(const a of e){const i=Pd(a).trim();if(!i)continue;const s=Ek(i),c=n.get(s)??[];c.includes(i)||c.push(i),n.set(s,c)}return[...n].map(([a,i])=>({label:a,models:i.sort((s,c)=>s.localeCompare(c))})).sort((a,i)=>a.label.localeCompare(i.label))}const yk="",Ck="",D9=".context/attachments/";function bk(e){const n=[];let a=0;for(;a<e.length;){const i=e.indexOf("@⟦",a);if(i<0)break;const s=e.indexOf("⟧(",i+2);if(s<0||/[\r\n]/.test(e.slice(i,s))){a=i+2;continue}const c=e.slice(i+2,s),x=s+2;let d=x,u=!1;for(;!u&&(d=e.indexOf(")",d),!(d<0));){const f=e.slice(x,d);try{const E=decodeURIComponent(f),h=E.startsWith(D9)?E.slice(D9.length):"",y=h.indexOf("/"),C=y<0?"":h.slice(0,y),b=y<0?"":h.slice(y+1);if(/^[A-Za-z0-9]{6}$/.test(C)&&b===c&&!b.includes("/")){n.push({start:i,end:d+1,name:c,path:E}),a=d+1,u=!0;continue}}catch{}d+=1}u||(a=i+2)}return n}const Ak=new Set([".bash",".c",".cc",".cpp",".css",".go",".h",".hpp",".html",".java",".js",".json",".jsx",".md",".mjs",".mts",".php",".py",".rb",".rs",".scss",".sh",".sql",".svg",".swift",".toml",".ts",".tsx",".txt",".yaml",".yml"]);function i2(e){const n=e.slice(e.lastIndexOf("/")+1),a=n.lastIndexOf(".");return a!==-1&&Ak.has(n.slice(a).toLowerCase())}function F9(e){return e.role==="tool"&&!e.tool&&e.output!==void 0}const Bk="The Mac is locked";function Bi(e){return(e??"").includes(Bk)}const vk="x-relay-device",Is="conductor-remote-token";function kk(){const n=new URLSearchParams(location.hash.slice(1)).get("token");return n&&(localStorage.setItem(Is,n),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(Is)}function Ud(){return localStorage.getItem(Is)}function Dk(){localStorage.removeItem(Is)}function Fk(e){localStorage.setItem(Is,e)}function wk(e){const n=e.trim();if(!n)return null;const a=n.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(n)?null:n}class Er extends Error{constructor(n,a){super(n),this.status=a}status}const l2=6e3,bn=45e3,Sk=75e3,_k=75e3,w9=75e3,Nk=75e3;async function $e(e,n={},a=l2){const i=Ud();let s;try{s=await fetch(e,{...n,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...n.headers}})}catch(c){throw c instanceof DOMException&&c.name==="TimeoutError"?new Er("Request timed out",0):c}if(!s.ok){const c=await s.json().catch(()=>({}));throw new Er(c.error||`HTTP ${s.status}`,s.status)}return s.json()}async function S9(e,n){const a=Ud();let i;try{i=await fetch(e,{method:"POST",body:n,signal:AbortSignal.timeout(bn),headers:{authorization:`Bearer ${a??""}`,"content-type":n.type||"application/octet-stream","x-attachment-name":encodeURIComponent(n.name),"x-client-timeout-ms":String(bn)}})}catch(s){throw s instanceof DOMException&&s.name==="TimeoutError"?new Er("Upload timed out",0):s}if(!i.ok){const s=await i.json().catch(()=>({}));throw new Er(s.error||`HTTP ${i.status}`,i.status)}return i.json()}const mu=new Map;async function Mk(e){const n=Ud(),a=await fetch(e,{headers:{authorization:`Bearer ${n??""}`},signal:AbortSignal.timeout(l2)});if(!a.ok)throw new Er(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}function Eu(e){let n=mu.get(e);return n||(n=Mk(e),n.catch(()=>mu.delete(e)),mu.set(e,n)),n}const Oe={state:()=>$e(be.state.path()),repoIcon:e=>Eu(be.repoIcon.path(e)),localImage:e=>Eu(be.localImage.path(e)),toolImage:e=>Eu(be.toolImage.path(e)),filePreview:e=>$e(be.filePreview.path(e)),stageAttachment:e=>S9(be.stageAttachment.path(),e),discardStagedAttachment:e=>$e(be.discardStagedAttachment.path(e),{method:be.discardStagedAttachment.method}),workspace:e=>$e(be.workspace.path(e)),sessions:e=>$e(be.sessions.path(e)),messages:(e,n,a)=>$e(`${be.messages.path(e)}?after=${n}`,{headers:a?{[vk]:a}:{}}),uploadAttachment:(e,n,a)=>S9(`${be.uploadAttachment.path(e)}?workspaceId=${encodeURIComponent(n)}`,a),diff:e=>$e(be.diff.path(e)),workspaceFiles:e=>$e(be.workspaceFiles.path(e)),sendPrompt:(e,n,a,i,s,c)=>$e(be.sendPrompt.path(e),{method:be.sendPrompt.method,body:JSON.stringify({text:n,workspaceId:a,agent:i,clientId:s,queue:c})},_k),stop:(e,n)=>$e(be.stop.path(e),{method:be.stop.method,body:JSON.stringify({workspaceId:n})},bn),closeChat:(e,n,a=!1)=>$e(be.closeChat.path(e),{method:be.closeChat.method,body:JSON.stringify({workspaceId:n,closeRunning:a})},bn),newChat:e=>$e(be.newChat.path(e),{method:be.newChat.method},bn),splitChat:(e,n,a,i,s,c)=>$e(be.splitChat.path(e),{method:be.splitChat.method,body:JSON.stringify({workspaceId:n,includeThinking:a,includeTools:i,throughRowid:s,onlyRowid:c})},bn),repos:()=>$e(be.repos.path()),modelCatalog:()=>$e(be.modelCatalog.path()),modelDefaults:()=>$e(be.modelDefaults.path()),patchModelDefaults:e=>$e(be.updateModelDefaults.path(),{method:be.updateModelDefaults.method,body:JSON.stringify(e)}),planUsage:(e=!1)=>$e(`${be.planUsage.path()}${e?"?refresh=1":""}`,{},15e3),search:(e,n=[],a=!0)=>{const i=new URLSearchParams({q:e});for(const s of n)i.append("repo",s);return a||i.set("archived","0"),$e(`${be.search.path()}?${i}`)},dismissPrompt:e=>$e(be.dismissFirstPrompt.path(e),{method:be.dismissFirstPrompt.method}),dismissParked:e=>$e(be.dismissParkedPrompt.path(e),{method:be.dismissParkedPrompt.method}),createWorkspace:(e,n,a=!0,i=[],s={})=>$e(be.createWorkspace.path(),{method:be.createWorkspace.method,body:JSON.stringify({repo:e,prompt:n,sendImmediately:a,attachmentIds:i,...s})},bn),setAgent:(e,n,a)=>$e(be.agent.path(e),{method:be.agent.method,body:JSON.stringify({...n,workspaceId:a})},bn),models:(e,n)=>$e(`${be.models.path(e)}?workspaceId=${encodeURIComponent(n)}`,{},bn),setDefaultModel:(e,n,a)=>$e(be.defaultModel.path(e),{method:be.defaultModel.method,body:JSON.stringify({model:n,workspaceId:a})},bn),logs:(e,n=300)=>$e(`${be.logs.path()}?limit=${n}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>$e(be.push.path()),pushSubscribe:(e,n)=>$e(be.pushSubscribe.path(),{method:be.pushSubscribe.method,body:JSON.stringify({subscription:e,label:n})}),pushUnsubscribe:e=>$e(be.pushUnsubscribe.path(),{method:be.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>$e(be.pushTest.path(),{method:be.pushTest.method,body:JSON.stringify({id:e})},bn),merge:e=>$e(be.merge.path(e),{method:be.merge.method},bn),continueWorkspace:(e,n)=>$e(be.continueWorkspace.path(e),{method:be.continueWorkspace.method,body:JSON.stringify({sessionId:n})},Sk),setStatus:(e,n)=>$e(be.workspaceStatus.path(e),{method:be.workspaceStatus.method,body:JSON.stringify({status:n})},bn),archive:(e,n=!1)=>$e(be.archiveWorkspace.path(e),{method:be.archiveWorkspace.method,body:JSON.stringify({stopAgents:n})},bn),devServer:e=>$e(be.devServer.path(e)),startDevServer:e=>$e(be.startDevServer.path(e),{method:be.startDevServer.method},w9),stopDevServer:e=>$e(be.stopDevServer.path(e),{method:be.stopDevServer.method},w9),settings:()=>$e(be.settings.path()),patchSettings:e=>$e(be.updateSettings.path(),{method:be.updateSettings.method,body:JSON.stringify(e)}),prefs:()=>$e(be.prefs.path()),patchPrefs:(e,n=!1)=>$e(be.updatePrefs.path(),{method:be.updatePrefs.method,body:JSON.stringify(e),keepalive:n}),armNoSleep:e=>$e(be.armNoSleep.path(),{method:be.armNoSleep.method,body:JSON.stringify({seconds:e})},bn),disarmNoSleep:()=>$e(be.disarmNoSleep.path(),{method:be.disarmNoSleep.method},bn),restartConductor:(e=!1)=>$e(be.restartConductor.path(),{method:be.restartConductor.method,body:JSON.stringify({stopAgents:e})},Nk)},_9=e=>{let n;const a=new Set,i=(f,E)=>{const h=typeof f=="function"?f(n):f;if(!Object.is(h,n)){const y=n;n=E??(typeof h!="object"||h===null)?h:Object.assign({},n,h),a.forEach(C=>C(n,y))}},s=()=>n,d={setState:i,getState:s,getInitialState:()=>u,subscribe:f=>(a.add(f),()=>a.delete(f))},u=n=e(i,s,d);return d},Tk=(e=>e?_9(e):_9),jk=e=>e;function Rk(e,n=jk){const a=y0.useSyncExternalStore(e.subscribe,y0.useCallback(()=>n(e.getState()),[e,n]),y0.useCallback(()=>n(e.getInitialState()),[e,n]));return y0.useDebugValue(a),a}const N9=e=>{const n=Tk(e),a=i=>Rk(n,i);return Object.assign(a,n),a},Ok=(e=>e?N9(e):N9),zk=1e4;function Lk(e,n=Date.now()){return Math.max(0,(e??n)+zk-n)}const td="conductor-remote-pending",s2=20,Pk=1440*60*1e3;function o2(e,n=[],a=!1){let i=a;const s=new Set;for(const c of e){if(s.add(c.text.trim()),c.status==="error")return"failed";c.status==="sending"&&(i=!0)}for(const c of n)if(!s.has(c.text.trim())){if(c.status==="failed")return"failed";c.status==="waiting"&&(i=!0)}return i?"sending":null}const M9=e=>e.status==="sending"||!!e.interrupted;function Uk(e){const n=e;return!!n&&typeof n.id=="string"&&typeof n.sessionId=="string"&&typeof n.workspaceId=="string"&&typeof n.text=="string"&&typeof n.createdAt=="number"&&(n.status==="sending"||n.status==="error")}const Ik=e=>e.status==="sending"?{...e,status:"error",interrupted:!0,error:"Never confirmed — the app reloaded"}:e;function Hk(){try{const e=JSON.parse(localStorage.getItem(td)??"[]");if(!Array.isArray(e))return[];const n=Date.now()-Pk;return e.filter(Uk).filter(a=>a.createdAt>n).slice(-s2).map(Ik)}catch{return[]}}function qk(e){try{const n=e.slice(-s2);n.length?localStorage.setItem(td,JSON.stringify(n)):localStorage.removeItem(td)}catch{}}const b0="conductor-remote-agent:",A0="conductor-remote-draft:",ia="new-workspace",T9="conductor-remote-read",c2=(e,n,a)=>(e[n]??"")<a;function $k(e,n){return(e.unread_sessions??[]).filter(a=>c2(n,a.id,a.at)).length}function Gk(e,n){return!!e.unread_count&&c2(n,e.id,e.updated_at)}const j9="conductor-remote-prefs-v1";function hr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function nd(e){const n=hr(e);if(!n)return{};const a={};return typeof n.model=="string"&&(a.model=n.model),typeof n.effort=="string"&&(a.effort=n.effort),typeof n.plan=="boolean"&&(a.plan=n.plan),typeof n.fast=="boolean"&&(a.fast=n.fast),a}function hl(e){return Object.keys(e).length>0}function Vk(e){const n=hr(e);return!n||typeof n.name!="string"||typeof n.path!="string"||typeof n.token!="string"||!Number.isSafeInteger(Number(n.bytes))||Number(n.bytes)<0||n.stageId!==void 0&&typeof n.stageId!="string"?null:{name:n.name,path:n.path,bytes:Number(n.bytes),token:n.token,...n.stageId?{stageId:n.stageId}:{}}}function x2(e){if(!Array.isArray(e))return[];const n=new Set;return e.flatMap(a=>{const i=Vk(a);return!i||n.has(i.path)?[]:(n.add(i.path),[i])})}function R9(e){const n=hr(e);if(!n)return null;const a=Number(n.updatedAt);return!Number.isSafeInteger(a)||a<0?null:n.deleted===!0?{text:"",agent:{},attachments:[],updatedAt:a,deleted:!0}:typeof n.text!="string"?null:{text:n.text,agent:nd(n.agent),attachments:x2(n.attachments),updatedAt:a,deleted:!1}}function u2(e,n){return e.model===n.model&&e.effort===n.effort&&e.plan===n.plan&&e.fast===n.fast}function Qk(e,n){return e.text===n.text&&e.updatedAt===n.updatedAt&&e.deleted===n.deleted&&u2(e.agent,n.agent)&&e.attachments.length===n.attachments.length&&e.attachments.every((a,i)=>{const s=n.attachments[i];return a.name===s?.name&&a.path===s.path&&a.bytes===s.bytes&&a.token===s.token&&a.stageId===s.stageId})}function ul(e,n,a,i){return e||hl(n)||a.length?{text:e,agent:{...n},attachments:x2(a),updatedAt:i,deleted:!1}:{text:"",agent:{},attachments:[],updatedAt:i,deleted:!0}}class Yk{storage;prefs;clock;generation=0;touched=new Set;listeners=new Set;constructor(n){this.storage=n;const a=this.readRawDrafts(),i=this.readRawAgents(),s=this.readMetadata(),c=s?.drafts??{};if(this.clock=Math.max(Date.now(),...Object.values(c).map(x=>x.updatedAt)),s){const x={...c};for(const d of new Set([...Object.keys(c),...Object.keys(a),...Object.keys(i)])){const u=ul(a[d]??"",i[d]??{},[],c[d]?.updatedAt??0),f=c[d];!(f&&!f.deleted&&f.attachments.length>0&&!f.text&&!hl(f.agent)&&u.deleted)&&(!f||f.text!==u.text||f.deleted!==u.deleted||!u2(f.agent,u.agent))&&(x[d]=ul(u.text,u.agent,[],this.tick()),this.touched.add(d))}this.prefs={readMarks:this.readRawMarks(),drafts:x}}else{const x={};for(const d of new Set([...Object.keys(a),...Object.keys(i)]))x[d]=ul(a[d]??"",i[d]??{},[],0);this.prefs={readMarks:this.readRawMarks(),drafts:x}}this.persistAll()}snapshot(){return{readMarks:{...this.prefs.readMarks},drafts:Object.fromEntries(Object.entries(this.prefs.drafts).map(([n,a])=>[n,{...a,agent:{...a.agent},attachments:a.attachments.map(i=>({...i}))}]))}}project(){const n={},a={},i={};for(const[s,c]of Object.entries(this.prefs.drafts))c.deleted||(n[s]=c.text,hl(c.agent)&&(a[s]={...c.agent}),c.attachments.length&&(i[s]=c.attachments.map(x=>({...x}))));return{drafts:n,agentDrafts:a,draftAttachments:i,readMarks:{...this.prefs.readMarks}}}currentGeneration(){return this.generation}setDraft(n,a,i){return this.setLocal(n,a,i,this.prefs.drafts[n]?.attachments??[]),this.project()}setAgent(n,a,i){return this.setLocal(n,i,a,this.prefs.drafts[n]?.attachments??[]),this.project()}setAttachments(n,a,i,s){return this.setLocal(n,i,s,a),this.project()}setContent(n,a,i,s){return this.setLocal(n,a,i,s),this.project()}moveDraft(n,a){const i=this.prefs.drafts[n],s=this.prefs.drafts[a];return!i||i.deleted||n===a||s&&!s.deleted?this.project():(this.prefs.drafts[n]=ul("",{},[],this.tick()),this.prefs.drafts[a]=ul(i.text,i.agent,i.attachments,this.tick()),this.touched.add(n),this.touched.add(a),this.changed(),this.project())}markRead(n,a){return(this.prefs.readMarks[n]??"")>=a?this.project():(this.prefs.readMarks[n]=a,this.changed(),this.project())}merge(n,a){const i=hr(hr(n)?.drafts),s=this.cleanPrefs(n);for(const d of Object.values(s.drafts))this.clock=Math.max(this.clock,d.updatedAt);let c=!1,x=!1;for(const[d,u]of Object.entries(s.readMarks))(this.prefs.readMarks[d]??"")>=u||(this.prefs.readMarks[d]=u,c=!0);for(const[d,u]of Object.entries(this.prefs.readMarks))(s.readMarks[d]??"")<u&&(x=!0);for(const d of new Set([...Object.keys(this.prefs.drafts),...Object.keys(s.drafts)])){const u=this.prefs.drafts[d],f=s.drafts[d],E=hr(i?.[d]);if(u&&f&&!f.deleted&&E&&!Object.hasOwn(E,"attachments")&&(f.attachments=u.attachments.map(C=>({...C}))),!u&&f){this.prefs.drafts[d]=f,c=!0;continue}if(u&&!f){x=!0;continue}if(!(u&&f)||Qk(u,f))continue;const h=a===d&&(this.touched.has(d)||!u.deleted&&(u.text.length>0||hl(u.agent)||u.attachments.length>0)),y=f.updatedAt>u.updatedAt||f.updatedAt===u.updatedAt&&(f.deleted||!u.deleted);if(y&&!h){this.prefs.drafts[d]=f,c=!0;continue}y&&(u.updatedAt=this.tick(f.updatedAt),c=!0),x=!0}return c&&this.persistAll(),{state:this.project(),needsUpload:x}}subscribe(n){return this.listeners.add(n),()=>this.listeners.delete(n)}requestFlush(){for(const n of this.listeners)n(!0)}setLocal(n,a,i,s){this.prefs.drafts[n]=ul(a,nd(i),s,this.tick()),this.touched.add(n),this.changed()}changed(){this.generation+=1,this.persistAll();for(const n of this.listeners)n(!1)}tick(n=0){return this.clock=Math.max(Date.now(),this.clock+1,n+1),this.clock}cleanPrefs(n){const a=hr(n),i={};for(const[c,x]of Object.entries(hr(a?.readMarks)??{}))typeof x=="string"&&(i[c]=x);const s={};for(const[c,x]of Object.entries(hr(a?.drafts)??{})){const d=R9(x);d&&(s[c]=d)}return{readMarks:i,drafts:s}}readMetadata(){try{const n=hr(JSON.parse(this.storage.getItem(j9)??"null"));if(n?.version!==1)return null;const a={};for(const[i,s]of Object.entries(hr(n.drafts)??{})){const c=R9(s);c&&(a[i]=c)}return{drafts:a}}catch{return null}}readRawDrafts(){const n={};try{for(let a=0;a<this.storage.length;a++){const i=this.storage.key(a);if(!i?.startsWith(A0))continue;const s=this.storage.getItem(i);s&&(n[i.slice(A0.length)]=s)}}catch{}return n}readRawAgents(){const n={};try{for(let a=0;a<this.storage.length;a++){const i=this.storage.key(a);if(!i?.startsWith(b0))continue;const s=this.storage.getItem(i);if(!s)continue;const c=nd(JSON.parse(s));hl(c)&&(n[i.slice(b0.length)]=c)}}catch{}return n}readRawMarks(){try{const n=hr(JSON.parse(this.storage.getItem(T9)??"{}"));return n?Object.fromEntries(Object.entries(n).filter(a=>typeof a[1]=="string")):{}}catch{return{}}}persistAll(){try{for(const[n,a]of Object.entries(this.prefs.drafts))!a.deleted&&a.text?this.storage.setItem(A0+n,a.text):this.storage.removeItem(A0+n),!a.deleted&&hl(a.agent)?this.storage.setItem(b0+n,JSON.stringify(a.agent)):this.storage.removeItem(b0+n);this.storage.setItem(T9,JSON.stringify(this.prefs.readMarks)),this.storage.setItem(j9,JSON.stringify({version:1,drafts:this.prefs.drafts}))}catch{}}}let gu=null;function br(){return gu||(gu=new Yk(localStorage)),gu}const Kk=()=>br().project(),Xk=()=>br().snapshot(),O9=()=>br().currentGeneration(),Zk=(e,n,a)=>br().setDraft(e,n,a),z9=(e,n,a)=>br().setAgent(e,n,a),L9=(e,n,a,i)=>br().setAttachments(e,n,a,i),Wk=(e,n,a,i)=>br().setContent(e,n,a,i),Jk=(e,n)=>br().moveDraft(e,n),eD=(e,n)=>br().markRead(e,n),tD=(e,n)=>br().merge(e,n),nD=e=>br().subscribe(e),rd=()=>br().requestFlush();let dl=null;const B0=Kk(),ad=15e3,d2="conductor-remote-view",f2="conductor-remote-last-new-workspace-repo",P9={groupBy:"status",repos:[],sortBy:"updated",showDiffs:!0,hideMerged:!1,hideDone:!1,collapsed:[]};function U9(e){const n={};return e.model!==void 0&&(n.model=e.model),e.effort!==void 0&&(n.effort=e.effort),e.plan!==void 0&&(n.plan=e.plan),e.fast!==void 0&&(n.fast=e.fast),n}function rD(){try{const{repo:e,...n}=JSON.parse(localStorage.getItem(d2)??"{}"),a=Array.isArray(n.repos)?n.repos.filter(i=>typeof i=="string"):typeof e=="string"?[e]:[];return{...P9,...n,repos:a}}catch{return P9}}function aD(){try{return localStorage.getItem(f2)??""}catch{return""}}const Ae=Ok((e,n)=>{const a=s=>{localStorage.setItem(d2,JSON.stringify(s)),e({view:s})},i=s=>{qk(s),e({pending:s})};return{token:kk(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:Hk(),drafts:B0.drafts,draftAttachments:B0.draftAttachments,agentDrafts:B0.agentDrafts,readMarks:B0.readMarks,focusedDraft:null,push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),lastNewWorkspaceRepo:aD(),view:rD(),setToken:s=>{s?Fk(s):Dk(),e({token:s})},setOnline:s=>{if(s){dl&&clearTimeout(dl),dl=null,e({online:s,lastSyncAt:Date.now()});return}if(!n().online||dl)return;const c=Lk(n().lastSyncAt);if(c===0){e({online:!1});return}dl=setTimeout(()=>{dl=null,e({online:!1})},c)},setUpdate:s=>e({update:s}),markWorking:s=>e({workingHints:{...n().workingHints,[s]:Date.now()}}),clearWorking:s=>{const{[s]:c,...x}=n().workingHints;e({workingHints:x})},addPending:s=>i([...n().pending.filter(c=>c.id!==s.id),{...s,status:"sending",error:void 0,createdAt:Date.now()}]),failPending:(s,c)=>i(n().pending.map(x=>x.id===s?{...x,status:"error",error:c}:x)),removePending:s=>i(n().pending.filter(c=>c.id!==s)),setDraft:(s,c)=>{const x=Zk(s,c,n().agentDrafts[s]??{});e({drafts:x.drafts,agentDrafts:x.agentDrafts,draftAttachments:x.draftAttachments})},addDraftAttachment:(s,c)=>{const x=n().draftAttachments[s]??[];if(x.some(u=>u.path===c.path))return;const d=L9(s,[...x,c],n().drafts[s]??"",n().agentDrafts[s]??{});e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},removeDraftAttachment:(s,c)=>{const x=n().draftAttachments[s]??[],d=x.filter(f=>f.path!==c);if(d.length===x.length)return;const u=L9(s,d,n().drafts[s]??"",n().agentDrafts[s]??{});e({drafts:u.drafts,agentDrafts:u.agentDrafts,draftAttachments:u.draftAttachments})},clearDraftContent:s=>{const c=Wk(s,"",n().agentDrafts[s]??{},[]);e({drafts:c.drafts,agentDrafts:c.agentDrafts,draftAttachments:c.draftAttachments})},moveDraft:(s,c)=>{const x=n().drafts,u=x[s]!==void 0||n().agentDrafts[s]!==void 0||n().draftAttachments[s]!==void 0,f=x[c]!==void 0||n().agentDrafts[c]!==void 0||n().draftAttachments[c]!==void 0;if(!u||s===c||f)return;const E=Jk(s,c);e({drafts:E.drafts,agentDrafts:E.agentDrafts,draftAttachments:E.draftAttachments})},markRead:(s,c)=>{(n().readMarks[s]??"")>=c||e({readMarks:eD(s,c).readMarks})},stageAgent:(s,c)=>{const x=U9({...n().agentDrafts[s],...c}),d=z9(s,x,n().drafts[s]??"");e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},clearAgentDraft:(s,c)=>{const x=n().agentDrafts[s];if(!x)return;const d=U9({model:x.model===c.model?void 0:x.model,effort:x.effort===c.effort?void 0:x.effort,plan:x.plan===c.plan?void 0:x.plan,fast:x.fast===c.fast?void 0:x.fast}),u=z9(s,d,n().drafts[s]??"");e({drafts:u.drafts,agentDrafts:u.agentDrafts,draftAttachments:u.draftAttachments})},applySyncedPrefs:s=>e({drafts:s.drafts,agentDrafts:s.agentDrafts,draftAttachments:s.draftAttachments,readMarks:s.readMarks}),setFocusedDraft:s=>e({focusedDraft:s}),setPush:s=>e({push:s}),setSidebarOpen:s=>e({sidebarOpen:s}),setLastNewWorkspaceRepo:s=>{try{localStorage.setItem(f2,s)}catch{}e({lastNewWorkspaceRepo:s})},setView:s=>a({...n().view,...s}),toggleGroup:s=>{const{collapsed:c}=n().view;a({...n().view,collapsed:c.includes(s)?c.filter(x=>x!==s):[...c,s]})}}}),I9=6e4,iD=1e4,yu="pwa-update-attempted-at",lD=2500,sD=30*6e4,bs="pwa-update-snoozed-until";async function oD(){try{if("serviceWorker"in navigator){const n=await navigator.serviceWorker.getRegistrations();await Promise.all(n.map(a=>a.unregister()))}if("caches"in window){const n=await caches.keys();await Promise.all(n.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function cD(){const e=Ae(h=>h.token),n=D.useRef(null),a=D.useRef(!1),{needRefresh:[i,s],updateServiceWorker:c}=k7({onRegisteredSW(h,y){y&&(n.current=y,setInterval(()=>{y.update().catch(()=>{})},I9))}}),{data:x}=vn({queryKey:["state"],queryFn:()=>Oe.state(),enabled:!!e,refetchInterval:!1}),d=x?.version,u=D.useRef(null);if(D.useEffect(()=>{!d||d==="1.92.2"||u.current===d||(u.current=d,n.current?.update().catch(()=>{}))},[d]),D.useEffect(()=>{if(!i)return;const h=Number(sessionStorage.getItem(yu));if(sessionStorage.removeItem(yu),h&&Date.now()-h<iD){s(!1);return}const y=Number(sessionStorage.getItem(bs));y&&Date.now()<y&&s(!1)},[i,s]),D.useEffect(()=>{if(i)return;const h=()=>{const C=Number(sessionStorage.getItem(bs));!C||Date.now()<C||n.current?.waiting&&(sessionStorage.removeItem(bs),s(!0))},y=window.setInterval(h,I9);return document.addEventListener("visibilitychange",h),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",h)}},[i,s]),!i)return null;const f=()=>{sessionStorage.setItem(bs,String(Date.now()+sD)),s(!1)},E=()=>{sessionStorage.removeItem(bs),sessionStorage.setItem(yu,String(Date.now()));const h=()=>{a.current||(a.current=!0,window.location.reload())},y=n.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",h,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&h()}),y.postMessage({type:"SKIP_WAITING"})):c(!0),window.setTimeout(()=>{a.current||(a.current=!0,oD())},lD)};return m.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[m.jsx(Zs,{size:15,className:"shrink-0 text-accent"}),m.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),m.jsx("button",{type:"button",onClick:f,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),m.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-on-solid transition active:scale-95",children:"Update"})]})}function xD(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function h2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function p2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?xD()&&!h2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function m2(){const e=navigator.userAgent,n=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return h2()?n:`${n} (browser)`}function uD(e){const n=e+"=".repeat((4-e.length%4)%4),a=atob(n.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let s=0;s<a.length;s++)i[s]=a.charCodeAt(s);return i}function dD(e){let n="";for(const a of new Uint8Array(e))n+=String.fromCharCode(a);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Id(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(n=>setTimeout(()=>n(null),5e3))])}async function fD(e){const n=await Id();if(typeof n?.getNotifications=="function")try{for(const a of await n.getNotifications({tag:e}))a.close()}catch{}}async function E2(){return await(await Id())?.pushManager.getSubscription()??null}function hD(e,n){const a=e.options.applicationServerKey;return!!a&&dD(a)===n}async function g2(e){const n=await Id();if(!n)throw new Error("the app’s service worker isn’t running yet — reload and try again");return n.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:uD(e)})}function y2(e){const n=e.toJSON(),a=n.keys??{};if(!n.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:n.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function pD(e){let n=await E2();if(n&&!hD(n,e)&&(await n.unsubscribe().catch(()=>{}),n=Notification.permission==="granted"?await g2(e):null),!n)return null;const a=await Oe.pushSubscribe(y2(n),m2());return{id:a.id??null,devices:a.devices.length}}function U0(){const e=window.getSelection();return!!e&&!e.isCollapsed&&e.toString().length>0}const v0=28;function mD(e,n){const a=window.getSelection();if(!a||a.isCollapsed||!a.rangeCount)return!1;for(const i of a.getRangeAt(0).getClientRects())if(e>=i.left-v0&&e<=i.right+v0&&n>=i.top-v0&&n<=i.bottom+v0)return!0;return!1}function ED(e,n){const a=n.filter(c=>F9(c)&&c.toolUseId);if(!a.length)return[...e,...n];const i=[...e,...n.filter(c=>!F9(c))],s=new Map;i.forEach((c,x)=>{c.tool&&c.toolUseId&&!s.has(c.toolUseId)&&s.set(c.toolUseId,x)});for(const c of a){const x=c.toolUseId?s.get(c.toolUseId):void 0;if(x===void 0){c.error&&i.push(c);continue}const d=i[x];i[x]={...d,output:c.output,diff:c.diff,images:c.images,error:c.error??d.error}}return i}function gD(e,n){if(!n.length)return[...e];const a=new Set(e.map(i=>i.id));return[...e,...n.filter(i=>!a.has(i.id))]}function yD(e){const n=Ae(s=>s.setSidebarOpen),a=Ae(s=>s.sidebarOpen),i=D.useRef(a);i.current=a,D.useEffect(()=>{const s=e.current;s&&(s.style.transition="",s.style.transform="")},[a,e]),D.useEffect(()=>{const x=window.matchMedia("(min-width: 768px)"),d=()=>e.current;let u=!1,f=!1,E=!1,h=!1,y=0,C=0,b=0,A=0;const v=R=>{const z=d();z&&(z.style.transition="none",z.style.transform=`translateX(${R}px)`,A=R)},k=()=>{const R=d();R&&(R.style.transition="",R.style.transform="")},T=R=>{for(let z=R;z;z=z.parentElement)if(z.scrollLeft>0)return!0;return!1},F=()=>{u&&(u=!1,k())},j=R=>{if(F(),x.matches||R.touches.length!==1)return;const z=R.touches[0];if(i.current){const $=d()?.getBoundingClientRect().right??0;if(z.clientX>$)return}else if(z.clientX>44||T(R.target))return;mD(z.clientX,z.clientY)||(u=!0,f=!1,E=!1,h=U0(),y=z.clientX,C=z.clientY,b=d()?.offsetWidth??0)},O=R=>{if(!u||E)return;if(!h&&U0()){E=!0;return}const z=R.touches[0],$=z.clientX-y,L=z.clientY-C;if(!f){if(Math.abs(L)>Math.abs($)&&Math.abs(L)>8){E=!0;return}if(Math.abs($)<6)return;f=!0}R.preventDefault();const V=i.current?0:-b;v(Math.max(-b,Math.min(0,V+$)))},M=()=>{if(!u)return;if(u=!1,!f||E)return k();const R=b?(A+b)/b:0;k(),n(R>.4)};return window.addEventListener("touchstart",j,{passive:!0}),window.addEventListener("touchmove",O,{passive:!1}),window.addEventListener("touchend",M),window.addEventListener("touchcancel",M),document.addEventListener("visibilitychange",F),()=>{window.removeEventListener("touchstart",j),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",M),window.removeEventListener("touchcancel",M),document.removeEventListener("visibilitychange",F)}},[e,n])}const H9='input, textarea, [contenteditable]:not([contenteditable="false"])';function CD(){D.useEffect(()=>{const e=window.visualViewport;if(!e)return;const n=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&n.setAttribute("data-standalone","");let a=0,i;const s=()=>{n.style.removeProperty("--app-height"),n.removeAttribute("data-keyboard")},c=E=>{E&&!i?i=setInterval(x,300):!E&&i&&(clearInterval(i),i=void 0)},x=()=>{const E=document.activeElement,h=E instanceof HTMLElement&&E.matches(H9),y=e.scale>1.01;!h||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),s()):(a||window.innerHeight)-e.height>40?(n.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),n.setAttribute("data-keyboard","")):s(),c(h||n.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let d;const u=()=>{x(),clearTimeout(d),d=setTimeout(x,350)},f=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(H9)&&E.blur(),s(),c(!1)}else u()};return x(),e.addEventListener("resize",x),e.addEventListener("scroll",x),window.addEventListener("pageshow",u),document.addEventListener("visibilitychange",f),document.addEventListener("focusin",u),document.addEventListener("focusout",u),()=>{clearTimeout(d),c(!1),e.removeEventListener("resize",x),e.removeEventListener("scroll",x),window.removeEventListener("pageshow",u),document.removeEventListener("visibilitychange",f),document.removeEventListener("focusin",u),document.removeEventListener("focusout",u),s()}},[])}function bl(){const e=Ae(a=>a.setOnline),n=Ae(a=>a.setToken);return D.useCallback((a,i)=>{e(a),i instanceof Er&&i.status===401&&n(null)},[e,n])}function Hd(){const e=bl(),n=Ae(i=>i.setUpdate),a=vn({queryKey:["state"],queryFn:()=>Oe.state(),refetchInterval:2500});return D.useEffect(()=>{a.isSuccess&&(e(!0),n(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,n]),a}function bD(){const e=bl();D.useEffect(()=>{let i=!0,s=!1,c=!1,x=!1,d=null;const u=A=>{const v=tD(A,Ae.getState().focusedDraft);Ae.getState().applySyncedPrefs(v.state),v.needsUpload&&E(!1)},f=async(A,v=!1)=>{if(!i)return;if(s){c||=A,x||=v;return}s=!0;const k=O9();try{const T=A?await Oe.patchPrefs(Xk(),v):await Oe.prefs();if(!i)return;e(!0),u(T.prefs),O9()!==k&&E(!1)}catch(T){if(!i)return;T instanceof Er&&T.status===404||e(!1,T)}finally{if(s=!1,i&&c){const T=x;c=!1,x=!1,f(!0,T)}}};function E(A,v=!1){d&&clearTimeout(d),d=null,A?f(!0,v):d=setTimeout(()=>{f(!0)},700)}const h=nD(A=>E(A)),y=setInterval(()=>{f(!1)},15e3),C=()=>{document.visibilityState==="hidden"?E(!0,!0):f(!1)},b=()=>E(!0);return document.addEventListener("visibilitychange",C),window.addEventListener("online",b),f(!0),()=>{i=!1,d&&clearTimeout(d),clearInterval(y),h(),document.removeEventListener("visibilitychange",C),window.removeEventListener("online",b)}},[e])}function C2(){return vn({queryKey:["repos"],queryFn:()=>Oe.repos(),staleTime:6e4})}function AD(e,n){const[a,i]=D.useState(e);return D.useEffect(()=>{const s=setTimeout(()=>i(e),n);return()=>clearTimeout(s)},[e,n]),a}function BD(e,n=[],a=!0){const i=e.trim();return vn({queryKey:["search",i,n,a],queryFn:()=>Oe.search(i,n,a),enabled:i.length>=2,staleTime:3e4,placeholderData:J6})}function vD(e,n){const a=bl(),i=vn({queryKey:["workspace",e],queryFn:()=>Oe.workspace(e),enabled:n&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(s,c)=>!(c instanceof Er&&c.status===404)&&s<1});return D.useEffect(()=>{i.isError&&!(i.error instanceof Er&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function b2(e,n=!0){const a=bl(),i=vn({queryKey:["sessions",e],queryFn:()=>Oe.sessions(e),enabled:!!e,refetchInterval:n?2e3:!1});return D.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function kD(e,n){return vn({queryKey:["workspaceFiles",e],queryFn:()=>Oe.workspaceFiles(e),enabled:n&&!!e,staleTime:12e4,retry:!1})}function DD(e){return vn({queryKey:["dev-server",e],queryFn:()=>Oe.devServer(e),enabled:!!e,refetchInterval:2500})}function A2(e,n){const a=bl(),i=vn({queryKey:["diff",e],queryFn:()=>Oe.diff(e),enabled:!!e,refetchInterval:5e3});return D.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function FD(e){return vn({queryKey:["repoIcon",e],queryFn:()=>Oe.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function wD(e,n){return vn({queryKey:["logs",e],queryFn:()=>Oe.logs(e),enabled:n,refetchInterval:3e3,retry:!1})}function qd(){return vn({queryKey:["model-catalog"],queryFn:Oe.modelCatalog,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function B2(){return vn({queryKey:["model-defaults"],queryFn:Oe.modelDefaults,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function SD(e){return vn({queryKey:["plan-usage"],queryFn:()=>Oe.planUsage(),enabled:e,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function _D(e,n,a){const i=e?.agent_type??"claude",s=gr();return vn({queryKey:["models",i],queryFn:async()=>{const c=await Oe.models(e.id,n);if(!c.ok||!c.models?.length)throw new Error(c.error??"could not read the model list");return await s.invalidateQueries({queryKey:["model-catalog"]}),c},enabled:a&&!!e,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}const ND=(e,n)=>e.length===n.length&&e.every((a,i)=>a.id===n[i].id&&a.text===n[i].text);function MD(e,n=!0){const a=bl(),[i,s]=D.useState({entries:[],queued:[],loading:!0,error:null}),c=D.useRef(0),x=Ae(f=>f.push.deviceId),d=D.useRef(x);return d.current=x,D.useEffect(()=>{if(!e){s({entries:[],queued:[],loading:!1,error:null});return}c.current=0,s({entries:[],queued:[],loading:!0,error:null});let f=!0,E=!1;const h=async()=>{if(!E){E=!0;try{const C=document.visibilityState==="visible"?d.current:null,{entries:b,queued:A=[],cursor:v}=await Oe.messages(e,c.current,C);if(!f)return;a(!0),c.current=v,s(k=>{const T=b.length?ED(k.entries,b):k.entries,F=ND(k.queued,A);return T===k.entries&&F&&!k.loading&&!k.error?k:{entries:T,queued:F?k.queued:A,loading:!1,error:null}})}catch(C){if(!f)return;a(!1,C),s(b=>({...b,loading:!1,error:C instanceof Error?C.message:String(C)}))}finally{E=!1}}};h();const y=n?setInterval(h,1e3):void 0;return()=>{f=!1,y&&clearInterval(y)}},[e,n,a]),{entries:D.useMemo(()=>gD(i.entries,i.queued),[i.entries,i.queued]),loading:i.loading,error:i.error}}function v2(){const e=gr(),n=Ae(x=>x.addPending),a=Ae(x=>x.failPending),i=Ae(x=>x.removePending),s=Ae(x=>x.markWorking),c=Ae(x=>x.clearAgentDraft);return D.useCallback(async x=>{const d=x.text.trim();if(!d)return!1;const u=x.id??crypto.randomUUID(),{sessionId:f,workspaceId:E}=x;n({id:u,sessionId:f,workspaceId:E,text:d,queue:x.queue});try{const h=Ae.getState().agentDrafts[f],y=h&&Object.keys(h).length?h:void 0,C=await Oe.sendPrompt(f,d,E,y,u,x.queue);if(C.ok||C.parked)return y&&(c(f,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&s(f),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(u),4e3),!0;a(u,C.error||"Send failed")}catch(h){a(u,h instanceof Error?h.message:String(h))}return!1},[n,a,i,s,c,e])}function k2(e){return vn({queryKey:["push"],queryFn:()=>Oe.push(),enabled:e,staleTime:3e4})}function TD(){const[e]=D.useState(p2),n=Ae(s=>s.setPush),{data:a}=k2(e==="ok"),i=a?.publicKey;D.useEffect(()=>{if(e!=="ok"||!i)return;let s=!0;return pD(i).then(c=>{s&&n({deviceId:c?.id??null,devices:c?.devices??0})}).catch(()=>{}),()=>{s=!1}},[e,i,n])}function jD(){const[e]=D.useState(p2),[n,a]=D.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,s]=D.useState(!1),[c,x]=D.useState(null),{deviceId:d,devices:u}=Ae(A=>A.push),f=Ae(A=>A.setPush),E=k2(e==="ok"),h=E.data?.publicKey,y=D.useCallback(async()=>{s(!0),x(null);try{const A=await Notification.requestPermission();if(a(A),A!=="granted"){x(A==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const v=h??(await Oe.push()).publicKey,k=await g2(v),T=await Oe.pushSubscribe(y2(k),m2());f({deviceId:T.id??null,devices:T.devices.length})}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}},[h,f]),C=D.useCallback(async()=>{s(!0),x(null);try{const A=await E2();let v=0;A&&(v=(await Oe.pushUnsubscribe(A.endpoint).catch(()=>null))?.devices.length??0,await A.unsubscribe()),f({deviceId:null,devices:v})}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}},[f]),b=D.useCallback(async()=>{if(d){s(!0),x(null);try{const A=await Oe.pushTest(d);A.ok||x(A.error??"The push service rejected it.")}catch(A){x(A instanceof Error?A.message:String(A))}finally{s(!1)}}},[d]);return{support:e,permission:n,enabled:!!d,relayDisabled:E.data?.enabled===!1,busy:i,error:c,devices:u,enable:y,disable:C,test:b}}const RD="push-route",q9="/__push-route",OD=12e4;async function $9(){if(!("caches"in window))return null;try{const e=await caches.open(RD),n=await e.match(q9);if(!n)return null;await e.delete(q9);const{url:a,ts:i}=await n.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>OD?null:a}catch{return null}}function zD(){const e=Cl();D.useEffect(()=>{let n=!0;const a=()=>{$9().then(c=>{n&&c&&e(c)})},i=c=>{const x=c.data;x?.type==="push-navigate"&&typeof x.url=="string"&&x.url.startsWith("/")&&($9(),e(x.url))},s=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",s),a(),()=>{n=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",s)}},[e])}function LD(e,n){D.useEffect(()=>{if(!e)return;const a=()=>{document.visibilityState==="visible"&&fD(e)};return a(),document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[e,n])}function D2(e){var n,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(a=D2(e[n]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function PD(){for(var e,n,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(n=D2(e))&&(i&&(i+=" "),i+=n);return i}const UD=(e,n)=>{const a=new Array(e.length+n.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<n.length;i++)a[e.length+i]=n[i];return a},ID=(e,n)=>({classGroupId:e,validator:n}),F2=(e=new Map,n=null,a)=>({nextPart:e,validators:n,classGroupId:a}),I0="-",G9=[],HD="arbitrary..",qD=e=>{const n=GD(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:x=>{if(x.startsWith("[")&&x.endsWith("]"))return $D(x);const d=x.split(I0),u=d[0]===""&&d.length>1?1:0;return w2(d,u,n)},getConflictingClassGroupIds:(x,d)=>{if(d){const u=i[x],f=a[x];return u?f?UD(f,u):u:f||G9}return a[x]||G9}}},w2=(e,n,a)=>{if(e.length-n===0)return a.classGroupId;const s=e[n],c=a.nextPart.get(s);if(c){const f=w2(e,n+1,c);if(f)return f}const x=a.validators;if(x===null)return;const d=n===0?e.join(I0):e.slice(n).join(I0),u=x.length;for(let f=0;f<u;f++){const E=x[f];if(E.validator(d))return E.classGroupId}},$D=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),a=n.indexOf(":"),i=n.slice(0,a);return i?HD+i:void 0})(),GD=e=>{const{theme:n,classGroups:a}=e;return VD(a,n)},VD=(e,n)=>{const a=F2();for(const i in e){const s=e[i];$d(s,a,i,n)}return a},$d=(e,n,a,i)=>{const s=e.length;for(let c=0;c<s;c++){const x=e[c];QD(x,n,a,i)}},QD=(e,n,a,i)=>{if(typeof e=="string"){YD(e,n,a);return}if(typeof e=="function"){KD(e,n,a,i);return}XD(e,n,a,i)},YD=(e,n,a)=>{const i=e===""?n:S2(n,e);i.classGroupId=a},KD=(e,n,a,i)=>{if(ZD(e)){$d(e(i),n,a,i);return}n.validators===null&&(n.validators=[]),n.validators.push(ID(a,e))},XD=(e,n,a,i)=>{const s=Object.entries(e),c=s.length;for(let x=0;x<c;x++){const[d,u]=s[x];$d(u,S2(n,d),a,i)}},S2=(e,n)=>{let a=e;const i=n.split(I0),s=i.length;for(let c=0;c<s;c++){const x=i[c];let d=a.nextPart.get(x);d||(d=F2(),a.nextPart.set(x,d)),a=d}return a},ZD=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,WD=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=Object.create(null),i=Object.create(null);const s=(c,x)=>{a[c]=x,n++,n>e&&(n=0,i=a,a=Object.create(null))};return{get(c){let x=a[c];if(x!==void 0)return x;if((x=i[c])!==void 0)return s(c,x),x},set(c,x){c in a?a[c]=x:s(c,x)}}},id="!",V9=":",JD=[],Q9=(e,n,a,i,s)=>({modifiers:e,hasImportantModifier:n,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),eF=e=>{const{prefix:n,experimentalParseClassName:a}=e;let i=s=>{const c=[];let x=0,d=0,u=0,f;const E=s.length;for(let A=0;A<E;A++){const v=s[A];if(x===0&&d===0){if(v===V9){c.push(s.slice(u,A)),u=A+1;continue}if(v==="/"){f=A;continue}}v==="["?x++:v==="]"?x--:v==="("?d++:v===")"&&d--}const h=c.length===0?s:s.slice(u);let y=h,C=!1;h.endsWith(id)?(y=h.slice(0,-1),C=!0):h.startsWith(id)&&(y=h.slice(1),C=!0);const b=f&&f>u?f-u:void 0;return Q9(c,C,y,b)};if(n){const s=n+V9,c=i;i=x=>x.startsWith(s)?c(x.slice(s.length)):Q9(JD,!1,x,void 0,!0)}if(a){const s=i;i=c=>a({className:c,parseClassName:s})}return i},tF=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{n.set(a,1e6+i)}),a=>{const i=[];let s=[];for(let c=0;c<a.length;c++){const x=a[c],d=x[0]==="[",u=n.has(x);d||u?(s.length>0&&(s.sort(),i.push(...s),s=[]),i.push(x)):s.push(x)}return s.length>0&&(s.sort(),i.push(...s)),i}},nF=e=>({cache:WD(e.cacheSize),parseClassName:eF(e),sortModifiers:tF(e),postfixLookupClassGroupIds:rF(e),...qD(e)}),rF=e=>{const n=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)n[a[i]]=!0;return n},aF=/\s+/,iF=(e,n)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:c,postfixLookupClassGroupIds:x}=n,d=[],u=e.trim().split(aF);let f="";for(let E=u.length-1;E>=0;E-=1){const h=u[E],{isExternal:y,modifiers:C,hasImportantModifier:b,baseClassName:A,maybePostfixModifierPosition:v}=a(h);if(y){f=h+(f.length>0?" "+f:f);continue}let k=!!v,T;if(k){const R=A.substring(0,v);T=i(R);const z=T&&x[T]?i(A):void 0;z&&z!==T&&(T=z,k=!1)}else T=i(A);if(!T){if(!k){f=h+(f.length>0?" "+f:f);continue}if(T=i(A),!T){f=h+(f.length>0?" "+f:f);continue}k=!1}const F=C.length===0?"":C.length===1?C[0]:c(C).join(":"),j=b?F+id:F,O=j+T;if(d.indexOf(O)>-1)continue;d.push(O);const M=s(T,k);for(let R=0;R<M.length;++R){const z=M[R];d.push(j+z)}f=h+(f.length>0?" "+f:f)}return f},lF=(...e)=>{let n=0,a,i,s="";for(;n<e.length;)(a=e[n++])&&(i=_2(a))&&(s&&(s+=" "),s+=i);return s},_2=e=>{if(typeof e=="string")return e;let n,a="";for(let i=0;i<e.length;i++)e[i]&&(n=_2(e[i]))&&(a&&(a+=" "),a+=n);return a},sF=(e,...n)=>{let a,i,s,c;const x=u=>{const f=n.reduce((E,h)=>h(E),e());return a=nF(f),i=a.cache.get,s=a.cache.set,c=d,d(u)},d=u=>{const f=i(u);if(f)return f;const E=iF(u,a);return s(u,E),E};return c=x,(...u)=>c(lF(...u))},oF=[],sn=e=>{const n=a=>a[e]||oF;return n.isThemeGetter=!0,n},N2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,M2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cF=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,xF=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,uF=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dF=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,fF=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hF=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ia=e=>cF.test(e),Ze=e=>!!e&&!Number.isNaN(Number(e)),Rr=e=>!!e&&Number.isInteger(Number(e)),Cu=e=>e.endsWith("%")&&Ze(e.slice(0,-1)),la=e=>xF.test(e),T2=()=>!0,pF=e=>uF.test(e)&&!dF.test(e),Gd=()=>!1,mF=e=>fF.test(e),EF=e=>hF.test(e),gF=e=>!Fe(e)&&!we(e),yF=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),CF=e=>Ga(e,O2,Gd),Fe=e=>N2.test(e),pi=e=>Ga(e,z2,pF),Y9=e=>Ga(e,wF,Ze),bF=e=>Ga(e,P2,T2),AF=e=>Ga(e,L2,Gd),K9=e=>Ga(e,j2,Gd),BF=e=>Ga(e,R2,EF),k0=e=>Ga(e,U2,mF),we=e=>M2.test(e),As=e=>Di(e,z2),vF=e=>Di(e,L2),X9=e=>Di(e,j2),kF=e=>Di(e,O2),DF=e=>Di(e,R2),D0=e=>Di(e,U2,!0),FF=e=>Di(e,P2,!0),Ga=(e,n,a)=>{const i=N2.exec(e);return i?i[1]?n(i[1]):a(i[2]):!1},Di=(e,n,a=!1)=>{const i=M2.exec(e);return i?i[1]?n(i[1]):a:!1},j2=e=>e==="position"||e==="percentage",R2=e=>e==="image"||e==="url",O2=e=>e==="length"||e==="size"||e==="bg-size",z2=e=>e==="length",wF=e=>e==="number",L2=e=>e==="family-name",P2=e=>e==="number"||e==="weight",U2=e=>e==="shadow",SF=()=>{const e=sn("color"),n=sn("font"),a=sn("text"),i=sn("font-weight"),s=sn("tracking"),c=sn("leading"),x=sn("breakpoint"),d=sn("container"),u=sn("spacing"),f=sn("radius"),E=sn("shadow"),h=sn("inset-shadow"),y=sn("text-shadow"),C=sn("drop-shadow"),b=sn("blur"),A=sn("perspective"),v=sn("aspect"),k=sn("ease"),T=sn("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...j(),we,Fe],M=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],z=()=>[we,Fe,u],$=()=>[Ia,"full","auto",...z()],L=()=>[Rr,"none","subgrid",we,Fe],V=()=>["auto",{span:["full",Rr,we,Fe]},Rr,we,Fe],Y=()=>[Rr,"auto",we,Fe],J=()=>["auto","min","max","fr",we,Fe],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...z()],Z=()=>[Ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],ie=()=>[Ia,"screen","full","dvw","lvw","svw","min","max","fit",...z()],he=()=>[Ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],N=()=>[e,we,Fe],S=()=>[...j(),X9,K9,{position:[we,Fe]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],_=()=>["auto","cover","contain",kF,CF,{size:[we,Fe]}],re=()=>[Cu,As,pi],Ee=()=>["","none","full",f,we,Fe],fe=()=>["",Ze,As,pi],ve=()=>["solid","dashed","dotted","double"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[Ze,Cu,X9,K9],ft=()=>["","none",b,we,Fe],xt=()=>["none",Ze,we,Fe],$t=()=>["none",Ze,we,Fe],Gt=()=>[Ze,we,Fe],ot=()=>[Ia,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[la],breakpoint:[la],color:[T2],container:[la],"drop-shadow":[la],ease:["in","out","in-out"],font:[gF],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[la],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[la],shadow:[la],spacing:["px",Ze],text:[la],"text-shadow":[la],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ia,Fe,we,v]}],container:["container"],"container-type":[{"@container":["","normal","size",we,Fe]}],"container-named":[yF],columns:[{columns:[Ze,Fe,we,d]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Rr,"auto",we,Fe]}],basis:[{basis:[Ia,"full","auto",d,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ze,Ia,"auto","initial","none",Fe]}],grow:[{grow:["",Ze,we,Fe]}],shrink:[{shrink:["",Ze,we,Fe]}],order:[{order:[Rr,"first","last","none",we,Fe]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":J()}],"auto-rows":[{"auto-rows":J()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[d,"screen",...Z()]}],"min-w":[{"min-w":[d,"screen","none",...Z()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[x]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",a,As,pi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,FF,bF]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Cu,Fe]}],"font-family":[{font:[vF,AF,n]}],"font-features":[{"font-features":[Fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,we,Fe]}],"line-clamp":[{"line-clamp":[Ze,"none",we,Y9]}],leading:[{leading:[c,...z()]}],"list-image":[{"list-image":["none",we,Fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,Fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ze,"from-font","auto",we,pi]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[Ze,"auto",we,Fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[Rr,we,Fe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:_()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Rr,we,Fe],radial:["",we,Fe],conic:[Rr,we,Fe]},DF,BF]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:Ee()}],"rounded-s":[{"rounded-s":Ee()}],"rounded-e":[{"rounded-e":Ee()}],"rounded-t":[{"rounded-t":Ee()}],"rounded-r":[{"rounded-r":Ee()}],"rounded-b":[{"rounded-b":Ee()}],"rounded-l":[{"rounded-l":Ee()}],"rounded-ss":[{"rounded-ss":Ee()}],"rounded-se":[{"rounded-se":Ee()}],"rounded-ee":[{"rounded-ee":Ee()}],"rounded-es":[{"rounded-es":Ee()}],"rounded-tl":[{"rounded-tl":Ee()}],"rounded-tr":[{"rounded-tr":Ee()}],"rounded-br":[{"rounded-br":Ee()}],"rounded-bl":[{"rounded-bl":Ee()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-bs":[{"border-bs":N()}],"border-color-be":[{"border-be":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ze,we,Fe]}],"outline-w":[{outline:["",Ze,As,pi]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",E,D0,k0]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",h,D0,k0]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[Ze,pi]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",y,D0,k0]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[Ze,we,Fe]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ge()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ze]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[we,Fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[Ze]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:_()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,Fe]}],filter:[{filter:["","none",we,Fe]}],blur:[{blur:ft()}],brightness:[{brightness:[Ze,we,Fe]}],contrast:[{contrast:[Ze,we,Fe]}],"drop-shadow":[{"drop-shadow":["","none",C,D0,k0]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",Ze,we,Fe]}],"hue-rotate":[{"hue-rotate":[Ze,we,Fe]}],invert:[{invert:["",Ze,we,Fe]}],saturate:[{saturate:[Ze,we,Fe]}],sepia:[{sepia:["",Ze,we,Fe]}],"backdrop-filter":[{"backdrop-filter":["","none",we,Fe]}],"backdrop-blur":[{"backdrop-blur":ft()}],"backdrop-brightness":[{"backdrop-brightness":[Ze,we,Fe]}],"backdrop-contrast":[{"backdrop-contrast":[Ze,we,Fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ze,we,Fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ze,we,Fe]}],"backdrop-invert":[{"backdrop-invert":["",Ze,we,Fe]}],"backdrop-opacity":[{"backdrop-opacity":[Ze,we,Fe]}],"backdrop-saturate":[{"backdrop-saturate":[Ze,we,Fe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ze,we,Fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,Fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ze,"initial",we,Fe]}],ease:[{ease:["linear","initial",k,we,Fe]}],delay:[{delay:[Ze,we,Fe]}],animate:[{animate:["none",T,we,Fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,we,Fe]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:xt()}],"rotate-x":[{"rotate-x":xt()}],"rotate-y":[{"rotate-y":xt()}],"rotate-z":[{"rotate-z":xt()}],scale:[{scale:$t()}],"scale-x":[{"scale-x":$t()}],"scale-y":[{"scale-y":$t()}],"scale-z":[{"scale-z":$t()}],"scale-3d":["scale-3d"],skew:[{skew:Gt()}],"skew-x":[{"skew-x":Gt()}],"skew-y":[{"skew-y":Gt()}],transform:[{transform:[we,Fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ot()}],"translate-x":[{"translate-x":ot()}],"translate-y":[{"translate-y":ot()}],"translate-z":[{"translate-z":ot()}],"translate-none":["translate-none"],zoom:[{zoom:[Rr,we,Fe]}],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,Fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":N()}],"scrollbar-track-color":[{"scrollbar-track":N()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,Fe]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[Ze,As,pi,Y9]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},_F=sF(SF);function Ce(...e){return _F(PD(e))}const NF=200;function I2(e,n){const a=new Map;for(const i of n??[]){const s=i.slice(i.lastIndexOf("/")+1),c=a.get(s);c?c.push(i):a.set(s,[i])}return i=>{const s=MF(i);if(!s)return null;const{path:c,location:x}=s;if(c.startsWith("/")||c.startsWith("~/"))return c+x;if(!e)return null;const d=TF(a,c);return d?`${e}/${d}${x}`:null}}function MF(e){if(!e||e.length>NF||/\s/.test(e)||e.includes("://"))return null;const n=e.match(/:([1-9]\d*)(?::\d+)?$/),a=n?n[0]:"",i=n?e.slice(0,-a.length):e;return i.startsWith("../")||i.includes("/../")?null:i2(i)?{path:i.startsWith("./")?i.slice(2):i,location:a}:null}function TF(e,n){const a=n.slice(n.lastIndexOf("/")+1),i=e.get(a);if(!i)return null;const s=i.filter(c=>c===n||c.endsWith(`/${n}`));return s.length===1?s[0]:null}const H2=D.createContext(null),jF=H2.Provider,RF=I2(null,void 0);function q2(e){const n=D.useContext(H2)??RF;return e===null?null:n(e)}function OF(e){const n=[],a=e.split(yk);for(let i=0;i<a.length;i++){const s=a[i];if(i===0){s&&n.push({text:s,hit:!1});continue}const c=s.indexOf(Ck);if(c<0){s&&n.push({text:s,hit:!0});continue}const x=s.slice(0,c),d=s.slice(c+1);x&&n.push({text:x,hit:!0}),d&&n.push({text:d,hit:!1})}return n}function $2(e){return e.state==="setting_up"}const zF={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-attention)",checks_failed:"var(--color-pr-attention)",checks_pending:"var(--color-working)",mergeable:"var(--color-pr-mergeable)"};function LF(e){return $2(e)?{color:"var(--color-muted)",spinning:!0}:{color:e.pr_status&&zF[e.pr_status]||"var(--color-done)",spinning:e.session_status==="working"||e.pr_status==="checks_pending"}}function PF(e){return e.pr_status==="merged"}function UF(e){return Vd(e)==="done"}function Vd(e){return $2(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const Z9=["done","in-review","in-progress","setting-up","backlog","canceled"],IF=["backlog","in-progress","in-review","done","canceled"];function ld(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const HF=["today","yesterday","week","month","older"];function qF(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function W9(e){const n=new Date(e);return n.setHours(0,0,0,0),n.getTime()}function $F(e,n=new Date){const a=new Date(qn(e));if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((W9(n)-W9(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const Qd={done:"var(--color-pr-merged)","in-review":"var(--color-pr-mergeable)","in-progress":"var(--color-done)","setting-up":"var(--color-muted)"};function G2(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}const sd=e=>e.toLowerCase().replace(/[^a-z0-9]/g,""),J9=e=>sd(e.replace(/[\s\-_]\d+[mk]$/i,""));function V2(e,n=[]){const a=G2(e);if(!a)return"";const i=a.split("/").pop()??a,s=i.split(":").pop()??i;return GF(s,n)??VF(s)}function GF(e,n){const a=sd(e);if(!a)return;const i=n.find(c=>sd(c)===a);if(i)return i;const s=n.filter(c=>J9(c)===J9(e));return s.length===1?s[0]:void 0}function VF(e){const n=QF(e.split("-")),a=i=>i?i.toLowerCase()==="1m"?"1M":i[0].toUpperCase()+i.slice(1):"";return n[0]==="gpt"&&n[1]?[n[1],...n.slice(2).map(a)].join(" "):/^(opus|sonnet|haiku|fable)$/.test(n[0]??"")?n.map(a).join(" "):e}function QF(e){const n=[];for(const a of e){const i=n[n.length-1];i!==void 0&&/^\d+$/.test(a)&&/^\d[\d.]*$/.test(i)?n[n.length-1]=`${i}.${a}`:n.push(a)}return n}function H0(e,n=120){const i=(e.split(`
|
|
12
12
|
`).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return i.length>n?`${i.slice(0,n-1)}…`:i}function Yd(e){const n=Math.max(0,Math.floor(e/1e3)),a=n%60,i=Math.floor(n/60)%60,s=Math.floor(n/3600),c=x=>String(x).padStart(2,"0");return s?`${s}h ${c(i)}m ${c(a)}s`:i?`${i}m ${c(a)}s`:`${a}s`}const YF=6e4,KF=60*YF,XF=24*KF,ZF=7*XF;function Q2(e){return e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"})}function Y2(e,n){return`${e.toLocaleDateString(void 0,{month:"short",day:"numeric",...e.getFullYear()===n.getFullYear()?{}:{year:"numeric"}})}, ${Q2(e)}`}function WF(e){const n=new Date(qn(e));if(!Number.isFinite(n.getTime()))return"";const a=new Date;return n.toDateString()===a.toDateString()?Q2(n):Y2(n,a)}function JF(e,n=Date.now()){const a=new Date(qn(e)),i=n-a.getTime();return Number.isFinite(i)?i>=ZF?Y2(a,new Date(n)):X2(e,n):""}function K2(e){const n=qn(e);if(!Number.isFinite(n))return"";const a=Math.round((Date.now()-n)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const s=Math.round(i/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}let mi;function X2(e,n=Date.now()){const a=qn(e);if(!Number.isFinite(a))return"";const i=Math.round((n-a)/1e3);if(i<45)return"now";if(mi??=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),i<90)return mi.format(-1,"minute");const s=Math.round(i/60);if(s<60)return mi.format(-s,"minute");const c=Math.round(s/60);if(c<24)return mi.format(-c,"hour");const x=Math.round(c/24);if(x<30)return mi.format(-x,"day");const d=Math.round(x/30.4);return d<12?mi.format(-d,"month"):mi.format(-Math.round(x/365),"year")}function ew(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}async function tw(e){if(navigator.clipboard?.writeText)return navigator.clipboard.writeText(e);const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.cssText="position:fixed;opacity:0",document.body.append(n),n.select();const a=document.execCommand("copy");if(n.remove(),!a)throw new Error("Clipboard unavailable")}const nw={activity:M7,anchor:j7,apple:O7,atom:G7,award:Q7,banknote:K7,battery:Z7,beer:J7,bell:G8,bike:n3,bird:a3,bluetooth:l3,book:x3,"book-open":o3,bookmark:d3,bot:V8,box:p3,brain:E3,briefcase:y3,brush:b3,bug:k3,"bug-play":B3,building:S3,"building-2":F3,cake:N3,calendar:T3,camera:R3,car:z3,carrot:P3,cat:I3,"chart-bar":q3,"chart-line":G3,"chart-pie":Q3,clapperboard:tC,clock:rC,cloud:cC,code:fC,"code-xml":uC,coffee:pC,cog:EC,compass:yC,cpu:AC,"credit-card":vC,crown:DC,database:wC,dna:_C,dog:MC,"dollar-sign":jC,dumbbell:OC,egg:UC,factory:$C,feather:VC,file:ZC,"file-code":YC,film:JC,fish:tb,flag:rb,flame:ib,"flask-conical":sb,folder:cb,"gamepad-2":fb,gem:Eb,gift:yb,"git-branch":Bb,github:Fb,glasses:Sb,globe:Nb,"graduation-cap":Tb,"grid-3x3":Rb,hammer:zb,headphones:Pb,heart:qb,"heart-pulse":Ib,house:Vb,image:Yb,key:Wb,laptop:eA,"layout-grid":aA,layers:nA,leaf:lA,lightbulb:oA,link:xA,lock:pA,mail:yA,map:Z8,"map-pin":bA,martini:vA,medal:DA,"message-circle":wA,"message-square":_A,mic:MA,microscope:jA,monitor:OA,moon:LA,music:UA,orbit:HA,package:$A,paintbrush:VA,paperclip:ec,"paw-print":ZA,pen:JA,pencil:tB,phone:rB,pill:iB,pipette:sB,pizza:cB,plane:uB,plug:pB,power:gB,puzzle:CB,rabbit:BB,radio:kB,rocket:wB,ruler:jB,salad:MB,satellite:OB,scissors:LB,server:IB,settings:qB,shell:GB,shield:QB,ship:KB,"shopping-bag":ZB,"shopping-cart":JB,smartphone:rv,snail:iv,soup:cv,sparkles:uv,sprout:fv,star:Ju,stethoscope:Ev,store:yv,sun:n2,tag:vv,tags:Dv,target:wv,telescope:_v,terminal:Mv,ticket:jv,"train-front":Ov,"tree-pine":Lv,"trending-up":Uv,trophy:qv,turtle:Gv,user:Qv,users:Kv,utensils:Zv,video:Jv,wallet:tk,"wand-2":v9,"wand-sparkles":v9,warehouse:ak,wheat:lk,wifi:r2,wine:xk,wrench:dk,zap:a2};function Z2({state:e,color:n="var(--color-working)",className:a}){return e==="failed"?m.jsx("span",{className:Ce("dot-error",a),role:"img","aria-label":"Send failed","data-prompt-state":"failed",children:m.jsx(Nn,{size:8,strokeWidth:3,"aria-hidden":!0})}):m.jsx("span",{className:Ce("dot-spinner",a),style:{"--spin-color":n},role:"img","aria-label":"Prompt pending","data-prompt-state":"sending"})}function rw({w:e,promptState:n,className:a}){const{color:i,spinning:s}=LF(e);return n?m.jsx(Z2,{state:n,color:i,className:a}):s?m.jsx("span",{className:Ce("dot-spinner",a),style:{"--spin-color":i}}):m.jsx("span",{className:Ce("dot",a),style:{background:i}})}function aw(e){const n=Math.max(0,Math.round(e/1e3));if(n<90)return`${n}s`;const a=Math.round(n/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function iw(){const e=Ae(x=>x.online),n=Ae(x=>x.lastSyncAt),a=Ae(x=>x.update),i=a?.mode==="auto"&&a.available,[s,c]=D.useState(()=>Date.now());return D.useEffect(()=>{if(e)return;const x=setInterval(()=>c(Date.now()),1e3);return()=>clearInterval(x)},[e]),i?m.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[m.jsx(Zs,{size:13,className:"animate-spin"}),m.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:m.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[m.jsx(Ld,{size:13}),m.jsxs("span",{children:["Offline — retrying…",n?` last synced ${aw(s-n)} ago`:""]})]})}function xa({className:e}){const n=ew();return n?m.jsx("a",{href:n,className:Ce("font-semibold text-accent underline underline-offset-2",e),children:"Unlock the Mac"}):null}function W2({text:e,label:n,className:a,size:i=14}){const[s,c]=D.useState(!1),x=async()=>{try{await tw(e),c(!0),window.setTimeout(()=>c(!1),1800)}catch{c(!1)}};return m.jsx("button",{type:"button",onClick:()=>{x()},"aria-label":s?`Copied ${n}`:`Copy ${n}`,className:Ce("flex items-center justify-center text-muted transition active:bg-surface-2",a),children:s?m.jsx(ca,{size:i,className:"text-accent"}):m.jsx(Od,{size:i})})}function em({children:e,className:n}){return m.jsx("span",{className:Ce("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",n),children:e})}function lw({children:e}){return m.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-on-solid",children:e})}function sw({error:e}){const n=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),i=!(e instanceof Er)||e.status===0;return n?m.jsxs(Bn,{children:[m.jsx(Ld,{size:20,className:"mx-auto mb-3 text-muted"}),m.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),m.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):m.jsxs(Bn,{children:[m.jsx(iC,{size:20,className:"mx-auto mb-3 text-del"}),m.jsx("div",{className:"font-medium text-text",children:i?"Can’t reach the relay":"The relay answered with an error"}),m.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),i?m.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[m.jsx("li",{children:"Is the Mac awake and online?"}),m.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",m.jsx("span",{className:"text-text",children:"iCloud Private Relay off"}),". Private Relay routes around the VPN, so the app stays stuck even while Tailscale says Connected."]}),m.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Bn({children:e}){return m.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function Va({label:e}){return m.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[m.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const R0="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function Hs({icon:e,name:n,artwork:a}){const i=m.jsx("div",{className:Ce(R0,"text-xs"),children:(n.trim()[0]??"?").toUpperCase()});if(!e)return i;if(e.kind==="emoji")return m.jsx("div",{className:Ce(R0,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const s=nw[e.value];return s?m.jsx("div",{className:R0,children:m.jsx(s,{size:18,className:"text-muted"})}):i}return e.kind==="github"?m.jsx(J2,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",artwork:a,fallback:i}):m.jsx(ow,{repoName:n,artwork:a,fallback:i})}function J2({src:e,fit:n,artwork:a,fallback:i}){const[s,c]=D.useState(!1);return s?m.jsx(m.Fragment,{children:i}):m.jsx("div",{className:Ce(R0,a==="inset"&&"p-1.5"),children:m.jsx("img",{src:e,alt:"",loading:"lazy",className:Ce("size-full",a==="full-bleed"?"rounded-[inherit]":"rounded-sm",n==="cover"?"object-cover":"object-contain"),onError:()=>c(!0)})})}function ow({repoName:e,artwork:n,fallback:a}){const{data:i,isError:s}=FD(e);return!e||s||!i?m.jsx(m.Fragment,{children:a}):m.jsx(J2,{src:i,fit:"contain",artwork:n,fallback:a})}function q0({title:e,subtitle:n,menu:a,right:i}){const s=Ae(c=>c.setSidebarOpen);return m.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[m.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?m.jsx("button",{type:"button",onClick:()=>s(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:m.jsx(YA,{size:20})}):m.jsx("span",{className:"w-1"}),m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),n?m.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:n}):null]}),i]}),m.jsx(iw,{})]})}function cw(e){const n=e.regex,a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),x={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,s]};s.contains.push(d);const u={match:/\\"/},f={className:"string",begin:/'/,end:/'/},E={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},y=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],C=e.SHEBANG({binary:`(${y.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},A=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],k={match:/(\/[a-z._-]+)+/},T=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],F=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],j=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],O=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:A,literal:v,built_in:[...T,...F,"set","shopt",...j,...O]},contains:[C,e.SHEBANG(),b,h,c,x,k,d,u,f,E,a]}}const xw=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),uw=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],dw=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],fw=[...uw,...dw],hw=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),pw=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),mw=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Ew=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function gw(e){const n=e.regex,a=xw(e),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",c=/@-?\w[\w]*(-\w+)*/,x="[a-zA-Z-][a-zA-Z0-9_-]*",d=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,i,a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+x,relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+pw.join("|")+")"},{begin:":(:)?("+mw.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ew.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,a.UNICODE_RANGE,...d,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...d,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:c},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:hw.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+fw.join("|")+")\\b"}]}}function yw(e){const n=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},c={className:"literal",begin:/\bon|off|true|false|yes|no\b/},x={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},d={begin:/\[/,end:/\]/,contains:[i,c,s,x,a,"self"],relevance:0},u=/[A-Za-z0-9_-]+/,f=/"(\\"|[^"])*"/,E=/'[^']*'/,h=n.either(u,f,E),y=n.concat(h,"(\\s*\\.\\s*",h,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:y,className:"attr",starts:{end:/$/,contains:[i,d,c,s,x,a]}}]}}const tm="[A-Za-z$_][0-9A-Za-z$_]*",Cw=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],bw=["true","false","null","undefined","NaN","Infinity"],eE=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],tE=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],nE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Aw=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Bw=[].concat(nE,eE,tE);function vw(e){const n=e.regex,a=(ie,{after:he})=>{const N="</"+ie[0].slice(1);return ie.input.indexOf(N,he)!==-1},i=tm,s={begin:"<>",end:"</>"},c=/<[A-Za-z0-9\\._:-]+\s*\/>/,x={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ie,he)=>{const N=ie[0].length+ie.index,S=ie.input[N];if(S==="<"||S===","){he.ignoreMatch();return}S===">"&&(a(ie,{after:N})||he.ignoreMatch());let Q;const _=ie.input.substring(N);if(Q=_.match(/^\s*=/)){he.ignoreMatch();return}if((Q=_.match(/^\s+extends\s+/))&&Q.index===0){he.ignoreMatch();return}}},d={$pattern:tm,keyword:Cw,literal:bw,built_in:Bw,"variable.language":Aw},u="[0-9](_?[0-9])*",f=`\\.(${u})`,E="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${E})((${f})|\\.)?|(${f}))[eE][+-]?(${u})\\b`},{begin:`\\b(${E})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},C={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},b={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},F=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,C,b,A,v,{match:/\$\d+/},h];y.contains=F.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(F)});const j=[].concat(T,y.contains),O=j.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(j)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O},R={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},z={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...eE,...tE]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(ie){return n.concat("(?!",ie.join("|"),")")}const J={match:n.concat(/\b/,Y([...nE,"super","import","await"].map(ie=>`${ie}\\s*\\(`)),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},X={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},U="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Z={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(U)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:z},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,C,b,A,v,T,{match:/\$\d+/},h,z,{scope:"attr",match:i+n.lookahead(":"),relevance:0},Z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:U,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:c},{begin:x.begin,"on:begin":x.isTrulyOpeningTag,end:x.end}],subLanguage:"xml",contains:[{begin:x.begin,end:x.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},X,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},J,V,R,P,{match:/\$[(.]/}]}}const kw="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",Dw={scope:"number",match:kw,relevance:0};function Fw(e){const n={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],s={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:i},contains:[n,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,Dw,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function ww(e){const n=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},c={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},x={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,u={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},f={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},E={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(f,{contains:[]}),y=e.inherit(E,{contains:[]});f.contains.push(y),E.contains.push(h);let C=[a,u];return[f,E,h,y].forEach(k=>{k.contains=k.contains.concat(C)}),C=C.concat(f,E),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:C},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:C}]}]},a,c,f,E,{className:"quote",begin:"^>\\s+",contains:C,end:"$"},s,i,u,x,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Sw(e){const n=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],d={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},f={className:"subst",begin:/\{/,end:/\}/,keywords:d,illegal:/#/},E={begin:/\{\{/,relevance:0},h={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u,E,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,u,E,f]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,E,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,E,f]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y="[0-9](_?[0-9])*",C=`(\\b(${y}))?\\.(${y})|\\b(${y})\\.`,b=`\\b|${i.join("|")}`,A={className:"number",relevance:0,variants:[{begin:`(\\b(${y})|(${C}))[eE][+-]?(${y})[jJ]?(?=${b})`},{begin:`(${C})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${b})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${b})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${b})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${b})`},{begin:`\\b(${y})[jJ](?=${b})`}]},v={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},k={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",u,A,h,e.HASH_COMMENT_MODE]}]};return f.contains=[h,A,u],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[u,A,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},h,v,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[k]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[A,k,h]}]}}function _w(e){const n=e.regex,a=e.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},s={begin:/"/,end:/"/,contains:[{match:/""/}]},c=["true","false","unknown"],x=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],u=["add","asc","collation","desc","final","first","last","view"],f=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],E=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],y=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],C=E,b=[...f,...u].filter(O=>!E.includes(O)),A={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},k={match:n.concat(/\b/,n.either(...C),/\s*\(/),relevance:0,keywords:{built_in:C}};function T(O){return n.concat(/\b/,n.either(...O.map(M=>M.replace(/\s+/,"\\s+"))),/\b/)}const F={scope:"keyword",match:T(y),relevance:0};function j(O,{exceptions:M,when:R}={}){const z=R;return M=M||[],O.map($=>$.match(/\|\d+$/)||M.includes($)?$:z($)?`${$}|0`:$)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:j(b,{when:O=>O.length<3}),literal:c,type:d,built_in:h},contains:[{scope:"type",match:T(x)},F,k,A,i,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,v]}}const $0="[A-Za-z$_][0-9A-Za-z$_]*",rE=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],aE=["true","false","null","undefined","NaN","Infinity"],iE=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],lE=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],oE=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],cE=[].concat(sE,iE,lE);function Nw(e){const n=e.regex,a=(ie,{after:he})=>{const N="</"+ie[0].slice(1);return ie.input.indexOf(N,he)!==-1},i=$0,s={begin:"<>",end:"</>"},c=/<[A-Za-z0-9\\._:-]+\s*\/>/,x={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ie,he)=>{const N=ie[0].length+ie.index,S=ie.input[N];if(S==="<"||S===","){he.ignoreMatch();return}S===">"&&(a(ie,{after:N})||he.ignoreMatch());let Q;const _=ie.input.substring(N);if(Q=_.match(/^\s*=/)){he.ignoreMatch();return}if((Q=_.match(/^\s+extends\s+/))&&Q.index===0){he.ignoreMatch();return}}},d={$pattern:$0,keyword:rE,literal:aE,built_in:cE,"variable.language":oE},u="[0-9](_?[0-9])*",f=`\\.(${u})`,E="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${E})((${f})|\\.)?|(${f}))[eE][+-]?(${u})\\b`},{begin:`\\b(${E})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},C={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},b={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},F=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,C,b,A,v,{match:/\$\d+/},h];y.contains=F.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(F)});const j=[].concat(T,y.contains),O=j.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(j)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O},R={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},z={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...iE,...lE]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(ie){return n.concat("(?!",ie.join("|"),")")}const J={match:n.concat(/\b/,Y([...sE,"super","import","await"].map(ie=>`${ie}\\s*\\(`)),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},X={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},U="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Z={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(U)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:z},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,C,b,A,v,T,{match:/\$\d+/},h,z,{scope:"attr",match:i+n.lookahead(":"),relevance:0},Z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:U,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:c},{begin:x.begin,"on:begin":x.isTrulyOpeningTag,end:x.end}],subLanguage:"xml",contains:[{begin:x.begin,end:x.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},X,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},J,V,R,P,{match:/\$[(.]/}]}}function Mw(e){const n=e.regex,a=Nw(e),i=$0,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],c={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},x={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[a.exports.CLASS_REFERENCE]},d={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},u=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],f={$pattern:$0,keyword:rE.concat(u),literal:aE,built_in:cE.concat(s),"variable.language":oE},E={className:"meta",begin:"@"+i},h=(A,v,k)=>{const T=A.contains.findIndex(F=>F.label===v);if(T===-1)throw new Error("can not find mode to replace");A.contains.splice(T,1,k)};Object.assign(a.keywords,f),a.exports.PARAMS_CONTAINS.push(E);const y=a.contains.find(A=>A.scope==="attr"),C=Object.assign({},y,{match:n.concat(i,n.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,y,C]),a.contains=a.contains.concat([E,c,x,C]),h(a,"shebang",e.SHEBANG()),h(a,"use_strict",d);const b=a.contains.find(A=>A.label==="func.def");return b.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function Tw(e){const n=e.regex,a=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},x=e.inherit(c,{begin:/\(/,end:/\)/}),d=e.inherit(e.APOS_STRING_MODE,{className:"string"}),u=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),f={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:i,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[c,u,d,x,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[c,x,u,d]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[u]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[f],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[f],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(a,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:f}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function jw(e){const n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},c={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},x={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,s]},d=e.inherit(x,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),y={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},C={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[C],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[C],illegal:"\\n",relevance:0},v=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},y,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,A,c,x],k=[...v];return k.pop(),k.push(d),C.contains=k,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}var bu,nm;function Rw(){if(nm)return bu;nm=1;function e(H){return H instanceof Map?H.clear=H.delete=H.set=function(){throw new Error("map is read-only")}:H instanceof Set&&(H.add=H.clear=H.delete=function(){throw new Error("set is read-only")}),Object.freeze(H),Object.getOwnPropertyNames(H).forEach(oe=>{const ye=H[oe],Ie=typeof ye;(Ie==="object"||Ie==="function")&&!Object.isFrozen(ye)&&e(ye)}),H}class n{constructor(oe){oe.data===void 0&&(oe.data={}),this.data=oe.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(H){return H.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(H,...oe){const ye=Object.create(null);for(const Ie in H)ye[Ie]=H[Ie];return oe.forEach(function(Ie){for(const Mt in Ie)ye[Mt]=Ie[Mt]}),ye}const s="</span>",c=H=>!!H.scope,x=(H,{prefix:oe})=>{if(H.startsWith("language:"))return H.replace("language:","language-");if(H.includes(".")){const ye=H.split(".");return[`${oe}${ye.shift()}`,...ye.map((Ie,Mt)=>`${Ie}${"_".repeat(Mt+1)}`)].join(" ")}return`${oe}${H}`};class d{constructor(oe,ye){this.buffer="",this.classPrefix=ye.classPrefix,oe.walk(this)}addText(oe){this.buffer+=a(oe)}openNode(oe){if(!c(oe))return;const ye=x(oe.scope,{prefix:this.classPrefix});this.span(ye)}closeNode(oe){c(oe)&&(this.buffer+=s)}value(){return this.buffer}span(oe){this.buffer+=`<span class="${oe}">`}}const u=(H={})=>{const oe={children:[]};return Object.assign(oe,H),oe};class f{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(oe){this.top.children.push(oe)}openNode(oe){const ye=u({scope:oe});this.add(ye),this.stack.push(ye)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(oe){return this.constructor._walk(oe,this.rootNode)}static _walk(oe,ye){return typeof ye=="string"?oe.addText(ye):ye.children&&(oe.openNode(ye),ye.children.forEach(Ie=>this._walk(oe,Ie)),oe.closeNode(ye)),oe}static _collapse(oe){typeof oe!="string"&&oe.children&&(oe.children.every(ye=>typeof ye=="string")?oe.children=[oe.children.join("")]:oe.children.forEach(ye=>{f._collapse(ye)}))}}class E extends f{constructor(oe){super(),this.options=oe}addText(oe){oe!==""&&this.add(oe)}startScope(oe){this.openNode(oe)}endScope(){this.closeNode()}__addSublanguage(oe,ye){const Ie=oe.root;ye&&(Ie.scope=`language:${ye}`),this.add(Ie)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function h(H){return H?typeof H=="string"?H:H.source:null}function y(H){return A("(?=",H,")")}function C(H){return A("(?:",H,")*")}function b(H){return A("(?:",H,")?")}function A(...H){return H.map(ye=>h(ye)).join("")}function v(H){const oe=H[H.length-1];return typeof oe=="object"&&oe.constructor===Object?(H.splice(H.length-1,1),oe):{}}function k(...H){return"("+(v(H).capture?"":"?:")+H.map(Ie=>h(Ie)).join("|")+")"}function T(H){return new RegExp(H.toString()+"|").exec("").length-1}function F(H,oe){const ye=H&&H.exec(oe);return ye&&ye.index===0}const j=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function O(H,{joinWith:oe}){let ye=0;return H.map(Ie=>{ye+=1;const Mt=ye;let Dt=h(Ie),Ne="";for(;Dt.length>0;){const De=j.exec(Dt);if(!De){Ne+=Dt;break}Ne+=Dt.substring(0,De.index),Dt=Dt.substring(De.index+De[0].length),De[0][0]==="\\"&&De[1]?Ne+="\\"+String(Number(De[1])+Mt):(Ne+=De[0],De[0]==="("&&ye++)}return Ne}).map(Ie=>`(${Ie})`).join(oe)}const M=/\b\B/,R="[a-zA-Z]\\w*",z="[a-zA-Z_]\\w*",$="\\b\\d+(\\.\\d+)?",L="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",V="\\b(0b[01]+)",Y="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",J=(H={})=>{const oe=/^#![ ]*\//;return H.binary&&(H.begin=A(oe,/.*\b/,H.binary,/\b.*/)),i({scope:"meta",begin:oe,end:/$/,relevance:0,"on:begin":(ye,Ie)=>{ye.index!==0&&Ie.ignoreMatch()}},H)},X={begin:"\\\\[\\s\\S]",relevance:0},P={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[X]},U={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[X]},Z={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ie=function(H,oe,ye={}){const Ie=i({scope:"comment",begin:H,end:oe,contains:[]},ye);Ie.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Mt=k("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Ie.contains.push({begin:A(/[ ]+/,"(",Mt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Ie},he=ie("//","$"),N=ie("/\\*","\\*/"),S=ie("#","$"),Q={scope:"number",begin:$,relevance:0},_={scope:"number",begin:L,relevance:0},re={scope:"number",begin:V,relevance:0},Ee={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[X,{begin:/\[/,end:/\]/,relevance:0,contains:[X]}]},fe={scope:"title",begin:R,relevance:0},ve={scope:"title",begin:z,relevance:0},Ge={begin:"\\.\\s*"+z,relevance:0};var ft=Object.freeze({__proto__:null,APOS_STRING_MODE:P,BACKSLASH_ESCAPE:X,BINARY_NUMBER_MODE:re,BINARY_NUMBER_RE:V,COMMENT:ie,C_BLOCK_COMMENT_MODE:N,C_LINE_COMMENT_MODE:he,C_NUMBER_MODE:_,C_NUMBER_RE:L,END_SAME_AS_BEGIN:function(H){return Object.assign(H,{"on:begin":(oe,ye)=>{ye.data._beginMatch=oe[1]},"on:end":(oe,ye)=>{ye.data._beginMatch!==oe[1]&&ye.ignoreMatch()}})},HASH_COMMENT_MODE:S,IDENT_RE:R,MATCH_NOTHING_RE:M,METHOD_GUARD:Ge,NUMBER_MODE:Q,NUMBER_RE:$,PHRASAL_WORDS_MODE:Z,QUOTE_STRING_MODE:U,REGEXP_MODE:Ee,RE_STARTERS_RE:Y,SHEBANG:J,TITLE_MODE:fe,UNDERSCORE_IDENT_RE:z,UNDERSCORE_TITLE_MODE:ve});function xt(H,oe){H.input[H.index-1]==="."&&oe.ignoreMatch()}function $t(H,oe){H.className!==void 0&&(H.scope=H.className,delete H.className)}function Gt(H,oe){oe&&H.beginKeywords&&(H.begin="\\b("+H.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",H.__beforeBegin=xt,H.keywords=H.keywords||H.beginKeywords,delete H.beginKeywords,H.relevance===void 0&&(H.relevance=0))}function ot(H,oe){Array.isArray(H.illegal)&&(H.illegal=k(...H.illegal))}function Pt(H,oe){if(H.match){if(H.begin||H.end)throw new Error("begin & end are not supported with match");H.begin=H.match,delete H.match}}function Be(H,oe){H.relevance===void 0&&(H.relevance=1)}const bt=(H,oe)=>{if(!H.beforeMatch)return;if(H.starts)throw new Error("beforeMatch cannot be used with starts");const ye=Object.assign({},H);Object.keys(H).forEach(Ie=>{delete H[Ie]}),H.keywords=ye.keywords,H.begin=A(ye.beforeMatch,y(ye.begin)),H.starts={relevance:0,contains:[Object.assign(ye,{endsParent:!0})]},H.relevance=0,delete ye.beforeMatch},_t=["of","and","for","in","not","or","if","then","parent","list","value"],Ve="keyword";function cn(H,oe,ye=Ve){const Ie=Object.create(null);return typeof H=="string"?Mt(ye,H.split(" ")):Array.isArray(H)?Mt(ye,H):Object.keys(H).forEach(function(Dt){Object.assign(Ie,cn(H[Dt],oe,Dt))}),Ie;function Mt(Dt,Ne){oe&&(Ne=Ne.map(De=>De.toLowerCase())),Ne.forEach(function(De){const Ue=De.split("|");Ie[Ue[0]]=[Dt,ht(Ue[0],Ue[1])]})}}function ht(H,oe){return oe?Number(oe):ue(H)?0:1}function ue(H){return _t.includes(H.toLowerCase())}const Ot={},rt=H=>{console.error(H)},se=(H,...oe)=>{console.log(`WARN: ${H}`,...oe)},te=(H,oe)=>{Ot[`${H}/${oe}`]||(console.log(`Deprecated as of ${H}. ${oe}`),Ot[`${H}/${oe}`]=!0)},de=new Error;function _e(H,oe,{key:ye}){let Ie=0;const Mt=H[ye],Dt={},Ne={};for(let De=1;De<=oe.length;De++)Ne[De+Ie]=Mt[De],Dt[De+Ie]=!0,Ie+=T(oe[De-1]);H[ye]=Ne,H[ye]._emit=Dt,H[ye]._multi=!0}function Qe(H){if(Array.isArray(H.begin)){if(H.skip||H.excludeBegin||H.returnBegin)throw rt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),de;if(typeof H.beginScope!="object"||H.beginScope===null)throw rt("beginScope must be object"),de;_e(H,H.begin,{key:"beginScope"}),H.begin=O(H.begin,{joinWith:""})}}function We(H){if(Array.isArray(H.end)){if(H.skip||H.excludeEnd||H.returnEnd)throw rt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),de;if(typeof H.endScope!="object"||H.endScope===null)throw rt("endScope must be object"),de;_e(H,H.end,{key:"endScope"}),H.end=O(H.end,{joinWith:""})}}function Dn(H){H.scope&&typeof H.scope=="object"&&H.scope!==null&&(H.beginScope=H.scope,delete H.scope)}function Ar(H){Dn(H),typeof H.beginScope=="string"&&(H.beginScope={_wrap:H.beginScope}),typeof H.endScope=="string"&&(H.endScope={_wrap:H.endScope}),Qe(H),We(H)}function xn(H){function oe(Ne,De){return new RegExp(h(Ne),"m"+(H.case_insensitive?"i":"")+(H.unicodeRegex?"u":"")+(De?"g":""))}class ye{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(De,Ue){Ue.position=this.position++,this.matchIndexes[this.matchAt]=Ue,this.regexes.push([Ue,De]),this.matchAt+=T(De)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const De=this.regexes.map(Ue=>Ue[1]);this.matcherRe=oe(O(De,{joinWith:"|"}),!0),this.lastIndex=0}exec(De){this.matcherRe.lastIndex=this.lastIndex;const Ue=this.matcherRe.exec(De);if(!Ue)return null;const Vt=Ue.findIndex((Pr,Si)=>Si>0&&Pr!==void 0),zt=this.matchIndexes[Vt];return Ue.splice(0,Vt),Object.assign(Ue,zt)}}class Ie{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(De){if(this.multiRegexes[De])return this.multiRegexes[De];const Ue=new ye;return this.rules.slice(De).forEach(([Vt,zt])=>Ue.addRule(Vt,zt)),Ue.compile(),this.multiRegexes[De]=Ue,Ue}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(De,Ue){this.rules.push([De,Ue]),Ue.type==="begin"&&this.count++}exec(De){const Ue=this.getMatcher(this.regexIndex);Ue.lastIndex=this.lastIndex;let Vt=Ue.exec(De);if(this.resumingScanAtSamePosition()&&!(Vt&&Vt.index===this.lastIndex)){const zt=this.getMatcher(0);zt.lastIndex=this.lastIndex+1,Vt=zt.exec(De)}return Vt&&(this.regexIndex+=Vt.position+1,this.regexIndex===this.count&&this.considerAll()),Vt}}function Mt(Ne){const De=new Ie;return Ne.contains.forEach(Ue=>De.addRule(Ue.begin,{rule:Ue,type:"begin"})),Ne.terminatorEnd&&De.addRule(Ne.terminatorEnd,{type:"end"}),Ne.illegal&&De.addRule(Ne.illegal,{type:"illegal"}),De}function Dt(Ne,De){const Ue=Ne;if(Ne.isCompiled)return Ue;[$t,Pt,Ar,bt].forEach(zt=>zt(Ne,De)),H.compilerExtensions.forEach(zt=>zt(Ne,De)),Ne.__beforeBegin=null,[Gt,ot,Be].forEach(zt=>zt(Ne,De)),Ne.isCompiled=!0;let Vt=null;return typeof Ne.keywords=="object"&&Ne.keywords.$pattern&&(Ne.keywords=Object.assign({},Ne.keywords),Vt=Ne.keywords.$pattern,delete Ne.keywords.$pattern),Vt=Vt||/\w+/,Ne.keywords&&(Ne.keywords=cn(Ne.keywords,H.case_insensitive)),Ue.keywordPatternRe=oe(Vt,!0),De&&(Ne.begin||(Ne.begin=/\B|\b/),Ue.beginRe=oe(Ue.begin),!Ne.end&&!Ne.endsWithParent&&(Ne.end=/\B|\b/),Ne.end&&(Ue.endRe=oe(Ue.end)),Ue.terminatorEnd=h(Ue.end)||"",Ne.endsWithParent&&De.terminatorEnd&&(Ue.terminatorEnd+=(Ne.end?"|":"")+De.terminatorEnd)),Ne.illegal&&(Ue.illegalRe=oe(Ne.illegal)),Ne.contains||(Ne.contains=[]),Ne.contains=[].concat(...Ne.contains.map(function(zt){return En(zt==="self"?Ne:zt)})),Ne.contains.forEach(function(zt){Dt(zt,Ue)}),Ne.starts&&Dt(Ne.starts,De),Ue.matcher=Mt(Ue),Ue}if(H.compilerExtensions||(H.compilerExtensions=[]),H.contains&&H.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return H.classNameAliases=i(H.classNameAliases||{}),Dt(H)}function It(H){return H?H.endsWithParent||It(H.starts):!1}function En(H){return H.variants&&!H.cachedVariants&&(H.cachedVariants=H.variants.map(function(oe){return i(H,{variants:null},oe)})),H.cachedVariants?H.cachedVariants:It(H)?i(H,{starts:H.starts?i(H.starts):null}):Object.isFrozen(H)?i(H):H}var mt="11.11.2";class Sr extends Error{constructor(oe,ye){super(oe),this.name="HTMLInjectionError",this.html=ye}}const Fn=a,to=i,Ya=Symbol("nomatch"),wi=7,Ka=function(H){const oe=Object.create(null),ye=Object.create(null),Ie=[];let Mt=!0;const Dt="Could not find the language '{}', did you forget to load/include a language module?",Ne={disableAutodetect:!0,name:"Plain text",contains:[]};let De={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:E};function Ue(pe){return De.noHighlightRe.test(pe)}function Vt(pe){let je=pe.className+" ";je+=pe.parentNode?pe.parentNode.className:"";const Je=De.languageDetectRe.exec(je);if(Je){const Et=wn(Je[1]);return Et||(se(Dt.replace("{}",Je[1])),se("Falling back to no-highlight mode for this block.",pe)),Et?Je[1]:"no-highlight"}return je.split(/\s+/).find(Et=>Ue(Et)||wn(Et))}function zt(pe,je,Je){let Et="",Yt="";typeof je=="object"?(Et=pe,Je=je.ignoreIllegals,Yt=je.language):(te("10.7.0","highlight(lang, code, ...args) has been deprecated."),te("10.7.0",`Please use highlight(code, options) instead.
|
|
13
13
|
https://github.com/highlightjs/highlight.js/issues/2277`),Yt=pe,Et=je),Je===void 0&&(Je=!0);const yn={code:Et,language:Yt};Za("before:highlight",yn);const Gn=yn.result?yn.result:Pr(yn.language,yn.code,Je);return Gn.code=yn.code,Za("after:highlight",Gn),Gn}function Pr(pe,je,Je,Et){const Yt=Object.create(null);function yn(ge,Me){return ge.keywords[Me]}function Gn(){if(!Pe.keywords){Jt.addText(gt);return}let ge=0;Pe.keywordPatternRe.lastIndex=0;let Me=Pe.keywordPatternRe.exec(gt),Ye="";for(;Me;){Ye+=gt.substring(ge,Me.index);const at=un.case_insensitive?Me[0].toLowerCase():Me[0],Ut=yn(Pe,at);if(Ut){const[ir,_l]=Ut;if(Jt.addText(Ye),Ye="",Yt[at]=(Yt[at]||0)+1,Yt[at]<=wi&&(ma+=_l),ir.startsWith("_"))Ye+=Me[0];else{const oo=un.classNameAliases[ir]||ir;Vn(Me[0],oo)}}else Ye+=Me[0];ge=Pe.keywordPatternRe.lastIndex,Me=Pe.keywordPatternRe.exec(gt)}Ye+=gt.substring(ge),Jt.addText(Ye)}function Tn(){if(gt==="")return;let ge=null;if(typeof Pe.subLanguage=="string"){if(!oe[Pe.subLanguage]){Jt.addText(gt);return}ge=Pr(Pe.subLanguage,gt,!0,so[Pe.subLanguage]),so[Pe.subLanguage]=ge._top}else ge=_i(gt,Pe.subLanguage.length?Pe.subLanguage:null);Pe.relevance>0&&(ma+=ge.relevance),Jt.__addSublanguage(ge._emitter,ge.language)}function Nt(){Pe.subLanguage!=null?Tn():Gn(),gt=""}function Vn(ge,Me){ge!==""&&(Jt.startScope(Me),Jt.addText(ge),Jt.endScope())}function io(ge,Me){let Ye=1;const at=Me.length-1;for(;Ye<=at;){if(!ge._emit[Ye]){Ye++;continue}const Ut=un.classNameAliases[ge[Ye]]||ge[Ye],ir=Me[Ye];Ut?Vn(ir,Ut):(gt=ir,Gn(),gt=""),Ye++}}function Mi(ge,Me){return ge.scope&&typeof ge.scope=="string"&&Jt.openNode(un.classNameAliases[ge.scope]||ge.scope),ge.beginScope&&(ge.beginScope._wrap?(Vn(gt,un.classNameAliases[ge.beginScope._wrap]||ge.beginScope._wrap),gt=""):ge.beginScope._multi&&(io(ge.beginScope,Me),gt="")),Pe=Object.create(ge,{parent:{value:Pe}}),Pe}function Fl(ge,Me,Ye){let at=F(ge.endRe,Ye);if(at){if(ge["on:end"]){const Ut=new n(ge);ge["on:end"](Me,Ut),Ut.isMatchIgnored&&(at=!1)}if(at){for(;ge.endsParent&&ge.parent;)ge=ge.parent;return ge}}if(ge.endsWithParent)return Fl(ge.parent,Me,Ye)}function Ti(ge){return Pe.matcher.regexIndex===0?(gt+=ge[0],1):(Ea=!0,0)}function lc(ge){const Me=ge[0],Ye=ge.rule,at=new n(Ye),Ut=[Ye.__beforeBegin,Ye["on:begin"]];for(const ir of Ut)if(ir&&(ir(ge,at),at.isMatchIgnored))return Ti(Me);return Ye.skip?gt+=Me:(Ye.excludeBegin&&(gt+=Me),Nt(),!Ye.returnBegin&&!Ye.excludeBegin&&(gt=Me)),Mi(Ye,ge),Ye.returnBegin?0:Me.length}function jn(ge){const Me=ge[0],Ye=je.substring(ge.index),at=Fl(Pe,ge,Ye);if(!at)return Ya;const Ut=Pe;Pe.endScope&&Pe.endScope._wrap?(Nt(),Vn(Me,Pe.endScope._wrap)):Pe.endScope&&Pe.endScope._multi?(Nt(),io(Pe.endScope,ge)):Ut.skip?gt+=Me:(Ut.returnEnd||Ut.excludeEnd||(gt+=Me),Nt(),Ut.excludeEnd&&(gt=Me));do Pe.scope&&Jt.closeNode(),!Pe.skip&&!Pe.subLanguage&&(ma+=Pe.relevance),Pe=Pe.parent;while(Pe!==at.parent);return at.starts&&Mi(at.starts,ge),Ut.returnEnd?0:Me.length}function wl(){const ge=[];for(let Me=Pe;Me!==un;Me=Me.parent)Me.scope&&ge.unshift(Me.scope);ge.forEach(Me=>Jt.openNode(Me))}let Wa={};function ji(ge,Me){const Ye=Me&&Me[0];if(gt+=ge,Ye==null)return Nt(),0;if(Wa.type==="begin"&&Me.type==="end"&&Wa.index===Me.index&&Ye===""){if(gt+=je.slice(Me.index,Me.index+1),!Mt){const at=new Error(`0 width match regex (${pe})`);throw at.languageName=pe,at.badRule=Wa.rule,at}return 1}if(Wa=Me,Me.type==="begin")return lc(Me);if(Me.type==="illegal"&&!Je){const at=new Error('Illegal lexeme "'+Ye+'" for mode "'+(Pe.scope||"<unnamed>")+'"');throw at.mode=Pe,at}else if(Me.type==="end"){const at=jn(Me);if(at!==Ya)return at}if(Me.type==="illegal"&&Ye==="")return Me.index===je.length||(gt+=`
|
|
14
14
|
`),1;if(Sl>1e5&&Sl>Me.index*3)throw new Error("potential infinite loop, way more iterations than matches");return gt+=Ye,Ye.length}const un=wn(pe);if(!un)throw rt(Dt.replace("{}",pe)),new Error('Unknown language: "'+pe+'"');const lo=xn(un);let Ri="",Pe=Et||lo;const so={},Jt=new De.__emitter(De);wl();let gt="",ma=0,Hr=0,Sl=0,Ea=!1;try{if(un.__emitTokens)un.__emitTokens(je,Jt);else{for(Pe.matcher.considerAll();;){Sl++,Ea?Ea=!1:Pe.matcher.considerAll(),Pe.matcher.lastIndex=Hr;const ge=Pe.matcher.exec(je);if(!ge)break;const Me=je.substring(Hr,ge.index),Ye=ji(Me,ge);Hr=ge.index+Ye}ji(je.substring(Hr))}return Jt.finalize(),Ri=Jt.toHTML(),{language:pe,value:Ri,relevance:ma,illegal:!1,_emitter:Jt,_top:Pe}}catch(ge){if(ge.message&&ge.message.includes("Illegal"))return{language:pe,value:Fn(je),illegal:!0,relevance:0,_illegalBy:{message:ge.message,index:Hr,context:je.slice(Hr-100,Hr+100),mode:ge.mode,resultSoFar:Ri},_emitter:Jt};if(Mt)return{language:pe,value:Fn(je),illegal:!1,relevance:0,errorRaised:ge,_emitter:Jt,_top:Pe};throw ge}}function Si(pe){const je={value:Fn(pe),illegal:!1,relevance:0,_top:Ne,_emitter:new De.__emitter(De)};return je._emitter.addText(pe),je}function _i(pe,je){je=je||De.languages||Object.keys(oe);const Je=Si(pe),Et=je.filter(wn).filter(ha).map(Nt=>Pr(Nt,pe,!1));Et.unshift(Je);const Yt=Et.sort((Nt,Vn)=>{if(Nt.relevance!==Vn.relevance)return Vn.relevance-Nt.relevance;if(Nt.language&&Vn.language){if(wn(Nt.language).supersetOf===Vn.language)return 1;if(wn(Vn.language).supersetOf===Nt.language)return-1}return 0}),[yn,Gn]=Yt,Tn=yn;return Tn.secondBest=Gn,Tn}function _r(pe,je,Je){const Et=je&&ye[je]||Je;pe.classList.add("hljs"),pe.classList.add(`language-${Et}`)}function Qt(pe){let je=null;const Je=Vt(pe);if(Ue(Je))return;if(Za("before:highlightElement",{el:pe,language:Je}),pe.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",pe);return}if(pe.children.length>0&&(De.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(pe)),De.throwUnescapedHTML))throw new Sr("One of your code blocks includes unescaped HTML.",pe.innerHTML);je=pe;const Et=je.textContent,Yt=Je?zt(Et,{language:Je,ignoreIllegals:!0}):_i(Et);pe.innerHTML=Yt.value,pe.dataset.highlighted="yes",_r(pe,Je,Yt.language),pe.result={language:Yt.language,re:Yt.relevance,relevance:Yt.relevance},Yt.secondBest&&(pe.secondBest={language:Yt.secondBest.language,relevance:Yt.secondBest.relevance}),Za("after:highlightElement",{el:pe,result:Yt,text:Et})}function gn(pe){De=to(De,pe)}const fa=()=>{Ni(),te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function kl(){Ni(),te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let no=!1;function Ni(){function pe(){Ni()}if(document.readyState==="loading"){no||window.addEventListener("DOMContentLoaded",pe,!1),no=!0;return}document.querySelectorAll(De.cssSelector).forEach(Qt)}function ro(pe,je){let Je=null;try{Je=je(H)}catch(Et){if(rt("Language definition for '{}' could not be registered.".replace("{}",pe)),Mt)rt(Et);else throw Et;Je=Ne}Je.name||(Je.name=pe),oe[pe]=Je,Je.rawDefinition=je.bind(null,H),Je.aliases&&Ur(Je.aliases,{languageName:pe})}function Xa(pe){delete oe[pe];for(const je of Object.keys(ye))ye[je]===pe&&delete ye[je]}function Dl(){return Object.keys(oe)}function wn(pe){return pe=(pe||"").toLowerCase(),oe[pe]||oe[ye[pe]]}function Ur(pe,{languageName:je}){typeof pe=="string"&&(pe=[pe]),pe.forEach(Je=>{ye[Je.toLowerCase()]=je})}function ha(pe){const je=wn(pe);return je&&!je.disableAutodetect}function pa(pe){pe["before:highlightBlock"]&&!pe["before:highlightElement"]&&(pe["before:highlightElement"]=je=>{pe["before:highlightBlock"](Object.assign({block:je.el},je))}),pe["after:highlightBlock"]&&!pe["after:highlightElement"]&&(pe["after:highlightElement"]=je=>{pe["after:highlightBlock"](Object.assign({block:je.el},je))})}function Wt(pe){pa(pe),Ie.push(pe)}function ao(pe){const je=Ie.indexOf(pe);je!==-1&&Ie.splice(je,1)}function Za(pe,je){const Je=pe;Ie.forEach(function(Et){Et[Je]&&Et[Je](je)})}function Ir(pe){return te("10.7.0","highlightBlock will be removed entirely in v12.0"),te("10.7.0","Please use highlightElement now."),Qt(pe)}Object.assign(H,{highlight:zt,highlightAuto:_i,highlightAll:Ni,highlightElement:Qt,highlightBlock:Ir,configure:gn,initHighlighting:fa,initHighlightingOnLoad:kl,registerLanguage:ro,unregisterLanguage:Xa,listLanguages:Dl,getLanguage:wn,registerAliases:Ur,autoDetection:ha,inherit:to,addPlugin:Wt,removePlugin:ao}),H.debugMode=function(){Mt=!1},H.safeMode=function(){Mt=!0},H.versionString=mt,H.regex={concat:A,lookahead:y,either:k,optional:b,anyNumberOfTimes:C};for(const pe in ft)typeof ft[pe]=="object"&&e(ft[pe]);return Object.assign(H,ft),H},Mn=Ka({});return Mn.newInstance=()=>Ka({}),bu=Mn,Mn.HighlightJS=Mn,Mn.default=Mn,bu}var Ow=Rw();const zw=Qs(Ow),rm={},Lw="hljs-";function Pw(e){const n=zw.newInstance();return e&&c(e),{highlight:a,highlightAuto:i,listLanguages:s,register:c,registerAlias:x,registered:d};function a(u,f,E){const h=E||rm,y=typeof h.prefix=="string"?h.prefix:Lw;if(!n.getLanguage(u))throw new Error("Unknown language: `"+u+"` is not registered");n.configure({__emitter:Uw,classPrefix:y});const C=n.highlight(f,{ignoreIllegals:!0,language:u});if(C.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:C.errorRaised});const b=C._emitter.root,A=b.data;return A.language=C.language,A.relevance=C.relevance,b}function i(u,f){const h=(f||rm).subset||s();let y=-1,C=0,b;for(;++y<h.length;){const A=h[y];if(!n.getLanguage(A))continue;const v=a(A,u,f);v.data&&v.data.relevance!==void 0&&v.data.relevance>C&&(C=v.data.relevance,b=v)}return b||{type:"root",children:[],data:{language:void 0,relevance:C}}}function s(){return n.listLanguages()}function c(u,f){if(typeof u=="string")n.registerLanguage(u,f);else{let E;for(E in u)Object.hasOwn(u,E)&&n.registerLanguage(E,u[E])}}function x(u,f){if(typeof u=="string")n.registerAliases(typeof f=="string"?f:[...f],{languageName:u});else{let E;for(E in u)if(Object.hasOwn(u,E)){const h=u[E];n.registerAliases(typeof h=="string"?h:[...h],{languageName:E})}}}function d(u){return!!n.getLanguage(u)}}class Uw{constructor(n){this.options=n,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(n){if(n==="")return;const a=this.stack[this.stack.length-1],i=a.children[a.children.length-1];i&&i.type==="text"?i.value+=n:a.children.push({type:"text",value:n})}startScope(n){this.openNode(String(n))}endScope(){this.closeNode()}__addSublanguage(n,a){const i=this.stack[this.stack.length-1],s=n.root.children;a?i.children.push({type:"element",tagName:"span",properties:{className:[a]},children:s}):i.children.push(...s)}openNode(n){const a=this,i=n.split(".").map(function(x,d){return d?x+"_".repeat(d):a.options.classPrefix+x}),s=this.stack[this.stack.length-1],c={type:"element",tagName:"span",properties:{className:i},children:[]};s.children.push(c),this.stack.push(c)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const am=Pw({bash:cw,css:gw,ini:yw,javascript:vw,json:Fw,markdown:ww,python:Sw,sql:_w,typescript:Mw,xml:Tw,yaml:jw}),xE={bash:"bash",sh:"bash",zsh:"bash",css:"css",scss:"css",toml:"ini",ini:"ini",js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",json:"json",jsonc:"json",md:"markdown",markdown:"markdown",py:"python",sql:"sql",ts:"typescript",tsx:"typescript",mts:"typescript",cts:"typescript",html:"xml",svg:"xml",xml:"xml",yaml:"yaml",yml:"yaml"},Iw={...xE,shell:"bash",console:"bash",javascript:"javascript",typescript:"typescript",python:"python",yaml:"yaml",json:"json",sql:"sql"},Hw={Bash:"bash"};function qw(e){return(e&&Hw[e])??null}function uE(e){const n=e.slice(e.lastIndexOf("/")+1),a=n.lastIndexOf(".");return a<1?null:xE[n.slice(a+1).toLowerCase()]??null}function $w(e,n){return e==="Read"&&n?uE(n):null}function Gw(e){const n=e?.match(/(?:^|\s)language-([\w+-]+)/)?.[1];return n?Iw[n.toLowerCase()]??null:null}function dE(e,n){return!n||!am.registered(n)?null:am.highlight(n,e).children.filter(Vw)}function Vw(e){return e.type==="element"||e.type==="text"}function Qw(e,n){const a=dE(e,n);return a?fE(a):null}function fE(e){const n=[[]];for(const a of e){const i=Yw(a);n[n.length-1].push(...i[0]);for(let s=1;s<i.length;s++)n.push(i[s])}return n}function Yw(e){if(e.type==="text")return e.value.split(`
|
|
@@ -44,5 +44,5 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Yt=pe,Et=je),Je===void
|
|
|
44
44
|
`),x=Qw(e.content,a);return{text:c,tokens:x?.length===c.length?x:null}},[e.content,a]);return m.jsxs(m.Fragment,{children:[m.jsx("pre",{className:"min-w-max p-3 font-mono text-[11.5px] leading-[1.5] text-muted",children:i.map((c,x)=>{const d=e.lineStart+x,u=d===e.line,f=s?.[x];return m.jsxs("div",{ref:u?n:void 0,className:Ce("grid grid-cols-[auto_1fr] gap-3 whitespace-pre",u&&"rounded bg-accent-soft text-text"),children:[m.jsx("span",{className:"select-none text-right text-faint",children:d}),m.jsx("code",{children:f?.length?m.jsx(Kd,{nodes:f}):c||" "})]},d)})}),m.jsx(v5,{preview:e})]})}function v5({preview:e}){return e.truncated?m.jsxs("p",{className:"border-t border-border-soft px-4 py-2 text-xs text-faint",children:["Showing lines ",e.lineStart,"–",e.lineEnd," of ",e.totalLines,"."]}):null}function NR({className:e,children:n,node:a,...i}){const s=Gw(e),c=TR(n),x=q2(e?null:c);return x?m.jsx(MR,{reference:x,...i,children:n}):m.jsx("code",{className:e,...i,children:s&&c!==null?m.jsx(hE,{text:c,language:s}):n})}function MR({reference:e,children:n,...a}){const[i,s]=D.useState(!1);return m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button",title:`Open ${e}`,onClick:()=>s(!0),className:"max-w-full align-baseline text-left",children:m.jsx("code",{...a,className:"text-accent underline decoration-dotted underline-offset-2",children:n})}),i?m.jsx(B5,{reference:e,onClose:()=>s(!1)}):null]})}function TR(e){return typeof e=="string"?e:Array.isArray(e)&&e.every(n=>typeof n=="string")?e.join(""):null}function jR({node:e,children:n,...a}){const i=e?RR(e):"";return m.jsxs("div",{className:"relative",children:[m.jsx("pre",{...a,children:n}),i?m.jsx(W2,{text:i,label:"code",size:12,className:"absolute right-1.5 top-1.5 size-6 rounded-md border border-border-soft bg-bg/90"}):null]})}function RR(e){let n="";const a=i=>{for(const s of i)s.type==="text"?n+=s.value:s.type==="element"&&a(s.children)};return a(e.children),n.replace(/\n$/,"")}const OR={a:yd,code:NR,img:FR,pre:jR},bi=D.memo(function({children:n}){return m.jsx("div",{className:"md",children:m.jsx(sT,{remarkPlugins:BR,components:OR,children:kR(n)})})}),zR=1500,LR=400,k5=12,PR=2,UR=k5+8,IR=2,HR=1.1,qR=200,$R=420,GR=.6,D5=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,Pu=(e,n,a)=>Math.min(a,Math.max(n,e)),VR=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=IR?e.scrollTop+e.clientHeight:e.scrollTop+UR,QR=(e,n)=>e.length===n.length&&e.every((a,i)=>a.top===n[i].top&&a.preview===n[i].preview);function YR(e,n,a){const i=Pu(n,0,e.scrollHeight-e.clientHeight);if(D5())return e.scrollTop=i,a(),()=>{};const s=e.clientHeight*HR;Math.abs(i-e.scrollTop)>s&&(e.scrollTop=Pu(i+Math.sign(e.scrollTop-i)*s,0,e.scrollHeight-e.clientHeight));const c=e.scrollTop,x=i-c;if(!x)return a(),()=>{};const d=Pu(Math.abs(x)*GR,qR,$R),u=performance.now();let f=0,E=!1;const h=()=>{E||(E=!0,cancelAnimationFrame(f),e.removeEventListener("touchstart",h),e.removeEventListener("wheel",h))};e.addEventListener("touchstart",h,{passive:!0}),e.addEventListener("wheel",h,{passive:!0});const y=C=>{const b=Math.min(1,(C-u)/d);if(e.scrollTop=c+x*(1-(1-b)**5),b<1){f=requestAnimationFrame(y);return}h(),a()};return f=requestAnimationFrame(y),h}function KR({scroller:e}){const[n,a]=D.useState([]),[i,s]=D.useState(0),[c,x]=D.useState(!1),[d,u]=D.useState(!1),f=D.useRef([]),E=D.useRef(!1),h=D.useRef(!1),y=D.useRef(0),C=D.useRef(0),b=D.useRef(0),A=D.useRef(()=>{}),v=D.useCallback(()=>{h.current||(clearTimeout(y.current),E.current=!1,x(!1))},[]),k=D.useCallback(()=>{E.current=!0,x(!0),clearTimeout(y.current),y.current=window.setTimeout(v,zR)},[v]),T=D.useCallback(()=>{const L=e.current;if(!L)return;const V=L.getBoundingClientRect().top-L.scrollTop,Y=Array.from(L.querySelectorAll("[data-user-msg]"),J=>({top:J.getBoundingClientRect().top-V,preview:J.dataset.userMsg??"",ts:J.dataset.msgTs??null,state:J.dataset.msgState??null,node:J}));f.current=QR(f.current,Y)?f.current:Y,a(f.current),s(VR(L))},[e]),F=D.useCallback(()=>{b.current||(b.current=requestAnimationFrame(()=>{b.current=0,T()}))},[T]);D.useEffect(()=>{const L=e.current;if(!L)return;const V=()=>{C.current=performance.now()},Y=()=>{!E.current&&performance.now()-C.current>LR||U0()||(k(),F())},J=()=>{U0()&&v()};L.addEventListener("touchmove",V,{passive:!0}),L.addEventListener("wheel",V,{passive:!0}),L.addEventListener("scroll",Y,{passive:!0}),document.addEventListener("selectionchange",J);const X=()=>{E.current&&F()},P=new ResizeObserver(X);P.observe(L);const U=new MutationObserver(X);return U.observe(L,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{L.removeEventListener("touchmove",V),L.removeEventListener("wheel",V),L.removeEventListener("scroll",Y),document.removeEventListener("selectionchange",J),P.disconnect(),U.disconnect(),A.current(),b.current&&cancelAnimationFrame(b.current),clearTimeout(y.current)}},[e,k,v,F]);const j=L=>{const V=e.current,Y=f.current[L];V&&Y&&(A.current(),A.current=YR(V,Y.top-k5,()=>{D5()||Y.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),k())},O=D.useCallback(()=>{h.current=!1,u(!1),k()},[k]);if(n.length<PR)return null;let M=-1;for(let L=0;L<n.length;L++)n[L].top<=i&&(M=L);const R=M>0?M-1:null,z=M+1<n.length?M+1:null,$=c||d;return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:Ce("pointer-events-none absolute inset-x-0 bottom-0 z-20 flex justify-center pb-3 transition duration-200 ease-out motion-reduce:transition-none",$?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:m.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:k,className:Ce("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",$?"pointer-events-auto":"pointer-events-none"),children:[m.jsx(Km,{dir:"up",onClick:()=>R!==null&&j(R),disabled:R===null}),m.jsxs("button",{type:"button",onClick:()=>{T(),h.current=!0,u(!0),k()},"aria-haspopup":"dialog","aria-expanded":d,"aria-label":`Your messages — ${n.length} in this chat`,className:"flex items-center gap-1.5 border-border-soft border-x px-3.5 text-muted transition active:bg-surface active:text-text focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:[m.jsx(dA,{size:16,className:"shrink-0"}),m.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[m.jsx("span",{className:"text-text",children:M+1||"–"}),m.jsxs("span",{className:"text-muted",children:["/",n.length]})]})]}),m.jsx(Km,{dir:"down",onClick:()=>z!==null&&j(z),disabled:z===null})]})}),d?m.jsx(ZR,{marks:n,current:M,onPick:L=>{O(),j(L)},onClose:O}):null]})}function XR({mark:e}){if(e.state==="failed")return m.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const n=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&K2(e.ts);return n?m.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:n}):null}function Km({dir:e,onClick:n,disabled:a}){const i=e==="up"?Z3:ua;return m.jsx("button",{type:"button",onClick:n,disabled:a,"aria-label":e==="up"?"Jump to your previous message":"Jump to your next message",className:"flex w-12 items-center justify-center text-muted transition active:bg-surface active:text-text disabled:text-faint/40 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:m.jsx(i,{size:19})})}function ZR({marks:e,current:n,onPick:a,onClose:i}){const s=D.useRef(null),c=D.useRef(null);return D.useEffect(()=>{s.current?.focus({preventScroll:!0}),c.current?.scrollIntoView({block:"center"})},[]),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:i,"aria-hidden":!0}),m.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:x=>x.key==="Escape"&&i(),className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[70%] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl outline-none md:mb-6 md:rounded-3xl",children:[m.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[m.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),m.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),m.jsx("button",{type:"button",onClick:i,"aria-label":"Close",className:"-mr-2 flex size-11 items-center justify-center rounded-full text-muted transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:m.jsx(Nn,{size:19})})]}),m.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((x,d)=>m.jsxs("button",{ref:d===n?c:void 0,type:"button",onClick:()=>a(d),"aria-current":d===n?"true":void 0,className:Ce("flex min-h-14 w-full items-center gap-3 px-4 py-2.5 text-left transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",d===n&&"bg-surface-2/60"),children:[m.jsx("span",{className:Ce("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",d===n?"text-accent":"text-muted"),children:d+1}),m.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:x.preview||"Empty message"}),m.jsx(XR,{mark:x})]},x.top))})]})]})}function F5({patch:e,truncated:n,className:a,fileAnchorIds:i}){const s=D.useMemo(()=>e.split(`
|
|
45
45
|
`),[e]);let c=0;return m.jsxs("pre",{className:Ce("overflow-x-auto font-mono text-[11.5px] leading-[1.5]",a),children:[s.map((x,d)=>{const u=x.startsWith("diff --git "),f=u?i?.[c]:void 0;return u&&(c+=1),m.jsx("div",{id:f,className:Ce("whitespace-pre",JR(x)),children:x||" "},d)}),n?m.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function WR(e,n){const a=document.getElementById(e);if(!a||!n?.contains(a))return;const i=n.scrollTop+a.getBoundingClientRect().top-n.getBoundingClientRect().top;n.scrollTo({behavior:"smooth",top:i})}function JR(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function w5({sessionId:e,workspaceId:n,working:a,workingSince:i,turnStartedAt:s,queued:c,waiting:x,poll:d,onFork:u}){const{entries:f,loading:E,error:h}=MD(e,d??!0),y=Ae(P=>P.pending),C=Ae(P=>P.removePending),b=v2(),A=gr(),v=D.useRef(null),k=D.useRef(!0),T=D.useMemo(()=>tO(f),[f]),F=D.useMemo(()=>Kw(f),[f]),j=D.useMemo(()=>{const P=im(f).filter(U=>U!==F);return new Set(P.map(Rs))},[f,F]),O=D.useMemo(()=>new Map(im(f).map(P=>[P,Xw(f,P,s)])),[f,s]),M=async P=>{await(P.sessionId?Oe.dismissParked(P.sessionId):Oe.dismissPrompt(P.workspaceId)).catch(()=>{}),A.invalidateQueries({queryKey:["state"]})},R=new Set(f.filter(P=>P.role==="user").map(P=>P.text.trim())),z=y.filter(P=>P.sessionId===e),$=z.filter(P=>!(M9(P)&&R.has(P.text.trim()))),L=c?.text.trim()||null,V=L&&!R.has(L)&&!z.some(P=>P.text.trim()===L)?c:null;D.useEffect(()=>{const P=new Set(f.filter(U=>U.role==="user").map(U=>U.text.trim()));for(const U of y)U.sessionId===e&&M9(U)&&P.has(U.text.trim())&&C(U.id)},[f,y,e,C]);const Y=()=>{const P=v.current;P&&(k.current=P.scrollHeight-P.scrollTop-P.clientHeight<120)},J=x?.length??0;if(D.useLayoutEffect(()=>{const P=v.current;P&&k.current&&(P.scrollTop=P.scrollHeight)},[f,$.length,a,J]),D.useEffect(()=>{k.current=!0},[e]),D.useEffect(()=>{const P=v.current;if(!P)return;const U=new ResizeObserver(()=>{k.current&&(P.scrollTop=P.scrollHeight)});return U.observe(P),()=>U.disconnect()},[]),!e&&!V)return m.jsx(Bn,{children:"No active session in this workspace."});const X=f.length===0&&$.length===0&&!V;return m.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[m.jsx("div",{ref:v,onScroll:Y,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:E&&X?m.jsx(Va,{label:"Loading transcript…"}):h&&X?m.jsx(Bn,{children:h}):X&&!a?m.jsx(Bn,{children:"No messages yet."}):m.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[T.map(P=>P.kind==="steps"?m.jsx(nO,{entries:P.entries},P.key):m.jsxs(D.Fragment,{children:[m.jsx(S5,{e:P.e}),j.has(P.key)?m.jsx(Xm,{text:P.e.text,at:P.e.ts,startedAt:O.get(P.e),rowid:P.e.rowid,through:P.e.rowid,onFork:u}):null]},P.key)),F?m.jsx(Xm,{text:F.text,at:F.ts,startedAt:O.get(F),rowid:F.rowid,working:a,onFork:u}):null,$.map(P=>m.jsx(aO,{p:P,onRetry:()=>b({id:P.id,sessionId:P.sessionId,workspaceId:P.workspaceId,text:P.text,queue:P.queue}),onDismiss:()=>C(P.id)},P.id)),V?m.jsx(rO,{queued:V,onRetry:e?()=>b({id:`queued:${V.sessionId??V.workspaceId}:${V.createdAt}`,sessionId:e,workspaceId:n,text:V.text}):void 0,onDismiss:()=>M(V)}):null,x?.map(P=>m.jsx(lO,{task:P},P.taskId)),a?m.jsx(iO,{since:i}):null]})}),m.jsx(KR,{scroller:v})]})}const Rs=e=>`${e.rowid}-${e.id}`,eO=(e,n)=>e.entries.length===n.entries.length&&e.entries.every((a,i)=>a===n.entries[i]);function tO(e){const n=[];let a=[];const i=()=>{if(a.length>1)n.push({kind:"steps",key:`steps-${Rs(a[0])}`,entries:a});else for(const s of a)n.push({kind:"entry",key:Rs(s),e:s});a=[]};for(const s of e){if(s.role==="tool"||s.role==="thinking"){a.push(s);continue}i(),n.push({kind:"entry",key:Rs(s),e:s})}return i(),n}const nO=D.memo(function({entries:n}){const a=n.filter(c=>c.error).length,i=n[n.length-1],s=i.role==="thinking"?"Thinking":i.text;return m.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[m.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[m.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),m.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[n.length," steps"]}),m.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:s}),a?m.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),m.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:n.map(c=>m.jsx(S5,{e:c},Rs(c)))})]})},eO);function rO({queued:e,onRetry:n,onDismiss:a}){const i=e.status==="failed",s=!i&&!!e.sessionId;return m.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":H0(e.text),"data-msg-state":"queued",children:[m.jsx(Gs,{className:Ce("max-w-[85%] bg-accent-soft text-text opacity-60",i&&"border border-del/40"),children:m.jsx(bi,{children:e.text})}),i?m.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[m.jsx(zd,{size:11,className:"shrink-0"}),m.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),n?m.jsx("button",{type:"button",onClick:n,className:"font-semibold underline underline-offset-2",children:"Retry"}):null,m.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]}):m.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[m.jsx(rr,{size:11,className:"animate-spin"}),e.reason??"The relay is sending this",s?m.jsx(xa,{className:"ml-1"}):null]})]})}function aO({p:e,onRetry:n,onDismiss:a}){return e.status==="error"?m.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":H0(e.text),"data-msg-state":"failed",children:[m.jsx(Gs,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:m.jsx(bi,{children:e.text})}),m.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[m.jsx(zd,{size:11,className:"shrink-0"}),m.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),m.jsx("button",{type:"button",onClick:n,className:"font-semibold underline underline-offset-2",children:"Retry"}),m.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):m.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":H0(e.text),"data-msg-state":"sending",children:[m.jsx(Gs,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:m.jsx(bi,{children:e.text})}),m.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[m.jsx(rr,{size:11,className:"animate-spin"}),"Sending…"]})]})}const S5=D.memo(function({e:n}){return n.role==="user"?m.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":H0(n.text),"data-msg-ts":n.ts,"data-msg-state":n.queued?"queued":void 0,children:[m.jsxs(Gs,{className:Ce("max-w-[85%] bg-accent-soft text-text",n.queued&&"opacity-60"),children:[n.queued?m.jsx(Cd,{children:"queued"}):null,m.jsx(bi,{children:n.text})]}),m.jsx("span",{className:"pr-1 text-[11px] text-faint",children:WF(n.ts)})]}):n.role==="tool"?m.jsx(sO,{e:n}):n.role==="thinking"?m.jsxs("details",{className:"group/think px-1",children:[m.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[m.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),m.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:m.jsx(bi,{children:n.text})})]}):n.role==="system"?m.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:n.text}):m.jsx("div",{className:"flex flex-col items-start",children:m.jsx(Gs,{className:"max-w-[92%] px-0.5",children:m.jsx(bi,{children:n.text})})})});function Xm({text:e,at:n,startedAt:a,working:i,rowid:s,through:c,onFork:x}){const[d,u]=D.useState(!1),[f,E]=D.useState(!1),[h,y]=D.useState(null),[C,b]=D.useState(()=>Date.now());D.useEffect(()=>{const T=setInterval(()=>b(Date.now()),6e4);return()=>clearInterval(T)},[]);const A=a?qn(n)-qn(a):Number.NaN,v=[A>0?Yd(A):null,JF(n,C)].filter(Boolean).join(" · "),k=async T=>{if(!(!x||f)){E(!0),y(null),u(!1);try{await x({thinking:T.thinking,tools:T.tools,through:T.only?void 0:c,only:T.only?s:void 0})}catch(F){y(F instanceof Error?F.message:"Could not fork this chat")}finally{E(!1)}}};return m.jsxs("div",{className:"flex max-w-full flex-col items-start gap-1",children:[m.jsxs("div",{className:"flex items-center gap-2",children:[!i&&v?m.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:v}):null,m.jsx(W2,{text:e,label:"response",className:"size-7 rounded-lg border border-border-soft bg-surface/70"}),x?m.jsxs("div",{className:"relative",children:[m.jsxs("div",{className:"flex items-center overflow-hidden rounded-lg border border-border-soft bg-surface/70 text-muted",children:[m.jsxs("button",{type:"button",onClick:()=>{k({thinking:!0,tools:!1})},disabled:f,"aria-label":c?"Fork chat from this response":"Fork chat with reasoning",className:"flex h-7 items-center gap-1 px-2 text-[11px] font-medium transition active:bg-surface-2 disabled:opacity-50",children:[f?m.jsx(rr,{size:13,className:"animate-spin"}):m.jsx(Y8,{size:13}),"Fork"]}),m.jsx("button",{type:"button",onClick:()=>u(T=>!T),disabled:f,"aria-label":"Choose fork transcript type","aria-haspopup":"menu","aria-expanded":d,className:"flex size-7 items-center justify-center border-l border-border-soft transition active:bg-surface-2 disabled:opacity-50",children:m.jsx(ua,{size:14,className:Ce("transition-transform",d&&"rotate-180")})})]}),d?m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-20",onClick:()=>u(!1),"aria-hidden":!0}),m.jsxs("div",{role:"menu","aria-label":"Fork transcript type",className:"absolute bottom-full left-0 z-30 mb-1 w-60 overflow-hidden rounded-xl border border-border bg-surface py-1 shadow-xl",children:[m.jsx(N0,{label:"Last message only",detail:"This response, without history",onClick:()=>{k({thinking:!1,tools:!1,only:!0})}}),m.jsx(N0,{label:"Concise",detail:"Messages only",onClick:()=>{k({thinking:!1,tools:!1})}}),m.jsx(N0,{label:"With reasoning",detail:"Messages and reasoning",onClick:()=>{k({thinking:!0,tools:!1})}}),m.jsx(N0,{label:"Full transcript",detail:"Messages, reasoning, and tools",onClick:()=>{k({thinking:!0,tools:!0})}})]})]}):null]}):null]}),h?m.jsxs("span",{className:"max-w-[85vw] text-[11px] text-del",children:[h,Bi(h)?m.jsx(xa,{className:"ml-1"}):null]}):null]})}function N0({label:e,detail:n,onClick:a}){return m.jsxs("button",{type:"button",role:"menuitem",onClick:a,className:"flex w-full flex-col px-3 py-2 text-left active:bg-surface-2",children:[m.jsx("span",{className:"text-[12px] font-medium text-text",children:e}),m.jsx("span",{className:"text-[11px] text-faint",children:n})]})}function iO({since:e}){const[n,a]=D.useState(()=>Date.now());return D.useEffect(()=>{if(!e)return;a(Date.now());const i=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(i)},[e]),m.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[m.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[m.jsx("span",{className:"typing-dot"}),m.jsx("span",{className:"typing-dot"}),m.jsx("span",{className:"typing-dot"})]}),e?m.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:Yd(n-e)}):null]})}function lO({task:e}){const n=qn(e.since),[a,i]=D.useState(()=>Date.now());return D.useEffect(()=>{i(Date.now());const s=setInterval(()=>i(Date.now()),1e3);return()=>clearInterval(s)},[]),m.jsxs("div",{className:"fade-in flex min-w-0 items-center gap-2 px-0.5 py-1.5 text-[12.5px] text-muted",children:[m.jsx(X8,{size:13,className:"shrink-0 text-faint"}),m.jsx("span",{className:"shrink-0 text-faint",children:"Waiting for task"}),m.jsx("span",{className:"min-w-0 flex-1 truncate",children:e.description}),Number.isNaN(n)?null:m.jsx("span",{className:"shrink-0 text-[11px] tabular-nums text-faint",children:Yd(a-n)})]})}const sO=D.memo(function({e:n}){const[a,i]=D.useState(!1);if(n.error&&!n.tool)return m.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:m.jsx(Uu,{text:n.text,className:"line-clamp-4 text-del/80"})});const s=A5(n.detail),c=n.images??[];return!n.detail&&!n.output&&!c.length?m.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[m.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"·"}),m.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:n.text})]}):m.jsxs("details",{open:a,onToggle:x=>i(x.currentTarget.open),className:Ce("group/tool min-w-0 overflow-hidden rounded-xl border",n.error?"border-del/30 bg-del/5":"border-border-soft bg-surface/60"),children:[m.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[m.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/tool:rotate-90",children:"▸"}),m.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:n.text}),n.detail?s?m.jsx(yd,{href:s,title:`Open ${n.detail}`,onClick:x=>x.stopPropagation(),className:"min-w-0 flex-1 truncate font-mono text-[11px] text-accent underline underline-offset-2 group-open/tool:invisible",children:n.detail}):m.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint group-open/tool:invisible",children:n.detail}):null,n.error?m.jsx("span",{className:"ml-auto shrink-0 text-[11px] text-del",children:"failed"}):null]}),m.jsxs("div",{className:"flex min-w-0 flex-col gap-2 border-t border-border-soft px-3 py-2",children:[n.detail?s?m.jsx(yd,{href:s,title:`Open ${n.detail}`,className:"block whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-accent underline underline-offset-2 [overflow-wrap:anywhere]",children:n.detail}):m.jsx(Uu,{text:n.detail,className:"text-muted",language:qw(n.tool)}):null,n.output?m.jsxs("div",{className:Ce("min-w-0",n.detail&&"border-t border-border-soft pt-2"),children:[m.jsx(Cd,{children:n.error?"error":n.diff?"changes":"output"}),n.diff?m.jsx(F5,{patch:n.output}):m.jsx(Uu,{text:n.output,className:n.error?"text-del/80":"text-muted",language:n.error?null:$w(n.tool,n.detail)})]}):null,a&&c.length?m.jsxs("div",{className:Ce("flex min-w-0 flex-col gap-2",(n.detail||n.output)&&"border-t border-border-soft pt-2"),children:[m.jsx(Cd,{children:xO(c.length,"image")}),c.map(x=>m.jsx(cO,{reference:x},x))]}):null]})]})}),oO="whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed [overflow-wrap:anywhere]";function Uu({text:e,className:n,language:a}){return m.jsx("pre",{className:Ce(oO,n),children:a?m.jsx(hE,{text:e,language:a}):e})}function cO({reference:e}){const[n,a]=D.useState(null),[i,s]=D.useState(!1);return D.useEffect(()=>{let c=!1;return Oe.toolImage(e).then(x=>!c&&a(x)).catch(()=>!c&&s(!0)),()=>{c=!0}},[e]),i?m.jsx("span",{className:"text-[11px] text-faint",children:"Image unavailable."}):n?m.jsx("img",{src:n,alt:"Tool output",className:"max-w-full rounded-lg border border-border-soft"}):m.jsx(Va,{label:"Loading image…"})}const xO=(e,n)=>`${e} ${n}${e===1?"":"s"}`;function Gs({children:e,className:n}){return m.jsx("div",{className:Ce("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",n),children:e})}function Cd({children:e}){return m.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function uO({workspace:e}){const[n,a]=q8(),i=n.get("session"),{data:s,isLoading:c}=b2(e.id,!1),x=s?.sessions??[],d=(i&&x.some(f=>f.id===i)?i:null)??x[0]?.id??null,u=[e.repo_name,e.branch].filter(Boolean).join(" · ");return m.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[m.jsx(q0,{title:zr(e),subtitle:u,menu:!0,right:m.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-md bg-surface-2 px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:[m.jsx(Rd,{size:12}),"Archived"]})}),x.length>1?m.jsx("nav",{className:"flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:x.map(f=>m.jsx("button",{type:"button",onClick:()=>a({session:f.id},{replace:!0}),className:Ce("pill shrink-0",f.id===d&&"pill-active"),children:m.jsx("span",{className:"max-w-36 truncate",children:f.title||"Untitled"})},f.id))}):null,!c&&!d?m.jsx(Bn,{children:"This workspace was archived with no chat in it."}):m.jsx(w5,{sessionId:d,workspaceId:e.id,turnStartedAt:x.find(f=>f.id===d)?.turn_started_at,poll:!1}),m.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:"Read-only — unarchive it in Conductor to reply."})]})}const dO=()=>typeof window<"u"&&window.matchMedia("(pointer: coarse)").matches;function _5(e,n=dO()){return e.key!=="Enter"||e.nativeEvent.isComposing||e.shiftKey?!1:e.metaKey||e.ctrlKey?!0:!n}const Dr=6e4,fO=e=>/(?:^|[:/])(claude|fable|haiku|opus|sonnet)|^(claude|fable|haiku|opus|sonnet)/.test(e),Zm=e=>/(?:^|[:/])(openai|gpt|o[1-9])|^(openai|gpt|o[1-9]|\d)/.test(e);function hO(e){const n=e.agent_type?.trim().toLowerCase()??"",a=e.model?.trim().toLowerCase()??"";return(n==="claude"||n==="anthropic")&&e.prompt_cache_ttl_ms&&e.prompt_cache_ttl_ms>0?sa(e.prompt_cache_ttl_ms,!0):n==="claude"||n==="anthropic"?sa(60*Dr,!1):n==="codex"||n==="openai"?sa(30*Dr,!1):n==="cursor"?fO(a)?sa(5*Dr,!1):(Zm(a),sa(30*Dr,!1)):(n==="acp"||n==="opencode")&&Zm(a)?sa(30*Dr,!1):sa(5*Dr,!1)}function pO(e,n=Date.now()){if(!e.last_user_message_at)return null;const a=qn(e.updated_at);if(!Number.isFinite(a))return null;const i=hO(e);return n-a>=i.ttlMs?i:null}function sa(e,n){return{ttlMs:e,ttlLabel:e>=60*Dr?`${e/(60*Dr)}h`:`${e/Dr}m`,observed:n}}const K0={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},Ai=Object.keys(K0);function N5(e){return Ai[(Ai.indexOf(e??"")+1)%Ai.length]}function pf(e,n){const a=n?.toLowerCase()??"";if(/^(?:anthropic\/|claude|fable|haiku|opus|sonnet)/.test(a))return"claude";if(/^(?:openai\/|gpt|o[1-9]|\d)/.test(a))return"openai";if(/^(?:cursor\/|composer|grok)/.test(a))return"cursor";if(/^opencode(?:-go)?\//.test(a))return"opencode";const i=e?.toLowerCase();if(i==="claude"||i==="anthropic")return"claude";if(i==="codex"||i==="openai")return"openai";if(i==="cursor")return"cursor";if(i==="acp"||i==="opencode")return"opencode"}function mf(e,n){return pf(e,n)==="claude"}function mO(e,n){const a=pf(null,e),i=a==="claude"?n?.claude:a==="openai"?n?.codex:void 0;return i&&Ai.includes(i)?i:void 0}function EO(e,n){const a=N5(e);if(!(a===n||!n&&e===Ai.at(-1)))return a}const gO="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%3c/title%3e%3cpath%20d='M4.709%2015.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0%2011.784l.055-.352.48-.321.686.06%201.52.103%202.278.158%201.652.097%202.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686%201.908%201.476%202.491%201.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97%202.97%200%2001-.104-.729L6.283.134%206.696%200l.996.134.42.364.62%201.414%201.002%202.229%201.555%203.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286%201.851-.559%202.903-.364%201.942h.212l.243-.242.985-1.306%201.652-2.064.73-.82.85-.904.547-.431h1.033l.76%201.129-.34%201.166-1.064%201.347-.881%201.142-1.264%201.7-.79%201.36.073.11.188-.02%202.856-.606%201.543-.28%201.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061%201.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093%201.068%202.006%201.81%202.509%202.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649%202.345%203.521.122%201.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674%207.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434%201.967-2.18%202.945-1.726%201.845-.414.164-.717-.37.067-.662.401-.589%202.388-3.036%201.44-1.882.93-1.086-.006-.158h-.055L4.132%2018.56l-1.13.146-.487-.456.061-.746.231-.243%201.908-1.312-.006.006z'%3e%3c/path%3e%3c/svg%3e",yO="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCursor%3c/title%3e%3cpath%20d='M22.106%205.68L12.5.135a.998.998%200%2000-.998%200L1.893%205.68a.84.84%200%2000-.419.726v11.186c0%20.3.16.577.42.727l9.607%205.547a.999.999%200%2000.998%200l9.608-5.547a.84.84%200%2000.42-.727V6.407a.84.84%200%2000-.42-.726zm-.603%201.176L12.228%2022.92c-.063.108-.228.064-.228-.061V12.34a.59.59%200%2000-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264%200%20.428.286.296.514z'%3e%3c/path%3e%3c/svg%3e",CO="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",bO="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",AO={claude:gO,cursor:yO,openai:CO,opencode:bO},BO={claude:"#D97757",openai:"var(--color-provider-openai)"};function Ef({agentType:e,model:n,className:a}){const i=pf(e,n);if(!i)return m.jsx(V8,{"aria-hidden":"true",className:a});const s=AO[i];return m.jsx("span",{"aria-hidden":"true",className:Ce("inline-block shrink-0 bg-current",a),style:{color:BO[i],WebkitMaskImage:`url("${s}")`,maskImage:`url("${s}")`,WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})}const vO=[5,7,9,11,13,15],kO={low:1,medium:2,high:3,xhigh:4,max:5,ultracode:6};function DO({effort:e,className:n}){const a=kO[e]??0;return m.jsx("span",{"aria-hidden":"true",className:Ce("flex h-[15px] shrink-0 items-end gap-[1.5px]",n),children:vO.map((i,s)=>m.jsx("span",{className:Ce("w-0.5 rounded-full bg-current transition-opacity",s<a?"opacity-100":"opacity-20"),style:{height:i}},i))})}function FO({value:e,models:n,onSelect:a,defaultModel:i,onSetDefault:s,settingDefault:c,open:x,onOpenChange:d,isFetching:u=!1,isError:f=!1,empty:E="No models are cached yet. Open a model picker in a chat first.",className:h,beforeOptions:y,renderTrigger:C}){const[b,A]=D.useState(!1),v=x??b,k=F=>{const j=typeof F=="function"?F(v):F;x===void 0&&A(j),d?.(j)},T=gk(n);return m.jsxs("div",{className:"relative",children:[C?C({picking:v,toggle:()=>k(F=>!F)}):m.jsxs("button",{type:"button",onClick:()=>k(F=>!F),"aria-haspopup":"menu","aria-expanded":v,className:Ce("ctl flex max-w-40 items-center gap-1",e&&"ctl-staged",h),children:[m.jsx("span",{className:"truncate",children:e?ed(e):"Model"}),m.jsx(ua,{size:13,className:"shrink-0"})]}),v?m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>k(!1),className:"fixed inset-0 z-30 cursor-default"}),m.jsxs("div",{className:"absolute bottom-full left-0 z-40 mb-2 max-h-64 w-64 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",children:[y,u?m.jsx(Zs,{size:10,className:"mx-3 my-1.5 animate-spin text-faint"}):null,T.length?T.map(F=>m.jsxs("fieldset",{className:"m-0 min-w-0 border-0 p-0",children:[m.jsx("legend",{className:"px-3 pb-0.5 pt-1.5 text-[11px] font-medium text-faint",children:F.label}),F.models.map(j=>{const O=i===j;return m.jsxs("div",{className:"flex items-stretch active:bg-surface",children:[m.jsxs("button",{type:"button",onClick:()=>{k(!1),a(j)},className:"flex min-w-0 flex-1 items-center gap-2 py-2 pl-3 pr-1 text-left text-sm",children:[m.jsx("span",{className:"min-w-0 flex-1 truncate",children:ed(j)}),m.jsx(ca,{size:13,className:Ce("shrink-0 text-accent",e!==j&&"invisible")})]}),s?m.jsx("button",{type:"button",disabled:O||c!==void 0,onClick:()=>{k(!1),s(j)},"aria-label":O?`${j} is the default model`:`Set ${j} as default and select`,"aria-pressed":O,className:Ce("flex w-9 shrink-0 items-center justify-center text-faint disabled:opacity-60",O&&"text-accent"),children:c===j?m.jsx(rr,{size:14,className:"animate-spin"}):m.jsx(Ju,{size:14,fill:O?"currentColor":"none"})}):O?m.jsx(Ju,{size:14,fill:"currentColor","aria-label":`${j} is the default model`,className:"mx-3 self-center text-accent"}):null]},j)})]},F.label)):m.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:u?"Reading Conductor’s model list…":E}),f?m.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:n.length?"Couldn’t refresh. Showing saved models.":"Couldn’t read the model list."}):null]})]}):null]})}function M5({model:e,providerModel:n,agentType:a,models:i,modelPickerOpen:s,onModelPickerOpenChange:c,modelsFetching:x=!1,modelsError:d=!1,defaultModel:u,onSetDefaultModel:f,settingDefaultModel:E,fast:h,effort:y,plan:C,showEmptyEffort:b=!1,modelStaged:A=!1,fastStaged:v=!1,effortStaged:k=!1,planStaged:T=!1,onModelChange:F,onFastChange:j,onEffortChange:O,onPlanChange:M,status:R}){const z=mf(a,n);return m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-0.5",children:[m.jsx("div",{className:"min-w-0",children:m.jsx(FO,{value:e,models:i,open:s,onOpenChange:c,isFetching:x,isError:d,defaultModel:u,onSetDefault:f,settingDefault:E,onSelect:F,renderTrigger:({picking:$,toggle:L})=>m.jsxs("button",{type:"button",onClick:L,"aria-label":`Change model, currently ${e}`,"aria-haspopup":"menu","aria-expanded":$,className:Ce("flex h-8 max-w-full min-w-0 items-center gap-1 rounded-md px-1 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text",A&&"text-accent"),children:[m.jsx(Ef,{agentType:a,model:n,className:"size-[15px]"}),m.jsx("span",{className:"truncate",children:ed(e)})]})})}),m.jsx("button",{type:"button",onClick:j,"aria-label":`Fast mode ${h===void 0?"default":h?"on":"off"}`,"aria-pressed":h===!0,className:Ce("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text",h&&"text-text",v&&"text-accent"),children:m.jsx(a2,{size:17})}),y||b?m.jsxs("button",{type:"button",onClick:O,"aria-label":`Reasoning effort: ${y?K0[y]:"default"}`,className:Ce("flex h-8 shrink-0 items-center gap-1 rounded-md px-1 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text",k&&"text-accent"),children:[m.jsx(DO,{effort:y??""}),m.jsx("span",{className:"max-[340px]:hidden",children:y?K0[y]:"Effort"})]}):null,z?m.jsx("button",{type:"button",onClick:M,"aria-label":`Plan mode ${C===void 0?"default":C?"on":"off"}`,"aria-pressed":C===!0,className:Ce("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text",C&&"text-text",T&&"text-accent"),children:m.jsx(Z8,{size:17})}):null]}),R?m.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:R}):null]})}const wO=600*1e3,SO={};function M0(e,n){return e===n?void 0:e}function _O({session:e,workspaceId:n}){const[a,i]=D.useState(!1),[s,c]=D.useState(),[x,d]=D.useState(),u=Ae(X=>X.agentDrafts[e.id])??SO,f=Ae(X=>X.stageAgent),E=gr(),h=Ae(X=>X.pending.some(P=>P.sessionId===e.id&&P.status==="sending")),y=qd(),C=y.data?.groups.find(X=>X.agentType===(e.agent_type??"unknown")),b=!!C?.defaultModel&&Date.now()-C.updatedAt<wO,A=_D(e,n,a&&!b),v=A.data?.models??C?.models??[],k=A.data?.defaultModel??y.data?.defaultModel??C?.defaultModel,T=X=>f(e.id,X),F=e.claude_effort_level??void 0,j=e.permission_mode==="plan",O=!!e.fast_mode,M=u.effort??F,R=u.plan??j,z=u.fast??O,$=Object.keys(u).length>0,L=u.model??(V2(e.model,v)||"Model"),V=u.model??e.model,Y=mf(e.agent_type,V);D.useEffect(()=>{!Y&&u.plan!==void 0&&f(e.id,{plan:void 0})},[Y,e.id,u.plan,f]);const J=async X=>{if(!s){c(X),d(void 0);try{const P=await Oe.setDefaultModel(e.id,X,n);if(!P.ok)throw new Error(P.error??"could not set the default model");f(e.id,{model:void 0}),await Promise.all([E.invalidateQueries({queryKey:["model-catalog"]}),E.invalidateQueries({queryKey:["sessions",n]}),E.invalidateQueries({queryKey:["state"]})])}catch(P){d(P instanceof Error?P.message:"could not set the default model")}finally{c(void 0)}}};return m.jsx(M5,{model:L,providerModel:V,agentType:e.agent_type,models:v,modelPickerOpen:a,onModelPickerOpenChange:i,modelsFetching:A.isFetching||y.isFetching,modelsError:A.isError,defaultModel:k,onSetDefaultModel:X=>{J(X)},settingDefaultModel:s,fast:z,effort:M,plan:R,modelStaged:u.model!==void 0,fastStaged:u.fast!==void 0,effortStaged:u.effort!==void 0,planStaged:u.plan!==void 0,onModelChange:X=>T({model:M0(X,u.model)}),onFastChange:()=>T({fast:M0(!z,O)}),onEffortChange:()=>T({effort:M0(N5(M),F)}),onPlanChange:()=>T({plan:M0(!R,j)}),status:x?m.jsxs("span",{className:"text-del",children:[x,Bi(x)?m.jsx(xa,{className:"ml-1"}):null]}):s?"Setting default and selecting…":$?h?"Applying…":"Applies when you send":void 0})}const NO=[];function MO({session:e,sessionId:n,workspaceId:a,working:i,actuator:s,onFork:c,focusDraft:x=!1,onDraftFocused:d}){const u=n??a,f=Ae(ue=>ue.drafts[u]??""),E=Ae(ue=>ue.draftAttachments[u]??NO),h=Ae(ue=>ue.setDraft),y=Ae(ue=>ue.addDraftAttachment),C=Ae(ue=>ue.removeDraftAttachment),b=Ae(ue=>ue.clearDraftContent),A=Ae(ue=>ue.moveDraft),v=Ae(ue=>ue.setFocusedDraft),k=Ae(ue=>ue.online),T=Ae(ue=>ue.clearWorking),F=v2(),j=gr(),[O,M]=D.useState(!1),[R,z]=D.useState(null),[$,L]=D.useState(!1),[V,Y]=D.useState(null),J=D.useRef(null),X=D.useRef(null),P=D.useRef(new Set),U=D.useRef(0),[Z,ie]=D.useState([]),[he,N]=D.useState(!1),S=Z.filter(ue=>ue.sessionId===n),Q=[...E.map(ue=>({...ue,id:ue.path,status:"ready"})),...S],_=S.some(ue=>ue.status==="uploading"),re=[...E.map(ue=>ue.token),f.trim()].filter(Boolean).join(`
|
|
46
46
|
`);D.useEffect(()=>{n&&A(a,n)},[a,n,A]),D.useEffect(()=>(document.activeElement===J.current&&v(u),()=>{Ae.getState().focusedDraft===u&&v(null)}),[u,v]);const Ee=()=>{const ue=J.current;ue&&(ue.style.height="auto",ue.style.height=`${Math.min(ue.scrollHeight,160)}px`)};D.useEffect(Ee,[f]),D.useEffect(()=>{if(!x)return;const ue=J.current;ue&&(ue.focus({preventScroll:!0}),ue.setSelectionRange(ue.value.length,ue.value.length),d?.())},[x,d]);const fe=(ue=!1)=>{!re||_||$||!n||!k||(F({sessionId:n,workspaceId:a,text:re,queue:ue}),b(u),ie(Ot=>Ot.filter(rt=>rt.sessionId!==n)))},ve=async()=>{if(!(!(c&&re)||_||$||!k)){L(!0),Y(null);try{await c(re),b(u),ie(ue=>ue.filter(Ot=>Ot.sessionId!==n))}catch(ue){Y(ue instanceof Error?ue.message:"Could not fork this chat")}finally{L(!1)}}},Ge=ue=>{if(E.some(Ot=>Ot.path===ue)){C(u,ue);return}P.current.add(ue),ie(Ot=>Ot.filter(rt=>rt.id!==ue))},ke=async ue=>{if(!(!n||!k))for(const Ot of Array.from(ue)){const rt=crypto.randomUUID();ie(se=>[...se,{id:rt,sessionId:n,name:Ot.name||"attachment",status:"uploading"}]);try{const se=await Oe.uploadAttachment(n,a,Ot);if(P.current.delete(rt))continue;y(n,se.attachment),ie(te=>te.filter(de=>de.id!==rt))}catch(se){if(P.current.delete(rt))continue;ie(te=>te.map(de=>de.id===rt?{...de,status:"error",error:se instanceof Error?se.message:"Upload failed"}:de))}}},ft=ue=>{ue?.length&&ke(ue)},xt=ue=>Array.from(ue.dataTransfer.types).includes("Files"),$t=ue=>{xt(ue)&&(ue.preventDefault(),U.current+=1,N(!0))},Gt=ue=>{xt(ue)&&(U.current-=1,U.current<=0&&(U.current=0,N(!1)))},ot=ue=>{xt(ue)&&(ue.preventDefault(),ue.dataTransfer.dropEffect="copy")},Pt=ue=>{xt(ue)&&(ue.preventDefault(),U.current=0,N(!1),ft(ue.dataTransfer.files))},Be=async()=>{if(!(!n||O||!k)){M(!0),z(null);try{const ue=await Oe.stop(n,a);ue.ok?(T(n),await j.invalidateQueries({queryKey:["sessions",a]}),j.invalidateQueries({queryKey:["state"]})):z(ue.error||"Stop failed")}catch(ue){z(ue instanceof Error?ue.message:"Stop failed")}finally{M(!1)}}},bt=!n,_t=s?.precise&&s.available,Ve=i&&!!n,cn=(!!f.trim()||E.length>0)&&!_,ht=!i&&cn&&e&&c?pO(e):null;return m.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[k?!_t&&m.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[m.jsx(Xb,{size:12}),s?.caveat||"Sends to the focused session"]}):m.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[m.jsx(Ld,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),R?m.jsxs("div",{className:"mb-2 rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-xs text-del",children:[m.jsx("button",{type:"button",onClick:()=>z(null),className:"block w-full text-left",children:R}),Bi(R)?m.jsx(xa,{className:"mt-1 inline-block"}):null]}):null,ht?m.jsxs("div",{className:"mb-2 flex items-center gap-2 rounded-xl border border-cold-cache/20 bg-cold-cache/8 px-2.5 py-2 text-cold-cache",children:[m.jsx(sv,{size:14,className:"shrink-0"}),m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("div",{className:"text-xs font-medium",children:"Prompt cache may be cold"}),m.jsxs("div",{className:"text-[11px] text-muted",children:["Idle past its ",ht.ttlLabel," window"]}),V?m.jsxs("div",{className:"mt-0.5 text-[11px] text-del",role:"alert",children:[V,Bi(V)?m.jsx(xa,{className:"ml-1"}):null]}):null]}),m.jsxs("button",{type:"button",onClick:()=>{ve()},disabled:$||!k,title:"Start a fresh chat with this transcript attached and keep the draft",className:"flex h-8 shrink-0 items-center gap-1.5 rounded-lg bg-cold-cache/12 px-2.5 text-xs font-semibold transition active:scale-[0.97] active:bg-cold-cache/20 disabled:opacity-50",children:[$?m.jsx(rr,{size:13,className:"animate-spin"}):m.jsx(Y8,{size:13}),"Fork draft"]})]}):null,m.jsxs("fieldset",{"aria-label":"Message composer",onDragEnter:$t,onDragLeave:Gt,onDragOver:ot,onDrop:Pt,className:`m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60 ${he?"border-accent bg-accent-soft":""}`,children:[m.jsx("input",{ref:X,type:"file",multiple:!0,className:"hidden",onChange:ue=>{ft(ue.target.files),ue.target.value=""}}),Q.length?m.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:Q.map(ue=>m.jsxs("div",{title:ue.error??ue.name,className:"flex max-w-full items-center gap-1 rounded-lg bg-surface-2 py-1 pl-2 pr-1 text-xs text-muted",children:[ue.status==="uploading"?m.jsx(rr,{size:12,className:"shrink-0 animate-spin"}):null,m.jsx("span",{className:"truncate",children:ue.status==="error"?`${ue.name}: ${ue.error}`:ue.name}),m.jsx("button",{type:"button",onClick:()=>Ge(ue.id),"aria-label":`Remove ${ue.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:m.jsx(Nn,{size:13})})]},ue.id))}):null,he?m.jsx("div",{className:"pointer-events-none absolute inset-1 z-10 flex items-center justify-center rounded-xl border border-dashed border-accent bg-accent-soft/90 text-sm font-medium text-accent",children:"Drop files to attach"}):null,m.jsx("textarea",{ref:J,rows:1,value:f,disabled:bt||$,placeholder:bt?"No active session":"Send a prompt…",className:"block max-h-40 w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:ue=>h(u,ue.target.value),onFocus:()=>v(u),onBlur:()=>{Ae.getState().focusedDraft===u&&v(null),rd()},onPaste:ue=>{const Ot=ue.clipboardData.files;Ot.length&&(ue.preventDefault(),ft(Ot))},onKeyDown:ue=>{_5(ue)&&(ue.preventDefault(),fe(ue.metaKey||ue.ctrlKey))}}),m.jsxs("div",{className:"mt-1 flex items-start gap-1",children:[e?m.jsx(_O,{session:e,workspaceId:a}):m.jsx("span",{className:"flex-1"}),m.jsx("button",{type:"button",onClick:()=>X.current?.click(),disabled:bt||$||!k,"aria-label":"Attach files",className:"flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:text-faint",children:m.jsx(ec,{size:17})}),Ve?m.jsx("button",{type:"button",onClick:Be,disabled:O||!k,"aria-label":"Stop the agent",className:"flex size-8 shrink-0 items-center justify-center rounded-lg border border-border text-text transition active:bg-surface-2 disabled:text-faint",children:O?m.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):m.jsx(t2,{size:14,fill:"currentColor"})}):null,Ve&&!cn?null:m.jsx("button",{type:"button",onClick:()=>fe(),disabled:bt||!cn||$||!k,"aria-label":"Send",className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-accent text-on-solid transition active:scale-95 disabled:bg-surface-2 disabled:text-faint",children:m.jsx(q7,{size:18})})]})]})]})}function TO(e){document.visibilityState==="visible"&&window.open(e,"_blank","noopener,noreferrer")}const Iu="flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40";function jO({workspaceId:e}){const n=DD(e),a=gr(),i=Ae(A=>A.online),[s,c]=D.useState(null),[x,d]=D.useState(null),[u,f]=D.useState(!1),E=n.data,h=E?.forwards?.filter(A=>A.forwarded&&A.url)??(E?.forwarded&&E.url?[{name:E.port?`Port ${E.port}`:"Dev server",port:E.port??0,url:E.url}]:[]),y=async A=>{if(!s){c(A?"start":"stop"),d(null);try{const v=A?await Oe.startDevServer(e):await Oe.stopDevServer(e);a.setQueryData(["dev-server",e],v),v.ok?A&&v.url&&TO(v.url):d(v.error??`Could not ${A?"start":"stop"} the dev server`)}catch(v){d(v instanceof Error?v.message:`Could not ${A?"start":"stop"} the dev server`)}finally{c(null),a.invalidateQueries({queryKey:["dev-server",e]})}}},C=E?.running?"Forward dev server to tailnet":"Start and forward dev server",b=E&&!E.available;return m.jsxs(m.Fragment,{children:[h.length&&h[0]?.url?m.jsxs("div",{className:"relative flex shrink-0 items-center",children:[m.jsx("a",{href:h[0].url,target:"_blank",rel:"noreferrer","aria-label":`Open ${h[0].name} on port ${h[0].port}`,title:h[0].url,className:Iu,children:m.jsx(HC,{size:18})}),h.length>1?m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button",onClick:()=>f(A=>!A),"aria-label":"Choose forwarded dev server","aria-haspopup":"menu","aria-expanded":u,className:"flex h-9 w-6 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(ua,{size:14,className:u?"rotate-180":void 0})}),u?m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button","aria-label":"Close forwarded dev servers",className:"fixed inset-0 z-20 cursor-default",onClick:()=>f(!1)}),m.jsx("div",{role:"menu","aria-label":"Forwarded dev servers",className:"fade-in absolute right-0 top-full z-30 mt-1 min-w-52 overflow-hidden rounded-xl border border-border bg-surface py-1 shadow-xl",children:h.map(A=>m.jsxs("a",{href:A.url??void 0,target:"_blank",rel:"noreferrer",onClick:()=>f(!1),role:"menuitem",className:"flex items-center gap-3 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[m.jsx("span",{className:"min-w-0 flex-1 truncate",children:A.name}),m.jsxs("span",{className:"font-mono text-xs text-faint",children:[":",A.port]})]},`${A.port}:${A.url}`))})]}):null]}):null]}):m.jsx("button",{type:"button",onClick:()=>{y(!0)},disabled:!i||!!s||!!b||n.isLoading,"aria-label":C,title:b?E.error:C,className:Iu,children:s==="start"||n.isLoading?m.jsx(rr,{size:18,className:"animate-spin"}):E?.running?m.jsx(LC,{size:18}):m.jsx(fB,{size:18,fill:"currentColor"})}),E?.running||E?.forwarded?m.jsx("button",{type:"button",onClick:()=>{y(!1)},disabled:!i||!!s,"aria-label":"Stop dev server",className:Iu,children:s==="stop"?m.jsx(rr,{size:18,className:"animate-spin"}):m.jsx(t2,{size:15,fill:"currentColor"})}):null,x?m.jsx("button",{type:"button",onClick:()=>d(null),className:"absolute right-2 top-full z-30 max-w-72 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:x}):null]})}function RO(e,n){if(e.pr_status==="merged")return"merged";if(n&&(n.dirty||n.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"checks_failed":return"failed";case"checks_pending":return"checks";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const OO={push:{label:"Uncommitted changes",tone:"text-working",icon:m.jsx(sC,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:m.jsx(zd,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},checks:{label:"Checks running",tone:"text-working",icon:m.jsx(rr,{size:14,className:"animate-spin"})},failed:{label:"Checks failed",tone:"text-del",icon:m.jsx(J3,{size:14})},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:m.jsx(K8,{size:14})}},zO={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function LO({ws:e,local:n,sessionId:a}){const i=gr(),[s,c]=D.useState(!1),[x,d]=D.useState(!1),[u,f]=D.useState(null);if(u?.ok&&(u.continued||e.pr_status!=="merged"))return m.jsxs(Wm,{children:[m.jsx(ca,{size:15,className:"shrink-0 text-add"}),m.jsx("span",{className:"truncate font-medium text-add",children:u.msg})]});const E=RO(e,n);if(!E)return null;const{label:h,tone:y,icon:C}=OO[E],b=async()=>{d(!0),f(null);try{const k=await Oe.merge(e.id);k.ok?(f({ok:!0,msg:`Merged${k.method?` (${k.method})`:""}`}),i.invalidateQueries({queryKey:["state"]}),i.invalidateQueries({queryKey:["diff",e.id]})):(f({ok:!1,msg:k.error||"Merge failed"}),c(!1))}catch(k){f({ok:!1,msg:k instanceof Error?k.message:String(k)}),c(!1)}finally{d(!1)}},A=async()=>{d(!0),f(null);try{const k=await Oe.continueWorkspace(e.id,a);k.ok?(f({ok:!0,msg:k.workspace?.branch?`Continued on ${k.workspace.branch}`:"Continued on a new branch",continued:!0}),i.invalidateQueries({queryKey:["state"]}),i.invalidateQueries({queryKey:["diff",e.id]})):f({ok:!1,msg:k.error||"Could not continue this workspace"})}catch(k){f({ok:!1,msg:k instanceof Error?k.message:String(k)})}finally{d(!1)}},v=async k=>{if(!e.active_session_id)return f({ok:!1,msg:"No active session to message"});d(!0),f(null);try{const T=await Oe.sendPrompt(e.active_session_id,zO[k],e.id);f(T.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:T.error||"Send failed"})}catch(T){f({ok:!1,msg:T instanceof Error?T.message:String(T)})}finally{d(!1)}};return m.jsxs(Wm,{tint:E==="merge"?"add":E==="merged"?"merged":void 0,children:[e.pr_number?m.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:Ce("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",E==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,m.jsx(I7,{size:12})]}):null,m.jsxs("span",{className:Ce("flex items-center gap-1 truncate font-medium",y),children:[C,h]}),m.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[u&&!u.ok?m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:u.msg}),Bi(u.msg)?m.jsx(xa,{className:"shrink-0 text-[11px]"}):null]}):null,E==="merge"||E==="checks"?s?m.jsxs(m.Fragment,{children:[m.jsx(PO,{onClick:()=>c(!1)}),m.jsx(Fs,{onClick:b,busy:x,className:E==="merge"?"bg-add text-on-solid":"bg-working text-on-solid",children:"Confirm"})]}):m.jsxs(Fs,{onClick:()=>c(!0),className:E==="merge"?"bg-add text-on-solid":"border border-border bg-surface-2 text-text",children:[m.jsx(K8,{size:13}),"Merge"]}):E==="push"?m.jsx(Fs,{onClick:()=>v("push"),busy:x,className:"bg-working text-on-solid",children:"Commit & push"}):E==="resolve"?m.jsx(Fs,{onClick:()=>v("resolve"),busy:x,className:"border border-border bg-surface-2 text-text",children:"Resolve"}):E==="merged"?m.jsxs(Fs,{onClick:A,busy:x,title:"Continue on a new branch with the same chats",className:"border border-pr-merged/30 bg-surface-2 text-pr-merged",children:[m.jsx(bb,{size:13}),"Continue"]}):null]})]})}function Fs({onClick:e,busy:n,title:a,className:i,children:s}){return m.jsxs("button",{type:"button",onClick:e,disabled:n,title:a,className:Ce("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",i),children:[n?m.jsx(rr,{size:13,className:"animate-spin"}):null,s]})}function PO({onClick:e}){return m.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const UO={add:"bg-add/10",merged:"bg-pr-merged/10"};function Wm({tint:e,children:n}){return m.jsx("div",{className:Ce("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?UO[e]:"bg-surface/95"),children:n})}function IO({workspaceId:e,sessionId:n}){const a=D.useRef(null),{data:i}=Hd(),s=i?.workspaces.find(d=>d.id===e),{data:c}=A2(e),x=c?{dirty:c.dirty,unpushed:c.unpushed}:void 0;return m.jsxs("div",{ref:a,className:"pb-safe min-h-0 flex flex-1 flex-col overflow-y-auto overscroll-contain",children:[s?m.jsx(LO,{ws:s,local:x,sessionId:n}):null,m.jsx(HO,{workspaceId:e,scrollToFile:d=>WR(d,a.current)})]})}function HO({workspaceId:e,scrollToFile:n}){const{data:a,isLoading:i,isError:s,error:c}=A2(e),x=D.useId();if(i&&!a)return m.jsx(Va,{label:"Computing diff…"});if(s)return m.jsx(Bn,{children:c?.message});if(!a)return m.jsx(Bn,{children:"No diff."});if(a.files.length===0)return m.jsxs(Bn,{children:["No changes vs ",m.jsx("span",{className:"font-mono",children:a.base}),"."]});const d=a.files.map((u,f)=>`${x}-file-${f}`);return m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",m.jsx("span",{className:"font-mono text-faint",children:a.base})," · ",a.files.length," file",a.files.length===1?"":"s"]}),m.jsx("ul",{className:"grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-x-2 gap-y-1 px-3 py-3 font-mono text-[12px]",children:a.files.map((u,f)=>m.jsx("li",{className:"col-span-3 grid grid-cols-subgrid items-center",children:m.jsxs("button",{type:"button",onClick:()=>n(d[f]),"aria-controls":d[f],className:"col-span-3 grid min-w-0 grid-cols-subgrid items-center rounded-sm py-0.5 text-left transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",children:[m.jsx("span",{className:"truncate text-muted",children:u.path}),m.jsx("span",{className:"text-right text-add",children:u.added?`+${u.added}`:null}),m.jsx("span",{className:"text-right text-del",children:u.removed?`−${u.removed}`:null})]})},u.path))}),m.jsx(F5,{patch:a.patch,truncated:a.truncated,fileAnchorIds:d,className:"border-t border-border-soft px-3 py-3"})]})}function qO({workspace:e,agentsRunning:n}){const[a,i]=D.useState(!1),[s,c]=D.useState(!1),[x,d]=D.useState(null),[u,f]=D.useState(null),E=Ae(T=>T.online),h=gr(),y=Vd(e),C=()=>{i(!1),c(!1)},b=async T=>{if(!x&&(C(),T!==y)){d(T),f(null);try{const F=await Oe.setStatus(e.id,T);F.ok||f(F.error??"status change failed"),await h.invalidateQueries({queryKey:["state"]})}catch(F){f(F instanceof Error?F.message:"status change failed")}finally{d(null)}}},A=async()=>{if(!x){C(),d("archive"),f(null);try{const T=await Oe.archive(e.id,n>0);T.ok||f(T.error??"archiving failed"),await h.invalidateQueries({queryKey:["state"]}),await h.invalidateQueries({queryKey:["workspace",e.id]})}catch(T){f(T instanceof Error?T.message:"archiving failed")}finally{d(null)}}},k=x==="archive"?y:x??y;return m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button",onClick:()=>a?C():i(!0),disabled:!E||x!==null,"aria-label":`Workspace menu: ${ld(y)}`,"aria-expanded":a,className:Ce("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",a&&"bg-surface-2 text-text"),children:x?m.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":$O(k)}}):m.jsx(Jm,{status:k})}),a?m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button","aria-label":"Close workspace menu",className:"fixed inset-0 z-20 cursor-default",onClick:C}),m.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-60 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:s?m.jsxs("div",{className:"p-3",children:[m.jsx("div",{className:"text-sm font-semibold",children:"Archive workspace?"}),m.jsx("p",{className:"mt-1 text-xs leading-snug text-muted",children:n>0?"Agents are still running in this workspace. Archiving will stop them and end any in-progress work.":"Its worktree is deleted. The chat stays readable and searchable."}),m.jsxs("div",{className:"mt-3 flex justify-end gap-2",children:[m.jsx("button",{type:"button",onClick:()=>c(!1),className:"rounded-lg border border-border px-2.5 py-1 text-xs font-semibold active:bg-surface-2",children:"Cancel"}),m.jsx("button",{type:"button",onClick:A,className:"rounded-lg bg-del px-2.5 py-1 text-xs font-semibold text-on-solid active:scale-95",children:n>0?"Stop agents and archive":"Archive"})]})]}):m.jsxs(m.Fragment,{children:[IF.map(T=>m.jsxs("button",{type:"button",onClick:()=>b(T),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[m.jsx(Jm,{status:T}),m.jsx("span",{className:"flex-1",children:ld(T)}),T===y?m.jsx(ca,{size:15,className:"text-accent"}):null]},T)),m.jsxs("button",{type:"button",onClick:()=>c(!0),className:"flex w-full items-center gap-2 border-t border-border px-3 py-2.5 text-left text-sm text-del active:bg-surface-2",children:[m.jsx(Rd,{size:15}),m.jsx("span",{className:"flex-1",children:"Archive workspace"})]})]})})]}):null,u?m.jsx("button",{type:"button",onClick:()=>f(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:u}):null]})}function $O(e){return Qd[e]??"var(--color-faint)"}function Jm({status:e}){const n=Qd[e];return n?m.jsx("span",{className:"dot size-2.5",style:{background:n}}):m.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function GO(){const{workspaceId:e}=By(),[n,a]=q8(),i=n.get("session"),s=Be=>a({session:Be},{replace:!0}),[c,x]=D.useState(!1),[d,u]=D.useState(!1),[f,E]=D.useState(null),[h,y]=D.useState(null),[C,b]=D.useState(null),[A,v]=D.useState(null),k=gr(),{data:T,isLoading:F}=Hd(),j=T?.workspaces.find(Be=>Be.id===e),O=!!T&&!j,{data:M}=b2(e,!O),R=Ae(Be=>Be.workingHints),z=Ae(Be=>Be.pending),$=Ae(Be=>Be.readMarks),L=Ae(Be=>Be.markRead),V=Ae(Be=>Be.setDraft),Y=Ae(Be=>Be.online),J=j,X=T?.actuator,{data:P,isLoading:U}=vD(e,O),{data:Z}=kD(e,!!j?.worktree),ie=j?.worktree??null,he=Z?.files,N=D.useMemo(()=>I2(ie,he),[ie,he]),S=M?.sessions??[],Q=J?.active_session_id&&S.some(Be=>Be.id===J.active_session_id)?J.active_session_id:null,_=(i&&S.some(Be=>Be.id===i)?i:null)??Q??S[0]?.id??null,re=S.find(Be=>Be.id===_),Ee=re?.updated_at;if(D.useEffect(()=>{J&&_&&Ee&&document.visibilityState==="visible"&&L(_,Ee)},[J,_,Ee,L]),LD(_,Ee),!J)return P?m.jsx(uO,{workspace:P.workspace}):m.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[m.jsx(q0,{title:"Session",menu:!0}),F||O&&U?m.jsx(Va,{}):m.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const fe=_?R[_]:void 0,ve=re?.status==="working"||fe!==void 0&&Date.now()-fe<ad,Ge=re?.turn_started_at?qn(re.turn_started_at):null,ke=(re?.status==="working"?Ge??fe:fe??Ge)??null,ft=Date.now(),xt=Object.fromEntries(S.map(Be=>{const bt=R[Be.id],_t=[...Be.id===_&&J.pending_prompt?[J.pending_prompt]:[],...(J.parked_prompts??[]).filter(Ve=>Ve.sessionId===Be.id)];return[Be.id,o2(z.filter(Ve=>Ve.sessionId===Be.id),_t,bt!==void 0&&ft-bt<ad)]})),$t=[J.repo_name,J.branch,G2(J.model)].filter(Boolean).join(" · "),Gt=async()=>{if(!d){u(!0);try{const Be=await Oe.newChat(J.id);Be.ok&&(await k.invalidateQueries({queryKey:["sessions",J.id]}),Be.sessionId&&s(Be.sessionId))}finally{u(!1)}}},ot=async(Be,bt=!1)=>{if(f||!Y)return;const _t=S.find(Ve=>Ve.id===Be);if((_t?.status==="working"||_t?.background_tasks.length)&&!bt){y(Be),b(null);return}E(Be),y(null),b(null);try{const Ve=await Oe.closeChat(Be,J.id,bt);if(!Ve.ok)throw new Error(Ve.error??"Could not close this chat");_===Be&&(Ve.activeSessionId?s(Ve.activeSessionId):a({},{replace:!0})),await Promise.all([k.invalidateQueries({queryKey:["sessions",J.id]}),k.invalidateQueries({queryKey:["state"]})])}catch(Ve){Ve instanceof Er&&Ve.status===409&&/still working/i.test(Ve.message)?y(Be):b(Ve instanceof Error?Ve.message:"Could not close this chat")}finally{E(null)}},Pt=async({thinking:Be,tools:bt,through:_t,only:Ve},cn)=>{if(!_)return;const ht=await Oe.splitChat(_,J.id,Be,bt,_t,Ve);if(!ht.ok)throw new Error(ht.error??"Could not fork this chat");if(!ht.sessionId)throw new Error("The new chat opened, but its id was not available");V(ht.sessionId,[ht.text,cn?.trim()].filter(Boolean).join(`
|
|
47
|
-
`)),v(ht.sessionId),await k.invalidateQueries({queryKey:["sessions",J.id]}),s(ht.sessionId)};return m.jsx(jF,{value:N,children:m.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[m.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[m.jsx(q0,{title:zr(J),subtitle:$t,menu:!0,right:m.jsxs(m.Fragment,{children:[m.jsx(jO,{workspaceId:J.id}),m.jsx(qO,{workspace:J,agentsRunning:S.filter(Be=>Be.status==="working").length}),m.jsx("button",{type:"button",onClick:()=>x(Be=>!Be),"aria-label":"Toggle diff panel","aria-pressed":c,className:Ce("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",c&&"bg-surface-2 text-text"),children:m.jsx(Q8,{size:19})})]})}),S.length>0||J.state==="ready"?m.jsx(VO,{sessions:S,activeId:_,readMarks:$,promptStates:xt,onSelect:s,onNewChat:Gt,onClose:Be=>{ot(Be)},creating:d,closingId:f,online:Y}):null,h?m.jsx(QO,{title:S.find(Be=>Be.id===h)?.title??"Untitled",busy:f===h,onCancel:()=>y(null),onConfirm:()=>{ot(h,!0)}}):C?m.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-del/30 bg-del/5 px-3 py-2 text-xs text-del",children:[m.jsx("span",{className:"min-w-0 flex-1",children:C}),Bi(C)?m.jsx(xa,{}):null,m.jsx("button",{type:"button",onClick:()=>b(null),"aria-label":"Dismiss close error",className:"p-1",children:m.jsx(Nn,{size:14})})]}):null,m.jsx(w5,{sessionId:_,workspaceId:J.id,working:ve,workingSince:ke,turnStartedAt:re?.turn_started_at,waiting:re?.background_tasks,queued:J.parked_prompts?.find(Be=>Be.sessionId===_)??J.pending_prompt,onFork:Pt}),m.jsx(MO,{session:re,sessionId:_,workspaceId:J.id,working:ve,actuator:X,onFork:Be=>Pt({thinking:!0,tools:!1},Be),focusDraft:_===A,onDraftFocused:()=>v(null)},J.id)]}),c?m.jsx(KO,{workspaceId:J.id,sessionId:_,onClose:()=>x(!1)}):null]})})}function VO({sessions:e,activeId:n,readMarks:a,promptStates:i,onSelect:s,onNewChat:c,onClose:x,creating:d,closingId:u,online:f}){const E=D.useRef(null);return D.useLayoutEffect(()=>{n&&E.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[n]),m.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[m.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(h=>{const y=i[h.id];return m.jsxs("div",{ref:h.id===n?E:void 0,className:Ce("flex shrink-0 items-center rounded-full text-sm font-medium text-muted transition",h.id===n&&"bg-surface-2 text-text"),children:[m.jsxs("button",{type:"button",onClick:()=>s(h.id),className:"flex min-w-0 items-center gap-1.5 py-1.5 pl-3.5 pr-1",children:[y?m.jsx(Z2,{state:y,className:"size-3"}):h.status==="working"?m.jsx("span",{className:"dot-spinner size-3"}):h.background_tasks?.length?m.jsx(X8,{size:11,className:"shrink-0 text-faint","aria-label":"Waiting for a background task"}):null,m.jsx("span",{className:"max-w-36 truncate",children:h.title||"Untitled"}),m.jsx(YO,{used:h.context_used_percent}),Gk(h,a)?m.jsx("span",{className:"dot size-1.5 bg-accent"}):null]}),m.jsx("button",{type:"button",onClick:()=>x(h.id),disabled:!f||u!==null,"aria-label":`Close ${h.title||"Untitled"} chat`,className:"mr-1 flex size-6 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-bg/70 active:text-text disabled:opacity-40",children:u===h.id?m.jsx(rr,{size:12,className:"animate-spin"}):m.jsx(Nn,{size:12})})]},h.id)})}),m.jsx("button",{type:"button",onClick:c,disabled:d,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:m.jsx(W8,{size:18})})]})}function QO({title:e,busy:n,onCancel:a,onConfirm:i}){return m.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-working/30 bg-working/5 px-3 py-2 text-xs",children:[m.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[m.jsx("span",{className:"font-semibold",children:e})," is still working. Close the tab anyway?"]}),m.jsx("button",{type:"button",onClick:a,disabled:n,className:"rounded-lg px-2 py-1 text-muted active:bg-surface-2",children:"Cancel"}),m.jsxs("button",{type:"button",onClick:i,disabled:n,className:"flex items-center gap-1 rounded-lg bg-del px-2 py-1 font-semibold text-black active:scale-95 disabled:opacity-50",children:[n?m.jsx(rr,{size:12,className:"animate-spin"}):null,"Close anyway"]})]})}function YO({used:e}){return typeof e!="number"||e<=0?null:m.jsxs("span",{className:Ce("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function KO({workspaceId:e,sessionId:n,onClose:a}){return m.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[m.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[m.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),m.jsx("button",{type:"button",onClick:a,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:20})})]}),m.jsx(IO,{workspaceId:e,sessionId:n})]})}var z0={exports:{}},XO=z0.exports,e8;function ZO(){return e8||(e8=1,(function(e,n){(function(i,s){e.exports=s()})(typeof self<"u"?self:XO,function(){return(function(a){var i={};function s(c){if(i[c])return i[c].exports;var x=i[c]={i:c,l:!1,exports:{}};return a[c].call(x.exports,x,x.exports,s),x.l=!0,x.exports}return s.m=a,s.c=i,s.d=function(c,x,d){s.o(c,x)||Object.defineProperty(c,x,{configurable:!1,enumerable:!0,get:d})},s.n=function(c){var x=c&&c.__esModule?function(){return c.default}:function(){return c};return s.d(x,"a",x),x},s.o=function(c,x){return Object.prototype.hasOwnProperty.call(c,x)},s.p="",s(s.s=3)})([(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=(function(){function x(d,u){this.width=u,this.height=d.length/u,this.data=d}return x.createEmpty=function(d,u){return new x(new Uint8ClampedArray(d*u),d)},x.prototype.get=function(d,u){return d<0||d>=this.width||u<0||u>=this.height?!1:!!this.data[u*this.width+d]},x.prototype.set=function(d,u,f){this.data[u*this.width+d]=f?1:0},x.prototype.setRegion=function(d,u,f,E,h){for(var y=u;y<u+E;y++)for(var C=d;C<d+f;C++)this.set(C,y,!!h)},x})();i.BitMatrix=c}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(2);function x(u,f){return u^f}i.addOrSubtractGF=x;var d=(function(){function u(f,E,h){this.primitive=f,this.size=E,this.generatorBase=h,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new c.default(this,Uint8ClampedArray.from([0])),this.one=new c.default(this,Uint8ClampedArray.from([1]))}return u.prototype.multiply=function(f,E){return f===0||E===0?0:this.expTable[(this.logTable[f]+this.logTable[E])%(this.size-1)]},u.prototype.inverse=function(f){if(f===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[f]-1]},u.prototype.buildMonomial=function(f,E){if(f<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var h=new Uint8ClampedArray(f+1);return h[0]=E,new c.default(this,h)},u.prototype.log=function(f){if(f===0)throw new Error("Can't take log(0)");return this.logTable[f]},u.prototype.exp=function(f){return this.expTable[f]},u})();i.default=d}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(1),x=(function(){function d(u,f){if(f.length===0)throw new Error("No coefficients.");this.field=u;var E=f.length;if(E>1&&f[0]===0){for(var h=1;h<E&&f[h]===0;)h++;if(h===E)this.coefficients=u.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-h);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=f[h+y]}}else this.coefficients=f}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(u){return this.coefficients[this.coefficients.length-1-u]},d.prototype.addOrSubtract=function(u){var f;if(this.isZero())return u;if(u.isZero())return this;var E=this.coefficients,h=u.coefficients;E.length>h.length&&(f=[h,E],E=f[0],h=f[1]);for(var y=new Uint8ClampedArray(h.length),C=h.length-E.length,b=0;b<C;b++)y[b]=h[b];for(var b=C;b<h.length;b++)y[b]=c.addOrSubtractGF(E[b-C],h[b]);return new d(this.field,y)},d.prototype.multiply=function(u){if(u===0)return this.field.zero;if(u===1)return this;for(var f=this.coefficients.length,E=new Uint8ClampedArray(f),h=0;h<f;h++)E[h]=this.field.multiply(this.coefficients[h],u);return new d(this.field,E)},d.prototype.multiplyPoly=function(u){if(this.isZero()||u.isZero())return this.field.zero;for(var f=this.coefficients,E=f.length,h=u.coefficients,y=h.length,C=new Uint8ClampedArray(E+y-1),b=0;b<E;b++)for(var A=f[b],v=0;v<y;v++)C[b+v]=c.addOrSubtractGF(C[b+v],this.field.multiply(A,h[v]));return new d(this.field,C)},d.prototype.multiplyByMonomial=function(u,f){if(u<0)throw new Error("Invalid degree less than 0");if(f===0)return this.field.zero;for(var E=this.coefficients.length,h=new Uint8ClampedArray(E+u),y=0;y<E;y++)h[y]=this.field.multiply(this.coefficients[y],f);return new d(this.field,h)},d.prototype.evaluateAt=function(u){var f=0;if(u===0)return this.getCoefficient(0);var E=this.coefficients.length;if(u===1)return this.coefficients.forEach(function(y){f=c.addOrSubtractGF(f,y)}),f;f=this.coefficients[0];for(var h=1;h<E;h++)f=c.addOrSubtractGF(this.field.multiply(u,f),this.coefficients[h]);return f},d})();i.default=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(4),x=s(5),d=s(11),u=s(12);function f(y){var C=u.locate(y);if(!C)return null;for(var b=0,A=C;b<A.length;b++){var v=A[b],k=d.extract(y,v),T=x.decode(k.matrix);if(T)return{binaryData:T.bytes,data:T.text,chunks:T.chunks,version:T.version,location:{topRightCorner:k.mappingFunction(v.dimension,0),topLeftCorner:k.mappingFunction(0,0),bottomRightCorner:k.mappingFunction(v.dimension,v.dimension),bottomLeftCorner:k.mappingFunction(0,v.dimension),topRightFinderPattern:v.topRight,topLeftFinderPattern:v.topLeft,bottomLeftFinderPattern:v.bottomLeft,bottomRightAlignmentPattern:v.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function h(y,C,b,A){A===void 0&&(A={});var v=E;Object.keys(v||{}).forEach(function(R){v[R]=A[R]||v[R]});var k=v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst",T=v.inversionAttempts==="onlyInvert"||v.inversionAttempts==="invertFirst",F=c.binarize(y,C,b,k),j=F.binarized,O=F.inverted,M=f(T?O:j);return!M&&(v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst")&&(M=f(T?j:O)),M}h.default=h,i.default=h}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0),x=8,d=24;function u(h,y,C){return h<y?y:h>C?C:h}var f=(function(){function h(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return h.prototype.get=function(y,C){return this.data[C*this.width+y]},h.prototype.set=function(y,C,b){this.data[C*this.width+y]=b},h})();function E(h,y,C,b){if(h.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var A=new f(y,C),v=0;v<y;v++)for(var k=0;k<C;k++){var T=h[(k*y+v)*4+0],F=h[(k*y+v)*4+1],j=h[(k*y+v)*4+2];A.set(v,k,.2126*T+.7152*F+.0722*j)}for(var O=Math.ceil(y/x),M=Math.ceil(C/x),R=new f(O,M),z=0;z<M;z++)for(var $=0;$<O;$++){for(var L=0,V=1/0,Y=0,k=0;k<x;k++)for(var v=0;v<x;v++){var J=A.get($*x+v,z*x+k);L+=J,V=Math.min(V,J),Y=Math.max(Y,J)}var X=L/Math.pow(x,2);if(Y-V<=d&&(X=V/2,z>0&&$>0)){var P=(R.get($,z-1)+2*R.get($-1,z)+R.get($-1,z-1))/4;V<P&&(X=P)}R.set($,z,X)}var U=c.BitMatrix.createEmpty(y,C),Z=null;b&&(Z=c.BitMatrix.createEmpty(y,C));for(var z=0;z<M;z++)for(var $=0;$<O;$++){for(var ie=u($,2,O-3),he=u(z,2,M-3),L=0,N=-2;N<=2;N++)for(var S=-2;S<=2;S++)L+=R.get(ie+N,he+S);for(var Q=L/25,N=0;N<x;N++)for(var S=0;S<x;S++){var v=$*x+N,k=z*x+S,_=A.get(v,k);U.set(v,k,_<=Q),b&&Z.set(v,k,!(_<=Q))}}return b?{binarized:U,inverted:Z}:{binarized:U}}i.binarize=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0),x=s(6),d=s(9),u=s(10);function f(j,O){for(var M=j^O,R=0;M;)R++,M&=M-1;return R}function E(j,O){return O<<1|j}var h=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(j){return(j.y+j.x)%2===0},function(j){return j.y%2===0},function(j){return j.x%3===0},function(j){return(j.y+j.x)%3===0},function(j){return(Math.floor(j.y/2)+Math.floor(j.x/3))%2===0},function(j){return j.x*j.y%2+j.x*j.y%3===0},function(j){return(j.y*j.x%2+j.y*j.x%3)%2===0},function(j){return((j.y+j.x)%2+j.y*j.x%3)%2===0}];function C(j){var O=17+4*j.versionNumber,M=c.BitMatrix.createEmpty(O,O);M.setRegion(0,0,9,9,!0),M.setRegion(O-8,0,8,9,!0),M.setRegion(0,O-8,9,8,!0);for(var R=0,z=j.alignmentPatternCenters;R<z.length;R++)for(var $=z[R],L=0,V=j.alignmentPatternCenters;L<V.length;L++){var Y=V[L];$===6&&Y===6||$===6&&Y===O-7||$===O-7&&Y===6||M.setRegion($-2,Y-2,5,5,!0)}return M.setRegion(6,9,1,O-17,!0),M.setRegion(9,6,O-17,1,!0),j.versionNumber>6&&(M.setRegion(O-11,0,3,6,!0),M.setRegion(0,O-11,6,3,!0)),M}function b(j,O,M){for(var R=y[M.dataMask],z=j.height,$=C(O),L=[],V=0,Y=0,J=!0,X=z-1;X>0;X-=2){X===6&&X--;for(var P=0;P<z;P++)for(var U=J?z-1-P:P,Z=0;Z<2;Z++){var ie=X-Z;if(!$.get(ie,U)){Y++;var he=j.get(ie,U);R({y:U,x:ie})&&(he=!he),V=E(he,V),Y===8&&(L.push(V),Y=0,V=0)}}J=!J}return L}function A(j){var O=j.height,M=Math.floor((O-17)/4);if(M<=6)return u.VERSIONS[M-1];for(var R=0,z=5;z>=0;z--)for(var $=O-9;$>=O-11;$--)R=E(j.get($,z),R);for(var L=0,$=5;$>=0;$--)for(var z=O-9;z>=O-11;z--)L=E(j.get($,z),L);for(var V=1/0,Y,J=0,X=u.VERSIONS;J<X.length;J++){var P=X[J];if(P.infoBits===R||P.infoBits===L)return P;var U=f(R,P.infoBits);U<V&&(Y=P,V=U),U=f(L,P.infoBits),U<V&&(Y=P,V=U)}if(V<=3)return Y}function v(j){for(var O=0,M=0;M<=8;M++)M!==6&&(O=E(j.get(M,8),O));for(var R=7;R>=0;R--)R!==6&&(O=E(j.get(8,R),O));for(var z=j.height,$=0,R=z-1;R>=z-7;R--)$=E(j.get(8,R),$);for(var M=z-8;M<z;M++)$=E(j.get(M,8),$);for(var L=1/0,V=null,Y=0,J=h;Y<J.length;Y++){var X=J[Y],P=X.bits,U=X.formatInfo;if(P===O||P===$)return U;var Z=f(O,P);Z<L&&(V=U,L=Z),O!==$&&(Z=f($,P),Z<L&&(V=U,L=Z))}return L<=3?V:null}function k(j,O,M){var R=O.errorCorrectionLevels[M],z=[],$=0;if(R.ecBlocks.forEach(function(he){for(var N=0;N<he.numBlocks;N++)z.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),$+=he.dataCodewordsPerBlock+R.ecCodewordsPerBlock}),j.length<$)return null;j=j.slice(0,$);for(var L=R.ecBlocks[0].dataCodewordsPerBlock,V=0;V<L;V++)for(var Y=0,J=z;Y<J.length;Y++){var X=J[Y];X.codewords.push(j.shift())}if(R.ecBlocks.length>1)for(var P=R.ecBlocks[0].numBlocks,U=R.ecBlocks[1].numBlocks,V=0;V<U;V++)z[P+V].codewords.push(j.shift());for(;j.length>0;)for(var Z=0,ie=z;Z<ie.length;Z++){var X=ie[Z];X.codewords.push(j.shift())}return z}function T(j){var O=A(j);if(!O)return null;var M=v(j);if(!M)return null;var R=b(j,O,M),z=k(R,O,M.errorCorrectionLevel);if(!z)return null;for(var $=z.reduce(function(Z,ie){return Z+ie.numDataCodewords},0),L=new Uint8ClampedArray($),V=0,Y=0,J=z;Y<J.length;Y++){var X=J[Y],P=d.decode(X.codewords,X.codewords.length-X.numDataCodewords);if(!P)return null;for(var U=0;U<X.numDataCodewords;U++)L[V++]=P[U]}try{return x.decode(L,O.versionNumber)}catch{return null}}function F(j){if(j==null)return null;var O=T(j);if(O)return O;for(var M=0;M<j.width;M++)for(var R=M+1;R<j.height;R++)j.get(M,R)!==j.get(R,M)&&(j.set(M,R,!j.get(M,R)),j.set(R,M,!j.get(R,M)));return T(j)}i.decode=F}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(7),x=s(8),d;(function(A){A.Numeric="numeric",A.Alphanumeric="alphanumeric",A.Byte="byte",A.Kanji="kanji",A.ECI="eci"})(d=i.Mode||(i.Mode={}));var u;(function(A){A[A.Terminator=0]="Terminator",A[A.Numeric=1]="Numeric",A[A.Alphanumeric=2]="Alphanumeric",A[A.Byte=4]="Byte",A[A.Kanji=8]="Kanji",A[A.ECI=7]="ECI"})(u||(u={}));function f(A,v){for(var k=[],T="",F=[10,12,14][v],j=A.readBits(F);j>=3;){var O=A.readBits(10);if(O>=1e3)throw new Error("Invalid numeric value above 999");var M=Math.floor(O/100),R=Math.floor(O/10)%10,z=O%10;k.push(48+M,48+R,48+z),T+=M.toString()+R.toString()+z.toString(),j-=3}if(j===2){var O=A.readBits(7);if(O>=100)throw new Error("Invalid numeric value above 99");var M=Math.floor(O/10),R=O%10;k.push(48+M,48+R),T+=M.toString()+R.toString()}else if(j===1){var O=A.readBits(4);if(O>=10)throw new Error("Invalid numeric value above 9");k.push(48+O),T+=O.toString()}return{bytes:k,text:T}}var E=["0","1","2","3","4","5","6","7","8","9","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"," ","$","%","*","+","-",".","/",":"];function h(A,v){for(var k=[],T="",F=[9,11,13][v],j=A.readBits(F);j>=2;){var O=A.readBits(11),M=Math.floor(O/45),R=O%45;k.push(E[M].charCodeAt(0),E[R].charCodeAt(0)),T+=E[M]+E[R],j-=2}if(j===1){var M=A.readBits(6);k.push(E[M].charCodeAt(0)),T+=E[M]}return{bytes:k,text:T}}function y(A,v){for(var k=[],T="",F=[8,16,16][v],j=A.readBits(F),O=0;O<j;O++){var M=A.readBits(8);k.push(M)}try{T+=decodeURIComponent(k.map(function(R){return"%"+("0"+R.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:k,text:T}}function C(A,v){for(var k=[],T="",F=[8,10,12][v],j=A.readBits(F),O=0;O<j;O++){var M=A.readBits(13),R=Math.floor(M/192)<<8|M%192;R<7936?R+=33088:R+=49472,k.push(R>>8,R&255),T+=String.fromCharCode(x.shiftJISTable[R])}return{bytes:k,text:T}}function b(A,v){for(var k,T,F,j,O=new c.BitStream(A),M=v<=9?0:v<=26?1:2,R={text:"",bytes:[],chunks:[],version:v};O.available()>=4;){var z=O.readBits(4);if(z===u.Terminator)return R;if(z===u.ECI)O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(7)}):O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(14)}):O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(21)}):R.chunks.push({type:d.ECI,assignmentNumber:-1});else if(z===u.Numeric){var $=f(O,M);R.text+=$.text,(k=R.bytes).push.apply(k,$.bytes),R.chunks.push({type:d.Numeric,text:$.text})}else if(z===u.Alphanumeric){var L=h(O,M);R.text+=L.text,(T=R.bytes).push.apply(T,L.bytes),R.chunks.push({type:d.Alphanumeric,text:L.text})}else if(z===u.Byte){var V=y(O,M);R.text+=V.text,(F=R.bytes).push.apply(F,V.bytes),R.chunks.push({type:d.Byte,bytes:V.bytes,text:V.text})}else if(z===u.Kanji){var Y=C(O,M);R.text+=Y.text,(j=R.bytes).push.apply(j,Y.bytes),R.chunks.push({type:d.Kanji,bytes:Y.bytes,text:Y.text})}}if(O.available()===0||O.readBits(O.available())===0)return R}i.decode=b}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=(function(){function x(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return x.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var u=0;if(this.bitOffset>0){var f=8-this.bitOffset,E=d<f?d:f,h=f-E,y=255>>8-E<<h;u=(this.bytes[this.byteOffset]&y)>>h,d-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)u=u<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var h=8-d,y=255>>h<<h;u=u<<d|(this.bytes[this.byteOffset]&y)>>h,this.bitOffset+=d}}return u},x.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},x})();i.BitStream=c}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(1),x=s(2);function d(h,y,C,b){var A;y.degree()<C.degree()&&(A=[C,y],y=A[0],C=A[1]);for(var v=y,k=C,T=h.zero,F=h.one;k.degree()>=b/2;){var j=v,O=T;if(v=k,T=F,v.isZero())return null;k=j;for(var M=h.zero,R=v.getCoefficient(v.degree()),z=h.inverse(R);k.degree()>=v.degree()&&!k.isZero();){var $=k.degree()-v.degree(),L=h.multiply(k.getCoefficient(k.degree()),z);M=M.addOrSubtract(h.buildMonomial($,L)),k=k.addOrSubtract(v.multiplyByMonomial($,L))}if(F=M.multiplyPoly(T).addOrSubtract(O),k.degree()>=v.degree())return null}var V=F.getCoefficient(0);if(V===0)return null;var Y=h.inverse(V);return[F.multiply(Y),k.multiply(Y)]}function u(h,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var b=new Array(C),A=0,v=1;v<h.size&&A<C;v++)y.evaluateAt(v)===0&&(b[A]=h.inverse(v),A++);return A!==C?null:b}function f(h,y,C){for(var b=C.length,A=new Array(b),v=0;v<b;v++){for(var k=h.inverse(C[v]),T=1,F=0;F<b;F++)v!==F&&(T=h.multiply(T,c.addOrSubtractGF(1,h.multiply(C[F],k))));A[v]=h.multiply(y.evaluateAt(k),h.inverse(T)),h.generatorBase!==0&&(A[v]=h.multiply(A[v],k))}return A}function E(h,y){var C=new Uint8ClampedArray(h.length);C.set(h);for(var b=new c.default(285,256,0),A=new x.default(b,C),v=new Uint8ClampedArray(y),k=!1,T=0;T<y;T++){var F=A.evaluateAt(b.exp(T+b.generatorBase));v[v.length-1-T]=F,F!==0&&(k=!0)}if(!k)return C;var j=new x.default(b,v),O=d(b,b.buildMonomial(y,1),j,y);if(O===null)return null;var M=u(b,O[0]);if(M==null)return null;for(var R=f(b,O[1],M),z=0;z<M.length;z++){var $=C.length-1-b.log(M[z]);if($<0)return null;C[$]=c.addOrSubtractGF(C[$],R[z])}return C}i.decode=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0);function x(E,h,y,C){var b=E.x-h.x+y.x-C.x,A=E.y-h.y+y.y-C.y;if(b===0&&A===0)return{a11:h.x-E.x,a12:h.y-E.y,a13:0,a21:y.x-h.x,a22:y.y-h.y,a23:0,a31:E.x,a32:E.y,a33:1};var v=h.x-y.x,k=C.x-y.x,T=h.y-y.y,F=C.y-y.y,j=v*F-k*T,O=(b*F-k*A)/j,M=(v*A-b*T)/j;return{a11:h.x-E.x+O*h.x,a12:h.y-E.y+O*h.y,a13:O,a21:C.x-E.x+M*C.x,a22:C.y-E.y+M*C.y,a23:M,a31:E.x,a32:E.y,a33:1}}function d(E,h,y,C){var b=x(E,h,y,C);return{a11:b.a22*b.a33-b.a23*b.a32,a12:b.a13*b.a32-b.a12*b.a33,a13:b.a12*b.a23-b.a13*b.a22,a21:b.a23*b.a31-b.a21*b.a33,a22:b.a11*b.a33-b.a13*b.a31,a23:b.a13*b.a21-b.a11*b.a23,a31:b.a21*b.a32-b.a22*b.a31,a32:b.a12*b.a31-b.a11*b.a32,a33:b.a11*b.a22-b.a12*b.a21}}function u(E,h){return{a11:E.a11*h.a11+E.a21*h.a12+E.a31*h.a13,a12:E.a12*h.a11+E.a22*h.a12+E.a32*h.a13,a13:E.a13*h.a11+E.a23*h.a12+E.a33*h.a13,a21:E.a11*h.a21+E.a21*h.a22+E.a31*h.a23,a22:E.a12*h.a21+E.a22*h.a22+E.a32*h.a23,a23:E.a13*h.a21+E.a23*h.a22+E.a33*h.a23,a31:E.a11*h.a31+E.a21*h.a32+E.a31*h.a33,a32:E.a12*h.a31+E.a22*h.a32+E.a32*h.a33,a33:E.a13*h.a31+E.a23*h.a32+E.a33*h.a33}}function f(E,h){for(var y=d({x:3.5,y:3.5},{x:h.dimension-3.5,y:3.5},{x:h.dimension-6.5,y:h.dimension-6.5},{x:3.5,y:h.dimension-3.5}),C=x(h.topLeft,h.topRight,h.alignmentPattern,h.bottomLeft),b=u(C,y),A=c.BitMatrix.createEmpty(h.dimension,h.dimension),v=function(M,R){var z=b.a13*M+b.a23*R+b.a33;return{x:(b.a11*M+b.a21*R+b.a31)/z,y:(b.a12*M+b.a22*R+b.a32)/z}},k=0;k<h.dimension;k++)for(var T=0;T<h.dimension;T++){var F=T+.5,j=k+.5,O=v(F,j);A.set(T,k,E.get(Math.floor(O.x),Math.floor(O.y)))}return{matrix:A,mappingFunction:v}}i.extract=f}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=4,x=.5,d=1.5,u=function(F,j){return Math.sqrt(Math.pow(j.x-F.x,2)+Math.pow(j.y-F.y,2))};function f(F){return F.reduce(function(j,O){return j+O})}function E(F,j,O){var M,R,z,$,L=u(F,j),V=u(j,O),Y=u(F,O),J,X,P;return V>=L&&V>=Y?(M=[j,F,O],J=M[0],X=M[1],P=M[2]):Y>=V&&Y>=L?(R=[F,j,O],J=R[0],X=R[1],P=R[2]):(z=[F,O,j],J=z[0],X=z[1],P=z[2]),(P.x-X.x)*(J.y-X.y)-(P.y-X.y)*(J.x-X.x)<0&&($=[P,J],J=$[0],P=$[1]),{bottomLeft:J,topLeft:X,topRight:P}}function h(F,j,O,M){var R=(f(C(F,O,M,5))/7+f(C(F,j,M,5))/7+f(C(O,F,M,5))/7+f(C(j,F,M,5))/7)/4;if(R<1)throw new Error("Invalid module size");var z=Math.round(u(F,j)/R),$=Math.round(u(F,O)/R),L=Math.floor((z+$)/2)+7;switch(L%4){case 0:L++;break;case 2:L--;break}return{dimension:L,moduleSize:R}}function y(F,j,O,M){var R=[{x:Math.floor(F.x),y:Math.floor(F.y)}],z=Math.abs(j.y-F.y)>Math.abs(j.x-F.x),$,L,V,Y;z?($=Math.floor(F.y),L=Math.floor(F.x),V=Math.floor(j.y),Y=Math.floor(j.x)):($=Math.floor(F.x),L=Math.floor(F.y),V=Math.floor(j.x),Y=Math.floor(j.y));for(var J=Math.abs(V-$),X=Math.abs(Y-L),P=Math.floor(-J/2),U=$<V?1:-1,Z=L<Y?1:-1,ie=!0,he=$,N=L;he!==V+U;he+=U){var S=z?N:he,Q=z?he:N;if(O.get(S,Q)!==ie&&(ie=!ie,R.push({x:S,y:Q}),R.length===M+1))break;if(P+=X,P>0){if(N===Y)break;N+=Z,P-=J}}for(var _=[],re=0;re<M;re++)R[re]&&R[re+1]?_.push(u(R[re],R[re+1])):_.push(0);return _}function C(F,j,O,M){var R,z=j.y-F.y,$=j.x-F.x,L=y(F,j,O,Math.ceil(M/2)),V=y(F,{x:F.x-$,y:F.y-z},O,Math.ceil(M/2)),Y=L.shift()+V.shift()-1;return(R=V.concat(Y)).concat.apply(R,L)}function b(F,j){var O=f(F)/f(j),M=0;return j.forEach(function(R,z){M+=Math.pow(F[z]-R*O,2)}),{averageSize:O,error:M}}function A(F,j,O){try{var M=C(F,{x:-1,y:F.y},O,j.length),R=C(F,{x:F.x,y:-1},O,j.length),z={x:Math.max(0,F.x-F.y)-1,y:Math.max(0,F.y-F.x)-1},$=C(F,z,O,j.length),L={x:Math.min(O.width,F.x+F.y)+1,y:Math.min(O.height,F.y+F.x)+1},V=C(F,L,O,j.length),Y=b(M,j),J=b(R,j),X=b($,j),P=b(V,j),U=Math.sqrt(Y.error*Y.error+J.error*J.error+X.error*X.error+P.error*P.error),Z=(Y.averageSize+J.averageSize+X.averageSize+P.averageSize)/4,ie=(Math.pow(Y.averageSize-Z,2)+Math.pow(J.averageSize-Z,2)+Math.pow(X.averageSize-Z,2)+Math.pow(P.averageSize-Z,2))/Z;return U+ie}catch{return 1/0}}function v(F,j){for(var O=Math.round(j.x);F.get(O,Math.round(j.y));)O--;for(var M=Math.round(j.x);F.get(M,Math.round(j.y));)M++;for(var R=(O+M)/2,z=Math.round(j.y);F.get(Math.round(R),z);)z--;for(var $=Math.round(j.y);F.get(Math.round(R),$);)$++;var L=(z+$)/2;return{x:R,y:L}}function k(F){for(var j=[],O=[],M=[],R=[],z=function(S){for(var Q=0,_=!1,re=[0,0,0,0,0],Ee=function(ve){var Ge=F.get(ve,S);if(Ge===_)Q++;else{re=[re[1],re[2],re[3],re[4],Q],Q=1,_=Ge;var ke=f(re)/7,ft=Math.abs(re[0]-ke)<ke&&Math.abs(re[1]-ke)<ke&&Math.abs(re[2]-3*ke)<3*ke&&Math.abs(re[3]-ke)<ke&&Math.abs(re[4]-ke)<ke&&!Ge,xt=f(re.slice(-3))/3,$t=Math.abs(re[2]-xt)<xt&&Math.abs(re[3]-xt)<xt&&Math.abs(re[4]-xt)<xt&&Ge;if(ft){var Gt=ve-re[3]-re[4],ot=Gt-re[2],Pt={startX:ot,endX:Gt,y:S},Be=O.filter(function(Ve){return ot>=Ve.bottom.startX&&ot<=Ve.bottom.endX||Gt>=Ve.bottom.startX&&ot<=Ve.bottom.endX||ot<=Ve.bottom.startX&&Gt>=Ve.bottom.endX&&re[2]/(Ve.bottom.endX-Ve.bottom.startX)<d&&re[2]/(Ve.bottom.endX-Ve.bottom.startX)>x});Be.length>0?Be[0].bottom=Pt:O.push({top:Pt,bottom:Pt})}if($t){var bt=ve-re[4],_t=bt-re[3],Pt={startX:_t,y:S,endX:bt},Be=R.filter(function(ht){return _t>=ht.bottom.startX&&_t<=ht.bottom.endX||bt>=ht.bottom.startX&&_t<=ht.bottom.endX||_t<=ht.bottom.startX&&bt>=ht.bottom.endX&&re[2]/(ht.bottom.endX-ht.bottom.startX)<d&&re[2]/(ht.bottom.endX-ht.bottom.startX)>x});Be.length>0?Be[0].bottom=Pt:R.push({top:Pt,bottom:Pt})}}},fe=-1;fe<=F.width;fe++)Ee(fe);j.push.apply(j,O.filter(function(ve){return ve.bottom.y!==S&&ve.bottom.y-ve.top.y>=2})),O=O.filter(function(ve){return ve.bottom.y===S}),M.push.apply(M,R.filter(function(ve){return ve.bottom.y!==S})),R=R.filter(function(ve){return ve.bottom.y===S})},$=0;$<=F.height;$++)z($);j.push.apply(j,O.filter(function(S){return S.bottom.y-S.top.y>=2})),M.push.apply(M,R);var L=j.filter(function(S){return S.bottom.y-S.top.y>=2}).map(function(S){var Q=(S.top.startX+S.top.endX+S.bottom.startX+S.bottom.endX)/4,_=(S.top.y+S.bottom.y+1)/2;if(F.get(Math.round(Q),Math.round(_))){var re=[S.top.endX-S.top.startX,S.bottom.endX-S.bottom.startX,S.bottom.y-S.top.y+1],Ee=f(re)/re.length,fe=A({x:Math.round(Q),y:Math.round(_)},[1,1,3,1,1],F);return{score:fe,x:Q,y:_,size:Ee}}}).filter(function(S){return!!S}).sort(function(S,Q){return S.score-Q.score}).map(function(S,Q,_){if(Q>c)return null;var re=_.filter(function(fe,ve){return Q!==ve}).map(function(fe){return{x:fe.x,y:fe.y,score:fe.score+Math.pow(fe.size-S.size,2)/S.size,size:fe.size}}).sort(function(fe,ve){return fe.score-ve.score});if(re.length<2)return null;var Ee=S.score+re[0].score+re[1].score;return{points:[S].concat(re.slice(0,2)),score:Ee}}).filter(function(S){return!!S}).sort(function(S,Q){return S.score-Q.score});if(L.length===0)return null;var V=E(L[0].points[0],L[0].points[1],L[0].points[2]),Y=V.topRight,J=V.topLeft,X=V.bottomLeft,P=T(F,M,Y,J,X),U=[];P&&U.push({alignmentPattern:{x:P.alignmentPattern.x,y:P.alignmentPattern.y},bottomLeft:{x:X.x,y:X.y},dimension:P.dimension,topLeft:{x:J.x,y:J.y},topRight:{x:Y.x,y:Y.y}});var Z=v(F,Y),ie=v(F,J),he=v(F,X),N=T(F,M,Z,ie,he);return N&&U.push({alignmentPattern:{x:N.alignmentPattern.x,y:N.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:ie.x,y:ie.y},topRight:{x:Z.x,y:Z.y},dimension:N.dimension}),U.length===0?null:U}i.locate=k;function T(F,j,O,M,R){var z,$,L;try{z=h(M,O,R,F),$=z.dimension,L=z.moduleSize}catch{return null}var V={x:O.x-M.x+R.x,y:O.y-M.y+R.y},Y=(u(M,R)+u(M,O))/2/L,J=1-3/Y,X={x:M.x+J*(V.x-M.x),y:M.y+J*(V.y-M.y)},P=j.map(function(Z){var ie=(Z.top.startX+Z.top.endX+Z.bottom.startX+Z.bottom.endX)/4,he=(Z.top.y+Z.bottom.y+1)/2;if(F.get(Math.floor(ie),Math.floor(he))){var N=[Z.top.endX-Z.top.startX,Z.bottom.endX-Z.bottom.startX,Z.bottom.y-Z.top.y+1];f(N)/N.length;var S=A({x:Math.floor(ie),y:Math.floor(he)},[1,1,1],F),Q=S+u({x:ie,y:he},X);return{x:ie,y:he,score:Q}}}).filter(function(Z){return!!Z}).sort(function(Z,ie){return Z.score-ie.score}),U=Y>=15&&P.length?P[0]:X;return{alignmentPattern:U,dimension:$}}})]).default})})(z0)),z0.exports}var WO=ZO();const JO=Qs(WO);function ez({onResult:e,onClose:n}){const a=D.useRef(null),[i,s]=D.useState(null);return D.useEffect(()=>{let c=null,x=0,d=!1;const u=document.createElement("canvas"),f=u.getContext("2d",{willReadFrequently:!0}),E=()=>{const h=a.current;if(!(d||!h||!f)){if(h.readyState>=h.HAVE_ENOUGH_DATA&&h.videoWidth){u.width=h.videoWidth,u.height=h.videoHeight,f.drawImage(h,0,0,u.width,u.height);const{data:y,width:C,height:b}=f.getImageData(0,0,u.width,u.height),A=JO(y,C,b,{inversionAttempts:"dontInvert"});if(A?.data){d=!0,e(A.data);return}}x=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(h=>{if(d){for(const C of h.getTracks())C.stop();return}c=h;const y=a.current;y&&(y.srcObject=h,y.play(),x=requestAnimationFrame(E))}).catch(h=>s(tz(h))),()=>{if(d=!0,cancelAnimationFrame(x),c)for(const h of c.getTracks())h.stop()}},[e]),m.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[m.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),m.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:m.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),m.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[m.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),m.jsx("button",{type:"button",onClick:n,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:m.jsx(Nn,{size:20})})]}),i?m.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function tz(e){const n=e instanceof DOMException?e.name:"";return n==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":n==="NotFoundError"||n==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function nz(){const e=Ae(f=>f.setToken),[n,a]=D.useState(""),[i,s]=D.useState(!1),[c,x]=D.useState(!1),d=f=>{const E=wk(f);x(!1),E?e(E):s(!0)},u=f=>{f.preventDefault(),d(n)};return c?m.jsx(ez,{onResult:d,onClose:()=>x(!1)}):m.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[m.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),m.jsxs("div",{children:[m.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),m.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),m.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",m.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",m.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),m.jsxs("form",{onSubmit:u,className:"flex w-full max-w-xs flex-col gap-2",children:[m.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:n,onChange:f=>{a(f.target.value),s(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),m.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),m.jsxs("button",{type:"button",onClick:()=>{s(!1),x(!0)},className:"pill justify-center gap-2 py-2.5",children:[m.jsx(J8,{size:16}),"Scan QR"]}),i?m.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),m.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",m.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}const rz=new Intl.NumberFormat("en",{notation:"compact"});function t8(e){return rz.format(Math.max(0,e)).toLowerCase()}function n8(e,n){return`${e.toLocaleString("en")} ${e===1?"line":"lines"} ${n}`}function az({stats:e,className:n}){if(!e||e.added<=0&&e.removed<=0)return null;const a=[e.added>0?n8(e.added,"added"):null,e.removed>0?n8(e.removed,"removed"):null].filter(Boolean).join(", ");return m.jsxs("span",{className:Ce("flex shrink-0 items-center gap-1 font-mono text-[10px] font-medium leading-none tabular-nums",n),title:a,children:[m.jsx("span",{className:"sr-only",children:a}),e.added>0?m.jsxs("span",{className:"text-add","aria-hidden":"true",children:["+",t8(e.added)]}):null,e.removed>0?m.jsxs("span",{className:"text-del","aria-hidden":"true",children:["-",t8(e.removed)]}):null]})}const T5="conductor-remote-theme",iz={light:"#f5f6f8",dark:"#0a0b0e"};function lz(e){return e==="light"||e==="dark"||e==="system"?e:"system"}function j5(e){try{return lz((e??localStorage).getItem(T5))}catch{return"system"}}function sz(e,n){return e==="system"?n?"dark":"light":e}function oz(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function R5(e,n=oz()){if(typeof document>"u")return;e==="system"?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e;const a=sz(e,n);document.querySelector('meta[name="theme-color"]')?.setAttribute("content",iz[a])}function cz(e,n){try{(n??localStorage).setItem(T5,e)}catch{}R5(e)}function xz(){if(typeof window>"u")return()=>{};const e=window.matchMedia("(prefers-color-scheme: dark)"),n=()=>R5(j5(),e.matches);return e.addEventListener("change",n),n(),()=>e.removeEventListener("change",n)}const Vs=new Uint8Array(512),bd=new Uint8Array(256);let ws=1;for(let e=0;e<255;e++)Vs[e]=ws,bd[ws]=e,ws<<=1,ws&256&&(ws^=285);for(let e=255;e<512;e++)Vs[e]=Vs[e-255];function O5(e,n){return e===0||n===0?0:Vs[bd[e]+bd[n]]}function uz(e){let n=[1];for(let a=0;a<e;a++){const i=new Array(n.length+1).fill(0);for(let s=0;s<n.length;s++)i[s]^=n[s],i[s+1]^=O5(n[s],Vs[a]);n=i}return n}function dz(e,n){const a=uz(n),i=new Array(n).fill(0);for(const s of e){const c=s^i[0];if(i.shift(),i.push(0),c!==0)for(let x=0;x<n;x++)i[x]^=O5(a[x+1],c)}return i}const gf={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function r8(e){return gf[e].groups.reduce((n,[a,i])=>n+a*i,0)}function a8(e){return e<=9?8:16}function Ss(e,n,a){for(let i=a-1;i>=0;i--)e.push(n>>i&1)}function fz(e){const n=Array.from(new TextEncoder().encode(e));let a=0;for(let b=1;b<=10;b++)if(4+a8(b)+8*n.length<=r8(b)*8){a=b;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${n.length} bytes)`);const i=r8(a)*8,s=[];Ss(s,4,4),Ss(s,n.length,a8(a));for(const b of n)Ss(s,b,8);for(let b=0,A=Math.min(4,i-s.length);b<A;b++)s.push(0);for(;s.length%8!==0;)s.push(0);const c=[236,17];for(let b=0;s.length<i;b++)Ss(s,c[b%2],8);const x=[];for(let b=0;b<s.length;b+=8){let A=0;for(let v=0;v<8;v++)A=A<<1|s[b+v];x.push(A)}const{ec:d,groups:u}=gf[a],f=[];let E=0;for(const[b,A]of u)for(let v=0;v<b;v++){const k=x.slice(E,E+A);E+=A,f.push({data:k,ec:dz(k,d)})}const h=[],y=Math.max(...f.map(b=>b.data.length));for(let b=0;b<y;b++)for(const A of f)b<A.data.length&&h.push(A.data[b]);for(let b=0;b<d;b++)for(const A of f)h.push(A.ec[b]);const C=[];for(const b of h)Ss(C,b,8);return{version:a,bits:C}}function hz(e,n){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),c=(h,y)=>{for(let C=-1;C<=7;C++)for(let b=-1;b<=7;b++){const A=h+C,v=y+b;if(A<0||A>=a||v<0||v>=a)continue;const k=C>=0&&C<=6&&(b===0||b===6)||b>=0&&b<=6&&(C===0||C===6),T=C>=2&&C<=4&&b>=2&&b<=4;i[A][v]=k||T,s[A][v]=!0}};c(0,0),c(0,a-7),c(a-7,0);for(let h=8;h<a-8;h++){const y=h%2===0;s[6][h]||(i[6][h]=y,s[6][h]=!0),s[h][6]||(i[h][6]=y,s[h][6]=!0)}const x=gf[e].align;for(let h=0;h<x.length;h++)for(let y=0;y<x.length;y++){if(h===0&&y===0||h===0&&y===x.length-1||h===x.length-1&&y===0)continue;const b=x[h],A=x[y];for(let v=-2;v<=2;v++)for(let k=-2;k<=2;k++)i[b+v][A+k]=Math.max(Math.abs(v),Math.abs(k))!==1,s[b+v][A+k]=!0}for(let h=0;h<=8;h++)h!==6&&(s[8][h]=!0,s[h][8]=!0);for(let h=0;h<8;h++)s[8][a-1-h]=!0,s[a-1-h][8]=!0;if(s[a-8][8]=!0,e>=7)for(let h=0;h<18;h++){const y=a-11+h%3,C=Math.floor(h/3);s[C][y]=!0,s[y][C]=!0}let d=0,u=!0;for(let h=a-1;h>0;h-=2){h===6&&h--;for(let y=0;y<a;y++){const C=u?a-1-y:y;for(let b=0;b<2;b++){const A=h-b;s[C][A]||(i[C][A]=d<n.length?n[d]===1:!1,d++)}}u=!u}e>=7&&Ez(i,e,a);let f=null,E=Number.POSITIVE_INFINITY;for(let h=0;h<8;h++){const y=i.map(b=>b.slice());for(let b=0;b<a;b++)for(let A=0;A<a;A++)!s[b][A]&&pz(h,b,A)&&(y[b][A]=!y[b][A]);mz(y,h,a);const C=gz(y);C<E&&(E=C,f=y)}return f}function pz(e,n,a){switch(e){case 0:return(n+a)%2===0;case 1:return n%2===0;case 2:return a%3===0;case 3:return(n+a)%3===0;case 4:return(Math.floor(n/2)+Math.floor(a/3))%2===0;case 5:return n*a%2+n*a%3===0;case 6:return(n*a%2+n*a%3)%2===0;default:return((n+a)%2+n*a%3)%2===0}}function mz(e,n,a){const i=0|n;let s=i;for(let d=0;d<10;d++)s=s<<1^(s>>9&1?1335:0);const c=((i<<10|s&1023)^21522)&32767,x=d=>(c>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=x(d);e[7][8]=x(6),e[8][8]=x(7),e[8][7]=x(8);for(let d=9;d<15;d++)e[8][14-d]=x(d);for(let d=0;d<8;d++)e[8][a-1-d]=x(d);for(let d=8;d<15;d++)e[a-15+d][8]=x(d);e[a-8][8]=!0}function Ez(e,n,a){let i=n;for(let c=0;c<12;c++)i=i<<1^(i>>11&1?7973:0);const s=n<<12|i&4095;for(let c=0;c<18;c++){const x=(s>>c&1)===1,d=a-11+c%3,u=Math.floor(c/3);e[u][d]=x,e[d][u]=x}}function gz(e){const n=e.length;let a=0;const i=u=>{let f=u(0),E=1;for(let h=1;h<n;h++)u(h)===f?E++:(E>=5&&(a+=E-2),f=u(h),E=1);E>=5&&(a+=E-2)};for(let u=0;u<n;u++)i(f=>e[u][f]);for(let u=0;u<n;u++)i(f=>e[f][u]);for(let u=0;u<n-1;u++)for(let f=0;f<n-1;f++){const E=e[u][f];E===e[u][f+1]&&E===e[u+1][f]&&E===e[u+1][f+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],c=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],x=(u,f,E)=>{for(let h=0;h<11;h++)if(u(f+h)!==E[h])return!1;return!0};for(let u=0;u<n;u++)for(let f=0;f<=n-11;f++)(x(E=>e[u][E],f,s)||x(E=>e[u][E],f,c))&&(a+=40);for(let u=0;u<n;u++)for(let f=0;f<=n-11;f++)(x(E=>e[E][u],f,s)||x(E=>e[E][u],f,c))&&(a+=40);let d=0;for(let u=0;u<n;u++)for(let f=0;f<n;f++)e[u][f]&&d++;return a+=Math.floor(Math.abs(d/(n*n)*100-50)/5)*10,a}function yz(e){const{version:n,bits:a}=fz(e);return hz(n,a)}function Cz({text:e,size:n=220,className:a}){const i=yz(e),s=i.length,c=4,x=s+c*2;let d="";for(let u=0;u<s;u++)for(let f=0;f<s;f++)i[u][f]&&(d+=`M${f+c} ${u+c}h1v1h-1z`);return m.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${x} ${x}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[m.jsx("title",{children:"QR code"}),m.jsx("rect",{width:x,height:x,fill:"#fff"}),m.jsx("path",{d,fill:"#000"})]})}function bz({version:e,onLogs:n,onClose:a}){const i=Ae(y=>y.token),s=Ae(y=>y.setToken),[c,x]=D.useState(!1),[d,u]=D.useState(!1),f=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.92.1",h=async()=>{try{await navigator.clipboard.writeText(f),x(!0),setTimeout(()=>x(!1),1500)}catch{}};return Al.createPortal(m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),m.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[m.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[m.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),m.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[m.jsx("button",{type:"button",onClick:()=>u(y=>!y),"aria-label":"Disconnect","aria-expanded":d,title:"Disconnect",className:Ce("flex size-8 items-center justify-center rounded-full active:bg-surface-2",d?"bg-del/15 text-del":"text-del/80"),children:m.jsx(EA,{size:17})}),m.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:18})})]})]}),d?m.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[m.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{type:"button",onClick:()=>u(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),m.jsx("button",{type:"button",onClick:()=>s(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80",children:"Disconnect"})]})]}):null,m.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[m.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),m.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:m.jsx(Cz,{text:f,size:216})}),m.jsxs("button",{type:"button",onClick:h,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[c?m.jsx(ca,{size:16}):m.jsx(Od,{size:16}),c?"Copied":"Copy link"]}),m.jsx(Bz,{}),m.jsx(vz,{}),m.jsx(Dz,{}),m.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[m.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",m.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.92.1"]}),E?" · update pending":""]}),m.jsx("button",{type:"button",onClick:n,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}const Az=[["system","System"],["light","Light"],["dark","Dark"]];function Bz(){const[e,n]=D.useState(j5),a=Ae(c=>c.view.showDiffs),i=Ae(c=>c.setView),s=c=>{n(c),cz(c)};return m.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("fieldset",{className:"flex w-full items-center justify-between gap-3 border-0 p-0",children:[m.jsx("legend",{className:"sr-only",children:"Theme"}),m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(bv,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Theme"})]}),m.jsx("div",{className:"flex shrink-0 rounded-lg border border-border bg-surface p-0.5",children:Az.map(([c,x])=>m.jsx("button",{type:"button","aria-pressed":e===c,onClick:()=>s(c),className:Ce("rounded-md px-2 py-1 text-xs transition focus-visible:outline-2 focus-visible:outline-accent",e===c?"bg-accent-soft text-accent":"text-muted active:bg-surface-2"),children:x},c))})]}),m.jsxs("div",{className:"mt-2.5 flex items-center justify-between gap-3 border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(Q8,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Sidebar diffs"})]}),m.jsx("button",{type:"button",role:"switch","aria-checked":a,"aria-label":"Show line changes in workspace rows",onClick:()=>i({showDiffs:!a}),className:Ce("relative h-6 w-11 shrink-0 rounded-full transition-colors",a?"bg-accent":"border border-border bg-surface"),children:m.jsx("span",{className:Ce("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",a?"translate-x-5":"translate-x-0")})})]}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:"Show line additions and deletions in workspace rows."})]})}function vz(){const e=jD(),n=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":n?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return m.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(G8,{size:16,className:Ce("shrink-0",e.enabled?"text-accent":"text-muted")}),m.jsx("span",{children:"Notifications"})]}),m.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||n||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:Ce("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||n||e.busy)&&"opacity-40"),children:m.jsx("span",{className:Ce("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?m.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?m.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const kz=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"8h",seconds:8*3600},{label:"16h",seconds:16*3600}];function Hu(e){if(!e)return"until you turn it off";const n=new Date(e),a=n.toDateString()===new Date().toDateString(),i=n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${n.toLocaleDateString([],{weekday:"short"})} ${i}`}function Dz(){const[e,n]=D.useState(null),[a,i]=D.useState(!1),[s,c]=D.useState(null),[x,d]=D.useState(!1),[u,f]=D.useState("idle"),[E,h]=D.useState(null),y=D.useCallback(async()=>{try{n(await Oe.settings()),c(null)}catch(F){c(F instanceof Error?F.message:String(F))}},[]);D.useEffect(()=>{y()},[y]);const C=async F=>{i(!0),c(null);try{await F(),await y()}catch(j){c(j instanceof Error?j.message:String(j))}finally{i(!1)}},b=async F=>{i(!0),c(null);try{const j=await Oe.restartConductor(F);h(j.ms??0),f("idle"),await y()}catch(j){j instanceof Er&&j.status===409&&f("agents"),c(j instanceof Error?j.message:String(j))}finally{i(!1)}},A=e?.nosleep,v=e?.screenLocked===!0,k=e?.wifi.known??[],T=e?.settings.fallbackSsids[0]??"";return m.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(n2,{size:16,className:Ce("shrink-0",A?.armed?"text-accent":"text-muted")}),m.jsx("span",{children:"Keep the Mac awake"})]}),A?.armed?m.jsx("button",{type:"button",disabled:a,onClick:()=>{C(async()=>{const F=await Oe.disarmNoSleep();d(F.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):m.jsx("div",{className:"flex shrink-0 gap-1",children:kz.map(F=>m.jsx("button",{type:"button",disabled:a||!A?.available,onClick:()=>{C(()=>(d(!1),Oe.armNoSleep(F.seconds)))},className:Ce("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",F.className),children:F.label},F.seconds))})]}),m.jsx("p",{className:"text-xs text-muted",children:e?A?.available?A.armed?A.preventsScreenLock?v?`Awake ${Hu(A.until)}, lid closed. It blocks the idle screen lock from starting; it can’t lift one already up.`:`Awake ${Hu(A.until)}, lid closed. The idle screen lock is off; anyone at the Mac can use it.`:`Awake ${Hu(A.until)}, lid closed. Sends park if macOS locks.`:x?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops system sleep. Screen-lock behavior follows the Mac CLI configuration.":"Run `conductor-remote nosleep setup` on the Mac to install or refresh the helper.":"Checking…"}),v?m.jsxs("p",{className:"text-xs text-del",children:["The Mac is locked right now, so writes park until it’s unlocked. ",m.jsx(xa,{})]}):null,m.jsxs("div",{className:"border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(r2,{size:16,className:Ce("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),m.jsx("span",{children:"Fallback network"})]}),T?m.jsx("button",{type:"button",disabled:a,onClick:()=>{C(()=>Oe.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),T?m.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Auto-joins ",m.jsx("span",{className:"text-fg",children:T})," when the primary network drops."]}):m.jsx(Fz,{known:k,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:F=>{C(()=>Oe.patchSettings({fallbackSsids:[F],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?m.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),m.jsxs("div",{className:"border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(_B,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Restart Conductor"})]}),u==="idle"?m.jsx("button",{type:"button",disabled:a,onClick:()=>{h(null),c(null),f("confirm")},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Restart"}):null]}),E!==null?m.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Quit and reopened in ",(E/1e3).toFixed(1),"s. Send a prompt to check an agent answers."]}):null,u!=="idle"?m.jsxs("div",{className:"fade-in mt-2 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[m.jsx("p",{className:"text-sm font-medium",children:u==="agents"?"Agents are still working":"Restart Conductor?"}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:u==="agents"?"Restarting ends their turns. Everything they have already written stays in the chat.":"The app closes and opens again, which takes about ten seconds. Anything mid-turn stops."}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{type:"button",onClick:()=>{f("idle"),c(null)},className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),m.jsx("button",{type:"button",disabled:a,onClick:()=>{b(u==="agents")},className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80 disabled:opacity-50",children:a?"Restarting…":u==="agents"?"Stop agents and restart":"Restart"})]})]}):null]}),s?m.jsxs("p",{className:"text-xs text-del",children:[s," ",Bi(s)?m.jsx(xa,{}):null]}):null]})}function Fz({known:e,hotspots:n,busy:a,onPick:i}){const[s,c]=D.useState("");if(e.length===0)return m.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const x=new Set(n),d=s.trim().toLowerCase(),u=e.filter(h=>!d||h.toLowerCase().includes(d)),f=u.find(h=>x.has(h)),E=(f?[f,...u.filter(h=>h!==f)]:u).slice(0,6);return m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),m.jsx("input",{type:"search",value:s,disabled:a,onChange:h=>c(h.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),m.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(h=>m.jsxs("button",{type:"button",disabled:a,onClick:()=>i(h),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[m.jsx("span",{className:"truncate",children:h}),x.has(h)?m.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},h)),E.length===0?m.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!d&&e.length>E.length?m.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const wz={info:"text-muted",warn:"text-working",error:"text-del"};function qa(e){return String(e).padStart(2,"0")}function Sz(e){if(e==null)return"·";const n=new Date(e);return`${qa(n.getHours())}:${qa(n.getMinutes())}:${qa(n.getSeconds())}`}function i8(e){if(e==null)return" ";const n=new Date(e);return`${n.getFullYear()}-${qa(n.getMonth()+1)}-${qa(n.getDate())} ${qa(n.getHours())}:${qa(n.getMinutes())}:${qa(n.getSeconds())}`}function _z(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function l8(e){const n=Math.max(0,Math.round(e/1e3));if(n<90)return`${n}s ago`;const a=Math.round(n/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function Nz({onClose:e}){const[n,a]=D.useState(null),[i,s]=D.useState(!1),[c,x]=D.useState(null),{data:d,isLoading:u,isError:f,error:E}=wD(n,!0),h=D.useRef(null),y=D.useRef(!0),C=D.useMemo(()=>(d?.entries??[]).filter(v=>!i||v.level!=="info"),[d,i]);D.useEffect(()=>{const v=h.current;v&&y.current&&C.length&&(v.scrollTop=v.scrollHeight)},[C]);const b=async()=>{const v=`# conductor-remote ${n??"live"} log · app v1.92.1 · copied ${i8(Date.now())}`,k=C.map(T=>`${i8(T.t)} ${T.level==="info"?"":T.level.toUpperCase()} ${T.text}`);try{await navigator.clipboard.writeText([v,...k].join(`
|
|
47
|
+
`)),v(ht.sessionId),await k.invalidateQueries({queryKey:["sessions",J.id]}),s(ht.sessionId)};return m.jsx(jF,{value:N,children:m.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[m.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[m.jsx(q0,{title:zr(J),subtitle:$t,menu:!0,right:m.jsxs(m.Fragment,{children:[m.jsx(jO,{workspaceId:J.id}),m.jsx(qO,{workspace:J,agentsRunning:S.filter(Be=>Be.status==="working").length}),m.jsx("button",{type:"button",onClick:()=>x(Be=>!Be),"aria-label":"Toggle diff panel","aria-pressed":c,className:Ce("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",c&&"bg-surface-2 text-text"),children:m.jsx(Q8,{size:19})})]})}),S.length>0||J.state==="ready"?m.jsx(VO,{sessions:S,activeId:_,readMarks:$,promptStates:xt,onSelect:s,onNewChat:Gt,onClose:Be=>{ot(Be)},creating:d,closingId:f,online:Y}):null,h?m.jsx(QO,{title:S.find(Be=>Be.id===h)?.title??"Untitled",busy:f===h,onCancel:()=>y(null),onConfirm:()=>{ot(h,!0)}}):C?m.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-del/30 bg-del/5 px-3 py-2 text-xs text-del",children:[m.jsx("span",{className:"min-w-0 flex-1",children:C}),Bi(C)?m.jsx(xa,{}):null,m.jsx("button",{type:"button",onClick:()=>b(null),"aria-label":"Dismiss close error",className:"p-1",children:m.jsx(Nn,{size:14})})]}):null,m.jsx(w5,{sessionId:_,workspaceId:J.id,working:ve,workingSince:ke,turnStartedAt:re?.turn_started_at,waiting:re?.background_tasks,queued:J.parked_prompts?.find(Be=>Be.sessionId===_)??J.pending_prompt,onFork:Pt}),m.jsx(MO,{session:re,sessionId:_,workspaceId:J.id,working:ve,actuator:X,onFork:Be=>Pt({thinking:!0,tools:!1},Be),focusDraft:_===A,onDraftFocused:()=>v(null)},J.id)]}),c?m.jsx(KO,{workspaceId:J.id,sessionId:_,onClose:()=>x(!1)}):null]})})}function VO({sessions:e,activeId:n,readMarks:a,promptStates:i,onSelect:s,onNewChat:c,onClose:x,creating:d,closingId:u,online:f}){const E=D.useRef(null);return D.useLayoutEffect(()=>{n&&E.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[n]),m.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[m.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(h=>{const y=i[h.id];return m.jsxs("div",{ref:h.id===n?E:void 0,className:Ce("flex shrink-0 items-center rounded-full text-sm font-medium text-muted transition",h.id===n&&"bg-surface-2 text-text"),children:[m.jsxs("button",{type:"button",onClick:()=>s(h.id),className:"flex min-w-0 items-center gap-1.5 py-1.5 pl-3.5 pr-1",children:[y?m.jsx(Z2,{state:y,className:"size-3"}):h.status==="working"?m.jsx("span",{className:"dot-spinner size-3"}):h.background_tasks?.length?m.jsx(X8,{size:11,className:"shrink-0 text-faint","aria-label":"Waiting for a background task"}):null,m.jsx("span",{className:"max-w-36 truncate",children:h.title||"Untitled"}),m.jsx(YO,{used:h.context_used_percent}),Gk(h,a)?m.jsx("span",{className:"dot size-1.5 bg-accent"}):null]}),m.jsx("button",{type:"button",onClick:()=>x(h.id),disabled:!f||u!==null,"aria-label":`Close ${h.title||"Untitled"} chat`,className:"mr-1 flex size-6 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-bg/70 active:text-text disabled:opacity-40",children:u===h.id?m.jsx(rr,{size:12,className:"animate-spin"}):m.jsx(Nn,{size:12})})]},h.id)})}),m.jsx("button",{type:"button",onClick:c,disabled:d,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:m.jsx(W8,{size:18})})]})}function QO({title:e,busy:n,onCancel:a,onConfirm:i}){return m.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-working/30 bg-working/5 px-3 py-2 text-xs",children:[m.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[m.jsx("span",{className:"font-semibold",children:e})," is still working. Close the tab anyway?"]}),m.jsx("button",{type:"button",onClick:a,disabled:n,className:"rounded-lg px-2 py-1 text-muted active:bg-surface-2",children:"Cancel"}),m.jsxs("button",{type:"button",onClick:i,disabled:n,className:"flex items-center gap-1 rounded-lg bg-del px-2 py-1 font-semibold text-black active:scale-95 disabled:opacity-50",children:[n?m.jsx(rr,{size:12,className:"animate-spin"}):null,"Close anyway"]})]})}function YO({used:e}){return typeof e!="number"||e<=0?null:m.jsxs("span",{className:Ce("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function KO({workspaceId:e,sessionId:n,onClose:a}){return m.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[m.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[m.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),m.jsx("button",{type:"button",onClick:a,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:20})})]}),m.jsx(IO,{workspaceId:e,sessionId:n})]})}var z0={exports:{}},XO=z0.exports,e8;function ZO(){return e8||(e8=1,(function(e,n){(function(i,s){e.exports=s()})(typeof self<"u"?self:XO,function(){return(function(a){var i={};function s(c){if(i[c])return i[c].exports;var x=i[c]={i:c,l:!1,exports:{}};return a[c].call(x.exports,x,x.exports,s),x.l=!0,x.exports}return s.m=a,s.c=i,s.d=function(c,x,d){s.o(c,x)||Object.defineProperty(c,x,{configurable:!1,enumerable:!0,get:d})},s.n=function(c){var x=c&&c.__esModule?function(){return c.default}:function(){return c};return s.d(x,"a",x),x},s.o=function(c,x){return Object.prototype.hasOwnProperty.call(c,x)},s.p="",s(s.s=3)})([(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=(function(){function x(d,u){this.width=u,this.height=d.length/u,this.data=d}return x.createEmpty=function(d,u){return new x(new Uint8ClampedArray(d*u),d)},x.prototype.get=function(d,u){return d<0||d>=this.width||u<0||u>=this.height?!1:!!this.data[u*this.width+d]},x.prototype.set=function(d,u,f){this.data[u*this.width+d]=f?1:0},x.prototype.setRegion=function(d,u,f,E,h){for(var y=u;y<u+E;y++)for(var C=d;C<d+f;C++)this.set(C,y,!!h)},x})();i.BitMatrix=c}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(2);function x(u,f){return u^f}i.addOrSubtractGF=x;var d=(function(){function u(f,E,h){this.primitive=f,this.size=E,this.generatorBase=h,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new c.default(this,Uint8ClampedArray.from([0])),this.one=new c.default(this,Uint8ClampedArray.from([1]))}return u.prototype.multiply=function(f,E){return f===0||E===0?0:this.expTable[(this.logTable[f]+this.logTable[E])%(this.size-1)]},u.prototype.inverse=function(f){if(f===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[f]-1]},u.prototype.buildMonomial=function(f,E){if(f<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var h=new Uint8ClampedArray(f+1);return h[0]=E,new c.default(this,h)},u.prototype.log=function(f){if(f===0)throw new Error("Can't take log(0)");return this.logTable[f]},u.prototype.exp=function(f){return this.expTable[f]},u})();i.default=d}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(1),x=(function(){function d(u,f){if(f.length===0)throw new Error("No coefficients.");this.field=u;var E=f.length;if(E>1&&f[0]===0){for(var h=1;h<E&&f[h]===0;)h++;if(h===E)this.coefficients=u.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-h);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=f[h+y]}}else this.coefficients=f}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(u){return this.coefficients[this.coefficients.length-1-u]},d.prototype.addOrSubtract=function(u){var f;if(this.isZero())return u;if(u.isZero())return this;var E=this.coefficients,h=u.coefficients;E.length>h.length&&(f=[h,E],E=f[0],h=f[1]);for(var y=new Uint8ClampedArray(h.length),C=h.length-E.length,b=0;b<C;b++)y[b]=h[b];for(var b=C;b<h.length;b++)y[b]=c.addOrSubtractGF(E[b-C],h[b]);return new d(this.field,y)},d.prototype.multiply=function(u){if(u===0)return this.field.zero;if(u===1)return this;for(var f=this.coefficients.length,E=new Uint8ClampedArray(f),h=0;h<f;h++)E[h]=this.field.multiply(this.coefficients[h],u);return new d(this.field,E)},d.prototype.multiplyPoly=function(u){if(this.isZero()||u.isZero())return this.field.zero;for(var f=this.coefficients,E=f.length,h=u.coefficients,y=h.length,C=new Uint8ClampedArray(E+y-1),b=0;b<E;b++)for(var A=f[b],v=0;v<y;v++)C[b+v]=c.addOrSubtractGF(C[b+v],this.field.multiply(A,h[v]));return new d(this.field,C)},d.prototype.multiplyByMonomial=function(u,f){if(u<0)throw new Error("Invalid degree less than 0");if(f===0)return this.field.zero;for(var E=this.coefficients.length,h=new Uint8ClampedArray(E+u),y=0;y<E;y++)h[y]=this.field.multiply(this.coefficients[y],f);return new d(this.field,h)},d.prototype.evaluateAt=function(u){var f=0;if(u===0)return this.getCoefficient(0);var E=this.coefficients.length;if(u===1)return this.coefficients.forEach(function(y){f=c.addOrSubtractGF(f,y)}),f;f=this.coefficients[0];for(var h=1;h<E;h++)f=c.addOrSubtractGF(this.field.multiply(u,f),this.coefficients[h]);return f},d})();i.default=x}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(4),x=s(5),d=s(11),u=s(12);function f(y){var C=u.locate(y);if(!C)return null;for(var b=0,A=C;b<A.length;b++){var v=A[b],k=d.extract(y,v),T=x.decode(k.matrix);if(T)return{binaryData:T.bytes,data:T.text,chunks:T.chunks,version:T.version,location:{topRightCorner:k.mappingFunction(v.dimension,0),topLeftCorner:k.mappingFunction(0,0),bottomRightCorner:k.mappingFunction(v.dimension,v.dimension),bottomLeftCorner:k.mappingFunction(0,v.dimension),topRightFinderPattern:v.topRight,topLeftFinderPattern:v.topLeft,bottomLeftFinderPattern:v.bottomLeft,bottomRightAlignmentPattern:v.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function h(y,C,b,A){A===void 0&&(A={});var v=E;Object.keys(v||{}).forEach(function(R){v[R]=A[R]||v[R]});var k=v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst",T=v.inversionAttempts==="onlyInvert"||v.inversionAttempts==="invertFirst",F=c.binarize(y,C,b,k),j=F.binarized,O=F.inverted,M=f(T?O:j);return!M&&(v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst")&&(M=f(T?j:O)),M}h.default=h,i.default=h}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0),x=8,d=24;function u(h,y,C){return h<y?y:h>C?C:h}var f=(function(){function h(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return h.prototype.get=function(y,C){return this.data[C*this.width+y]},h.prototype.set=function(y,C,b){this.data[C*this.width+y]=b},h})();function E(h,y,C,b){if(h.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var A=new f(y,C),v=0;v<y;v++)for(var k=0;k<C;k++){var T=h[(k*y+v)*4+0],F=h[(k*y+v)*4+1],j=h[(k*y+v)*4+2];A.set(v,k,.2126*T+.7152*F+.0722*j)}for(var O=Math.ceil(y/x),M=Math.ceil(C/x),R=new f(O,M),z=0;z<M;z++)for(var $=0;$<O;$++){for(var L=0,V=1/0,Y=0,k=0;k<x;k++)for(var v=0;v<x;v++){var J=A.get($*x+v,z*x+k);L+=J,V=Math.min(V,J),Y=Math.max(Y,J)}var X=L/Math.pow(x,2);if(Y-V<=d&&(X=V/2,z>0&&$>0)){var P=(R.get($,z-1)+2*R.get($-1,z)+R.get($-1,z-1))/4;V<P&&(X=P)}R.set($,z,X)}var U=c.BitMatrix.createEmpty(y,C),Z=null;b&&(Z=c.BitMatrix.createEmpty(y,C));for(var z=0;z<M;z++)for(var $=0;$<O;$++){for(var ie=u($,2,O-3),he=u(z,2,M-3),L=0,N=-2;N<=2;N++)for(var S=-2;S<=2;S++)L+=R.get(ie+N,he+S);for(var Q=L/25,N=0;N<x;N++)for(var S=0;S<x;S++){var v=$*x+N,k=z*x+S,_=A.get(v,k);U.set(v,k,_<=Q),b&&Z.set(v,k,!(_<=Q))}}return b?{binarized:U,inverted:Z}:{binarized:U}}i.binarize=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0),x=s(6),d=s(9),u=s(10);function f(j,O){for(var M=j^O,R=0;M;)R++,M&=M-1;return R}function E(j,O){return O<<1|j}var h=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(j){return(j.y+j.x)%2===0},function(j){return j.y%2===0},function(j){return j.x%3===0},function(j){return(j.y+j.x)%3===0},function(j){return(Math.floor(j.y/2)+Math.floor(j.x/3))%2===0},function(j){return j.x*j.y%2+j.x*j.y%3===0},function(j){return(j.y*j.x%2+j.y*j.x%3)%2===0},function(j){return((j.y+j.x)%2+j.y*j.x%3)%2===0}];function C(j){var O=17+4*j.versionNumber,M=c.BitMatrix.createEmpty(O,O);M.setRegion(0,0,9,9,!0),M.setRegion(O-8,0,8,9,!0),M.setRegion(0,O-8,9,8,!0);for(var R=0,z=j.alignmentPatternCenters;R<z.length;R++)for(var $=z[R],L=0,V=j.alignmentPatternCenters;L<V.length;L++){var Y=V[L];$===6&&Y===6||$===6&&Y===O-7||$===O-7&&Y===6||M.setRegion($-2,Y-2,5,5,!0)}return M.setRegion(6,9,1,O-17,!0),M.setRegion(9,6,O-17,1,!0),j.versionNumber>6&&(M.setRegion(O-11,0,3,6,!0),M.setRegion(0,O-11,6,3,!0)),M}function b(j,O,M){for(var R=y[M.dataMask],z=j.height,$=C(O),L=[],V=0,Y=0,J=!0,X=z-1;X>0;X-=2){X===6&&X--;for(var P=0;P<z;P++)for(var U=J?z-1-P:P,Z=0;Z<2;Z++){var ie=X-Z;if(!$.get(ie,U)){Y++;var he=j.get(ie,U);R({y:U,x:ie})&&(he=!he),V=E(he,V),Y===8&&(L.push(V),Y=0,V=0)}}J=!J}return L}function A(j){var O=j.height,M=Math.floor((O-17)/4);if(M<=6)return u.VERSIONS[M-1];for(var R=0,z=5;z>=0;z--)for(var $=O-9;$>=O-11;$--)R=E(j.get($,z),R);for(var L=0,$=5;$>=0;$--)for(var z=O-9;z>=O-11;z--)L=E(j.get($,z),L);for(var V=1/0,Y,J=0,X=u.VERSIONS;J<X.length;J++){var P=X[J];if(P.infoBits===R||P.infoBits===L)return P;var U=f(R,P.infoBits);U<V&&(Y=P,V=U),U=f(L,P.infoBits),U<V&&(Y=P,V=U)}if(V<=3)return Y}function v(j){for(var O=0,M=0;M<=8;M++)M!==6&&(O=E(j.get(M,8),O));for(var R=7;R>=0;R--)R!==6&&(O=E(j.get(8,R),O));for(var z=j.height,$=0,R=z-1;R>=z-7;R--)$=E(j.get(8,R),$);for(var M=z-8;M<z;M++)$=E(j.get(M,8),$);for(var L=1/0,V=null,Y=0,J=h;Y<J.length;Y++){var X=J[Y],P=X.bits,U=X.formatInfo;if(P===O||P===$)return U;var Z=f(O,P);Z<L&&(V=U,L=Z),O!==$&&(Z=f($,P),Z<L&&(V=U,L=Z))}return L<=3?V:null}function k(j,O,M){var R=O.errorCorrectionLevels[M],z=[],$=0;if(R.ecBlocks.forEach(function(he){for(var N=0;N<he.numBlocks;N++)z.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),$+=he.dataCodewordsPerBlock+R.ecCodewordsPerBlock}),j.length<$)return null;j=j.slice(0,$);for(var L=R.ecBlocks[0].dataCodewordsPerBlock,V=0;V<L;V++)for(var Y=0,J=z;Y<J.length;Y++){var X=J[Y];X.codewords.push(j.shift())}if(R.ecBlocks.length>1)for(var P=R.ecBlocks[0].numBlocks,U=R.ecBlocks[1].numBlocks,V=0;V<U;V++)z[P+V].codewords.push(j.shift());for(;j.length>0;)for(var Z=0,ie=z;Z<ie.length;Z++){var X=ie[Z];X.codewords.push(j.shift())}return z}function T(j){var O=A(j);if(!O)return null;var M=v(j);if(!M)return null;var R=b(j,O,M),z=k(R,O,M.errorCorrectionLevel);if(!z)return null;for(var $=z.reduce(function(Z,ie){return Z+ie.numDataCodewords},0),L=new Uint8ClampedArray($),V=0,Y=0,J=z;Y<J.length;Y++){var X=J[Y],P=d.decode(X.codewords,X.codewords.length-X.numDataCodewords);if(!P)return null;for(var U=0;U<X.numDataCodewords;U++)L[V++]=P[U]}try{return x.decode(L,O.versionNumber)}catch{return null}}function F(j){if(j==null)return null;var O=T(j);if(O)return O;for(var M=0;M<j.width;M++)for(var R=M+1;R<j.height;R++)j.get(M,R)!==j.get(R,M)&&(j.set(M,R,!j.get(M,R)),j.set(R,M,!j.get(R,M)));return T(j)}i.decode=F}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(7),x=s(8),d;(function(A){A.Numeric="numeric",A.Alphanumeric="alphanumeric",A.Byte="byte",A.Kanji="kanji",A.ECI="eci"})(d=i.Mode||(i.Mode={}));var u;(function(A){A[A.Terminator=0]="Terminator",A[A.Numeric=1]="Numeric",A[A.Alphanumeric=2]="Alphanumeric",A[A.Byte=4]="Byte",A[A.Kanji=8]="Kanji",A[A.ECI=7]="ECI"})(u||(u={}));function f(A,v){for(var k=[],T="",F=[10,12,14][v],j=A.readBits(F);j>=3;){var O=A.readBits(10);if(O>=1e3)throw new Error("Invalid numeric value above 999");var M=Math.floor(O/100),R=Math.floor(O/10)%10,z=O%10;k.push(48+M,48+R,48+z),T+=M.toString()+R.toString()+z.toString(),j-=3}if(j===2){var O=A.readBits(7);if(O>=100)throw new Error("Invalid numeric value above 99");var M=Math.floor(O/10),R=O%10;k.push(48+M,48+R),T+=M.toString()+R.toString()}else if(j===1){var O=A.readBits(4);if(O>=10)throw new Error("Invalid numeric value above 9");k.push(48+O),T+=O.toString()}return{bytes:k,text:T}}var E=["0","1","2","3","4","5","6","7","8","9","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"," ","$","%","*","+","-",".","/",":"];function h(A,v){for(var k=[],T="",F=[9,11,13][v],j=A.readBits(F);j>=2;){var O=A.readBits(11),M=Math.floor(O/45),R=O%45;k.push(E[M].charCodeAt(0),E[R].charCodeAt(0)),T+=E[M]+E[R],j-=2}if(j===1){var M=A.readBits(6);k.push(E[M].charCodeAt(0)),T+=E[M]}return{bytes:k,text:T}}function y(A,v){for(var k=[],T="",F=[8,16,16][v],j=A.readBits(F),O=0;O<j;O++){var M=A.readBits(8);k.push(M)}try{T+=decodeURIComponent(k.map(function(R){return"%"+("0"+R.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:k,text:T}}function C(A,v){for(var k=[],T="",F=[8,10,12][v],j=A.readBits(F),O=0;O<j;O++){var M=A.readBits(13),R=Math.floor(M/192)<<8|M%192;R<7936?R+=33088:R+=49472,k.push(R>>8,R&255),T+=String.fromCharCode(x.shiftJISTable[R])}return{bytes:k,text:T}}function b(A,v){for(var k,T,F,j,O=new c.BitStream(A),M=v<=9?0:v<=26?1:2,R={text:"",bytes:[],chunks:[],version:v};O.available()>=4;){var z=O.readBits(4);if(z===u.Terminator)return R;if(z===u.ECI)O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(7)}):O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(14)}):O.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:O.readBits(21)}):R.chunks.push({type:d.ECI,assignmentNumber:-1});else if(z===u.Numeric){var $=f(O,M);R.text+=$.text,(k=R.bytes).push.apply(k,$.bytes),R.chunks.push({type:d.Numeric,text:$.text})}else if(z===u.Alphanumeric){var L=h(O,M);R.text+=L.text,(T=R.bytes).push.apply(T,L.bytes),R.chunks.push({type:d.Alphanumeric,text:L.text})}else if(z===u.Byte){var V=y(O,M);R.text+=V.text,(F=R.bytes).push.apply(F,V.bytes),R.chunks.push({type:d.Byte,bytes:V.bytes,text:V.text})}else if(z===u.Kanji){var Y=C(O,M);R.text+=Y.text,(j=R.bytes).push.apply(j,Y.bytes),R.chunks.push({type:d.Kanji,bytes:Y.bytes,text:Y.text})}}if(O.available()===0||O.readBits(O.available())===0)return R}i.decode=b}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=(function(){function x(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return x.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var u=0;if(this.bitOffset>0){var f=8-this.bitOffset,E=d<f?d:f,h=f-E,y=255>>8-E<<h;u=(this.bytes[this.byteOffset]&y)>>h,d-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)u=u<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var h=8-d,y=255>>h<<h;u=u<<d|(this.bytes[this.byteOffset]&y)>>h,this.bitOffset+=d}}return u},x.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},x})();i.BitStream=c}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(1),x=s(2);function d(h,y,C,b){var A;y.degree()<C.degree()&&(A=[C,y],y=A[0],C=A[1]);for(var v=y,k=C,T=h.zero,F=h.one;k.degree()>=b/2;){var j=v,O=T;if(v=k,T=F,v.isZero())return null;k=j;for(var M=h.zero,R=v.getCoefficient(v.degree()),z=h.inverse(R);k.degree()>=v.degree()&&!k.isZero();){var $=k.degree()-v.degree(),L=h.multiply(k.getCoefficient(k.degree()),z);M=M.addOrSubtract(h.buildMonomial($,L)),k=k.addOrSubtract(v.multiplyByMonomial($,L))}if(F=M.multiplyPoly(T).addOrSubtract(O),k.degree()>=v.degree())return null}var V=F.getCoefficient(0);if(V===0)return null;var Y=h.inverse(V);return[F.multiply(Y),k.multiply(Y)]}function u(h,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var b=new Array(C),A=0,v=1;v<h.size&&A<C;v++)y.evaluateAt(v)===0&&(b[A]=h.inverse(v),A++);return A!==C?null:b}function f(h,y,C){for(var b=C.length,A=new Array(b),v=0;v<b;v++){for(var k=h.inverse(C[v]),T=1,F=0;F<b;F++)v!==F&&(T=h.multiply(T,c.addOrSubtractGF(1,h.multiply(C[F],k))));A[v]=h.multiply(y.evaluateAt(k),h.inverse(T)),h.generatorBase!==0&&(A[v]=h.multiply(A[v],k))}return A}function E(h,y){var C=new Uint8ClampedArray(h.length);C.set(h);for(var b=new c.default(285,256,0),A=new x.default(b,C),v=new Uint8ClampedArray(y),k=!1,T=0;T<y;T++){var F=A.evaluateAt(b.exp(T+b.generatorBase));v[v.length-1-T]=F,F!==0&&(k=!0)}if(!k)return C;var j=new x.default(b,v),O=d(b,b.buildMonomial(y,1),j,y);if(O===null)return null;var M=u(b,O[0]);if(M==null)return null;for(var R=f(b,O[1],M),z=0;z<M.length;z++){var $=C.length-1-b.log(M[z]);if($<0)return null;C[$]=c.addOrSubtractGF(C[$],R[z])}return C}i.decode=E}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=s(0);function x(E,h,y,C){var b=E.x-h.x+y.x-C.x,A=E.y-h.y+y.y-C.y;if(b===0&&A===0)return{a11:h.x-E.x,a12:h.y-E.y,a13:0,a21:y.x-h.x,a22:y.y-h.y,a23:0,a31:E.x,a32:E.y,a33:1};var v=h.x-y.x,k=C.x-y.x,T=h.y-y.y,F=C.y-y.y,j=v*F-k*T,O=(b*F-k*A)/j,M=(v*A-b*T)/j;return{a11:h.x-E.x+O*h.x,a12:h.y-E.y+O*h.y,a13:O,a21:C.x-E.x+M*C.x,a22:C.y-E.y+M*C.y,a23:M,a31:E.x,a32:E.y,a33:1}}function d(E,h,y,C){var b=x(E,h,y,C);return{a11:b.a22*b.a33-b.a23*b.a32,a12:b.a13*b.a32-b.a12*b.a33,a13:b.a12*b.a23-b.a13*b.a22,a21:b.a23*b.a31-b.a21*b.a33,a22:b.a11*b.a33-b.a13*b.a31,a23:b.a13*b.a21-b.a11*b.a23,a31:b.a21*b.a32-b.a22*b.a31,a32:b.a12*b.a31-b.a11*b.a32,a33:b.a11*b.a22-b.a12*b.a21}}function u(E,h){return{a11:E.a11*h.a11+E.a21*h.a12+E.a31*h.a13,a12:E.a12*h.a11+E.a22*h.a12+E.a32*h.a13,a13:E.a13*h.a11+E.a23*h.a12+E.a33*h.a13,a21:E.a11*h.a21+E.a21*h.a22+E.a31*h.a23,a22:E.a12*h.a21+E.a22*h.a22+E.a32*h.a23,a23:E.a13*h.a21+E.a23*h.a22+E.a33*h.a23,a31:E.a11*h.a31+E.a21*h.a32+E.a31*h.a33,a32:E.a12*h.a31+E.a22*h.a32+E.a32*h.a33,a33:E.a13*h.a31+E.a23*h.a32+E.a33*h.a33}}function f(E,h){for(var y=d({x:3.5,y:3.5},{x:h.dimension-3.5,y:3.5},{x:h.dimension-6.5,y:h.dimension-6.5},{x:3.5,y:h.dimension-3.5}),C=x(h.topLeft,h.topRight,h.alignmentPattern,h.bottomLeft),b=u(C,y),A=c.BitMatrix.createEmpty(h.dimension,h.dimension),v=function(M,R){var z=b.a13*M+b.a23*R+b.a33;return{x:(b.a11*M+b.a21*R+b.a31)/z,y:(b.a12*M+b.a22*R+b.a32)/z}},k=0;k<h.dimension;k++)for(var T=0;T<h.dimension;T++){var F=T+.5,j=k+.5,O=v(F,j);A.set(T,k,E.get(Math.floor(O.x),Math.floor(O.y)))}return{matrix:A,mappingFunction:v}}i.extract=f}),(function(a,i,s){Object.defineProperty(i,"__esModule",{value:!0});var c=4,x=.5,d=1.5,u=function(F,j){return Math.sqrt(Math.pow(j.x-F.x,2)+Math.pow(j.y-F.y,2))};function f(F){return F.reduce(function(j,O){return j+O})}function E(F,j,O){var M,R,z,$,L=u(F,j),V=u(j,O),Y=u(F,O),J,X,P;return V>=L&&V>=Y?(M=[j,F,O],J=M[0],X=M[1],P=M[2]):Y>=V&&Y>=L?(R=[F,j,O],J=R[0],X=R[1],P=R[2]):(z=[F,O,j],J=z[0],X=z[1],P=z[2]),(P.x-X.x)*(J.y-X.y)-(P.y-X.y)*(J.x-X.x)<0&&($=[P,J],J=$[0],P=$[1]),{bottomLeft:J,topLeft:X,topRight:P}}function h(F,j,O,M){var R=(f(C(F,O,M,5))/7+f(C(F,j,M,5))/7+f(C(O,F,M,5))/7+f(C(j,F,M,5))/7)/4;if(R<1)throw new Error("Invalid module size");var z=Math.round(u(F,j)/R),$=Math.round(u(F,O)/R),L=Math.floor((z+$)/2)+7;switch(L%4){case 0:L++;break;case 2:L--;break}return{dimension:L,moduleSize:R}}function y(F,j,O,M){var R=[{x:Math.floor(F.x),y:Math.floor(F.y)}],z=Math.abs(j.y-F.y)>Math.abs(j.x-F.x),$,L,V,Y;z?($=Math.floor(F.y),L=Math.floor(F.x),V=Math.floor(j.y),Y=Math.floor(j.x)):($=Math.floor(F.x),L=Math.floor(F.y),V=Math.floor(j.x),Y=Math.floor(j.y));for(var J=Math.abs(V-$),X=Math.abs(Y-L),P=Math.floor(-J/2),U=$<V?1:-1,Z=L<Y?1:-1,ie=!0,he=$,N=L;he!==V+U;he+=U){var S=z?N:he,Q=z?he:N;if(O.get(S,Q)!==ie&&(ie=!ie,R.push({x:S,y:Q}),R.length===M+1))break;if(P+=X,P>0){if(N===Y)break;N+=Z,P-=J}}for(var _=[],re=0;re<M;re++)R[re]&&R[re+1]?_.push(u(R[re],R[re+1])):_.push(0);return _}function C(F,j,O,M){var R,z=j.y-F.y,$=j.x-F.x,L=y(F,j,O,Math.ceil(M/2)),V=y(F,{x:F.x-$,y:F.y-z},O,Math.ceil(M/2)),Y=L.shift()+V.shift()-1;return(R=V.concat(Y)).concat.apply(R,L)}function b(F,j){var O=f(F)/f(j),M=0;return j.forEach(function(R,z){M+=Math.pow(F[z]-R*O,2)}),{averageSize:O,error:M}}function A(F,j,O){try{var M=C(F,{x:-1,y:F.y},O,j.length),R=C(F,{x:F.x,y:-1},O,j.length),z={x:Math.max(0,F.x-F.y)-1,y:Math.max(0,F.y-F.x)-1},$=C(F,z,O,j.length),L={x:Math.min(O.width,F.x+F.y)+1,y:Math.min(O.height,F.y+F.x)+1},V=C(F,L,O,j.length),Y=b(M,j),J=b(R,j),X=b($,j),P=b(V,j),U=Math.sqrt(Y.error*Y.error+J.error*J.error+X.error*X.error+P.error*P.error),Z=(Y.averageSize+J.averageSize+X.averageSize+P.averageSize)/4,ie=(Math.pow(Y.averageSize-Z,2)+Math.pow(J.averageSize-Z,2)+Math.pow(X.averageSize-Z,2)+Math.pow(P.averageSize-Z,2))/Z;return U+ie}catch{return 1/0}}function v(F,j){for(var O=Math.round(j.x);F.get(O,Math.round(j.y));)O--;for(var M=Math.round(j.x);F.get(M,Math.round(j.y));)M++;for(var R=(O+M)/2,z=Math.round(j.y);F.get(Math.round(R),z);)z--;for(var $=Math.round(j.y);F.get(Math.round(R),$);)$++;var L=(z+$)/2;return{x:R,y:L}}function k(F){for(var j=[],O=[],M=[],R=[],z=function(S){for(var Q=0,_=!1,re=[0,0,0,0,0],Ee=function(ve){var Ge=F.get(ve,S);if(Ge===_)Q++;else{re=[re[1],re[2],re[3],re[4],Q],Q=1,_=Ge;var ke=f(re)/7,ft=Math.abs(re[0]-ke)<ke&&Math.abs(re[1]-ke)<ke&&Math.abs(re[2]-3*ke)<3*ke&&Math.abs(re[3]-ke)<ke&&Math.abs(re[4]-ke)<ke&&!Ge,xt=f(re.slice(-3))/3,$t=Math.abs(re[2]-xt)<xt&&Math.abs(re[3]-xt)<xt&&Math.abs(re[4]-xt)<xt&&Ge;if(ft){var Gt=ve-re[3]-re[4],ot=Gt-re[2],Pt={startX:ot,endX:Gt,y:S},Be=O.filter(function(Ve){return ot>=Ve.bottom.startX&&ot<=Ve.bottom.endX||Gt>=Ve.bottom.startX&&ot<=Ve.bottom.endX||ot<=Ve.bottom.startX&&Gt>=Ve.bottom.endX&&re[2]/(Ve.bottom.endX-Ve.bottom.startX)<d&&re[2]/(Ve.bottom.endX-Ve.bottom.startX)>x});Be.length>0?Be[0].bottom=Pt:O.push({top:Pt,bottom:Pt})}if($t){var bt=ve-re[4],_t=bt-re[3],Pt={startX:_t,y:S,endX:bt},Be=R.filter(function(ht){return _t>=ht.bottom.startX&&_t<=ht.bottom.endX||bt>=ht.bottom.startX&&_t<=ht.bottom.endX||_t<=ht.bottom.startX&&bt>=ht.bottom.endX&&re[2]/(ht.bottom.endX-ht.bottom.startX)<d&&re[2]/(ht.bottom.endX-ht.bottom.startX)>x});Be.length>0?Be[0].bottom=Pt:R.push({top:Pt,bottom:Pt})}}},fe=-1;fe<=F.width;fe++)Ee(fe);j.push.apply(j,O.filter(function(ve){return ve.bottom.y!==S&&ve.bottom.y-ve.top.y>=2})),O=O.filter(function(ve){return ve.bottom.y===S}),M.push.apply(M,R.filter(function(ve){return ve.bottom.y!==S})),R=R.filter(function(ve){return ve.bottom.y===S})},$=0;$<=F.height;$++)z($);j.push.apply(j,O.filter(function(S){return S.bottom.y-S.top.y>=2})),M.push.apply(M,R);var L=j.filter(function(S){return S.bottom.y-S.top.y>=2}).map(function(S){var Q=(S.top.startX+S.top.endX+S.bottom.startX+S.bottom.endX)/4,_=(S.top.y+S.bottom.y+1)/2;if(F.get(Math.round(Q),Math.round(_))){var re=[S.top.endX-S.top.startX,S.bottom.endX-S.bottom.startX,S.bottom.y-S.top.y+1],Ee=f(re)/re.length,fe=A({x:Math.round(Q),y:Math.round(_)},[1,1,3,1,1],F);return{score:fe,x:Q,y:_,size:Ee}}}).filter(function(S){return!!S}).sort(function(S,Q){return S.score-Q.score}).map(function(S,Q,_){if(Q>c)return null;var re=_.filter(function(fe,ve){return Q!==ve}).map(function(fe){return{x:fe.x,y:fe.y,score:fe.score+Math.pow(fe.size-S.size,2)/S.size,size:fe.size}}).sort(function(fe,ve){return fe.score-ve.score});if(re.length<2)return null;var Ee=S.score+re[0].score+re[1].score;return{points:[S].concat(re.slice(0,2)),score:Ee}}).filter(function(S){return!!S}).sort(function(S,Q){return S.score-Q.score});if(L.length===0)return null;var V=E(L[0].points[0],L[0].points[1],L[0].points[2]),Y=V.topRight,J=V.topLeft,X=V.bottomLeft,P=T(F,M,Y,J,X),U=[];P&&U.push({alignmentPattern:{x:P.alignmentPattern.x,y:P.alignmentPattern.y},bottomLeft:{x:X.x,y:X.y},dimension:P.dimension,topLeft:{x:J.x,y:J.y},topRight:{x:Y.x,y:Y.y}});var Z=v(F,Y),ie=v(F,J),he=v(F,X),N=T(F,M,Z,ie,he);return N&&U.push({alignmentPattern:{x:N.alignmentPattern.x,y:N.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:ie.x,y:ie.y},topRight:{x:Z.x,y:Z.y},dimension:N.dimension}),U.length===0?null:U}i.locate=k;function T(F,j,O,M,R){var z,$,L;try{z=h(M,O,R,F),$=z.dimension,L=z.moduleSize}catch{return null}var V={x:O.x-M.x+R.x,y:O.y-M.y+R.y},Y=(u(M,R)+u(M,O))/2/L,J=1-3/Y,X={x:M.x+J*(V.x-M.x),y:M.y+J*(V.y-M.y)},P=j.map(function(Z){var ie=(Z.top.startX+Z.top.endX+Z.bottom.startX+Z.bottom.endX)/4,he=(Z.top.y+Z.bottom.y+1)/2;if(F.get(Math.floor(ie),Math.floor(he))){var N=[Z.top.endX-Z.top.startX,Z.bottom.endX-Z.bottom.startX,Z.bottom.y-Z.top.y+1];f(N)/N.length;var S=A({x:Math.floor(ie),y:Math.floor(he)},[1,1,1],F),Q=S+u({x:ie,y:he},X);return{x:ie,y:he,score:Q}}}).filter(function(Z){return!!Z}).sort(function(Z,ie){return Z.score-ie.score}),U=Y>=15&&P.length?P[0]:X;return{alignmentPattern:U,dimension:$}}})]).default})})(z0)),z0.exports}var WO=ZO();const JO=Qs(WO);function ez({onResult:e,onClose:n}){const a=D.useRef(null),[i,s]=D.useState(null);return D.useEffect(()=>{let c=null,x=0,d=!1;const u=document.createElement("canvas"),f=u.getContext("2d",{willReadFrequently:!0}),E=()=>{const h=a.current;if(!(d||!h||!f)){if(h.readyState>=h.HAVE_ENOUGH_DATA&&h.videoWidth){u.width=h.videoWidth,u.height=h.videoHeight,f.drawImage(h,0,0,u.width,u.height);const{data:y,width:C,height:b}=f.getImageData(0,0,u.width,u.height),A=JO(y,C,b,{inversionAttempts:"dontInvert"});if(A?.data){d=!0,e(A.data);return}}x=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(h=>{if(d){for(const C of h.getTracks())C.stop();return}c=h;const y=a.current;y&&(y.srcObject=h,y.play(),x=requestAnimationFrame(E))}).catch(h=>s(tz(h))),()=>{if(d=!0,cancelAnimationFrame(x),c)for(const h of c.getTracks())h.stop()}},[e]),m.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[m.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),m.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:m.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),m.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[m.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),m.jsx("button",{type:"button",onClick:n,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:m.jsx(Nn,{size:20})})]}),i?m.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function tz(e){const n=e instanceof DOMException?e.name:"";return n==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":n==="NotFoundError"||n==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function nz(){const e=Ae(f=>f.setToken),[n,a]=D.useState(""),[i,s]=D.useState(!1),[c,x]=D.useState(!1),d=f=>{const E=wk(f);x(!1),E?e(E):s(!0)},u=f=>{f.preventDefault(),d(n)};return c?m.jsx(ez,{onResult:d,onClose:()=>x(!1)}):m.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[m.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),m.jsxs("div",{children:[m.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),m.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),m.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",m.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",m.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),m.jsxs("form",{onSubmit:u,className:"flex w-full max-w-xs flex-col gap-2",children:[m.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:n,onChange:f=>{a(f.target.value),s(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),m.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),m.jsxs("button",{type:"button",onClick:()=>{s(!1),x(!0)},className:"pill justify-center gap-2 py-2.5",children:[m.jsx(J8,{size:16}),"Scan QR"]}),i?m.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),m.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",m.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}const rz=new Intl.NumberFormat("en",{notation:"compact"});function t8(e){return rz.format(Math.max(0,e)).toLowerCase()}function n8(e,n){return`${e.toLocaleString("en")} ${e===1?"line":"lines"} ${n}`}function az({stats:e,className:n}){if(!e||e.added<=0&&e.removed<=0)return null;const a=[e.added>0?n8(e.added,"added"):null,e.removed>0?n8(e.removed,"removed"):null].filter(Boolean).join(", ");return m.jsxs("span",{className:Ce("flex shrink-0 items-center gap-1 font-mono text-[10px] font-medium leading-none tabular-nums",n),title:a,children:[m.jsx("span",{className:"sr-only",children:a}),e.added>0?m.jsxs("span",{className:"text-add","aria-hidden":"true",children:["+",t8(e.added)]}):null,e.removed>0?m.jsxs("span",{className:"text-del","aria-hidden":"true",children:["-",t8(e.removed)]}):null]})}const T5="conductor-remote-theme",iz={light:"#f5f6f8",dark:"#0a0b0e"};function lz(e){return e==="light"||e==="dark"||e==="system"?e:"system"}function j5(e){try{return lz((e??localStorage).getItem(T5))}catch{return"system"}}function sz(e,n){return e==="system"?n?"dark":"light":e}function oz(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function R5(e,n=oz()){if(typeof document>"u")return;e==="system"?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e;const a=sz(e,n);document.querySelector('meta[name="theme-color"]')?.setAttribute("content",iz[a])}function cz(e,n){try{(n??localStorage).setItem(T5,e)}catch{}R5(e)}function xz(){if(typeof window>"u")return()=>{};const e=window.matchMedia("(prefers-color-scheme: dark)"),n=()=>R5(j5(),e.matches);return e.addEventListener("change",n),n(),()=>e.removeEventListener("change",n)}const Vs=new Uint8Array(512),bd=new Uint8Array(256);let ws=1;for(let e=0;e<255;e++)Vs[e]=ws,bd[ws]=e,ws<<=1,ws&256&&(ws^=285);for(let e=255;e<512;e++)Vs[e]=Vs[e-255];function O5(e,n){return e===0||n===0?0:Vs[bd[e]+bd[n]]}function uz(e){let n=[1];for(let a=0;a<e;a++){const i=new Array(n.length+1).fill(0);for(let s=0;s<n.length;s++)i[s]^=n[s],i[s+1]^=O5(n[s],Vs[a]);n=i}return n}function dz(e,n){const a=uz(n),i=new Array(n).fill(0);for(const s of e){const c=s^i[0];if(i.shift(),i.push(0),c!==0)for(let x=0;x<n;x++)i[x]^=O5(a[x+1],c)}return i}const gf={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function r8(e){return gf[e].groups.reduce((n,[a,i])=>n+a*i,0)}function a8(e){return e<=9?8:16}function Ss(e,n,a){for(let i=a-1;i>=0;i--)e.push(n>>i&1)}function fz(e){const n=Array.from(new TextEncoder().encode(e));let a=0;for(let b=1;b<=10;b++)if(4+a8(b)+8*n.length<=r8(b)*8){a=b;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${n.length} bytes)`);const i=r8(a)*8,s=[];Ss(s,4,4),Ss(s,n.length,a8(a));for(const b of n)Ss(s,b,8);for(let b=0,A=Math.min(4,i-s.length);b<A;b++)s.push(0);for(;s.length%8!==0;)s.push(0);const c=[236,17];for(let b=0;s.length<i;b++)Ss(s,c[b%2],8);const x=[];for(let b=0;b<s.length;b+=8){let A=0;for(let v=0;v<8;v++)A=A<<1|s[b+v];x.push(A)}const{ec:d,groups:u}=gf[a],f=[];let E=0;for(const[b,A]of u)for(let v=0;v<b;v++){const k=x.slice(E,E+A);E+=A,f.push({data:k,ec:dz(k,d)})}const h=[],y=Math.max(...f.map(b=>b.data.length));for(let b=0;b<y;b++)for(const A of f)b<A.data.length&&h.push(A.data[b]);for(let b=0;b<d;b++)for(const A of f)h.push(A.ec[b]);const C=[];for(const b of h)Ss(C,b,8);return{version:a,bits:C}}function hz(e,n){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),c=(h,y)=>{for(let C=-1;C<=7;C++)for(let b=-1;b<=7;b++){const A=h+C,v=y+b;if(A<0||A>=a||v<0||v>=a)continue;const k=C>=0&&C<=6&&(b===0||b===6)||b>=0&&b<=6&&(C===0||C===6),T=C>=2&&C<=4&&b>=2&&b<=4;i[A][v]=k||T,s[A][v]=!0}};c(0,0),c(0,a-7),c(a-7,0);for(let h=8;h<a-8;h++){const y=h%2===0;s[6][h]||(i[6][h]=y,s[6][h]=!0),s[h][6]||(i[h][6]=y,s[h][6]=!0)}const x=gf[e].align;for(let h=0;h<x.length;h++)for(let y=0;y<x.length;y++){if(h===0&&y===0||h===0&&y===x.length-1||h===x.length-1&&y===0)continue;const b=x[h],A=x[y];for(let v=-2;v<=2;v++)for(let k=-2;k<=2;k++)i[b+v][A+k]=Math.max(Math.abs(v),Math.abs(k))!==1,s[b+v][A+k]=!0}for(let h=0;h<=8;h++)h!==6&&(s[8][h]=!0,s[h][8]=!0);for(let h=0;h<8;h++)s[8][a-1-h]=!0,s[a-1-h][8]=!0;if(s[a-8][8]=!0,e>=7)for(let h=0;h<18;h++){const y=a-11+h%3,C=Math.floor(h/3);s[C][y]=!0,s[y][C]=!0}let d=0,u=!0;for(let h=a-1;h>0;h-=2){h===6&&h--;for(let y=0;y<a;y++){const C=u?a-1-y:y;for(let b=0;b<2;b++){const A=h-b;s[C][A]||(i[C][A]=d<n.length?n[d]===1:!1,d++)}}u=!u}e>=7&&Ez(i,e,a);let f=null,E=Number.POSITIVE_INFINITY;for(let h=0;h<8;h++){const y=i.map(b=>b.slice());for(let b=0;b<a;b++)for(let A=0;A<a;A++)!s[b][A]&&pz(h,b,A)&&(y[b][A]=!y[b][A]);mz(y,h,a);const C=gz(y);C<E&&(E=C,f=y)}return f}function pz(e,n,a){switch(e){case 0:return(n+a)%2===0;case 1:return n%2===0;case 2:return a%3===0;case 3:return(n+a)%3===0;case 4:return(Math.floor(n/2)+Math.floor(a/3))%2===0;case 5:return n*a%2+n*a%3===0;case 6:return(n*a%2+n*a%3)%2===0;default:return((n+a)%2+n*a%3)%2===0}}function mz(e,n,a){const i=0|n;let s=i;for(let d=0;d<10;d++)s=s<<1^(s>>9&1?1335:0);const c=((i<<10|s&1023)^21522)&32767,x=d=>(c>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=x(d);e[7][8]=x(6),e[8][8]=x(7),e[8][7]=x(8);for(let d=9;d<15;d++)e[8][14-d]=x(d);for(let d=0;d<8;d++)e[8][a-1-d]=x(d);for(let d=8;d<15;d++)e[a-15+d][8]=x(d);e[a-8][8]=!0}function Ez(e,n,a){let i=n;for(let c=0;c<12;c++)i=i<<1^(i>>11&1?7973:0);const s=n<<12|i&4095;for(let c=0;c<18;c++){const x=(s>>c&1)===1,d=a-11+c%3,u=Math.floor(c/3);e[u][d]=x,e[d][u]=x}}function gz(e){const n=e.length;let a=0;const i=u=>{let f=u(0),E=1;for(let h=1;h<n;h++)u(h)===f?E++:(E>=5&&(a+=E-2),f=u(h),E=1);E>=5&&(a+=E-2)};for(let u=0;u<n;u++)i(f=>e[u][f]);for(let u=0;u<n;u++)i(f=>e[f][u]);for(let u=0;u<n-1;u++)for(let f=0;f<n-1;f++){const E=e[u][f];E===e[u][f+1]&&E===e[u+1][f]&&E===e[u+1][f+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],c=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],x=(u,f,E)=>{for(let h=0;h<11;h++)if(u(f+h)!==E[h])return!1;return!0};for(let u=0;u<n;u++)for(let f=0;f<=n-11;f++)(x(E=>e[u][E],f,s)||x(E=>e[u][E],f,c))&&(a+=40);for(let u=0;u<n;u++)for(let f=0;f<=n-11;f++)(x(E=>e[E][u],f,s)||x(E=>e[E][u],f,c))&&(a+=40);let d=0;for(let u=0;u<n;u++)for(let f=0;f<n;f++)e[u][f]&&d++;return a+=Math.floor(Math.abs(d/(n*n)*100-50)/5)*10,a}function yz(e){const{version:n,bits:a}=fz(e);return hz(n,a)}function Cz({text:e,size:n=220,className:a}){const i=yz(e),s=i.length,c=4,x=s+c*2;let d="";for(let u=0;u<s;u++)for(let f=0;f<s;f++)i[u][f]&&(d+=`M${f+c} ${u+c}h1v1h-1z`);return m.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${x} ${x}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[m.jsx("title",{children:"QR code"}),m.jsx("rect",{width:x,height:x,fill:"#fff"}),m.jsx("path",{d,fill:"#000"})]})}function bz({version:e,onLogs:n,onClose:a}){const i=Ae(y=>y.token),s=Ae(y=>y.setToken),[c,x]=D.useState(!1),[d,u]=D.useState(!1),f=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.92.2",h=async()=>{try{await navigator.clipboard.writeText(f),x(!0),setTimeout(()=>x(!1),1500)}catch{}};return Al.createPortal(m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),m.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[m.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[m.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),m.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[m.jsx("button",{type:"button",onClick:()=>u(y=>!y),"aria-label":"Disconnect","aria-expanded":d,title:"Disconnect",className:Ce("flex size-8 items-center justify-center rounded-full active:bg-surface-2",d?"bg-del/15 text-del":"text-del/80"),children:m.jsx(EA,{size:17})}),m.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:18})})]})]}),d?m.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[m.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{type:"button",onClick:()=>u(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),m.jsx("button",{type:"button",onClick:()=>s(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80",children:"Disconnect"})]})]}):null,m.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[m.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),m.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:m.jsx(Cz,{text:f,size:216})}),m.jsxs("button",{type:"button",onClick:h,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[c?m.jsx(ca,{size:16}):m.jsx(Od,{size:16}),c?"Copied":"Copy link"]}),m.jsx(Bz,{}),m.jsx(vz,{}),m.jsx(Dz,{}),m.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[m.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",m.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.92.2"]}),E?" · update pending":""]}),m.jsx("button",{type:"button",onClick:n,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}const Az=[["system","System"],["light","Light"],["dark","Dark"]];function Bz(){const[e,n]=D.useState(j5),a=Ae(c=>c.view.showDiffs),i=Ae(c=>c.setView),s=c=>{n(c),cz(c)};return m.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("fieldset",{className:"flex w-full items-center justify-between gap-3 border-0 p-0",children:[m.jsx("legend",{className:"sr-only",children:"Theme"}),m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(bv,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Theme"})]}),m.jsx("div",{className:"flex shrink-0 rounded-lg border border-border bg-surface p-0.5",children:Az.map(([c,x])=>m.jsx("button",{type:"button","aria-pressed":e===c,onClick:()=>s(c),className:Ce("rounded-md px-2 py-1 text-xs transition focus-visible:outline-2 focus-visible:outline-accent",e===c?"bg-accent-soft text-accent":"text-muted active:bg-surface-2"),children:x},c))})]}),m.jsxs("div",{className:"mt-2.5 flex items-center justify-between gap-3 border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(Q8,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Sidebar diffs"})]}),m.jsx("button",{type:"button",role:"switch","aria-checked":a,"aria-label":"Show line changes in workspace rows",onClick:()=>i({showDiffs:!a}),className:Ce("relative h-6 w-11 shrink-0 rounded-full transition-colors",a?"bg-accent":"border border-border bg-surface"),children:m.jsx("span",{className:Ce("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",a?"translate-x-5":"translate-x-0")})})]}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:"Show line additions and deletions in workspace rows."})]})}function vz(){const e=jD(),n=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":n?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return m.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(G8,{size:16,className:Ce("shrink-0",e.enabled?"text-accent":"text-muted")}),m.jsx("span",{children:"Notifications"})]}),m.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||n||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:Ce("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||n||e.busy)&&"opacity-40"),children:m.jsx("span",{className:Ce("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?m.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?m.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const kz=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"8h",seconds:8*3600},{label:"16h",seconds:16*3600}];function Hu(e){if(!e)return"until you turn it off";const n=new Date(e),a=n.toDateString()===new Date().toDateString(),i=n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${n.toLocaleDateString([],{weekday:"short"})} ${i}`}function Dz(){const[e,n]=D.useState(null),[a,i]=D.useState(!1),[s,c]=D.useState(null),[x,d]=D.useState(!1),[u,f]=D.useState("idle"),[E,h]=D.useState(null),y=D.useCallback(async()=>{try{n(await Oe.settings()),c(null)}catch(F){c(F instanceof Error?F.message:String(F))}},[]);D.useEffect(()=>{y()},[y]);const C=async F=>{i(!0),c(null);try{await F(),await y()}catch(j){c(j instanceof Error?j.message:String(j))}finally{i(!1)}},b=async F=>{i(!0),c(null);try{const j=await Oe.restartConductor(F);h(j.ms??0),f("idle"),await y()}catch(j){j instanceof Er&&j.status===409&&f("agents"),c(j instanceof Error?j.message:String(j))}finally{i(!1)}},A=e?.nosleep,v=e?.screenLocked===!0,k=e?.wifi.known??[],T=e?.settings.fallbackSsids[0]??"";return m.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(n2,{size:16,className:Ce("shrink-0",A?.armed?"text-accent":"text-muted")}),m.jsx("span",{children:"Keep the Mac awake"})]}),A?.armed?m.jsx("button",{type:"button",disabled:a,onClick:()=>{C(async()=>{const F=await Oe.disarmNoSleep();d(F.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):m.jsx("div",{className:"flex shrink-0 gap-1",children:kz.map(F=>m.jsx("button",{type:"button",disabled:a||!A?.available,onClick:()=>{C(()=>(d(!1),Oe.armNoSleep(F.seconds)))},className:Ce("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",F.className),children:F.label},F.seconds))})]}),m.jsx("p",{className:"text-xs text-muted",children:e?A?.available?A.armed?A.preventsScreenLock?v?`Awake ${Hu(A.until)}, lid closed. It blocks the idle screen lock from starting; it can’t lift one already up.`:`Awake ${Hu(A.until)}, lid closed. The idle screen lock is off; anyone at the Mac can use it.`:`Awake ${Hu(A.until)}, lid closed. Sends park if macOS locks.`:x?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops system sleep. Screen-lock behavior follows the Mac CLI configuration.":"Run `conductor-remote nosleep setup` on the Mac to install or refresh the helper.":"Checking…"}),v?m.jsxs("p",{className:"text-xs text-del",children:["The Mac is locked right now, so writes park until it’s unlocked. ",m.jsx(xa,{})]}):null,m.jsxs("div",{className:"border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(r2,{size:16,className:Ce("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),m.jsx("span",{children:"Fallback network"})]}),T?m.jsx("button",{type:"button",disabled:a,onClick:()=>{C(()=>Oe.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),T?m.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Auto-joins ",m.jsx("span",{className:"text-fg",children:T})," when the primary network drops."]}):m.jsx(Fz,{known:k,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:F=>{C(()=>Oe.patchSettings({fallbackSsids:[F],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?m.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),m.jsxs("div",{className:"border-t border-border pt-2.5",children:[m.jsxs("div",{className:"flex items-center justify-between gap-3",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[m.jsx(_B,{size:16,className:"shrink-0 text-muted"}),m.jsx("span",{children:"Restart Conductor"})]}),u==="idle"?m.jsx("button",{type:"button",disabled:a,onClick:()=>{h(null),c(null),f("confirm")},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Restart"}):null]}),E!==null?m.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Quit and reopened in ",(E/1e3).toFixed(1),"s. Send a prompt to check an agent answers."]}):null,u!=="idle"?m.jsxs("div",{className:"fade-in mt-2 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[m.jsx("p",{className:"text-sm font-medium",children:u==="agents"?"Agents are still working":"Restart Conductor?"}),m.jsx("p",{className:"mt-1 text-xs text-muted",children:u==="agents"?"Restarting ends their turns. Everything they have already written stays in the chat.":"The app closes and opens again, which takes about ten seconds. Anything mid-turn stops."}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{type:"button",onClick:()=>{f("idle"),c(null)},className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),m.jsx("button",{type:"button",disabled:a,onClick:()=>{b(u==="agents")},className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80 disabled:opacity-50",children:a?"Restarting…":u==="agents"?"Stop agents and restart":"Restart"})]})]}):null]}),s?m.jsxs("p",{className:"text-xs text-del",children:[s," ",Bi(s)?m.jsx(xa,{}):null]}):null]})}function Fz({known:e,hotspots:n,busy:a,onPick:i}){const[s,c]=D.useState("");if(e.length===0)return m.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const x=new Set(n),d=s.trim().toLowerCase(),u=e.filter(h=>!d||h.toLowerCase().includes(d)),f=u.find(h=>x.has(h)),E=(f?[f,...u.filter(h=>h!==f)]:u).slice(0,6);return m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),m.jsx("input",{type:"search",value:s,disabled:a,onChange:h=>c(h.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),m.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(h=>m.jsxs("button",{type:"button",disabled:a,onClick:()=>i(h),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[m.jsx("span",{className:"truncate",children:h}),x.has(h)?m.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},h)),E.length===0?m.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!d&&e.length>E.length?m.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const wz={info:"text-muted",warn:"text-working",error:"text-del"};function qa(e){return String(e).padStart(2,"0")}function Sz(e){if(e==null)return"·";const n=new Date(e);return`${qa(n.getHours())}:${qa(n.getMinutes())}:${qa(n.getSeconds())}`}function i8(e){if(e==null)return" ";const n=new Date(e);return`${n.getFullYear()}-${qa(n.getMonth()+1)}-${qa(n.getDate())} ${qa(n.getHours())}:${qa(n.getMinutes())}:${qa(n.getSeconds())}`}function _z(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function l8(e){const n=Math.max(0,Math.round(e/1e3));if(n<90)return`${n}s ago`;const a=Math.round(n/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function Nz({onClose:e}){const[n,a]=D.useState(null),[i,s]=D.useState(!1),[c,x]=D.useState(null),{data:d,isLoading:u,isError:f,error:E}=wD(n,!0),h=D.useRef(null),y=D.useRef(!0),C=D.useMemo(()=>(d?.entries??[]).filter(v=>!i||v.level!=="info"),[d,i]);D.useEffect(()=>{const v=h.current;v&&y.current&&C.length&&(v.scrollTop=v.scrollHeight)},[C]);const b=async()=>{const v=`# conductor-remote ${n??"live"} log · app v1.92.2 · copied ${i8(Date.now())}`,k=C.map(T=>`${i8(T.t)} ${T.level==="info"?"":T.level.toUpperCase()} ${T.text}`);try{await navigator.clipboard.writeText([v,...k].join(`
|
|
48
48
|
`)),x("ok")}catch{x("failed")}setTimeout(()=>x(null),2e3)},A=[{key:null,label:"Live",hint:d?`since ${l8(d.now-d.startedAt)}`:void 0},...(d?.files??[]).map(v=>({key:v.name,label:v.name,hint:_z(v.size)}))];return Al.createPortal(m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),m.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[m.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[m.jsxs("div",{className:"min-w-0",children:[m.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),m.jsx("p",{className:"truncate text-xs text-muted",children:d?`${C.length} line${C.length===1?"":"s"} · relay started ${l8(d.now-d.startedAt)}`:"Loading…"})]}),m.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:18})})]}),m.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:A.map(v=>m.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(v.key)},className:Ce("pill shrink-0 whitespace-nowrap",v.key===n&&"pill-active"),children:[v.label,v.hint?m.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:v.hint}):null]},v.key??"live"))}),n&&d&&!d.managed?m.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,m.jsx("div",{ref:h,onScroll:v=>{const k=v.currentTarget;y.current=k.scrollHeight-k.scrollTop-k.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:u&&!d?m.jsx(Va,{label:"Reading logs…"}):f?m.jsx(Bn,{children:E?.message}):C.length===0?m.jsx(Bn,{children:i?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):C.map((v,k)=>m.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[m.jsx("span",{className:"shrink-0 text-faint",children:Sz(v.t)}),m.jsx("span",{className:Ce("min-w-0 flex-1",wz[v.level]),children:v.text})]},k))}),m.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[m.jsx("button",{type:"button",onClick:()=>s(v=>!v),className:Ce("pill shrink-0",i&&"pill-active"),children:"Problems only"}),m.jsxs("button",{type:"button",onClick:b,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[c==="ok"?m.jsx(ca,{size:16}):m.jsx(Od,{size:16}),c==="ok"?"Copied":c==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}const z5="conductor-remote-send-immediately",Mz=[];function Tz(){try{return localStorage.getItem(z5)!=="off"}catch{return!0}}function jz(e){try{localStorage.setItem(z5,e?"on":"off")}catch{}}function Rz(e){e&&Oe.discardStagedAttachment(e).catch(()=>{})}function Oz({onClose:e}){const{data:n}=C2(),a=qd(),i=B2(),s=Ae(se=>se.lastNewWorkspaceRepo),c=Ae(se=>se.setLastNewWorkspaceRepo),[x,d]=D.useState(s),u=Ae(se=>se.drafts[ia]??""),f=Ae(se=>se.draftAttachments[ia]??Mz),E=D.useMemo(()=>f.filter(se=>!!se.stageId),[f]),h=Ae(se=>se.setDraft),y=Ae(se=>se.addDraftAttachment),C=Ae(se=>se.removeDraftAttachment),b=Ae(se=>se.clearDraftContent),A=Ae(se=>se.setFocusedDraft),v=se=>h(ia,se),[k,T]=D.useState({}),[F,j]=D.useState(!1),[O,M]=D.useState(Tz),[R,z]=D.useState(!1),[$,L]=D.useState(null),V=D.useRef(null),Y=D.useRef(new Set),J=D.useRef(0),[X,P]=D.useState([]),[U,Z]=D.useState(!1),ie=Cl(),he=gr(),N=Ae(se=>se.online);D.useEffect(()=>()=>{Ae.getState().focusedDraft===ia&&A(null),rd()},[A]);const S=n?.repos??[],Q=S.find(se=>se.name===x);D.useEffect(()=>{S.length&&!S.some(se=>se.name===x)&&d(S[0].name)},[x,S]);const _=[...E.map(se=>({...se,id:se.path,status:"ready"})),...X],re=X.some(se=>se.status==="uploading"),Ee=X.some(se=>se.status==="error"),fe=!!u.trim()||E.length>0,ve=a.data?.groups.flatMap(se=>se.models)??[],Ge=a.data?.defaultModel,ke=k.model??Ge??null,ft=mf(null,ke),xt=mO(ke,i.data?.defaultEfforts),$t=k.effort??xt,Gt=Object.keys(k).length>0,ot=D.useCallback(se=>T(te=>{const de={...te,...se};return Object.fromEntries(Object.entries(de).filter(([,_e])=>_e!==void 0))}),[]);D.useEffect(()=>{!ft&&k.plan!==void 0&&ot({plan:void 0})},[ft,k.plan,ot]);const Pt=se=>{const te=E.find(de=>de.path===se);if(te){C(ia,te.path);return}Y.current.add(se),P(de=>de.filter(_e=>_e.id!==se))},Be=async se=>{if(N)for(const te of Array.from(se)){const de=crypto.randomUUID();P(_e=>[..._e,{id:de,name:te.name||"attachment",status:"uploading"}]);try{const _e=await Oe.stageAttachment(te);if(Y.current.delete(de)){Rz(_e.attachment.stageId);continue}y(ia,_e.attachment),P(Qe=>Qe.filter(We=>We.id!==de))}catch(_e){if(Y.current.delete(de))continue;P(Qe=>Qe.map(We=>We.id===de?{...We,status:"error",error:_e instanceof Error?_e.message:"Upload failed"}:We))}}},bt=se=>{se?.length&&Be(se)},_t=se=>Array.from(se.dataTransfer.types).includes("Files"),Ve=se=>{_t(se)&&(se.preventDefault(),J.current+=1,Z(!0))},cn=se=>{_t(se)&&(J.current-=1,J.current<=0&&(J.current=0,Z(!1)))},ht=se=>{_t(se)&&(se.preventDefault(),se.dataTransfer.dropEffect="copy")},ue=se=>{_t(se)&&(se.preventDefault(),J.current=0,Z(!1),bt(se.dataTransfer.files))},Ot=D.useCallback(()=>{for(const se of X)Y.current.add(se.id);e()},[X,e]),rt=async()=>{const se=u.trim();if(!(!x||R||re||Ee||!N)){z(!0),L(null);try{const te=await Oe.createWorkspace(x,se,O,E.flatMap(de=>de.stageId?[de.stageId]:[]),k);if(!te.ok||!te.workspaceId){L(te.error??"could not create the workspace");return}await he.invalidateQueries({queryKey:["state"]}),b(ia),e(),ie(`/w/${te.workspaceId}`)}catch(te){L(te instanceof Error?te.message:"could not create the workspace")}finally{z(!1)}}};return D.useEffect(()=>{const se=te=>{te.key==="Escape"&&(F?j(!1):Ot())};return window.addEventListener("keydown",se),()=>window.removeEventListener("keydown",se)},[Ot,F]),Al.createPortal(m.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[m.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[m.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),m.jsx("button",{type:"button",onClick:Ot,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:20})})]}),m.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[m.jsxs("div",{className:"relative",children:[m.jsxs("button",{type:"button",onClick:()=>j(se=>!se),"aria-haspopup":"menu","aria-expanded":F,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[Q?m.jsx(Hs,{icon:Q.icon,name:Q.name,artwork:"inset"}):null,m.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:Q?.name??"Choose a repo"}),m.jsx(ua,{size:18,className:Ce("shrink-0 text-muted transition",F&&"rotate-180")})]}),F?m.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:S.map(se=>m.jsx("li",{children:m.jsxs("button",{type:"button",onClick:()=>{d(se.name),c(se.name),j(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[m.jsx(Hs,{icon:se.icon,name:se.name,artwork:"inset"}),m.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:se.name}),se.name===x?m.jsx(ca,{size:16,className:"shrink-0 text-accent"}):null]})},se.name))}):null]}),m.jsxs("fieldset",{"aria-label":"First message",onDragEnter:Ve,onDragLeave:cn,onDragOver:ht,onDrop:ue,className:Ce("relative m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",U&&"border-accent bg-accent-soft"),children:[m.jsx("input",{ref:V,type:"file",multiple:!0,className:"hidden",onChange:se=>{bt(se.target.files),se.target.value=""}}),_.length?m.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:_.map(se=>m.jsxs("div",{title:se.error??se.name,className:"flex max-w-full items-center gap-1 rounded-lg bg-surface-2 py-1 pl-2 pr-1 text-xs text-muted",children:[se.status==="uploading"?m.jsx(rr,{size:12,className:"shrink-0 animate-spin"}):null,m.jsx("span",{className:"truncate",children:se.status==="error"?`${se.name}: ${se.error}`:se.name}),m.jsx("button",{type:"button",onClick:()=>Pt(se.id),"aria-label":`Remove ${se.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:m.jsx(Nn,{size:13})})]},se.id))}):null,m.jsx("textarea",{value:u,onChange:se=>v(se.target.value),onFocus:()=>A(ia),onBlur:()=>{Ae.getState().focusedDraft===ia&&A(null),rd()},placeholder:"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"block w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint",onPaste:se=>{const te=se.clipboardData.files;te.length&&(se.preventDefault(),bt(te))},onKeyDown:se=>{_5(se)&&(se.preventDefault(),rt())}}),m.jsxs("div",{className:"mt-1 flex items-start gap-1 px-1",children:[m.jsx(M5,{model:ke??"Model",providerModel:ke,agentType:null,models:ve,modelsFetching:a.isFetching,modelsError:a.isError,defaultModel:Ge,fast:k.fast,effort:$t,plan:k.plan,showEmptyEffort:!0,modelStaged:k.model!==void 0,fastStaged:k.fast!==void 0,effortStaged:k.effort!==void 0,planStaged:k.plan!==void 0,onModelChange:se=>ot({model:se===(k.model??Ge)?void 0:se}),onFastChange:()=>ot({fast:k.fast===void 0?!0:k.fast?!1:void 0}),onEffortChange:()=>ot({effort:EO($t,xt)}),onPlanChange:()=>ot({plan:k.plan===void 0?!0:k.plan?!1:void 0}),status:Gt?"Applies when the workspace opens":void 0}),m.jsx("button",{type:"button",onClick:()=>V.current?.click(),disabled:!N,"aria-label":"Attach files",className:"flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:text-faint",children:m.jsx(ec,{size:17})})]}),U?m.jsx("div",{className:"pointer-events-none absolute inset-1 z-10 flex items-center justify-center rounded-xl border border-dashed border-accent bg-accent-soft/90 text-sm font-medium text-accent",children:"Drop files to attach"}):null]}),m.jsxs("label",{className:Ce("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!fe&&"opacity-40"),children:[m.jsx("input",{type:"checkbox",checked:O,disabled:!fe,onChange:se=>{M(se.target.checked),jz(se.target.checked)},className:"sr-only"}),m.jsx("span",{className:Ce("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",O?"border-accent bg-accent text-bg":"border-border"),children:O?m.jsx(ca,{size:13,strokeWidth:3}):null}),m.jsxs("span",{className:"min-w-0 flex-1",children:[m.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),m.jsx("span",{className:"block text-xs text-muted",children:O?"The prompt goes as soon as the chat and attached files are ready, without waiting for setup.":"The prompt waits until the worktree has finished setting up."})]})]}),$?m.jsx("div",{className:"text-xs text-del",children:$}):null]}),m.jsx("div",{className:"pb-safe border-t border-border-soft p-3",children:m.jsx("button",{type:"button",onClick:rt,disabled:!x||R||re||Ee||!N,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:R?"Creating…":fe?"Create & start":"Create empty workspace"})})]}),document.body)}function zz(e){return e.replaceAll("_"," ").replace(/\b\w/g,n=>n.toUpperCase())}function Lz(e){return{free:"Free",go:"Go",plus:"Plus",pro:"Pro",prolite:"Pro Lite",max:"Max",team:"Team",business:"Business",enterprise:"Enterprise",edu:"Education",self_serve_business_usage_based:"Business",enterprise_cbp_usage_based:"Enterprise"}[e]??zz(e)}function Pz(e,n=Date.now()){if(e===null)return"Reset time unavailable";const a=e-n;return a>0&&a<3600*1e3?`Resets in ${Math.max(1,Math.round(a/6e4))}m`:a>0&&a<1440*60*1e3?`Resets in ${Math.max(1,Math.round(a/36e5))}h`:`Resets ${new Date(e).toLocaleString([],{weekday:"short",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}`}function Uz({window:e}){const n=Math.round(e.usedPercent);return m.jsxs("div",{children:[m.jsxs("div",{className:"mb-1 flex items-baseline gap-2 text-xs",children:[m.jsxs("span",{className:"min-w-0 flex-1 truncate text-muted",children:[e.active?m.jsx("span",{className:"mr-1.5 inline-block size-1.5 rounded-full bg-working"}):null,e.label]}),m.jsxs("span",{className:"font-medium tabular-nums text-text",children:[n,"%"]})]}),m.jsx("div",{role:"progressbar","aria-label":`${e.label}: ${n}% used`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,className:"h-1.5 overflow-hidden rounded-full bg-surface",children:m.jsx("div",{className:Ce("h-full rounded-full transition-[width]",n>=95?"bg-del":n>=80?"bg-working":"bg-accent"),style:{width:`${e.usedPercent}%`}})}),m.jsx("div",{className:"mt-1 text-[11px] text-faint",children:Pz(e.resetsAt)})]})}const Iz=[{provider:"claude",label:"Claude Code"},{provider:"codex",label:"Codex"},{provider:"cursor",label:"Cursor Agent"},{provider:"opencode",label:"OpenCode"}];function L5(e){return e==="claude"||e==="codex"?e:null}function Hz({usage:e,defaultEffort:n,defaultsLoading:a=!1,savingDefault:i=!1,onDefaultEffortChange:s}){const c=L5(e.provider),x=n&&!Ai.includes(n)?n:null,d=e.buckets.filter(u=>u.label!=="GPT-5.3-Codex-Spark"||u.windows.some(f=>f.usedPercent!==0));return m.jsxs("section",{className:"rounded-2xl border border-border bg-surface-2 p-3.5",children:[m.jsxs("div",{className:Ce("flex items-center gap-2",(c||d.length)&&"mb-3"),children:[m.jsx(Ef,{agentType:e.provider,model:null,className:"size-5"}),m.jsx("h3",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:e.label}),e.plan?m.jsx("span",{className:"pill shrink-0 text-[11px]",children:Lz(e.plan)}):null]}),c?m.jsxs("label",{className:"mb-3 flex items-center justify-between gap-3 rounded-xl border border-border-soft bg-surface px-3 py-2",children:[m.jsxs("span",{className:"min-w-0",children:[m.jsx("span",{className:"block text-xs font-medium",children:"Default effort"}),m.jsx("span",{className:"block text-[11px] text-faint",children:"New chats"})]}),m.jsxs("span",{className:"relative shrink-0",children:[m.jsxs("select",{"aria-label":`${e.label} default effort`,value:n??"",disabled:a||i||!s,onChange:u=>s?.(u.target.value),className:"h-8 min-w-28 appearance-none rounded-lg border border-border bg-surface-2 py-1 pl-2.5 pr-7 text-xs text-text outline-none disabled:opacity-50",children:[m.jsx("option",{value:"",disabled:!0,children:a?"Reading…":"Choose effort"}),x?m.jsx("option",{value:x,children:x}):null,Ai.map(u=>m.jsx("option",{value:u,children:K0[u]},u))]}),m.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-faint",children:i?m.jsx(Zs,{size:12,className:"animate-spin"}):m.jsx(ua,{size:12})})]})]}):null,d.length?m.jsx("div",{className:"space-y-4",children:d.map(u=>m.jsxs("div",{className:"space-y-3",children:[d.length>1||u.label!==e.label?m.jsx("div",{className:"text-xs font-medium text-muted",children:u.label}):null,u.windows.map(f=>m.jsx(Uz,{window:f},f.id))]},u.id))}):e.status==="error"&&c?m.jsx("p",{className:"text-xs text-del",children:e.message??"Could not read plan usage."}):null]})}function qz(e){return new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function $z({onClose:e}){const n=SD(!0),a=B2(),i=gr(),[s,c]=D.useState(!1),[x,d]=D.useState(),[u,f]=D.useState(),[E,h]=D.useState(),y=Iz.map(A=>n.data?.providers.find(v=>v.provider===A.provider)??{...A,status:"unavailable",plan:null,buckets:[]}),C=async()=>{if(!s){c(!0),d(void 0);try{const A=await Oe.planUsage(!0);i.setQueryData(["plan-usage"],A)}catch(A){d(A instanceof Error?A.message:"Could not refresh plan usage.")}finally{c(!1)}}},b=async(A,v)=>{if(u)return;f(A),h(void 0);const k=a.data;k&&i.setQueryData(["model-defaults"],{defaultEfforts:{...k.defaultEfforts,[A]:v}});try{const T=await Oe.patchModelDefaults({[A]:v});i.setQueryData(["model-defaults"],T)}catch(T){k&&i.setQueryData(["model-defaults"],k),h(T instanceof Error?T.message:"Could not save the default effort.")}finally{f(void 0)}};return Al.createPortal(m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),m.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Models",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[m.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-3",children:[m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("h2",{className:"text-base font-semibold",children:"Models"}),m.jsx("p",{className:"truncate text-xs text-muted",children:"Defaults and plan usage"})]}),m.jsx("button",{type:"button",onClick:()=>{C()},disabled:s||!n.data&&n.isLoading,"aria-label":"Refresh plan usage",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 disabled:opacity-40",children:m.jsx(Zs,{size:17,className:s?"animate-spin":void 0})}),m.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:18})})]}),m.jsxs("div",{className:"min-h-0 flex-1 space-y-3 overflow-y-auto overscroll-contain p-4",children:[y.map(A=>{const v=L5(A.provider);return m.jsx(Hz,{usage:A,defaultEffort:v?a.data?.defaultEfforts[v]:void 0,defaultsLoading:a.isLoading||u!==void 0,savingDefault:u===v,onDefaultEffortChange:v?k=>{b(v,k)}:void 0},A.provider)}),n.isLoading&&!n.data?m.jsx("p",{className:"text-center text-xs text-faint",children:"Reading plan usage…"}):n.isError&&!n.data?m.jsx(Bn,{children:n.error?.message??"Could not read plan usage."}):null,x?m.jsx("p",{className:"text-xs text-del",children:x}):null,E?m.jsx("p",{className:"text-xs text-del",children:E}):null,a.isError?m.jsx("p",{className:"text-xs text-del",children:a.error?.message??"Could not read model defaults."}):null]}),n.data?m.jsxs("div",{className:"shrink-0 border-t border-border-soft px-4 py-2.5 text-[11px] text-faint",children:["Updated ",qz(n.data.fetchedAt)," · cached for one minute"]}):null]})]}),document.body)}function ml(e){return e.length?e.length===1?e[0]:`${e.length} repos`:"All repos"}function P5({repos:e,selected:n,onChange:a}){const i=s=>a(n.includes(s)?n.filter(c=>c!==s):[...n,s]);return m.jsxs(m.Fragment,{children:[m.jsx(s8,{checked:n.length===0,label:"All repos",onChange:()=>a([])}),e.map(s=>m.jsx(s8,{checked:n.includes(s.name),label:s.name,icon:m.jsx(Hs,{icon:s.icon,name:s.name,artwork:"inset"}),onChange:()=>i(s.name)},s.name))]})}function s8({checked:e,label:n,icon:a,onChange:i}){return m.jsxs("label",{className:"flex min-w-0 cursor-pointer items-center gap-2 px-2 py-0.5 text-left text-sm text-text active:bg-surface",children:[m.jsx("input",{type:"checkbox",checked:e,onChange:i,className:"peer sr-only"}),a??m.jsx("span",{className:"size-8 shrink-0"}),m.jsx("span",{className:"min-w-0 flex-1 truncate",children:n}),m.jsx("span",{className:Ce("flex size-4 shrink-0 items-center justify-center rounded border peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-accent",e?"border-accent bg-accent text-on-solid":"border-faint bg-surface"),children:e?m.jsx(ca,{size:12,strokeWidth:3}):null})]})}function Gz({query:e,repos:n,includeArchived:a,live:i,selectedId:s,onOpen:c}){const x=AD(e.trim(),250),{data:d,isError:u,error:f,isFetching:E}=BD(x,n,a),h=D.useMemo(()=>mk(e),[e]),y=D.useMemo(()=>{const b=new Map;if(h.length)for(const A of i){if(n.length&&!(A.repo_name&&n.includes(A.repo_name)))continue;const v=[zr(A),A.branch,A.repo_name,A.directory_name,A.session_title].filter(Boolean).join(" ").toLowerCase();h.every(k=>v.includes(k))&&b.set(A.id,{workspace:A,archived:!1,sessionId:null,snippets:[],hits:0})}for(const A of d?.results??[]){if(!a&&A.workspace.archived)continue;const v=b.get(A.workspace.id);if(v){v.sessionId=A.sessionId,v.snippets=A.snippets,v.hits=A.hits;continue}b.set(A.workspace.id,{workspace:A.workspace,archived:A.workspace.archived,sessionId:A.sessionId,snippets:A.snippets,hits:A.hits})}return[...b.values()]},[i,d,h,n,a]),C=d?.index;return m.jsxs(m.Fragment,{children:[C&&!C.ready?m.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(C.progress*100),"% — older conversations aren’t searchable yet."]}):null,C?.error?m.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",C.error,") — searching names only."]}):null,u?m.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",f?.message,") — showing name matches only."]}):null,y.length===0?E||x!==e.trim()?m.jsx(Va,{}):u?null:m.jsxs(Bn,{children:["Nothing matches “",e.trim(),"”",n.length?` in ${ml(n)}`:"","."]}):m.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:y.map(b=>m.jsx("li",{className:"fade-in",children:m.jsx(Qz,{row:b,tokens:h,selected:b.workspace.id===s,onOpen:c})},b.workspace.id))})]})}const Vz="card w-full flex-col items-stretch gap-0";function Qz({row:e,tokens:n,selected:a,onOpen:i}){const s=e.workspace,c=s.directory_name?.toLowerCase(),x=`${zr(s)} ${s.branch??""} ${s.repo_name??""}`.toLowerCase(),d=!!c&&n.some(f=>c.includes(f)&&!x.includes(f)),u=m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"flex items-start gap-3",children:[m.jsx(Hs,{icon:s.icon,name:s.repo_name||zr(s),artwork:"inset"}),m.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:zr(s)}),e.archived?m.jsx("span",{className:"shrink-0 rounded-md bg-surface-2 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-faint",children:"Archived"}):null]}),m.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[s.repo_name?m.jsx("span",{className:"shrink-0 font-mono text-faint",children:s.repo_name}):null,s.branch?m.jsx(em,{className:"min-w-0 flex-1 truncate",children:s.branch}):null,d?m.jsxs(em,{className:"shrink-0 text-faint",children:["dir ",s.directory_name]}):null,m.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:K2(s.updated_at)})]})]})]}),e.snippets.length?m.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(f=>m.jsx(Kz,{snippet:f},`${f.sessionId}:${f.at}:${f.text.slice(0,24)}`)),e.hits>e.snippets.length?m.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return m.jsx("button",{type:"button",className:Ce(Vz,a&&"border-accent/50 bg-surface-2"),onClick:()=>i(s.id,e.sessionId),children:u})}const Yz={user:"you",assistant:"agent",thinking:"thought"};function Kz({snippet:e}){return m.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[m.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:Yz[e.role]}),OF(e.text).map((n,a)=>n.hit?m.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:n.text},a):m.jsx("span",{children:n.text},a))]})}function Xz({live:e,selectedId:n,onOpen:a,onClose:i}){const[s,c]=D.useState(""),[x,d]=D.useState([]),[u,f]=D.useState(!0),[E,h]=D.useState(!1),y=D.useRef(null),b=(C2().data?.repos??[]).map(v=>({name:v.name,icon:v.icon}));for(const v of e)v.repo_name&&!b.some(k=>k.name===v.repo_name)&&b.push({name:v.repo_name,icon:v.icon});D.useEffect(()=>y.current?.focus(),[]),D.useEffect(()=>{const v=k=>{k.key==="Escape"&&(E?h(!1):i())};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)},[i,E]);const A=x.length>0;return Al.createPortal(m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:i,"aria-hidden":!0}),m.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Search workspaces and chats",className:"app-height fade-in pt-safe fixed inset-x-0 top-0 z-50 flex flex-col bg-bg md:inset-x-auto md:left-1/2 md:top-16 md:max-h-[70vh] md:w-[36rem] md:max-w-[92vw] md:-translate-x-1/2 md:rounded-2xl md:border md:border-border md:shadow-2xl",children:[m.jsxs("div",{className:"relative flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[m.jsxs("div",{className:"relative min-w-0 flex-1",children:[m.jsx(e2,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),m.jsx("input",{ref:y,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:s,onChange:v=>c(v.target.value),placeholder:"Search workspaces and chats","aria-label":"Search workspaces and chats",className:"w-full rounded-xl border border-border bg-surface py-2 pl-8 pr-9 text-sm text-text placeholder:text-faint focus:border-accent/50 focus:outline-none"}),s?m.jsx("button",{type:"button",onClick:()=>{c(""),y.current?.focus()},"aria-label":"Clear search",className:"absolute right-1 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:15})}):null]}),m.jsx("button",{type:"button",onClick:()=>f(v=>!v),"aria-label":"Include archived workspaces","aria-pressed":u,title:u?"Search archived workspaces":"Archived workspaces excluded",className:Ce("flex size-9 shrink-0 items-center justify-center rounded-full active:bg-surface-2",u?"border border-accent/50 bg-accent/10 text-text":"text-muted"),children:u?m.jsx(Rd,{size:18}):m.jsx(L7,{size:18})}),m.jsxs("button",{type:"button",onClick:()=>h(v=>!v),"aria-label":A?`Repo filter: ${ml(x)}`:"Filter by repo","aria-haspopup":"menu","aria-expanded":E,className:Ce("flex h-9 shrink-0 items-center justify-center gap-1 rounded-full text-sm active:bg-surface-2",A?"max-w-36 border border-accent/50 bg-accent/10 px-2.5 text-text":"size-9 text-muted"),children:[m.jsx(ub,{size:A?14:18,className:"shrink-0"}),A?m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"min-w-0 truncate",children:ml(x)}),m.jsx(ua,{size:14,className:Ce("shrink-0 text-faint transition-transform",E&&"rotate-180")})]}):null]}),m.jsx("button",{type:"button",onClick:i,"aria-label":"Close search",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(Nn,{size:20})}),E?m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>h(!1),"aria-hidden":!0}),m.jsx("div",{role:"menu","aria-label":"Repos to search",className:"fade-in absolute right-3 top-full z-20 mt-1 flex max-h-72 w-64 flex-col overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:m.jsx(P5,{repos:b,selected:x,onChange:d})})]}):null]}),m.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:s.trim()?m.jsx(Gz,{query:s,repos:x,includeArchived:u,live:e,selectedId:n,onOpen:a}):m.jsxs(Bn,{children:[A?`Workspaces and chats in ${ml(x)}`:"Every workspace on this Mac",u?", archived included":", excluding archived"," — by name, or by something said in the chat. Quote a “phrase” to require it word for word."]})})]})]}),document.body)}function Zz(e,n){return[...e].sort((a,i)=>{const s=+!!i.pinned_at-+!!a.pinned_at;if(s)return s;if(n==="name")return zr(a).localeCompare(zr(i));const c=n==="created"?a.created_at:a.updated_at,x=n==="created"?i.created_at:i.updated_at,d=qn(x)-qn(c);return Number.isFinite(d)?d:x.localeCompare(c)})}function Wz(e,n){return n==="status"?Vd(e):n==="recent"?$F(e.updated_at):e.repo_name??""}function Jz(e,n){if(n==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const i of e){const s=Wz(i,n),c=a.get(s);c?c.push(i):a.set(s,[i])}return n==="status"?[...Z9,...[...a.keys()].filter(s=>!Z9.includes(s))].filter(s=>a.has(s)).map(s=>({key:`status:${s}`,label:ld(s),status:s,items:a.get(s)??[]})):n==="recent"?HF.filter(i=>a.has(i)).map(i=>({key:`recent:${i}`,label:qF(i),items:a.get(i)??[]})):[...a.keys()].sort((i,s)=>i.localeCompare(s)).map(i=>({key:`repo:${i}`,label:i||"No repo",items:a.get(i)??[]}))}function eL({selectedId:e}){const n=Cl(),a=Ae(S=>S.setSidebarOpen),i=Ae(S=>S.view),s=Ae(S=>S.readMarks),c=Ae(S=>S.pending),x=Ae(S=>S.workingHints),d=Ae(S=>S.toggleGroup),[u,f]=D.useState(!1),[E,h]=D.useState(!1),[y,C]=D.useState(!1),[b,A]=D.useState(!1),[v,k]=D.useState(!1),[T,F]=D.useState(!1),{data:j,isLoading:O,isError:M,error:R}=Hd(),z=j?.workspaces??[],$=qd().data?.groups;D.useEffect(()=>{const S=Q=>{(Q.metaKey||Q.ctrlKey)&&!Q.shiftKey&&!Q.altKey&&Q.key.toLowerCase()==="k"&&(Q.preventDefault(),F(_=>!_))};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[]);const L=new Map(z.map(S=>[S.repo_name,S.icon])),V=[...new Set([...z.map(S=>S.repo_name).filter(S=>!!S),...i.repos])].sort().map(S=>({name:S,icon:L.get(S)??null})),Y=i.repos.length?z.filter(S=>!!S.repo_name&&i.repos.includes(S.repo_name)):z,J=Y.filter(S=>S.id===e||!(i.hideMerged&&PF(S)||i.hideDone&&UF(S))),X=Y.length-J.length,P=Jz(Zz(J,i.sortBy),i.groupBy),U=(S,Q=null)=>{n(Q?`/w/${S}?session=${encodeURIComponent(Q)}`:`/w/${S}`),a(!1)},Z=i.repos.length>0||i.hideMerged||i.hideDone,ie=i.repos.length>0||X>0,he=ml(i.repos),N=z.length?ie?[`${J.length} of ${z.length}`,i.repos.length?he:null,X?`${X} hidden`:null].filter(Boolean).join(" · "):`${z.length} active`:void 0;return m.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[m.jsxs("div",{className:"relative",children:[m.jsx(q0,{title:"Workspaces",subtitle:N,right:m.jsxs(m.Fragment,{children:[m.jsx("button",{type:"button",onClick:()=>F(!0),"aria-label":"Search workspaces and chats",title:"Search (⌘K)",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(e2,{size:18})}),m.jsx("button",{type:"button",onClick:()=>k(!0),"aria-label":"Models",title:"Models",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(pb,{size:18})}),m.jsxs("button",{type:"button",onClick:()=>f(S=>!S),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[m.jsx(tv,{size:18}),Z?m.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),m.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":"Connect a device",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:m.jsx(J8,{size:18})}),m.jsx("button",{type:"button",onClick:()=>C(!0),"aria-label":"New workspace",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2",children:m.jsx(W8,{size:20})})]})}),u?m.jsx(nL,{repos:V,view:i,onClose:()=>f(!1)}):null]}),m.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:O&&!j?m.jsx(Va,{label:"Loading workspaces…"}):M?m.jsx(sw,{error:R}):z.length===0?m.jsx(Bn,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):J.length===0?m.jsxs(Bn,{children:[i.repos.length?`No workspaces in ${he}`:"No workspaces",X?` — ${X} ${X===1?"one is":"ones are"} hidden.`:"."]}):P.map(S=>{const Q=!!S.label&&i.collapsed.includes(S.key);return m.jsxs("section",{children:[S.label?m.jsxs("button",{type:"button",onClick:()=>d(S.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[m.jsx(tL,{status:S.status}),m.jsx("span",{className:"truncate",children:S.label}),Q?m.jsx("span",{className:"font-normal text-muted text-xs",children:S.items.length}):null,m.jsx(ua,{size:14,className:Ce("ml-auto shrink-0 text-faint transition-transform",Q&&"-rotate-90")})]}):null,Q?null:m.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:S.items.map(_=>{const re=$k(_,s),Ee=_.active_session_id?x[_.active_session_id]:void 0,fe=o2(c.filter(ve=>ve.workspaceId===_.id),[..._.pending_prompt?[_.pending_prompt]:[],..._.parked_prompts??[]],Ee!==void 0&&Date.now()-Ee<ad);return m.jsx("li",{className:"fade-in",children:m.jsx("button",{type:"button",className:Ce("card w-full px-3 py-2.5",_.id===e?"border-accent/50 bg-surface-2":re&&"border-l-accent"),onClick:()=>U(_.id),children:m.jsx(iL,{w:_,unread:re,selected:_.id===e,modelGroups:$,promptState:fe,showDiffs:i.showDiffs})})},_.id)})})]},S.key)})}),E?m.jsx(bz,{version:j?.version,onLogs:()=>{h(!1),A(!0)},onClose:()=>h(!1)}):null,y?m.jsx(Oz,{onClose:()=>C(!1)}):null,T?m.jsx(Xz,{live:z,selectedId:e,onOpen:(S,Q)=>{F(!1),U(S,Q)},onClose:()=>F(!1)}):null,b?m.jsx(Nz,{onClose:()=>A(!1)}):null,v?m.jsx($z,{onClose:()=>k(!1)}):null]})}function tL({status:e}){if(!e)return null;const n=Qd[e];return n?m.jsx("span",{className:"dot size-2",style:{background:n}}):m.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function nL({repos:e,view:n,onClose:a}){const i=Ae(s=>s.setView);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed inset-0 z-20",onClick:a,"aria-hidden":!0}),m.jsxs("div",{className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[m.jsx(Ns,{id:"view-group",label:"Group by",children:m.jsx(c8,{id:"view-group",value:n.groupBy,onChange:s=>i({groupBy:s}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),m.jsx(rL,{repos:e,selected:n.repos,onChange:s=>i({repos:s})}),m.jsx(Ns,{id:"view-sort",label:"Sort by",children:m.jsx(c8,{id:"view-sort",value:n.sortBy,onChange:s=>i({sortBy:s}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),m.jsx(Ns,{id:"view-hide-merged",label:"Hide merged",children:m.jsx(o8,{id:"view-hide-merged",checked:n.hideMerged,label:"Hide workspaces whose PR has merged",onChange:s=>i({hideMerged:s})})}),m.jsx(Ns,{id:"view-hide-done",label:"Hide done",children:m.jsx(o8,{id:"view-hide-done",checked:n.hideDone,label:"Hide workspaces marked Done",onChange:s=>i({hideDone:s})})})]})]})}function rL({repos:e,selected:n,onChange:a}){const[i,s]=D.useState(!1);return m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx(Ns,{id:"view-repo",label:"Repo",children:m.jsxs("button",{id:"view-repo",type:"button",onClick:()=>s(c=>!c),"aria-expanded":i,"aria-controls":"view-repo-options",className:"flex max-w-36 items-center gap-1 rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text",children:[m.jsx("span",{className:"truncate",children:ml(n)}),m.jsx(ua,{size:14,className:Ce("shrink-0 text-faint transition-transform",i&&"rotate-180")})]})}),i?m.jsx("div",{id:"view-repo-options",className:"flex max-h-48 flex-col overflow-y-auto rounded-lg border border-border bg-surface-2 py-0.5",children:m.jsx(P5,{repos:e,selected:n,onChange:a})}):null]})}function o8({id:e,checked:n,label:a,onChange:i}){return m.jsx("button",{id:e,type:"button",role:"switch","aria-checked":n,"aria-label":a,onClick:()=>i(!n),className:Ce("relative h-6 w-11 shrink-0 rounded-full transition-colors",n?"bg-accent":"border border-border bg-surface-2"),children:m.jsx("span",{className:Ce("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",n?"translate-x-5":"translate-x-0")})})}function Ns({id:e,label:n,children:a}){return m.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[m.jsx("label",{htmlFor:e,children:n}),a]})}function c8({id:e,value:n,options:a,onChange:i}){return m.jsx("select",{id:e,value:n,onChange:s=>i(s.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text",children:a.map(([s,c])=>m.jsx("option",{value:s,children:c},s))})}function aL(e,n){return e?.length?e.find(i=>i.agentType===(n??"unknown"))?.models??[...new Set(e.flatMap(i=>i.models))]:[]}function iL({w:e,unread:n,selected:a,modelGroups:i,promptState:s,showDiffs:c}){const x=V2(e.model,aL(i,e.agent_type));return m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"relative shrink-0",children:[m.jsx(Hs,{icon:e.icon,name:e.repo_name||zr(e),artwork:"full-bleed"}),m.jsx(rw,{w:e,promptState:s,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"})]}),m.jsxs("div",{className:"min-w-0 flex-1 space-y-1.25 overflow-hidden",children:[m.jsxs("div",{className:"flex min-w-0 items-center justify-between gap-2",children:[m.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[m.jsx("span",{className:Ce("min-w-0 truncate text-sm leading-none",n?"font-bold":"font-medium",n||a?"text-text":"text-muted"),children:zr(e)}),e.pinned_at?m.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,n>1?m.jsx(lw,{children:n}):n?m.jsx("span",{className:"dot size-2 bg-accent"}):null]}),c?m.jsx(az,{stats:e.change_stats}):null]}),m.jsxs("div",{className:"flex min-w-0 items-end gap-2 text-xs text-muted",children:[m.jsx("span",{className:"shrink-0 text-[11px] text-faint",children:X2(e.updated_at)}),x?m.jsxs("span",{className:"ml-auto flex min-w-0 items-center gap-1 text-[11px]",children:[m.jsx(Ef,{agentType:e.agent_type,model:e.model,className:"size-3"}),m.jsx("span",{className:"truncate",children:x})]}):null]})]})]})}function lL(){CD();const e=Ae(n=>n.token);return m.jsxs(m.Fragment,{children:[m.jsx(cD,{}),e?m.jsxs(Uy,{children:[m.jsxs(_s,{element:m.jsx(sL,{}),children:[m.jsx(_s,{index:!0,element:m.jsx(oL,{})}),m.jsx(_s,{path:"/w/:workspaceId",element:m.jsx(GO,{})})]}),m.jsx(_s,{path:"*",element:m.jsx(zy,{to:"/",replace:!0})})]}):m.jsx(nz,{})]})}function sL(){const e=yy("/w/:workspaceId"),n=Ae(s=>s.sidebarOpen),a=Ae(s=>s.setSidebarOpen),i=D.useRef(null);return yD(i),zD(),TD(),bD(),m.jsxs("div",{className:"flex h-full overflow-hidden",children:[n?m.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,m.jsx("aside",{ref:i,className:Ce("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",n?"translate-x-0":"-translate-x-full"),children:m.jsx(eL,{selectedId:e?.params.workspaceId})}),m.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:m.jsx(Ly,{})})]})}function oL(){const e=Ae(n=>n.setSidebarOpen);return m.jsxs("div",{className:"grid h-full place-items-center",children:[m.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),m.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});xz();const cL=new E4({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),U5=document.getElementById("root");if(!U5)throw new Error("#root missing");O4.createRoot(U5).render(m.jsx(D.StrictMode,{children:m.jsx(y4,{client:cL,children:m.jsx(u7,{children:m.jsx(lL,{})})})}));
|