conductor-remote 1.110.0 → 1.111.0
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/README.md +3 -3
- package/dist/assets/{PierrePatch-YcYgYId9.js → PierrePatch-QISkVnaE.js} +1 -1
- package/dist/assets/{index-Bi66ei7k.js → index-Dg6_e4df.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/dist-node/src/server.js +46 -3
- package/dist-node/src/voice/brief.js +157 -10
- package/dist-node/src/voice/preview.js +49 -6
- package/dist-node/src/voice/prompt.js +3 -1
- package/dist-node/src/voice/tools.js +164 -7
- package/docs/voice-setup.md +22 -10
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),s0=ye,St=Ve),ct===void
|
|
|
43
43
|
`),1;if(Ul>1e5&&Ul>Le.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Mt+=Je,Je.length}const F0=v0(ye);if(!F0)throw ke(Dt.replace("{}",ye)),new Error('Unknown language: "'+ye+'"');const ys=Kt(F0);let Yr="",Ye=St||ys;const bs={},d0=new Ne.__emitter(Ne);Il();let Mt="",ja=0,ca=0,Ul=0,Ta=!1;try{if(F0.__emitTokens)F0.__emitTokens(Ve,d0);else{for(Ye.matcher.considerAll();;){Ul++,Ta?Ta=!1:Ye.matcher.considerAll(),Ye.matcher.lastIndex=ca;const Ae=Ye.matcher.exec(Ve);if(!Ae)break;const Le=Ve.substring(ca,Ae.index),Je=Qr(Le,Ae);ca=Ae.index+Je}Qr(Ve.substring(ca))}return d0.finalize(),Yr=d0.toHTML(),{language:ye,value:Yr,relevance:ja,illegal:!1,_emitter:d0,_top:Ye}}catch(Ae){if(Ae.message&&Ae.message.includes("Illegal"))return{language:ye,value:w0(Ve),illegal:!0,relevance:0,_illegalBy:{message:Ae.message,index:ca,context:Ve.slice(ca-100,ca+100),mode:Ae.mode,resultSoFar:Yr},_emitter:d0};if(jt)return{language:ye,value:w0(Ve),illegal:!1,relevance:0,errorRaised:Ae,_emitter:d0,_top:Ye};throw Ae}}function ia(ye){const Ve={value:w0(ye),illegal:!1,relevance:0,_top:Oe,_emitter:new Ne.__emitter(Ne)};return Ve._emitter.addText(ye),Ve}function Qn(ye,Ve){Ve=Ve||Ne.languages||Object.keys(ue);const ct=ia(ye),St=Ve.filter(v0).filter(a0).map(Ut=>yn(Ut,ye,!1));St.unshift(ct);const s0=St.sort((Ut,nn)=>{if(Ut.relevance!==nn.relevance)return nn.relevance-Ut.relevance;if(Ut.language&&nn.language){if(v0(Ut.language).supersetOf===nn.language)return 1;if(v0(nn.language).supersetOf===Ut.language)return-1}return 0}),[z0,tn]=s0,I0=z0;return I0.secondBest=tn,I0}function bn(ye,Ve,ct){const St=Ve&&Be[Ve]||ct;ye.classList.add("hljs"),ye.classList.add(`language-${St}`)}function Xt(ye){let Ve=null;const ct=e0(ye);if(qe(ct))return;if(xr("before:highlightElement",{el:ye,language:ct}),ye.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ye);return}if(ye.children.length>0&&(Ne.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(ye)),Ne.throwUnescapedHTML))throw new gn("One of your code blocks includes unescaped HTML.",ye.innerHTML);Ve=ye;const St=Ve.textContent,s0=ct?Lt(St,{language:ct,ignoreIllegals:!0}):Qn(St);ye.innerHTML=s0.value,ye.dataset.highlighted="yes",bn(ye,ct,s0.language),ye.result={language:s0.language,re:s0.relevance,relevance:s0.relevance},s0.secondBest&&(ye.secondBest={language:s0.secondBest.language,relevance:s0.secondBest.relevance}),xr("after:highlightElement",{el:ye,result:s0,text:St})}function u0(ye){Ne=la(Ne,ye)}const Ln=()=>{ge(),se("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function sa(){ge(),se("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Zr=!1;function ge(){function ye(){ge()}if(document.readyState==="loading"){Zr||window.addEventListener("DOMContentLoaded",ye,!1),Zr=!0;return}document.querySelectorAll(Ne.cssSelector).forEach(Xt)}function b0(ye,Ve){let ct=null;try{ct=Ve(I)}catch(St){if(ke("Language definition for '{}' could not be registered.".replace("{}",ye)),jt)ke(St);else throw St;ct=Oe}ct.name||(ct.name=ye),ue[ye]=ct,ct.rawDefinition=Ve.bind(null,I),ct.aliases&&Pn(ct.aliases,{languageName:ye})}function V0(ye){delete ue[ye];for(const Ve of Object.keys(Be))Be[Ve]===ye&&delete Be[Ve]}function Wt(){return Object.keys(ue)}function v0(ye){return ye=(ye||"").toLowerCase(),ue[ye]||ue[Be[ye]]}function Pn(ye,{languageName:Ve}){typeof ye=="string"&&(ye=[ye]),ye.forEach(ct=>{Be[ct.toLowerCase()]=Ve})}function a0(ye){const Ve=v0(ye);return Ve&&!Ve.disableAutodetect}function Gn(ye){ye["before:highlightBlock"]&&!ye["before:highlightElement"]&&(ye["before:highlightElement"]=Ve=>{ye["before:highlightBlock"](Object.assign({block:Ve.el},Ve))}),ye["after:highlightBlock"]&&!ye["after:highlightElement"]&&(ye["after:highlightElement"]=Ve=>{ye["after:highlightBlock"](Object.assign({block:Ve.el},Ve))})}function x0(ye){Gn(ye),Ze.push(ye)}function gs(ye){const Ve=Ze.indexOf(ye);Ve!==-1&&Ze.splice(Ve,1)}function xr(ye,Ve){const ct=ye;Ze.forEach(function(St){St[ct]&&St[ct](Ve)})}function oa(ye){return se("10.7.0","highlightBlock will be removed entirely in v12.0"),se("10.7.0","Please use highlightElement now."),Xt(ye)}Object.assign(I,{highlight:Lt,highlightAuto:Qn,highlightAll:ge,highlightElement:Xt,highlightBlock:oa,configure:u0,initHighlighting:Ln,initHighlightingOnLoad:sa,registerLanguage:b0,unregisterLanguage:V0,listLanguages:Wt,getLanguage:v0,registerAliases:Pn,autoDetection:a0,inherit:la,addPlugin:x0,removePlugin:gs}),I.debugMode=function(){jt=!1},I.safeMode=function(){jt=!0},I.versionString=kt,I.regex={concat:k,lookahead:y,either:B,optional:v,anyNumberOfTimes:b};for(const ye in et)typeof et[ye]=="object"&&e(et[ye]);return Object.assign(I,et),I},D0=qn({});return D0.newInstance=()=>qn({}),ru=D0,D0.HighlightJS=D0,D0.default=D0,ru}var SO=FO();const MO=os(SO),z4={},NO="hljs-";function _O(e){const t=MO.newInstance();return e&&o(e),{highlight:a,highlightAuto:l,listLanguages:s,register:o,registerAlias:c,registered:d};function a(f,h,m){const p=m||z4,y=typeof p.prefix=="string"?p.prefix:NO;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:jO,classPrefix:y});const b=t.highlight(h,{ignoreIllegals:!0,language:f});if(b.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:b.errorRaised});const v=b._emitter.root,k=v.data;return k.language=b.language,k.relevance=b.relevance,v}function l(f,h){const p=(h||z4).subset||s();let y=-1,b=0,v;for(;++y<p.length;){const k=p[y];if(!t.getLanguage(k))continue;const C=a(k,f,h);C.data&&C.data.relevance!==void 0&&C.data.relevance>b&&(b=C.data.relevance,v=C)}return v||{type:"root",children:[],data:{language:void 0,relevance:b}}}function s(){return t.listLanguages()}function o(f,h){if(typeof f=="string")t.registerLanguage(f,h);else{let m;for(m in f)Object.hasOwn(f,m)&&t.registerLanguage(m,f[m])}}function c(f,h){if(typeof f=="string")t.registerAliases(typeof h=="string"?h:[...h],{languageName:f});else{let m;for(m in f)if(Object.hasOwn(f,m)){const p=f[m];t.registerAliases(typeof p=="string"?p:[...p],{languageName:m})}}}function d(f){return!!t.getLanguage(f)}}class jO{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const a=this.stack[this.stack.length-1],l=a.children[a.children.length-1];l&&l.type==="text"?l.value+=t:a.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,a){const l=this.stack[this.stack.length-1],s=t.root.children;a?l.children.push({type:"element",tagName:"span",properties:{className:[a]},children:s}):l.children.push(...s)}openNode(t){const a=this,l=t.split(".").map(function(c,d){return d?c+"_".repeat(d):a.options.classPrefix+c}),s=this.stack[this.stack.length-1],o={type:"element",tagName:"span",properties:{className:l},children:[]};s.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const R4=_O({bash:nO,css:xO,ini:dO,javascript:gO,json:bO,markdown:vO,python:CO,sql:kO,typescript:BO,xml:wO,yaml:DO}),Th={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"},TO={...Th,shell:"bash",console:"bash",javascript:"javascript",typescript:"typescript",python:"python",yaml:"yaml",json:"json",sql:"sql"},zO={Bash:"bash"};function RO(e){return(e&&zO[e])??null}function zh(e){const t=e.slice(e.lastIndexOf("/")+1),a=t.lastIndexOf(".");return a<1?null:Th[t.slice(a+1).toLowerCase()]??null}function OO(e,t){return e==="Read"&&t?zh(t):null}function LO(e){const t=e?.match(/(?:^|\s)language-([\w+-]+)/)?.[1];return t?TO[t.toLowerCase()]??null:null}function Rh(e,t){return!t||!R4.registered(t)?null:R4.highlight(t,e).children.filter(PO)}function PO(e){return e.type==="element"||e.type==="text"}function GO(e,t){const a=Rh(e,t);return a?Oh(a):null}function Oh(e){const t=[[]];for(const a of e){const l=HO(a);t[t.length-1].push(...l[0]);for(let s=1;s<l.length;s++)t.push(l[s])}return t}function HO(e){if(e.type==="text")return e.value.split(`
|
|
44
44
|
`).map(a=>a?[{type:"text",value:a}]:[]);if(e.type!=="element")return[[e]];const t=e;return Oh(t.children).map(a=>a.length?[{...t,children:a}]:[])}function Wx({nodes:e}){return x.jsx(x.Fragment,{children:e.map((t,a)=>{if(t.type==="text")return t.value;if(t.type!=="element")return null;const l=t.properties?.className;return x.jsx("span",{className:Array.isArray(l)?l.join(" "):void 0,children:x.jsx(Wx,{nodes:t.children})},a)})})}const Lh=w.memo(function({text:t,language:a}){const l=w.useMemo(()=>Rh(t,a),[t,a]);return l?x.jsx(Wx,{nodes:l}):t});function Ph({preview:e,lineRef:t}){const a=zh(e.path),{text:l,tokens:s}=w.useMemo(()=>{const o=e.content.split(`
|
|
45
45
|
`),c=GO(e.content,a);return{text:o,tokens:c?.length===o.length?c:null}},[e.content,a]);return x.jsxs(x.Fragment,{children:[x.jsx("pre",{className:"min-w-max p-3 font-mono text-[11.5px] leading-[1.5] text-muted",children:l.map((o,c)=>{const d=e.lineStart+c,f=d===e.line,h=s?.[c];return x.jsxs("div",{ref:f?t:void 0,className:pe("grid grid-cols-[auto_1fr] gap-3 whitespace-pre",f&&"rounded bg-accent-soft text-text"),children:[x.jsx("span",{className:"select-none text-right text-faint",children:d}),x.jsx("code",{children:h?.length?x.jsx(Wx,{nodes:h}):o||" "})]},d)})}),x.jsx(Gh,{preview:e})]})}function Gh({preview:e}){return e.truncated?x.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}async function VO(e){if(navigator.clipboard?.writeText)return navigator.clipboard.writeText(e);const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.cssText="position:fixed;opacity:0",document.body.append(t),t.select();const a=document.execCommand("copy");if(t.remove(),!a)throw new Error("Clipboard unavailable")}function O4(e){return e.endsWith(".0")?e.slice(0,-2):e}function Xo(e){return e>=1e6?`${O4((e/1e6).toFixed(e<1e7?1:0))}M`:e>=1e3?`${O4((e/1e3).toFixed(e<1e5?1:0))}k`:String(e)}function L4(e,t){if(e<=0||t<=0)return"0%";const a=e/t*100;return a<1?"<1%":`${Math.round(a)}%`}function IO(e){const t=[],a=e.split(ZD);for(let l=0;l<a.length;l++){const s=a[l];if(l===0){s&&t.push({text:s,hit:!1});continue}const o=s.indexOf($D);if(o<0){s&&t.push({text:s,hit:!0});continue}const c=s.slice(0,o),d=s.slice(o+1);c&&t.push({text:c,hit:!0}),d&&t.push({text:d,hit:!1})}return t}function Hh(e){return e.state==="setting_up"}const UO={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 ZO(e){return Hh(e)?{color:"var(--color-muted)",spinning:!0}:{color:e.pr_status&&UO[e.pr_status]||"var(--color-done)",spinning:e.session_status==="working"||e.pr_status==="checks_pending"}}function $O(e){return e.pr_status==="merged"}function qO(e){return B1(e)==="done"}function B1(e){return Hh(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const P4=["done","in-review","in-progress","setting-up","backlog","canceled"],Vh=["backlog","in-progress","in-review","done","canceled"];function u1(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const QO=["today","yesterday","week","month","older"];function YO(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function G4(e){const t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function KO(e,t=new Date){const a=new Date(J0(e));if(!Number.isFinite(a.getTime()))return"older";const l=Math.round((G4(t)-G4(a))/864e5);return l<=0?"today":l===1?"yesterday":l<7?"week":l<30?"month":"older"}const Jx={done:"var(--color-pr-merged)","in-review":"var(--color-pr-mergeable)","in-progress":"var(--color-done)","setting-up":"var(--color-muted)"};function ed(e,t=120){const l=(e.split(`
|
|
46
|
-
`).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return l.length>t?`${l.slice(0,t-1)}…`:l}function td(e){const t=Math.max(0,Math.floor(e/1e3)),a=t%60,l=Math.floor(t/60)%60,s=Math.floor(t/3600),o=c=>String(c).padStart(2,"0");return s?`${s}h ${o(l)}m ${o(a)}s`:l?`${l}m ${o(a)}s`:`${a}s`}const XO=6e4,WO=60*XO,JO=24*WO,eL=7*JO;function Ih(e){return e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"})}function Uh(e,t){return`${e.toLocaleDateString(void 0,{month:"short",day:"numeric",...e.getFullYear()===t.getFullYear()?{}:{year:"numeric"}})}, ${Ih(e)}`}function tL(e){const t=new Date(J0(e));if(!Number.isFinite(t.getTime()))return"";const a=new Date;return t.toDateString()===a.toDateString()?Ih(t):Uh(t,a)}function nL(e,t=Date.now()){const a=new Date(J0(e)),l=t-a.getTime();return Number.isFinite(l)?l>=eL?Uh(a,new Date(t)):$h(e,t):""}function Zh(e){const t=J0(e);if(!Number.isFinite(t))return"";const a=Math.round((Date.now()-t)/1e3);if(a<45)return"now";if(a<90)return"1m";const l=Math.round(a/60);if(l<60)return`${l}m`;const s=Math.round(l/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}let Nr;function $h(e,t=Date.now()){const a=J0(e);if(!Number.isFinite(a))return"";const l=Math.round((t-a)/1e3);if(l<45)return"now";if(Nr??=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),l<90)return Nr.format(-1,"minute");const s=Math.round(l/60);if(s<60)return Nr.format(-s,"minute");const o=Math.round(s/60);if(o<24)return Nr.format(-o,"hour");const c=Math.round(o/24);if(c<30)return Nr.format(-c,"day");const d=Math.round(c/30.4);return d<12?Nr.format(-d,"month"):Nr.format(-Math.round(c/365),"year")}function aL(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}const rL={activity:Nb,anchor:jb,apple:zb,atom:Yb,award:Xb,banknote:Jb,battery:tv,beer:av,bell:t9,bike:iv,bird:ov,bluetooth:uv,book:hv,"book-open":dv,bookmark:mv,bot:n9,box:yv,brain:vv,briefcase:kv,brush:Bv,bug:Sv,"bug-play":Dv,building:jv,"building-2":Nv,cake:zv,calendar:Ov,camera:Pv,car:Hv,carrot:Iv,cat:Zv,"chart-bar":qv,"chart-line":Yv,"chart-pie":a9,clapperboard:oC,clock:l9,cloud:pC,code:yC,"code-xml":gC,coffee:vC,cog:kC,compass:BC,cpu:FC,"credit-card":MC,crown:_C,database:TC,dna:RC,dog:LC,"dollar-sign":GC,dumbbell:VC,egg:$C,factory:KC,feather:WC,file:ak,"file-code":ek,film:lk,fish:sk,flag:ck,flame:xk,"flask-conical":fk,folder:mk,"gamepad-2":bk,gem:kk,gift:Bk,"git-branch":Sk,github:jk,glasses:zk,globe:Ok,"graduation-cap":Pk,"grid-3x3":Hk,hammer:Ik,headphones:Zk,heart:Yk,"heart-pulse":qk,house:Wk,image:eA,key:rA,laptop:iA,"layout-grid":uA,layers:oA,leaf:hA,lightbulb:mA,link:EA,lock:AA,mail:FA,map:c9,"map-pin":MA,martini:jA,medal:zA,"message-circle":OA,"message-square":HA,mic:u9,microscope:$A,monitor:KA,moon:x9,music:JA,orbit:tB,package:aB,paintbrush:lB,paperclip:mx,"paw-print":uB,pen:dB,pencil:hB,phone:yB,pill:vB,pipette:kB,pizza:BB,plane:DB,plug:MB,power:jB,puzzle:zB,rabbit:LB,radio:GB,rocket:IB,ruler:QB,salad:$B,satellite:KB,scissors:ew,server:sw,settings:cw,shell:xw,shield:hw,ship:mw,"shopping-bag":Ew,"shopping-cart":bw,smartphone:kw,snail:Bw,soup:Sw,sparkles:Nw,sprout:jw,star:wu,stethoscope:Ow,store:Pw,sun:gx,tag:Iw,tags:Zw,target:qw,telescope:Yw,terminal:Xw,ticket:Jw,"train-front":tD,"tree-pine":lD,"trending-up":sD,trophy:uD,turtle:dD,user:hD,users:mD,utensils:ED,video:bD,wallet:CD,"wand-2":hf,"wand-sparkles":hf,warehouse:BD,wheat:SD,wifi:g9,wine:jD,wrench:RD,zap:yx};function qh({state:e,color:t="var(--color-working)",className:a}){return e==="failed"?x.jsx("span",{className:pe("dot-error",a),role:"img","aria-label":"Send failed","data-prompt-state":"failed",children:x.jsx(A0,{size:8,strokeWidth:3,"aria-hidden":!0})}):x.jsx("span",{className:pe("dot-spinner",a),style:{"--spin-color":t},role:"img","aria-label":"Prompt pending","data-prompt-state":"sending"})}function lL({w:e,promptState:t,className:a}){const{color:l,spinning:s}=ZO(e);return t?x.jsx(qh,{state:t,color:l,className:a}):s?x.jsx("span",{className:pe("dot-spinner",a),style:{"--spin-color":l}}):x.jsx("span",{className:pe("dot",a),style:{background:l}})}function iL({className:e}){return x.jsx("span",{className:pe("flex size-3 items-center justify-center rounded-full bg-surface text-add ring-2 ring-surface",e),role:"img","aria-label":"Run active",children:x.jsx(Au,{size:7,strokeWidth:0,fill:"currentColor","aria-hidden":!0})})}function sL(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s`;const a=Math.round(t/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function oL(){const e=be(c=>c.online),t=be(c=>c.lastSyncAt),a=be(c=>c.update),l=a?.mode==="auto"&&a.available,[s,o]=w.useState(()=>Date.now());return w.useEffect(()=>{if(e)return;const c=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(c)},[e]),l?x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[x.jsx(ds,{size:13,className:"animate-spin"}),x.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx(Ex,{size:13}),x.jsxs("span",{children:["Offline — retrying…",t?` last synced ${sL(s-t)} ago`:""]})]})}function Ma({className:e}){const t=aL();return t?x.jsx("a",{href:t,className:pe("font-semibold text-accent underline underline-offset-2",e),children:"Unlock the Mac"}):null}function Qh({text:e,label:t,className:a,size:l=14}){const[s,o]=w.useState(!1),c=async()=>{try{await VO(e),o(!0),window.setTimeout(()=>o(!1),1800)}catch{o(!1)}};return x.jsx("button",{type:"button",onClick:()=>{c()},"aria-label":s?`Copied ${t}`:`Copy ${t}`,className:pe("flex items-center justify-center text-muted transition active:bg-surface-2",a),children:s?x.jsx(na,{size:l,className:"text-accent"}):x.jsx(fx,{size:l})})}function H4({children:e,className:t}){return x.jsx("span",{className:pe("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",t),children:e})}function cL({children:e}){return x.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 uL({error:e}){const t=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),l=!(e instanceof fn)||e.status===0;return t?x.jsxs(Qt,{children:[x.jsx(Ex,{size:20,className:"mx-auto mb-3 text-muted"}),x.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),x.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):x.jsxs(Qt,{children:[x.jsx(xC,{size:20,className:"mx-auto mb-3 text-del"}),x.jsx("div",{className:"font-medium text-text",children:l?"Can’t reach the relay":"The relay answered with an error"}),x.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),l?x.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[x.jsx("li",{children:"Is the Mac awake and online?"}),x.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",x.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."]}),x.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Qt({children:e}){return x.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function pn({label:e}){return x.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[x.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const Wo="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function is({icon:e,name:t,artwork:a}){const l=x.jsx("div",{className:pe(Wo,"text-xs"),children:(t.trim()[0]??"?").toUpperCase()});if(!e)return l;if(e.kind==="emoji")return x.jsx("div",{className:pe(Wo,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const s=rL[e.value];return s?x.jsx("div",{className:Wo,children:x.jsx(s,{size:18,className:"text-muted"})}):l}return e.kind==="github"?x.jsx(Yh,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",artwork:a,fallback:l}):x.jsx(xL,{repoName:t,artwork:a,fallback:l})}function Yh({src:e,fit:t,artwork:a,fallback:l}){const[s,o]=w.useState(!1);return s?x.jsx(x.Fragment,{children:l}):x.jsx("div",{className:pe(Wo,a==="inset"&&"p-1.5"),children:x.jsx("img",{src:e,alt:"",loading:"lazy",className:pe("size-full",a==="full-bleed"?"rounded-[inherit]":"rounded-sm",t==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function xL({repoName:e,artwork:t,fallback:a}){const{data:l,isError:s}=oS(e);return!e||s||!l?x.jsx(x.Fragment,{children:a}):x.jsx(Yh,{src:l,fit:"contain",artwork:t,fallback:a})}function nd({title:e,subtitle:t,actions:a,onClose:l,closeLabel:s}){return x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft bg-bg px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:e}),t?x.jsx("p",{className:"truncate font-mono text-xs text-muted",children:t}):null]}),a,x.jsx("button",{type:"button",onClick:l,"aria-label":s,className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",children:x.jsx(A0,{size:18})})]})}const dL=[qR,IT],Kh="conductor-attachment.invalid";function fL(e){const t=KD(e);if(!t.length)return e;let a="",l=0;for(const s of t){const o=s.name.replace(/[\\`*_[\]<>]/g,"\\$&");a+=`${e.slice(l,s.start)}[${o}](https://${Kh}/?path=${encodeURIComponent(s.path)})`,l=s.end}return a+e.slice(l)}function hL(e){if(!e)return null;try{const t=new URL(e);return t.hostname===Kh?t.searchParams.get("path"):null}catch{return null}}function Xh(e){const[t,a]=w.useState(null),[l,s]=w.useState(null);return w.useEffect(()=>{if(a(null),s(null),!e)return;let o=!1;return Fe.localImage(e).then(c=>{o||a(c)},c=>{o||s(c instanceof Error?c.message:"Image unavailable")}),()=>{o=!0}},[e]),{objectUrl:t,error:l}}function pL({src:e,alt:t,...a}){const l=kh(typeof e=="string"?e:null),{objectUrl:s,error:o}=Xh(l);return l?o?x.jsxs("span",{className:"my-2 block rounded-lg border border-del/30 px-3 py-2 text-xs text-del",children:[t||"Image"," unavailable: ",o]}):s?x.jsx("img",{src:s,alt:t??"",...a}):null:x.jsx("img",{src:e,alt:t??"",...a})}function Wh(e){if(!e?.startsWith("/"))return null;const t=e.match(/:([1-9]\d*)(?::\d+)?$/);return kx(t?e.slice(0,-t[0].length):e)?e:null}function qu({href:e,children:t,onClick:a,...l}){const s=hL(e),o=tO(s),c=kh(e??null),d=o?.kind==="image"?o.reference:c,f=Ch(e??null),h=o?.kind==="source"?o.reference:Wh(e)??f,m=d??h,[p,y]=w.useState(!1),b=d&&p?x.jsx(mL,{reference:d,onClose:()=>y(!1)}):h&&p?x.jsx(Jh,{reference:h,onClose:()=>y(!1)}):null;return e?s?x.jsxs(x.Fragment,{children:[x.jsxs("button",{type:"button",title:d?`Open image ${d}`:h?`Open ${h}`:s,disabled:!m,onClick:()=>y(!0),className:"inline-flex max-w-full items-center gap-1 rounded-md bg-surface-2 px-1.5 py-0.5 align-baseline text-[0.9em] font-medium text-muted transition hover:text-text focus-visible:outline-2 focus-visible:outline-accent active:bg-surface disabled:cursor-default",children:[x.jsx(mx,{size:12,className:"shrink-0"}),x.jsx("span",{className:"truncate",children:t})]}),b]}):x.jsxs(x.Fragment,{children:[x.jsx("a",{href:e,...l,title:d?`Open image ${d}`:l.title,onClick:v=>{a?.(v),!(!m||v.defaultPrevented||v.button!==0||v.metaKey||v.ctrlKey||v.shiftKey||v.altKey)&&(v.preventDefault(),y(!0))},children:t}),b]}):x.jsx("span",{title:l.title,children:t})}function mL({reference:e,onClose:t}){const{objectUrl:a,error:l}=Xh(e);return w.useEffect(()=>{const s=o=>{o.key==="Escape"&&t()};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)},[t]),aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Image preview",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(nd,{title:"Image",subtitle:e,onClose:t,closeLabel:"Close image preview"}),x.jsxs("div",{className:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-black/15 p-3",children:[!a&&!l?x.jsx(pn,{label:"Loading image…"}):null,l?x.jsxs("p",{className:"max-w-xs text-center text-sm text-muted",children:["Image unavailable: ",l]}):null,a?x.jsx("img",{src:a,alt:"",className:"max-h-full max-w-full rounded-lg object-contain shadow-2xl"}):null]})]})]}),document.body)}function Jh({reference:e,onClose:t}){const[a,l]=w.useState(null),[s,o]=w.useState(null),c=w.useRef(null);return w.useEffect(()=>{let d=!1;return l(null),o(null),Fe.filePreview(e).then(f=>{d||l(f)},f=>{d||o(f instanceof Error?f.message:"Could not read source file")}),()=>{d=!0}},[e]),w.useEffect(()=>{a?.line&&c.current?.scrollIntoView({block:"center"})},[a?.line]),w.useEffect(()=>{const d=f=>{f.key==="Escape"&&t()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[t]),aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Source file",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(nd,{title:"Source",subtitle:a?.path??e,onClose:t,closeLabel:"Close source preview"}),x.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[!a&&!s?x.jsx(pn,{label:"Reading source…"}):null,s?x.jsx("p",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:s}):null,a?gL(a.path)?x.jsx(EL,{preview:a}):x.jsx(Ph,{preview:a,lineRef:c}):null]})]})]}),document.body)}function gL(e){return e.toLowerCase().endsWith(".md")}function EL({preview:e}){return x.jsxs("div",{className:"p-4 text-sm leading-6 text-text",children:[x.jsx(or,{children:e.content}),x.jsx(Gh,{preview:e})]})}function yL({className:e,children:t,node:a,...l}){const s=LO(e),o=vL(t),c=Ch(e?null:o);return c?x.jsx(bL,{reference:c,...l,children:t}):x.jsx("code",{className:e,...l,children:s&&o!==null?x.jsx(Lh,{text:o,language:s}):t})}function bL({reference:e,children:t,...a}){const[l,s]=w.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",title:`Open ${e}`,onClick:()=>s(!0),className:"max-w-full align-baseline text-left",children:x.jsx("code",{...a,className:"text-accent underline decoration-dotted underline-offset-2",children:t})}),l?x.jsx(Jh,{reference:e,onClose:()=>s(!1)}):null]})}function vL(e){return typeof e=="string"?e:Array.isArray(e)&&e.every(t=>typeof t=="string")?e.join(""):null}function CL({node:e,children:t,...a}){const l=e?kL(e):"";return x.jsxs("div",{className:"relative",children:[x.jsx("pre",{...a,children:t}),l?x.jsx(Qh,{text:l,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 kL(e){let t="";const a=l=>{for(const s of l)s.type==="text"?t+=s.value:s.type==="element"&&a(s.children)};return a(e.children),t.replace(/\n$/,"")}const AL={a:qu,code:yL,img:pL,pre:CL},or=w.memo(function({children:t}){return x.jsx("div",{className:"md",children:x.jsx(_T,{remarkPlugins:dL,components:AL,children:fL(t)})})});function ad({state:e,label:t,meta:a,actions:l=[],align:s="right",children:o,className:c,dataUserMessage:d,dataMessageState:f}){const h=e==="failed";return x.jsxs("div",{className:pe("flex min-w-0 flex-col gap-1",s==="right"&&"items-end",s==="left"&&"items-start",s==="wide"&&"items-stretch"),...d?{"data-user-msg":d}:{},...f?{"data-msg-state":f}:{},children:[x.jsxs("div",{className:pe("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",s==="wide"?"w-full":"max-w-[85%]",s==="right"?"bg-accent-soft text-text":"bg-surface/60 text-text",h?"border border-del/40":"opacity-60",c),children:[t?x.jsx("div",{className:pe("mb-1 text-[10px] font-semibold uppercase tracking-wide",h?"text-del":"text-faint"),children:t}):null,o]}),h?x.jsxs("div",{className:pe("flex flex-wrap items-center gap-x-2 gap-y-1 px-1 text-[11px] text-del",s==="right"&&"justify-end"),children:[x.jsx(Vr,{size:11,className:"shrink-0"}),a?x.jsx("span",{className:"min-w-0 max-w-[70vw] truncate",children:a}):x.jsx("span",{children:"Didn’t finish"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:pe("underline underline-offset-2",m.primary?"font-semibold text-del":"text-faint"),children:m.label},m.label))]}):x.jsxs("div",{className:pe("flex min-w-0 items-center gap-1 px-1 text-[11px] text-faint",s==="right"&&"justify-end"),children:[x.jsx(T0,{size:11,className:"shrink-0 animate-spin"}),x.jsx("span",{className:"min-w-0 truncate",children:a??"Queued"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:pe("ml-1 underline underline-offset-2",m.primary&&"font-semibold text-accent"),children:m.label},m.label))]})]})}const rd={queued:"Queued",opening:"Opening",configuring:"Configuring",sending:"Sending",running:"Running",returning:"Returning Baton",returned:"Baton delivered",failed:"Failed"},BL={creating_workspace:"Creating workspace",binding_root:"Binding root",pending_root:"Root delivery pending",exploring:"Exploring",planning:"Planning",implementing:"Implementing",reviewing:"Reviewing",blocked:"Blocked",completed:"Completed",cancelled:"Cancelled"};function lu(e){return BL[e]}function iu(e){return e==="creating_workspace"||e==="binding_root"||e==="pending_root"}function V4(e){const t=[`${e.requested} requested`];return e.running&&t.push(`${e.running} running`),e.returned&&t.push(`${e.returned} returned`),e.failed&&t.push(`${e.failed} failed`),t.join(" · ")}function wL(e){return[e.model,e.effort,e.fast===void 0?void 0:e.fast?"Fast":"Fast off"].filter(Boolean).join(" · ")}function DL({name:e,role:t}){return x.jsxs("div",{className:"flex min-w-0 items-center gap-1.5 rounded-lg bg-surface-2 px-2 py-1.5 text-[11px]",children:[x.jsx(Lr,{agentType:t.agentType,model:t.model,className:"size-3.5 shrink-0"}),x.jsx("span",{className:"shrink-0 font-medium capitalize text-text",children:e}),x.jsx("span",{className:"truncate text-muted",children:wL(t)})]})}function FL({quarantine:e,className:t}){const a=WF(),[l,s]=w.useState(!1),[o,c]=w.useState(null);if(!e)return null;const d=async()=>{if(!l){s(!0),c(null);try{await a(e)}catch(f){c(f instanceof Error?f.message:String(f))}finally{s(!1)}}};return x.jsx("section",{"aria-label":"Conductor UI safety hold",role:"alert",className:pe("shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",t),children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Vr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"font-semibold text-del",children:"Automated Conductor UI writes are paused"}),x.jsx("p",{className:"mt-0.5 text-text",children:e.reason}),x.jsx("p",{className:"mt-1 text-muted",children:"Inspect Conductor on your Mac. Continue only when its window is stable and no UI action is still in flight."}),x.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap gap-x-2 text-[10px] text-faint",children:[x.jsx("span",{children:new Date(e.createdAt).toLocaleString()}),e.actionId?x.jsxs("span",{className:"max-w-full truncate",children:["Action · ",e.actionId]}):null,e.effectId?x.jsxs("span",{className:"max-w-full truncate",children:["Effect · ",e.effectId]}):null]}),x.jsxs("button",{type:"button",disabled:l,onClick:()=>{d()},className:"mt-2 flex min-h-9 items-center gap-1.5 rounded-lg bg-del px-3 py-1.5 font-semibold text-white disabled:opacity-50",children:[l?x.jsx(T0,{size:13,className:"animate-spin"}):x.jsx(h9,{size:13}),"I checked — Conductor is stable"]}),o?x.jsx("p",{className:"mt-1.5 text-del",role:"alert",children:o}):null]})]})})}function SL({warning:e}){return e?x.jsx("section",{"aria-label":"Workflow unavailable",role:"alert",className:"shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Vr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0",children:[x.jsx("div",{className:"font-semibold text-del",children:"Workflow is unavailable"}),x.jsx("p",{className:"mt-0.5 text-text",children:e})]})]})}):null}function ep({workflow:e,bootstrapJob:t,compact:a=!1}){const l=XF(),[s,o]=w.useState(null),[c,d]=w.useState(null),[f,h]=w.useState(!1),[m,p]=w.useState(!1),y=e.jobs.exploration,b=Math.max(0,y.requested-1),v=t?rd[t.status]:iu(e.phase)?"Waiting for root delivery":"Scheduled",k=async(C,B)=>{if(!s){o(C),d(null);try{await B(),h(!1),p(!1)}catch(N){d(N instanceof Error?N.message:String(N))}finally{o(null)}}};return x.jsxs("section",{"aria-label":`Workflow ${lu(e.phase)}`,className:pe("border-b border-border-soft bg-bg px-3 py-2",a&&"rounded-xl border"),children:[x.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[x.jsx("div",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-accent",children:e.phase==="blocked"?x.jsx(Vr,{size:15}):e.phase==="completed"?x.jsx(dx,{size:15}):e.phase==="cancelled"?x.jsx(A0,{size:15}):x.jsx(_l,{size:15})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[x.jsx("span",{className:"shrink-0 text-xs font-semibold text-text",children:iu(e.phase)?"Workflow accepted":lu(e.phase)}),iu(e.phase)?x.jsx("span",{className:"truncate text-[11px] text-muted",children:lu(e.phase)}):null]}),x.jsx("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted",children:e.objectiveExcerpt}),x.jsxs("div",{className:"mt-1 flex flex-wrap gap-x-3 gap-y-0.5 text-[11px] text-muted",children:[x.jsxs("span",{children:["Guaranteed explorer ·"," ",x.jsx("span",{className:t?.status==="failed"?"text-del":"text-text",children:v})]}),x.jsx("span",{children:b?`${b} extra explorer${b===1?"":"s"}`:"No extra explorers"})]})]})]}),x.jsx("div",{className:"mt-2 grid gap-1 min-[560px]:grid-cols-3",children:["planning","exploration","implementation"].map(C=>x.jsx(DL,{name:C,role:e.roles[C]},C))}),a?null:x.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-faint",children:[x.jsxs("span",{children:["Exploration · ",V4(e.jobs.exploration)]}),x.jsxs("span",{children:["Implementation · ",V4(e.jobs.implementation)]})]}),e.error?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs text-del",role:"alert",children:[x.jsx("div",{className:"font-medium",children:e.error.code}),x.jsx("div",{children:e.error.message})]}):null,c?x.jsx("div",{className:"mt-2 text-xs text-del",role:"alert",children:c}):null,e.actions.canAdopt&&e.adoption?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2",children:[x.jsxs("div",{className:"text-xs font-medium text-text",children:["Choose the ",e.adoption.kind," the relay observed"]}),e.adoption.candidates.length?x.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:e.adoption.candidates.map(C=>x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k(`adopt:${C.id}`,()=>l.adopt(e,C))},title:C.id,className:"rounded-lg border border-border bg-surface-2 px-2 py-1 text-left text-[11px] text-text disabled:opacity-50",children:[x.jsx("span",{className:"block font-medium",children:C.title}),x.jsxs("span",{className:"text-faint",children:[C.repo," · ",new Date(C.createdAt).toLocaleString()," · ",C.id.slice(0,8)]})]},C.id))}):x.jsx("div",{className:"mt-1 text-[11px] text-faint",children:"No candidate remains eligible."})]}):null,f?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-del",children:"The earlier UI action may already have happened. Replaying it can create a duplicate."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("replay",()=>l.replay(e))},className:"rounded-lg bg-del px-2 py-1 text-[11px] font-medium text-white disabled:opacity-50",children:"Confirm replay"}),x.jsx("button",{type:"button",onClick:()=>h(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep blocked"})]})]}):null,m?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-muted",children:"Cancel orchestration only. Existing chats, turns, and worktrees stay in place."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("cancel",()=>l.cancel(e))},className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Confirm cancel"}),x.jsx("button",{type:"button",onClick:()=>p(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep running"})]})]}):null,e.actions.canRetry||e.actions.canReplayAmbiguous||e.actions.canComplete||e.actions.canCancel?x.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[e.actions.canRetry?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("retry",()=>l.retry(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[s==="retry"?x.jsx(T0,{size:11,className:"animate-spin"}):x.jsx(d9,{size:11}),"Retry saved action"]}):null,e.actions.canReplayAmbiguous&&!f?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>h(!0),className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Review risky replay"}):null,e.actions.canComplete?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("complete",()=>l.complete(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[x.jsx(h9,{size:11})," Mark complete"]}):null,e.actions.canCancel&&!m?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>p(!0),className:"rounded-lg px-2 py-1 text-[11px] text-muted disabled:opacity-50",children:"Cancel workflow"}):null]}):null]})}function I4(e,t,a,l){const s=m=>l===null?!m:m===l,o=e.filter(m=>s(m.workflowId)),c=t.flatMap(m=>{const p=a[m.id],y=p?.delegationId;return y&&s(p.workflowId)?[{session:m,assignment:p,delegationId:y}]:[]}),d=new Map(c.map(m=>[m.delegationId,m])),f=new Set(o.map(m=>m.id)),h=o.map(m=>({key:`job:${m.id}`,order:m.createdAt,role:m.bootstrap?"Guaranteed explorer":m.role,model:m.resolvedRole.model,agentType:m.resolvedRole.agentType,childSessionId:m.childSessionId??d.get(m.id)?.session.id,status:rd[m.status],state:m.status==="failed"?"failed":m.status==="returned"?"done":"busy"}));for(const{session:m,assignment:p,delegationId:y}of c){if(f.has(y))continue;const b=!!m.background_tasks.length,v=m.status==="working";h.push({key:`session:${m.id}`,order:p.assignedAt,role:p.role,model:m.model,agentType:m.agent_type,childSessionId:m.id,...v?{status:"Running",state:"busy"}:b?{status:"Waiting",state:"waiting"}:{status:"Returned",state:"done"}})}return h.sort((m,p)=>m.order-p.order||m.key.localeCompare(p.key))}function U4({tabs:e,label:t,activeSessionId:a,onSelectSession:l}){return x.jsx(tp,{label:t,tabs:e.map(s=>{const o=s.childSessionId;return{key:s.key,label:s.role,model:s.model,agentType:s.agentType,status:s.status,state:s.state,selected:!!o&&o===a,...o?{onSelect:()=>l(o)}:{}}})})}function tp({tabs:e,label:t,parentSelected:a=!0}){return!a||!e.length?null:x.jsxs("nav",{"aria-label":t,className:"flex shrink-0 items-center gap-1.5 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:[t.startsWith("Legacy")?x.jsx("span",{className:"shrink-0 text-[10px] font-medium uppercase text-faint",children:"Legacy"}):null,e.map((l,s)=>{const o=l.state==="failed",c=x.jsxs(x.Fragment,{children:[x.jsx(Lr,{agentType:l.agentType,model:l.model,className:"size-3.5"}),x.jsx("span",{className:"max-w-28 truncate font-medium",children:l.label}),l.model?x.jsx("span",{className:"max-w-28 truncate text-faint",children:l.model}):null,l.status?x.jsxs("span",{className:pe("flex shrink-0 items-center gap-1",o?"text-del":"text-muted"),children:[l.state==="failed"?x.jsx(Vr,{size:10}):l.state==="waiting"?x.jsx(px,{size:10}):l.state==="done"?x.jsx(dx,{size:10}):x.jsx(T0,{size:10,className:"animate-spin"}),l.status]}):null]});return x.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[s?x.jsx(Ib,{size:11,className:"shrink-0 text-faint"}):null,l.onSelect?x.jsx("button",{type:"button",onClick:l.onSelect,"aria-current":l.selected?"page":void 0,className:pe("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px] active:bg-surface-2",l.selected&&"border-accent/50 bg-surface-2",o&&"border-del/40"),children:c}):x.jsx("div",{className:pe("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px]",o&&"border-del/40"),children:c})]},l.key)})]})}function ML({workflow:e,jobs:t,sessions:a=[],roles:l={},activeSessionId:s,onSelectSession:o}){const c=e?I4(t,a,l,e.id):[],d=e?t.find(h=>h.workflowId===e.id&&h.bootstrap):void 0,f=I4(t,a,l,null);return!e&&!f.length?null:x.jsxs(x.Fragment,{children:[e?x.jsx(ep,{workflow:e,bootstrapJob:d}):null,x.jsx(U4,{tabs:c,label:"Workflow jobs",activeSessionId:s,onSelectSession:o}),x.jsx(U4,{tabs:f,label:"Legacy delegated work",activeSessionId:s,onSelectSession:o})]})}function NL(e){return rd[e]}function _L({jobs:e,sessionId:t,onSelectSession:a,onDismiss:l,onOpenRoles:s}){if(!t)return null;const o=e.filter(c=>!c.workflowId&&(c.parentSessionId===t||c.childSessionId===t));return o.length?x.jsx(x.Fragment,{children:o.map(c=>{const d=c.parentSessionId===t,f=c.status==="failed",h=d?c.childSessionId:c.parentSessionId,m=[];return h&&m.push({label:d?"Open worker":"Open parent",onClick:()=>a(h)}),f&&(m.push({label:"Edit roles",onClick:s,primary:!0}),m.push({label:"Dismiss delegation",onClick:()=>l(c.id)})),x.jsx(ad,{state:f?"failed":"pending",align:"wide",label:`Legacy delegation · ${d?"Delegated":"Assigned"} · ${c.role} · ${c.resolvedRole.model}${c.resolvedRole.effort?` · ${c.resolvedRole.effort}`:""}`,meta:f?`${c.failure?.code??"failed"}: ${c.failure?.message??"The delegated job failed."}`:`${NL(c.status)}${c.attempts?` · attempt ${c.attempts+1}`:""}`,actions:m,dataMessageState:`delegation-${c.status}`,children:x.jsx(or,{children:c.prompt})},c.id)})}):null}const jL="modulepreload",TL=function(e){return"/"+e},Z4={},np=function(t,a,l){let s=Promise.resolve();if(a&&a.length>0){let f=function(h){return Promise.all(h.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");s=f(a.map(h=>{if(h=TL(h),h in Z4)return;Z4[h]=!0;const m=h.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const y=document.createElement("link");if(y.rel=m?"stylesheet":jL,m||(y.as="script"),y.crossOrigin="",y.href=h,d&&y.setAttribute("nonce",d),document.head.appendChild(y),m)return new Promise((b,v)=>{y.addEventListener("load",b),y.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(c){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=c,window.dispatchEvent(d),!d.defaultPrevented)throw c}return s.then(c=>{for(const d of c||[])d.status==="rejected"&&o(d.reason);return t().catch(o)})};function zL(e={}){const{immediate:t=!1,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e;let f,h,m;const p=async(b=!0)=>{await h,m?.()};async function y(){if("serviceWorker"in navigator){if(f=await np(async()=>{const{Workbox:b}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:b}},[]).then(({Workbox:b})=>new b("/sw.js",{scope:"/",type:"classic"})).catch(b=>{d?.(b)}),!f)return;m=()=>{f?.messageSkipWaiting()};{let b=!1;const v=()=>{b=!0,f?.addEventListener("controlling",k=>{k.isUpdate&&(a?a():window.location.reload())}),l?.()};f.addEventListener("installed",k=>{typeof k.isUpdate>"u"?typeof k.isExternal<"u"&&k.isExternal?v():!b&&s?.():k.isUpdate||s?.()}),f.addEventListener("waiting",v)}f.register({immediate:t}).then(b=>{c?c("/sw.js",b):o?.(b)}).catch(b=>{d?.(b)})}}return h=y(),p}function RL(e={}){const{immediate:t=!0,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e,[f,h]=w.useState(!1),[m,p]=w.useState(!1),[y]=w.useState(()=>zL({immediate:t,onNeedReload:a,onOfflineReady(){p(!0),s?.()},onNeedRefresh(){h(!0),l?.()},onRegistered:o,onRegisteredSW:c,onRegisterError:d}));return{needRefresh:[f,h],offlineReady:[m,p],updateServiceWorker:y}}const $4=6e4,OL=1e4,su="pwa-update-attempted-at",LL=2500,PL=30*6e4,Hi="pwa-update-snoozed-until";async function GL(){try{if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistrations();await Promise.all(t.map(a=>a.unregister()))}if("caches"in window){const t=await caches.keys();await Promise.all(t.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function HL(){const e=be(p=>p.token),t=w.useRef(null),a=w.useRef(!1),{needRefresh:[l,s],updateServiceWorker:o}=RL({onRegisteredSW(p,y){y&&(t.current=y,setInterval(()=>{y.update().catch(()=>{})},$4))}}),{data:c}=E0({queryKey:["state"],queryFn:()=>Fe.state(),enabled:!!e,refetchInterval:!1}),d=c?.version,f=w.useRef(null);if(w.useEffect(()=>{!d||d==="1.110.0"||f.current===d||(f.current=d,t.current?.update().catch(()=>{}))},[d]),w.useEffect(()=>{if(!l)return;const p=Number(sessionStorage.getItem(su));if(sessionStorage.removeItem(su),p&&Date.now()-p<OL){s(!1);return}const y=Number(sessionStorage.getItem(Hi));y&&Date.now()<y&&s(!1)},[l,s]),w.useEffect(()=>{if(l)return;const p=()=>{const b=Number(sessionStorage.getItem(Hi));!b||Date.now()<b||t.current?.waiting&&(sessionStorage.removeItem(Hi),s(!0))},y=window.setInterval(p,$4);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[l,s]),!l)return null;const h=()=>{sessionStorage.setItem(Hi,String(Date.now()+PL)),s(!1)},m=()=>{sessionStorage.removeItem(Hi),sessionStorage.setItem(su,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=t.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):o(!0),window.setTimeout(()=>{a.current||(a.current=!0,GL())},LL)};return x.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-40 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:[x.jsx(ds,{size:15,className:"shrink-0 text-accent"}),x.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),x.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),x.jsx("button",{type:"button",onClick:m,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-on-solid transition active:scale-95",children:"Update"})]})}const q4=["Workspace","View","App"],zl=P9(e=>({open:!1,setOpen:t=>e(a=>({open:typeof t=="function"?t(a.open):t})),sources:{},register:(t,a)=>e(l=>({sources:{...l.sources,[t]:a}})),unregister:t=>e(a=>{const{[t]:l,...s}=a.sources;return{sources:s}})}));function Q4(e){const t=q4.indexOf(e.group??"");return t===-1?q4.length:t}function ap(e){return Object.values(e).flat().map((t,a)=>({command:t,index:a})).sort((t,a)=>Q4(t.command)-Q4(a.command)||t.index-a.index).map(t=>t.command)}function VL(){const e=zl(t=>t.sources);return w.useMemo(()=>ap(e),[e])}function rp(e,t){const a=zl(s=>s.register),l=zl(s=>s.unregister);w.useEffect(()=>(a(e,t),()=>l(e)),[e,t,a,l])}function IL(e){const t=e.trimStart();return t.startsWith(">")?{commandsOnly:!0,query:t.slice(1).trim()}:{commandsOnly:!1,query:e}}function UL(e){return[e.group,e.label,...e.keywords??[]].filter(Boolean).join(" ").toLowerCase()}function ZL(e,t){const a=e.filter(o=>!o.hidden&&o.enabled!==!1),l=E9(t);if(!l.length)return a;const s=[];for(const o of a){if(!l.every(f=>UL(o).includes(f)))continue;const c=o.label.toLowerCase(),d=c.startsWith(l[0])?0:l.every(f=>c.includes(f))?1:2;s.push({command:o,rank:d})}return s.sort((o,c)=>o.rank-c.rank).map(o=>o.command)}function $L(e,t,a){if(e.key.toLowerCase()!==t.key.toLowerCase())return!1;const l=!!t.mod;return e.metaKey===(a&&l)&&e.ctrlKey===(!a&&l)&&e.shiftKey===!!t.shift&&e.altKey===!!t.alt}function qL(e,t,a){return e.find(l=>l.enabled!==!1&&!!l.shortcut&&$L(t,l.shortcut,a))}function QL(e,t){const a=e.key.length===1?e.key.toUpperCase():e.key;return t?[...e.alt?["⌥"]:[],...e.shift?["⇧"]:[],...e.mod?["⌘"]:[],a]:[...e.mod?["Ctrl"]:[],...e.alt?["Alt"]:[],...e.shift?["Shift"]:[],a]}function lp(e=typeof navigator>"u"?void 0:navigator){return/Mac|iPhone|iPad|iPod/i.test(`${e?.platform??""} ${e?.userAgent??""}`)}function YL(e){return e instanceof HTMLElement?e.isContentEditable||/^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName):!1}function KL(){w.useEffect(()=>{const e=lp(),t=a=>{if(a.isComposing||a.repeat||!(a.metaKey||a.ctrlKey||a.altKey)&&YL(a.target))return;const l=qL(ap(zl.getState().sources),a,e);l&&(a.preventDefault(),l.run())};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[])}function ip({children:e}){return x.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[e,x.jsx(oL,{})]})}function Qu({title:e,subtitle:t,menu:a,right:l}){const s=be(o=>o.setSidebarOpen);return x.jsx(ip,{children:x.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?x.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:x.jsx(sB,{size:20})}):x.jsx("span",{className:"w-1"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),t?x.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:t}):null]}),l]})})}function XL(e){for(let t=e.length-1;t>=0;t--){const a=e[t];if(a.role==="assistant")return a;if(a.role==="user")return null}return null}function Y4(e){const t=[];let a=null;for(const l of e)l.role==="assistant"?a=l:l.role==="user"&&(a&&t.push(a),a=null);return a&&t.push(a),t}function WL(e,t,a){const l=J0(t.ts);if(a&&J0(a)<l)return a;const s=e.lastIndexOf(t);for(let o=(s<0?e.length:s)-1;o>=0;o--)if(e[o].role==="user")return e[o].ts;return null}function JL(e){const t=new Map;for(const o of e)o.subagentLabel&&o.toolUseId&&!t.has(o.toolUseId)&&t.set(o.toolUseId,o);const a=new Map,l=new Set;for(const o of e){const c=o.parentToolUseId,d=c?t.get(c):void 0;if(!d||d===o)continue;const f=a.get(c)??[];f.push(o),a.set(c,f),l.add(o)}const s=(o,c)=>{const d=o.toolUseId;if(!d||c.has(d))return{e:o,children:[]};const f=new Set(c);return f.add(d),{e:o,children:(a.get(d)??[]).map(h=>s(h,f))}};return e.filter(o=>!l.has(o)).map(o=>s(o,new Set))}function eP(e){const t=[],a=new Set,l=s=>{const o=s.e.toolUseId,c=s.e.subagentLabel;o&&c&&!a.has(o)&&(a.add(o),t.push({id:o,label:c,node:s}));for(const d of s.children)l(d)};for(const s of e)l(s);return t.sort((s,o)=>s.node.e.rowid-o.node.e.rowid||s.id.localeCompare(o.id))}const tP=1500,nP=400,sp=12,aP=2,rP=sp+8,lP=2,iP=1.1,sP=200,oP=420,cP=.6,op=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,ou=(e,t,a)=>Math.min(a,Math.max(t,e)),uP=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=lP?e.scrollTop+e.clientHeight:e.scrollTop+rP,xP=(e,t)=>e.length===t.length&&e.every((a,l)=>a.top===t[l].top&&a.preview===t[l].preview);function dP(e,t,a){const l=ou(t,0,e.scrollHeight-e.clientHeight);if(op())return e.scrollTop=l,a(),()=>{};const s=e.clientHeight*iP;Math.abs(l-e.scrollTop)>s&&(e.scrollTop=ou(l+Math.sign(e.scrollTop-l)*s,0,e.scrollHeight-e.clientHeight));const o=e.scrollTop,c=l-o;if(!c)return a(),()=>{};const d=ou(Math.abs(c)*cP,sP,oP),f=performance.now();let h=0,m=!1;const p=()=>{m||(m=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=b=>{const v=Math.min(1,(b-f)/d);if(e.scrollTop=o+c*(1-(1-v)**5),v<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function fP({scroller:e}){const[t,a]=w.useState([]),[l,s]=w.useState(0),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=w.useRef([]),m=w.useRef(!1),p=w.useRef(!1),y=w.useRef(0),b=w.useRef(0),v=w.useRef(0),k=w.useRef(()=>{}),C=w.useCallback(()=>{p.current||(clearTimeout(y.current),m.current=!1,c(!1))},[]),B=w.useCallback(()=>{m.current=!0,c(!0),clearTimeout(y.current),y.current=window.setTimeout(C,tP)},[C]),N=w.useCallback(()=>{const T=e.current;if(!T)return;const H=T.getBoundingClientRect().top-T.scrollTop,Z=Array.from(T.querySelectorAll("[data-user-msg]"),J=>({top:J.getBoundingClientRect().top-H,preview:J.dataset.userMsg??"",ts:J.dataset.msgTs??null,state:J.dataset.msgState??null,node:J}));h.current=xP(h.current,Z)?h.current:Z,a(h.current),s(uP(T))},[e]),M=w.useCallback(()=>{v.current||(v.current=requestAnimationFrame(()=>{v.current=0,N()}))},[N]);w.useEffect(()=>{const T=e.current;if(!T)return;const H=()=>{b.current=performance.now()},Z=()=>{!m.current&&performance.now()-b.current>nP||a1()||(B(),M())},J=()=>{a1()&&C()};T.addEventListener("touchmove",H,{passive:!0}),T.addEventListener("wheel",H,{passive:!0}),T.addEventListener("scroll",Z,{passive:!0}),document.addEventListener("selectionchange",J);const W=()=>{m.current&&M()},$=new ResizeObserver(W);$.observe(T);const G=new MutationObserver(W);return G.observe(T,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{T.removeEventListener("touchmove",H),T.removeEventListener("wheel",H),T.removeEventListener("scroll",Z),document.removeEventListener("selectionchange",J),$.disconnect(),G.disconnect(),k.current(),v.current&&cancelAnimationFrame(v.current),clearTimeout(y.current)}},[e,B,C,M]);const S=T=>{const H=e.current,Z=h.current[T];H&&Z&&(k.current(),k.current=dP(H,Z.top-sp,()=>{op()||Z.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),B())},F=w.useCallback(()=>{p.current=!1,f(!1),B()},[B]);if(t.length<aP)return null;let D=-1;for(let T=0;T<t.length;T++)t[T].top<=l&&(D=T);const R=D>0?D-1:null,O=D+1<t.length?D+1:null,P=o||d;return x.jsxs(x.Fragment,{children:[x.jsx("div",{className:pe("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",P?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:x.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:B,className:pe("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",P?"pointer-events-auto":"pointer-events-none"),children:[x.jsx(K4,{dir:"up",onClick:()=>R!==null&&S(R),disabled:R===null}),x.jsxs("button",{type:"button",onClick:()=>{N(),p.current=!0,f(!0),B()},"aria-haspopup":"dialog","aria-expanded":d,"aria-label":`Your messages — ${t.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:[x.jsx(o9,{size:16,className:"shrink-0"}),x.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[x.jsx("span",{className:"text-text",children:D+1||"–"}),x.jsxs("span",{className:"text-muted",children:["/",t.length]})]})]}),x.jsx(K4,{dir:"down",onClick:()=>O!==null&&S(O),disabled:O===null})]})}),d?x.jsx(pP,{marks:t,current:D,onPick:T=>{F(),S(T)},onClose:F}):null]})}function hP({mark:e}){if(e.state==="failed")return x.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const t=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&Zh(e.ts);return t?x.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:t}):null}function K4({dir:e,onClick:t,disabled:a}){const l=e==="up"?aC:Na;return x.jsx("button",{type:"button",onClick:t,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:x.jsx(l,{size:19})})}function pP({marks:e,current:t,onPick:a,onClose:l}){const s=w.useRef(null),o=w.useRef(null);return w.useEffect(()=>{s.current?.focus({preventScroll:!0}),o.current?.scrollIntoView({block:"center"})},[]),x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:l,"aria-hidden":!0}),x.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:c=>c.key==="Escape"&&l(),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:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[x.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),x.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),x.jsx("button",{type:"button",onClick:l,"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:x.jsx(A0,{size:19})})]}),x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((c,d)=>x.jsxs("button",{ref:d===t?o:void 0,type:"button",onClick:()=>a(d),"aria-current":d===t?"true":void 0,className:pe("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===t&&"bg-surface-2/60"),children:[x.jsx("span",{className:pe("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",d===t?"text-accent":"text-muted"),children:d+1}),x.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:c.preview||"Empty message"}),x.jsx(hP,{mark:c})]},c.top))})]})]})}const mP=w.lazy(()=>np(()=>import("./PierrePatch-YcYgYId9.js"),[]));function cp(e){return e.patch.split(`
|
|
46
|
+
`).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return l.length>t?`${l.slice(0,t-1)}…`:l}function td(e){const t=Math.max(0,Math.floor(e/1e3)),a=t%60,l=Math.floor(t/60)%60,s=Math.floor(t/3600),o=c=>String(c).padStart(2,"0");return s?`${s}h ${o(l)}m ${o(a)}s`:l?`${l}m ${o(a)}s`:`${a}s`}const XO=6e4,WO=60*XO,JO=24*WO,eL=7*JO;function Ih(e){return e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"})}function Uh(e,t){return`${e.toLocaleDateString(void 0,{month:"short",day:"numeric",...e.getFullYear()===t.getFullYear()?{}:{year:"numeric"}})}, ${Ih(e)}`}function tL(e){const t=new Date(J0(e));if(!Number.isFinite(t.getTime()))return"";const a=new Date;return t.toDateString()===a.toDateString()?Ih(t):Uh(t,a)}function nL(e,t=Date.now()){const a=new Date(J0(e)),l=t-a.getTime();return Number.isFinite(l)?l>=eL?Uh(a,new Date(t)):$h(e,t):""}function Zh(e){const t=J0(e);if(!Number.isFinite(t))return"";const a=Math.round((Date.now()-t)/1e3);if(a<45)return"now";if(a<90)return"1m";const l=Math.round(a/60);if(l<60)return`${l}m`;const s=Math.round(l/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}let Nr;function $h(e,t=Date.now()){const a=J0(e);if(!Number.isFinite(a))return"";const l=Math.round((t-a)/1e3);if(l<45)return"now";if(Nr??=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),l<90)return Nr.format(-1,"minute");const s=Math.round(l/60);if(s<60)return Nr.format(-s,"minute");const o=Math.round(s/60);if(o<24)return Nr.format(-o,"hour");const c=Math.round(o/24);if(c<30)return Nr.format(-c,"day");const d=Math.round(c/30.4);return d<12?Nr.format(-d,"month"):Nr.format(-Math.round(c/365),"year")}function aL(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}const rL={activity:Nb,anchor:jb,apple:zb,atom:Yb,award:Xb,banknote:Jb,battery:tv,beer:av,bell:t9,bike:iv,bird:ov,bluetooth:uv,book:hv,"book-open":dv,bookmark:mv,bot:n9,box:yv,brain:vv,briefcase:kv,brush:Bv,bug:Sv,"bug-play":Dv,building:jv,"building-2":Nv,cake:zv,calendar:Ov,camera:Pv,car:Hv,carrot:Iv,cat:Zv,"chart-bar":qv,"chart-line":Yv,"chart-pie":a9,clapperboard:oC,clock:l9,cloud:pC,code:yC,"code-xml":gC,coffee:vC,cog:kC,compass:BC,cpu:FC,"credit-card":MC,crown:_C,database:TC,dna:RC,dog:LC,"dollar-sign":GC,dumbbell:VC,egg:$C,factory:KC,feather:WC,file:ak,"file-code":ek,film:lk,fish:sk,flag:ck,flame:xk,"flask-conical":fk,folder:mk,"gamepad-2":bk,gem:kk,gift:Bk,"git-branch":Sk,github:jk,glasses:zk,globe:Ok,"graduation-cap":Pk,"grid-3x3":Hk,hammer:Ik,headphones:Zk,heart:Yk,"heart-pulse":qk,house:Wk,image:eA,key:rA,laptop:iA,"layout-grid":uA,layers:oA,leaf:hA,lightbulb:mA,link:EA,lock:AA,mail:FA,map:c9,"map-pin":MA,martini:jA,medal:zA,"message-circle":OA,"message-square":HA,mic:u9,microscope:$A,monitor:KA,moon:x9,music:JA,orbit:tB,package:aB,paintbrush:lB,paperclip:mx,"paw-print":uB,pen:dB,pencil:hB,phone:yB,pill:vB,pipette:kB,pizza:BB,plane:DB,plug:MB,power:jB,puzzle:zB,rabbit:LB,radio:GB,rocket:IB,ruler:QB,salad:$B,satellite:KB,scissors:ew,server:sw,settings:cw,shell:xw,shield:hw,ship:mw,"shopping-bag":Ew,"shopping-cart":bw,smartphone:kw,snail:Bw,soup:Sw,sparkles:Nw,sprout:jw,star:wu,stethoscope:Ow,store:Pw,sun:gx,tag:Iw,tags:Zw,target:qw,telescope:Yw,terminal:Xw,ticket:Jw,"train-front":tD,"tree-pine":lD,"trending-up":sD,trophy:uD,turtle:dD,user:hD,users:mD,utensils:ED,video:bD,wallet:CD,"wand-2":hf,"wand-sparkles":hf,warehouse:BD,wheat:SD,wifi:g9,wine:jD,wrench:RD,zap:yx};function qh({state:e,color:t="var(--color-working)",className:a}){return e==="failed"?x.jsx("span",{className:pe("dot-error",a),role:"img","aria-label":"Send failed","data-prompt-state":"failed",children:x.jsx(A0,{size:8,strokeWidth:3,"aria-hidden":!0})}):x.jsx("span",{className:pe("dot-spinner",a),style:{"--spin-color":t},role:"img","aria-label":"Prompt pending","data-prompt-state":"sending"})}function lL({w:e,promptState:t,className:a}){const{color:l,spinning:s}=ZO(e);return t?x.jsx(qh,{state:t,color:l,className:a}):s?x.jsx("span",{className:pe("dot-spinner",a),style:{"--spin-color":l}}):x.jsx("span",{className:pe("dot",a),style:{background:l}})}function iL({className:e}){return x.jsx("span",{className:pe("flex size-3 items-center justify-center rounded-full bg-surface text-add ring-2 ring-surface",e),role:"img","aria-label":"Run active",children:x.jsx(Au,{size:7,strokeWidth:0,fill:"currentColor","aria-hidden":!0})})}function sL(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s`;const a=Math.round(t/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function oL(){const e=be(c=>c.online),t=be(c=>c.lastSyncAt),a=be(c=>c.update),l=a?.mode==="auto"&&a.available,[s,o]=w.useState(()=>Date.now());return w.useEffect(()=>{if(e)return;const c=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(c)},[e]),l?x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[x.jsx(ds,{size:13,className:"animate-spin"}),x.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx(Ex,{size:13}),x.jsxs("span",{children:["Offline — retrying…",t?` last synced ${sL(s-t)} ago`:""]})]})}function Ma({className:e}){const t=aL();return t?x.jsx("a",{href:t,className:pe("font-semibold text-accent underline underline-offset-2",e),children:"Unlock the Mac"}):null}function Qh({text:e,label:t,className:a,size:l=14}){const[s,o]=w.useState(!1),c=async()=>{try{await VO(e),o(!0),window.setTimeout(()=>o(!1),1800)}catch{o(!1)}};return x.jsx("button",{type:"button",onClick:()=>{c()},"aria-label":s?`Copied ${t}`:`Copy ${t}`,className:pe("flex items-center justify-center text-muted transition active:bg-surface-2",a),children:s?x.jsx(na,{size:l,className:"text-accent"}):x.jsx(fx,{size:l})})}function H4({children:e,className:t}){return x.jsx("span",{className:pe("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",t),children:e})}function cL({children:e}){return x.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 uL({error:e}){const t=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),l=!(e instanceof fn)||e.status===0;return t?x.jsxs(Qt,{children:[x.jsx(Ex,{size:20,className:"mx-auto mb-3 text-muted"}),x.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),x.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):x.jsxs(Qt,{children:[x.jsx(xC,{size:20,className:"mx-auto mb-3 text-del"}),x.jsx("div",{className:"font-medium text-text",children:l?"Can’t reach the relay":"The relay answered with an error"}),x.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),l?x.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[x.jsx("li",{children:"Is the Mac awake and online?"}),x.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",x.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."]}),x.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Qt({children:e}){return x.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function pn({label:e}){return x.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[x.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const Wo="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function is({icon:e,name:t,artwork:a}){const l=x.jsx("div",{className:pe(Wo,"text-xs"),children:(t.trim()[0]??"?").toUpperCase()});if(!e)return l;if(e.kind==="emoji")return x.jsx("div",{className:pe(Wo,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const s=rL[e.value];return s?x.jsx("div",{className:Wo,children:x.jsx(s,{size:18,className:"text-muted"})}):l}return e.kind==="github"?x.jsx(Yh,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",artwork:a,fallback:l}):x.jsx(xL,{repoName:t,artwork:a,fallback:l})}function Yh({src:e,fit:t,artwork:a,fallback:l}){const[s,o]=w.useState(!1);return s?x.jsx(x.Fragment,{children:l}):x.jsx("div",{className:pe(Wo,a==="inset"&&"p-1.5"),children:x.jsx("img",{src:e,alt:"",loading:"lazy",className:pe("size-full",a==="full-bleed"?"rounded-[inherit]":"rounded-sm",t==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function xL({repoName:e,artwork:t,fallback:a}){const{data:l,isError:s}=oS(e);return!e||s||!l?x.jsx(x.Fragment,{children:a}):x.jsx(Yh,{src:l,fit:"contain",artwork:t,fallback:a})}function nd({title:e,subtitle:t,actions:a,onClose:l,closeLabel:s}){return x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft bg-bg px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:e}),t?x.jsx("p",{className:"truncate font-mono text-xs text-muted",children:t}):null]}),a,x.jsx("button",{type:"button",onClick:l,"aria-label":s,className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",children:x.jsx(A0,{size:18})})]})}const dL=[qR,IT],Kh="conductor-attachment.invalid";function fL(e){const t=KD(e);if(!t.length)return e;let a="",l=0;for(const s of t){const o=s.name.replace(/[\\`*_[\]<>]/g,"\\$&");a+=`${e.slice(l,s.start)}[${o}](https://${Kh}/?path=${encodeURIComponent(s.path)})`,l=s.end}return a+e.slice(l)}function hL(e){if(!e)return null;try{const t=new URL(e);return t.hostname===Kh?t.searchParams.get("path"):null}catch{return null}}function Xh(e){const[t,a]=w.useState(null),[l,s]=w.useState(null);return w.useEffect(()=>{if(a(null),s(null),!e)return;let o=!1;return Fe.localImage(e).then(c=>{o||a(c)},c=>{o||s(c instanceof Error?c.message:"Image unavailable")}),()=>{o=!0}},[e]),{objectUrl:t,error:l}}function pL({src:e,alt:t,...a}){const l=kh(typeof e=="string"?e:null),{objectUrl:s,error:o}=Xh(l);return l?o?x.jsxs("span",{className:"my-2 block rounded-lg border border-del/30 px-3 py-2 text-xs text-del",children:[t||"Image"," unavailable: ",o]}):s?x.jsx("img",{src:s,alt:t??"",...a}):null:x.jsx("img",{src:e,alt:t??"",...a})}function Wh(e){if(!e?.startsWith("/"))return null;const t=e.match(/:([1-9]\d*)(?::\d+)?$/);return kx(t?e.slice(0,-t[0].length):e)?e:null}function qu({href:e,children:t,onClick:a,...l}){const s=hL(e),o=tO(s),c=kh(e??null),d=o?.kind==="image"?o.reference:c,f=Ch(e??null),h=o?.kind==="source"?o.reference:Wh(e)??f,m=d??h,[p,y]=w.useState(!1),b=d&&p?x.jsx(mL,{reference:d,onClose:()=>y(!1)}):h&&p?x.jsx(Jh,{reference:h,onClose:()=>y(!1)}):null;return e?s?x.jsxs(x.Fragment,{children:[x.jsxs("button",{type:"button",title:d?`Open image ${d}`:h?`Open ${h}`:s,disabled:!m,onClick:()=>y(!0),className:"inline-flex max-w-full items-center gap-1 rounded-md bg-surface-2 px-1.5 py-0.5 align-baseline text-[0.9em] font-medium text-muted transition hover:text-text focus-visible:outline-2 focus-visible:outline-accent active:bg-surface disabled:cursor-default",children:[x.jsx(mx,{size:12,className:"shrink-0"}),x.jsx("span",{className:"truncate",children:t})]}),b]}):x.jsxs(x.Fragment,{children:[x.jsx("a",{href:e,...l,title:d?`Open image ${d}`:l.title,onClick:v=>{a?.(v),!(!m||v.defaultPrevented||v.button!==0||v.metaKey||v.ctrlKey||v.shiftKey||v.altKey)&&(v.preventDefault(),y(!0))},children:t}),b]}):x.jsx("span",{title:l.title,children:t})}function mL({reference:e,onClose:t}){const{objectUrl:a,error:l}=Xh(e);return w.useEffect(()=>{const s=o=>{o.key==="Escape"&&t()};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)},[t]),aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Image preview",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(nd,{title:"Image",subtitle:e,onClose:t,closeLabel:"Close image preview"}),x.jsxs("div",{className:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-black/15 p-3",children:[!a&&!l?x.jsx(pn,{label:"Loading image…"}):null,l?x.jsxs("p",{className:"max-w-xs text-center text-sm text-muted",children:["Image unavailable: ",l]}):null,a?x.jsx("img",{src:a,alt:"",className:"max-h-full max-w-full rounded-lg object-contain shadow-2xl"}):null]})]})]}),document.body)}function Jh({reference:e,onClose:t}){const[a,l]=w.useState(null),[s,o]=w.useState(null),c=w.useRef(null);return w.useEffect(()=>{let d=!1;return l(null),o(null),Fe.filePreview(e).then(f=>{d||l(f)},f=>{d||o(f instanceof Error?f.message:"Could not read source file")}),()=>{d=!0}},[e]),w.useEffect(()=>{a?.line&&c.current?.scrollIntoView({block:"center"})},[a?.line]),w.useEffect(()=>{const d=f=>{f.key==="Escape"&&t()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[t]),aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Source file",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(nd,{title:"Source",subtitle:a?.path??e,onClose:t,closeLabel:"Close source preview"}),x.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[!a&&!s?x.jsx(pn,{label:"Reading source…"}):null,s?x.jsx("p",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:s}):null,a?gL(a.path)?x.jsx(EL,{preview:a}):x.jsx(Ph,{preview:a,lineRef:c}):null]})]})]}),document.body)}function gL(e){return e.toLowerCase().endsWith(".md")}function EL({preview:e}){return x.jsxs("div",{className:"p-4 text-sm leading-6 text-text",children:[x.jsx(or,{children:e.content}),x.jsx(Gh,{preview:e})]})}function yL({className:e,children:t,node:a,...l}){const s=LO(e),o=vL(t),c=Ch(e?null:o);return c?x.jsx(bL,{reference:c,...l,children:t}):x.jsx("code",{className:e,...l,children:s&&o!==null?x.jsx(Lh,{text:o,language:s}):t})}function bL({reference:e,children:t,...a}){const[l,s]=w.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",title:`Open ${e}`,onClick:()=>s(!0),className:"max-w-full align-baseline text-left",children:x.jsx("code",{...a,className:"text-accent underline decoration-dotted underline-offset-2",children:t})}),l?x.jsx(Jh,{reference:e,onClose:()=>s(!1)}):null]})}function vL(e){return typeof e=="string"?e:Array.isArray(e)&&e.every(t=>typeof t=="string")?e.join(""):null}function CL({node:e,children:t,...a}){const l=e?kL(e):"";return x.jsxs("div",{className:"relative",children:[x.jsx("pre",{...a,children:t}),l?x.jsx(Qh,{text:l,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 kL(e){let t="";const a=l=>{for(const s of l)s.type==="text"?t+=s.value:s.type==="element"&&a(s.children)};return a(e.children),t.replace(/\n$/,"")}const AL={a:qu,code:yL,img:pL,pre:CL},or=w.memo(function({children:t}){return x.jsx("div",{className:"md",children:x.jsx(_T,{remarkPlugins:dL,components:AL,children:fL(t)})})});function ad({state:e,label:t,meta:a,actions:l=[],align:s="right",children:o,className:c,dataUserMessage:d,dataMessageState:f}){const h=e==="failed";return x.jsxs("div",{className:pe("flex min-w-0 flex-col gap-1",s==="right"&&"items-end",s==="left"&&"items-start",s==="wide"&&"items-stretch"),...d?{"data-user-msg":d}:{},...f?{"data-msg-state":f}:{},children:[x.jsxs("div",{className:pe("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",s==="wide"?"w-full":"max-w-[85%]",s==="right"?"bg-accent-soft text-text":"bg-surface/60 text-text",h?"border border-del/40":"opacity-60",c),children:[t?x.jsx("div",{className:pe("mb-1 text-[10px] font-semibold uppercase tracking-wide",h?"text-del":"text-faint"),children:t}):null,o]}),h?x.jsxs("div",{className:pe("flex flex-wrap items-center gap-x-2 gap-y-1 px-1 text-[11px] text-del",s==="right"&&"justify-end"),children:[x.jsx(Vr,{size:11,className:"shrink-0"}),a?x.jsx("span",{className:"min-w-0 max-w-[70vw] truncate",children:a}):x.jsx("span",{children:"Didn’t finish"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:pe("underline underline-offset-2",m.primary?"font-semibold text-del":"text-faint"),children:m.label},m.label))]}):x.jsxs("div",{className:pe("flex min-w-0 items-center gap-1 px-1 text-[11px] text-faint",s==="right"&&"justify-end"),children:[x.jsx(T0,{size:11,className:"shrink-0 animate-spin"}),x.jsx("span",{className:"min-w-0 truncate",children:a??"Queued"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:pe("ml-1 underline underline-offset-2",m.primary&&"font-semibold text-accent"),children:m.label},m.label))]})]})}const rd={queued:"Queued",opening:"Opening",configuring:"Configuring",sending:"Sending",running:"Running",returning:"Returning Baton",returned:"Baton delivered",failed:"Failed"},BL={creating_workspace:"Creating workspace",binding_root:"Binding root",pending_root:"Root delivery pending",exploring:"Exploring",planning:"Planning",implementing:"Implementing",reviewing:"Reviewing",blocked:"Blocked",completed:"Completed",cancelled:"Cancelled"};function lu(e){return BL[e]}function iu(e){return e==="creating_workspace"||e==="binding_root"||e==="pending_root"}function V4(e){const t=[`${e.requested} requested`];return e.running&&t.push(`${e.running} running`),e.returned&&t.push(`${e.returned} returned`),e.failed&&t.push(`${e.failed} failed`),t.join(" · ")}function wL(e){return[e.model,e.effort,e.fast===void 0?void 0:e.fast?"Fast":"Fast off"].filter(Boolean).join(" · ")}function DL({name:e,role:t}){return x.jsxs("div",{className:"flex min-w-0 items-center gap-1.5 rounded-lg bg-surface-2 px-2 py-1.5 text-[11px]",children:[x.jsx(Lr,{agentType:t.agentType,model:t.model,className:"size-3.5 shrink-0"}),x.jsx("span",{className:"shrink-0 font-medium capitalize text-text",children:e}),x.jsx("span",{className:"truncate text-muted",children:wL(t)})]})}function FL({quarantine:e,className:t}){const a=WF(),[l,s]=w.useState(!1),[o,c]=w.useState(null);if(!e)return null;const d=async()=>{if(!l){s(!0),c(null);try{await a(e)}catch(f){c(f instanceof Error?f.message:String(f))}finally{s(!1)}}};return x.jsx("section",{"aria-label":"Conductor UI safety hold",role:"alert",className:pe("shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",t),children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Vr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"font-semibold text-del",children:"Automated Conductor UI writes are paused"}),x.jsx("p",{className:"mt-0.5 text-text",children:e.reason}),x.jsx("p",{className:"mt-1 text-muted",children:"Inspect Conductor on your Mac. Continue only when its window is stable and no UI action is still in flight."}),x.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap gap-x-2 text-[10px] text-faint",children:[x.jsx("span",{children:new Date(e.createdAt).toLocaleString()}),e.actionId?x.jsxs("span",{className:"max-w-full truncate",children:["Action · ",e.actionId]}):null,e.effectId?x.jsxs("span",{className:"max-w-full truncate",children:["Effect · ",e.effectId]}):null]}),x.jsxs("button",{type:"button",disabled:l,onClick:()=>{d()},className:"mt-2 flex min-h-9 items-center gap-1.5 rounded-lg bg-del px-3 py-1.5 font-semibold text-white disabled:opacity-50",children:[l?x.jsx(T0,{size:13,className:"animate-spin"}):x.jsx(h9,{size:13}),"I checked — Conductor is stable"]}),o?x.jsx("p",{className:"mt-1.5 text-del",role:"alert",children:o}):null]})]})})}function SL({warning:e}){return e?x.jsx("section",{"aria-label":"Workflow unavailable",role:"alert",className:"shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Vr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0",children:[x.jsx("div",{className:"font-semibold text-del",children:"Workflow is unavailable"}),x.jsx("p",{className:"mt-0.5 text-text",children:e})]})]})}):null}function ep({workflow:e,bootstrapJob:t,compact:a=!1}){const l=XF(),[s,o]=w.useState(null),[c,d]=w.useState(null),[f,h]=w.useState(!1),[m,p]=w.useState(!1),y=e.jobs.exploration,b=Math.max(0,y.requested-1),v=t?rd[t.status]:iu(e.phase)?"Waiting for root delivery":"Scheduled",k=async(C,B)=>{if(!s){o(C),d(null);try{await B(),h(!1),p(!1)}catch(N){d(N instanceof Error?N.message:String(N))}finally{o(null)}}};return x.jsxs("section",{"aria-label":`Workflow ${lu(e.phase)}`,className:pe("border-b border-border-soft bg-bg px-3 py-2",a&&"rounded-xl border"),children:[x.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[x.jsx("div",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-accent",children:e.phase==="blocked"?x.jsx(Vr,{size:15}):e.phase==="completed"?x.jsx(dx,{size:15}):e.phase==="cancelled"?x.jsx(A0,{size:15}):x.jsx(_l,{size:15})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[x.jsx("span",{className:"shrink-0 text-xs font-semibold text-text",children:iu(e.phase)?"Workflow accepted":lu(e.phase)}),iu(e.phase)?x.jsx("span",{className:"truncate text-[11px] text-muted",children:lu(e.phase)}):null]}),x.jsx("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted",children:e.objectiveExcerpt}),x.jsxs("div",{className:"mt-1 flex flex-wrap gap-x-3 gap-y-0.5 text-[11px] text-muted",children:[x.jsxs("span",{children:["Guaranteed explorer ·"," ",x.jsx("span",{className:t?.status==="failed"?"text-del":"text-text",children:v})]}),x.jsx("span",{children:b?`${b} extra explorer${b===1?"":"s"}`:"No extra explorers"})]})]})]}),x.jsx("div",{className:"mt-2 grid gap-1 min-[560px]:grid-cols-3",children:["planning","exploration","implementation"].map(C=>x.jsx(DL,{name:C,role:e.roles[C]},C))}),a?null:x.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-faint",children:[x.jsxs("span",{children:["Exploration · ",V4(e.jobs.exploration)]}),x.jsxs("span",{children:["Implementation · ",V4(e.jobs.implementation)]})]}),e.error?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs text-del",role:"alert",children:[x.jsx("div",{className:"font-medium",children:e.error.code}),x.jsx("div",{children:e.error.message})]}):null,c?x.jsx("div",{className:"mt-2 text-xs text-del",role:"alert",children:c}):null,e.actions.canAdopt&&e.adoption?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2",children:[x.jsxs("div",{className:"text-xs font-medium text-text",children:["Choose the ",e.adoption.kind," the relay observed"]}),e.adoption.candidates.length?x.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:e.adoption.candidates.map(C=>x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k(`adopt:${C.id}`,()=>l.adopt(e,C))},title:C.id,className:"rounded-lg border border-border bg-surface-2 px-2 py-1 text-left text-[11px] text-text disabled:opacity-50",children:[x.jsx("span",{className:"block font-medium",children:C.title}),x.jsxs("span",{className:"text-faint",children:[C.repo," · ",new Date(C.createdAt).toLocaleString()," · ",C.id.slice(0,8)]})]},C.id))}):x.jsx("div",{className:"mt-1 text-[11px] text-faint",children:"No candidate remains eligible."})]}):null,f?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-del",children:"The earlier UI action may already have happened. Replaying it can create a duplicate."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("replay",()=>l.replay(e))},className:"rounded-lg bg-del px-2 py-1 text-[11px] font-medium text-white disabled:opacity-50",children:"Confirm replay"}),x.jsx("button",{type:"button",onClick:()=>h(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep blocked"})]})]}):null,m?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-muted",children:"Cancel orchestration only. Existing chats, turns, and worktrees stay in place."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("cancel",()=>l.cancel(e))},className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Confirm cancel"}),x.jsx("button",{type:"button",onClick:()=>p(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep running"})]})]}):null,e.actions.canRetry||e.actions.canReplayAmbiguous||e.actions.canComplete||e.actions.canCancel?x.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[e.actions.canRetry?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("retry",()=>l.retry(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[s==="retry"?x.jsx(T0,{size:11,className:"animate-spin"}):x.jsx(d9,{size:11}),"Retry saved action"]}):null,e.actions.canReplayAmbiguous&&!f?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>h(!0),className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Review risky replay"}):null,e.actions.canComplete?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("complete",()=>l.complete(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[x.jsx(h9,{size:11})," Mark complete"]}):null,e.actions.canCancel&&!m?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>p(!0),className:"rounded-lg px-2 py-1 text-[11px] text-muted disabled:opacity-50",children:"Cancel workflow"}):null]}):null]})}function I4(e,t,a,l){const s=m=>l===null?!m:m===l,o=e.filter(m=>s(m.workflowId)),c=t.flatMap(m=>{const p=a[m.id],y=p?.delegationId;return y&&s(p.workflowId)?[{session:m,assignment:p,delegationId:y}]:[]}),d=new Map(c.map(m=>[m.delegationId,m])),f=new Set(o.map(m=>m.id)),h=o.map(m=>({key:`job:${m.id}`,order:m.createdAt,role:m.bootstrap?"Guaranteed explorer":m.role,model:m.resolvedRole.model,agentType:m.resolvedRole.agentType,childSessionId:m.childSessionId??d.get(m.id)?.session.id,status:rd[m.status],state:m.status==="failed"?"failed":m.status==="returned"?"done":"busy"}));for(const{session:m,assignment:p,delegationId:y}of c){if(f.has(y))continue;const b=!!m.background_tasks.length,v=m.status==="working";h.push({key:`session:${m.id}`,order:p.assignedAt,role:p.role,model:m.model,agentType:m.agent_type,childSessionId:m.id,...v?{status:"Running",state:"busy"}:b?{status:"Waiting",state:"waiting"}:{status:"Returned",state:"done"}})}return h.sort((m,p)=>m.order-p.order||m.key.localeCompare(p.key))}function U4({tabs:e,label:t,activeSessionId:a,onSelectSession:l}){return x.jsx(tp,{label:t,tabs:e.map(s=>{const o=s.childSessionId;return{key:s.key,label:s.role,model:s.model,agentType:s.agentType,status:s.status,state:s.state,selected:!!o&&o===a,...o?{onSelect:()=>l(o)}:{}}})})}function tp({tabs:e,label:t,parentSelected:a=!0}){return!a||!e.length?null:x.jsxs("nav",{"aria-label":t,className:"flex shrink-0 items-center gap-1.5 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:[t.startsWith("Legacy")?x.jsx("span",{className:"shrink-0 text-[10px] font-medium uppercase text-faint",children:"Legacy"}):null,e.map((l,s)=>{const o=l.state==="failed",c=x.jsxs(x.Fragment,{children:[x.jsx(Lr,{agentType:l.agentType,model:l.model,className:"size-3.5"}),x.jsx("span",{className:"max-w-28 truncate font-medium",children:l.label}),l.model?x.jsx("span",{className:"max-w-28 truncate text-faint",children:l.model}):null,l.status?x.jsxs("span",{className:pe("flex shrink-0 items-center gap-1",o?"text-del":"text-muted"),children:[l.state==="failed"?x.jsx(Vr,{size:10}):l.state==="waiting"?x.jsx(px,{size:10}):l.state==="done"?x.jsx(dx,{size:10}):x.jsx(T0,{size:10,className:"animate-spin"}),l.status]}):null]});return x.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[s?x.jsx(Ib,{size:11,className:"shrink-0 text-faint"}):null,l.onSelect?x.jsx("button",{type:"button",onClick:l.onSelect,"aria-current":l.selected?"page":void 0,className:pe("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px] active:bg-surface-2",l.selected&&"border-accent/50 bg-surface-2",o&&"border-del/40"),children:c}):x.jsx("div",{className:pe("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px]",o&&"border-del/40"),children:c})]},l.key)})]})}function ML({workflow:e,jobs:t,sessions:a=[],roles:l={},activeSessionId:s,onSelectSession:o}){const c=e?I4(t,a,l,e.id):[],d=e?t.find(h=>h.workflowId===e.id&&h.bootstrap):void 0,f=I4(t,a,l,null);return!e&&!f.length?null:x.jsxs(x.Fragment,{children:[e?x.jsx(ep,{workflow:e,bootstrapJob:d}):null,x.jsx(U4,{tabs:c,label:"Workflow jobs",activeSessionId:s,onSelectSession:o}),x.jsx(U4,{tabs:f,label:"Legacy delegated work",activeSessionId:s,onSelectSession:o})]})}function NL(e){return rd[e]}function _L({jobs:e,sessionId:t,onSelectSession:a,onDismiss:l,onOpenRoles:s}){if(!t)return null;const o=e.filter(c=>!c.workflowId&&(c.parentSessionId===t||c.childSessionId===t));return o.length?x.jsx(x.Fragment,{children:o.map(c=>{const d=c.parentSessionId===t,f=c.status==="failed",h=d?c.childSessionId:c.parentSessionId,m=[];return h&&m.push({label:d?"Open worker":"Open parent",onClick:()=>a(h)}),f&&(m.push({label:"Edit roles",onClick:s,primary:!0}),m.push({label:"Dismiss delegation",onClick:()=>l(c.id)})),x.jsx(ad,{state:f?"failed":"pending",align:"wide",label:`Legacy delegation · ${d?"Delegated":"Assigned"} · ${c.role} · ${c.resolvedRole.model}${c.resolvedRole.effort?` · ${c.resolvedRole.effort}`:""}`,meta:f?`${c.failure?.code??"failed"}: ${c.failure?.message??"The delegated job failed."}`:`${NL(c.status)}${c.attempts?` · attempt ${c.attempts+1}`:""}`,actions:m,dataMessageState:`delegation-${c.status}`,children:x.jsx(or,{children:c.prompt})},c.id)})}):null}const jL="modulepreload",TL=function(e){return"/"+e},Z4={},np=function(t,a,l){let s=Promise.resolve();if(a&&a.length>0){let f=function(h){return Promise.all(h.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");s=f(a.map(h=>{if(h=TL(h),h in Z4)return;Z4[h]=!0;const m=h.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const y=document.createElement("link");if(y.rel=m?"stylesheet":jL,m||(y.as="script"),y.crossOrigin="",y.href=h,d&&y.setAttribute("nonce",d),document.head.appendChild(y),m)return new Promise((b,v)=>{y.addEventListener("load",b),y.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(c){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=c,window.dispatchEvent(d),!d.defaultPrevented)throw c}return s.then(c=>{for(const d of c||[])d.status==="rejected"&&o(d.reason);return t().catch(o)})};function zL(e={}){const{immediate:t=!1,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e;let f,h,m;const p=async(b=!0)=>{await h,m?.()};async function y(){if("serviceWorker"in navigator){if(f=await np(async()=>{const{Workbox:b}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:b}},[]).then(({Workbox:b})=>new b("/sw.js",{scope:"/",type:"classic"})).catch(b=>{d?.(b)}),!f)return;m=()=>{f?.messageSkipWaiting()};{let b=!1;const v=()=>{b=!0,f?.addEventListener("controlling",k=>{k.isUpdate&&(a?a():window.location.reload())}),l?.()};f.addEventListener("installed",k=>{typeof k.isUpdate>"u"?typeof k.isExternal<"u"&&k.isExternal?v():!b&&s?.():k.isUpdate||s?.()}),f.addEventListener("waiting",v)}f.register({immediate:t}).then(b=>{c?c("/sw.js",b):o?.(b)}).catch(b=>{d?.(b)})}}return h=y(),p}function RL(e={}){const{immediate:t=!0,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e,[f,h]=w.useState(!1),[m,p]=w.useState(!1),[y]=w.useState(()=>zL({immediate:t,onNeedReload:a,onOfflineReady(){p(!0),s?.()},onNeedRefresh(){h(!0),l?.()},onRegistered:o,onRegisteredSW:c,onRegisterError:d}));return{needRefresh:[f,h],offlineReady:[m,p],updateServiceWorker:y}}const $4=6e4,OL=1e4,su="pwa-update-attempted-at",LL=2500,PL=30*6e4,Hi="pwa-update-snoozed-until";async function GL(){try{if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistrations();await Promise.all(t.map(a=>a.unregister()))}if("caches"in window){const t=await caches.keys();await Promise.all(t.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function HL(){const e=be(p=>p.token),t=w.useRef(null),a=w.useRef(!1),{needRefresh:[l,s],updateServiceWorker:o}=RL({onRegisteredSW(p,y){y&&(t.current=y,setInterval(()=>{y.update().catch(()=>{})},$4))}}),{data:c}=E0({queryKey:["state"],queryFn:()=>Fe.state(),enabled:!!e,refetchInterval:!1}),d=c?.version,f=w.useRef(null);if(w.useEffect(()=>{!d||d==="1.111.0"||f.current===d||(f.current=d,t.current?.update().catch(()=>{}))},[d]),w.useEffect(()=>{if(!l)return;const p=Number(sessionStorage.getItem(su));if(sessionStorage.removeItem(su),p&&Date.now()-p<OL){s(!1);return}const y=Number(sessionStorage.getItem(Hi));y&&Date.now()<y&&s(!1)},[l,s]),w.useEffect(()=>{if(l)return;const p=()=>{const b=Number(sessionStorage.getItem(Hi));!b||Date.now()<b||t.current?.waiting&&(sessionStorage.removeItem(Hi),s(!0))},y=window.setInterval(p,$4);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[l,s]),!l)return null;const h=()=>{sessionStorage.setItem(Hi,String(Date.now()+PL)),s(!1)},m=()=>{sessionStorage.removeItem(Hi),sessionStorage.setItem(su,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=t.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):o(!0),window.setTimeout(()=>{a.current||(a.current=!0,GL())},LL)};return x.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-40 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:[x.jsx(ds,{size:15,className:"shrink-0 text-accent"}),x.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),x.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),x.jsx("button",{type:"button",onClick:m,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-on-solid transition active:scale-95",children:"Update"})]})}const q4=["Workspace","View","App"],zl=P9(e=>({open:!1,setOpen:t=>e(a=>({open:typeof t=="function"?t(a.open):t})),sources:{},register:(t,a)=>e(l=>({sources:{...l.sources,[t]:a}})),unregister:t=>e(a=>{const{[t]:l,...s}=a.sources;return{sources:s}})}));function Q4(e){const t=q4.indexOf(e.group??"");return t===-1?q4.length:t}function ap(e){return Object.values(e).flat().map((t,a)=>({command:t,index:a})).sort((t,a)=>Q4(t.command)-Q4(a.command)||t.index-a.index).map(t=>t.command)}function VL(){const e=zl(t=>t.sources);return w.useMemo(()=>ap(e),[e])}function rp(e,t){const a=zl(s=>s.register),l=zl(s=>s.unregister);w.useEffect(()=>(a(e,t),()=>l(e)),[e,t,a,l])}function IL(e){const t=e.trimStart();return t.startsWith(">")?{commandsOnly:!0,query:t.slice(1).trim()}:{commandsOnly:!1,query:e}}function UL(e){return[e.group,e.label,...e.keywords??[]].filter(Boolean).join(" ").toLowerCase()}function ZL(e,t){const a=e.filter(o=>!o.hidden&&o.enabled!==!1),l=E9(t);if(!l.length)return a;const s=[];for(const o of a){if(!l.every(f=>UL(o).includes(f)))continue;const c=o.label.toLowerCase(),d=c.startsWith(l[0])?0:l.every(f=>c.includes(f))?1:2;s.push({command:o,rank:d})}return s.sort((o,c)=>o.rank-c.rank).map(o=>o.command)}function $L(e,t,a){if(e.key.toLowerCase()!==t.key.toLowerCase())return!1;const l=!!t.mod;return e.metaKey===(a&&l)&&e.ctrlKey===(!a&&l)&&e.shiftKey===!!t.shift&&e.altKey===!!t.alt}function qL(e,t,a){return e.find(l=>l.enabled!==!1&&!!l.shortcut&&$L(t,l.shortcut,a))}function QL(e,t){const a=e.key.length===1?e.key.toUpperCase():e.key;return t?[...e.alt?["⌥"]:[],...e.shift?["⇧"]:[],...e.mod?["⌘"]:[],a]:[...e.mod?["Ctrl"]:[],...e.alt?["Alt"]:[],...e.shift?["Shift"]:[],a]}function lp(e=typeof navigator>"u"?void 0:navigator){return/Mac|iPhone|iPad|iPod/i.test(`${e?.platform??""} ${e?.userAgent??""}`)}function YL(e){return e instanceof HTMLElement?e.isContentEditable||/^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName):!1}function KL(){w.useEffect(()=>{const e=lp(),t=a=>{if(a.isComposing||a.repeat||!(a.metaKey||a.ctrlKey||a.altKey)&&YL(a.target))return;const l=qL(ap(zl.getState().sources),a,e);l&&(a.preventDefault(),l.run())};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[])}function ip({children:e}){return x.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[e,x.jsx(oL,{})]})}function Qu({title:e,subtitle:t,menu:a,right:l}){const s=be(o=>o.setSidebarOpen);return x.jsx(ip,{children:x.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?x.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:x.jsx(sB,{size:20})}):x.jsx("span",{className:"w-1"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),t?x.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:t}):null]}),l]})})}function XL(e){for(let t=e.length-1;t>=0;t--){const a=e[t];if(a.role==="assistant")return a;if(a.role==="user")return null}return null}function Y4(e){const t=[];let a=null;for(const l of e)l.role==="assistant"?a=l:l.role==="user"&&(a&&t.push(a),a=null);return a&&t.push(a),t}function WL(e,t,a){const l=J0(t.ts);if(a&&J0(a)<l)return a;const s=e.lastIndexOf(t);for(let o=(s<0?e.length:s)-1;o>=0;o--)if(e[o].role==="user")return e[o].ts;return null}function JL(e){const t=new Map;for(const o of e)o.subagentLabel&&o.toolUseId&&!t.has(o.toolUseId)&&t.set(o.toolUseId,o);const a=new Map,l=new Set;for(const o of e){const c=o.parentToolUseId,d=c?t.get(c):void 0;if(!d||d===o)continue;const f=a.get(c)??[];f.push(o),a.set(c,f),l.add(o)}const s=(o,c)=>{const d=o.toolUseId;if(!d||c.has(d))return{e:o,children:[]};const f=new Set(c);return f.add(d),{e:o,children:(a.get(d)??[]).map(h=>s(h,f))}};return e.filter(o=>!l.has(o)).map(o=>s(o,new Set))}function eP(e){const t=[],a=new Set,l=s=>{const o=s.e.toolUseId,c=s.e.subagentLabel;o&&c&&!a.has(o)&&(a.add(o),t.push({id:o,label:c,node:s}));for(const d of s.children)l(d)};for(const s of e)l(s);return t.sort((s,o)=>s.node.e.rowid-o.node.e.rowid||s.id.localeCompare(o.id))}const tP=1500,nP=400,sp=12,aP=2,rP=sp+8,lP=2,iP=1.1,sP=200,oP=420,cP=.6,op=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,ou=(e,t,a)=>Math.min(a,Math.max(t,e)),uP=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=lP?e.scrollTop+e.clientHeight:e.scrollTop+rP,xP=(e,t)=>e.length===t.length&&e.every((a,l)=>a.top===t[l].top&&a.preview===t[l].preview);function dP(e,t,a){const l=ou(t,0,e.scrollHeight-e.clientHeight);if(op())return e.scrollTop=l,a(),()=>{};const s=e.clientHeight*iP;Math.abs(l-e.scrollTop)>s&&(e.scrollTop=ou(l+Math.sign(e.scrollTop-l)*s,0,e.scrollHeight-e.clientHeight));const o=e.scrollTop,c=l-o;if(!c)return a(),()=>{};const d=ou(Math.abs(c)*cP,sP,oP),f=performance.now();let h=0,m=!1;const p=()=>{m||(m=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=b=>{const v=Math.min(1,(b-f)/d);if(e.scrollTop=o+c*(1-(1-v)**5),v<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function fP({scroller:e}){const[t,a]=w.useState([]),[l,s]=w.useState(0),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=w.useRef([]),m=w.useRef(!1),p=w.useRef(!1),y=w.useRef(0),b=w.useRef(0),v=w.useRef(0),k=w.useRef(()=>{}),C=w.useCallback(()=>{p.current||(clearTimeout(y.current),m.current=!1,c(!1))},[]),B=w.useCallback(()=>{m.current=!0,c(!0),clearTimeout(y.current),y.current=window.setTimeout(C,tP)},[C]),N=w.useCallback(()=>{const T=e.current;if(!T)return;const H=T.getBoundingClientRect().top-T.scrollTop,Z=Array.from(T.querySelectorAll("[data-user-msg]"),J=>({top:J.getBoundingClientRect().top-H,preview:J.dataset.userMsg??"",ts:J.dataset.msgTs??null,state:J.dataset.msgState??null,node:J}));h.current=xP(h.current,Z)?h.current:Z,a(h.current),s(uP(T))},[e]),M=w.useCallback(()=>{v.current||(v.current=requestAnimationFrame(()=>{v.current=0,N()}))},[N]);w.useEffect(()=>{const T=e.current;if(!T)return;const H=()=>{b.current=performance.now()},Z=()=>{!m.current&&performance.now()-b.current>nP||a1()||(B(),M())},J=()=>{a1()&&C()};T.addEventListener("touchmove",H,{passive:!0}),T.addEventListener("wheel",H,{passive:!0}),T.addEventListener("scroll",Z,{passive:!0}),document.addEventListener("selectionchange",J);const W=()=>{m.current&&M()},$=new ResizeObserver(W);$.observe(T);const G=new MutationObserver(W);return G.observe(T,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{T.removeEventListener("touchmove",H),T.removeEventListener("wheel",H),T.removeEventListener("scroll",Z),document.removeEventListener("selectionchange",J),$.disconnect(),G.disconnect(),k.current(),v.current&&cancelAnimationFrame(v.current),clearTimeout(y.current)}},[e,B,C,M]);const S=T=>{const H=e.current,Z=h.current[T];H&&Z&&(k.current(),k.current=dP(H,Z.top-sp,()=>{op()||Z.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),B())},F=w.useCallback(()=>{p.current=!1,f(!1),B()},[B]);if(t.length<aP)return null;let D=-1;for(let T=0;T<t.length;T++)t[T].top<=l&&(D=T);const R=D>0?D-1:null,O=D+1<t.length?D+1:null,P=o||d;return x.jsxs(x.Fragment,{children:[x.jsx("div",{className:pe("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",P?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:x.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:B,className:pe("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",P?"pointer-events-auto":"pointer-events-none"),children:[x.jsx(K4,{dir:"up",onClick:()=>R!==null&&S(R),disabled:R===null}),x.jsxs("button",{type:"button",onClick:()=>{N(),p.current=!0,f(!0),B()},"aria-haspopup":"dialog","aria-expanded":d,"aria-label":`Your messages — ${t.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:[x.jsx(o9,{size:16,className:"shrink-0"}),x.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[x.jsx("span",{className:"text-text",children:D+1||"–"}),x.jsxs("span",{className:"text-muted",children:["/",t.length]})]})]}),x.jsx(K4,{dir:"down",onClick:()=>O!==null&&S(O),disabled:O===null})]})}),d?x.jsx(pP,{marks:t,current:D,onPick:T=>{F(),S(T)},onClose:F}):null]})}function hP({mark:e}){if(e.state==="failed")return x.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const t=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&Zh(e.ts);return t?x.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:t}):null}function K4({dir:e,onClick:t,disabled:a}){const l=e==="up"?aC:Na;return x.jsx("button",{type:"button",onClick:t,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:x.jsx(l,{size:19})})}function pP({marks:e,current:t,onPick:a,onClose:l}){const s=w.useRef(null),o=w.useRef(null);return w.useEffect(()=>{s.current?.focus({preventScroll:!0}),o.current?.scrollIntoView({block:"center"})},[]),x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:l,"aria-hidden":!0}),x.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:c=>c.key==="Escape"&&l(),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:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[x.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),x.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),x.jsx("button",{type:"button",onClick:l,"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:x.jsx(A0,{size:19})})]}),x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((c,d)=>x.jsxs("button",{ref:d===t?o:void 0,type:"button",onClick:()=>a(d),"aria-current":d===t?"true":void 0,className:pe("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===t&&"bg-surface-2/60"),children:[x.jsx("span",{className:pe("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",d===t?"text-accent":"text-muted"),children:d+1}),x.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:c.preview||"Empty message"}),x.jsx(hP,{mark:c})]},c.top))})]})]})}const mP=w.lazy(()=>np(()=>import("./PierrePatch-QISkVnaE.js"),[]));function cp(e){return e.patch.split(`
|
|
47
47
|
`).some(t=>t.startsWith("@@ "))?x.jsx(w.Suspense,{fallback:x.jsx(X4,{...e}),children:x.jsx(mP,{...e})}):x.jsx(X4,{...e})}function X4({patch:e,truncated:t,className:a}){const l=w.useMemo(()=>e.split(`
|
|
48
48
|
`),[e]);return x.jsxs("pre",{className:pe("overflow-x-auto font-mono text-[11.5px] leading-[1.5]",a),children:[l.map((s,o)=>x.jsx("div",{className:pe("whitespace-pre",gP(s)),children:s||" "},o)),t?x.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function gP(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 up({sessionId:e,workspaceId:t,working:a,workingSince:l,turnStartedAt:s,queued:o,waiting:c,delegations:d=[],poll:f,agentType:h,model:m,selectedSubagentId:p,onFork:y,onSelectSession:b,onSelectSubagent:v,onDismissDelegation:k,onOpenRoles:C}){const{entries:B,loading:N,error:M}=fS(e,f??!0),S=be(X=>X.pending),F=be(X=>X.removePending),D=Y9(),R=L0(),O=w.useRef(null),P=w.useRef(!0),T=w.useMemo(()=>JL(B),[B]),H=w.useMemo(()=>eP(T),[T]),Z=p?H.find(X=>X.id===p):void 0,J=!!Z,W=Z?.node.children??T,$=w.useMemo(()=>T.map(X=>X.e),[T]),G=w.useMemo(()=>yP(W),[W]),Y=w.useMemo(()=>XL($),[$]),re=w.useMemo(()=>{const X=Y4($).filter(De=>De!==Y);return new Set(X.map(Ml))},[$,Y]),he=w.useMemo(()=>new Map(Y4($).map(X=>[X,WL($,X,s)])),[$,s]),j=Z?CP(Z.node):null;w.useEffect(()=>{p&&!N&&!Z&&v?.(null)},[p,Z,N,v]);const L=async X=>{await(X.sessionId?Fe.dismissParked(X.sessionId):Fe.dismissPrompt(X.workspaceId)).catch(()=>{}),R.invalidateQueries({queryKey:["state"]})},Q=new Set(B.filter(X=>X.role==="user").map(X=>X.text.trim())),z=[...Q],le=S.filter(X=>X.sessionId===e),Ee=le.filter(X=>!(Cf(X)&&z.some(De=>kf(X,De)))),de=o?.text.trim()||null,Ce=de&&!Q.has(de)&&!le.some(X=>X.text.trim()===de)?o:null,Ie=!!e&&d.some(X=>X.parentSessionId===e||X.childSessionId===e);w.useEffect(()=>{const X=B.filter(De=>De.role==="user").map(De=>De.text.trim());for(const De of S)De.sessionId===e&&Cf(De)&&X.some(He=>kf(De,He))&&F(De.id)},[B,S,e,F]);const Se=()=>{const X=O.current;X&&(P.current=X.scrollHeight-X.scrollTop-X.clientHeight<120)},et=c?.length??0;if(w.useLayoutEffect(()=>{const X=O.current;X&&P.current&&(X.scrollTop=X.scrollHeight)},[B,Ee.length,a,et,p]),w.useEffect(()=>{P.current=!0},[e,p]),w.useEffect(()=>{const X=O.current;if(!X)return;const De=new ResizeObserver(()=>{P.current&&(X.scrollTop=X.scrollHeight)});return De.observe(X),()=>De.disconnect()},[]),!e&&!Ce)return x.jsx(Qt,{children:"No active session in this workspace."});const it=B.length===0&&Ee.length===0&&!Ce&&!Ie,yt=J&&W.length===0&&!j,we=J?yt:it,oe=H.map(X=>{const De=!!X.node.e.error,He=X.id===Z?.id;return{key:X.id,label:X.label,model:m??null,agentType:h??null,...De?{status:"Failed",state:"failed"}:{},selected:He,...v?{onSelect:()=>v(He?null:X.id)}:{}}});return x.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1 flex-col",children:[x.jsx(tp,{tabs:oe,label:"Subagents",parentSelected:!p}),x.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[x.jsx("div",{ref:O,onScroll:Se,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3","data-subagent-transcript":Z?.label,children:N&&we?x.jsx(pn,{label:"Loading transcript…"}):M&&we?x.jsx(Qt,{children:M}):yt?x.jsx(Qt,{children:"No activity from this agent yet."}):we&&!a?x.jsx(Qt,{children:"No messages yet."}):x.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[G.map(X=>X.kind==="steps"?x.jsx(bP,{nodes:X.nodes},X.key):x.jsxs(w.Fragment,{children:[x.jsx(xp,{node:X.node,onSelectSubagent:v}),!J&&re.has(Ml(X.node.e))?x.jsx(W4,{text:X.node.e.text,at:X.node.e.ts,startedAt:he.get(X.node.e),rowid:X.node.e.rowid,through:X.node.e.rowid,onFork:y}):null]},X.key)),j&&Z?x.jsx(kP,{text:j,failed:!!Z.node.e.error}):null,!J&&Y?x.jsx(W4,{text:Y.text,at:Y.ts,startedAt:he.get(Y),rowid:Y.rowid,working:a,onFork:y}):null,!J&&d.length&&b&&k&&C?x.jsx(_L,{jobs:d,sessionId:e,onSelectSession:b,onDismiss:k,onOpenRoles:C}):null,J?null:Ee.map(X=>x.jsx(BP,{p:X,onRetry:()=>D({id:X.id,sessionId:X.sessionId,workspaceId:X.workspaceId,text:X.text,queue:X.queue,workflow:X.workflow}),onDismiss:()=>F(X.id)},X.id)),!J&&Ce?x.jsx(AP,{queued:Ce,onRetry:e?()=>D({id:`queued:${Ce.sessionId??Ce.workspaceId}:${Ce.createdAt}`,sessionId:e,workspaceId:t,text:Ce.text}):void 0,onDismiss:()=>L(Ce)}):null,J?null:c?.map(X=>x.jsx(FP,{task:X},X.taskId)),!J&&a?x.jsx(DP,{since:l}):null]})}),J?null:x.jsx(fP,{scroller:O})]})]})}const Ml=e=>`${e.rowid}-${e.id}`,EP=(e,t)=>e.nodes.length===t.nodes.length&&e.nodes.every((a,l)=>a.e===t.nodes[l]?.e);function yP(e){const t=[];let a=[];const l=()=>{if(a.length>1)t.push({kind:"steps",key:`steps-${Ml(a[0].e)}`,nodes:a});else for(const s of a)t.push({kind:"entry",key:Ml(s.e),node:s});a=[]};for(const s of e){if(!s.e.subagentLabel&&(s.e.role==="tool"||s.e.role==="thinking")){a.push(s);continue}l(),t.push({kind:"entry",key:Ml(s.e),node:s})}return l(),t}const bP=w.memo(function({nodes:t}){const a=t.filter(o=>o.e.error).length,l=t[t.length-1].e,s=l.role==="thinking"?"Thinking":l.text;return x.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[x.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:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),x.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[t.length," steps"]}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:s}),a?x.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),x.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:t.map(o=>x.jsx(xp,{node:o},Ml(o.e)))})]})},EP);function xp({node:e,onSelectSubagent:t}){const a=e.e.toolUseId;return e.e.subagentLabel?x.jsx(vP,{node:e,onOpen:a&&t?()=>t(a):void 0}):x.jsx(wP,{e:e.e})}function vP({node:e,onOpen:t}){const{e:a}=e,l=x.jsxs(x.Fragment,{children:[x.jsx(DD,{size:14,strokeWidth:1.7,className:"shrink-0 text-faint","aria-hidden":!0}),x.jsx("span",{className:"shrink-0 font-medium text-text",children:"Agent"}),x.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11.5px] text-muted",children:a.subagentLabel}),a.error?x.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"failed"}):null,t?x.jsx("span",{className:"shrink-0 text-[11px] text-faint",children:"Open"}):null]});return x.jsx("section",{className:"min-w-0 px-0.5","data-subagent":a.subagentLabel,children:t?x.jsx("button",{type:"button",onClick:t,"aria-label":`Open agent ${a.subagentLabel}`,className:"flex w-full min-w-0 items-center gap-2 rounded-lg py-1 text-left text-[12.5px] transition active:bg-surface-2",children:l}):x.jsx("div",{className:"flex min-w-0 items-center gap-2 py-1 text-[12.5px]",children:l})})}function CP(e){const{e:t}=e;return t.output&&(t.error||t.tool==="Agent"||t.tool==="Task")?t.output:null}function kP({text:e,failed:t}){return x.jsx("div",{className:"flex flex-col items-start","data-subagent-result":!0,children:x.jsx(Yu,{className:pe("max-w-[92%] px-0.5",t&&"text-del/80"),children:x.jsx(or,{children:e})})})}function AP({queued:e,onRetry:t,onDismiss:a}){const l=e.status==="failed",s=!l&&!!e.sessionId;return x.jsx(ad,{state:l?"failed":"pending",meta:l?e.error||"Didn’t send":x.jsxs(x.Fragment,{children:[e.reason??"The relay is sending this",s?x.jsx(Ma,{className:"ml-1"}):null]}),actions:l?[...t?[{label:"Retry",onClick:t,primary:!0}]:[],{label:"Dismiss prompt",onClick:a}]:[],dataUserMessage:ed(e.text),dataMessageState:"queued",children:x.jsx("div",{children:x.jsx(or,{children:e.text})})})}function BP({p:e,onRetry:t,onDismiss:a}){const l=e.status==="error";return x.jsx(ad,{state:l?"failed":"pending",meta:l?e.error||"Didn’t send":"Sending…",actions:l?[{label:"Retry",onClick:t,primary:!0},{label:"Dismiss message",onClick:a}]:[],dataUserMessage:ed(e.text),dataMessageState:l?"failed":"sending",children:x.jsx("div",{children:x.jsx(or,{children:e.text})})})}const wP=w.memo(function({e:t}){return t.role==="user"?x.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":ed(t.text),"data-msg-ts":t.ts,"data-msg-state":t.queued?"queued":void 0,children:[x.jsxs(Yu,{className:pe("max-w-[85%] bg-accent-soft text-text",t.queued&&"opacity-60"),children:[t.queued?x.jsx(Ku,{children:"queued"}):null,x.jsx(or,{children:t.text})]}),x.jsx("span",{className:"pr-1 text-[11px] text-faint",children:tL(t.ts)})]}):t.role==="tool"?x.jsx(SP,{e:t}):t.role==="thinking"?x.jsxs("details",{className:"group/think px-1",children:[x.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[x.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),x.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:x.jsx(or,{children:t.text})})]}):t.role==="system"?x.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:t.text}):x.jsx("div",{className:"flex flex-col items-start",children:x.jsx(Yu,{className:"max-w-[92%] px-0.5",children:x.jsx(or,{children:t.text})})})});function W4({text:e,at:t,startedAt:a,working:l,rowid:s,through:o,onFork:c}){const[d,f]=w.useState(!1),[h,m]=w.useState(!1),[p,y]=w.useState(null),[b,v]=w.useState("chat"),[k,C]=w.useState(()=>Date.now());w.useEffect(()=>{const S=setInterval(()=>C(Date.now()),6e4);return()=>clearInterval(S)},[]);const B=a?J0(t)-J0(a):Number.NaN,N=[B>0?td(B):null,nL(t,k)].filter(Boolean).join(" · "),M=async S=>{if(!(!c||h)){m(!0),y(null),f(!1);try{await c({thinking:S.thinking,tools:S.tools,destination:b,through:S.only?void 0:o,only:S.only?s:void 0})}catch(F){y(F instanceof Error?F.message:"Could not fork this chat")}finally{m(!1)}}};return x.jsxs("div",{className:"flex max-w-full flex-col items-start gap-1",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[!l&&N?x.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:N}):null,x.jsx(Qh,{text:e,label:"response",className:"size-7 rounded-lg border border-border-soft bg-surface/70"}),c?x.jsxs("div",{className:"relative",children:[x.jsxs("div",{className:"flex items-center overflow-hidden rounded-lg border border-border-soft bg-surface/70 text-muted",children:[x.jsxs("button",{type:"button",onClick:()=>{M({thinking:!0,tools:!1})},disabled:h,"aria-label":b==="workspace"?"Fork to a new workspace with reasoning":o?"Fork chat from this response":"Fork chat with reasoning",title:b==="workspace"?"New workspace with current code":"New chat, same files",className:"flex h-7 items-center gap-1 whitespace-nowrap px-2 text-[11px] font-medium transition active:bg-surface-2 disabled:opacity-50",children:[h?x.jsx(T0,{size:13,className:"animate-spin"}):x.jsx(s9,{size:13}),b==="workspace"?"Fork workspace":"Fork"]}),x.jsx("button",{type:"button",onClick:()=>f(S=>!S),disabled:h,"aria-label":"Choose fork options","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:x.jsx(Na,{size:14,className:pe("transition-transform",d&&"rotate-180")})})]}),d?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-20",onClick:()=>f(!1),"aria-hidden":!0}),x.jsxs("div",{role:"menu","aria-label":"Fork options",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:[x.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":b==="workspace",onClick:()=>v(S=>S==="chat"?"workspace":"chat"),className:"flex w-full items-center gap-3 border-b border-border-soft px-3 py-2 text-left active:bg-surface-2",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-[12px] font-medium text-text",children:"To new workspace"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"Carry the current code into its own worktree"})]}),x.jsx("span",{"aria-hidden":!0,className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",b==="workspace"?"bg-accent":"border border-border bg-surface-2"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white shadow-sm transition-transform",b==="workspace"?"translate-x-5":"translate-x-0")})})]}),x.jsx(Uo,{label:"Last message only",detail:"This response, without history",onClick:()=>{M({thinking:!1,tools:!1,only:!0})}}),x.jsx(Uo,{label:"Concise",detail:"Messages only",onClick:()=>{M({thinking:!1,tools:!1})}}),x.jsx(Uo,{label:"With reasoning",detail:"Messages and reasoning",onClick:()=>{M({thinking:!0,tools:!1})}}),x.jsx(Uo,{label:"Full transcript",detail:"Messages, reasoning, and tools",onClick:()=>{M({thinking:!0,tools:!0})}})]})]}):null]}):null]}),p?x.jsxs("span",{className:"max-w-[85vw] text-[11px] text-del",children:[p,Rr(p)?x.jsx(Ma,{className:"ml-1"}):null]}):null]})}function Uo({label:e,detail:t,onClick:a}){return x.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:[x.jsx("span",{className:"text-[12px] font-medium text-text",children:e}),x.jsx("span",{className:"text-[11px] text-faint",children:t})]})}function DP({since:e}){const[t,a]=w.useState(()=>Date.now());return w.useEffect(()=>{if(!e)return;a(Date.now());const l=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(l)},[e]),x.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[x.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[x.jsx("span",{className:"typing-dot"}),x.jsx("span",{className:"typing-dot"}),x.jsx("span",{className:"typing-dot"})]}),e?x.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:td(t-e)}):null]})}function FP({task:e}){const t=J0(e.since),[a,l]=w.useState(()=>Date.now());return w.useEffect(()=>{l(Date.now());const s=setInterval(()=>l(Date.now()),1e3);return()=>clearInterval(s)},[]),x.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:[x.jsx(px,{size:13,className:"shrink-0 text-faint"}),x.jsx("span",{className:"shrink-0 text-faint",children:"Waiting for task"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:e.description}),Number.isNaN(t)?null:x.jsx("span",{className:"shrink-0 text-[11px] tabular-nums text-faint",children:td(a-t)})]})}const SP=w.memo(function({e:t}){const[a,l]=w.useState(!1);if(t.error&&!t.tool)return x.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:x.jsx(cu,{text:t.text,className:"line-clamp-4 text-del/80"})});const s=Wh(t.detail),o=t.images??[];return!t.detail&&!t.output&&!o.length?x.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:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"·"}),x.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:t.text})]}):x.jsxs("details",{open:a,onToggle:c=>l(c.currentTarget.open),className:pe("group/tool min-w-0 overflow-hidden rounded-xl border",t.error?"border-del/30 bg-del/5":"border-border-soft bg-surface/60"),children:[x.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:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/tool:rotate-90",children:"▸"}),x.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:t.text}),t.detail?s?x.jsx(qu,{href:s,title:`Open ${t.detail}`,onClick:c=>c.stopPropagation(),className:"min-w-0 flex-1 truncate font-mono text-[11px] text-accent underline underline-offset-2 group-open/tool:invisible",children:t.detail}):x.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint group-open/tool:invisible",children:t.detail}):null,t.error?x.jsx("span",{className:"ml-auto shrink-0 text-[11px] text-del",children:"failed"}):null]}),x.jsxs("div",{className:"flex min-w-0 flex-col gap-2 border-t border-border-soft px-3 py-2",children:[t.detail?s?x.jsx(qu,{href:s,title:`Open ${t.detail}`,className:"block whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-accent underline underline-offset-2 [overflow-wrap:anywhere]",children:t.detail}):x.jsx(cu,{text:t.detail,className:"text-muted",language:RO(t.tool)}):null,t.output?x.jsxs("div",{className:pe("min-w-0",t.detail&&"border-t border-border-soft pt-2"),children:[x.jsx(Ku,{children:t.error?"error":t.diff?"changes":"output"}),t.diff?x.jsx(cp,{patch:t.output,fileName:t.detail}):x.jsx(cu,{text:t.output,className:t.error?"text-del/80":"text-muted",language:t.error?null:OO(t.tool,t.detail)})]}):null,a&&o.length?x.jsxs("div",{className:pe("flex min-w-0 flex-col gap-2",(t.detail||t.output)&&"border-t border-border-soft pt-2"),children:[x.jsx(Ku,{children:_P(o.length,"image")}),o.map(c=>x.jsx(NP,{reference:c},c))]}):null]})]})}),MP="whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed [overflow-wrap:anywhere]";function cu({text:e,className:t,language:a}){return x.jsx("pre",{className:pe(MP,t),children:a?x.jsx(Lh,{text:e,language:a}):e})}function NP({reference:e}){const[t,a]=w.useState(null),[l,s]=w.useState(!1);return w.useEffect(()=>{let o=!1;return Fe.toolImage(e).then(c=>!o&&a(c)).catch(()=>!o&&s(!0)),()=>{o=!0}},[e]),l?x.jsx("span",{className:"text-[11px] text-faint",children:"Image unavailable."}):t?x.jsx("img",{src:t,alt:"Tool output",className:"max-w-full rounded-lg border border-border-soft"}):x.jsx(pn,{label:"Loading image…"})}const _P=(e,t)=>`${e} ${t}${e===1?"":"s"}`;function Yu({children:e,className:t}){return x.jsx("div",{className:pe("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",t),children:e})}function Ku({children:e}){return x.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function jP({workspace:e}){const[t,a]=W6(),l=t.get("session"),s=t.get("subagent"),{data:o,isLoading:c}=Z9(e.id,!1),d=o?.sessions??[],f=(l&&d.some(y=>y.id===l)?l:null)??d[0]?.id??null,h=d.find(y=>y.id===f),m=y=>{f&&a(y?{session:f,subagent:y}:{session:f},{replace:!0})},p=[e.repo_name,e.branch].filter(Boolean).join(" · ");return x.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[x.jsx(Qu,{title:ta(e),subtitle:p,menu:!0,right:x.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:[x.jsx(xx,{size:12}),"Archived"]})}),d.length>1?x.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:d.map(y=>x.jsx("button",{type:"button",onClick:()=>a({session:y.id},{replace:!0}),className:pe("pill shrink-0",y.id===f&&!s&&"pill-active"),children:x.jsx("span",{className:"whitespace-nowrap",children:y.title||"Untitled"})},y.id))}):null,!c&&!f?x.jsx(Qt,{children:"This workspace was archived with no chat in it."}):x.jsx(up,{sessionId:f,workspaceId:e.id,turnStartedAt:h?.turn_started_at,agentType:h?.agent_type,model:h?.model,selectedSubagentId:s,onSelectSubagent:m,poll:!1}),x.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:s?x.jsxs("button",{type:"button",onClick:()=>m(null),className:"mx-auto flex items-center gap-2 rounded-lg px-3 py-1.5 font-medium text-accent transition active:bg-surface-2",children:[x.jsx(e9,{size:14}),"Back to parent transcript"]}):"Read-only — unarchive it in Conductor to reply."})]})}const dp=[{key:"initial",label:"Initial context",barClass:"bg-context-initial",ringClass:"stroke-context-initial"},{key:"chat",label:"Chat",barClass:"bg-context-chat",ringClass:"stroke-context-chat"},{key:"thinking",label:"Thinking",barClass:"bg-working",ringClass:"stroke-working"},{key:"tools",label:"Tool calls",barClass:"bg-context-tools",ringClass:"stroke-context-tools"}];function TP(e,t){if(!t||t.totalTokens<=0)return[];const a=Math.min(100,Math.max(0,e));let l=0;return dp.flatMap(s=>{const o=Math.max(0,t.categories[s.key]),c=Math.min(100-l,o/t.totalTokens*a);if(c<=0)return[];const d={key:s.key,label:s.label,ringClass:s.ringClass,length:c,offset:l};return l+=c,[d]})}const zP=()=>typeof window<"u"&&window.matchMedia("(pointer: coarse)").matches;function fp(e,t=zP()){return e.key!=="Enter"||e.nativeEvent.isComposing||e.shiftKey?!1:e.metaKey||e.ctrlKey?!0:!t}const Un=6e4,RP=e=>/(?:^|[:/])(claude|fable|haiku|opus|sonnet)|^(claude|fable|haiku|opus|sonnet)/.test(e),J4=e=>/(?:^|[:/])(openai|gpt|o[1-9])|^(openai|gpt|o[1-9]|\d)/.test(e);function OP(e){const t=e.agent_type?.trim().toLowerCase()??"",a=e.model?.trim().toLowerCase()??"";return(t==="claude"||t==="anthropic")&&e.prompt_cache_ttl_ms&&e.prompt_cache_ttl_ms>0?Fa(e.prompt_cache_ttl_ms,!0):t==="claude"||t==="anthropic"?Fa(60*Un,!1):t==="codex"||t==="openai"?Fa(30*Un,!1):t==="cursor"?RP(a)?Fa(5*Un,!1):(J4(a),Fa(30*Un,!1)):(t==="acp"||t==="opencode")&&J4(a)?Fa(30*Un,!1):Fa(5*Un,!1)}function LP(e,t=Date.now()){if(!e.last_user_message_at)return null;const a=J0(e.updated_at);if(!Number.isFinite(a))return null;const l=OP(e);return t-a>=l.ttlMs?l:null}function Fa(e,t){return{ttlMs:e,ttlLabel:e>=60*Un?`${e/(60*Un)}h`:`${e/Un}m`,observed:t}}function hp({value:e,models:t,onSelect:a,defaultModel:l,onSetDefault:s,settingDefault:o,open:c,onOpenChange:d,isFetching:f=!1,isError:h=!1,empty:m="No models are cached yet. Open a model picker in a chat first.",placement:p="above",className:y,beforeOptions:b,renderTrigger:v}){const[k,C]=w.useState(!1),B=c??k,N=S=>{const F=typeof S=="function"?S(B):S;c===void 0&&C(F),d?.(F)},M=UD(t);return x.jsxs("div",{className:"relative",children:[v?v({picking:B,toggle:()=>N(S=>!S)}):x.jsxs("button",{type:"button",onClick:()=>N(S=>!S),"aria-haspopup":"menu","aria-expanded":B,className:pe("ctl flex max-w-40 items-center gap-1",e&&"ctl-staged",y),children:[x.jsx("span",{className:"truncate",children:e?Du(e):"Model"}),x.jsx(Na,{size:13,className:"shrink-0"})]}),B?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>N(!1),className:"fixed inset-0 z-30 cursor-default"}),x.jsxs("div",{className:pe("absolute left-0 z-40 max-h-64 w-64 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",p==="below"?"top-full mt-2":"bottom-full mb-2"),children:[b,f?x.jsx(ds,{size:10,className:"mx-3 my-1.5 animate-spin text-faint"}):null,M.length?M.map(S=>x.jsxs("fieldset",{className:"m-0 min-w-0 border-0 p-0",children:[x.jsx("legend",{className:"px-3 pb-0.5 pt-1.5 text-[11px] font-medium text-faint",children:S.label}),S.models.map(F=>{const D=l===F;return x.jsxs("div",{className:"flex items-stretch active:bg-surface",children:[x.jsxs("button",{type:"button",onClick:()=>{N(!1),a(F)},className:"flex min-w-0 flex-1 items-center gap-2 py-2 pl-3 pr-1 text-left text-sm",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate",children:Du(F)}),x.jsx(na,{size:13,className:pe("shrink-0 text-accent",e!==F&&"invisible")})]}),s?x.jsx("button",{type:"button",disabled:D||o!==void 0,onClick:()=>{N(!1),s(F)},"aria-label":D?`${F} is the default model`:`Set ${F} as default and select`,"aria-pressed":D,className:pe("flex w-9 shrink-0 items-center justify-center text-faint disabled:opacity-60",D&&"text-accent"),children:o===F?x.jsx(T0,{size:14,className:"animate-spin"}):x.jsx(wu,{size:14,fill:D?"currentColor":"none"})}):D?x.jsx(wu,{size:14,fill:"currentColor","aria-label":`${F} is the default model`,className:"mx-3 self-center text-accent"}):null]},F)})]},S.label)):x.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:f?"Reading Conductor’s model list…":m}),h?x.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:t.length?"Couldn’t refresh. Showing saved models.":"Couldn’t read the model list."}):null]})]}):null]})}function pp({model:e,providerModel:t,agentType:a,models:l,modelPickerOpen:s,onModelPickerOpenChange:o,modelsFetching:c=!1,modelsError:d=!1,defaultModel:f,onSetDefaultModel:h,settingDefaultModel:m,fast:p,effort:y,plan:b,planAvailable:v,showEmptyEffort:k=!1,modelStaged:C=!1,fastStaged:B=!1,effortStaged:N=!1,planStaged:M=!1,onModelChange:S,onFastChange:F,onEffortChange:D,onPlanChange:R,disabled:O=!1,freezeAgent:P=!1,beforeModel:T,status:H}){const Z=v??Nx(a,t),J=_x(a,t),W=jx(a,t);return x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-0.5",children:[T,x.jsx("div",{className:"min-w-0",children:x.jsx(hp,{value:e,models:l,open:s,onOpenChange:o,isFetching:c,isError:d,defaultModel:f,onSetDefault:h,settingDefault:m,onSelect:S,renderTrigger:({picking:$,toggle:G})=>x.jsxs("button",{type:"button",disabled:O||P,onClick:G,"aria-label":`Change model, currently ${e}`,"aria-haspopup":"menu","aria-expanded":$,className:pe("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 disabled:pointer-events-none disabled:opacity-40",C&&"text-accent"),children:[x.jsx(Lr,{agentType:a,model:t,className:"size-[15px]"}),x.jsx("span",{className:"truncate",children:Du(e)})]})})}),W?x.jsx("button",{type:"button",disabled:O||P,onClick:F,"aria-label":`Fast mode ${p===void 0?"default":p?"on":"off"}`,"aria-pressed":p===!0,className:pe("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",p&&"text-text",B&&"text-accent"),children:x.jsx(yx,{size:17})}):null,J&&(y||k)?x.jsxs("button",{type:"button",disabled:O||P,onClick:D,"aria-label":`Reasoning effort: ${y?as[y]:"default"}`,className:pe("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 disabled:pointer-events-none disabled:opacity-40",N&&"text-accent"),children:[x.jsx(f7,{effort:y??""}),x.jsx("span",{className:"max-[340px]:hidden",children:y?as[y]:"Effort"})]}):null,Z?x.jsx("button",{type:"button",disabled:O,onClick:R,"aria-label":`Plan mode ${b===void 0?"default":b?"on":"off"}`,"aria-pressed":b===!0,className:pe("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",b&&"text-text",M&&"text-accent"),children:x.jsx(c9,{size:17})}):null]}),H?x.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:H}):null]})}function ld({className:e}){return x.jsx("span",{className:pe("inline-flex h-4 shrink-0 items-center rounded bg-accent/10 px-1.5 font-mono text-[9px] font-semibold uppercase tracking-wide text-accent",e),children:"Beta"})}function mp({active:e,onChange:t}){return x.jsxs("button",{type:"button",onClick:()=>t(!e),title:"Run this task through your configured delegated roles","aria-label":`Workflow mode ${e?"on":"off"}`,"aria-pressed":e,className:pe("flex h-8 shrink-0 items-center gap-1 rounded-md px-1.5 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text",e&&"bg-accent/10 text-accent"),children:[x.jsx(_l,{size:15}),x.jsx("span",{children:"Workflow"}),x.jsx(ld,{className:"-mr-0.5"})]})}const PP=600*1e3,GP={};function Zo(e,t){return e===t?void 0:e}function HP({session:e,workspaceId:t,workflow:a,frozenWorkflow:l}){const[s,o]=w.useState(!1),[c,d]=w.useState(),[f,h]=w.useState(),m=be(Q=>Q.agentDrafts[e.id])??GP,p=be(Q=>Q.stageAgent),y=L0(),b=be(Q=>Q.pending.some(z=>z.sessionId===e.id&&z.status==="sending")),v=E1(),k=v.data?.groups.find(Q=>Q.agentType===(e.agent_type??"unknown")),C=!!k?.defaultModel&&Date.now()-k.updatedAt<PP,B=l?.role??(a?.active?a.role:void 0),N=!!B,M=l?.role.agentType??(B?Ll(B.model):void 0),S=xS(e,t,s&&!N&&!C),F=S.data?.models??k?.models??[],D=S.data?.defaultModel??v.data?.defaultModel??k?.defaultModel,R=Q=>p(e.id,Q),O=e.claude_effort_level??void 0,P=e.permission_mode==="plan",T=!!e.fast_mode,H=m.effort??O,Z=m.plan??P,J=m.fast??T,W=Object.keys(m).length>0,$=m.model??(b9(e.model,F)||"Model"),G=m.model??e.model,Y=Nx(e.agent_type,G),re=_x(e.agent_type,G),he=jx(e.agent_type,G),j=B?.model??"Planning role";w.useEffect(()=>{N&&o(!1)},[N]),w.useEffect(()=>{N||!Y&&m.plan!==void 0&&p(e.id,{plan:void 0})},[N,Y,e.id,m.plan,p]),w.useEffect(()=>{N||(!re&&m.effort!==void 0&&p(e.id,{effort:void 0}),!he&&m.fast!==void 0&&p(e.id,{fast:void 0}))},[N,re,he,e.id,m.effort,m.fast,p]),w.useEffect(()=>{l&&(m.model!==void 0&&p(e.id,{model:void 0}),m.effort!==void 0&&p(e.id,{effort:void 0}),m.fast!==void 0&&p(e.id,{fast:void 0}))},[l,e.id,m.model,m.effort,m.fast,p]);const L=async Q=>{if(!c){d(Q),h(void 0);try{const z=await Fe.setDefaultModel(e.id,Q,t);if(!z.ok)throw new Error(z.error??"could not set the default model");p(e.id,{model:void 0}),await Promise.all([y.invalidateQueries({queryKey:["model-catalog"]}),y.invalidateQueries({queryKey:["sessions",t]}),y.invalidateQueries({queryKey:["state"]})])}catch(z){h(z instanceof Error?z.message:"could not set the default model")}finally{d(void 0)}}};return x.jsx(pp,{model:N?j:$,providerModel:N?B?.model??null:G,agentType:N?M??null:e.agent_type,models:F,modelPickerOpen:s,onModelPickerOpenChange:o,modelsFetching:S.isFetching||v.isFetching,modelsError:S.isError,defaultModel:D,onSetDefaultModel:Q=>{L(Q)},settingDefaultModel:c,fast:N?B?.fast:J,effort:N?B?.effort:H,plan:Z,planAvailable:Y,showEmptyEffort:N,modelStaged:!N&&m.model!==void 0,fastStaged:!N&&m.fast!==void 0,effortStaged:!N&&m.effort!==void 0,planStaged:m.plan!==void 0,onModelChange:Q=>R({model:Zo(Q,m.model)}),onFastChange:()=>R({fast:Zo(!J,T)}),onEffortChange:()=>R({effort:Zo(d7(H),O)}),onPlanChange:()=>R({plan:Zo(!Z,P)}),freezeAgent:N,beforeModel:a?x.jsx(mp,{active:a.active,onChange:Q=>{o(!1),a.onChange(Q)}}):void 0,status:l?`${l.name} role frozen by Workflow`:a?.active?a.problem?x.jsx("span",{className:"text-del",children:a.problem}):a.loading?"Loading Workflow roles…":"Planning root · one explorer is guaranteed after acceptance":f?x.jsxs("span",{className:"text-del",children:[f,Rr(f)?x.jsx(Ma,{className:"ml-1"}):null]}):c?"Setting default and selecting…":W?b?"Applying…":"Applies when you send":void 0})}const gp=[];function Ep({draftKey:e,ready:t,enabled:a,upload:l,accept:s,removeReady:o,discard:c}){const d=w.useRef(null),f=w.useRef(new Set),h=w.useRef(0),[m,p]=w.useState([]),[y,b]=w.useState(!1),v=m.filter(F=>F.draftKey===e),k=async F=>{if(!a)return;const D=e;for(const R of Array.from(F)){const O=crypto.randomUUID();p(P=>[...P,{draftKey:D,id:O,name:R.name||"attachment",status:"uploading"}]);try{const P=await l(D,R);if(f.current.delete(O)){c?.(P);continue}s(D,P),p(T=>T.filter(H=>H.id!==O))}catch(P){if(f.current.delete(O))continue;p(T=>T.map(H=>H.id===O?{...H,status:"error",error:P instanceof Error?P.message:"Upload failed"}:H))}}},C=F=>{F?.length&&k(F)},B=F=>Array.from(F.dataTransfer.types).includes("Files"),N={onDragEnter:F=>{B(F)&&(F.preventDefault(),h.current+=1,b(!0))},onDragLeave:F=>{B(F)&&(h.current-=1,h.current<=0&&(h.current=0,b(!1)))},onDragOver:F=>{B(F)&&(F.preventDefault(),F.dataTransfer.dropEffect="copy")},onDrop:F=>{B(F)&&(F.preventDefault(),h.current=0,b(!1),C(F.dataTransfer.files))}},M=F=>{const D=F.clipboardData.files;D.length&&(F.preventDefault(),C(D))},S=w.useCallback(()=>{for(const F of m)F.draftKey===e&&f.current.add(F.id)},[e,m]);return{items:[...t.map(({path:F,name:D})=>({id:F,name:D,status:"ready"})),...v.map(({draftKey:F,...D})=>D)],uploading:v.some(F=>F.status==="uploading"),hasError:v.some(F=>F.status==="error"),dragging:y,inputRef:d,dropTargetProps:N,onPaste:M,chooseFiles:C,remove:F=>{if(t.some(D=>D.path===F)){o(e,F);return}f.current.add(F),p(D=>D.filter(R=>R.id!==F))},clearPending:()=>p(F=>F.filter(D=>D.draftKey!==e)),cancelPending:S}}function yp({uploads:e}){return x.jsxs(x.Fragment,{children:[x.jsx("input",{ref:e.inputRef,type:"file",multiple:!0,className:"hidden",onChange:t=>{e.chooseFiles(t.target.files),t.target.value=""}}),e.items.length?x.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:e.items.map(t=>x.jsxs("div",{title:t.status==="error"?t.error:t.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:[t.status==="uploading"?x.jsx(T0,{size:12,className:"shrink-0 animate-spin"}):null,x.jsx("span",{className:"truncate",children:t.status==="error"?`${t.name}: ${t.error}`:t.name}),x.jsx("button",{type:"button",onClick:()=>e.remove(t.id),"aria-label":`Remove ${t.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:x.jsx(A0,{size:13})})]},t.id))}):null,e.dragging?x.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]})}function bp({uploads:e,disabled:t}){return x.jsx("button",{type:"button",onClick:()=>e.inputRef.current?.click(),disabled:t,"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:x.jsx(mx,{size:17})})}function VP({session:e,sessionId:t,workspaceId:a,working:l,actuator:s,onFork:o,onContext:c,workflowStarted:d=!1,workflow:f,workflowRole:h,focusDraft:m=!1,onDraftFocused:p}){const y=t??a,b=be(_e=>_e.drafts[y]??""),v=be(_e=>_e.draftAttachments[y]??gp),k=be(_e=>_e.setDraft),C=be(_e=>_e.addDraftAttachment),B=be(_e=>_e.removeDraftAttachment),N=be(_e=>_e.clearDraftContent),M=be(_e=>_e.moveDraft),S=be(_e=>_e.setFocusedDraft),F=be(_e=>_e.online),D=be(_e=>_e.clearWorking),R=Y9(),O=L0(),[P,T]=w.useState(!1),[H,Z]=w.useState(null),[J,W]=w.useState(!1),[$,G]=w.useState(null),[Y,re]=w.useState({sessionId:null,active:!1}),he=Y.sessionId===t&&Y.active,j=_e=>re({sessionId:t,active:_e}),L=w.useRef(null),Q=Ep({draftKey:y,ready:v,enabled:!!t&&F,upload:async(_e,ke)=>(await Fe.uploadAttachment(_e,a,ke)).attachment,accept:C,removeReady:B}),z=Q.uploading,le=[...v.map(_e=>_e.token),b.trim()].filter(Boolean).join(`
|
|
49
49
|
`),Ee=be(_e=>_e.pending.some(ke=>ke.sessionId===t&&!!ke.workflow)),de=!!e&&!e.last_user_message_at&&!l&&!d&&!f&&!Ee,Ce=he||de,{roles:Ie,planningRole:Se,problem:et,ready:it}=Q9(Ce),yt=e?.permission_mode==="plan"?"Workflow needs ordinary chat mode. Turn Plan off first.":et,we=it&&!yt;w.useEffect(()=>{t&&M(a,t)},[a,t,M]),w.useEffect(()=>(document.activeElement===L.current&&S(y),()=>{be.getState().focusedDraft===y&&S(null)}),[y,S]);const oe=()=>{const _e=L.current;_e&&(_e.style.height="auto",_e.style.height=`${Math.min(_e.scrollHeight,160)}px`)};w.useEffect(oe,[b]),w.useEffect(()=>{if(!m)return;const _e=L.current;_e&&(_e.focus({preventScroll:!0}),_e.setSelectionRange(_e.value.length,_e.value.length),p?.())},[m,p]);const X=(_e=!1)=>{if(!le||z||J||!t||!F||Ee||he&&!we)return;const ke=he;R({sessionId:t,workspaceId:a,text:le,queue:ke?!1:_e,workflow:ke}).then(Et=>{Et&&ke&&(re(se=>se.sessionId===t?{...se,active:!1}:se),Q.clearPending())}),ke||(N(y),Q.clearPending())},De=async()=>{if(!(!(o&&le)||z||J||!F)){W(!0),G(null);try{await o(le),N(y),Q.clearPending()}catch(_e){G(_e instanceof Error?_e.message:"Could not fork this chat")}finally{W(!1)}}},He=async()=>{if(!(!t||P||!F)){T(!0),Z(null);try{const _e=await Fe.stop(t,a);_e.ok?(D(t),await O.invalidateQueries({queryKey:["sessions",a]}),O.invalidateQueries({queryKey:["state"]})):Z(_e.error||"Stop failed")}catch(_e){Z(_e instanceof Error?_e.message:"Stop failed")}finally{T(!1)}}},st=!t,ot=s?.precise&&s.available,n0=l&&!!t,wt=(!!b.trim()||v.length>0)&&!z&&!Ee&&(!he||we),Ft=!l&&wt&&e&&o?LP(e):null;return x.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[F?!ot&&x.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[x.jsx(nA,{size:12}),s?.caveat||"Sends to the focused session"]}):x.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:[x.jsx(Ex,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),H?x.jsxs("div",{className:"mb-2 rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx("button",{type:"button",onClick:()=>Z(null),className:"block w-full text-left",children:H}),Rr(H)?x.jsx(Ma,{className:"mt-1 inline-block"}):null]}):null,Ft?x.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:[x.jsx(Dw,{size:14,className:"shrink-0"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"text-xs font-medium",children:"Prompt cache may be cold"}),x.jsxs("div",{className:"text-[11px] text-muted",children:["Idle past its ",Ft.ttlLabel," window"]}),$?x.jsxs("div",{className:"mt-0.5 text-[11px] text-del",role:"alert",children:[$,Rr($)?x.jsx(Ma,{className:"ml-1"}):null]}):null]}),x.jsxs("button",{type:"button",onClick:()=>{De()},disabled:J||!F,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:[J?x.jsx(T0,{size:13,className:"animate-spin"}):x.jsx(s9,{size:13}),"Fork draft"]})]}):null,x.jsxs("fieldset",{"aria-label":"Message composer",...Q.dropTargetProps,className:`m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60 ${Q.dragging?"border-accent bg-accent-soft":""}`,children:[x.jsx(yp,{uploads:Q}),x.jsx("textarea",{ref:L,rows:1,value:b,disabled:st||J,placeholder:st?"No active session":he?"What should the workflow accomplish?":"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:_e=>k(y,_e.target.value),onFocus:()=>S(y),onBlur:()=>{be.getState().focusedDraft===y&&S(null),_u()},onPaste:Q.onPaste,onKeyDown:_e=>{fp(_e)&&(_e.preventDefault(),X(_e.metaKey||_e.ctrlKey))}}),x.jsxs("div",{className:"mt-1 flex items-start gap-1",children:[e?x.jsx(HP,{session:e,workspaceId:a,frozenWorkflow:f&&h?{name:h,role:f.roles[h]}:void 0,workflow:Ce?{active:he,role:Se,loading:Ie.isLoading,problem:yt,onChange:j}:void 0}):x.jsx("span",{className:"flex-1"}),e&&c?x.jsx(IP,{session:e,onOpen:c}):null,x.jsx(bp,{uploads:Q,disabled:st||J||!F}),n0?x.jsx("button",{type:"button",onClick:He,disabled:P||!F,"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:P?x.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):x.jsx(p9,{size:14,fill:"currentColor"})}):null,n0&&!wt?null:x.jsx("button",{type:"button",onClick:()=>X(),disabled:st||!wt||J||!F,"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:x.jsx(qb,{size:18})})]})]})]})}function IP({session:e,onOpen:t}){const a=e.context_used_percent,l=q9(e.id,typeof a=="number"&&a>0,e.updated_at);if(typeof a!="number"||a<=0)return null;const s=Math.min(100,Math.max(0,a)),o=Math.round(a),c=TP(s,l.data);return x.jsx("button",{type:"button",onClick:t,"aria-label":`Context for ${e.title||"Untitled"}: ${o}% used`,"aria-haspopup":"dialog",title:`Context: ${o}% used`,className:"flex size-8 shrink-0 items-center justify-center rounded-md transition active:bg-surface-2",children:x.jsxs("svg",{viewBox:"0 0 18 18","aria-hidden":"true",className:"size-[18px] -rotate-90",children:[x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",className:"stroke-border"}),c.length?c.map(d=>x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",pathLength:"100",strokeDasharray:`${d.length} ${100-d.length}`,strokeDashoffset:-d.offset,"data-context-segment":d.key,className:d.ringClass},d.key)):x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",pathLength:"100",strokeDasharray:`${s} ${100-s}`,strokeLinecap:"round",className:a>=80?"stroke-working":"stroke-accent"})]})})}function uu(e,t,a){let l=e;const s=Math.min(l,t);l-=s;const o=Math.min(l,Math.max(0,a-t));return l-=o,[{key:"chat",tokens:s,color:"bg-context-chat"},{key:"thinking",tokens:o,color:"bg-working"},{key:"tools",tokens:l,color:"bg-context-tools"}]}function UP({label:e,layers:t,scale:a}){return x.jsx("div",{role:"img","aria-label":`${e}: ${Xo(t.reduce((l,s)=>l+s.tokens,0))} estimated tokens`,className:"flex h-1.5 overflow-hidden rounded-full bg-surface-2",children:t.map(l=>l.tokens>0?x.jsx("span",{className:l.color,style:{width:`${l.tokens/a*100}%`}},l.key):null)})}function ZP({data:e}){const t=typeof e.usedPercent=="number"?`${Math.round(e.usedPercent)}% used`:null,a=dp.map(o=>({...o,color:o.barClass,tokens:e.categories[o.key]})),l=Math.max(e.forkTokens.concise,e.forkTokens.reasoning,e.forkTokens.full,1),s=[{label:"Concise",detail:"Messages only",tokens:e.forkTokens.concise,layers:uu(e.forkTokens.concise,e.forkTokens.concise,e.forkTokens.reasoning)},{label:"With reasoning",detail:"Messages and reasoning",tokens:e.forkTokens.reasoning,layers:uu(e.forkTokens.reasoning,e.forkTokens.concise,e.forkTokens.reasoning)},{label:"Full transcript",detail:"Messages, reasoning, and tools",tokens:e.forkTokens.full,layers:uu(e.forkTokens.full,e.forkTokens.concise,e.forkTokens.reasoning)}];return x.jsxs("div",{className:"space-y-5",children:[x.jsxs("section",{"aria-labelledby":"context-composition-heading",children:[x.jsxs("div",{className:"mb-3 flex items-baseline gap-2",children:[x.jsx("h3",{id:"context-composition-heading",className:"min-w-0 flex-1 text-sm font-semibold",children:"Inside this context"}),x.jsxs("span",{className:"text-sm font-semibold tabular-nums",children:[Xo(e.totalTokens)," tokens"]}),t?x.jsx("span",{className:"text-xs tabular-nums text-muted",children:t}):null]}),x.jsx("div",{role:"img","aria-label":a.map(o=>`${o.label} ${L4(o.tokens,e.totalTokens)}`).join(", "),className:"flex h-2.5 overflow-hidden rounded-full bg-surface-2",children:a.map(o=>o.tokens>0&&e.totalTokens>0?x.jsx("span",{className:o.color,style:{width:`${o.tokens/e.totalTokens*100}%`}},o.key):null)}),x.jsx("div",{className:"mt-3 grid grid-cols-2 gap-x-5 gap-y-2.5",children:a.map(o=>{const c=L4(o.tokens,e.totalTokens);return x.jsxs("div",{className:"min-w-0 text-xs",children:[x.jsxs("div",{className:"flex items-center gap-2 text-muted",children:[x.jsx("span",{className:`size-2 shrink-0 rounded-full ${o.color}`}),x.jsx("span",{children:o.label})]}),x.jsxs("div",{className:"mt-0.5 pl-4 tabular-nums",children:[o.tokens?"≈":"",Xo(o.tokens)," · ",c]})]},o.key)})}),x.jsxs("p",{className:"mt-3 text-[11px] leading-relaxed text-faint",children:["Categories are estimated from the last completed turn. Chat is user prompts and visible replies. Initial context is the remainder: system and developer prompts, project instructions, skills, tool definitions, attachments, ",e.compacted?"compacted summaries, ":"","and provider overhead."]})]}),x.jsxs("section",{"aria-labelledby":"fork-size-heading",className:"border-t border-border-soft pt-4",children:[x.jsx("h3",{id:"fork-size-heading",className:"mb-2 text-sm font-semibold",children:"Estimated fork payload"}),x.jsxs("div",{className:"divide-y divide-border-soft overflow-hidden rounded-xl border border-border-soft",children:[x.jsxs("div",{className:"flex items-center gap-3 px-3 py-2.5",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-xs font-medium",children:"Last message only"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"This response, without history"})]}),x.jsx("span",{className:"text-[11px] text-faint",children:"Depends on message"})]}),s.map(o=>x.jsxs("div",{className:"space-y-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-xs font-medium",children:o.label}),x.jsx("span",{className:"block text-[11px] text-faint",children:o.detail})]}),x.jsxs("span",{className:"shrink-0 text-xs font-medium tabular-nums",children:["≈",Xo(o.tokens)]})]}),x.jsx(UP,{label:o.label,layers:o.layers,scale:l})]},o.label))]}),e.forkTokens.reasoning===e.forkTokens.concise?x.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-muted",children:"No saved reasoning is available to copy, so Concise and With reasoning are the same size."}):null,x.jsxs("p",{className:"mt-2 text-[11px] leading-relaxed text-faint",children:["The bars reuse the context colors; the source's initial context is not copied. Fork sizes use the full saved transcript",e.compacted?", including history before compaction":"","."]})]})]})}function $P({sessionId:e,title:t,revision:a,onClose:l}){const s=q9(e,!0,a);return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:l,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Context breakdown",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:[x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Context"}),x.jsx("p",{className:"truncate text-xs text-muted",children:t||"Untitled"})]}),x.jsx("button",{type:"button",onClick:l,"aria-label":"Close context breakdown",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(A0,{size:18})})]}),x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain p-4",children:s.data?x.jsx(ZP,{data:s.data}):s.isError?x.jsxs("div",{className:"flex flex-col items-center gap-3 py-8 text-center",children:[x.jsx("p",{className:"text-sm text-del",children:s.error instanceof Error?s.error.message:"Could not read this context."}),x.jsx("button",{type:"button",onClick:()=>{s.refetch()},className:"rounded-full border border-border px-3 py-1.5 text-xs font-medium active:bg-surface-2",children:"Try again"})]}):x.jsxs("div",{className:"flex items-center justify-center gap-2 py-10 text-sm text-muted",children:[x.jsx(T0,{size:16,className:"animate-spin"}),"Reading context…"]})})]})]}),document.body)}function qP(e){document.visibilityState==="visible"&&window.open(e,"_blank","noopener,noreferrer")}const xu="flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40";function QP({workspaceId:e}){const t=rS(e),a=L0(),l=be(S=>S.online),[s,o]=w.useState(null),[c,d]=w.useState(null),[f,h]=w.useState(!1),[m,p]=w.useState(!1),y=w.useRef(null),b=w.useRef(null),v=t.data,k=(v?.runConfigs?.length??0)>1,C=v?.forwards?.filter(S=>S.forwarded&&S.url)??(v?.forwarded&&v.url?[{name:v.port?`Port ${v.port}`:"Dev server",port:v.port??0,url:v.url}]:[]);w.useEffect(()=>{if(!f&&!m)return;const S=m?b:y,F=R=>{R.target instanceof Node&&S.current?.contains(R.target)||(h(!1),p(!1))},D=R=>{R.key==="Escape"&&(R.preventDefault(),h(!1),p(!1),S.current?.querySelector("button")?.focus())};return document.addEventListener("pointerdown",F),document.addEventListener("keydown",D),()=>{document.removeEventListener("pointerdown",F),document.removeEventListener("keydown",D)}},[f,m]);const B=async(S,F)=>{if(!s){o(S?"start":"stop"),d(null);try{const D=S?await Fe.startDevServer(e,F):await Fe.stopDevServer(e);a.setQueryData(["dev-server",e],D),D.ok?S&&D.url&&qP(D.url):d(D.error??`Could not ${S?"start":"stop"} the dev server`)}catch(D){d(D instanceof Error?D.message:`Could not ${S?"start":"stop"} the dev server`)}finally{o(null),a.invalidateQueries({queryKey:["dev-server",e]})}}},N=k?"Choose Run config":v?.running?"Forward dev server to tailnet":"Start and forward dev server",M=v&&!v.available;return x.jsxs(x.Fragment,{children:[C.length&&C[0]?.url?x.jsxs("div",{ref:y,className:"relative flex shrink-0 items-center",children:[x.jsx("a",{href:C[0].url,target:"_blank",rel:"noreferrer","aria-label":`Open ${C[0].name} on port ${C[0].port}`,title:C[0].url,className:xu,children:x.jsx(QC,{size:18})}),C.length>1?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",onClick:()=>h(S=>!S),"aria-label":"Choose forwarded dev server","aria-haspopup":"menu","aria-expanded":f,className:"flex h-9 w-6 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(Na,{size:14,className:f?"rotate-180":void 0})}),f?x.jsx("div",{role:"menu","aria-label":"Forwarded dev servers",className:"fade-in absolute right-0 top-full z-30 mt-1 max-h-[calc(100dvh-4rem)] min-w-52 overflow-y-auto rounded-xl border border-border bg-surface py-1 shadow-xl",children:C.map(S=>x.jsxs("a",{href:S.url??void 0,target:"_blank",rel:"noreferrer",onClick:()=>h(!1),role:"menuitem",className:"flex items-center gap-3 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate",children:S.name}),x.jsxs("span",{className:"font-mono text-xs text-faint",children:[":",S.port]})]},`${S.port}:${S.url}`))}):null]}):null]}):x.jsxs("div",{ref:b,className:"relative shrink-0",children:[x.jsx("button",{type:"button",onClick:()=>{k?p(S=>!S):B(!0)},disabled:!l||!!s||!!M||t.isLoading,"aria-label":N,"aria-haspopup":k?"menu":void 0,"aria-expanded":k?m:void 0,title:M?v.error:N,className:xu,children:s==="start"||t.isLoading?x.jsx(T0,{size:18,className:"animate-spin"}):v?.running?x.jsx(UC,{size:18}):x.jsx(Au,{size:18,fill:"currentColor"})}),m&&k?x.jsx("div",{role:"menu","aria-label":"Run configs",className:"fade-in absolute right-0 top-full z-30 mt-1 max-h-[calc(100dvh-4rem)] min-w-44 overflow-y-auto rounded-xl border border-border bg-surface py-1 shadow-xl",children:v?.runConfigs.map(S=>x.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{p(!1),B(!0,S.id)},className:"flex w-full items-center gap-3 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx(Au,{size:14,className:"shrink-0 text-muted"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:S.name})]},S.id))}):null]}),v?.running||v?.forwarded?x.jsx("button",{type:"button",onClick:()=>{B(!1)},disabled:!l||!!s,"aria-label":"Stop dev server",className:xu,children:s==="stop"?x.jsx(T0,{size:18,className:"animate-spin"}):x.jsx(p9,{size:15,fill:"currentColor"})}):null,c?x.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:c}):null]})}const e6=(e,t)=>e.name.localeCompare(t.name,void 0,{numeric:!0,sensitivity:"base"})||e.name.localeCompare(t.name),YP=(e,t)=>e.path.localeCompare(t.path,void 0,{numeric:!0,sensitivity:"base"})||e.path.localeCompare(t.path);function vp(e){const t={path:"",folders:new Map,files:[]};for(const l of e){const s=l.path.split("/"),o=s.pop()??l.path;let c=t;for(const d of s){const f=c.path?`${c.path}/${d}`:d;let h=c.folders.get(d);h||(h={name:d,path:f,fileCount:0,added:0,removed:0,folders:new Map,files:[]},c.folders.set(d,h)),h.fileCount+=1,h.added+=l.added,h.removed+=l.removed,c=h}c.files.push({kind:"file",name:o,path:l.path,file:l})}const a=l=>[...[...l.folders.values()].sort(e6).map(s=>({kind:"folder",name:s.name,path:s.path,fileCount:s.fileCount,added:s.added,removed:s.removed,children:a(s)})),...l.files.sort(e6)];return a(t)}function KP(e){const t=[],a=l=>{for(const s of l)s.kind==="folder"?a(s.children):t.push(s.file)};return a(vp(e)),t}function Cp(e){return[...e].sort(YP)}function kp(e,t,a){if(e==="changed")return t;const l=new Map(t.map(s=>[s.path,s]));return[...a].sort().map(s=>l.get(s)??{path:s,added:0,removed:0})}function XP(e){if(!e)return[];const t=e.split(`
|
|
@@ -54,6 +54,6 @@ https://github.com/highlightjs/highlight.js/issues/2277`),s0=ye,St=Ve),ct===void
|
|
|
54
54
|
`),preamble:d||null}}const o=a.slice(0,l).join(`
|
|
55
55
|
`).trim(),c=(t?.trim()||"change.txt").replace(/[\t\r\n]/g," ");return{patch:[`--- ${c}`,`+++ ${c}`,...a.slice(l)].join(`
|
|
56
56
|
`),preamble:o||null}}const JP={width:32,height:32,body:'<path fill="#c5c5c5" d="M20.414 2H5v28h22V8.586ZM7 28V4h12v6h6v18Z"/>'},eG={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/>'},tG={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/>'},nG={width:32,height:32,body:'<path fill="#00007f" d="M17.229 4a.9.9 0 0 0-.569.232l-7.6 6.32a1.16 1.16 0 0 1-.955.328H3.208A1.2 1.2 0 0 0 2 12.088v7.826a1.2 1.2 0 0 0 1.208 1.206H8.1a1.16 1.16 0 0 1 .955.328l7.6 6.32c.521.433 1.081.224 1.081-.289V4.522A.494.494 0 0 0 17.229 4M27 6.3l-1.791 1.793a14.71 14.71 0 0 1 0 15.844l1.785 1.776A17.19 17.19 0 0 0 27 6.3m-4.333 4.323L20.905 12.4a6.035 6.035 0 0 1 0 7.237l1.756 1.756a8.554 8.554 0 0 0 .01-10.769Z"/>'},aG={width:32,height:32,body:'<path fill="#60a5fa" d="M16 3.903L9.777 14.68a14.04 14.04 0 0 1 7.364-.255l2.103.496l-1.979 8.39l-2.106-.496c-2.588-.61-5.076.749-6.127 2.918l-1.947-.942c1.486-3.068 4.987-4.926 8.572-4.08l.986-4.182A11.887 11.887 0 0 0 2.032 28.097H29.97z"/>'},rG={width:32,height:32,body:'<path fill="#fbf0df" d="M29 17c0 5.65-5.82 10.23-13 10.23S3 22.61 3 17c0-3.5 2.24-6.6 5.66-8.44S14.21 4.81 16 4.81s3.32 1.54 7.34 3.71C26.76 10.36 29 13.46 29 17"/><path fill="none" stroke="#000" d="M16 27.65c7.32 0 13.46-4.65 13.46-10.65c0-3.72-2.37-7-5.89-8.85c-1.39-.75-2.46-1.41-3.37-2l-1.13-.69A6.14 6.14 0 0 0 16 4.35a6.9 6.9 0 0 0-3.3 1.23c-.42.24-.86.51-1.32.8c-.87.54-1.83 1.13-3 1.73C4.91 10 2.54 13.24 2.54 17c0 6 6.14 10.65 13.46 10.65Z"/><ellipse cx="21.65" cy="18.62" fill="#febbd0" rx="2.17" ry="1.28"/><ellipse cx="10.41" cy="18.62" fill="#febbd0" rx="2.17" ry="1.28"/><path fill-rule="evenodd" d="M11.43 18.11a2 2 0 1 0-2-2.05a2.05 2.05 0 0 0 2 2.05m9.2 0a2 2 0 1 0-2-2.05a2 2 0 0 0 2 2.05"/><path fill="#fff" fill-rule="evenodd" d="M10.79 16.19a.77.77 0 1 0-.76-.77a.76.76 0 0 0 .76.77m9.2 0a.77.77 0 1 0 0-1.53a.77.77 0 0 0 0 1.53"/><path fill="#b71422" stroke="#000" stroke-width=".75" d="M18.62 19.67a3.3 3.3 0 0 1-1.09 1.75a2.48 2.48 0 0 1-1.5.69a2.53 2.53 0 0 1-1.5-.69a3.28 3.28 0 0 1-1.08-1.75a.26.26 0 0 1 .29-.3h4.58a.27.27 0 0 1 .3.3Z"/><path fill="#ccbea7" fill-rule="evenodd" d="M14.93 5.75a6.1 6.1 0 0 1-2.09 4.62c-.1.09 0 .27.11.22c1.25-.49 2.94-1.94 2.23-4.88c-.03-.15-.25-.11-.25.04m.85 0a6 6 0 0 1 .57 5c0 .13.12.24.21.13c.83-1 1.54-3.11-.59-5.31c-.1-.11-.27.04-.19.17Zm1-.06a6.1 6.1 0 0 1 2.53 4.38c0 .14.21.17.24 0c.34-1.3.15-3.51-2.66-4.66c-.12-.02-.21.18-.09.27ZM9.94 9.55a6.27 6.27 0 0 0 3.89-3.33c.07-.13.28-.08.25.07c-.64 3-2.79 3.59-4.13 3.51c-.14-.01-.14-.21-.01-.25"/>'},lG={width:32,height:32,body:'<path fill="#005f91" d="M10.676 15.973a10.05 10.05 0 0 0 1.175 5.151a5.446 5.446 0 0 0 6.306 2.408a4.28 4.28 0 0 0 3.09-3.6l.109-.61c1.737.251 4.537.658 6.274.906l-.11.44a11.26 11.26 0 0 1-2.7 5.39a9.44 9.44 0 0 1-5.366 2.688a14.6 14.6 0 0 1-8.277-.819a10.15 10.15 0 0 1-5.777-6.24a16.23 16.23 0 0 1 .019-11.45a10.54 10.54 0 0 1 8.963-7.054a13.35 13.35 0 0 1 6.666.555a9.57 9.57 0 0 1 6.167 6.9c.094.352.114.417.114.417c-1.932.351-4.319.8-6.238 1.215c-.362-1.915-1.265-3.428-3.2-3.9a5.263 5.263 0 0 0-6.616 3.57a10.5 10.5 0 0 0-.385 1.439a12.3 12.3 0 0 0-.214 2.594"/>'},iG={width:32,height:32,body:'<defs><symbol id="SVGt4sSzbJp" viewBox="0 0 45.72 26.28"><path fill="none" d="M0 0h45.72v26.28H0z"/><path fill="#231f20" d="M0 16.309h22.926v9.971L45.72 13.139L22.926 0v9.97H0z"/></symbol></defs><path fill="#977753" d="m14.261 29.519l-.007-.457l12.926-5.511l2.038.288l-.012.385l-12.942 6.334Z"/><path fill="#7a552c" d="M14.268 29.067L27.18 23.19l2.05.663l-12.966 6.264Z"/><path fill="#886947" d="m14.258 27.63l2.01 1.086v1.416l-2.01-1.086Z"/><path fill="#9a7246" d="m29.139 22.465l-1.521.766v1.416l1.521-.766Z"/><path fill="#694a27" d="m20.178 24.751l2.01 1.086v1.416l-2.01-1.086z"/><path fill="#9a7246" d="m23.708 25.072l-1.521.766v1.416l1.521-.766z"/><path fill="#715a40" d="m8.722 26.749l-.007-.4l12.925-5.514l2.038.288l-.012.385l-12.942 6.28Z"/><path fill="#886947" d="M8.719 24.914L10.728 26v1.416l-2.01-1.086z"/><path fill="#6d471e" d="M12.249 25.234L10.728 26v1.416l1.521-.766z"/><path fill="#7a5f41" d="m3.454 24.088l-.007-.349l12.926-5.511l2.038.288l-.011.384l-12.944 6.227Z"/><path fill="#886947" d="m3.451 22.308l2.01 1.086v1.416l-2.01-1.086Z"/><path fill="#6d471e" d="m6.981 22.628l-1.521.766v1.416l1.521-.766Z"/><path fill="#977753" d="m3.345 22.622l-.007-.282s2.539-.09 1.689.115C6.08 21.792 16.182 17.9 16.182 17.9l12.961 4.44l.062.279l-12.942 6.09Z"/><path fill="#c69c6d" d="m3.3 22.36l12.966-4.519l12.963 4.519l-12.965 6.019Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.372 6.64l-6.2-2.481v8.123l6.2 2.522Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.331 6.674l6.115-2.435L16.3 1.708l-6.141 2.467Z"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 10.56 6.25)"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m22.509 17.109l6.2-2.481v7.311l-6.2 2.878Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m22.5 9.134l6.2-2.415v7.906l-6.2 2.509Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="M22.433 9.119L16.4 6.557l6.062-2.274l6.2 2.4Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m10.072 17.092l-6.2-2.392v7.375l6.2 2.847Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m10.056 17.144l6.2-2.417l-6.2-2.465l-6.2 2.4Z"/><path fill="none" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m6.952 15.883l6.196-2.467"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.3 19.658l-6.2-2.464v7.715l6.2 2.957Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.25 19.729l6.255-2.481v7.661l-6.255 2.957Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.264 11.547l6.2-2.446v8.16l-6.2 2.485Zm0-.019l-6.2-2.481v8.123l6.2 2.522Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.277 11.508l6.169-2.435l-6.2-2.531l-6.2 2.467Z"/><path fill="none" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m12.82 10.149l6.196-2.467M13.037 5.37l6.196-2.467m.578 2.383l6.316 2.447"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".047" d="m18.301 7.395l-6.24 2.484l1.482.593l6.196-2.466zm.272-4.779L12.333 5.1l1.482.593l6.195-2.466zM6.266 15.628l1.481.592l2.342-.932l-.026-1.172z" opacity=".3"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".042" d="m20.495 5.029l-1.339.525l6.227 2.413l1.342-.524z" opacity=".3"/><path fill="none" d="m6.7 17.509l.051-.044l-.104-.041zm.39.17l.065-.057l-.129-.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m7.719 16.195l-1.453-.565v1.645l.201-.136l.18.285l.104.041l.138-.122l.137.228l.129.051l.189-.166l.238.332l.137.053z" opacity=".3"/><path fill="none" d="m12.783 6.973l.05-.044l-.104-.041zm.39.17l.065-.057l-.13-.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m13.802 5.659l-1.454-.565v1.645l.202-.136l.179.285l.104.041l.138-.122l.137.228l.13.051l.188-.166l.239.332l.137.053z" opacity=".3"/><path fill="none" d="m12.544 11.783l.05-.044l-.104-.04zm.389.17l.065-.057l-.129-.05z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m13.562 10.47l-1.453-.565v1.645l.201-.136l.18.285l.104.04l.138-.121l.137.228l.129.05l.189-.166l.238.332l.137.053z" opacity=".3"/><path fill="none" d="m13.139 16.719l-.05.045l.104.039zm-.392-.165l-.065.058l.131.049z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m12.139 18.046l1.461.545l-.023-1.645l-.2.139l-.184-.282l-.104-.039l-.136.123l-.14-.226l-.131-.049l-.186.169l-.243-.329l-.137-.051z" opacity=".3"/><path fill="none" d="m7.328 21.878l-.05.045l.104.039zm-.392-.164l-.065.058l.13.048z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m6.327 23.206l1.392.639l.047-1.74l-.2.139l-.184-.282l-.104-.039l-.137.123l-.14-.226l-.13-.048l-.186.168l-.243-.328l-.138-.052z" opacity=".3"/><path fill="none" d="m25.761 14.093l.051.045l-.104.04zm.39-.17l.065.057l-.129.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m26.78 15.407l-1.453.565v-1.645l.201.136l.18-.285l.104-.04l.138.121l.137-.228l.129-.051l.189.166l.238-.332l.137-.053z" opacity=".3"/><path fill="none" d="m26.356 9.321l-.049-.045l.104-.039zm-.392.164l-.064-.058l.13-.048z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m25.356 7.993l1.461-.545l-.023 1.645l-.199-.138l-.184.282l-.104.039l-.137-.124l-.14.227l-.13.048l-.186-.168l-.243.328l-.138.052z" opacity=".3"/><path fill="none" d="m19.428 24.558l.05.044l-.103.04zm.39-.17l.065.057l-.13.05z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m20.447 25.871l-1.454.674v-1.754l.202.136l.18-.285l.103-.04l.139.121l.136-.228l.13-.05l.189.166l.238-.332l.137-.053z" opacity=".3"/><path fill="none" d="m20.023 19.948l-.05-.045l.105-.039zm-.392.165l-.064-.058l.13-.049z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m19.023 18.62l1.461-.544l-.023 1.645l-.199-.139l-.184.282l-.105.039l-.136-.123l-.14.226l-.13.049l-.187-.169l-.242.329l-.138.051z" opacity=".3"/><path d="m21.426 13.49l-.172-.039V13.4l.148-.208a.1.1 0 0 0 .018-.065a.035.035 0 0 0-.037-.03l-.189.006l-.015-.045l.118-.222a.07.07 0 0 0 .007-.063a.04.04 0 0 0-.045-.018l-.2.051l-.024-.037l.084-.229a.06.06 0 0 0 0-.058a.04.04 0 0 0-.051-.006l-.2.094l-.032-.027l.047-.227a.05.05 0 0 0-.016-.052a.05.05 0 0 0-.056.007l-.2.133l-.039-.017l.007-.215a.04.04 0 0 0-.026-.043a.07.07 0 0 0-.058.02l-.184.166l-.045-.006l-.033-.2a.036.036 0 0 0-.036-.032a.08.08 0 0 0-.057.031l-.164.194l-.049.005l-.071-.168a.036.036 0 0 0-.044-.021a.1.1 0 0 0-.055.042l-.138.214l-.05.016l-.107-.135a.04.04 0 0 0-.05-.008a.1.1 0 0 0-.05.051l-.107.226l-.05.026l-.138-.1a.05.05 0 0 0-.055 0a.1.1 0 0 0-.044.058l-.071.228l-.049.036l-.164-.054a.06.06 0 0 0-.057.017a.1.1 0 0 0-.036.063l-.033.223l-.045.044l-.184-.01a.08.08 0 0 0-.058.029a.1.1 0 0 0-.026.065l.007.209l-.039.05l-.2.035a.1.1 0 0 0-.056.04a.1.1 0 0 0-.016.065l.046.187l-.032.054l-.2.079a.1.1 0 0 0-.051.049a.07.07 0 0 0 0 .062l.084.157l-.024.057l-.2.119a.1.1 0 0 0-.045.057a.06.06 0 0 0 .007.057l.118.122l-.015.058l-.189.155a.1.1 0 0 0-.037.062a.045.045 0 0 0 .018.05l.148.082v.055l-.172.185a.1.1 0 0 0-.028.065a.04.04 0 0 0 .028.041l.172.039v.051l-.148.208a.1.1 0 0 0-.018.065a.035.035 0 0 0 .037.03l.189-.006l.015.045l-.118.222a.07.07 0 0 0-.007.063a.04.04 0 0 0 .045.018l.2-.051l.024.037l-.084.229a.06.06 0 0 0 0 .058a.04.04 0 0 0 .051.006l.2-.094l.032.027l-.046.227a.05.05 0 0 0 .016.051a.05.05 0 0 0 .056-.007l.2-.133l.039.017l-.007.215a.04.04 0 0 0 .026.043a.07.07 0 0 0 .058-.02l.184-.166l.045.006l.033.2a.035.035 0 0 0 .036.032a.08.08 0 0 0 .057-.031l.164-.194l.049-.005l.071.168a.036.036 0 0 0 .044.02a.1.1 0 0 0 .055-.042l.138-.214l.05-.016l.107.135a.04.04 0 0 0 .05.008a.1.1 0 0 0 .05-.051l.107-.226l.05-.027l.138.1a.05.05 0 0 0 .055 0a.1.1 0 0 0 .044-.058l.071-.228l.049-.036l.164.054a.06.06 0 0 0 .057-.017a.1.1 0 0 0 .036-.063l.033-.223l.045-.044l.184.01a.08.08 0 0 0 .058-.029a.1.1 0 0 0 .026-.065l-.007-.209l.039-.05l.2-.035a.1.1 0 0 0 .056-.04a.1.1 0 0 0 .016-.065l-.046-.187l.017-.053l.2-.079a.1.1 0 0 0 .051-.049a.07.07 0 0 0 0-.062l-.084-.157l.024-.057l.2-.119a.1.1 0 0 0 .045-.057a.06.06 0 0 0-.007-.057l-.118-.122l.015-.058l.189-.155a.1.1 0 0 0 .037-.062a.045.045 0 0 0-.018-.05l-.148-.082v-.055l.172-.185a.1.1 0 0 0 .028-.065a.04.04 0 0 0-.014-.039m-1.153 1.988c-.066.013-.108-.037-.094-.112a.21.21 0 0 1 .145-.16c.066-.013.108.037.094.112a.21.21 0 0 1-.145.16m-.059-.39a.19.19 0 0 0-.132.146l-.061.325a2.3 2.3 0 0 1-.619.4a1.4 1.4 0 0 1-.632.123l-.061-.273c-.013-.057-.072-.072-.132-.033l-.252.164a1 1 0 0 1-.13-.106l1.226-.521q.022-.007.023-.026v-.455c0-.013-.009-.012-.023-.006l-.359.152v-.288l.388-.165a.16.16 0 0 1 .239.115c.015.057.049.249.072.3s.117.172.217.13l.611-.26l.022-.012a3 3 0 0 1-.139.23Zm-1.7 1.13c-.066.043-.131.026-.145-.037a.2.2 0 0 1 .094-.192c.066-.043.131-.026.145.037a.2.2 0 0 1-.09.192Zm-.465-1.779a.18.18 0 0 1-.062.2c-.062.055-.134.056-.161 0a.18.18 0 0 1 .062-.2c.066-.051.138-.053.165 0Zm-.143.416l.263-.234a.16.16 0 0 0 .057-.178l-.054-.105l.213-.09v1l-.429.182a1.4 1.4 0 0 1-.057-.407c.001-.052.001-.11.011-.168Zm1.152-.587v-.3l.506-.215c.026-.011.185-.047.185.077c0 .1-.122.192-.222.234l-.47.2Zm1.84-.516v.118l-.154.065a.04.04 0 0 0-.022.036v.074a.31.31 0 0 1-.176.3c-.078.043-.165.036-.176-.01c-.046-.253-.123-.278-.245-.327a1 1 0 0 0 .308-.578a.3.3 0 0 0-.235-.315a.57.57 0 0 0-.322.026l-1.592.677a2.7 2.7 0 0 1 .84-.853l.188.127c.042.029.113 0 .157-.063l.21-.3a.94.94 0 0 1 1.027.33l-.144.4c-.025.069 0 .128.057.13l.277.011q.004.073.004.152Zm-1.591-1.044c.049-.069.126-.1.172-.069s.045.113 0 .183s-.126.1-.172.069s-.044-.114.005-.184Zm1.427.6a.19.19 0 0 1 .161-.133c.062 0 .089.066.062.142a.19.19 0 0 1-.161.133c-.057-.006-.085-.07-.058-.15Z" opacity=".55"/><path d="m15.314 23.421l-.19-.195l-.005-.057l.163-.085a.05.05 0 0 0 .02-.052a.1.1 0 0 0-.041-.065l-.208-.163l-.016-.06l.13-.127a.06.06 0 0 0 .007-.06a.12.12 0 0 0-.05-.06l-.22-.126l-.026-.06l.092-.165a.07.07 0 0 0-.005-.065a.1.1 0 0 0-.057-.052l-.223-.083l-.035-.057l.051-.2a.1.1 0 0 0-.017-.068a.1.1 0 0 0-.061-.042l-.217-.038l-.043-.053l.008-.22a.1.1 0 0 0-.029-.068a.1.1 0 0 0-.063-.031l-.2.01l-.049-.047l-.036-.234a.1.1 0 0 0-.039-.066a.07.07 0 0 0-.063-.018l-.181.056l-.054-.038l-.078-.24a.12.12 0 0 0-.048-.061a.06.06 0 0 0-.06-.005l-.152.1l-.059-.026l-.117-.238a.1.1 0 0 0-.055-.054a.05.05 0 0 0-.055.008l-.117.142l-.055-.017l-.152-.225a.1.1 0 0 0-.06-.044a.04.04 0 0 0-.048.021l-.078.176l-.054-.006l-.181-.2a.1.1 0 0 0-.063-.033a.04.04 0 0 0-.039.034l-.036.205l-.049.006l-.2-.175a.07.07 0 0 0-.063-.021a.04.04 0 0 0-.029.045l.008.226l-.043.018l-.217-.14a.06.06 0 0 0-.061-.008a.05.05 0 0 0-.017.054l.051.238l-.035.028l-.223-.1a.05.05 0 0 0-.057.006a.06.06 0 0 0-.005.061l.092.24l-.026.039l-.22-.054a.04.04 0 0 0-.05.019a.07.07 0 0 0 .007.066l.13.234l-.016.047l-.208-.007a.04.04 0 0 0-.041.032a.1.1 0 0 0 .02.068l.163.219l-.005.053l-.19.04a.04.04 0 0 0-.031.043a.1.1 0 0 0 .031.068l.19.195l.005.057l-.163.085a.05.05 0 0 0-.02.052a.1.1 0 0 0 .041.065l.208.163l.016.06l-.13.127a.06.06 0 0 0-.007.06a.12.12 0 0 0 .05.06l.22.126l.026.06l-.092.165a.07.07 0 0 0 .005.065a.1.1 0 0 0 .057.052l.223.083l.035.057l-.051.2a.1.1 0 0 0 .017.068a.1.1 0 0 0 .061.042l.217.038l.043.053l-.008.22a.1.1 0 0 0 .029.068a.1.1 0 0 0 .063.031l.2-.009l.049.047l.036.234a.1.1 0 0 0 .039.066a.07.07 0 0 0 .063.019l.18-.056l.054.038l.078.24a.12.12 0 0 0 .048.061a.06.06 0 0 0 .06.005l.152-.1l.055.028l.117.238a.1.1 0 0 0 .055.054a.05.05 0 0 0 .055-.008l.117-.142l.055.017l.152.225a.1.1 0 0 0 .06.044a.04.04 0 0 0 .048-.021l.078-.176l.054.006l.181.2a.1.1 0 0 0 .063.033a.04.04 0 0 0 .039-.034l.036-.2l.049-.006l.2.175a.07.07 0 0 0 .063.021a.04.04 0 0 0 .029-.045l-.008-.226l.043-.018l.217.14a.06.06 0 0 0 .061.008a.05.05 0 0 0 .017-.054l-.051-.238l.035-.028l.223.1a.05.05 0 0 0 .057-.006a.06.06 0 0 0 .005-.061l-.092-.24l.026-.039l.22.054a.04.04 0 0 0 .05-.019a.07.07 0 0 0-.007-.066l-.13-.234l.016-.047l.208.007a.04.04 0 0 0 .041-.032a.1.1 0 0 0-.02-.068l-.163-.219l.005-.053l.19-.04a.04.04 0 0 0 .031-.043a.1.1 0 0 0-.026-.077m-1.269 1.054a.21.21 0 0 1-.1-.2c.015-.066.087-.083.159-.038a.21.21 0 0 1 .1.2c-.015.063-.086.083-.159.038m-.064-.462c-.066-.041-.131-.026-.145.035l-.067.287a1.6 1.6 0 0 1-.681-.132a2.5 2.5 0 0 1-.7-.438l-.067-.342a.2.2 0 0 0-.145-.153l-.277-.054q-.077-.111-.143-.228l1.35.552c.015.006.025.008.025-.006v-.477q-.001-.02-.025-.027l-.395-.161v-.3l.427.175a.46.46 0 0 1 .263.335c.017.074.054.305.08.385a.6.6 0 0 0 .239.331l.672.275l.024.008a1 1 0 0 1-.153.117Zm-1.867-.334a.22.22 0 0 1-.159-.168c-.015-.079.031-.132.1-.118a.23.23 0 0 1 .159.168c.019.079-.027.132-.1.118m-.514-2.286c.03.08 0 .147-.068.149a.21.21 0 0 1-.177-.141c-.03-.08 0-.147.068-.149a.21.21 0 0 1 .177.141m-.157.309l.289-.01c.062 0 .09-.063.062-.136l-.06-.159l.234.1v1.055l-.472-.193a2 2 0 0 1-.063-.479a2 2 0 0 1 .012-.18Zm1.268.416v-.311l.557.228c.029.012.2.116.2.247c0 .108-.134.092-.244.047l-.517-.211Zm2.025 1.108v.121l-.169-.069q-.025-.01-.024.018v.078c0 .183-.1.181-.194.154a.31.31 0 0 1-.194-.168a.95.95 0 0 0-.269-.563c.166-.038.339-.122.339-.331a.86.86 0 0 0-.259-.542a1.2 1.2 0 0 0-.355-.262l-1.752-.717a1.14 1.14 0 0 1 .924-.144l.207.3c.047.068.124.1.173.075l.231-.127a2.95 2.95 0 0 1 1.13 1.267l-.158.293a.17.17 0 0 0 .062.187l.3.26q.01.087.01.17ZM12.987 20.7c.054-.029.138.007.19.082s.049.159 0 .188s-.138-.007-.19-.082s-.053-.156 0-.188m1.57 1.905c.03-.056.109-.054.177 0a.185.185 0 0 1 .068.205c-.03.056-.109.054-.177 0a.185.185 0 0 1-.068-.202Z" opacity=".56"/><path d="m27.838 18.724l-.172-.039v-.051l.148-.208a.1.1 0 0 0 .018-.065a.035.035 0 0 0-.037-.03l-.189.006l-.015-.045l.118-.222a.07.07 0 0 0 .007-.063a.04.04 0 0 0-.045-.018l-.2.051l-.03-.04l.084-.229a.06.06 0 0 0 0-.058a.04.04 0 0 0-.051-.006l-.2.094l-.032-.027l.047-.227a.05.05 0 0 0-.016-.052a.05.05 0 0 0-.056.007l-.2.133l-.039-.017l.007-.215a.04.04 0 0 0-.026-.043a.07.07 0 0 0-.058.02l-.184.166l-.045-.006l-.033-.2a.036.036 0 0 0-.036-.032a.08.08 0 0 0-.057.031l-.164.194l-.049.005l-.071-.168a.036.036 0 0 0-.044-.021a.1.1 0 0 0-.055.042l-.138.214l-.05.016l-.107-.135a.04.04 0 0 0-.05-.008a.1.1 0 0 0-.05.051l-.107.226l-.05.026l-.138-.1a.05.05 0 0 0-.055 0a.1.1 0 0 0-.044.058l-.071.228l-.049.036l-.164-.054a.06.06 0 0 0-.057.017a.1.1 0 0 0-.036.063l-.033.223l-.045.044l-.184-.01a.08.08 0 0 0-.058.029a.1.1 0 0 0-.026.065l.007.209l-.039.05l-.2.035a.1.1 0 0 0-.056.04a.1.1 0 0 0-.016.065l.046.187l-.032.054l-.2.079a.1.1 0 0 0-.051.049a.07.07 0 0 0 0 .062l.084.157l-.024.057l-.2.119a.1.1 0 0 0-.045.057a.06.06 0 0 0 .007.057l.118.122l-.015.058l-.189.155a.1.1 0 0 0-.037.062a.045.045 0 0 0 .018.05l.148.082v.055l-.172.185a.1.1 0 0 0-.028.065a.04.04 0 0 0 .028.041l.172.039v.051l-.148.208a.1.1 0 0 0-.018.065a.035.035 0 0 0 .037.03l.189-.006l.015.045l-.118.222a.07.07 0 0 0-.007.063a.04.04 0 0 0 .045.018l.2-.051l.024.037l-.094.247a.06.06 0 0 0 0 .058a.04.04 0 0 0 .051.006l.2-.094l.032.027l-.046.227a.05.05 0 0 0 .016.051a.05.05 0 0 0 .056-.007l.2-.133l.039.017l-.007.215a.04.04 0 0 0 .026.043a.07.07 0 0 0 .058-.02l.184-.166l.045.006l.033.2a.035.035 0 0 0 .036.032a.08.08 0 0 0 .057-.031l.164-.194l.049-.005l.071.168a.036.036 0 0 0 .044.02a.1.1 0 0 0 .055-.042l.138-.214l.05-.016l.107.135a.04.04 0 0 0 .05.008a.1.1 0 0 0 .05-.051l.107-.226l.05-.027l.138.1a.05.05 0 0 0 .055 0a.1.1 0 0 0 .044-.058l.071-.228l.049-.036l.164.054a.06.06 0 0 0 .057-.017a.1.1 0 0 0 .036-.063l.038-.239l.045-.044l.184.01a.08.08 0 0 0 .058-.029a.1.1 0 0 0 .026-.065l-.007-.209l.039-.05l.2-.035a.1.1 0 0 0 .056-.04a.1.1 0 0 0 .016-.065l-.046-.187l.032-.054l.2-.079a.1.1 0 0 0 .051-.049a.07.07 0 0 0 0-.062l-.084-.157l.024-.057l.2-.119a.1.1 0 0 0 .045-.057a.06.06 0 0 0-.006-.052l-.118-.122l.015-.058l.189-.155a.1.1 0 0 0 .037-.062a.045.045 0 0 0-.018-.05l-.148-.082v-.055l.172-.185a.1.1 0 0 0 .028-.065a.04.04 0 0 0-.019-.042m-1.153 1.988c-.066.013-.108-.037-.094-.112a.21.21 0 0 1 .145-.16c.066-.013.108.037.094.112a.21.21 0 0 1-.146.161Zm-.059-.39a.19.19 0 0 0-.132.146l-.061.325a2.3 2.3 0 0 1-.619.4a1.4 1.4 0 0 1-.632.123l-.061-.273c-.013-.057-.072-.072-.132-.033l-.252.164a1 1 0 0 1-.13-.106l1.226-.521q.022-.007.023-.026v-.455c0-.013-.009-.012-.023-.006l-.359.152v-.288l.388-.165a.16.16 0 0 1 .239.115c.015.057.049.249.072.3s.117.172.217.13l.611-.26l.022-.012a3 3 0 0 1-.139.23Zm-1.7 1.13c-.066.043-.131.026-.145-.037a.2.2 0 0 1 .094-.192c.066-.043.131-.026.145.037a.2.2 0 0 1-.09.192Zm-.465-1.779a.18.18 0 0 1-.062.2c-.062.055-.134.056-.161 0a.18.18 0 0 1 .062-.2c.065-.051.137-.053.165 0Zm-.143.416l.263-.234a.16.16 0 0 0 .057-.178l-.054-.105l.213-.09v1l-.429.182a1.4 1.4 0 0 1-.057-.407c.002-.057.005-.11.011-.168Zm1.152-.587v-.3l.506-.215c.026-.011.185-.047.185.077c0 .1-.122.192-.222.234l-.47.2Zm1.84-.516v.118l-.154.065a.04.04 0 0 0-.022.036v.074a.31.31 0 0 1-.176.3c-.078.043-.165.036-.176-.01c-.046-.253-.123-.278-.245-.327a1 1 0 0 0 .308-.578a.3.3 0 0 0-.235-.315a.57.57 0 0 0-.322.026l-1.588.675a2.7 2.7 0 0 1 .84-.853l.188.127c.042.029.113 0 .157-.063l.21-.3a.94.94 0 0 1 1.027.33l-.144.4c-.025.069 0 .128.057.13l.277.011q.002.075.002.154Zm-1.591-1.044c.049-.069.126-.1.172-.069s.045.113 0 .183s-.126.1-.172.069s-.045-.114.004-.184Zm1.427.6a.19.19 0 0 1 .161-.133c.062 0 .089.066.062.142a.19.19 0 0 1-.161.133c-.058-.006-.086-.07-.058-.146Z" opacity=".55"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 4.314 16.786)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 8.876 18.632)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 10.451 11.138)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 15.013 12.984)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 16.773 21.54)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 21.389 19.694)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 23.072 11.167)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 27.689 9.321)"/>'},sG={width:32,height:32,body:'<path fill="#005f91" d="M8.329 29V3h3.192v9.329a7.13 7.13 0 0 1 5.64-2.589a7.6 7.6 0 0 1 3.636.825a4.84 4.84 0 0 1 2.208 2.279a10.5 10.5 0 0 1 .665 4.221V29h-3.192V17.064a4.93 4.93 0 0 0-1.038-3.485a3.86 3.86 0 0 0-2.935-1.091a5.2 5.2 0 0 0-2.669.736a4.16 4.16 0 0 0-1.782 2a9.2 9.2 0 0 0-.532 3.476V29Z"/>'},oG={width:32,height:32,body:'<defs><linearGradient id="SVGCgNrzdsa" x1="9.955" x2="16.68" y1="9.096" y2="23.324" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1011a1"/><stop offset="1" stop-color="#6969e1"/></linearGradient><linearGradient id="SVGrgqtQcHo" x1="16.231" x2="25.618" y1="19.655" y2="3.782" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b40e0e"/><stop offset="1" stop-color="#ff5959"/></linearGradient><linearGradient id="SVGV3I43cHR" x1="21.663" x2="8.381" y1="4.823" y2="5.938" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#01a300"/><stop offset="1" stop-color="#01df00"/></linearGradient><linearGradient id="SVGhUomfdFs" x1="14.643" x2="14.472" y1="8.368" y2="14.145" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#848484"/><stop offset="1" stop-color="#d2d2d2"/></linearGradient></defs><path fill="url(#SVGCgNrzdsa)" d="M17.257 16.919L2.246 29.749L15.994 2.283Z"/><path d="m2.262 29.768l-.038-.03L16.012 2.193l.008.088l1.263 14.649l-.01.008ZM15.977 2.374L2.324 29.649L17.23 16.908Z"/><path fill="url(#SVGrgqtQcHo)" d="M17.952 24.931L16 2.28l13.767 27.471Z"/><path d="m29.818 29.8l-.061-.025l-11.828-4.827v-.015L15.975 2.282l.047-.013Zm-11.842-4.887L29.715 29.7L16.036 2.408Z"/><path fill="url(#SVGV3I43cHR)" d="m11.16 22.094l18.621 7.654H2.25Z"/><path d="M29.781 29.773H2.183l.051-.044l8.921-7.665l.014.006l18.622 7.655Zm-27.464-.05h27.337l-18.489-7.6Z"/><path fill="url(#SVGhUomfdFs)" d="m11.189 22.112l6.059-5.168l.843 7.98Z"/><path d="m18.149 25l-.077-.032l-6.978-2.842l6.194-5.283l.01.094Zm-6.865-2.9l6.748 2.749l-.824-7.8Z"/><path d="M29.7 29.911H2.285a.22.22 0 0 1-.182-.088a.22.22 0 0 1 .022-.2L15.864 2.187a.17.17 0 0 1 .14-.1a.15.15 0 0 1 .13.085l13.733 27.435a.24.24 0 0 1 .02.226a.21.21 0 0 1-.187.078m-27.468-.16l.057.011h27.4l.073-.009a.2.2 0 0 0-.028-.077L16 2.248v.012L2.261 29.684a.3.3 0 0 0-.025.067Z"/>'},cG={width:32,height:32,body:'<path fill="#99b8c4" d="m23.265 24.381l.9-.894c4.164.136 4.228-.01 4.411-.438l1.144-2.785l.085-.264l-.093-.231c-.049-.122-.2-.486-2.8-2.965V15.5c3-2.89 2.936-3.038 2.765-3.461l-1.139-2.814c-.171-.422-.236-.587-4.37-.474l-.9-.93a20 20 0 0 0-.141-4.106l-.116-.263l-2.974-1.3c-.438-.2-.592-.272-3.4 2.786l-1.262-.019c-2.891-3.086-3.028-3.03-3.461-2.855L9.149 3.182c-.433.175-.586.237-.418 4.437l-.893.89c-4.162-.136-4.226.012-4.407.438l-1.146 2.786l-.09.267l.094.232c.049.12.194.48 2.8 2.962v1.3c-3 2.89-2.935 3.038-2.763 3.462l1.138 2.817c.174.431.236.584 4.369.476l.9.935a20.2 20.2 0 0 0 .137 4.1l.116.265l2.993 1.308c.435.182.586.247 3.386-2.8l1.262.016c2.895 3.09 3.043 3.03 3.466 2.859l2.759-1.115c.436-.173.588-.234.413-4.436m-11.858-6.524a4.957 4.957 0 1 1 6.488 2.824a5.014 5.014 0 0 1-6.488-2.824"/>'},uG={width:32,height:32,body:'<path fill="#984c93" d="M14.742 24.047a10.24 10.24 0 0 1-4.673.919a7.63 7.63 0 0 1-5.914-2.346A8.88 8.88 0 0 1 2 16.369a9.48 9.48 0 0 1 2.422-6.748a8.22 8.22 0 0 1 6.285-2.588a11.2 11.2 0 0 1 4.035.641v3.761A6.84 6.84 0 0 0 11 10.395a4.81 4.81 0 0 0-3.712 1.535a5.9 5.9 0 0 0-1.413 4.159A5.8 5.8 0 0 0 7.209 20.1a4.57 4.57 0 0 0 3.59 1.493a7.3 7.3 0 0 0 3.943-1.113Zm2.37-9.218v-2.344h2.344v2.344H21.8v2.343h-2.344v2.343h-2.344v-2.343H14.77v-2.344zm8.201 0v-2.344h2.344v2.344H30v2.343h-2.343v2.343h-2.344v-2.343h-2.342v-2.344z"/>'},xG={width:32,height:32,body:'<path fill="#984c93" d="M2.395 25.5v-19h2.332v6.817a5.21 5.21 0 0 1 4.121-1.892a5.56 5.56 0 0 1 2.657.6a3.54 3.54 0 0 1 1.614 1.665a7.7 7.7 0 0 1 .486 3.085V25.5h-2.332v-8.722a3.6 3.6 0 0 0-.758-2.547a2.82 2.82 0 0 0-2.145-.8a3.8 3.8 0 0 0-1.951.538a3.04 3.04 0 0 0-1.3 1.458a6.7 6.7 0 0 0-.389 2.54V25.5Zm14.332-10.671v-2.344h2.344v2.344h2.344v2.343h-2.344v2.343h-2.344v-2.343h-2.342v-2.344zm8.201 0v-2.344h2.344v2.344h2.343v2.343h-2.343v2.343h-2.344v-2.343h-2.343v-2.344z"/>'},dG={width:32,height:32,body:'<path fill="#368832" d="M19.792 7.071h2.553v2.553H24.9V7.071h2.552v2.553H30v2.552h-2.55v2.551H30v2.553h-2.551v2.552H24.9v-2.55h-2.55v2.552h-2.557v-2.55H17.24v-2.559h2.553v-2.546H17.24V9.622h2.554Zm2.553 7.658H24.9v-2.553h-2.555Zm-7.656 9.284a10.2 10.2 0 0 1-4.653.915a7.6 7.6 0 0 1-5.89-2.336A8.84 8.84 0 0 1 2 16.367a9.44 9.44 0 0 1 2.412-6.719a8.18 8.18 0 0 1 6.259-2.577a11.1 11.1 0 0 1 4.018.638v3.745a6.8 6.8 0 0 0-3.723-1.036a4.8 4.8 0 0 0-3.7 1.529a5.88 5.88 0 0 0-1.407 4.142a5.77 5.77 0 0 0 1.328 3.992a4.55 4.55 0 0 0 3.575 1.487a7.3 7.3 0 0 0 3.927-1.108Z"/>'},fG={width:32,height:32,body:'<path fill="#639" d="M1.995 1.994h23.52a4.48 4.48 0 0 1 4.48 4.48v19.04a4.48 4.48 0 0 1-4.48 4.48H6.475a4.48 4.48 0 0 1-4.48-4.48Z"/><path fill="#fff" d="M9.079 24.87v-4.704c0-1.876 1.204-2.884 3.024-2.884c1.792-.028 2.912 1.148 2.856 3.136h-2.072c.056-.756-.28-1.316-.84-1.288c-.7 0-.896.476-.896 1.372v4.088c0 .868.28 1.288.896 1.316c.644 0 .896-.644.84-1.372h2.072c.112 2.044-1.176 3.248-2.996 3.22c-1.764 0-2.884-.98-2.884-2.884m6.636-.336h1.932c.028.896.308 1.456.924 1.456s.84-.364.84-1.204c0-.7-.308-1.092-1.064-1.456l-.728-.336c-1.288-.616-1.82-1.372-1.82-2.884c0-1.68 1.064-2.856 2.8-2.856s2.66 1.204 2.688 3.164h-1.876c0-.812-.168-1.372-.784-1.372c-.56 0-.84.28-.84.98s.252.98.924 1.26l.672.308c1.428.672 2.044 1.54 2.044 3.164c0 1.932-1.092 2.996-2.884 2.996s-2.8-1.232-2.828-3.22m6.328 0h1.96c0 .896.308 1.456.896 1.456s.84-.364.84-1.204c0-.7-.28-1.092-1.064-1.456l-.728-.336c-1.288-.616-1.792-1.372-1.792-2.884c0-1.68 1.036-2.856 2.8-2.856s2.632 1.204 2.688 3.164h-1.876c-.028-.812-.196-1.372-.812-1.372c-.56 0-.812.28-.812.98s.224.98.896 1.26l.7.308c1.4.672 2.016 1.54 2.016 3.164c0 1.932-1.092 2.996-2.884 2.996s-2.8-1.232-2.828-3.22"/>'},hG={width:32,height:32,body:'<path fill="#66c3fa" d="M16.739 2.037a1.3 1.3 0 0 0-.916.377l-.013.01l-8.59 4.965l8.566 8.566v.006l10.3 10.3l1.963-3.536l-7.081-16.997l-3.3-3.3a1.3 1.3 0 0 0-.927-.388Z"/><path fill="#215896" d="m7.25 7.35l-4.962 8.581l-.01.013a1.32 1.32 0 0 0-.378.919a1.3 1.3 0 0 0 .387.924L6.4 21.9l16.084 6.327l3.636-2.02l-.1-.1h-.025l-10.083-10.1H15.9z"/><path fill="#235997" d="m7.192 7.362l8.764 8.773h.013l10.087 10.1l3.839-.732l.005-11.363l-4.054-3.973a6.5 6.5 0 0 0-3.624-1.616v-.044z"/><path fill="#58b6f0" d="m7.256 7.411l8.768 8.768v.013l10.092 10.092l-.734 3.839h-11.36l-3.971-4.056a6.5 6.5 0 0 1-1.614-3.625h-.044z"/>'},pG={width:32,height:32,body:'<path fill="#3a4e55" d="M18.191 13.071H20.7v2.566h1.27a5.5 5.5 0 0 0 1.744-.292a4.5 4.5 0 0 0 .848-.383a3.15 3.15 0 0 1-.589-1.623a3.43 3.43 0 0 1 .616-2.416l.264-.305l.314.253a4 4 0 0 1 1.575 2.538a3.84 3.84 0 0 1 2.913.271l.345.2l-.181.354a3.63 3.63 0 0 1-3.648 1.74c-2.173 5.413-6.9 7.976-12.642 7.976A7.96 7.96 0 0 1 6.3 20.211l-.025-.043l-.226-.459a7.3 7.3 0 0 1-.579-3.693l.035-.38h2.143v-2.565h2.51v-2.51h5.02v-2.51h3.012v5.02Z"/><path fill="#00aada" d="M26.324 14.021a3.31 3.31 0 0 0-1.418-2.821a3.07 3.07 0 0 0 .289 3.821a5.28 5.28 0 0 1-3.225 1.037H5.883a6.8 6.8 0 0 0 .667 3.737l.183.335a6 6 0 0 0 .379.569q.992.064 1.829.045a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a8.4 8.4 0 0 1-1.845.3c.044 0-.046.007-.046.007l-.082.007a22 22 0 0 1-2.008-.006l-.01.007a7.88 7.88 0 0 0 6.063 2.41c5.56 0 10.276-2.465 12.365-8c1.482.152 2.906-.226 3.553-1.49a3.5 3.5 0 0 0-3.122-.022"/><path fill="#27b9ec" d="M26.324 14.021a3.31 3.31 0 0 0-1.418-2.821a3.07 3.07 0 0 0 .289 3.821a5.28 5.28 0 0 1-3.225 1.037H6.836a5.22 5.22 0 0 0 2.106 4.686a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a9 9 0 0 1-1.894.314l-.019-.022c1.892.971 4.636.967 7.782-.241a21.87 21.87 0 0 0 9.1-6.889l-.1.048"/><path fill="#088cb9" d="M5.913 17.732a6.4 6.4 0 0 0 .637 2.061l.183.335a6 6 0 0 0 .379.569q.992.064 1.829.045a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a8.8 8.8 0 0 1-1.891.307h-.1q-.438.025-.922.026c-.351 0-.709-.007-1.1-.026a7.9 7.9 0 0 0 6.076 2.413c4.76 0 8.9-1.807 11.3-5.8Z"/><path fill="#039cc7" d="M6.98 17.732a4.83 4.83 0 0 0 1.961 3.01a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a9 9 0 0 1-1.9.307c1.892.971 4.628.957 7.773-.252a20.6 20.6 0 0 0 5.377-3.13Z"/><path fill="#00acd3" d="M9.889 13.671h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H9.23v-1.813Zm-.33 0h.179v1.813H8.9v-1.813Zm-.33 0h.179v1.813H8.57zm-.323 0h.172v1.813h-.17v-1.813Zm-.181-.181h2.175v2.176H8.066V13.49Zm4.335-2.329h.172v1.813H12.4zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.178v1.813h-.178zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#26c2ee" d="M12.4 13.671h.172v1.813H12.4zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.178v1.813h-.178zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#00acd3" d="M14.909 13.671h.172v1.813h-.172zm-.33 0h.179v1.813h-.178zm-.33 0h.179v1.813h-.178zm-.33 0h.181v1.813h-.179v-1.813Zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.174V13.49Z"/><path fill="#26c2ee" d="M14.909 11.161h.172v1.813h-.172zm-.33 0h.179v1.813h-.178zm-.33 0h.179v1.813h-.178zm-.33 0h.181v1.813h-.179v-1.813Zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.174v-2.177Zm4.335 2.691h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.177-.181h2.176v2.176H15.6z"/><path fill="#00acd3" d="M17.42 11.161h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176H15.6v-2.177Z"/><path fill="#26c2ee" d="M17.42 8.65h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.177-.181h2.176v2.176H15.6z"/><path fill="#00acd3" d="M19.93 13.671h.17v1.813h-.17zm-.33 0h.178v1.813H19.6zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#d5eef2" d="M12.616 19.193a.6.6 0 1 1-.6.6a.6.6 0 0 1 .6-.6"/><path fill="#3a4e55" d="M12.616 19.363a.4.4 0 0 1 .156.029a.175.175 0 1 0 .241.236a.43.43 0 1 1-.4-.265M2 17.949h27.92c-.608-.154-1.923-.362-1.707-1.159c-1.105 1.279-3.771.9-4.444.267c-.749 1.087-5.111.674-5.415-.173c-.939 1.1-3.85 1.1-4.789 0c-.3.847-4.666 1.26-5.415.173c-.673.631-3.338 1.012-4.444-.267c.217.8-1.1 1.005-1.707 1.159"/><path fill="#c0dbe1" d="M14.211 23.518a5.3 5.3 0 0 1-2.756-2.711a9.2 9.2 0 0 1-1.987.3q-.436.024-.917.025q-.554 0-1.168-.033a7.94 7.94 0 0 0 6.145 2.43q.344 0 .683-.013"/><path fill="#d5eef2" d="M12.007 21.773a5.2 5.2 0 0 1-.552-.966a9.2 9.2 0 0 1-1.987.3a6.3 6.3 0 0 0 2.539.664"/>'},mG={width:32,height:32,body:'<g fill-rule="evenodd"><path d="M3.167 3.167h25.667v25.667H3.167z"/><path fill="#ecd53f" fill-rule="nonzero" d="M30 2v28H2V2zM14.757 20.539H9.98v6.44h4.898v-1.085h-3.597V24.14h3.232v-1.085H11.28v-1.428h3.475v-1.09zm2.503 0h-1.264v6.44h1.207v-4.2l2.597 4.2h1.305v-6.44h-1.21v4.3zm5.97 0h-1.41l2.303 6.44h1.388l2.306-6.44h-1.38l-1.577 4.766l-1.63-4.767zM8.3 24.96H6.34v1.96H8.3z"/></g>'},gG={width:32,height:32,body:'<defs><linearGradient id="SVGSwnCKblo" x1="17.249" x2="14.973" y1="-335.597" y2="-309.994" gradientTransform="matrix(1 0 0 -1 0 -306)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity="0"/><stop offset=".01" stop-color="#f7f6f8" stop-opacity=".04"/><stop offset=".09" stop-color="#aa9cb3" stop-opacity=".39"/><stop offset=".2" stop-color="#6f567e" stop-opacity=".66"/><stop offset=".32" stop-color="#452459" stop-opacity=".86"/><stop offset=".5" stop-color="#2d0843" stop-opacity=".97"/><stop offset="1" stop-color="#26003d"/></linearGradient></defs><path fill="#7c648f" d="M17.8 8.591c2.079 4.584 7.64 6.5 7.141 12.474c-.582 7.017-5.551 8.784-8.316 8.909a8.815 8.815 0 0 1-9.4-7.485C5.618 15.046 12.655 3.632 16.709 2A15.1 15.1 0 0 0 17.8 8.591m-.166 18.857a.42.42 0 0 0-.057-.327c-.593-1.1-5.81-1.645-6.907-1.752a8.3 8.3 0 0 0 1.635 1.3a7.8 7.8 0 0 0 2.814 1.041c.803.121 2.348.223 2.516-.263Z"/><path fill="#26003d" d="M18.248 10.618c4.47 4.823 6.445 4.979 6.237 10.478c-.249 6.476-4.543 8.191-7.058 8.42c-4.2.551-7.495-1.528-8.358-5.686c-1.757-6.767 3.909-17.807 7.568-19.47a15.3 15.3 0 0 0 1.621 6.24Z" opacity=".25"/><path fill="url(#SVGSwnCKblo)" d="M17.385 9.921C20.369 14 24.319 13.7 25 19.641c.094 6.923-3.6 9.283-6.237 9.948c-4.5 1.279-8.514-.645-10.094-5c-3.035-7 2.651-18.514 6.31-20.915a15.1 15.1 0 0 0 2.37 6.237Z" opacity=".75"/>'},EG={width:32,height:32,body:'<path fill="#4b32c3" d="m29.832 16.7l-6.354 10.717A1.26 1.26 0 0 1 22.36 28H9.647a1.26 1.26 0 0 1-1.118-.59l-6.356-10.7a1.26 1.26 0 0 1 0-1.272L8.527 4.676A1.34 1.34 0 0 1 9.647 4h12.709a1.34 1.34 0 0 1 1.118.678l6.354 10.786a1.2 1.2 0 0 1 0 1.238Zm-5.262 4.2v-9.614L16 6.466l-8.56 4.82V20.9L16 25.719Z"/><path fill="#8080f2" d="m21.802 19.188l-5.747 3.235l-5.742-3.235v-6.47l5.742-3.236l5.747 3.236z"/>'},yG={width:32,height:32,body:'<path fill="#cfcfcf" d="m12.677 17.781l-2.626-6.256l-2.694 6.256Zm6.723 6.511h-7.069v-1.365l.458-.023a1.85 1.85 0 0 0 .972-.2a.31.31 0 0 0 .145-.263a4.2 4.2 0 0 0-.419-1.4l-.812-1.931H7.322L6.4 21.259a3.3 3.3 0 0 0-.349 1.157c0 .036 0 .119.154.241a2.5 2.5 0 0 0 1.191.247l.448.033v1.354H2v-1.31l.4-.07a2.2 2.2 0 0 0 1-.318a6.3 6.3 0 0 0 1.18-2.066l5.575-13.036H11.2l5.512 13.174a5.3 5.3 0 0 0 1.049 1.835a1.96 1.96 0 0 0 1.19.4l.454.027Zm6.441-2.732v-3.985a23 23 0 0 0-2.226.97a3.85 3.85 0 0 0-1.29 1.05a2.03 2.03 0 0 0-.388 1.2a1.95 1.95 0 0 0 .491 1.362a1.49 1.49 0 0 0 1.13.544a4.14 4.14 0 0 0 2.283-1.141m-3.333 2.949a2.83 2.83 0 0 1-2.139-.893a3.2 3.2 0 0 1-.833-2.285a2.96 2.96 0 0 1 .415-1.577a5 5 0 0 1 1.791-1.625a24 24 0 0 1 3.617-1.588v-.074a2.9 2.9 0 0 0-.383-1.833a1.33 1.33 0 0 0-1.075-.412a1.16 1.16 0 0 0-.816.26a.69.69 0 0 0-.277.536l.023.646a1.62 1.62 0 0 1-.4 1.158a1.48 1.48 0 0 1-2.1-.019a1.63 1.63 0 0 1-.391-1.134a2.8 2.8 0 0 1 1.182-2.177a4.8 4.8 0 0 1 3.125-.932a5.4 5.4 0 0 1 2.508.524a2.63 2.63 0 0 1 1.213 1.346a6.4 6.4 0 0 1 .244 2.2v3.55a15 15 0 0 0 .051 1.749a.7.7 0 0 0 .054.2c.085-.078.284-.225.864-.806l.819-.828v1.967l-.1.128c-.958 1.283-1.883 1.907-2.83 1.907a1.6 1.6 0 0 1-1.257-.557a1.8 1.8 0 0 1-.358-.74a9.7 9.7 0 0 1-1.433.977a3.6 3.6 0 0 1-1.514.332"/>'},bG={width:32,height:32,body:'<path fill="#dd4c35" d="M29.472 14.753L17.247 2.528a1.8 1.8 0 0 0-2.55 0l-2.539 2.539l3.22 3.22a2.141 2.141 0 0 1 2.712 2.73l3.1 3.1a2.143 2.143 0 1 1-1.285 1.21l-2.895-2.895v7.617a2.141 2.141 0 1 1-1.764-.062V12.3a2.146 2.146 0 0 1-1.165-2.814l-3.17-3.172L2.528 14.7a1.8 1.8 0 0 0 0 2.551l12.225 12.221a1.8 1.8 0 0 0 2.55 0L29.472 17.3a1.8 1.8 0 0 0 0-2.551"/><path fill="#fff" d="m12.158 5.067l3.22 3.22a2.141 2.141 0 0 1 2.712 2.73l3.1 3.1a2.143 2.143 0 1 1-1.285 1.21l-2.895-2.895v7.617a2.141 2.141 0 1 1-1.764-.062V12.3a2.146 2.146 0 0 1-1.165-2.814l-3.17-3.172"/>'},vG={width:254.5,height:225,body:'<path fill="#00acd7" d="M-46.926 89c-.621 0-.777-.311-.466-.777l3.262-4.194a2.23 2.23 0 0 1 1.708-.777h55.448c.621 0 .777.466.466.932l-2.64 4.038a2.37 2.37 0 0 1-1.553.932Zm-23.453 14.285c-.621 0-.777-.311-.466-.777l3.262-4.194a2.23 2.23 0 0 1 1.708-.777H4.95a.714.714 0 0 1 .777.932L4.484 102.2a1.36 1.36 0 0 1-1.4.932Zm37.587 14.289c-.621 0-.777-.466-.466-.932l2.174-3.883a2.06 2.06 0 0 1 1.553-.932H1.533c.621 0 .932.466.932 1.087l-.311 3.728a1.17 1.17 0 0 1-1.087 1.087ZM128.426 86.2c-9.785 2.485-16.464 4.349-26.093 6.834c-2.33.621-2.485.777-4.5-1.553c-2.33-2.64-4.038-4.349-7.3-5.9c-9.785-4.815-19.259-3.417-28.112 2.33c-10.561 6.834-16 16.929-15.842 29.51c.155 12.425 8.7 22.676 20.968 24.385c10.561 1.4 19.414-2.33 26.4-10.251c1.4-1.708 2.64-3.572 4.194-5.747H68.163c-3.262 0-4.038-2.019-2.951-4.659c2.019-4.815 5.747-12.891 7.921-16.929a4.19 4.19 0 0 1 3.883-2.485h56.535c-.311 4.194-.311 8.387-.932 12.581a66.24 66.24 0 0 1-12.736 30.442c-11.183 14.752-25.783 23.915-44.265 26.4c-15.221 2.019-29.355-.932-41.78-10.251a48.8 48.8 0 0 1-19.725-34.48c-2.019-16.929 2.951-32.15 13.2-45.508C38.342 66.475 52.942 57.312 70.8 54.05c14.6-2.64 28.578-.932 41.159 7.61a48.7 48.7 0 0 1 18.017 21.9c.935 1.398.313 2.175-1.55 2.64"/><path fill="#00acd7" d="M179.835 172.09c-14.134-.311-27.025-4.349-37.9-13.668a48.7 48.7 0 0 1-16.774-29.976c-2.8-17.551 2.019-33.082 12.581-46.905c11.338-14.91 25.006-22.676 43.488-25.938c15.842-2.8 30.753-1.243 44.265 7.921c12.27 8.387 19.88 19.725 21.9 34.635c2.64 20.968-3.417 38.052-17.861 52.652a71.17 71.17 0 0 1-37.276 19.88c-4.191.778-8.384.933-12.423 1.399m36.965-62.747a45 45 0 0 0-.466-5.125c-2.8-15.376-16.929-24.074-31.684-20.657c-14.444 3.262-23.763 12.425-27.18 27.025a25.58 25.58 0 0 0 14.289 29.355c8.542 3.728 17.085 3.262 25.317-.932c12.269-6.369 18.948-16.309 19.724-29.666"/>'},CG={width:32,height:32,body:'<path fill="#d2d2d2" d="M21.463 26.37h-1.838a.83.83 0 0 1-.823-.725a2.381 2.381 0 0 0-4.722 0a.83.83 0 0 1-.823.725H11.4a.83.83 0 0 1-.836-.705a2.377 2.377 0 0 0-4.719 0a.84.84 0 0 1-.826.725h-1.9a.83.83 0 0 1-.816-.676a14.3 14.3 0 0 1 .48-7.557A10.66 10.66 0 0 1 6.6 13.079l.389-.277A1.83 1.83 0 0 1 7.9 10.47c6.237-2.972 10.45-.826 13.516.738c2.286 1.169 3.55 1.728 4.7.575A2.048 2.048 0 0 0 23.442 8.7a.836.836 0 0 1-1.087-.075l-.542-.542a.837.837 0 0 1 .006-1.183l.013-.013A4.726 4.726 0 0 1 28.4 7a5.7 5.7 0 0 1 1.58 4.386c-.179 2.531-1.9 5.036-5.12 7.442c-.748.562-2.5 2.339-2.567 6.741a.836.836 0 0 1-.833.826Zm-1.828-.813h1.819c.026-1.6.369-5.489 2.906-7.387c2.968-2.224 4.624-4.572 4.784-6.828a4.83 4.83 0 0 0-1.339-3.733a3.883 3.883 0 0 0-5.388-.1l.526.526a2.89 2.89 0 0 1 3.765 4.365c-1.633 1.633-3.507.683-5.676-.421a18.2 18.2 0 0 0-5.313-1.986a12.35 12.35 0 0 0-7.458 1.258a.98.98 0 0 0-.471 1.3q.018.037.039.075l.066.114L9.6 15.682a.98.98 0 0 0 1.33.388h.005l.043-.023l.055-.026l.689-.385a18 18 0 0 0 2.427-1.809a.417.417 0 0 1 .59.022a.42.42 0 0 1-.042.584a18 18 0 0 1-2.548 1.9l-.787.441l-.058.026a1.836 1.836 0 0 1-2.42-.706l-1.5-2.54l-.326.219a9.8 9.8 0 0 0-3.5 4.676a13.47 13.47 0 0 0-.447 7.09h1.897a3.223 3.223 0 0 1 6.391 0h1.842a3.22 3.22 0 0 1 6.387 0Zm1.423-10.45l-1.306-.653a.826.826 0 1 1 1.306.653"/>'},kG={width:32,height:32,body:'<path fill="#e10098" d="M4.781 22.746L16.232 2.914l1.028.593L5.81 23.34z"/><path fill="#e10098" d="M4.545 21.162h22.902v1.187H4.545z"/><path fill="#e10098" d="m4.999 21.828l.593-1.028l11.455 6.614l-.594 1.028zM14.95 4.59l.594-1.027l11.455 6.614l-.594 1.028z"/><path fill="#e10098" d="M5.002 10.174L16.456 3.56l.594 1.028l-11.455 6.614z"/><path fill="#e10098" d="m14.743 3.508l1.028-.594l11.45 19.833l-1.027.593zM5.454 9.386h1.187v13.228H5.454z"/><path fill="#e10098" d="M25.36 9.386h1.187v13.228H25.36z"/><path fill="#e10098" d="m15.734 27.042l9.962-5.752l.519.898l-9.963 5.752z"/><path fill="#e10098" d="M28.12 23a2.5 2.5 0 1 1-.915-3.411A2.5 2.5 0 0 1 28.12 23M8.2 11.5a2.5 2.5 0 1 1-.915-3.411A2.5 2.5 0 0 1 8.2 11.5M3.88 23a2.5 2.5 0 1 1 3.411.915A2.5 2.5 0 0 1 3.88 23M23.8 11.5a2.5 2.5 0 1 1 3.411.915A2.5 2.5 0 0 1 23.8 11.5M16 30a2.5 2.5 0 1 1 2.5-2.5A2.493 2.493 0 0 1 16 30m0-23.009a2.5 2.5 0 1 1 2.5-2.5a2.493 2.493 0 0 1-2.5 2.5"/>'},AG={width:32,height:32,body:'<path fill="#e44f26" d="M5.902 27.201L3.655 2h24.69l-2.25 25.197L15.985 30z"/><path fill="#f1662a" d="m16 27.858l8.17-2.265l1.922-21.532H16z"/><path fill="#ebebeb" d="M16 13.407h-4.09l-.282-3.165H16V7.151H8.25l.074.83l.759 8.517H16zm0 8.027l-.014.004l-3.442-.929l-.22-2.465H9.221l.433 4.852l6.332 1.758l.014-.004z"/><path fill="#fff" d="M15.989 13.407v3.091h3.806l-.358 4.009l-3.448.93v3.216l6.337-1.757l.046-.522l.726-8.137l.076-.83zm0-6.256v3.091h7.466l.062-.694l.141-1.567l.074-.83z"/>'},BG={width:32,height:32,body:'<path fill="#2dcc9f" d="M30 5.851v20.298H2V5.851z"/><path fill="#fff" d="M24.232 8.541a2.2 2.2 0 1 0 1.127.623a2.2 2.2 0 0 0-1.127-.623M18.111 20.1q-2.724-3.788-5.45-7.575L4.579 23.766h10.9q1.316-1.832 2.634-3.663M22.057 16q-2.793 3.882-5.584 7.765h11.169Q24.851 19.882 22.057 16"/>'},wG={width:32,height:32,body:'<path fill="#5382a1" d="M12.7 23.56s-1.07.622.761.833a16 16 0 0 0 5.8-.246a10 10 0 0 0 1.539.753c-5.481 2.349-12.405-.136-8.1-1.339m-.674-3.067s-1.2.888.633 1.078a22.6 22.6 0 0 0 7.481-.359a3.3 3.3 0 0 0 1.152.7c-6.627 1.938-14.009.153-9.266-1.421"/><path fill="#e76f00" d="M17.673 15.294a2.05 2.05 0 0 1-.355 2.954s3.429-1.77 1.854-3.987c-1.471-2.067-2.6-3.095 3.508-6.636c0 0-9.586 2.394-5.007 7.669"/><path fill="#5382a1" d="M24.922 25.827s.792.652-.872 1.157c-3.164.958-13.168 1.248-15.948.038c-1-.435.874-1.038 1.464-1.164a3.8 3.8 0 0 1 .966-.108c-1.111-.783-7.181 1.537-3.083 2.2c11.176 1.812 20.372-.816 17.473-2.124m-11.711-8.508s-5.089 1.209-1.8 1.648a38 38 0 0 0 6.731-.072a53 53 0 0 0 4.221-.555a9 9 0 0 0-1.28.685c-5.17 1.358-15.153.726-12.283-.665a9.6 9.6 0 0 1 4.407-1.042m9.133 5.104c5.253-2.73 2.824-5.353 1.129-5a4 4 0 0 0-.6.161a.96.96 0 0 1 .449-.346c3.354-1.179 5.933 3.478-1.083 5.322a.5.5 0 0 0 .106-.138"/><path fill="#e76f00" d="M19.172 1.906s2.909 2.91-2.759 7.386c-4.546 3.59-1.037 5.637 0 7.975c-2.653-2.394-4.6-4.5-3.294-6.463c1.917-2.879 7.229-4.275 6.056-8.9"/><path fill="#5382a1" d="M13.727 29.818c5.042.323 12.786-.179 12.969-2.565c0 0-.353.9-4.167 1.623a41.5 41.5 0 0 1-12.76.2s.645.533 3.959.746"/>'},DG={width:32,height:32,body:'<path fill="#f5de19" d="M18.774 19.7a3.73 3.73 0 0 0 3.376 2.078c1.418 0 2.324-.709 2.324-1.688c0-1.173-.931-1.589-2.491-2.272l-.856-.367c-2.469-1.052-4.11-2.37-4.11-5.156c0-2.567 1.956-4.52 5.012-4.52A5.06 5.06 0 0 1 26.9 10.52l-2.665 1.711a2.33 2.33 0 0 0-2.2-1.467a1.49 1.49 0 0 0-1.638 1.467c0 1.027.636 1.442 2.1 2.078l.856.366c2.908 1.247 4.549 2.518 4.549 5.376c0 3.081-2.42 4.769-5.671 4.769a6.58 6.58 0 0 1-6.236-3.5ZM6.686 20c.538.954 1.027 1.76 2.2 1.76c1.124 0 1.834-.44 1.834-2.15V7.975h3.422v11.683c0 3.543-2.078 5.156-5.11 5.156A5.31 5.31 0 0 1 3.9 21.688Z"/>'},FG={width:32,height:32,body:'<path fill="#f5de19" d="M4.014 14.976a2.5 2.5 0 0 0 1.567-.518a2.38 2.38 0 0 0 .805-1.358a15.3 15.3 0 0 0 .214-2.944q.012-2.085.075-2.747a5.2 5.2 0 0 1 .418-1.686a3 3 0 0 1 .755-1.018A3.05 3.05 0 0 1 9 4.125A6.8 6.8 0 0 1 10.544 4h.7v1.96h-.387a2.34 2.34 0 0 0-1.723.468a3.4 3.4 0 0 0-.425 2.092a36 36 0 0 1-.137 4.133a4.7 4.7 0 0 1-.768 2.06A4.6 4.6 0 0 1 6.1 16a3.8 3.8 0 0 1 1.992 1.754a8.9 8.9 0 0 1 .618 3.865q0 2.435.05 2.9a1.76 1.76 0 0 0 .504 1.181a2.64 2.64 0 0 0 1.592.337h.387V28h-.7a5.7 5.7 0 0 1-1.773-.2a2.97 2.97 0 0 1-1.324-.93a3.35 3.35 0 0 1-.681-1.63a24 24 0 0 1-.165-3.234a16.5 16.5 0 0 0-.214-3.106a2.4 2.4 0 0 0-.805-1.361a2.5 2.5 0 0 0-1.567-.524Zm23.972 2.035a2.5 2.5 0 0 0-1.567.524a2.4 2.4 0 0 0-.805 1.361a16.5 16.5 0 0 0-.212 3.109a24 24 0 0 1-.169 3.234a3.35 3.35 0 0 1-.681 1.63a2.97 2.97 0 0 1-1.324.93a5.7 5.7 0 0 1-1.773.2h-.7V26.04h.387a2.64 2.64 0 0 0 1.592-.337a1.76 1.76 0 0 0 .506-1.186q.05-.462.05-2.9a8.9 8.9 0 0 1 .618-3.865A3.8 3.8 0 0 1 25.9 16a4.6 4.6 0 0 1-1.7-1.286a4.7 4.7 0 0 1-.768-2.06a36 36 0 0 1-.137-4.133a3.4 3.4 0 0 0-.425-2.092a2.34 2.34 0 0 0-1.723-.468h-.387V4h.7a6.8 6.8 0 0 1 1.54.125a3.05 3.05 0 0 1 1.149.581a3 3 0 0 1 .755 1.018a5.2 5.2 0 0 1 .418 1.686q.062.662.075 2.747a15.3 15.3 0 0 0 .212 2.947a2.38 2.38 0 0 0 .805 1.355a2.5 2.5 0 0 0 1.567.518Z"/>'},SG={width:32,height:32,body:'<path fill="#767677" d="M26.233 3.588A1.69 1.69 0 1 1 24.473 2a1.67 1.67 0 0 1 1.76 1.585Z"/><path fill="#f37726" d="M16.375 23.111c-4.487 0-8.43-1.61-10.469-3.988a11.162 11.162 0 0 0 20.938 0c-2.034 2.377-5.962 3.988-10.469 3.988m0-15.463c4.487 0 8.43 1.61 10.469 3.988a11.162 11.162 0 0 0-20.938 0c2.039-2.383 5.963-3.988 10.469-3.988"/><path fill="#9e9e9e" d="M10.2 27.739a2.109 2.109 0 1 1-.2-.8a2.1 2.1 0 0 1 .2.8"/><path fill="#616262" d="M6.416 7.106A1.226 1.226 0 1 1 7.608 5.83a1.24 1.24 0 0 1-1.192 1.276"/>'},MG={width:32,height:32,body:'<g fill="none"><path fill="url(#SVG5NiZhbGj)" d="M30 30H2V2h28L15.711 15.794z"/><defs><radialGradient id="SVG5NiZhbGj" cx="0" cy="0" r="1" gradientTransform="matrix(-28 0 0 -28 30 2)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e44857"/><stop offset=".504" stop-color="#c711e1"/><stop offset="1" stop-color="#7f52ff"/></radialGradient></defs></g>'},NG={width:32,height:32,body:'<defs><linearGradient id="SVGmofYFcWG" x1="-264.845" x2="-255.586" y1="181.772" y2="182.061" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bd6316"/><stop offset="1" stop-color="#4e1500"/></linearGradient><linearGradient id="SVGnJ3pCbpX" x1="-263.276" x2="-256.603" y1="170.205" y2="171.772" href="#SVGmofYFcWG"/><linearGradient id="SVGMrBZzbeY" x1="-265.068" x2="-256.777" y1="175.732" y2="178.801" href="#SVGmofYFcWG"/><linearGradient id="SVGfIPENsHv" x1="-655.014" x2="-655.555" y1="147.549" y2="146.948" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd436"/><stop offset="1" stop-color="#8b3f02"/></linearGradient><linearGradient id="SVGwiYLJd3C" x1="-258.899" x2="-253.843" y1="170.981" y2="171.325" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff8b7"/><stop offset="1" stop-color="#fcbf0e"/></linearGradient><linearGradient id="SVGESyEmRVH" x1="-258.884" x2="-253.896" y1="170.975" y2="171.314" href="#SVGmofYFcWG"/><linearGradient id="SVGREjbOeQM" x1="-257.805" x2="-257.726" y1="172.266" y2="168.648" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVG027WPcDj" x1="-258.935" x2="-256.173" y1="181.92" y2="182.108" href="#SVGwiYLJd3C"/><linearGradient id="SVGyornQdTp" x1="-274.156" x2="-274.512" y1="170.544" y2="173.778" gradientTransform="matrix(-1 0 0 1 -257.657 -155.509)" href="#SVGfIPENsHv"/><linearGradient id="SVGkN47ldnx" x1="-645.79" x2="-645.121" y1="-337.938" y2="-334.17" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffef94"/><stop offset="1" stop-color="#ffd200"/></linearGradient><linearGradient id="SVGXZn9ocJO" x1="-276.128" x2="-274.754" y1="178.682" y2="178.682" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG2gxeCd7k" x1="-274.314" x2="-271.841" y1="178.887" y2="178.987" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGeRxH6LPb" x1="-273.817" x2="-274.213" y1="189.281" y2="174.569" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#d89530"/><stop offset="1" stop-color="#772d00"/></linearGradient><linearGradient id="SVG73jqed6L" x1="-274.075" x2="-273.917" y1="174.09" y2="181.459" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG4QBNucLe" x1="-272.919" x2="-273.315" y1="189.281" y2="174.57" href="#SVGeRxH6LPb"/><linearGradient id="SVGXv14weIK" x1="-273.177" x2="-273.019" y1="174.071" y2="181.44" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGz1cqjdyv" x1="-652.29" x2="-651.867" y1="-335.227" y2="-332.867" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffdb57"/><stop offset="1" stop-color="#b55c13"/></linearGradient><linearGradient id="SVGjFrLsb5T" x1="-665.076" x2="-659.751" y1="157.413" y2="150.922" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGqtklOeYo" x1="-665.161" x2="-664.822" y1="156.114" y2="155.701" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGjZuHwbNh" x1="-665.308" x2="-665.836" y1="156.436" y2="155.32" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVG8hPAsSTj" x1="-655.442" x2="-654.817" y1="147.568" y2="146.776" href="#SVGfIPENsHv"/><linearGradient id="SVGqd0dIejc" x1="-253.999" x2="-254.134" y1="175.1" y2="173.736" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGbRTRziON" x1="-252.571" x2="-252.785" y1="173.138" y2="170.963" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGXpeWx1aE" x1="-257.206" x2="-259.174" y1="169.107" y2="169.787" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGIUwBJc5A" x1="-260.717" x2="-260.77" y1="170.284" y2="171.228" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGGQnUfdbd" x1="-257.835" x2="-257.782" y1="174.993" y2="171.93" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVGkqE4j96Z" x1="-263.928" x2="-255.721" y1="171.018" y2="171.018" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVGa3T2CVnB" x1="-514.299" x2="-505.041" y1="-57.926" y2="-57.638" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGZeemGbVQ" x1="-512.744" x2="-505.964" y1="-69.496" y2="-67.904" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVG4pXW7cns" x1="-514.521" x2="-506.23" y1="-63.966" y2="-60.897" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGz1lPTckx" x1="-662.221" x2="-662.762" y1="-197.167" y2="-197.768" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGfIPENsHv"/><linearGradient id="SVGcBFu1dvT" x1="-508.354" x2="-503.297" y1="-68.717" y2="-68.373" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGwiYLJd3C"/><linearGradient id="SVGQvjQIZiB" x1="-508.338" x2="-503.351" y1="-68.723" y2="-68.384" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGeHD5sRoS" x1="-507.26" x2="-507.18" y1="-67.432" y2="-71.05" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGfIPENsHv"/><linearGradient id="SVG19IpQcjs" x1="-508.389" x2="-505.627" y1="-57.779" y2="-57.591" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGwiYLJd3C"/><linearGradient id="SVG85efRhKR" x1="-523.609" x2="-523.966" y1="-69.153" y2="-65.918" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGGdFalbTB" x1="-645.333" x2="-642.973" y1="-334.169" y2="-332.091" href="#SVGkN47ldnx"/><linearGradient id="SVGOjVzRbET" x1="-525.581" x2="-524.207" y1="-61.015" y2="-61.015" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGscgdGcRs" x1="-523.768" x2="-521.294" y1="-60.81" y2="-60.71" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGakdwydkv" x1="-523.27" x2="-523.666" y1="-50.416" y2="-65.127" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGeRxH6LPb"/><linearGradient id="SVGG6MQr2cb" x1="-523.528" x2="-523.37" y1="-65.606" y2="-58.238" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGXRrEmcZQ" x1="-522.372" x2="-522.768" y1="-50.416" y2="-65.127" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGeRxH6LPb"/><linearGradient id="SVGi2WMHbKh" x1="-522.631" x2="-522.472" y1="-65.626" y2="-58.257" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGLeACibTa" x1="-649.116" x2="-646.827" y1="-328.591" y2="-326.795" href="#SVGkN47ldnx"/><linearGradient id="SVG9uUmsbXE" x1="-672.284" x2="-666.958" y1="-187.303" y2="-193.795" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGl9apRboF" x1="-672.369" x2="-672.03" y1="-188.603" y2="-189.016" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGxfFH5fOf" x1="-672.516" x2="-673.044" y1="-188.281" y2="-189.397" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGyqk9tdzU" x1="-662.648" x2="-662.023" y1="-197.148" y2="-197.94" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGfIPENsHv"/><linearGradient id="SVGRTHl6clb" x1="-503.367" x2="-503.501" y1="-64.607" y2="-65.971" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGlrssAbqp" x1="-502.006" x2="-502.232" y1="-66.361" y2="-68.654" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGyVezad9t" x1="-506.661" x2="-508.629" y1="-70.591" y2="-69.911" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGiefcvdhi" x1="-510.172" x2="-510.224" y1="-69.414" y2="-68.47" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGfRyLFcLo" x1="-507.289" x2="-507.236" y1="-64.705" y2="-67.768" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGfIPENsHv"/><linearGradient id="SVGRHRPsqnF" x1="-642.337" x2="-640.048" y1="-337.231" y2="-335.435" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffdb57"/><stop offset="1" stop-color="#b66512"/></linearGradient><linearGradient id="SVGBtcXhdWx" x1="-628.479" x2="-627.663" y1="-215.005" y2="-209.203" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGmofYFcWG"/><linearGradient id="SVGarE9ubhv" x1="-633.006" x2="-622.552" y1="-211.18" y2="-211.18" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGwiYLJd3C"/><linearGradient id="SVGyIQIicum" x1="-627.491" x2="-627.755" y1="-215.556" y2="-211.648" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGKb76ycsW" x1="-627.796" x2="-627.057" y1="-210.705" y2="-205.186" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG8hmImb4h" x1="245.815" x2="245.923" y1="139.434" y2="136.367" gradientTransform="rotate(7.312 1187.515 -1764.249)" href="#SVGwiYLJd3C"/><linearGradient id="SVGCEzC1cyq" x1="-626.269" x2="-627.643" y1="-215.112" y2="-213.078" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/></defs><path fill="url(#SVGmofYFcWG)" d="m13.372 16.416l5.013-2.464l.93 1.893l-.054.238l-2.048 1.007l5.706 11.611l-.221.359l-1.543.758l-.82-.45l-5.459-11.109l-.482.237z"/><path fill="url(#SVGnJ3pCbpX)" d="m9.24 13.619l1.2 2.44c.072.146.416.252.617.292l2.634.683l4.609-2.268l.867-2.342a.68.68 0 0 0 .036-.674l-1.2-2.44a.55.55 0 0 0-.452-.3l-4.44.136a1.28 1.28 0 0 0-1.018.541l-2.72 3.162a.92.92 0 0 0-.133.77m1.932.033a.36.36 0 0 1 .011-.334l1.84-2.215a.83.83 0 0 1 .66-.351l2.877-.088a.36.36 0 0 1 .293.2l.356.725a.242.242 0 0 1-.139.339L11.833 14.5a.224.224 0 0 1-.3-.121Z"/><path fill="url(#SVGMrBZzbeY)" d="m9.426 13.209l1.2 2.44c.072.146.416.252.617.292l2.7.547l.782 1.591l.375-.179l5.459 11.109l.82.451l1.541-.76l-.017-.683l.868-1.458l-.241-.49l-.54.1l-.31-.63l.41-.366l-.59-1.199l-.593-.006l-.277-.564l.357-.473l-.3-.607l-.568.043l-.432-.879l.382-.423l-.161-.327a.87.87 0 0 1-.659-1.342l-.345-.7a1.347 1.347 0 0 1-.962-1.956l-.29-.591l.631-.31l-.773-1.546l.843-2.277a.68.68 0 0 0 .035-.674l-1.2-2.44a.55.55 0 0 0-.453-.3l-4.435.131a1.28 1.28 0 0 0-1.018.541l-2.84 3.419a.55.55 0 0 0-.016.516m1.932.033a.36.36 0 0 1 .011-.334l1.84-2.215a.83.83 0 0 1 .66-.351l2.877-.088a.35.35 0 0 1 .293.2l.356.725a.242.242 0 0 1-.139.339l-5.238 2.574a.224.224 0 0 1-.3-.121Z"/><path fill="url(#SVGfIPENsHv)" d="m14.47 18.381l.276-.318l.335-.164l-.139.245z"/><path fill="url(#SVGwiYLJd3C)" d="m11.259 15.828l2.776.6l4.38-2.152l.865-2.339a.58.58 0 0 0 .024-.567L18.1 8.917a.44.44 0 0 0-.367-.246l-4.438.13a1.17 1.17 0 0 0-.938.5L9.52 12.725a.45.45 0 0 0-.011.414l1.206 2.453a1 1 0 0 0 .544.236m.354-1.836l-.358-.729a.46.46 0 0 1 .013-.434v-.008l1.853-2.221a.92.92 0 0 1 .739-.389l2.881-.084a.47.47 0 0 1 .392.257l.358.729c.005.009.19.3-.187.481l-5.244 2.577c-.272.129-.44-.164-.447-.179"/><path fill="url(#SVGESyEmRVH)" d="M11.246 15.738c.006 0 2.438.51 2.751.591l4.354-2.139l.878-2.336a.47.47 0 0 0 .015-.458l-1.208-2.458a.34.34 0 0 0-.282-.187l-4.454.141a1.08 1.08 0 0 0-.864.46l-2.863 3.436a.34.34 0 0 0-.008.313l1.206 2.454a1.1 1.1 0 0 0 .475.183m.245-1.7l-.355-.723a.57.57 0 0 1 .018-.535v-.008l.01-.015l1.865-2.241a1.03 1.03 0 0 1 .824-.43l2.9-.091a.57.57 0 0 1 .492.316l.359.73a.46.46 0 0 1 .027.338a.48.48 0 0 1-.265.286l-5.287 2.6a.42.42 0 0 1-.331.025a.5.5 0 0 1-.258-.248Z"/><path fill="url(#SVGREjbOeQM)" d="M11.268 15.663c.009 0 2.53.528 2.722.577l4.3-2.113l.878-2.314a.42.42 0 0 0 .01-.4l-1.2-2.436a.28.28 0 0 0-.237-.156l-4.433.149a1.03 1.03 0 0 0-.82.437l-2.353 2.823l-.5.595a.28.28 0 0 0 0 .254l1.193 2.421a1.2 1.2 0 0 0 .44.163m.14-1.529l-.351-.715a.57.57 0 0 1-.011-.56l1.959-2.36a1.08 1.08 0 0 1 .86-.447l2.887-.1a.63.63 0 0 1 .538.341l.356.724a.54.54 0 0 1-.309.773l-5.267 2.588a.48.48 0 0 1-.662-.243Z"/><path fill="url(#SVG027WPcDj)" d="m18.463 14.345l.7 1.433l-.653.321l.319.649a1.428 1.428 0 0 0 1 2.043l.3.619a.958.958 0 0 0 .706 1.436l.107.218l-.39.428l.5 1.011l.577-.047l.239.485l-.366.478l.336.683h.6l.523 1.065l-.419.371l.382.777l.549-.1l.181.368A96 96 0 0 1 22.8 28v.638l-1.342.659l-.729-.414l-5.488-11.176l-.467.23l-.7-1.433Z"/><path fill="url(#SVGyornQdTp)" d="M14.289 15.413h4.622v1.4h-4.622z" transform="rotate(-26.171 16.6 16.113)"/><path fill="url(#SVGkN47ldnx)" d="m18.128 14.582l-.8.392l.617 1.256l.8-.392Zm-1.319.648l.617 1.256l.308-.152l-.617-1.256Z"/><path fill="url(#SVGXZn9ocJO)" d="m18.4 16.123l.308.628a1.523 1.523 0 0 0 1.037 2.11l.263.535a1.052 1.052 0 0 0 .744 1.513l.054.111l-.381.423l.557 1.134l.567-.043l.177.36l-.357.472l.392.8l.591.006l.456.929l-.409.366l.45.917l.539-.1l.12.243L22.634 28l-1.027.5l-5.525-11.235Z"/><path fill="url(#SVG2gxeCd7k)" d="m17.141 16.745l5.528 11.248l.046.511l-1.247.613l-.613-.349l-5.483-11.154Z"/><path fill="url(#SVGeRxH6LPb)" d="m22.287 28.694l.427-.21l-4.794-9.754l-1.028-1.554l.602 1.764z"/><path fill="url(#SVG73jqed6L)" d="M16.892 17.176L22.5 28.589l-.213.105l-4.793-9.754z"/><path fill="url(#SVG4QBNucLe)" d="m21.481 29.09l.427-.209l-4.794-9.755l-1.028-1.554l.602 1.764z"/><path fill="url(#SVGXv14weIK)" d="m16.086 17.572l5.608 11.413l-.213.105l-4.793-9.754z"/><path fill="url(#SVGz1cqjdyv)" d="m18.27 16.189l-.411.2l5.285 10.755l.279-.47l-.181-.369l-.386.072l-.45-.917l.294-.26l-.508-1.034h-.424l-.392-.8l.256-.338l-.237-.482l-.407.031l-.557-1.134l.273-.3l-.143-.291a1.04 1.04 0 0 1-.619-1.259l-.391-.8a1.505 1.505 0 0 1-.906-1.844Zm-.68.334l5.371 10.929l.108-.182l-5.319-10.825Z"/><path fill="url(#SVGjFrLsb5T)" d="m15.018 18.247l5.356 10.997l.196-.273l-5.391-11.032z"/><path fill="url(#SVGqtklOeYo)" d="m20.436 29.315l.211-.291l.705.361l-.203.294z"/><path fill="url(#SVGjZuHwbNh)" d="m21.446 29.41l-.179.26l1.382-.659l.131-.241z"/><path fill="url(#SVG8hPAsSTj)" d="m14.029 16.673l-.225.388l.601 1.293l.297-.354z"/><path fill="url(#SVGqd0dIejc)" d="m13.946 16.506l-.239.432l-2.944-.761l.124-.345z"/><path fill="url(#SVGbRTRziON)" d="M9.359 13s-.145.444-.087.563l1.212 2.465l.2-.384Z"/><path fill="url(#SVGXpeWx1aE)" d="m16.683 10.624l.1-.327l-2.963.095a.9.9 0 0 0-.51.251l-.007.165a2 2 0 0 1 .394-.1Z"/><path fill="url(#SVGIUwBJc5A)" d="M16.83 10.309a.33.33 0 0 1 .17.137l.382.762l-.164.279l-.341-.693c-.023-.047-.108-.145-.147-.149Z"/><path fill="url(#SVGGQnUfdbd)" d="m11.237 13.786l.171.348a.48.48 0 0 0 .661.248l5.267-2.588a.54.54 0 0 0 .309-.773l-.153-.31l1.08-.531l.606 1.232a.42.42 0 0 1-.01.4l-.878 2.314l-4.3 2.113c-.191-.049-2.713-.575-2.722-.577a1.2 1.2 0 0 1-.439-.16l-.6-1.222Z"/><path fill="url(#SVGkqE4j96Z)" d="m13.377 8.968l.532 1.084l.539-.018l-.532-1.084Zm2.306-.077l-1.395.047l.533 1.084l1.4-.046Zm1.471 2.994l-1.142.561l1.106 2.25l1.142-.561Zm-1.447.711l-.441.217l1.106 2.251l.441-.217Z"/><path fill="url(#SVGa3T2CVnB)" d="m10.65 14.159l5.287 1.803L15.623 18l-.173.134l-2.16-.737l-1.921 12.501l-.371.102l-1.627-.555l-.395-.913l1.838-11.961l-.508-.173z"/><path fill="url(#SVGZeemGbVQ)" d="m8.951 9.175l-.542 2.747a.57.57 0 0 0 .175.452l1.976 2.461l4.866 1.659l1.969-1.077a.535.535 0 0 0 .4-.463l.4-2.627a.66.66 0 0 0-.188-.544L14.453 8.7a1.31 1.31 0 0 0-1.1-.337l-3.874.345a.71.71 0 0 0-.528.467m1.5 1.407a.28.28 0 0 1 .192-.234l2.633-.256a.93.93 0 0 1 .724.315l2.3 2a.43.43 0 0 1 .121.352l-.1.651s-.027.237-.3.146L10.5 11.667a.27.27 0 0 1-.172-.305Z"/><path fill="url(#SVG4pXW7cns)" d="m9.322 9.01l-.4 2.627c-.024.157.188.481.324.653l1.817 2.33l-.263 1.714l.392.134l-1.843 11.959l.395.914l1.627.555l.363-.507l1.483-.436l.081-.528l-.479-.314l.1-.678l.523.028l.2-1.283l-.461-.428l.093-.608l.54-.087l.1-.653l-.469-.375l.145-.946l.532-.034l.054-.352a1.05 1.05 0 0 1-.29-.859a.69.69 0 0 1 .512-.585l.116-.756a1.6 1.6 0 0 1-.364-1.232a1.07 1.07 0 0 1 .688-.874l.1-.636l.666.227l.246-1.674l1.915-1.047a.535.535 0 0 0 .4-.463l.4-2.627a.66.66 0 0 0-.188-.544l-3.556-3.08a1.31 1.31 0 0 0-1.1-.336l-4.109.445a.43.43 0 0 0-.29.356m1.5 1.407a.28.28 0 0 1 .192-.234l2.663-.289a.85.85 0 0 1 .711.218l2.3 2a.43.43 0 0 1 .122.352l-.12.781s-.027.237-.3.146L10.871 11.5a.27.27 0 0 1-.171-.3Z"/><path fill="url(#SVGz1lPTckx)" d="m10.428 16.37l.392-.033l.353.12l-.244.078z"/><path fill="url(#SVGcBFu1dvT)" d="m9.317 12.221l1.846 2.421l4.619 1.575l1.967-1.076a.45.45 0 0 0 .331-.393l.406-2.641a.53.53 0 0 0-.152-.441l-3.552-3.083a1.2 1.2 0 0 0-1.011-.31l-4.109.453a.35.35 0 0 0-.237.292l-.405 2.641a1.26 1.26 0 0 0 .297.562m1.289-1.077l.121-.785a.37.37 0 0 1 .25-.305h.008l2.675-.295a.95.95 0 0 1 .794.247l2.3 2a.56.56 0 0 1 .166.467l-.121.785c0 .01-.014.35-.411.215l-5.53-1.886a.42.42 0 0 1-.252-.443"/><path fill="url(#SVGQvjQIZiB)" d="M9.356 12.146c0 .005 1.63 2.115 1.831 2.4l4.591 1.566l1.974-1.065a.37.37 0 0 0 .264-.321l.406-2.646a.4.4 0 0 0-.118-.338l-3.571-3.091a1.12 1.12 0 0 0-.931-.285l-4.133.444a.27.27 0 0 0-.179.221l-.406 2.642a1.4 1.4 0 0 0 .272.473m1.126-1.054l.12-.778a.45.45 0 0 1 .309-.375h.024l2.7-.29a1.07 1.07 0 0 1 .883.278l2.324 2.01a.7.7 0 0 1 .212.581l-.121.786a.38.38 0 0 1-.165.265a.42.42 0 0 1-.365.018l-5.576-1.9a.5.5 0 0 1-.273-.219a.55.55 0 0 1-.072-.377Z"/><path fill="url(#SVGeHD5sRoS)" d="M9.415 12.108c.006.008 1.693 2.194 1.816 2.366l4.535 1.546l1.963-1.048a.33.33 0 0 0 .228-.282l.4-2.623a.34.34 0 0 0-.1-.283L14.7 8.719a1.07 1.07 0 0 0-.884-.271l-3.4.359l-.716.076a.23.23 0 0 0-.142.183s-.4 2.594-.4 2.611a1.5 1.5 0 0 0 .257.431m.952-1.007l.118-.77a.46.46 0 0 1 .3-.414l2.836-.308a1.12 1.12 0 0 1 .921.292l2.316 2a.76.76 0 0 1 .234.632s-.1.633-.12.779c-.034.219-.191.5-.668.339l-5.555-1.894a.584.584 0 0 1-.383-.657Z"/><path fill="url(#SVG19IpQcjs)" d="m15.781 16.3l-.237 1.543l-.689-.235l-.107.7a1.16 1.16 0 0 0-.7.917a1.72 1.72 0 0 0 .367 1.283l-.1.666a.77.77 0 0 0-.527.634a1.15 1.15 0 0 0 .29.912l-.036.235l-.542.031l-.167 1.088l.479.379l-.08.522l-.55.084l-.113.736l.471.432l-.176 1.146l-.532-.031l-.128.837l.488.317l-.061.4c-.09.027-1.455.411-1.455.411l-.352.462l-1.424-.483l-.343-.822l1.843-12.03l-.493-.168l.237-1.543Z"/><path fill="url(#SVG85efRhKR)" d="m11.056 16.181l4.374 1.491l.208-1.352l-4.374-1.492z"/><path fill="url(#SVGGdFalbTB)" d="m15.388 16.234l-.842-.287l-.207 1.353l.841.287ZM14 15.76l-.208 1.353l.325.111l.208-1.353Z"/><path fill="url(#SVGOjVzRbET)" d="m14.756 17.55l-.1.676a1.25 1.25 0 0 0-.7.957A1.85 1.85 0 0 0 14.3 20.5l-.089.576a.84.84 0 0 0-.525.678a1.26 1.26 0 0 0 .275.95l-.018.119l-.531.034l-.188 1.221l.469.375l-.06.388l-.539.087l-.132.858l.46.427l-.154 1l-.522-.028l-.152.987l.478.314l-.04.262l-1.506.443l-1.083-.369l1.86-12.1Z"/><path fill="url(#SVGscgdGcRs)" d="m13.423 17.1l-1.86 12.1l-.246.4L10 29.16l-.289-.692l1.845-12.009Z"/><path fill="url(#SVGakdwydkv)" d="m10.877 29.44l.45.154l1.614-10.501l.049-1.863l-.499 1.709z"/><path fill="url(#SVGG6MQr2cb)" d="m12.99 17.23l-1.888 12.287l-.225-.077l1.614-10.501z"/><path fill="url(#SVGXRrEmcZQ)" d="m10.028 29.151l.449.153l1.614-10.501l.049-1.863l-.499 1.71z"/><path fill="url(#SVGi2WMHbKh)" d="m12.14 16.94l-1.887 12.287l-.225-.076l1.613-10.501z"/><path fill="url(#SVGLeACibTa)" d="m14.615 17.5l-.433-.148l-1.782 11.58l.478-.14l.061-.4l-.339-.222l.152-.987l.374.02l.171-1.113l-.33-.306l.132-.858l.387-.062l.08-.519l-.336-.268l.188-1.221l.381-.024l.048-.314a1.2 1.2 0 0 1-.154-.766a.85.85 0 0 1 .363-.59l.132-.856a1.8 1.8 0 0 1-.231-1.123a1.26 1.26 0 0 1 .536-.861Zm-.717-.244L12.09 29.024l.185-.054l1.791-11.655Z"/><path fill="url(#SVG9uUmsbXE)" d="M10.932 16.665L9.075 28.47l.303-.058l1.85-11.855z"/><path fill="url(#SVGl9apRboF)" d="m9.085 28.566l.325-.06l.354.766l-.321.068z"/><path fill="url(#SVGxfFH5fOf)" d="m9.823 29.357l-.283.06l1.447.513l.235-.081z"/><path fill="url(#SVGyqk9tdzU)" d="m11.024 14.816l-.391.12l-.241 1.367l.429-.043z"/><path fill="url(#SVGRTHl6clb)" d="m11.05 14.636l-.425.141l-2.084-2.606l.483-.214z"/><path fill="url(#SVGlrssAbqp)" d="M9.384 8.813s-.358.218-.378.346l-.546 2.773l.51-.253Z"/><path fill="url(#SVGyVezad9t)" d="m16.435 12.332l.256-.168l-2.375-2.052a.96.96 0 0 0-.538-.183l-.1.115a2 2 0 0 1 .362.211Z"/><path fill="url(#SVGiefcvdhi)" d="M16.724 12.208a.4.4 0 0 1 .058.221c-.016.1-.112.774-.12.825l-.283.085l.115-.747a.4.4 0 0 0-.033-.213Z"/><path fill="url(#SVGfRyLFcLo)" d="m10.424 10.725l-.058.375a.584.584 0 0 0 .381.653l5.553 1.894c.478.163.634-.12.668-.339l.051-.334l1.139.388l-.2 1.327a.33.33 0 0 1-.228.282l-1.963 1.048l-4.535-1.546a358 358 0 0 0-1.816-2.366a1.5 1.5 0 0 1-.257-.43l.2-1.315Z"/><path fill="url(#SVGRHRPsqnF)" d="m14.756 8.764l-.179 1.166l.432.373l.179-1.167Zm1.851 1.595l-1.119-.965l-.179 1.167l1.119.965Zm-.5 3.223l-1.2-.411l-.372 2.423l1.2.411Zm-1.526-.52l-.461-.162l-.372 2.423l.465.159Z"/><path fill="url(#SVGBtcXhdWx)" d="M9.936 2.733c2.042-1.441 5.206-.715 7.065 1.8A6.17 6.17 0 0 1 18.27 9.1c-.219-.73-1.023-.427-1.664-.441a4.1 4.1 0 0 0-.763-3.207C14.6 3.778 12.41 3.1 11.07 4.094s-1.382 3.253-.143 4.929a3.68 3.68 0 0 0 3.69 1.742c.521.444 1 .871 1.507 1.329c-1.84 1.134-4.8.334-6.51-1.982c-1.86-2.512-1.93-5.789.322-7.379"/><path fill="url(#SVGarE9ubhv)" d="M9.956 2.841c1.939-1.405 5.111-.606 6.892 1.8a6.6 6.6 0 0 1 1.38 4.159c-.293-.387-1.035-.264-1.466-.211a4.6 4.6 0 0 0-.823-3.272c-1.317-1.78-3.546-2.373-4.97-1.32s-1.442 3.27-.125 5.051a4.03 4.03 0 0 0 3.842 1.905c.4.35.79.715 1.185 1.073c-1.982 1.012-4.528.084-6.123-2.073c-1.782-2.408-1.897-5.587.208-7.112"/><path fill="url(#SVGyIQIicum)" d="M10.1 2.918c1.855-1.345 4.971-.5 6.675 1.8a6.64 6.64 0 0 1 1.361 3.89a1.87 1.87 0 0 0-1.148-.126a4.56 4.56 0 0 0-.946-3.23c-1.394-1.885-3.6-2.472-5.1-1.357s-1.511 3.279-.171 5.2a4.08 4.08 0 0 0 3.976 1.973c.323.285.639.58.957.871c-1.939.959-4.394-.1-5.893-2.131C8.1 7.511 8.1 4.363 10.1 2.918"/><path fill="url(#SVGKb76ycsW)" d="M9.684 3.412C8.6 4.969 8.825 7.5 10.3 9.494c1.413 1.911 3.466 2.885 5.249 2.443c-1.694.674-4.074-.233-5.554-2.235c-1.54-2.081-1.66-4.783-.311-6.29"/><path fill="url(#SVG8hmImb4h)" d="M9.9 3.511c-.171.291.366.627.547.144a4.3 4.3 0 0 1 2.442-1.222A3.56 3.56 0 0 0 9.9 3.511m.077.506a.244.244 0 1 0 .211.273a.243.243 0 0 0-.213-.273Z"/><path fill="url(#SVGCEzC1cyq)" d="M11.035 3.763c1.4-1.181 3.664-.647 5.163 1.132a4.72 4.72 0 0 1 1.2 3.542q-.204.021-.411.048a4.56 4.56 0 0 0-.946-3.23c-1.394-1.885-3.6-2.472-5.1-1.357q-.105.08-.2.167a3 3 0 0 1 .294-.302"/>'},_G={width:32,height:32,body:'<path fill="gray" d="m16.5 30l-.011-.321c.4-.014.8-.045 1.19-.094l.039.319c-.406.048-.818.08-1.218.096m-1.222-.011c-.4-.021-.814-.061-1.216-.118l.045-.318c.393.055.793.094 1.188.115Zm3.642-.289l-.067-.314c.387-.083.776-.184 1.155-.3l.094.307c-.388.118-.786.222-1.182.307m-6.063-.053q-.599-.137-1.177-.326l.1-.306c.377.122.764.23 1.15.319Zm8.4-.665l-.121-.3c.364-.148.728-.314 1.08-.493h.006l.145.286q-.553.28-1.114.507Zm-10.718-.088a14 14 0 0 1-1.1-.524l.15-.284c.35.186.713.358 1.078.512Zm12.893-1.021l-.17-.273c.337-.21.668-.437.984-.675l.193.257q-.494.367-1.011.691Zm-15.053-.122c-.341-.22-.676-.459-1-.708l.2-.253c.312.243.64.476.972.691Zm17-1.346l-.215-.239q.443-.4.851-.836l.235.219c-.278.297-.571.585-.872.851Zm-18.925-.153c-.3-.276-.585-.569-.856-.87l.239-.215c.265.294.547.58.836.85Zm20.587-1.632l-.253-.2c.244-.312.476-.639.692-.972l.27.175q-.333.516-.709.997M4.82 24.439a14 14 0 0 1-.692-1.007l.272-.17c.21.337.438.668.676.984Zm23.547-1.867l-.284-.151c.186-.35.358-.713.513-1.078l.3.125a15 15 0 0 1-.528 1.104Zm-24.841-.2l-.006-.012a13 13 0 0 1-.5-1.1l.3-.121c.147.362.312.724.491 1.074l.006.012Zm25.794-2.047l-.306-.1c.122-.377.23-.764.319-1.15l.313.072c-.091.396-.2.792-.326 1.178m-26.712-.218c-.12-.388-.223-.786-.308-1.182l.314-.067c.083.387.184.776.3 1.155Zm27.262-2.161l-.318-.045c.056-.393.094-.793.115-1.188l.321.017a14 14 0 0 1-.118 1.216M2.1 17.72c-.05-.4-.082-.812-.1-1.218l.321-.011c.014.4.046.8.094 1.19Zm27.582-2.2c-.014-.4-.045-.8-.093-1.19l.319-.039c.049.4.082.813.1 1.218ZM2.331 15.3l-.321-.02c.021-.405.061-.814.117-1.216l.318.045c-.055.391-.093.791-.114 1.191m27.057-2.144a14 14 0 0 0-.3-1.155l.312-.101c.119.388.223.786.307 1.183Zm-26.725-.222l-.313-.072q.137-.599.326-1.177l.306.1c-.123.376-.23.763-.319 1.149m26.026-2.062a13 13 0 0 0-.5-1.086l.286-.146c.185.363.355.736.507 1.111ZM3.4 10.665l-.3-.125c.158-.374.334-.745.524-1.1l.284.15c-.184.347-.356.71-.508 1.075m1.113-2.108l-.27-.174q.332-.513.707-1l.254.2q-.367.475-.691.974m1.464-1.881l-.235-.219c.276-.3.569-.585.87-.857l.215.239c-.294.261-.58.547-.85.837m1.77-1.6l-.193-.257c.323-.244.662-.477 1.007-.692l.17.272c-.337.215-.668.442-.984.68Zm15.705-.558l-.018-.012l.175-.27l.018.011Zm-1.047-.616a13 13 0 0 0-1.078-.512l.125-.3c.374.158.745.334 1.1.524ZM9.769 3.815l-.146-.286l.018-.009c.356-.181.724-.349 1.093-.5l.121.3c-.361.147-.72.311-1.068.488Zm10.44-.838a13 13 0 0 0-1.151-.317l.072-.313q.6.137 1.178.325Zm-8.229-.06l-.094-.307a14 14 0 0 1 1.182-.308l.067.314a14 14 0 0 0-1.155.301m5.9-.473a14 14 0 0 0-1.188-.113l.016-.321c.405.021.814.059 1.216.115Zm-3.572-.026l-.04-.319c.4-.05.812-.083 1.218-.1l.012.321c-.392.017-.793.049-1.186.098Z"/><circle cx="16" cy="15.998" r="10.708" fill="navy"/><circle cx="20.435" cy="11.562" r="3.136" fill="#fff"/><circle cx="26.708" cy="5.29" r="3.137" fill="navy"/><path fill="#fff" d="M13.1 21.352v-.79H9.629v-6.236h-.9v7.026zm4.816 0V16.3h-.8v2.785c0 1.031-.54 1.706-1.378 1.706A.95.95 0 0 1 14.7 19.8v-3.5h-.8v3.817c0 .838.626 1.378 1.609 1.378a1.86 1.86 0 0 0 1.687-.925v.781h.723m5.872-.018v-.607a.7.7 0 0 1-.173.019c-.279 0-.434-.145-.434-.4v-2.809c0-.9-.655-1.378-1.9-1.378c-1.224 0-1.976.472-2.024 1.638h.81c.067-.617.434-.9 1.185-.9c.723 0 1.128.27 1.128.752v.212c0 .337-.2.482-.838.559a5.8 5.8 0 0 0-1.619.308a1.33 1.33 0 0 0-.887 1.311c0 .916.636 1.455 1.658 1.455a2.36 2.36 0 0 0 1.715-.742a.855.855 0 0 0 .829.665a2 2 0 0 0 .549-.087m-1.407-1.725a1.366 1.366 0 0 1-1.513 1.185c-.626 0-.993-.222-.993-.771c0-.53.357-.761 1.214-.887a4 4 0 0 0 1.291-.279v.752"/>'},jG={width:32,height:32,body:'<path fill="#fff" d="M7.313 18.654a.55.55 0 0 1-.6.233a.92.92 0 0 0-.869.08c-.306.218-.637.053-.579-.345a1.23 1.23 0 0 1 .583-.971c.833-.479.254-.812.711-1.293s.357-.629.341-1.283a4.65 4.65 0 0 1-3.4-1.9a6 6 0 0 1-1.46-3.764a6.37 6.37 0 0 1 .649-3.8a5.3 5.3 0 0 1 2.565-2.522a7 7 0 0 1 3.489-.77a4.96 4.96 0 0 1 2.443.452a5.2 5.2 0 0 0 1.546.8a1.22 1.22 0 0 0 .782-.226c.047 1.189-1.023 1.292-1.98 1.317s-1.546-.371-2.427-.224a4.2 4.2 0 0 0-3.03 1.774A3.78 3.78 0 0 0 5.408 8.9a1.95 1.95 0 0 0 1.441 1.8c.5.008.61-.136 1.047-.421s2.665-3.043 3.426-3.663a3.52 3.52 0 0 1 2.322-.821a3.24 3.24 0 0 1 1.671.286A12 12 0 0 1 16.9 7.139a9 9 0 0 0 .684-.576a2.87 2.87 0 0 1 2.393-.718a3.64 3.64 0 0 1 1.819.8a14.3 14.3 0 0 1 2.013 2.425a3.6 3.6 0 0 0 1.621 1.489c.771.237 1.352-.762 1.437-1.316a6 6 0 0 0 .112-.935a4.4 4.4 0 0 0-.135-1.125a4 4 0 0 0-.455-1.016a3.6 3.6 0 0 0-1.3-1.25A4.1 4.1 0 0 0 23.7 4.5a14 14 0 0 0-1.4.2c-.584.04-1.628.171-2.086-.28a1.18 1.18 0 0 1-.378-.853a.9.9 0 0 0 .469.19c.366.031.708-.268 1-.441a7 7 0 0 1 .908-.526a5.86 5.86 0 0 1 2.7-.232a6.3 6.3 0 0 1 2.2.725a6 6 0 0 1 1.634 1.48A5 5 0 0 1 29.781 6.9a9 9 0 0 1 .017 3.847a7.6 7.6 0 0 1-1.714 2.819a4.4 4.4 0 0 1-2.317 1.112a5 5 0 0 0 .086.488c.064.206.188.436.441.363a.236.236 0 0 1 .289.063c.133.116.064.567-.311.769a1.45 1.45 0 0 1-.695.131a6.6 6.6 0 0 1-1.11-.051c-.33-.058-.528-.32-.894-.361a3.6 3.6 0 0 1-1.452-.764a3 3 0 0 0-.362-.185c.059.18.138.368.177.541s.023.334.043.472s.059.247.082.359c.09.081.119.2.272.243a1.7 1.7 0 0 0 .546-.043c.156-.021.26-.106.383-.083a.85.85 0 0 1 .34.193c.1.082.191.094.274.3a3.3 3.3 0 0 1 .171.9a1.9 1.9 0 0 1-.1.755a1.26 1.26 0 0 1-.381.541a6 6 0 0 1-.956.769a1.7 1.7 0 0 0 .2.3c.1.109.324.229.421.344a.47.47 0 0 1 .148.324a.7.7 0 0 1-.109.433a1.9 1.9 0 0 1-.937.573a2.5 2.5 0 0 1 .023 1.06c-.037.159-.119.519-.315.612a4 4 0 0 1-.814.086c-.239.038-.373.074-.56.111a3.3 3.3 0 0 0-.34.492a.4.4 0 0 0 .008.35c.049.15.214.368.261.544a1.1 1.1 0 0 1 .012.541a.94.94 0 0 1-.269.46c-.15.157-.446.28-.593.406s-.294.142-.254.352a1.55 1.55 0 0 0 .781.867a.93.93 0 0 0 .65-.048c-.015.246-.228.412-.367.576a2.2 2.2 0 0 0 1-.588a2.5 2.5 0 0 1-.752.955a3 3 0 0 1-.6.4a2.7 2.7 0 0 0 .99 0a2 2 0 0 1-.748.242a2.2 2.2 0 0 1-.85-.064a5.7 5.7 0 0 1-.951-.541a.78.78 0 0 0 .217.442a3 3 0 0 0 .639.334a9 9 0 0 1-.963-.116a2.2 2.2 0 0 1-.555-.189a4 4 0 0 1-.449-.309a1.3 1.3 0 0 0 .215.411a2 2 0 0 0 .48.232a2 2 0 0 1-.5-.011a1.4 1.4 0 0 1-.517-.245a3.7 3.7 0 0 1-.52-.463a2.2 2.2 0 0 1-.4-.538c-.058-.154.035-.262.052-.393a1.2 1.2 0 0 0-.318.21a.4.4 0 0 0-.118.37a2.5 2.5 0 0 0 .315.589c-.344-.281-.536-.389-.618-.729a1.14 1.14 0 0 1 .272-.846c.075-.119.187-.23.257-.345a5 5 0 0 1-.466-.456c-.133-.173-.189-.408-.325-.573a3.4 3.4 0 0 0-.478-.407a6 6 0 0 1 .42.9a.6.6 0 0 1-.139.5c-.083.126-.216.154-.343.231s-.323.017-.4.131a.39.39 0 0 0-.023.4l.3.466a1.4 1.4 0 0 1-.381-.328c-.084-.114-.214-.218-.232-.371a.54.54 0 0 1 .073-.422c.1-.137.371-.182.493-.287s.19-.173.183-.309s-.14-.232-.253-.318a8 8 0 0 1-1.088-.815a1.1 1.1 0 0 1-.28-.443a.46.46 0 0 1 .085-.368c.083-.151.367-.352.4-.515s-.109-.2-.238-.256s-.376.029-.5-.071s.035-.311-.1-.427s-.445-.051-.6-.176a.84.84 0 0 1-.281-.459a1 1 0 0 1-.024-.509c.038-.131.15-.154.217-.222s.127-.124.036-.225s-.385.006-.555-.124s-.066-.44-.186-.572s-.336-.079-.449-.121s-.159.106-.228-.128s-.072-.93-.166-1.189s-.278-.018-.363-.276a7 7 0 0 1-.043-1.06l-.175-1.061c-.609.409-2.53.935-2.7 1.233"/><path fill="#030303" d="M16.623 8.258a3.7 3.7 0 0 0 .077.942a.9.9 0 0 0 .382.66c.462.343.758.286 1.114.485a1 1 0 0 1 .446.421a.36.36 0 0 1-.17.422a.36.36 0 0 0 .371-.48c-.052-.128-.3-.185-.373-.314a.5.5 0 0 1-.04-.393c.064-.236.531-.451.7-.637a.77.77 0 0 0 .208-.9a2.83 2.83 0 0 0-1.45-1.141a3 3 0 0 0-.5-.15a1.65 1.65 0 0 1 .875.807c.144.374.019.515.024.84c0 .151.2.226.289.322s.07.145.009.259a.3.3 0 0 0-.13-.236c-.13-.093-.271-.073-.341-.263c-.106-.289.1-.563-.132-.888a1.03 1.03 0 0 0-.727-.522a1.3 1.3 0 0 0-.423.066l-.219-.258a4.6 4.6 0 0 0-1.34-.995a3.03 3.03 0 0 0-1.607-.3a3.07 3.07 0 0 0-2.2.771c-.808.7-2.892 3.367-3.4 3.7a1.7 1.7 0 0 1-1.248.453a2.124 2.124 0 0 1-1.657-2.002a4.04 4.04 0 0 1 .722-2.857a4.17 4.17 0 0 1 3.224-1.9a12 12 0 0 1 2.441.23c.771 0 1.534-.132 1.759-.745a1.04 1.04 0 0 1-.672.118A6.7 6.7 0 0 1 11 2.952a5.2 5.2 0 0 0-2.29-.377a6.3 6.3 0 0 0-3.215.669a5.77 5.77 0 0 0-2.582 2.475a5.87 5.87 0 0 0-.654 3.649a6.07 6.07 0 0 0 1.423 3.613a4.46 4.46 0 0 0 3.295 1.785l.329-1.45l-.587.842l.015-.937l-.531.659l-.233-.894l-.43.716l-.214-1l-.623.5l.2-.823l-.825.092l.379-.572l-.752.009l.438-.764l-.667-.106L4 10.35l-.817-.242l.676-.648l-.659-.544l.522-.406l-.492-.65l.521-.607l-.194-.8L4 6.067l.132-.916l.5-.249l.427-.715l.785-.087l.39-.643l.793.04l.749-.407l.778.181l.883-.266l.654.153l.853.125l.824.659L10.5 3.5l-.636.305l-.526-.321l-.362.246l-.64.064l-.574-.037l-.419.511l-.843.013l-.3.688l-.759.266l-.071.791l-.544.426L5 7.2l-.47.773l.361.676l-.355.619l.472.308l-.107.995l.656.166l.148.738l.715-.075l.444.506l.549-.536a6.15 6.15 0 0 0 2.193-1.625a10.3 10.3 0 0 1 2.58-2.506a3.45 3.45 0 0 1 2.493-.477c.895.154 1.194.691 1.853 1.257a.6.6 0 0 1 .2-.253a4 4 0 0 0-.108.492Zm4.665 5.934a.7.7 0 0 1-.2.143a2.4 2.4 0 0 1-.344.083c.173.27.355.543.521.826s.31.594.469.892a5 5 0 0 0-.022-.511a5 5 0 0 0-.168-.537c-.071-.239-.159-.564-.26-.9Zm-.06-1.551a.5.5 0 0 1 .168.092a.65.65 0 0 1 .255.269a1 1 0 0 1 .048.466c-.056-.016-.132-.005-.191-.055s-.092-.162-.167-.21a.44.44 0 0 0-.219-.048a.7.7 0 0 1 .043.35a.43.43 0 0 1-.409.387a1.3 1.3 0 0 1-.342-.036c.04.089.108.167.147.256a1.8 1.8 0 0 0 .439-.073a3 3 0 0 1 .345-.2a2 2 0 0 1 .395-.067c-.113.1-.188.2-.3.295l.25.728c.177.111.344.169.566.306a7 7 0 0 0 .781.515a3 3 0 0 0 .767.263c.3.057.545.3.844.343a6.4 6.4 0 0 0 1.087.025c.261-.025.6-.16.631-.447a.6.6 0 0 1-.723-.407c-.075-.183-.038-.52-.153-.737s-.274-.286-.466-.552a8.4 8.4 0 0 1-.679-1.045c-.175-.357-.217-.762-.365-1.082a5.3 5.3 0 0 0-.546-.826a2.9 2.9 0 0 0-1.308-1.18a6.4 6.4 0 0 0-.963-.249c-.131.059-.31.124-.342.276a.62.62 0 0 0 .14.493a2.1 2.1 0 0 1 .568.7a2.8 2.8 0 0 1 .03 1.029a1.15 1.15 0 0 1-.328.42Zm-1.451.173a2.5 2.5 0 0 1 .854-.242c.126-.008.321.012.448.017a1.7 1.7 0 0 0 .3-.466a2.5 2.5 0 0 0-.043-.826c-.172-.423-.34-.441-.577-.683a1.35 1.35 0 0 1-.231-.743c-.019-.11-.073-.249-.1-.363a4.6 4.6 0 0 0-1-.052a1.1 1.1 0 0 0 .39-.567a1.12 1.12 0 0 0-.132-.78a3 3 0 0 0-.576-.6c-.208-.182-.506-.332-.7-.482a6 6 0 0 1 .768-.275a2.5 2.5 0 0 1 1.842.448a4.6 4.6 0 0 1 1.053.833c.384.4.859 1.137 1.23 1.574a8 8 0 0 0 .997 1.043a5 5 0 0 0 .925.5l.481.51l.389-.481l.625.071l.129-.7l.574-.157l-.093-.947l.413-.293l-.31-.589l.315-.644l-.411-.736l.159-.708l-.476-.405l-.062-.753l-.664-.253l-.266-.655l-.75-.01l-.366-.486l-.5.035l-.56-.061l-.316-.234l-.46.3l-.557-.29l-1.106.42l.721-.627l.747-.119l.569-.138l.773.254l.68-.172l.656.388l.694-.038l.341.612l.691.079l.374.68l.435.237l.115.871l.387.367l-.17.762l.456.577l-.428.619l.457.387l-.585.518l.592.616l-.715.23l.466.661l-.584.1l.383.727l-.658-.009l.331.545l-.722-.087l.173.783l-.546-.48l-.187.949l-.377-.682l-.2.85l-.465-.627l.012.891l-.514-.8a3.6 3.6 0 0 0 .385 1.382a3.52 3.52 0 0 0 2.24-1.041a7.2 7.2 0 0 0 1.627-2.739a9.3 9.3 0 0 0 .011-3.618a5.45 5.45 0 0 0-1.045-2.109A8 8 0 0 0 26.9 3.405a6.2 6.2 0 0 0-3.2-.694a3.8 3.8 0 0 0-1.338.25c-.617.224-1.11.714-1.737.955a.6.6 0 0 1-.53 0a.99.99 0 0 0 .723.572a5.5 5.5 0 0 0 1.431-.013a9 9 0 0 1 1.451-.19a3.1 3.1 0 0 1 1.484.428a3.66 3.66 0 0 1 1.4 1.318a4 4 0 0 1 .448 1.079a5 5 0 0 1 .151 1.174a3.6 3.6 0 0 1-.112 1.035c-.212.781-.68 1.576-1.641 1.454c-.588-.075-1.475-1.18-1.772-1.585a15.7 15.7 0 0 0-1.969-2.4a3.03 3.03 0 0 0-1.705-.757a2.58 2.58 0 0 0-2.384.829a5 5 0 0 1 .532.17a4 4 0 0 1 1.094.718a1.19 1.19 0 0 1 .5.968c.008.3-.239.541-.465.758c-.139.133-.322.254-.434.357c-.149.137-.333.286-.147.5a2 2 0 0 0 .3.22c.163.121.089.572-.127.691a.71.71 0 0 1-.832-.069c.287-.043.469-.081.461-.315c0-.136-.177-.249-.347-.326a5 5 0 0 1-1.125-.452c-.411-.3-.42-.458-.531-.922a2.6 2.6 0 0 0-.646.113c-.265.087-.558.3-.8.348a1.7 1.7 0 0 1-1.058.006a4.24 4.24 0 0 0-2.1.349a6 6 0 0 0-.975.121a6.4 6.4 0 0 0-1.7.995a9.1 9.1 0 0 0-1.98 4.059c-.051.57.112.955-.248 1.233s-.349.992-.471 1.193s-.263.111-.525.392s-.4.234-.389.766a1.84 1.84 0 0 1 .845-.332c.256-.009.259.328.916-.322c.352-.348 1.027-.358 1.5-.512A4.73 4.73 0 0 0 11 16.152a5.6 5.6 0 0 0 1.415-3.381a4 4 0 0 1-.038 1.247a3.47 3.47 0 0 0 .151 2.442l.309.59a5.2 5.2 0 0 1-.652-.953l-.25-.674a5.1 5.1 0 0 1-1.463 1.662a2.9 2.9 0 0 0 .089 1.169c.128.373-.076.8.021 1.049s.321.106.394.355s-.038.741.075.983s.392.1.527.174a.8.8 0 0 1 .251.289c.073.1-.028.346.119.425s.376.012.529.088a.36.36 0 0 1 .139.422c-.036.163-.2.238-.272.4a.43.43 0 0 0 .023.434a.9.9 0 0 0 .466.314c.19.077.457.034.653.14a1.5 1.5 0 0 1 .476.473a.64.64 0 0 1 .127.425a1.2 1.2 0 0 1-.157.505c-.087.157-.278.347.021.647s.287.17.458.364c-.019-.336-.157-.609-.056-.862s.406-.3.566-.411a2.6 2.6 0 0 0 .379-.4a5 5 0 0 1 0 .491c-.041.266-.119.5.277.544a1.3 1.3 0 0 0 .535-.166c-.1.176-.269.318-.3.528a.92.92 0 0 0 .151.651a2.1 2.1 0 0 0 .582.487a2.2 2.2 0 0 0 .425.2c.007.207-.034.427-.01.621a1.13 1.13 0 0 0 .2.529a1.7 1.7 0 0 0 .465.373c-.094-.218-.283-.424-.281-.653a.73.73 0 0 1 .294-.594c.223-.2.746-.38.992-.577a1.2 1.2 0 0 0 .414-.51a2.2 2.2 0 0 0 .08-.673a2 2 0 0 1 .119.569a2 2 0 0 1-.221.794a1.22 1.22 0 0 0 .6-.612c.065.039.032.145.056.349c.109-.108.232-.191.341-.293a.95.95 0 0 0 .284-.334a.77.77 0 0 0-.008-.459a3 3 0 0 0-.324-.538c-.1-.181.017-.358.01-.576a1.7 1.7 0 0 0-.6-.1c-.229.033-.491.29-.725.293s-.365-.216-.557-.277a3.4 3.4 0 0 0-.579-.08a5.4 5.4 0 0 1 1.84-.451a12 12 0 0 1 1.715-.155a4.4 4.4 0 0 0 .769.03c.179-.051.141-.174.194-.307a1.73 1.73 0 0 0-.006-1.079A8.4 8.4 0 0 0 20.46 22c-.511.039-1.117.282-1.644.3a3.2 3.2 0 0 1-1.53-.328a3.6 3.6 0 0 1-.986-1.125c-.215-.329-.486-.975-.651-1.27a1.6 1.6 0 0 0-.339-.5a1.5 1.5 0 0 0-.488-.2c.188.019.392-.04.563.058c.256.147.543.756.7 1.021c.169-.566.129-.788.618-1.107a2.15 2.15 0 0 0-.5 1.295c.327.537.782 1.393 1.378 1.63a4 4 0 0 0 .817.168a5.9 5.9 0 0 0 2.132-.315a5.6 5.6 0 0 1 1.678-.04c.215.012.72-.117.825-.333a.38.38 0 0 0-.033-.386c-.081-.126-.3-.186-.414-.3a3 3 0 0 1-.274-.368a7.5 7.5 0 0 1-1.238.138c.257-.106.5-.167.771-.271a4.6 4.6 0 0 0 .787-.419a2.5 2.5 0 0 0 .51-.391a3 3 0 0 0 .471-.539a1.4 1.4 0 0 0 .139-.681a2 2 0 0 0-.1-.805a.63.63 0 0 0-.433-.311c-.15-.048-.252.073-.408.09s-.3.115-.527.008a2 2 0 0 1-.72-.642c-.228-.32-.39-.844-.623-1.247a21 21 0 0 0-1.376-1.986a4 4 0 0 1-.118-.593a2.9 2.9 0 0 1 .076-1.13a.99.99 0 0 1 .512-.69a.56.56 0 0 1 .371-.026a.25.25 0 0 1 .167.294c-.045.15-.15.155-.221.231a.8.8 0 0 0-.213.384a1.8 1.8 0 0 1 .412.016a.48.48 0 0 1 .339.326a.61.61 0 0 0-.456-.22a2 2 0 0 0-.316.048a2.3 2.3 0 0 1-.118.383c-.056.1-.163.075-.2.191a1.1 1.1 0 0 0-.022.455Zm.546.2c-.208.013-.258-.014-.424.1l.271.422a.65.65 0 0 1 .153-.525Zm-7.072-1.86a.8.8 0 0 1 .036-.194c-.3-.081-.423.115-.6.479c-.066.136 0 .217-.072.306s-.185.077-.3.163s-.23.251-.338.34a3.8 3.8 0 0 1-.777.418a2.5 2.5 0 0 0 .625-.513c.058-.1.05-.287.14-.377s.123-.152.24-.174s.07-.159.108-.266a1.2 1.2 0 0 1 .193-.293a.85.85 0 0 1 .339-.329c.158-.059.405 0 .525-.029s.051-.121.138-.173s.257-.029.373-.085a1.14 1.14 0 0 0 .429-.442A2.26 2.26 0 0 1 14.187 11a1.48 1.48 0 0 1-.749.89a2.4 2.4 0 0 1-.426.16c.073-.1.177-.143.219-.3a4 4 0 0 0 .02-.6Zm1.931 1.493c.157-.014.351.028.5.02a3 3 0 0 0 .377-.07c-.023-.221 0-.627-.205-.774a1.8 1.8 0 0 0-.817.008a8 8 0 0 0-1.017.385a3.2 3.2 0 0 1 .923-.514a2.4 2.4 0 0 1 .948-.09c.1.028.123.07.185.156a1.8 1.8 0 0 1 .268.9a3 3 0 0 1 .157.229a1.1 1.1 0 0 1 .081.338c-.056-.081-.022-.183-.177-.243a1.5 1.5 0 0 0-.6.018a.508.508 0 0 1-.231.934a.54.54 0 0 1-.641-.333a1 1 0 0 1-.021-.4a.8.8 0 0 0-.688.259a1.3 1.3 0 0 0 .523.508a1.7 1.7 0 0 0 .5.186a2.5 2.5 0 0 0 .676.032a.73.73 0 0 0 .444-.216a1.04 1.04 0 0 0 .212-.47a1.4 1.4 0 0 1-.083.431a.79.79 0 0 1-.778.412a2.9 2.9 0 0 1-1.019-.2a1.54 1.54 0 0 1-.73-.624a1.8 1.8 0 0 1-.02-.557c.332-.22.413-.166.806-.231c.164-.027.277-.088.433-.1Zm.9-2.187a1.5 1.5 0 0 0 .524.212c.147 0 .185-.1.272-.154a6.6 6.6 0 0 0 .523 1.333c.1.169.159.09.232.26s.107.514.176.73a6 6 0 0 0 .242.564a8 8 0 0 1-.583-.9c-.114-.241-.041-.262-.133-.492s-.279-.588-.418-.882a.8.8 0 0 1-.3.008c-.076-.023-.061-.1-.129-.156s-.184-.032-.28-.115a.6.6 0 0 1-.127-.405Zm-1.964 7.762c.138-.112.511-.023.789 0l-.6.154c-.019.068-.01.147-.056.2s-.132.079-.2.119c.007-.179-.072-.363.066-.475Zm2.574-3.737a2.6 2.6 0 0 0 .205-.6c-.027.252.024.529-.1.712s-.339.151-.518.2c.139-.106.3-.153.411-.312Zm-.252 2.8a1 1 0 0 1 .5-.9a2.1 2.1 0 0 1 .706-.253a2.75 2.75 0 0 1 1.186.155a7 7 0 0 1 .7.459c.239.141.409.236.637.395c.35.243.554.512.8.673a1.8 1.8 0 0 0 .435.113a.73.73 0 0 1-.407.033a1.8 1.8 0 0 1-.513-.306a3.5 3.5 0 0 0-.579-.42c-.145-.084-.383-.183-.542-.287s-.435-.331-.587-.407a1.9 1.9 0 0 0-.759-.146a1.6 1.6 0 0 0-.959.267a.65.65 0 0 0-.264.66a3 3 0 0 1 .23-.3a.72.72 0 0 1 .607-.131a.53.53 0 0 1 .459.415a1 1 0 0 0-.238-.159a.57.57 0 0 0-.51.05c-.21.112-.153.278-.183.463a2 2 0 0 1-.069.231a.45.45 0 0 1-.211-.113a1.5 1.5 0 0 0 .008.259a3 3 0 0 0 .1.319a1.9 1.9 0 0 1-.39-.47a1.24 1.24 0 0 1-.148-.6Zm1.889.318a1 1 0 0 1 .439.114a1.7 1.7 0 0 1 .314.223a1.86 1.86 0 0 1 .5.877a5 5 0 0 1 .077.745a5 5 0 0 0-.225-.687a1.68 1.68 0 0 0-.783-.8a.42.42 0 0 0-.252-.032c.028.047.075.086.077.155a.27.27 0 0 1-.13.259a.49.49 0 0 1-.541-.1a.48.48 0 0 1-.12-.535c.091-.224.439-.224.644-.216Zm-10.406.644a.73.73 0 0 0-.6.4a.55.55 0 0 1-.6.233a.92.92 0 0 0-.869.08c-.306.218-.637.053-.579-.344a1.23 1.23 0 0 1 .583-.971c.832-.479.254-.812.71-1.293s.356-.629.342-1.283a4.65 4.65 0 0 1-3.4-1.9A6 6 0 0 1 2.036 9.4a6.36 6.36 0 0 1 .649-3.8a5.3 5.3 0 0 1 2.569-2.522a7 7 0 0 1 3.489-.769a4.96 4.96 0 0 1 2.443.452a5.2 5.2 0 0 0 1.545.8a1.22 1.22 0 0 0 .782-.226c.047 1.189-1.023 1.292-1.981 1.317s-1.546-.371-2.427-.223A4.2 4.2 0 0 0 6.078 6.2a3.78 3.78 0 0 0-.669 2.683a1.95 1.95 0 0 0 1.44 1.8c.5.008.61-.136 1.047-.421s2.665-3.041 3.426-3.662a3.52 3.52 0 0 1 2.321-.821a3.24 3.24 0 0 1 1.671.285A12 12 0 0 1 16.9 7.128a9 9 0 0 0 .684-.576a2.87 2.87 0 0 1 2.393-.718a3.64 3.64 0 0 1 1.819.8a14.3 14.3 0 0 1 2.014 2.425a3.6 3.6 0 0 0 1.621 1.489c.771.237 1.351-.762 1.437-1.316a6 6 0 0 0 .112-.932a4.4 4.4 0 0 0-.134-1.125a4 4 0 0 0-.455-1.016a3.6 3.6 0 0 0-1.3-1.25a4.1 4.1 0 0 0-1.391-.424a14 14 0 0 0-1.4.2c-.584.04-1.627.171-2.085-.28a1.18 1.18 0 0 1-.378-.854a.9.9 0 0 0 .469.189c.366.031.708-.268 1-.441a7 7 0 0 1 .907-.526a5.86 5.86 0 0 1 2.7-.233a6.3 6.3 0 0 1 2.2.725a6 6 0 0 1 1.634 1.48a5 5 0 0 1 1.037 2.15a9 9 0 0 1 .017 3.847a7.6 7.6 0 0 1-1.713 2.819a4.4 4.4 0 0 1-2.317 1.112c.034.177.04.342.085.487c.065.206.188.436.442.364a.236.236 0 0 1 .289.062c.133.117.063.567-.312.769a1.44 1.44 0 0 1-.695.131a6.5 6.5 0 0 1-1.11-.051c-.33-.058-.528-.319-.894-.361a3.6 3.6 0 0 1-1.452-.764a3 3 0 0 0-.362-.185c.059.18.137.368.177.541s.022.334.043.473s.059.246.081.359c.091.081.12.2.272.243a1.7 1.7 0 0 0 .546-.043c.156-.021.261-.105.383-.083a.85.85 0 0 1 .341.193c.1.082.19.094.274.3a3.4 3.4 0 0 1 .17.9a1.9 1.9 0 0 1-.1.755a1.25 1.25 0 0 1-.381.541a6 6 0 0 1-.957.769a1.7 1.7 0 0 0 .2.3c.1.108.324.229.421.343a.47.47 0 0 1 .148.324a.7.7 0 0 1-.109.434a1.9 1.9 0 0 1-.937.573a2.5 2.5 0 0 1 .023 1.06c-.037.159-.119.519-.315.612a3.8 3.8 0 0 1-.814.086c-.239.038-.373.074-.56.111a3.3 3.3 0 0 0-.34.491a.4.4 0 0 0 .008.35c.049.15.215.369.261.544a1.1 1.1 0 0 1 .012.541a.95.95 0 0 1-.269.461c-.15.157-.446.279-.593.406s-.294.142-.254.352a1.55 1.55 0 0 0 .781.867a.93.93 0 0 0 .65-.047c-.015.246-.228.412-.367.575a2.2 2.2 0 0 0 1-.587a2.5 2.5 0 0 1-.752.954a3 3 0 0 1-.6.4a2.6 2.6 0 0 0 .991 0a2 2 0 0 1-.748.242a2.2 2.2 0 0 1-.85-.063a5.7 5.7 0 0 1-.951-.541a.8.8 0 0 0 .216.442a3 3 0 0 0 .639.334a10 10 0 0 1-.963-.116a2.3 2.3 0 0 1-.555-.189a4 4 0 0 1-.449-.309a1.3 1.3 0 0 0 .215.411a2 2 0 0 0 .481.233a2 2 0 0 1-.5-.011a1.4 1.4 0 0 1-.517-.245a3.7 3.7 0 0 1-.521-.464a2.2 2.2 0 0 1-.4-.538c-.058-.154.035-.262.052-.393a1.2 1.2 0 0 0-.319.209a.4.4 0 0 0-.118.371a2.5 2.5 0 0 0 .315.589c-.344-.281-.536-.39-.618-.729a1.14 1.14 0 0 1 .272-.846c.075-.119.187-.23.256-.345a5 5 0 0 1-.466-.456c-.133-.174-.189-.408-.325-.574a3.4 3.4 0 0 0-.478-.406a6 6 0 0 1 .42.9a.6.6 0 0 1-.139.5c-.083.126-.216.154-.342.231s-.324.016-.4.131a.39.39 0 0 0-.023.4l.3.466a1.4 1.4 0 0 1-.381-.328c-.085-.113-.214-.218-.232-.371a.54.54 0 0 1 .073-.423c.1-.136.371-.182.493-.287s.19-.173.183-.309s-.139-.233-.253-.318a8.3 8.3 0 0 1-1.088-.815a1.1 1.1 0 0 1-.28-.443a.46.46 0 0 1 .085-.368c.083-.151.367-.352.4-.515s-.109-.2-.238-.257s-.375.029-.5-.071s.035-.311-.1-.427s-.445-.051-.6-.176a.84.84 0 0 1-.281-.46a.97.97 0 0 1-.024-.509c.037-.131.149-.153.217-.221s.127-.124.036-.226s-.386.006-.556-.124s-.066-.44-.186-.571s-.336-.08-.449-.122s-.158.106-.228-.127s-.072-.929-.165-1.189s-.278-.017-.364-.276a7 7 0 0 1-.043-1.061l-.175-1.061a3.74 3.74 0 0 1-1.666.654a10.8 10.8 0 0 0 .338 4.321c.543 1.777 1.643 2.824 3.128 4.328a9.1 9.1 0 0 1-3.478-4.188a9.8 9.8 0 0 1-.414-4.277"/>'},TG={width:32,height:32,body:'<path fill="none" stroke="#755838" d="M2.5 7.955h27v16.091h-27z"/><path fill="#755838" d="M5.909 20.636v-9.272h2.727l2.728 3.409l2.727-3.409h2.727v9.272h-2.727v-5.318l-2.727 3.409l-2.728-3.409v5.318zm17.046 0l-4.091-4.5h2.727v-4.772h2.727v4.772h2.727z"/>'},zG={width:32,height:32,body:'<path fill="#c12127" d="M2 2h28v28H2"/><path fill="#fff" d="M7.25 7.25h17.5v17.5h-3.5v-14H16v14H7.25"/>'},RG={width:32,height:32,body:'<path fill="#909090" d="m24.1 2.072l5.564 5.8v22.056H8.879V30h20.856V7.945z"/><path fill="#f4f4f4" d="M24.031 2H8.808v27.928h20.856V7.873z"/><path fill="#7a7b7c" d="M8.655 3.5h-6.39v6.827h20.1V3.5z"/><path fill="#dd2025" d="M22.472 10.211H2.395V3.379h20.077z"/><path fill="#464648" d="M9.052 4.534H7.745v4.8h1.028V7.715L9 7.728a2 2 0 0 0 .647-.117a1.4 1.4 0 0 0 .493-.291a1.2 1.2 0 0 0 .335-.454a2.1 2.1 0 0 0 .105-.908a2.2 2.2 0 0 0-.114-.644a1.17 1.17 0 0 0-.687-.65a2 2 0 0 0-.409-.104a2 2 0 0 0-.319-.026m-.189 2.294h-.089v-1.48h.193a.57.57 0 0 1 .459.181a.92.92 0 0 1 .183.558c0 .246 0 .469-.222.626a.94.94 0 0 1-.524.114m3.671-2.306c-.111 0-.219.008-.295.011L12 4.538h-.78v4.8h.918a2.7 2.7 0 0 0 1.028-.175a1.7 1.7 0 0 0 .68-.491a1.9 1.9 0 0 0 .373-.749a3.7 3.7 0 0 0 .114-.949a4.4 4.4 0 0 0-.087-1.127a1.8 1.8 0 0 0-.4-.733a1.6 1.6 0 0 0-.535-.4a2.4 2.4 0 0 0-.549-.178a1.3 1.3 0 0 0-.228-.017m-.182 3.937h-.1V5.392h.013a1.06 1.06 0 0 1 .6.107a1.2 1.2 0 0 1 .324.4a1.3 1.3 0 0 1 .142.526c.009.22 0 .4 0 .549a3 3 0 0 1-.033.513a1.8 1.8 0 0 1-.169.5a1.1 1.1 0 0 1-.363.36a.67.67 0 0 1-.416.106m5.08-3.915H15v4.8h1.028V7.434h1.3v-.892h-1.3V5.43h1.4v-.892"/><path fill="#dd2025" d="M21.781 20.255s3.188-.578 3.188.511s-1.975.646-3.188-.511m-2.357.083a7.5 7.5 0 0 0-1.473.489l.4-.9c.4-.9.815-2.127.815-2.127a14 14 0 0 0 1.658 2.252a13 13 0 0 0-1.4.288Zm-1.262-6.5c0-.949.307-1.208.546-1.208s.508.115.517.939a10.8 10.8 0 0 1-.517 2.434a4.4 4.4 0 0 1-.547-2.162Zm-4.649 10.516c-.978-.585 2.051-2.386 2.6-2.444c-.003.001-1.576 3.056-2.6 2.444M25.9 20.895c-.01-.1-.1-1.207-2.07-1.16a14 14 0 0 0-2.453.173a12.5 12.5 0 0 1-2.012-2.655a11.8 11.8 0 0 0 .623-3.1c-.029-1.2-.316-1.888-1.236-1.878s-1.054.815-.933 2.013a9.3 9.3 0 0 0 .665 2.338s-.425 1.323-.987 2.639s-.946 2.006-.946 2.006a9.6 9.6 0 0 0-2.725 1.4c-.824.767-1.159 1.356-.725 1.945c.374.508 1.683.623 2.853-.91a23 23 0 0 0 1.7-2.492s1.784-.489 2.339-.623s1.226-.24 1.226-.24s1.629 1.639 3.2 1.581s1.495-.939 1.485-1.035"/><path fill="#909090" d="M23.954 2.077V7.95h5.633z"/><path fill="#f4f4f4" d="M24.031 2v5.873h5.633z"/><path fill="#fff" d="M8.975 4.457H7.668v4.8H8.7V7.639l.228.013a2 2 0 0 0 .647-.117a1.4 1.4 0 0 0 .493-.291a1.2 1.2 0 0 0 .332-.454a2.1 2.1 0 0 0 .105-.908a2.2 2.2 0 0 0-.114-.644a1.17 1.17 0 0 0-.687-.65a2 2 0 0 0-.411-.105a2 2 0 0 0-.319-.026m-.189 2.294h-.089v-1.48h.194a.57.57 0 0 1 .459.181a.92.92 0 0 1 .183.558c0 .246 0 .469-.222.626a.94.94 0 0 1-.524.114m3.67-2.306c-.111 0-.219.008-.295.011l-.235.006h-.78v4.8h.918a2.7 2.7 0 0 0 1.028-.175a1.7 1.7 0 0 0 .68-.491a1.9 1.9 0 0 0 .373-.749a3.7 3.7 0 0 0 .114-.949a4.4 4.4 0 0 0-.087-1.127a1.8 1.8 0 0 0-.4-.733a1.6 1.6 0 0 0-.535-.4a2.4 2.4 0 0 0-.549-.178a1.3 1.3 0 0 0-.228-.017m-.182 3.937h-.1V5.315h.013a1.06 1.06 0 0 1 .6.107a1.2 1.2 0 0 1 .324.4a1.3 1.3 0 0 1 .142.526c.009.22 0 .4 0 .549a3 3 0 0 1-.033.513a1.8 1.8 0 0 1-.169.5a1.1 1.1 0 0 1-.363.36a.67.67 0 0 1-.416.106m5.077-3.915h-2.43v4.8h1.028V7.357h1.3v-.892h-1.3V5.353h1.4v-.892"/>'},OG={width:32,height:32,body:'<defs><radialGradient id="SVGQRCVdbYF" cx="-16.114" cy="20.532" r="18.384" gradientTransform="translate(26.52 -9.307)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".5" stop-color="#4c6b96"/><stop offset="1" stop-color="#231f20"/></radialGradient></defs><ellipse cx="16" cy="16" fill="url(#SVGQRCVdbYF)" rx="14" ry="7.365"/><ellipse cx="16" cy="16" fill="#6280b6" rx="13.453" ry="6.818"/><path fill="#fff" d="m18.725 18.2l.667-3.434a1.75 1.75 0 0 0-.372-1.719a2.93 2.93 0 0 0-2-.525h-1.153l.331-1.7a.22.22 0 0 0-.215-.26h-1.6a.22.22 0 0 0-.215.177l-.709 3.646a2.05 2.05 0 0 0-.477-1.054a2.78 2.78 0 0 0-2.2-.807H7.7a.22.22 0 0 0-.215.177l-1.434 7.38a.22.22 0 0 0 .215.26h1.603a.22.22 0 0 0 .215-.177l.347-1.785h1.2a5.2 5.2 0 0 0 1.568-.2a3.1 3.1 0 0 0 1.15-.689a3.5 3.5 0 0 0 .68-.844l-.287 1.475a.22.22 0 0 0 .215.26h1.6a.22.22 0 0 0 .215-.177l.787-4.051h1.094c.466 0 .6.093.64.133s.1.165.025.569l-.635 3.265a.22.22 0 0 0 .215.26h1.62a.22.22 0 0 0 .207-.18m-7.395-2.834a1.75 1.75 0 0 1-.561 1.092a2.17 2.17 0 0 1-1.315.321h-.712l.515-2.651h.921c.677 0 .949.145 1.059.266a1.18 1.18 0 0 1 .093.972m14.216-2.034a2.78 2.78 0 0 0-2.2-.807h-3.091a.22.22 0 0 0-.215.177l-1.434 7.38a.22.22 0 0 0 .215.26h1.608a.22.22 0 0 0 .215-.177l.347-1.785h1.2a5.2 5.2 0 0 0 1.568-.2a3.1 3.1 0 0 0 1.15-.689a3.43 3.43 0 0 0 1.076-1.927a2.51 2.51 0 0 0-.439-2.232m-1.667 2.034a1.75 1.75 0 0 1-.561 1.092a2.17 2.17 0 0 1-1.318.32h-.71l.515-2.651h.921c.677 0 .949.145 1.059.266a1.18 1.18 0 0 1 .094.973"/><path fill="#000004" d="M10.178 13.908a1.65 1.65 0 0 1 1.221.338a1.34 1.34 0 0 1 .145 1.161a1.95 1.95 0 0 1-.642 1.223a2.36 2.36 0 0 1-1.448.37h-.978l.6-3.089Zm-3.917 6.216h1.608l.381-1.962h1.377a5 5 0 0 0 1.5-.191a2.84 2.84 0 0 0 1.07-.642a3.2 3.2 0 0 0 1.01-1.808a2.3 2.3 0 0 0-.385-2.044a2.57 2.57 0 0 0-2.035-.732H7.7Zm8.126-9.342h1.6l-.387 1.962h1.421a2.77 2.77 0 0 1 1.85.468a1.55 1.55 0 0 1 .305 1.516l-.667 3.434H16.89l.635-3.265a.89.89 0 0 0-.08-.76a1.12 1.12 0 0 0-.8-.2H15.37l-.822 4.228h-1.6Zm8.34 3.126a1.65 1.65 0 0 1 1.221.338a1.34 1.34 0 0 1 .145 1.161a1.95 1.95 0 0 1-.642 1.223A2.36 2.36 0 0 1 22 17h-.978l.6-3.089Zm-3.917 6.216h1.608l.381-1.962h1.377a5 5 0 0 0 1.5-.191a2.84 2.84 0 0 0 1.07-.642a3.2 3.2 0 0 0 1.01-1.808a2.3 2.3 0 0 0-.385-2.044a2.57 2.57 0 0 0-2.035-.732h-3.092Z"/>'},LG={width:32,height:32,body:'<path fill="#f9ad00" d="M30 10.75h-8.749V2H30Zm-9.626 0h-8.75V2h8.75Zm-9.625 0H2V2h8.749ZM30 20.375h-8.749v-8.75H30Z"/><path fill="#fff" d="M20.374 20.375h-8.75v-8.75h8.75Zm0 9.625h-8.75v-8.75h8.75ZM30 30h-8.749v-8.75H30Zm-19.251 0H2v-8.75h8.749Z"/>'},PG={width:32,height:32,body:'<defs><linearGradient id="SVGaVba93Vn" x1="23.325" x2="7.26" y1="-118.543" y2="-104.193" gradientTransform="matrix(1 0 0 -1 0 -96)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5391fe"/><stop offset="1" stop-color="#3e6dbf"/></linearGradient><linearGradient id="SVG7XRbSdmK" x1="7.1" x2="23.001" y1="-104.002" y2="-118.292" href="#SVGaVba93Vn"/></defs><path fill="url(#SVGaVba93Vn)" fill-rule="evenodd" d="M3.174 26.589a1.15 1.15 0 0 1-.928-.423a1.23 1.23 0 0 1-.21-1.052L6.233 6.78a1.8 1.8 0 0 1 1.681-1.37h20.912a1.16 1.16 0 0 1 .928.423a1.24 1.24 0 0 1 .21 1.052l-4.2 18.335a1.8 1.8 0 0 1-1.681 1.37H3.174Z"/><path fill="url(#SVG7XRbSdmK)" fill-rule="evenodd" d="M7.914 5.646h20.912a.913.913 0 0 1 .908 1.187l-4.2 18.334a1.575 1.575 0 0 1-1.451 1.187H3.174a.913.913 0 0 1-.908-1.187l4.2-18.334a1.57 1.57 0 0 1 1.448-1.187"/><path fill="#2c5591" fill-rule="evenodd" d="M16.04 21.544h5.086a1.118 1.118 0 0 1 0 2.234H16.04a1.118 1.118 0 0 1 0-2.234m3.299-4.966a1.76 1.76 0 0 1-.591.6l-9.439 6.775a1.224 1.224 0 0 1-1.438-1.977l8.512-6.164v-.126L11.035 10a1.224 1.224 0 0 1 1.782-1.672l6.418 6.827a1.166 1.166 0 0 1 .104 1.423"/><path fill="#fff" fill-rule="evenodd" d="M19.1 16.342a1.75 1.75 0 0 1-.59.6l-9.436 6.776a1.225 1.225 0 0 1-1.439-1.977l8.513-6.164v-.127L10.8 9.761a1.224 1.224 0 0 1 1.783-1.672L19 14.916a1.16 1.16 0 0 1 .1 1.426m-3.2 5.07h5.086a1.059 1.059 0 1 1 0 2.118H15.9a1.059 1.059 0 1 1 0-2.118"/>'},GG={width:32,height:32,body:'<g stroke-linecap="round" stroke-width="1.33"><path stroke="#56b3b4" d="M2.45 2.45h16.3M2.45 7.87h9.48m10.8 0h1.35m-16.3 2.71h1.35M13.19 16h10.8m-21.7 2.71h5.42m-5.42 8.13H5"/><path stroke="#ea5e5e" d="M2.45 5.16h4.06m12.2 5.42h6.77M2.48 16h1.35m6.77 2.71h5.42m-13.5 10.8h6.77"/><path stroke="#f7b93e" d="M9.23 5.16h13.5m-20.3 5.42h2.71m13.5 2.71h6.77M6.41 16h4.06m-4.06 5.42h12.2m-10.8 5.42h1.35"/><path stroke="#bf85bf" d="M14.6 7.87h5.42m-17.6 5.42h6.77m9.48 5.42h4.06m-20.3 2.71h1.35m-1.35 2.71H9.2"/><path stroke="#4d616e" d="M21.4 2.45h8.13m-4.06 2.71h4.06m-2.71 2.71h2.71m-17.6 2.71h4.06m12.2 0h1.35m-17.6 2.71H16m12.2 0h1.35M26.84 16h2.71m-4.06 2.71h4.06m-8.13 2.71h2.71m2.71 0h2.71m-17.6 2.71h2.71m2.71 0h12.2m-17.6 2.71h5.42m2.71 0h1.35m2.71 0h5.42m-17.6 2.71h8.13m2.71 0h6.77" opacity=".5"/></g>'},HG={width:32,height:32,body:'<path fill="#d2d2d2" fill-rule="evenodd" d="m25.21 24.21l-12.471 3.718a.525.525 0 0 1-.667-.606l4.456-21.511a.43.43 0 0 1 .809-.094l8.249 17.661a.6.6 0 0 1-.376.832m2.139-.878L17.8 2.883A1.53 1.53 0 0 0 16.491 2a1.51 1.51 0 0 0-1.4.729L4.736 19.648a1.59 1.59 0 0 0 .018 1.7l5.064 7.909a1.63 1.63 0 0 0 1.83.678l14.7-4.383a1.6 1.6 0 0 0 1-2.218Z"/>'},VG={width:32,height:32,body:'<path fill="#d44235" d="m5.218 11.768l2.429-3.312h6.623l-5.74 7.728H5.218z"/><path fill="#f7bb07" d="M23.175 15.816h3.46v4.49l-2.503 3.237h-6.476z"/><path fill="#4081ec" d="M2.348 16.037c0-.399.007-.402 2.87-4.269l9.052 11.775H7.794c-5.443-7.047-5.446-7.056-5.446-7.506"/><path fill="#0f9855" d="M17.656 8.456h6.402c5.358 7 5.59 7.26 5.594 7.58c.003.322-.047.469-3.018 4.27z"/>'},IG={width:32,height:32,body:'<defs><linearGradient id="SVGg4rxgcri" x1="-133.268" x2="-133.198" y1="-202.91" y2="-202.84" gradientTransform="matrix(189.38 0 0 189.81 25243.061 38519.17)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#387eb8"/><stop offset="1" stop-color="#366994"/></linearGradient><linearGradient id="SVG5ouQmWbV" x1="-133.575" x2="-133.495" y1="-203.203" y2="-203.133" gradientTransform="matrix(189.38 0 0 189.81 25309.061 38583.42)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffe052"/><stop offset="1" stop-color="#ffc331"/></linearGradient></defs><path fill="url(#SVGg4rxgcri)" d="M15.885 2.1c-7.1 0-6.651 3.07-6.651 3.07v3.19h6.752v1H6.545S2 8.8 2 16.005s4.013 6.912 4.013 6.912H8.33v-3.361s-.13-4.013 3.9-4.013h6.762s3.772.06 3.772-3.652V5.8s.572-3.712-6.842-3.712Zm-3.732 2.137a1.214 1.214 0 1 1-1.183 1.244v-.02a1.214 1.214 0 0 1 1.214-1.214Z"/><path fill="url(#SVG5ouQmWbV)" d="M16.085 29.91c7.1 0 6.651-3.08 6.651-3.08v-3.18h-6.751v-1h9.47S30 23.158 30 15.995s-4.013-6.912-4.013-6.912H23.64V12.4s.13 4.013-3.9 4.013h-6.765S9.2 16.356 9.2 20.068V26.2s-.572 3.712 6.842 3.712h.04Zm3.732-2.147A1.214 1.214 0 1 1 21 26.519v.03a1.214 1.214 0 0 1-1.214 1.214z"/>'},UG={width:32,height:32,body:'<circle cx="16" cy="15.974" r="2.5" fill="#00d8ff"/><path fill="#00d8ff" d="M16 21.706a28.4 28.4 0 0 1-8.88-1.2a11.3 11.3 0 0 1-3.657-1.958A3.54 3.54 0 0 1 2 15.974c0-1.653 1.816-3.273 4.858-4.333A28.8 28.8 0 0 1 16 10.293a28.7 28.7 0 0 1 9.022 1.324a11.4 11.4 0 0 1 3.538 1.866A3.4 3.4 0 0 1 30 15.974c0 1.718-2.03 3.459-5.3 4.541a28.8 28.8 0 0 1-8.7 1.191m0-10.217a28 28 0 0 0-8.749 1.282c-2.8.977-4.055 2.313-4.055 3.2c0 .928 1.349 2.387 4.311 3.4A27.2 27.2 0 0 0 16 20.51a27.6 27.6 0 0 0 8.325-1.13C27.4 18.361 28.8 16.9 28.8 15.974a2.33 2.33 0 0 0-1.01-1.573a10.2 10.2 0 0 0-3.161-1.654A27.5 27.5 0 0 0 16 11.489"/><path fill="#00d8ff" d="M10.32 28.443a2.64 2.64 0 0 1-1.336-.328c-1.432-.826-1.928-3.208-1.327-6.373a28.8 28.8 0 0 1 3.4-8.593a28.7 28.7 0 0 1 5.653-7.154a11.4 11.4 0 0 1 3.384-2.133a3.4 3.4 0 0 1 2.878 0c1.489.858 1.982 3.486 1.287 6.859a28.8 28.8 0 0 1-3.316 8.133a28.4 28.4 0 0 1-5.476 7.093a11.3 11.3 0 0 1-3.523 2.189a4.9 4.9 0 0 1-1.624.307m1.773-14.7a28 28 0 0 0-3.26 8.219c-.553 2.915-.022 4.668.75 5.114c.8.463 2.742.024 5.1-2.036a27.2 27.2 0 0 0 5.227-6.79a27.6 27.6 0 0 0 3.181-7.776c.654-3.175.089-5.119-.713-5.581a2.33 2.33 0 0 0-1.868.089A10.2 10.2 0 0 0 17.5 6.9a27.5 27.5 0 0 0-5.4 6.849Z"/><path fill="#00d8ff" d="M21.677 28.456c-1.355 0-3.076-.82-4.868-2.361a28.8 28.8 0 0 1-5.747-7.237a28.7 28.7 0 0 1-3.374-8.471a11.4 11.4 0 0 1-.158-4A3.4 3.4 0 0 1 8.964 3.9c1.487-.861 4.01.024 6.585 2.31a28.8 28.8 0 0 1 5.39 6.934a28.4 28.4 0 0 1 3.41 8.287a11.3 11.3 0 0 1 .137 4.146a3.54 3.54 0 0 1-1.494 2.555a2.6 2.6 0 0 1-1.315.324m-9.58-10.2a28 28 0 0 0 5.492 6.929c2.249 1.935 4.033 2.351 4.8 1.9c.8-.465 1.39-2.363.782-5.434A27.2 27.2 0 0 0 19.9 13.74a27.6 27.6 0 0 0-5.145-6.64c-2.424-2.152-4.39-2.633-5.191-2.169a2.33 2.33 0 0 0-.855 1.662a10.2 10.2 0 0 0 .153 3.565a27.5 27.5 0 0 0 3.236 8.1Z"/>'},ZG={width:32,height:32,body:'<circle cx="16" cy="15.974" r="2.5" fill="#007acc"/><path fill="#007acc" d="M16 21.706a28.4 28.4 0 0 1-8.88-1.2a11.3 11.3 0 0 1-3.657-1.958A3.54 3.54 0 0 1 2 15.974c0-1.653 1.816-3.273 4.858-4.333A28.8 28.8 0 0 1 16 10.293a28.7 28.7 0 0 1 9.022 1.324a11.4 11.4 0 0 1 3.538 1.866A3.4 3.4 0 0 1 30 15.974c0 1.718-2.03 3.459-5.3 4.541a28.8 28.8 0 0 1-8.7 1.191m0-10.217a28 28 0 0 0-8.749 1.282c-2.8.977-4.055 2.313-4.055 3.2c0 .928 1.349 2.387 4.311 3.4A27.2 27.2 0 0 0 16 20.51a27.6 27.6 0 0 0 8.325-1.13C27.4 18.361 28.8 16.9 28.8 15.974a2.33 2.33 0 0 0-1.01-1.573a10.2 10.2 0 0 0-3.161-1.654A27.5 27.5 0 0 0 16 11.489"/><path fill="#007acc" d="M10.32 28.443a2.64 2.64 0 0 1-1.336-.328c-1.432-.826-1.928-3.208-1.327-6.373a28.8 28.8 0 0 1 3.4-8.593a28.7 28.7 0 0 1 5.653-7.154a11.4 11.4 0 0 1 3.384-2.133a3.4 3.4 0 0 1 2.878 0c1.489.858 1.982 3.486 1.287 6.859a28.8 28.8 0 0 1-3.316 8.133a28.4 28.4 0 0 1-5.476 7.093a11.3 11.3 0 0 1-3.523 2.189a4.9 4.9 0 0 1-1.624.307m1.773-14.7a28 28 0 0 0-3.26 8.219c-.553 2.915-.022 4.668.75 5.114c.8.463 2.742.024 5.1-2.036a27.2 27.2 0 0 0 5.227-6.79a27.6 27.6 0 0 0 3.181-7.776c.654-3.175.089-5.119-.713-5.581a2.33 2.33 0 0 0-1.868.089A10.2 10.2 0 0 0 17.5 6.9a27.5 27.5 0 0 0-5.4 6.849Z"/><path fill="#007acc" d="M21.677 28.456c-1.355 0-3.076-.82-4.868-2.361a28.8 28.8 0 0 1-5.747-7.237a28.7 28.7 0 0 1-3.374-8.471a11.4 11.4 0 0 1-.158-4A3.4 3.4 0 0 1 8.964 3.9c1.487-.861 4.01.024 6.585 2.31a28.8 28.8 0 0 1 5.39 6.934a28.4 28.4 0 0 1 3.41 8.287a11.3 11.3 0 0 1 .137 4.146a3.54 3.54 0 0 1-1.494 2.555a2.6 2.6 0 0 1-1.315.324m-9.58-10.2a28 28 0 0 0 5.492 6.929c2.249 1.935 4.033 2.351 4.8 1.9c.8-.465 1.39-2.363.782-5.434A27.2 27.2 0 0 0 19.9 13.74a27.6 27.6 0 0 0-5.145-6.64c-2.424-2.152-4.39-2.633-5.191-2.169a2.33 2.33 0 0 0-.855 1.662a10.2 10.2 0 0 0 .153 3.565a27.5 27.5 0 0 0 3.236 8.1Z"/>'},$G={width:32,height:32,body:'<defs><linearGradient id="SVGiqgdicjk" x1="-235.957" x2="-235.986" y1="-308.579" y2="-308.527" gradientTransform="matrix(202.935 0 0 -202.78 47910.461 -62541.16)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fb7655"/><stop offset=".41" stop-color="#e42b1e"/><stop offset=".99" stop-color="#900"/><stop offset="1" stop-color="#900"/></linearGradient><linearGradient id="SVGF9aq9cWt" x1="-235.571" x2="-235.697" y1="-309.087" y2="-309.041" gradientTransform="matrix(60.308 0 0 -111.778 14236.351 -34525.395)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#871101"/><stop offset=".99" stop-color="#911209"/><stop offset="1" stop-color="#911209"/></linearGradient><linearGradient id="SVG0HSePCnb" x1="-235.896" x2="-235.937" y1="-313.362" y2="-313.129" gradientTransform="matrix(188.32 0 0 -21.986 44447.302 -6856.882)" href="#SVGF9aq9cWt"/><linearGradient id="SVGvb2glb6k" x1="-233.515" x2="-233.497" y1="-309.082" y2="-309.161" gradientTransform="matrix(65.222 0 0 -97.1 15237.802 -29991.814)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".23" stop-color="#e57252"/><stop offset=".46" stop-color="#de3b20"/><stop offset=".99" stop-color="#a60003"/><stop offset="1" stop-color="#a60003"/></linearGradient><linearGradient id="SVG6loDUcxZ" x1="-235.314" x2="-235.31" y1="-309.534" y2="-309.607" gradientTransform="matrix(105.32 0 0 -106.825 24798.925 -33053.152)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".23" stop-color="#e4714e"/><stop offset=".56" stop-color="#be1a0d"/><stop offset=".99" stop-color="#a80d00"/><stop offset="1" stop-color="#a80d00"/></linearGradient><linearGradient id="SVG6FPKXbvK" x1="-235.882" x2="-235.869" y1="-311.851" y2="-311.935" gradientTransform="matrix(94.321 0 0 -66.418 22271.499 -20707.004)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".18" stop-color="#e46342"/><stop offset=".4" stop-color="#c82410"/><stop offset=".99" stop-color="#a80d00"/><stop offset="1" stop-color="#a80d00"/></linearGradient><linearGradient id="SVGLCWrsbYP" x1="-235.412" x2="-235.333" y1="-321.074" y2="-320.958" gradientTransform="matrix(70.767 0 0 -24.301 16678.116 -7798.647)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".54" stop-color="#c81f11"/><stop offset=".99" stop-color="#bf0905"/><stop offset="1" stop-color="#bf0905"/></linearGradient><linearGradient id="SVGf5jZBbJL" x1="-223.821" x2="-223.796" y1="-310.116" y2="-310.18" gradientTransform="matrix(18.177 0 0 -72.645 4071.017 -22510.233)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".31" stop-color="#de4024"/><stop offset=".99" stop-color="#bf190b"/><stop offset="1" stop-color="#bf190b"/></linearGradient><linearGradient id="SVGQfUwFbKt" x1="-235.561" x2="-235.424" y1="-309.258" y2="-309.116" gradientTransform="matrix(158.162 0 0 -157.937 37256.313 -48819.382)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bd0012"/><stop offset=".07" stop-color="#fff"/><stop offset=".17" stop-color="#fff"/><stop offset=".27" stop-color="#c82f1c"/><stop offset=".33" stop-color="#820c01"/><stop offset=".46" stop-color="#a31601"/><stop offset=".72" stop-color="#b31301"/><stop offset=".99" stop-color="#e82609"/><stop offset="1" stop-color="#e82609"/></linearGradient><linearGradient id="SVGSsKSoh4f" x1="-235.424" x2="-235.476" y1="-309.143" y2="-309.126" gradientTransform="matrix(127.074 0 0 -97.409 29932.229 -30086.947)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8c0c01"/><stop offset=".54" stop-color="#990c00"/><stop offset=".99" stop-color="#a80d0e"/><stop offset="1" stop-color="#a80d0e"/></linearGradient><linearGradient id="SVG9U0cHUGc" x1="-235.839" x2="-235.901" y1="-309.604" y2="-309.555" gradientTransform="matrix(94.011 0 0 -105.603 22198.743 -32676.856)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7e110b"/><stop offset=".99" stop-color="#9e0c00"/><stop offset="1" stop-color="#9e0c00"/></linearGradient><linearGradient id="SVGdb3on5po" x1="-235.854" x2="-235.891" y1="-311.24" y2="-311.202" gradientTransform="matrix(79.702 0 0 -81.791 18827.397 -25447.905)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#79130d"/><stop offset=".99" stop-color="#9e120b"/><stop offset="1" stop-color="#9e120b"/></linearGradient><linearGradient id="SVGkA2IRbug" x1="-231.241" x2="-231.299" y1="-309.435" y2="-309.337" gradientTransform="matrix(40.137 0 0 -81.143 9286.998 -25078.589)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8b2114"/><stop offset=".43" stop-color="#9e100a"/><stop offset=".99" stop-color="#b3100c"/><stop offset="1" stop-color="#b3100c"/></linearGradient><linearGradient id="SVGLvLZ24gI" x1="-235.898" x2="-235.831" y1="-317.466" y2="-317.537" gradientTransform="matrix(78.099 0 0 -32.624 18447.361 -10353.553)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b31000"/><stop offset=".44" stop-color="#910f08"/><stop offset=".99" stop-color="#791c12"/><stop offset="1" stop-color="#791c12"/></linearGradient><radialGradient id="SVGfvaUndTF" cx="-235.882" cy="-312.543" r=".076" gradientTransform="matrix(93.113 0 0 -48.655 21986.073 -15193.61)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a80d00"/><stop offset=".99" stop-color="#7e0e08"/><stop offset="1" stop-color="#7e0e08"/></radialGradient><radialGradient id="SVGv1rGLeXK" cx="-235.282" cy="-309.704" r=".097" gradientTransform="matrix(97.434 0 0 -75.848 22937.057 -23467.84)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a30c00"/><stop offset=".99" stop-color="#800e08"/><stop offset="1" stop-color="#800e08"/></radialGradient></defs><path fill="url(#SVGiqgdicjk)" d="M23.693 20.469L7.707 29.961l20.7-1.4L30 7.685Z"/><path fill="url(#SVGF9aq9cWt)" d="m28.44 28.542l-1.779-12.279l-4.846 6.4Z"/><path fill="url(#SVG0HSePCnb)" d="M28.464 28.542L15.43 27.519l-7.654 2.415Z"/><path fill="url(#SVGvb2glb6k)" d="M7.794 29.937L11.05 19.27L3.885 20.8Z"/><path fill="url(#SVG6loDUcxZ)" d="m21.813 22.7l-3-11.735L10.243 19Z"/><path fill="url(#SVG6FPKXbvK)" d="m29.32 11.127l-8.1-6.619l-2.257 7.3Z"/><path fill="url(#SVGLCWrsbYP)" d="m25.53 2.148l-4.767 2.634l-3.007-2.67Z"/><path fill="url(#SVGf5jZBbJL)" d="m2 24.38l2-3.642L2.382 16.4Z"/><path fill="#fff" d="m2.274 16.263l1.626 4.61l7.062-1.584l8.062-7.489L21.3 4.569l-3.583-2.53l-6.091 2.28C9.706 6.1 5.982 9.635 5.848 9.7s-2.459 4.464-3.574 6.562Z"/><path fill="url(#SVGQfUwFbKt)" d="M7.981 7.981C12.14 3.858 17.5 1.421 19.559 3.5s-.124 7.121-4.283 11.244s-9.455 6.69-11.511 4.614s.057-7.258 4.216-11.377"/><path fill="url(#SVGSsKSoh4f)" d="m7.794 29.933l3.231-10.7l10.729 3.447c-3.879 3.638-8.194 6.713-13.96 7.254Z"/><path fill="url(#SVG9U0cHUGc)" d="m19.038 11.774l2.754 10.91c3.24-3.407 6.149-7.07 7.573-11.6z"/><path fill="url(#SVGdb3on5po)" d="M29.337 11.139c1.1-3.327 1.357-8.1-3.841-8.985l-4.265 2.355z"/><path fill="#9e1209" d="M2 24.332c.153 5.49 4.114 5.572 5.8 5.62l-3.9-9.1z"/><path fill="url(#SVGfvaUndTF)" d="M19.053 11.791c2.49 1.531 7.509 4.6 7.61 4.661a17.6 17.6 0 0 0 2.619-5.343z"/><path fill="url(#SVGv1rGLeXK)" d="m11.021 19.232l4.319 8.332a28 28 0 0 0 6.385-4.88l-10.7-3.452Z"/><path fill="url(#SVGkA2IRbug)" d="m3.887 20.861l-.612 7.287c1.155 1.577 2.743 1.714 4.409 1.591c-1.205-3-3.614-9-3.8-8.878Z"/><path fill="url(#SVGLvLZ24gI)" d="m21.206 4.528l8.58 1.2c-.458-1.94-1.864-3.192-4.261-3.584l-4.319 2.38Z"/>'},qG={width:32,height:32,body:'<defs><radialGradient id="SVGZmFlvcVj" cx="-492.035" cy="-883.37" r="13.998" gradientTransform="matrix(.866 -.5 -.3 -.52 177.106 -689.033)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7d7d7d"/><stop offset=".267" stop-color="#7e7c7a"/><stop offset=".45" stop-color="#817871"/><stop offset=".608" stop-color="#867162"/><stop offset=".753" stop-color="#8d684c"/><stop offset=".886" stop-color="#965c30"/><stop offset="1" stop-color="#a04f12"/></radialGradient></defs><path fill="url(#SVGZmFlvcVj)" d="M15.124 5.3a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832M5.2 12.834a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m19.856.039a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m-17.451 1.14a.76.76 0 0 0 .386-1l-.369-.835h1.452v6.545h-2.93a10.3 10.3 0 0 1-.332-3.911Zm6.074.161v-1.929h3.458c.179 0 1.261.206 1.261 1.016c0 .672-.83.913-1.513.913ZM8.958 24.561a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m12.331.039a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m.257-1.887a.76.76 0 0 0-.9.584l-.418 1.949a10.25 10.25 0 0 1-8.545-.041l-.417-1.949a.76.76 0 0 0-.9-.583l-1.721.37a10 10 0 0 1-.89-1.049h8.374c.095 0 .158-.017.158-.1v-2.966c0-.086-.063-.1-.158-.1h-2.45v-1.881h2.649a1.665 1.665 0 0 1 1.629 1.412c.105.413.336 1.757.494 2.187c.157.483.8 1.447 1.482 1.447h4.323a10 10 0 0 1-.949 1.1Zm4.65-7.821a10.3 10.3 0 0 1 .022 1.779h-1.051c-.105 0-.148.069-.148.172v.483c0 1.136-.641 1.384-1.2 1.447c-.535.06-1.128-.224-1.2-.551a3.62 3.62 0 0 0-1.671-2.808c1.03-.654 2.1-1.619 2.1-2.911A3.29 3.29 0 0 0 21.44 9.8a4.56 4.56 0 0 0-2.2-.724H8.367A10.25 10.25 0 0 1 14.1 5.84l1.282 1.344a.76.76 0 0 0 1.072.026l1.434-1.372a10.25 10.25 0 0 1 7.015 5l-.982 2.217a.76.76 0 0 0 .386 1Zm2.448.036l-.033-.343l1.011-.943a.42.42 0 0 0-.013-.595a.4.4 0 0 0-.121-.081l-1.288-.483l-.1-.334l.806-1.12a.42.42 0 0 0-.13-.581a.4.4 0 0 0-.133-.055l-1.363-.222l-.164-.306l.573-1.257a.42.42 0 0 0-.236-.544a.4.4 0 0 0-.146-.029l-1.383.048l-.224-.264l.318-1.347a.42.42 0 0 0-.343-.487a.4.4 0 0 0-.144 0l-1.348.315l-.266-.219l.049-1.381a.42.42 0 0 0-.431-.411a.4.4 0 0 0-.141.028l-1.257.573l-.306-.164l-.222-1.363a.42.42 0 0 0-.5-.318a.4.4 0 0 0-.133.055l-1.121.806l-.333-.1l-.483-1.293a.42.42 0 0 0-.555-.215a.4.4 0 0 0-.12.08l-.946 1.012l-.343-.033l-.728-1.177a.42.42 0 0 0-.688 0l-.728 1.177l-.343.033l-.943-1.012a.42.42 0 0 0-.595.015a.4.4 0 0 0-.08.12L12.483 3.8l-.333.1l-1.12-.8a.42.42 0 0 0-.581.13a.4.4 0 0 0-.055.133l-.222 1.363l-.306.164l-1.258-.573a.42.42 0 0 0-.544.239a.4.4 0 0 0-.028.144l.048 1.383l-.266.217l-1.347-.316a.42.42 0 0 0-.487.343a.4.4 0 0 0 0 .144L6.3 7.819l-.218.265L4.7 8.036a.422.422 0 0 0-.383.573l.573 1.257l-.164.306l-1.363.222a.42.42 0 0 0-.318.5a.4.4 0 0 0 .055.133l.806 1.12l-.1.334l-1.293.483a.42.42 0 0 0-.215.555a.4.4 0 0 0 .081.121l1.011.943l-.033.343l-1.177.728a.42.42 0 0 0 0 .688l1.177.728l.033.343l-1.011.943a.42.42 0 0 0 .015.595a.4.4 0 0 0 .119.08l1.293.483l.1.334l-.806 1.124a.42.42 0 0 0 .131.581a.4.4 0 0 0 .133.055l1.363.222l.164.307l-.573 1.257a.42.42 0 0 0 .24.545a.4.4 0 0 0 .143.028l1.383-.048l.219.266l-.317 1.348a.42.42 0 0 0 .341.486a.4.4 0 0 0 .146 0l1.345-.319l.266.218l-.049 1.382a.42.42 0 0 0 .429.41a.4.4 0 0 0 .143-.028l1.257-.573l.306.164l.222 1.362a.42.42 0 0 0 .5.319a.4.4 0 0 0 .133-.055l1.12-.807l.334.1l.483 1.292a.42.42 0 0 0 .556.214a.4.4 0 0 0 .119-.08l.943-1.011l.343.034l.728 1.177a.42.42 0 0 0 .588.1a.4.4 0 0 0 .1-.1l.728-1.177l.343-.034l.943 1.011a.42.42 0 0 0 .595-.015a.4.4 0 0 0 .08-.119l.483-1.292l.334-.1l1.12.807a.42.42 0 0 0 .581-.131a.4.4 0 0 0 .055-.133l.222-1.362l.306-.164l1.257.573a.42.42 0 0 0 .544-.239a.4.4 0 0 0 .028-.143l-.048-1.384l.265-.218l1.347.317a.42.42 0 0 0 .487-.34a.5.5 0 0 0 0-.146l-.309-1.346l.218-.266l1.383.048a.42.42 0 0 0 .41-.431a.4.4 0 0 0-.028-.142l-.573-1.257l.164-.307l1.363-.222a.42.42 0 0 0 .319-.5a.4.4 0 0 0-.056-.135l-.806-1.12l.1-.334l1.293-.483a.42.42 0 0 0 .215-.554a.4.4 0 0 0-.081-.121l-1.011-.943l.033-.343l1.177-.728a.42.42 0 0 0 0-.688Z"/>'},QG={width:32,height:32,body:'<path fill="#cd6799" d="M26.11 17.572a5.8 5.8 0 0 0-2.537.588a5.4 5.4 0 0 1-.568-1.314a3.5 3.5 0 0 1-.051-1.1a10 10 0 0 1 .332-1.192c-.005-.051-.061-.292-.624-.3s-1.048.107-1.1.256a6 6 0 0 0-.235.834a19.7 19.7 0 0 1-1.713 3.294a3.2 3.2 0 0 1-.44-2.066a10 10 0 0 1 .332-1.192c-.005-.051-.061-.292-.624-.3s-1.048.107-1.1.256s-.118.5-.235.834s-1.483 3.386-1.841 4.173c-.184.4-.343.726-.455.946a.2.2 0 0 1-.02.041l-.153.292v.005c-.077.138-.159.266-.2.266a1.7 1.7 0 0 1 .01-.869c.2-1.059.69-2.705.685-2.762c0-.031.092-.317-.317-.465a.51.51 0 0 0-.578.1c-.036 0-.061.087-.061.087s.445-1.851-.849-1.851a3.86 3.86 0 0 0-2.475 1.683c-.348.189-1.089.593-1.882 1.028c-.3.169-.614.338-.905.5c-.02-.02-.041-.046-.061-.066C6.87 17.6 3.975 16.416 4.1 14.171c.046-.818.327-2.966 5.559-5.575c4.306-2.122 7.733-1.534 8.326-.23c.849 1.862-1.836 5.319-6.285 5.82a3.35 3.35 0 0 1-2.813-.711c-.235-.256-.271-.271-.358-.22c-.143.077-.051.307 0 .44a2.63 2.63 0 0 0 1.606 1.263a8.55 8.55 0 0 0 5.217-.517c2.7-1.043 4.8-3.943 4.184-6.372c-.619-2.465-4.71-3.278-8.582-1.9a19.5 19.5 0 0 0-6.595 3.783c-2.133 1.995-2.47 3.728-2.332 4.455c.5 2.578 4.051 4.255 5.472 5.5l-.194.107c-.711.353-3.421 1.77-4.1 3.268c-.767 1.7.123 2.915.711 3.079a4.37 4.37 0 0 0 4.71-1.908a4.72 4.72 0 0 0 .423-4.353a.1.1 0 0 0-.02-.031l.557-.327a27 27 0 0 1 1.028-.578a6.7 6.7 0 0 0-.363 1.862a3.9 3.9 0 0 0 .834 2.7a.92.92 0 0 0 .675.22c.6 0 .875-.5 1.176-1.094c.368-.726.7-1.57.7-1.57s-.414 2.281.711 2.281c.409 0 .823-.532 1.008-.8v.005l.031-.051l.066-.107v-.01c.164-.286.532-.936 1.079-2.015c.706-1.391 1.386-3.13 1.386-3.13a9 9 0 0 0 .271 1.13a11 11 0 0 0 .583 1.309c-.164.23-.266.358-.266.358l.005.005c-.133.174-.276.363-.435.547a16 16 0 0 0-1.314 1.647a.447.447 0 0 0 .123.6a1.1 1.1 0 0 0 .685.113a3.2 3.2 0 0 0 1.028-.235a3.5 3.5 0 0 0 .885-.465a1.98 1.98 0 0 0 .849-1.744a3.5 3.5 0 0 0-.322-1.233q.076-.107.148-.215a23 23 0 0 0 1.534-2.649a9 9 0 0 0 .271 1.13a7.6 7.6 0 0 0 .5 1.125a4.86 4.86 0 0 0-1.497 1.922c-.322.931-.072 1.35.4 1.447a1.4 1.4 0 0 0 .747-.153a3.4 3.4 0 0 0 .946-.486a2.13 2.13 0 0 0 1.043-1.729a3.3 3.3 0 0 0-.235-1.023a5.36 5.36 0 0 1 2.716-.312c2.434.286 2.915 1.805 2.823 2.445a1.62 1.62 0 0 1-.772 1.094c-.169.107-.225.143-.21.22c.02.113.1.107.245.087A1.9 1.9 0 0 0 30 20.7c.077-1.5-1.355-3.145-3.887-3.13ZM7.33 23.9c-.808.88-1.933 1.212-2.419.931c-.522-.3-.317-1.6.675-2.532a13 13 0 0 1 1.9-1.417c.118-.072.292-.174.5-.3l.056-.031l.123-.077A3.49 3.49 0 0 1 7.33 23.9m5.881-4c-.281.685-.869 2.44-1.227 2.342c-.307-.082-.5-1.412-.061-2.726a6.2 6.2 0 0 1 .956-1.754c.44-.491.926-.655 1.043-.455a9 9 0 0 1-.711 2.593m4.853 2.322c-.118.061-.23.1-.281.072c-.036-.02.051-.1.051-.1s.609-.655.849-.951c.138-.174.3-.378.476-.609v.066c0 .782-.757 1.309-1.094 1.524Zm3.744-.854c-.087-.061-.072-.266.22-.905a3.4 3.4 0 0 1 .834-1.074a1.5 1.5 0 0 1 .082.471a1.55 1.55 0 0 1-1.135 1.509Z"/>'},YG={width:32,height:32,body:'<path fill="#d9b400" d="M29.4 27.6H2.5V4.5h26.9Zm-25.9-1h24.9V5.5H3.5Z"/><path fill="#d9b400" d="m6.077 19.316l-.555-.832l4.844-3.229l-4.887-4.071l.641-.768l5.915 4.928zM12.7 18.2h7.8v1h-7.8zM2.5 5.5h26.9v1.9H2.5z"/>'},KG={width:32,height:32,body:'<path fill="#ffda44" d="M8.562 15.256A21.2 21.2 0 0 0 16 16.449a21.2 21.2 0 0 0 7.438-1.194c1.864-.727 2.525-1.535 2.525-2V9.7a10.4 10.4 0 0 1-2.084 1.076A22.3 22.3 0 0 1 16 12.078a22.4 22.4 0 0 1-7.879-1.3A10.3 10.3 0 0 1 6.037 9.7v3.55c0 .474.663 1.278 2.525 2.006m0 6.705a15.6 15.6 0 0 0 2.6.741a25 25 0 0 0 4.838.453a25 25 0 0 0 4.838-.452a15.6 15.6 0 0 0 2.6-.741c1.864-.727 2.525-1.535 2.525-2v-3.39a10.7 10.7 0 0 1-1.692.825A23.5 23.5 0 0 1 16 18.74a23.5 23.5 0 0 1-8.271-1.348a11 11 0 0 1-1.692-.825v3.393c0 .466.663 1.271 2.525 2.001M16 30c5.5 0 9.963-1.744 9.963-3.894v-2.837a10.5 10.5 0 0 1-1.535.762l-.157.063A23.5 23.5 0 0 1 16 25.445a23.4 23.4 0 0 1-8.271-1.351l-.157-.063a10.5 10.5 0 0 1-1.535-.762v2.837C6.037 28.256 10.5 30 16 30"/><ellipse cx="16" cy="5.894" fill="#ffda44" rx="9.963" ry="3.894"/>'},XG={width:32,height:32,body:'<path fill="#ff3e00" d="M26.47 5.7a8.973 8.973 0 0 0-11.793-2.454L7.96 7.4a7.46 7.46 0 0 0-3.481 5.009a7.7 7.7 0 0 0 .8 5.058a7.4 7.4 0 0 0-1.151 2.8a7.8 7.8 0 0 0 1.4 6.028a8.977 8.977 0 0 0 11.794 2.458L24.04 24.6a7.47 7.47 0 0 0 3.481-5.009a7.67 7.67 0 0 0-.8-5.062a7.35 7.35 0 0 0 1.152-2.8A7.8 7.8 0 0 0 26.47 5.7"/><path fill="#fff" d="M14.022 26.64A5.41 5.41 0 0 1 8.3 24.581a4.68 4.68 0 0 1-.848-3.625a4 4 0 0 1 .159-.61l.127-.375l.344.238a8.8 8.8 0 0 0 2.628 1.274l.245.073l-.025.237a1.44 1.44 0 0 0 .271.968a1.63 1.63 0 0 0 1.743.636a1.5 1.5 0 0 0 .411-.175l6.7-4.154a1.37 1.37 0 0 0 .633-.909a1.4 1.4 0 0 0-.244-1.091a1.63 1.63 0 0 0-1.726-.622a1.5 1.5 0 0 0-.413.176l-2.572 1.584a5 5 0 0 1-1.364.582a5.415 5.415 0 0 1-5.727-2.06a4.68 4.68 0 0 1-.831-3.628A4.5 4.5 0 0 1 9.9 10.09l6.708-4.154a5 5 0 0 1 1.364-.581A5.41 5.41 0 0 1 23.7 7.414a4.68 4.68 0 0 1 .848 3.625a4 4 0 0 1-.159.61l-.127.375l-.344-.237a8.7 8.7 0 0 0-2.628-1.274l-.245-.074l.025-.237a1.44 1.44 0 0 0-.272-.968a1.63 1.63 0 0 0-1.725-.622a1.5 1.5 0 0 0-.411.176l-6.722 4.14a1.35 1.35 0 0 0-.631.908a1.4 1.4 0 0 0 .244 1.092a1.63 1.63 0 0 0 1.726.621a1.5 1.5 0 0 0 .413-.175l2.562-1.585a4.9 4.9 0 0 1 1.364-.581a5.42 5.42 0 0 1 5.728 2.059a4.68 4.68 0 0 1 .843 3.625a4.5 4.5 0 0 1-2.089 3.013l-6.707 4.154a4.9 4.9 0 0 1-1.364.581"/>'},WG={width:32,height:32,body:'<path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z"/><path fill="#ffb13b" d="M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z"/><path fill="#ffb13b" d="M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z"/><path fill="#ffb13b" d="M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z"/><path fill="#ffb13b" d="M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z"/><path d="M2 16.056h28v9.894a4.035 4.035 0 0 1-4.106 4.106H6.106A4.035 4.035 0 0 1 2 25.95Z"/><path fill="#fff" d="M6.2 23.045a3.628 3.628 0 1 1 6.2-2.565h-2.13a1.5 1.5 0 1 0-2.57 1.061a1.6 1.6 0 0 0 1.062.441a4.12 4.12 0 0 1 2.566 1.063a3.628 3.628 0 1 1-6.194 2.565h2.13a1.5 1.5 0 1 0 2.566-1.06a1.95 1.95 0 0 0-1.063-.44A4.47 4.47 0 0 1 6.2 23.045m13.451-6.193L17.085 29.24H14.96L12.4 16.852h2.12l1.5 7.255l1.5-7.255Zm3.629 5.131h3.628v3.628a3.628 3.628 0 1 1-7.257 0V20.48a3.628 3.628 0 0 1 7.257 0h-2.125a1.5 1.5 0 1 0-3.005 0v5.13a1.5 1.5 0 0 0 3.005 0v-1.5h-1.5v-2.127Z"/>'},JG={width:32,height:32,body:'<defs><linearGradient id="SVGkG5neddW" x1="-134.494" x2="-134.497" y1="-171.82" y2="-171.89" gradientTransform="matrix(240 0 0 -205.6 32295 -35312.585)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f88535"/><stop offset="1" stop-color="#fd2221"/></linearGradient></defs><path fill="url(#SVGkG5neddW)" d="M19.422 4.007s6.217 3.554 7.844 9.2c1.466 5.1.292 7.534.292 7.534a8.9 8.9 0 0 1 1.742 2.8a4.83 4.83 0 0 1 .29 4.453s-.1-2.08-3.2-2.511c-2.841-.4-3.874 2.366-9.3 2.232A18.43 18.43 0 0 1 2 19.354C4.651 20.8 8.124 23.045 12.449 22.7s5.228-1.674 5.228-1.674A67 67 0 0 1 4.891 7.643c3.4 2.845 11.822 8.507 11.626 8.363A76 76 0 0 1 8.092 6.24s12.636 10.389 13.653 10.323c.418-.861 2.579-5.318-2.324-12.557Z"/>'},eH={width:32,height:32,body:'<path fill="#44a8b3" d="M9 13.7q1.4-5.6 7-5.6c5.6 0 6.3 4.2 9.1 4.9q2.8.7 4.9-2.1q-1.4 5.6-7 5.6c-5.6 0-6.3-4.2-9.1-4.9q-2.8-.7-4.9 2.1m-7 8.4q1.4-5.6 7-5.6c5.6 0 6.3 4.2 9.1 4.9q2.8.7 4.9-2.1q-1.4 5.6-7 5.6c-5.6 0-6.3-4.2-9.1-4.9q-2.8-.7-4.9 2.1"/>'},tH={width:32,height:32,body:'<path fill="#813cf3" d="m12.042 6.858l8.029 4.59v9.014l-8.029-4.594zM20.5 20.415l7.959-4.575V6.887L20.5 11.429zM3.541 11.01l8.03 4.589V6.59L3.541 2zm8.501 14.4L20.071 30v-9.043l-8.029-4.589z"/>'},nH={width:32,height:32,body:'<path fill="#c2c2c2" d="M22.038 2H6.375a1.755 1.755 0 0 0-1.75 1.75v24.5A1.755 1.755 0 0 0 6.375 30h19.25a1.755 1.755 0 0 0 1.75-1.75V6.856Zm.525 2.844l1.663 1.531h-1.663ZM6.375 28.25V3.75h14.438v4.375h4.813V28.25Z"/><path fill="#829ec2" d="M8.125 15.097h13.076v1.75H8.125zm0 9.342h9.762v1.75H8.125zm0-4.676h15.75v1.75H8.125zm0-9.533h15.75v1.75H8.125z"/>'},aH={width:32,height:32,body:'<path fill="#007acc" d="M23.827 8.243a4.4 4.4 0 0 1 2.223 1.281a6 6 0 0 1 .852 1.143c.011.045-1.534 1.083-2.471 1.662c-.034.023-.169-.124-.322-.35a2.01 2.01 0 0 0-1.67-1c-1.077-.074-1.771.49-1.766 1.433a1.3 1.3 0 0 0 .153.666c.237.49.677.784 2.059 1.383c2.544 1.095 3.636 1.817 4.31 2.843a5.16 5.16 0 0 1 .416 4.333a4.76 4.76 0 0 1-3.932 2.815a11 11 0 0 1-2.708-.028a6.53 6.53 0 0 1-3.616-1.884a6.3 6.3 0 0 1-.926-1.371a3 3 0 0 1 .327-.208c.158-.09.756-.434 1.32-.761l1.024-.6l.214.312a4.8 4.8 0 0 0 1.35 1.292a3.3 3.3 0 0 0 3.458-.175a1.545 1.545 0 0 0 .2-1.974c-.276-.395-.84-.727-2.443-1.422a8.8 8.8 0 0 1-3.349-2.055a4.7 4.7 0 0 1-.976-1.777a7.1 7.1 0 0 1-.062-2.268a4.33 4.33 0 0 1 3.644-3.374a9 9 0 0 1 2.691.084m-8.343 1.483l.011 1.454h-4.63v13.148H7.6V11.183H2.97V9.755a14 14 0 0 1 .04-1.466c.017-.023 2.832-.034 6.245-.028l6.211.017Z"/>'},rH={width:32,height:32,body:'<path fill="#00a23c" d="M23.814 8.2a4.44 4.44 0 0 1 2.229 1.284a6 6 0 0 1 .857 1.146c.011.045-1.538 1.086-2.478 1.666c-.034.023-.17-.124-.323-.351a2.02 2.02 0 0 0-1.675-1.007c-1.08-.074-1.776.492-1.771 1.436a1.3 1.3 0 0 0 .153.668c.237.492.679.786 2.064 1.386c2.551 1.1 3.645 1.822 4.321 2.851a5.17 5.17 0 0 1 .417 4.344a4.78 4.78 0 0 1-3.942 2.823a11 11 0 0 1-2.715-.028a6.55 6.55 0 0 1-3.626-1.889a6.3 6.3 0 0 1-.928-1.375a3 3 0 0 1 .328-.208c.158-.091.758-.435 1.324-.763l1.024-.594l.215.312a4.8 4.8 0 0 0 1.354 1.3a3.31 3.31 0 0 0 3.467-.175a1.55 1.55 0 0 0 .2-1.979c-.277-.4-.843-.729-2.45-1.426a8.8 8.8 0 0 1-3.358-2.06a4.7 4.7 0 0 1-.979-1.782a7.1 7.1 0 0 1-.062-2.274a4.34 4.34 0 0 1 3.654-3.383a9 9 0 0 1 2.7.078m-8.366 1.488l.011 1.458h-4.642v13.181H7.54V11.148H2.9V9.717a14 14 0 0 1 .04-1.471c.017-.023 2.839-.034 6.262-.028l6.227.017Z"/>'},lH={width:32,height:32,body:'<path fill="#e75749" d="M4.5 2.375A2.56 2.56 0 0 1 5.861 2h20.366a2.545 2.545 0 0 1 2.423 1.951a3.4 3.4 0 0 1 .072.862v11.176h-1.573a2 2 0 0 0-.22.022a5 5 0 0 0-.581-.011c-.3.007-.61-.014-.914.014a2.3 2.3 0 0 0-.4-.02h-4.739c-.2 0-.392.008-.587-.01l.1-.065l-6.353-3.813v3.889c-2.213-.005-4.427 0-6.64 0a2 2 0 0 0-.251.021c-.212-.032-.427-.016-.642-.016c-.284.006-.57-.015-.853.015a2 2 0 0 0-.253-.022H3.275c.006-3.635 0-7.27 0-10.9a4.8 4.8 0 0 1 .071-1.131A2.54 2.54 0 0 1 4.5 2.375m.54 2.188a.64.64 0 0 0-.489.606v1.316a.64.64 0 0 0 .627.6h1.309a.64.64 0 0 0 .6-.608c.005-.426 0-.853 0-1.279a.64.64 0 0 0-.329-.575a.7.7 0 0 0-.358-.078H5.264a1 1 0 0 0-.224.018m20.341 0a.64.64 0 0 0-.474.607v1.306a.64.64 0 0 0 .6.608c.436.005.872 0 1.308 0a.64.64 0 0 0 .627-.606c.006-.438 0-.876 0-1.314a.64.64 0 0 0-.594-.621c-.348-.009-.7 0-1.045 0a2 2 0 0 0-.422.024ZM5.042 8.38a.64.64 0 0 0-.452.4a1.1 1.1 0 0 0-.041.386v1.135a.637.637 0 0 0 .6.6c.4.008.795 0 1.192 0a.8.8 0 0 0 .395-.065a.64.64 0 0 0 .36-.574V8.983a.64.64 0 0 0-.6-.624c-.338-.008-.677 0-1.016 0a2.4 2.4 0 0 0-.438.021m20.338 0a.64.64 0 0 0-.433.4a1.1 1.1 0 0 0-.041.387v1.131a.64.64 0 0 0 .608.607c.406.006.812 0 1.218 0a.74.74 0 0 0 .38-.078a.64.64 0 0 0 .335-.558V8.985a.637.637 0 0 0-.593-.622c-.349-.009-.7 0-1.047 0a2 2 0 0 0-.428.022ZM5.041 12.2a.64.64 0 0 0-.491.608c0 .438-.005.877 0 1.315a.64.64 0 0 0 .627.6h1.3a.64.64 0 0 0 .608-.607v-1.307a.64.64 0 0 0-.605-.626c-.348-.007-.7 0-1.045 0a2 2 0 0 0-.394.017m20.335.006a.64.64 0 0 0-.43.394a1.1 1.1 0 0 0-.041.386v1.131a.64.64 0 0 0 .607.608c.435.005.87 0 1.306 0a.64.64 0 0 0 .628-.605c.006-.438 0-.876 0-1.313a.637.637 0 0 0-.592-.622c-.349-.01-.7 0-1.046 0a2 2 0 0 0-.431.015Z"/><path fill="#fff" d="M13.458 12.1q3.176 1.908 6.353 3.813l-.1.065q-3.127 1.872-6.251 3.748V15.99q-.003-1.941-.002-3.89"/><path fill="#c0392b" d="M3.275 15.988h1.541a2 2 0 0 1 .253.022a.65.65 0 0 0-.409.273a.9.9 0 0 0-.111.518v1.045a.686.686 0 0 0 .685.689h1.192a.68.68 0 0 0 .657-.569c.008-.447 0-.9 0-1.343a.63.63 0 0 0-.521-.613a2 2 0 0 1 .251-.021h6.64v3.736q3.127-1.871 6.251-3.748c.2.018.391.007.587.01h4.741a2.3 2.3 0 0 1 .4.02a.64.64 0 0 0-.475.385a1 1 0 0 0-.045.407v1.014a.677.677 0 0 0 .691.719h1.16a.684.684 0 0 0 .686-.658v-.984a1.07 1.07 0 0 0-.1-.589a.64.64 0 0 0-.42-.292a2 2 0 0 1 .22-.022h1.573c.011 1.721 0 3.443 0 5.165v6.293a2.57 2.57 0 0 1-.612 1.651a2.54 2.54 0 0 1-1.563.868a8 8 0 0 1-.981.033H6.724a9 9 0 0 1-1.368-.048a2.56 2.56 0 0 1-2-1.846a2.8 2.8 0 0 1-.09-.746V16.891c.007-.3-.002-.602.009-.903m1.795 3.843a.6.6 0 0 0-.386.234a.76.76 0 0 0-.134.464v1.162a.685.685 0 0 0 .686.658h1.283a.687.687 0 0 0 .568-.716v-1.191a.62.62 0 0 0-.2-.458a.7.7 0 0 0-.487-.17H5.264a1 1 0 0 0-.194.017m20.366 0a.62.62 0 0 0-.522.58v1.222a.676.676 0 0 0 .69.718c.428 0 .857.005 1.285 0a.7.7 0 0 0 .562-.684v-1.013a.9.9 0 0 0-.123-.568a.66.66 0 0 0-.532-.267h-.954a2.3 2.3 0 0 0-.406.011ZM5.071 23.648a.6.6 0 0 0-.4.249a.77.77 0 0 0-.124.448v1.132a.7.7 0 0 0 .6.688h1.376a.687.687 0 0 0 .567-.717v-1.189a.62.62 0 0 0-.2-.459a.7.7 0 0 0-.484-.17H5.265a1 1 0 0 0-.194.018m20.362 0a.62.62 0 0 0-.492.427a1 1 0 0 0-.029.33V25.6a.68.68 0 0 0 .656.567h1.193a.69.69 0 0 0 .686-.719v-1.164a.66.66 0 0 0-.286-.545a1.46 1.46 0 0 0-.787-.11c-.312.01-.629-.02-.94.018Z"/>'},iH={width:32,height:32,body:'<mask id="SVGgudELdDz"><path fill="#fff" d="M40.05 45.7c-.67.85-2.02.38-2.02-.69v-10.3a2.26 2.26 0 0 0-2.27-2.26H24.4a1.13 1.13 0 0 1-.92-1.8l7.48-10.46c1.07-1.5 0-3.58-1.84-3.58H15.34a1.13 1.13 0 0 1-.92-1.79l9.7-13.57c.2-.3.55-.48.92-.48h28.89c.92 0 1.46 1.04.92 1.79l-7.48 10.47a2.26 2.26 0 0 0 1.84 3.58H60.6c.94 0 1.47 1.09.89 1.83z"/></mask><g fill="none"><g mask="url(#SVGgudELdDz)" transform="translate(1 6.8)scale(.393)"><path fill="#9135ff" d="M0 0h62v47H0z"/><g filter="url(#SVGNp06lekD)"><ellipse cx="24.46" cy="37.75" fill="#eee6ff" rx="5.51" ry="14.7" transform="rotate(89.8 24.46 37.75)"/></g><g filter="url(#SVGNp06lekD)"><ellipse cx="4.76" cy="18.96" fill="#eee6ff" rx="10.4" ry="29.85" transform="rotate(89.8 4.76 18.96)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="4.24" cy="17.5" fill="#8900ff" rx="5.51" ry="30.49" transform="rotate(89.8 4.24 17.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="8.95" cy="35.5" fill="#8900ff" rx="5.51" ry="30.6" transform="rotate(89.8 8.95 35.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="10.48" cy="36.65" fill="#8900ff" rx="5.51" ry="30.6" transform="rotate(89.8 10.48 36.65)"/></g><g filter="url(#SVGNp06lekD)"><ellipse cx="67.34" cy="12.3" fill="#eee6ff" rx="14.07" ry="22.08" transform="rotate(-86.7 67.34 12.3)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="68.44" cy="15.74" fill="#8900ff" rx="3.47" ry="21.5" transform="rotate(-91 68.44 15.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="68.44" cy="15.74" fill="#8900ff" rx="3.47" ry="21.5" transform="rotate(-91 68.44 15.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="14.59" cy="9.74" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(39.5 14.6 9.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="61.73" cy="-5.32" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 61.73 -5.32)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="55.62" cy="7.1" fill="#00c2ff" rx="5.97" ry="9.67" transform="rotate(37.9 55.62 7.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="12.33" cy="39.1" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 12.33 39.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="12.33" cy="39.1" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 12.33 39.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="49.86" cy="30.68" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 49.86 30.68)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="52.62" cy="33.17" fill="#00c2ff" rx="5.97" ry="15.3" transform="rotate(37.9 52.62 33.17)"/></g></g><path fill="#fff" d="M3.72 6.8C.1 11.98.08 20 3.72 25.2h2.45c-3.64-5.2-3.62-13.22 0-18.4zm24.56 0h-2.45c3.62 5.18 3.64 13.2 0 18.4h2.45c3.64-5.2 3.62-13.22 0-18.4"/><defs><filter id="SVGNp06lekD" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="7.66"/></filter><filter id="SVGQv8P6csY" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="4.6"/></filter></defs></g>'},sH={width:32,height:32,body:'<mask id="SVGTUBgmdJX"><path fill="#fff" d="M36.76 42.97c-.33.6-1.1.76-1.65.36L15.96 29.41a1.2 1.2 0 0 1-.46-.92V11.71c0-.93 1.05-1.46 1.8-.92L29 19.31c1.1.8 2.65.46 3.3-.72l9.71-17.25c.2-.35.58-.57.99-.57h15.57c.87 0 1.41.93.99 1.68z"/></mask><g fill="none"><g mask="url(#SVGTUBgmdJX)" transform="translate(1 6.8)scale(.393)"><path fill="#00ff74" d="M0 0h60v44H0z"/><g filter="url(#SVGQv8P6csY)"><ellipse cx="41.46" cy="10.01" fill="#00d0c7" rx="14.03" ry="3.39" transform="rotate(130.6 41.46 10.01)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="18.43" cy="30.51" fill="#00d0c7" rx="14.03" ry="6.09" transform="rotate(234 18.43 30.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="21.94" cy="12.96" fill="#03ff00" rx="6.37" ry="5.55" transform="rotate(23.1 21.94 12.96)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="56.27" cy="16.72" fill="#03ff00" rx="5.61" ry="24.53" transform="rotate(23.1 56.27 16.72)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="51.35" cy="1.06" fill="#6effe1" rx="4.99" ry="10.07" transform="rotate(-45 51.35 1.06)"/></g></g><path fill="#fff" d="M3.72 6.8C.1 11.98.08 20 3.72 25.2h2.45c-3.64-5.2-3.62-13.22 0-18.4zm24.56 0h-2.45c3.62 5.18 3.64 13.2 0 18.4h2.45c3.64-5.2 3.62-13.22 0-18.4"/><defs><filter id="SVGQv8P6csY" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="4.6"/></filter></defs></g>'},oH={width:32,height:32,body:'<path fill="#41b883" d="M24.4 3.925H30l-14 24.15L2 3.925h10.71l3.29 5.6l3.22-5.6Z"/><path fill="#41b883" d="m2 3.925l14 24.15l14-24.15h-5.6L16 18.415L7.53 3.925Z"/><path fill="#35495e" d="M7.53 3.925L16 18.485l8.4-14.56h-5.18L16 9.525l-3.29-5.6Z"/>'},cH={width:32,height:32,body:'<path fill="#654ff0" d="M19.153 2.35v.15a3.2 3.2 0 1 1-6.4 0v-.15H2v27.919h27.919V2.35Z"/><path fill="#fff" d="M8.485 17.4h1.85l1.265 6.723h.023L13.14 17.4h1.731l1.371 6.81h.027l1.44-6.81h1.815l-2.358 9.885h-1.837l-1.36-6.728h-.036l-1.456 6.728h-1.87Zm13.124 0h2.917l2.9 9.885h-1.911l-.63-2.2h-3.323l-.486 2.2h-1.859Zm1.11 2.437l-.807 3.627h2.512l-.924-3.632Z"/>'},uH={width:32,height:32,body:'<path fill="#f1662a" d="m20.42 21.157l2.211 2.211L30 16l-7.369-7.369l-2.211 2.212L25.58 16Zm-8.84-10.314L9.369 8.631L2 16l7.369 7.369l2.211-2.211L6.42 16Zm5.831-3.166l1.6.437l-4.42 16.209l-1.6-.437z"/>'},xH={width:32,height:32,body:'<path fill="#ffe885" d="M2 12.218c.755 0 1.51-.008 2.264 0l.053.038l2.761 2.758c.891-.906 1.8-1.794 2.7-2.7c.053-.052.11-.113.192-.1h1.823a1.4 1.4 0 0 1 .353.019c-.7.67-1.377 1.369-2.069 2.05L5.545 18.8c-.331.324-.648.663-.989.975c-.754.022-1.511.007-2.266.007c1.223-1.209 2.431-2.433 3.658-3.637c-1.321-1.304-2.63-2.62-3.948-3.927m10.7 0h1.839v7.566c-.611 0-1.222.012-1.832-.008v-4.994c-1.6 1.607-3.209 3.2-4.811 4.8c-.089.08-.166.217-.305.194c-.824-.006-1.649 0-2.474 0Q8.916 16 12.7 12.218m2.258.002c.47-.009.939 0 1.409 0c.836.853 1.69 1.689 2.536 2.532q1.268-1.267 2.539-2.532h1.4q-.008 3.784 0 7.567c-.471 0-.943.006-1.414 0q.008-2.387 0-4.773c-.844.843-1.676 1.7-2.526 2.536c-.856-.835-1.687-1.695-2.532-2.541c0 1.594-.006 3.188.006 4.781c-.472 0-.943.005-1.415 0q-.003-3.79-.003-7.57m8.301-.003c.472 0 .944-.007 1.416 0q-.007 3.083 0 6.166h3.782c.063.006.144-.012.191.045c.448.454.907.9 1.353 1.354q-3.371.007-6.741 0q.007-3.782-.001-7.565"/>'},dH={width:32,height:32,body:'<path fill="#2188b6" d="M28.208 24.409a10.5 10.5 0 0 0-3.959 1.822a23.7 23.7 0 0 1-5.835 2.642a1.63 1.63 0 0 1-.983.55a62 62 0 0 1-6.447.577c-1.163.009-1.876-.3-2.074-.776a1.573 1.573 0 0 1 .866-2.074a4 4 0 0 1-.514-.379c-.171-.171-.352-.514-.406-.388c-.225.55-.343 1.894-.947 2.5c-.83.839-2.4.559-3.328.072c-1.019-.541.072-1.813.072-1.813a.73.73 0 0 1-.992-.343a4.85 4.85 0 0 1-.667-2.949a5.37 5.37 0 0 1 1.749-2.895a9.3 9.3 0 0 1 .658-4.4a10.45 10.45 0 0 1 3.165-3.661S6.628 10.747 7.35 8.817c.469-1.262.658-1.253.812-1.308a3.6 3.6 0 0 0 1.452-.857a5.27 5.27 0 0 1 4.41-1.7S15.2 1.4 16.277 2.09a18.4 18.4 0 0 1 1.533 2.886s1.281-.748 1.425-.469a11.33 11.33 0 0 1 .523 6.132a14 14 0 0 1-2.6 5.411c-.135.225 1.551.938 2.615 3.887c.983 2.7.108 4.96.262 5.212c.027.045.036.063.036.063s1.127.09 3.391-1.308a8.5 8.5 0 0 1 4.277-1.604a1.081 1.081 0 0 1 .469 2.11Z"/>'},fH={width:32,height:32,body:'<defs><linearGradient id="SVGXr4mrHrF" x1="17.65" x2="21.099" y1="26.056" y2="26.056" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4d4d4d"/><stop offset=".5" stop-color="#fff"/><stop offset="1" stop-color="#4d4d4d"/></linearGradient><linearGradient id="SVG5oyStdai" x1="17.65" x2="21.099" y1="23.756" y2="23.756" href="#SVGXr4mrHrF"/><linearGradient id="SVG9QsNwcZU" x1="17.65" x2="21.099" y1="21.456" y2="21.456" href="#SVGXr4mrHrF"/><linearGradient id="SVG1kIgneZE" x1="17.65" x2="21.099" y1="19.156" y2="19.156" href="#SVGXr4mrHrF"/><linearGradient id="SVGp2oQjdFa" x1="17.65" x2="21.099" y1="16.857" y2="16.857" href="#SVGXr4mrHrF"/><linearGradient id="SVGAFV8AN5B" x1="17.65" x2="21.099" y1="14.557" y2="14.557" href="#SVGXr4mrHrF"/><linearGradient id="SVGRkU6lbfc" x1="17.65" x2="21.099" y1="12.257" y2="12.257" href="#SVGXr4mrHrF"/><linearGradient id="SVGWUBOGcFP" x1="17.65" x2="21.099" y1="9.957" y2="9.957" href="#SVGXr4mrHrF"/><linearGradient id="SVGFcdVfdXh" x1="17.65" x2="21.099" y1="7.657" y2="7.657" href="#SVGXr4mrHrF"/><linearGradient id="SVGLioYKc8j" x1="16.237" x2="19.686" y1="27.217" y2="27.217" href="#SVGXr4mrHrF"/><linearGradient id="SVGIx7REdei" x1="16.237" x2="19.686" y1="24.918" y2="24.918" href="#SVGXr4mrHrF"/><linearGradient id="SVGownHpeLf" x1="16.237" x2="19.686" y1="22.618" y2="22.618" href="#SVGXr4mrHrF"/><linearGradient id="SVGZ4gzmcVN" x1="16.237" x2="19.686" y1="20.318" y2="20.318" href="#SVGXr4mrHrF"/><linearGradient id="SVGhAblbd0u" x1="16.237" x2="19.686" y1="18.018" y2="18.018" href="#SVGXr4mrHrF"/><linearGradient id="SVGBzD5PbgA" x1="17.65" x2="21.099" y1="28.356" y2="28.356" href="#SVGXr4mrHrF"/><linearGradient id="SVGcXb6lbYS" x1="16.237" x2="19.686" y1="15.718" y2="15.718" href="#SVGXr4mrHrF"/><linearGradient id="SVGKF6nobvx" x1="16.237" x2="19.686" y1="13.419" y2="13.419" href="#SVGXr4mrHrF"/><linearGradient id="SVGrU8zSORM" x1="16.237" x2="19.686" y1="11.119" y2="11.119" href="#SVGXr4mrHrF"/><linearGradient id="SVGuFw9gbIu" x1="16.237" x2="19.686" y1="8.819" y2="8.819" href="#SVGXr4mrHrF"/><linearGradient id="SVGXh7zWblD" x1="16.237" x2="19.686" y1="29.514" y2="29.514" href="#SVGXr4mrHrF"/><linearGradient id="SVGmzaoUw6y" x1="16.985" x2="20.446" y1="11.196" y2="11.196" href="#SVGXr4mrHrF"/><linearGradient id="SVGkZYaOeHC" x1="18.096" x2="19.336" y1="5.329" y2="5.329" href="#SVGXr4mrHrF"/><linearGradient id="SVGVKO9QdOI" x1="16.029" x2="21.403" y1="5.591" y2="5.591" href="#SVGXr4mrHrF"/></defs><path fill="#c09553" d="M27.667 27.667V17.333L23 15V2H4.333v28h23.334Zm-4.667 0v-9.111l2.333 1.222v7.889Z"/><path fill="url(#SVGXr4mrHrF)" d="M17.65 25.559h3.45v.993h-3.45z"/><path fill="url(#SVG5oyStdai)" d="M17.65 23.26h3.45v.993h-3.45z"/><path fill="url(#SVG9QsNwcZU)" d="M17.65 20.96h3.45v.993h-3.45z"/><path fill="url(#SVG1kIgneZE)" d="M17.65 18.66h3.45v.993h-3.45z"/><path fill="url(#SVGp2oQjdFa)" d="M17.65 16.36h3.45v.993h-3.45z"/><path fill="url(#SVGAFV8AN5B)" d="M17.65 14.06h3.45v.993h-3.45z"/><path fill="url(#SVGRkU6lbfc)" d="M17.65 11.76h3.45v.993h-3.45z"/><path fill="url(#SVGWUBOGcFP)" d="M17.65 9.461h3.45v.993h-3.45z"/><path fill="url(#SVGFcdVfdXh)" d="M17.65 7.161h3.45v.993h-3.45z"/><path fill="url(#SVGLioYKc8j)" d="M16.237 26.721h3.45v.993h-3.45z"/><path fill="url(#SVGIx7REdei)" d="M16.237 24.421h3.45v.993h-3.45z"/><path fill="url(#SVGownHpeLf)" d="M16.237 22.121h3.45v.993h-3.45z"/><path fill="url(#SVGZ4gzmcVN)" d="M16.237 19.821h3.45v.993h-3.45z"/><path fill="url(#SVGhAblbd0u)" d="M16.237 17.522h3.45v.993h-3.45z"/><path fill="url(#SVGBzD5PbgA)" d="M17.65 27.859h3.45v.993h-3.45z"/><path fill="url(#SVGcXb6lbYS)" d="M16.237 15.222h3.45v.993h-3.45z"/><path fill="url(#SVGKF6nobvx)" d="M16.237 12.922h3.45v.993h-3.45z"/><path fill="url(#SVGrU8zSORM)" d="M16.237 10.622h3.45v.993h-3.45z"/><path fill="url(#SVGuFw9gbIu)" d="M16.237 8.322h3.45v.993h-3.45z"/><path fill="url(#SVGXh7zWblD)" d="M16.237 29.018h3.45v.993h-3.45z"/><path fill="url(#SVGmzaoUw6y)" d="M20.1 5.911a.554.554 0 0 0-.548-.53h-.009v.557h.092l.206 2.514h-2.252l.211-2.514h.094v-.557h-.044a.55.55 0 0 0-.547.53l-.314 10.569a.513.513 0 0 0 .515.531h2.432a.51.51 0 0 0 .513-.531Zm-1.384 10.5a1.171 1.171 0 1 1 1.171-1.171a1.17 1.17 0 0 1-1.171 1.168Z"/><path fill="url(#SVGkZYaOeHC)" d="M18.096 3.802h1.24v3.054h-1.24z"/><path fill="url(#SVGVKO9QdOI)" d="M21.4 4.56a2.55 2.55 0 0 0-2.549-2.549h-.276a2.55 2.55 0 0 0-2.436 3.3v.006a8 8 0 0 1 .261 2.561a1.8 1.8 0 0 0 .641 1.271l.109-3.441a.593.593 0 0 1 .6-.551h.135v-1.57h1.653v1.57h.1a.6.6 0 0 1 .605.551l.121 3.462a1.8 1.8 0 0 0 .666-1.292V7.72a7.7 7.7 0 0 1 .236-2.359a2.5 2.5 0 0 0 .134-.801"/>'},hH={width:32,height:32,body:'<path fill="#a0bf55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M27.773 31.076a2.517 2.517 0 0 1-1.848-4.229l-1.67-2.54a4.23 4.23 0 0 1-3.847-.05l-1.662 1.77a2.161 2.161 0 1 1-1.105-.983l1.593-1.7a4.23 4.23 0 0 1-1.1-2.854a4 4 0 0 1 .021-.412l-3.8-1.166a2.517 2.517 0 1 1 .558-1.579c0 .067 0 .134-.009.2l3.646 1.119a4.23 4.23 0 0 1 3.092-2.349v-2.381a2.068 2.068 0 1 1 1.479 0v2.386A4.24 4.24 0 0 1 25.6 17.72l1.928-1.162a2 2 0 0 1-.015-.226a1.807 1.807 0 1 1 1.808 1.808a1.8 1.8 0 0 1-1.023-.319l-1.938 1.171a4.2 4.2 0 0 1 .275 1.5v.036l1.057.183a1.806 1.806 0 1 1-.34 1.443l-.987-.172a4.3 4.3 0 0 1-.91 1.448l1.752 2.67a2.519 2.519 0 1 1 .566 4.973Z"/><path fill="#486600" d="M29.122 20.129a1.68 1.68 0 0 0-1.379.721l-1.24-.215v-.14a4.1 4.1 0 0 0-.306-1.556l2.1-1.267a1.684 1.684 0 1 0-.64-1.05l-2.09 1.261A4.13 4.13 0 0 0 23 16.415v-2.58a1.943 1.943 0 1 0-1.23 0v2.58a4.14 4.14 0 0 0-3.149 2.394l-3.848-1.182a2.395 2.395 0 1 0-.461 1.145l3.979 1.222a4.1 4.1 0 0 0 1.119 3.355l-1.733 1.845a2.04 2.04 0 1 0 .921.816l1.786-1.91a4.11 4.11 0 0 0 3.915.043l1.787 2.717a2.391 2.391 0 1 0 1.066-.616l-1.861-2.83a4.1 4.1 0 0 0 .989-1.573l1.178.2a1.682 1.682 0 1 0 1.665-1.919Z"/>'},pH={width:32,height:32,body:'<path fill="#bfdb7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#bfdb7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M27.773 31.076a2.517 2.517 0 0 1-1.848-4.229l-1.67-2.54a4.23 4.23 0 0 1-3.847-.05l-1.662 1.77a2.161 2.161 0 1 1-1.105-.983l1.593-1.7a4.23 4.23 0 0 1-1.1-2.854a4 4 0 0 1 .021-.412l-3.8-1.166a2.517 2.517 0 1 1 .558-1.579c0 .067 0 .134-.009.2l3.646 1.119a4.23 4.23 0 0 1 3.092-2.349v-2.381a2.068 2.068 0 1 1 1.479 0v2.386A4.24 4.24 0 0 1 25.6 17.72l1.928-1.162a2 2 0 0 1-.015-.226a1.807 1.807 0 1 1 1.808 1.808a1.8 1.8 0 0 1-1.023-.319l-1.938 1.171a4.2 4.2 0 0 1 .275 1.5v.036l1.057.183a1.806 1.806 0 1 1-.34 1.443l-.987-.172a4.3 4.3 0 0 1-.91 1.448l1.752 2.67a2.519 2.519 0 1 1 .566 4.973Z"/><path fill="#486600" d="M29.122 20.129a1.68 1.68 0 0 0-1.379.721l-1.24-.215v-.14a4.1 4.1 0 0 0-.306-1.556l2.1-1.267a1.684 1.684 0 1 0-.64-1.05l-2.09 1.261A4.13 4.13 0 0 0 23 16.415v-2.58a1.943 1.943 0 1 0-1.23 0v2.58a4.14 4.14 0 0 0-3.149 2.394l-3.848-1.182a2.395 2.395 0 1 0-.461 1.145l3.979 1.222a4.1 4.1 0 0 0 1.119 3.355l-1.733 1.845a2.04 2.04 0 1 0 .921.816l1.786-1.91a4.11 4.11 0 0 0 3.915.043l1.787 2.717a2.391 2.391 0 1 0 1.066-.616l-1.861-2.83a4.1 4.1 0 0 0 .989-1.573l1.178.2a1.682 1.682 0 1 0 1.665-1.919Z"/>'},mH={width:32,height:32,body:'<path fill="#14622a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#7bdbab" d="M10 12.983v18.034h21V12.983Zm20.219 17.253H10.781V15.247h19.438Z"/><path fill="#7bdbab" d="M19.981 17.138c.352-.022.768-.15 1.071.107c.277.255.264.669.352 1.009a7 7 0 0 1 1.234.393c.26-.229.486-.564.856-.6c.329-.023.567.235.8.425a3 3 0 0 1 .685.679c.168.445-.2.822-.422 1.158a8 8 0 0 1 .55 1.1c.431.027 1.038-.07 1.241.425a5.1 5.1 0 0 1 .142 1.492c-.11.531-.743.551-1.174.646c-.072.393-.235.76-.342 1.143c.117.336.533.5.612.872c.085.405-.275.693-.5.981c-.216.228-.39.56-.727.621c-.438.079-.754-.295-1.109-.479a6.3 6.3 0 0 1-1.1.564c-.031.452.082 1.117-.452 1.316a5 5 0 0 1-1.518.117c-.525-.168-.494-.8-.612-1.242c-.39-.072-.748-.256-1.134-.329c-.352.249-.639.759-1.141.631a3.6 3.6 0 0 1-.851-.627c-.207-.186-.481-.38-.47-.69c-.021-.412.392-.666.47-1.04c-.14-.338-.352-.643-.486-.988c-.366-.033-.784.065-1.1-.16c-.295-.2-.278-.6-.321-.91a3 3 0 0 1 .012-.97c.207-.438.759-.416 1.161-.531a6.5 6.5 0 0 1 .352-1.174c-.235-.276-.574-.5-.655-.878c-.046-.345.235-.6.432-.849a2.7 2.7 0 0 1 .7-.7c.44-.146.794.22 1.134.433a6 6 0 0 1 1.157-.587c.093-.375-.053-.845.269-1.128c.233-.239.585-.19.884-.23m.117 3.828a2.144 2.144 0 1 0 1.908.566a2.14 2.14 0 0 0-1.908-.566"/>'},gH={width:32,height:32,body:'<path fill="#0b822c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#0b822c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#7bdbab" d="M10 12.983v18.034h21V12.983Zm20.219 17.253H10.781V15.247h19.438Z"/><path fill="#7bdbab" d="M19.981 17.138c.352-.022.768-.15 1.071.107c.277.255.264.669.352 1.009a7 7 0 0 1 1.234.393c.26-.229.486-.564.856-.6c.329-.023.567.235.8.425a3 3 0 0 1 .685.679c.168.445-.2.822-.422 1.158a8 8 0 0 1 .55 1.1c.431.027 1.038-.07 1.241.425a5.1 5.1 0 0 1 .142 1.492c-.11.531-.743.551-1.174.646c-.072.393-.235.76-.342 1.143c.117.336.533.5.612.872c.085.405-.275.693-.5.981c-.216.228-.39.56-.727.621c-.438.079-.754-.295-1.109-.479a6.3 6.3 0 0 1-1.1.564c-.031.452.082 1.117-.452 1.316a5 5 0 0 1-1.518.117c-.525-.168-.494-.8-.612-1.242c-.39-.072-.748-.256-1.134-.329c-.352.249-.639.759-1.141.631a3.6 3.6 0 0 1-.851-.627c-.207-.186-.481-.38-.47-.69c-.021-.412.392-.666.47-1.04c-.14-.338-.352-.643-.486-.988c-.366-.033-.784.065-1.1-.16c-.295-.2-.278-.6-.321-.91a3 3 0 0 1 .012-.97c.207-.438.759-.416 1.161-.531a6.5 6.5 0 0 1 .352-1.174c-.235-.276-.574-.5-.655-.878c-.046-.345.235-.6.432-.849a2.7 2.7 0 0 1 .7-.7c.44-.146.794.22 1.134.433a6 6 0 0 1 1.157-.587c.093-.375-.053-.845.269-1.128c.233-.239.585-.19.884-.23m.117 3.828a2.144 2.144 0 1 0 1.908.566a2.14 2.14 0 0 0-1.908-.566"/>'},EH={width:32,height:32,body:'<path fill="#ba5656" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><rect width="21" height="21" x="10" y="10" fill="#414141" rx="2.761" ry="2.761"/><path fill="#c2c2c2" d="M13.937 11.925h13.125a2.013 2.013 0 0 1 2.013 2.013v13.125a2.01 2.01 0 0 1-2.012 2.012H13.937a2.013 2.013 0 0 1-2.013-2.013V13.938a2.013 2.013 0 0 1 2.013-2.013"/><path fill="#414141" d="M13.937 13.325h13.126a.61.61 0 0 1 .612.612v13.126a.613.613 0 0 1-.613.613H13.938a.613.613 0 0 1-.613-.613V13.937a.61.61 0 0 1 .612-.612"/><path fill="#c2c2c2" d="M25.754 21.2h-1.1a4.2 4.2 0 0 1-.741 1.769l.78.78a.7.7 0 1 1-.99.99l-.786-.786a4.2 4.2 0 0 1-1.761.712v1.129a.7.7 0 0 1-1.4 0v-1.141a4.2 4.2 0 0 1-1.728-.735l-.82.82a.7.7 0 1 1-.99-.99l.826-.826a4.2 4.2 0 0 1-.707-1.723h-1.171a.7.7 0 1 1 0-1.4h1.174a4.2 4.2 0 0 1 .707-1.722l-.826-.826a.7.7 0 1 1 .99-.99l.819.82a4.2 4.2 0 0 1 1.729-.735v-1.14a.7.7 0 0 1 1.4 0v1.129a4.2 4.2 0 0 1 1.762.713l.786-.787a.7.7 0 0 1 .99.99l-.781.781a4.2 4.2 0 0 1 .741 1.768h1.1a.7.7 0 0 1 0 1.4Z"/><circle cx="20.5" cy="20.5" r="2.822" fill="#414141"/><circle cx="20.5" cy="20.5" r="1.121" fill="#c2c2c2"/>'},yH={width:32,height:32,body:'<path fill="#d87c7c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d87c7c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><rect width="21" height="21" x="10" y="10" fill="#414141" rx="2.761" ry="2.761"/><path fill="#c2c2c2" d="M13.937 11.925h13.125a2.013 2.013 0 0 1 2.013 2.013v13.125a2.01 2.01 0 0 1-2.012 2.012H13.937a2.013 2.013 0 0 1-2.013-2.013V13.938a2.013 2.013 0 0 1 2.013-2.013"/><path fill="#414141" d="M13.937 13.325h13.126a.61.61 0 0 1 .612.612v13.126a.613.613 0 0 1-.613.613H13.938a.613.613 0 0 1-.613-.613V13.937a.61.61 0 0 1 .612-.612"/><path fill="#c2c2c2" d="M25.754 21.2h-1.1a4.2 4.2 0 0 1-.741 1.769l.78.78a.7.7 0 1 1-.99.99l-.786-.786a4.2 4.2 0 0 1-1.761.712v1.129a.7.7 0 0 1-1.4 0v-1.141a4.2 4.2 0 0 1-1.728-.735l-.82.82a.7.7 0 1 1-.99-.99l.826-.826a4.2 4.2 0 0 1-.707-1.723h-1.171a.7.7 0 1 1 0-1.4h1.174a4.2 4.2 0 0 1 .707-1.722l-.826-.826a.7.7 0 1 1 .99-.99l.819.82a4.2 4.2 0 0 1 1.729-.735v-1.14a.7.7 0 0 1 1.4 0v1.129a4.2 4.2 0 0 1 1.762.713l.786-.787a.7.7 0 0 1 .99.99l-.781.781a4.2 4.2 0 0 1 .741 1.768h1.1a.7.7 0 0 1 0 1.4Z"/><circle cx="20.5" cy="20.5" r="2.822" fill="#414141"/><circle cx="20.5" cy="20.5" r="1.121" fill="#c2c2c2"/>'},bH={width:32,height:32,body:'<path fill="#5555bf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#00007f" d="M21.422 13a.68.68 0 0 0-.427.174l-5.7 4.74a.87.87 0 0 1-.716.246h-3.673a.9.9 0 0 0-.906.894s0 .008 0 .012v5.87a.9.9 0 0 0 .9.9h3.68a.87.87 0 0 1 .716.246l5.7 4.74c.391.325.811.168.811-.217V13.391a.37.37 0 0 0-.354-.391Zm7.328 1.725l-1.343 1.345a11.03 11.03 0 0 1 0 11.883l1.339 1.332a12.89 12.89 0 0 0 .004-14.561Zm-3.25 3.241L24.179 19.3a4.53 4.53 0 0 1 0 5.428l1.321 1.316a6.416 6.416 0 0 0 .008-8.077Z"/>'},vH={width:32,height:32,body:'<path fill="#7b7bdb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7b7bdb" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#00007f" d="M21.422 13a.68.68 0 0 0-.427.174l-5.7 4.74a.87.87 0 0 1-.716.246h-3.673a.9.9 0 0 0-.906.894s0 .008 0 .012v5.87a.9.9 0 0 0 .9.9h3.68a.87.87 0 0 1 .716.246l5.7 4.74c.391.325.811.168.811-.217V13.391a.37.37 0 0 0-.354-.391Zm7.328 1.725l-1.343 1.345a11.03 11.03 0 0 1 0 11.883l1.339 1.332a12.89 12.89 0 0 0 .004-14.561Zm-3.25 3.241L24.179 19.3a4.53 4.53 0 0 1 0 5.428l1.321 1.316a6.416 6.416 0 0 0 .008-8.077Z"/>'},CH={width:32,height:32,body:'<path fill="#c1539a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M10.454 16.071H27.03v11.101H10.454z"/><path fill="#eec06e" d="M26.944 15.6H10.557a.55.55 0 0 0-.557.54v11.811a.55.55 0 0 0 .557.54h6.275v.834s.02.749-.476.9c-.1.032-.429.1-.429.1a.338.338 0 1 0 0 .676h5.667a.338.338 0 1 0 0-.676a3 3 0 0 1-.469-.107a.79.79 0 0 1-.421-.639c-.029-.274-.014-1.09-.014-1.09h6.255a.55.55 0 0 0 .557-.54V16.136a.55.55 0 0 0-.558-.536m-.292 10.34h-15.8v-9.489h15.8Z"/><path fill="#fff" d="M18.54 22.132h10.688v8.848H18.54z"/><path fill="#f16d6f" d="M29.491 28.92v-6.811a.35.35 0 0 0-.357-.346h-10.67a.35.35 0 0 0-.356.346v6.806l-1.364 1.54c0 .22.172.527.383.527h13.345c.212 0 .384-.307.384-.527Zm-4.956 1.88h-1.471c-.126 0-.227-.217-.227-.327v-.012h1.922v.012c.003.11-.099.327-.224.327m4.385-2.323H18.68v-6.126h10.24Z"/><path fill="#fff" d="M23.926 21.534h6.795v9.223h-6.795z"/><path fill="#489cd6" d="M30.5 21.231h-6.261a.45.45 0 0 0-.458.444v8.886a.45.45 0 0 0 .458.443H30.5a.45.45 0 0 0 .458-.443v-8.887a.45.45 0 0 0-.458-.443m-3.131 9.527a.343.343 0 1 1 .343-.343a.343.343 0 0 1-.341.342Zm3.047-.919h-6.093v-8.046h6.095Z"/><path fill="#fff" d="M27.911 25.169h2.946v5.735h-2.946z"/><path fill="#d488b9" d="M30.726 25.127h-2.667a.27.27 0 0 0-.274.266v5.325a.27.27 0 0 0 .274.266h2.667a.27.27 0 0 0 .274-.266v-5.325a.27.27 0 0 0-.274-.266m-1.642.123h.616v.091h-.617Zm.309 5.585a.206.206 0 1 1 .205-.206a.206.206 0 0 1-.206.207Zm1.333-.586H28.06v-4.736h2.665Z"/>'},kH={width:32,height:32,body:'<path fill="#dd7ab9" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dd7ab9" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M10.454 16.071H27.03v11.101H10.454z"/><path fill="#eec06e" d="M26.944 15.6H10.557a.55.55 0 0 0-.557.54v11.811a.55.55 0 0 0 .557.54h6.275v.834s.02.749-.476.9c-.1.032-.429.1-.429.1a.338.338 0 1 0 0 .676h5.667a.338.338 0 1 0 0-.676a3 3 0 0 1-.469-.107a.79.79 0 0 1-.421-.639c-.029-.274-.014-1.09-.014-1.09h6.255a.55.55 0 0 0 .557-.54V16.136a.55.55 0 0 0-.558-.536m-.292 10.34h-15.8v-9.489h15.8Z"/><path fill="#fff" d="M18.54 22.132h10.688v8.848H18.54z"/><path fill="#f16d6f" d="M29.491 28.92v-6.811a.35.35 0 0 0-.357-.346h-10.67a.35.35 0 0 0-.356.346v6.806l-1.364 1.54c0 .22.172.527.383.527h13.345c.212 0 .384-.307.384-.527Zm-4.956 1.88h-1.471c-.126 0-.227-.217-.227-.327v-.012h1.922v.012c.003.11-.099.327-.224.327m4.385-2.323H18.68v-6.126h10.24Z"/><path fill="#fff" d="M23.926 21.534h6.795v9.223h-6.795z"/><path fill="#489cd6" d="M30.5 21.231h-6.261a.45.45 0 0 0-.458.444v8.886a.45.45 0 0 0 .458.443H30.5a.45.45 0 0 0 .458-.443v-8.887a.45.45 0 0 0-.458-.443m-3.131 9.527a.343.343 0 1 1 .343-.343a.343.343 0 0 1-.341.342Zm3.047-.919h-6.093v-8.046h6.095Z"/><path fill="#fff" d="M27.911 25.169h2.946v5.735h-2.946z"/><path fill="#d488b9" d="M30.726 25.127h-2.667a.27.27 0 0 0-.274.266v5.325a.27.27 0 0 0 .274.266h2.667a.27.27 0 0 0 .274-.266v-5.325a.27.27 0 0 0-.274-.266m-1.642.123h.616v.091h-.617Zm.309 5.585a.206.206 0 1 1 .205-.206a.206.206 0 0 1-.206.207Zm1.333-.586H28.06v-4.736h2.665Z"/>'},AH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#f1c40f" d="M31 17.672v-.009l-2.43-1.941a1 1 0 0 1-.085-.149a2.15 2.15 0 0 0-.642-.732a3.2 3.2 0 0 0-.973-.476l-1.12-.894c-.8-.637-1.6-1.279-2.4-1.914c-.057-.041-.078-.122-.113-.186a2.15 2.15 0 0 0-.642-.732A3.53 3.53 0 0 0 20.618 10H20.4a3.54 3.54 0 0 0-1.984.629a2.2 2.2 0 0 0-.639.711c-.033.059-.056.126-.093.182a1 1 0 0 1-.134.112l-2.3 1.833l-1.122.9a3.2 3.2 0 0 0-.959.468a2.2 2.2 0 0 0-.639.711c-.03.053-.053.113-.084.165L10 17.662v.007l5.251 4.193v.009l5.249 4.193l5.249-4.19v-.012Zm-2.692 1.006a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975m-10.719-6.349c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c.007-.368-.008-.733.01-1.096m-2.338 7.44a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.641.361m7.807 3.111a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975"/><path fill="#f39c12" d="M22.145 15.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m-5.25 4.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m11.759-2.885a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269M23.4 20.717a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269m-2.899 5.347L20.5 31L31 22.605v-4.932z"/><path fill="#e67e22" d="M18.914 15.231a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-2-.575a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.119.975m-5.662 2.603a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m10.5 0a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575M18.5 22.036a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m-3.25-.165v-.009L10 17.669v4.937c1.75 1.4 5.25 4.192 5.25 4.192v.01C17 28.21 20.5 31 20.5 31v-4.936Z"/>'},BH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#f1c40f" d="M31 17.672v-.009l-2.43-1.941a1 1 0 0 1-.085-.149a2.15 2.15 0 0 0-.642-.732a3.2 3.2 0 0 0-.973-.476l-1.12-.894c-.8-.637-1.6-1.279-2.4-1.914c-.057-.041-.078-.122-.113-.186a2.15 2.15 0 0 0-.642-.732A3.53 3.53 0 0 0 20.618 10H20.4a3.54 3.54 0 0 0-1.984.629a2.2 2.2 0 0 0-.639.711c-.033.059-.056.126-.093.182a1 1 0 0 1-.134.112l-2.3 1.833l-1.122.9a3.2 3.2 0 0 0-.959.468a2.2 2.2 0 0 0-.639.711c-.03.053-.053.113-.084.165L10 17.662v.007l5.251 4.193v.009l5.249 4.193l5.249-4.19v-.012Zm-2.692 1.006a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975m-10.719-6.349c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c.007-.368-.008-.733.01-1.096m-2.338 7.44a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.641.361m7.807 3.111a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975"/><path fill="#f39c12" d="M22.145 15.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m-5.25 4.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m11.759-2.885a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269M23.4 20.717a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269m-2.899 5.347L20.5 31L31 22.605v-4.932z"/><path fill="#e67e22" d="M18.914 15.231a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-2-.575a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.119.975m-5.662 2.603a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m10.5 0a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575M18.5 22.036a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m-3.25-.165v-.009L10 17.669v4.937c1.75 1.4 5.25 4.192 5.25 4.192v.01C17 28.21 20.5 31 20.5 31v-4.936Z"/>'},wH={width:32,height:32,body:'<path fill="#53a2c1" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#99b8c4" d="m26.049 26.785l.675-.671c3.123.1 3.171-.008 3.308-.329l.858-2.085l.064-.2l-.07-.173c-.037-.092-.15-.365-2.1-2.224v-.978c2.25-2.168 2.2-2.279 2.074-2.6L30 15.418c-.128-.317-.177-.44-3.278-.356l-.675-.7a15 15 0 0 0-.106-3.08l-.087-.2l-2.231-.975c-.329-.15-.444-.2-2.55 2.09l-.947-.014c-2.168-2.315-2.271-2.273-2.6-2.141l-2.074.839c-.325.131-.44.178-.314 3.328l-.67.668c-3.122-.1-3.17.009-3.305.329l-.86 2.09l-.068.2l.071.174c.037.09.146.36 2.1 2.222v.975c-2.25 2.168-2.2 2.279-2.072 2.6l.854 2.113c.131.323.177.438 3.277.357l.675.7a15 15 0 0 0 .1 3.075l.087.2l2.245.981c.326.137.44.185 2.54-2.1l.947.012c2.171 2.318 2.282 2.273 2.6 2.144l2.069-.836c.338-.131.452-.176.321-3.328m-8.894-4.893a3.718 3.718 0 1 1 4.866 2.118a3.76 3.76 0 0 1-4.866-2.118"/>'},DH={width:32,height:32,body:'<path fill="#7ac1dd" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7ac1dd" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#99b8c4" d="m26.049 26.785l.675-.671c3.123.1 3.171-.008 3.308-.329l.858-2.085l.064-.2l-.07-.173c-.037-.092-.15-.365-2.1-2.224v-.978c2.25-2.168 2.2-2.279 2.074-2.6L30 15.418c-.128-.317-.177-.44-3.278-.356l-.675-.7a15 15 0 0 0-.106-3.08l-.087-.2l-2.231-.975c-.329-.15-.444-.2-2.55 2.09l-.947-.014c-2.168-2.315-2.271-2.273-2.6-2.141l-2.074.839c-.325.131-.44.178-.314 3.328l-.67.668c-3.122-.1-3.17.009-3.305.329l-.86 2.09l-.068.2l.071.174c.037.09.146.36 2.1 2.222v.975c-2.25 2.168-2.2 2.279-2.072 2.6l.854 2.113c.131.323.177.438 3.277.357l.675.7a15 15 0 0 0 .1 3.075l.087.2l2.245.981c.326.137.44.185 2.54-2.1l.947.012c2.171 2.318 2.282 2.273 2.6 2.144l2.069-.836c.338-.131.452-.176.321-3.328m-8.894-4.893a3.718 3.718 0 1 1 4.866 2.118a3.76 3.76 0 0 1-4.866-2.118"/>'},FH={width:32,height:32,body:'<path fill="#bfa055" d="M27.9 6h-9.8l-2 4H5v17h25V6Zm.1 4h-7.8l1-2H28Z"/><path fill="#509ff7" d="M7.438 11.219a2.315 2.315 0 0 1 4.25.418a2.36 2.36 0 0 1 .013 1.309a2.313 2.313 0 1 1-4.263-1.727m1.9.1a1 1 0 0 0-.6 1.665a1 1 0 0 0 1.512-1.316a1.01 1.01 0 0 0-.917-.348Zm-1.829 7.939a2.314 2.314 0 0 1 4.185.562a2.36 2.36 0 0 1 0 1.309a2.313 2.313 0 1 1-4.186-1.871m1.729.243a1 1 0 1 0 1 .32a1.01 1.01 0 0 0-.999-.321ZM7.429 27.61a2.313 2.313 0 0 1 4.263.416a2.35 2.35 0 0 1 0 1.309a2.313 2.313 0 1 1-4.263-1.725m1.826.1a1 1 0 1 0 .863.21a1 1 0 0 0-.863-.211Z"/><path fill="#014798" d="M11.688 11.637a8.5 8.5 0 0 1 1.325.056A3.6 3.6 0 0 1 16 15.2a2.293 2.293 0 0 0 2.177 2.312c.352.01.7 0 1.056 0v1.308a7.5 7.5 0 0 1-1.828-.112A3.6 3.6 0 0 1 14.7 15.3a2.37 2.37 0 0 0-.332-1.245a2.3 2.3 0 0 0-1.454-1.049a6.3 6.3 0 0 0-1.208-.06a2.36 2.36 0 0 0-.018-1.309m16.22 6.39a.655.655 0 0 1 .916.014q.988.979 1.968 1.967a.66.66 0 0 1 .024.932q-.993 1-1.993 1.993a.652.652 0 0 1-.948-.894c.29-.3.591-.594.886-.891c-2.035-.017-4.071 0-6.107-.008v-1.306c2.036-.006 4.072 0 6.108 0c-.289-.3-.6-.59-.885-.894a.654.654 0 0 1 .031-.913M11.694 19.82h7.539v1.311c-2.512-.005-5.025 0-7.537 0a2.36 2.36 0 0 0-.002-1.311m5.967 2.38a10.6 10.6 0 0 1 1.571-.059v1.31c-.4.01-.808-.019-1.21.018a2.29 2.29 0 0 0-1.8 1.28A2.5 2.5 0 0 0 16 25.831a3.593 3.593 0 0 1-3.3 3.487c-.334.026-.669.013-1 .017a2.35 2.35 0 0 0 0-1.309a4.5 4.5 0 0 0 1.453-.125a2.3 2.3 0 0 0 1.544-2.111a3.64 3.64 0 0 1 .685-2.15a3.6 3.6 0 0 1 2.279-1.44"/><path fill="#f7b61a" d="M19.235 16.326a.65.65 0 0 1 .424-.589a1.2 1.2 0 0 1 .4-.044h1.939a.66.66 0 0 1 .579.355a1.1 1.1 0 0 1 .073.531v8.027a.657.657 0 0 1-.649.668c-.646.006-1.292 0-1.938 0a1.04 1.04 0 0 1-.457-.066a.65.65 0 0 1-.373-.563c-.009-.4 0-.8 0-1.2v-7.128m1.308.683v6.967h.8c.011-2.322 0-4.646 0-6.969q-.397.002-.8.002"/>'},SH={width:32,height:32,body:'<path fill="#dbc27b" d="M27.9 6h-9.7l-2 4H5v17h25V6Zm.1 18H7V12h21Zm.1-14h-7.8l1-2H28Z"/><path fill="#dbc27b" d="M25.9 14H.3l3.8 13h25.6z"/><path fill="#509ff7" d="M7.438 11.219a2.315 2.315 0 0 1 4.25.418a2.36 2.36 0 0 1 .013 1.309a2.313 2.313 0 1 1-4.263-1.727m1.9.1a1 1 0 0 0-.6 1.665a1 1 0 0 0 1.512-1.316a1.01 1.01 0 0 0-.917-.348Zm-1.829 7.939a2.314 2.314 0 0 1 4.185.562a2.36 2.36 0 0 1 0 1.309a2.313 2.313 0 1 1-4.186-1.871m1.729.243a1 1 0 1 0 1 .32a1.01 1.01 0 0 0-.999-.321ZM7.429 27.61a2.313 2.313 0 0 1 4.263.416a2.35 2.35 0 0 1 0 1.309a2.313 2.313 0 1 1-4.263-1.725m1.826.1a1 1 0 1 0 .863.21a1 1 0 0 0-.863-.211Z"/><path fill="#014798" d="M11.688 11.637a8.5 8.5 0 0 1 1.325.056A3.6 3.6 0 0 1 16 15.2a2.293 2.293 0 0 0 2.177 2.312c.352.01.7 0 1.056 0v1.308a7.5 7.5 0 0 1-1.828-.112A3.6 3.6 0 0 1 14.7 15.3a2.37 2.37 0 0 0-.332-1.245a2.3 2.3 0 0 0-1.454-1.049a6.3 6.3 0 0 0-1.208-.06a2.36 2.36 0 0 0-.018-1.309m16.22 6.39a.655.655 0 0 1 .916.014q.988.979 1.968 1.967a.66.66 0 0 1 .024.932q-.993 1-1.993 1.993a.652.652 0 0 1-.948-.894c.29-.3.591-.594.886-.891c-2.035-.017-4.071 0-6.107-.008v-1.306c2.036-.006 4.072 0 6.108 0c-.289-.3-.6-.59-.885-.894a.654.654 0 0 1 .031-.913M11.694 19.82h7.539v1.311c-2.512-.005-5.025 0-7.537 0a2.36 2.36 0 0 0-.002-1.311m5.967 2.38a10.6 10.6 0 0 1 1.571-.059v1.31c-.4.01-.808-.019-1.21.018a2.29 2.29 0 0 0-1.8 1.28A2.5 2.5 0 0 0 16 25.831a3.593 3.593 0 0 1-3.3 3.487c-.334.026-.669.013-1 .017a2.35 2.35 0 0 0 0-1.309a4.5 4.5 0 0 0 1.453-.125a2.3 2.3 0 0 0 1.544-2.111a3.64 3.64 0 0 1 .685-2.15a3.6 3.6 0 0 1 2.279-1.44"/><path fill="#f7b61a" d="M19.235 16.326a.65.65 0 0 1 .424-.589a1.2 1.2 0 0 1 .4-.044h1.939a.66.66 0 0 1 .579.355a1.1 1.1 0 0 1 .073.531v8.027a.657.657 0 0 1-.649.668c-.646.006-1.292 0-1.938 0a1.04 1.04 0 0 1-.457-.066a.65.65 0 0 1-.373-.563c-.009-.4 0-.8 0-1.2v-7.128m1.308.683v6.967h.8c.011-2.322 0-4.646 0-6.969q-.397.002-.8.002"/>'},MH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#ffebe3" d="M13.728 10.867h17.023v17.581H13.728z"/><path fill="#f20" d="M14.007 11.146h4.465v7.814h-4.465z"/><path fill="#00a302" d="M18.805 11.146h6.411v12.349h-6.411z"/><path fill="#f9ff16" d="M14.007 19.312h4.465v8.83h-4.465zm11.581-8.166h4.846v3.907h-4.846z"/><path fill="#f20" d="M25.588 15.405h2.628v2.628h-2.628z"/><path fill="#00a302" d="M25.588 18.406h4.846v3.558h-4.846zm2.854-3.001h1.992v2.628h-1.992z"/><path fill="#f20" d="M18.805 23.787H23.4v4.356h-4.595z"/><path fill="#00a302" d="M23.596 23.787h1.62v3.558h-1.62z"/><path fill="#f9ff16" d="M23.596 27.559h4.846v.583h-4.846z"/><path fill="#f20" d="M28.442 22.144h1.992v1.584h-1.992zm-2.854 0h2.628v1.584h-2.628zm0 1.838h1.992v1.992h-1.992z"/><path fill="#00a302" d="M27.744 23.982h2.69v2.628h-2.69zm-2.156 2.246h1.992v1.116h-1.992zm3.016.558h1.741v1.331h-1.741z"/><path fill="#f9ff16" d="M27.744 26.761h.698v.583h-.698z"/>'},NH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#ffebe3" d="M13.728 11.867h17.023v17.581H13.728z"/><path fill="#f20" d="M14.007 12.146h4.465v7.814h-4.465z"/><path fill="#00a302" d="M18.805 12.146h6.411v12.349h-6.411z"/><path fill="#f9ff16" d="M14.007 20.312h4.465v8.83h-4.465zm11.581-8.166h4.846v3.907h-4.846z"/><path fill="#f20" d="M25.588 16.405h2.628v2.628h-2.628z"/><path fill="#00a302" d="M25.588 19.406h4.846v3.558h-4.846zm2.854-3.001h1.992v2.628h-1.992z"/><path fill="#f20" d="M18.805 24.787H23.4v4.356h-4.595z"/><path fill="#00a302" d="M23.596 24.787h1.62v3.558h-1.62z"/><path fill="#f9ff16" d="M23.596 28.559h4.846v.583h-4.846z"/><path fill="#f20" d="M28.442 23.144h1.992v1.584h-1.992zm-2.854 0h2.628v1.584h-2.628zm0 1.838h1.992v1.992h-1.992z"/><path fill="#00a302" d="M27.744 24.982h2.69v2.628h-2.69zm-2.156 2.246h1.992v1.116h-1.992zm3.016.558h1.741v1.331h-1.741z"/><path fill="#f9ff16" d="M27.744 27.761h.698v.583h-.698z"/>'},_H={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#ffda44" d="M17.822 19.942a15.9 15.9 0 0 0 5.578.895a15.9 15.9 0 0 0 5.578-.9c1.4-.545 1.894-1.151 1.894-1.5v-2.662a7.8 7.8 0 0 1-1.563.807a16.7 16.7 0 0 1-5.909.977a16.8 16.8 0 0 1-5.909-.975a7.7 7.7 0 0 1-1.563-.809v2.663c0 .355.497.962 1.894 1.504m0 5.029a11.7 11.7 0 0 0 1.95.556a19.6 19.6 0 0 0 7.257 0a11.7 11.7 0 0 0 1.95-.556c1.4-.545 1.894-1.151 1.894-1.5v-2.542a8 8 0 0 1-1.269.619a17.6 17.6 0 0 1-6.2 1.007a17.6 17.6 0 0 1-6.2-1.011a8 8 0 0 1-1.269-.619v2.545c-.007.35.49.953 1.887 1.501"/><path fill="#ffda44" d="M23.4 31c4.125 0 7.472-1.308 7.472-2.921v-2.127a8 8 0 0 1-1.151.571l-.118.047a17.6 17.6 0 0 1-6.2 1.013a17.6 17.6 0 0 1-6.2-1.013l-.118-.047a8 8 0 0 1-1.151-.571v2.128C15.928 29.692 19.275 31 23.4 31"/><ellipse cx="23.4" cy="12.921" fill="#ffda44" rx="7.472" ry="2.921"/>'},jH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#ffda44" d="M17.822 19.942a15.9 15.9 0 0 0 5.578.895a15.9 15.9 0 0 0 5.578-.9c1.4-.545 1.894-1.151 1.894-1.5v-2.662a7.8 7.8 0 0 1-1.563.807a16.7 16.7 0 0 1-5.909.977a16.8 16.8 0 0 1-5.909-.975a7.7 7.7 0 0 1-1.563-.809v2.663c0 .355.497.962 1.894 1.504m0 5.029a11.7 11.7 0 0 0 1.95.556a19.6 19.6 0 0 0 7.257 0a11.7 11.7 0 0 0 1.95-.556c1.4-.545 1.894-1.151 1.894-1.5v-2.542a8 8 0 0 1-1.269.619a17.6 17.6 0 0 1-6.2 1.007a17.6 17.6 0 0 1-6.2-1.011a8 8 0 0 1-1.269-.619v2.545c-.007.35.49.953 1.887 1.501"/><path fill="#ffda44" d="M23.4 31c4.125 0 7.472-1.308 7.472-2.921v-2.127a8 8 0 0 1-1.151.571l-.118.047a17.6 17.6 0 0 1-6.2 1.013a17.6 17.6 0 0 1-6.2-1.013l-.118-.047a8 8 0 0 1-1.151-.571v2.128C15.928 29.692 19.275 31 23.4 31"/><ellipse cx="23.4" cy="12.921" fill="#ffda44" rx="7.472" ry="2.921"/>'},TH={width:32,height:32,body:'<defs><linearGradient id="SVGpSsxrdrd" x1="20.698" x2="17.514" y1="23.259" y2="34.062" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1f1f2"/><stop offset=".391" stop-color="#eaebec"/><stop offset="1" stop-color="#e6e7e8"/></linearGradient><linearGradient id="SVGZ8izfdlD" x1="29.221" x2="30.358" y1="11.689" y2="36.594" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e7e8"/><stop offset=".482" stop-color="#dbdcde"/><stop offset="1" stop-color="#d7d8da"/></linearGradient><linearGradient id="SVGu2Vpjckn" x1="26.177" x2="16.325" y1="9.571" y2="19.482" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff57e"/><stop offset="1" stop-color="#fdbf0f"/></linearGradient><linearGradient id="SVGiKVnueaF" x1="28.842" x2="30.965" y1="10.318" y2="21.502" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fbe574"/><stop offset="1" stop-color="#efab14"/></linearGradient></defs><path fill="#bc9f55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="url(#SVGpSsxrdrd)" d="M14.38 11.061L28.329 10v21L14.38 28.726z"/><path fill="url(#SVGZ8izfdlD)" d="m28.329 10l2.653 1.44l.038 16.793L28.329 31z"/><path fill="url(#SVGu2Vpjckn)" d="M28.329 17.783c-2.6-.518-4.338 3.293-6.394 4.865c-3.636 2.78-5.809-2.283-7.555-6.306V11.06c4.65-.513 9.3-.549 13.949-1.061z"/><path fill="url(#SVGiKVnueaF)" d="m31 22.909l-.017-11.474L28.329 10v7.775c1.752.139.94 4.956 2.671 5.134"/><path fill="#fdbf0f" d="m27.194 22.328l.06.108a3 3 0 0 0 .23-.272l-.07-.1a3 3 0 0 1-.22.264m.409-.56l.081.079a2 2 0 0 0 .151-.367l-.092-.052a2 2 0 0 1-.143.339Zm.291-1.127l-.1.031a1.5 1.5 0 0 1 .022.26v.121l.1.014q.005-.068.005-.135a2 2 0 0 0-.027-.292Zm-.123-.394a1.4 1.4 0 0 0-.207-.319l-.064.1a1.2 1.2 0 0 1 .187.288ZM27.3 19.7a1 1 0 0 0-.3-.125l-.018.134a1 1 0 0 1 .273.115Zm-.909-.089l.025.131a1 1 0 0 1 .284-.059v-.136a1.1 1.1 0 0 0-.308.067Zm-.525.325l-.029.026l.056.113l.028-.026a2 2 0 0 1 .223-.172l-.042-.123a2 2 0 0 0-.234.185Zm-.509.52l.063.105q.118-.132.233-.251l-.06-.108q-.115.124-.234.257Zm-.455.531l.066.1q.114-.137.225-.267l-.065-.1q-.11.132-.228.27Zm-.448.539l.066.1l.224-.269l-.066-.1Zm-.454.531l.064.1q.116-.132.228-.264l-.065-.1q-.108.133-.227.264m-.465.506l.06.108q.12-.125.236-.251l-.062-.106q-.111.125-.23.249Zm-.483.471l.055.113q.126-.115.247-.233L23.3 22.8q-.12.121-.244.234Zm-.5.424l.049.118q.132-.1.259-.208l-.052-.115q-.127.106-.257.206Zm-.528.366l.041.124q.138-.085.271-.178l-.045-.121q-.132.092-.267.176Zm-.549.3l.032.128q.143-.067.282-.142l-.037-.126q-.137.073-.278.14Zm-.568.222l.023.132q.148-.047.291-.1l-.027-.131q-.142.053-.288.099Zm-.582.143l.013.135q.151-.026.3-.062l-.018-.134q-.147.035-.295.061m-.519.059h-.069v.136h.072q.116-.006.229-.018l-.008-.135q-.111.011-.225.017Zm-.67.075a3 3 0 0 0 .3.051l.008-.135a2 2 0 0 1-.291-.05Zm-.584-.208a3 3 0 0 0 .289.121l.025-.131a3 3 0 0 1-.281-.118ZM18 24.086q.134.095.272.177l.04-.124q-.135-.08-.266-.173Zm-.517-.42q.125.115.254.22l.051-.116q-.127-.1-.25-.216ZM17 23.175q.116.13.237.253l.059-.109q-.119-.121-.234-.249Zm-.449-.544q.108.141.221.277l.066-.1q-.111-.134-.218-.274Zm-.42-.586q.1.15.207.3l.071-.095l-.2-.294Zm-.394-.619q.094.156.194.313l.069-.088q-.1-.155-.192-.31Zm-.369-.645q.087.161.182.326l.078-.084q-.094-.164-.18-.323Zm-.347-.668q.081.163.171.337l.081-.078q-.09-.173-.169-.334Zm-.325-.689q.071.16.16.347l.084-.073a16 16 0 0 1-.158-.345Zm-.212-.776l-.088.062s.051.135.147.362l.083-.072q-.072-.168-.108-.263c-.036-.095-.037-.09-.037-.09Zm12.354-.491l.068.424v.021l.017.012l.352.246l.02-.09l-1 .162l.049.078l.584-.832Zm-.527.873l1-.162l.121-.02l-.1-.07l-.352-.246l.021.033l-.068-.424l-.019-.121l-.07.1l-.584.832l-.068.1Z"/>'},zH={width:32,height:32,body:'<defs><linearGradient id="SVGpSsxrdrd" x1="20.698" x2="17.514" y1="23.259" y2="34.062" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1f1f2"/><stop offset=".391" stop-color="#eaebec"/><stop offset="1" stop-color="#e6e7e8"/></linearGradient><linearGradient id="SVGZ8izfdlD" x1="29.221" x2="30.358" y1="11.689" y2="36.594" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e7e8"/><stop offset=".482" stop-color="#dbdcde"/><stop offset="1" stop-color="#d7d8da"/></linearGradient><linearGradient id="SVGu2Vpjckn" x1="26.177" x2="16.325" y1="9.571" y2="19.482" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff57e"/><stop offset="1" stop-color="#fdbf0f"/></linearGradient><linearGradient id="SVGiKVnueaF" x1="28.842" x2="30.965" y1="10.318" y2="21.502" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fbe574"/><stop offset="1" stop-color="#efab14"/></linearGradient></defs><path fill="#d8be7c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d8be7c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="url(#SVGpSsxrdrd)" d="M14.38 11.061L28.329 10v21L14.38 28.726z"/><path fill="url(#SVGZ8izfdlD)" d="m28.329 10l2.653 1.44l.038 16.793L28.329 31z"/><path fill="url(#SVGu2Vpjckn)" d="M28.329 17.783c-2.6-.518-4.338 3.293-6.394 4.865c-3.636 2.78-5.809-2.283-7.555-6.306V11.06c4.65-.513 9.3-.549 13.949-1.061z"/><path fill="url(#SVGiKVnueaF)" d="m31 22.909l-.017-11.474L28.329 10v7.775c1.752.139.94 4.956 2.671 5.134"/><path fill="#fdbf0f" d="m27.194 22.328l.06.108a3 3 0 0 0 .23-.272l-.07-.1a3 3 0 0 1-.22.264m.409-.56l.081.079a2 2 0 0 0 .151-.367l-.092-.052a2 2 0 0 1-.143.339Zm.291-1.127l-.1.031a1.5 1.5 0 0 1 .022.26v.121l.1.014q.005-.068.005-.135a2 2 0 0 0-.027-.292Zm-.123-.394a1.4 1.4 0 0 0-.207-.319l-.064.1a1.2 1.2 0 0 1 .187.288ZM27.3 19.7a1 1 0 0 0-.3-.125l-.018.134a1 1 0 0 1 .273.115Zm-.909-.089l.025.131a1 1 0 0 1 .284-.059v-.136a1.1 1.1 0 0 0-.308.067Zm-.525.325l-.029.026l.056.113l.028-.026a2 2 0 0 1 .223-.172l-.042-.123a2 2 0 0 0-.234.185Zm-.509.52l.063.105q.118-.132.233-.251l-.06-.108q-.115.124-.234.257Zm-.455.531l.066.1q.114-.137.225-.267l-.065-.1q-.11.132-.228.27Zm-.448.539l.066.1l.224-.269l-.066-.1Zm-.454.531l.064.1q.116-.132.228-.264l-.065-.1q-.108.133-.227.264m-.465.506l.06.108q.12-.125.236-.251l-.062-.106q-.111.125-.23.249Zm-.483.471l.055.113q.126-.115.247-.233L23.3 22.8q-.12.121-.244.234Zm-.5.424l.049.118q.132-.1.259-.208l-.052-.115q-.127.106-.257.206Zm-.528.366l.041.124q.138-.085.271-.178l-.045-.121q-.132.092-.267.176Zm-.549.3l.032.128q.143-.067.282-.142l-.037-.126q-.137.073-.278.14Zm-.568.222l.023.132q.148-.047.291-.1l-.027-.131q-.142.053-.288.099Zm-.582.143l.013.135q.151-.026.3-.062l-.018-.134q-.147.035-.295.061m-.519.059h-.069v.136h.072q.116-.006.229-.018l-.008-.135q-.111.011-.225.017Zm-.67.075a3 3 0 0 0 .3.051l.008-.135a2 2 0 0 1-.291-.05Zm-.584-.208a3 3 0 0 0 .289.121l.025-.131a3 3 0 0 1-.281-.118ZM18 24.086q.134.095.272.177l.04-.124q-.135-.08-.266-.173Zm-.517-.42q.125.115.254.22l.051-.116q-.127-.1-.25-.216ZM17 23.175q.116.13.237.253l.059-.109q-.119-.121-.234-.249Zm-.449-.544q.108.141.221.277l.066-.1q-.111-.134-.218-.274Zm-.42-.586q.1.15.207.3l.071-.095l-.2-.294Zm-.394-.619q.094.156.194.313l.069-.088q-.1-.155-.192-.31Zm-.369-.645q.087.161.182.326l.078-.084q-.094-.164-.18-.323Zm-.347-.668q.081.163.171.337l.081-.078q-.09-.173-.169-.334Zm-.325-.689q.071.16.16.347l.084-.073a16 16 0 0 1-.158-.345Zm-.212-.776l-.088.062s.051.135.147.362l.083-.072q-.072-.168-.108-.263c-.036-.095-.037-.09-.037-.09Zm12.354-.491l.068.424v.021l.017.012l.352.246l.02-.09l-1 .162l.049.078l.584-.832Zm-.527.873l1-.162l.121-.02l-.1-.07l-.352-.246l.021.033l-.068-.424l-.019-.121l-.07.1l-.584.832l-.068.1Z"/>'},RH={width:32,height:32,body:'<path fill="#c05454" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="gray" d="M15.266 11.311v18.375h14.449v-15.1h-3.6v-3.275zm12.146.813l.008 1.158h1.252l-1.26-1.16Z"/><path fill="#c5c5c5" d="M27.028 10H15.281a1.316 1.316 0 0 0-1.312 1.313v18.375A1.316 1.316 0 0 0 15.281 31h14.438a1.316 1.316 0 0 0 1.313-1.312V13.642Zm.394 2.133l1.247 1.148h-1.247ZM15.281 29.688V11.313h10.828v3.281h3.609v15.094Z"/><path fill="#c5c5c5" d="M16.594 19.372h11.813v1.313H16.594zm1.842-6.8a1.4 1.4 0 0 0-.558-.394a2.05 2.05 0 0 0-.82-.131h-1.28v3.839h1.28a1.66 1.66 0 0 0 1.313-.492a1.8 1.8 0 0 0 .361-.591a3 3 0 0 0 .1-.82a3 3 0 0 0-.1-.788a1.6 1.6 0 0 0-.296-.623m-.459 1.837a1 1 0 0 1-.164.394a.8.8 0 0 1-.3.262a1.1 1.1 0 0 1-.492.1H16.6v-2.429h.459a.87.87 0 0 1 .722.3a1.2 1.2 0 0 1 .164.361a2.6 2.6 0 0 1 .066.525a2.2 2.2 0 0 1-.035.488Zm4.002-1.837a1.4 1.4 0 0 0-.525-.427a1.7 1.7 0 0 0-.755-.164a2 2 0 0 0-.788.164a1.7 1.7 0 0 0-.525.427a2.2 2.2 0 0 0-.3.623a2.94 2.94 0 0 0 0 1.509a1.8 1.8 0 0 0 .3.623a1.13 1.13 0 0 0 .525.427a1.9 1.9 0 0 0 .788.164a1.42 1.42 0 0 0 1.214-.525a2.1 2.1 0 0 0 .427-1.444a2.8 2.8 0 0 0-.1-.755a1.33 1.33 0 0 0-.261-.622M21.29 14.9a.7.7 0 0 1-.623.328a.64.64 0 0 1-.623-.328a1.87 1.87 0 0 1-.2-.952a1.8 1.8 0 0 1 .2-.952a.806.806 0 0 1 1.247 0a1.87 1.87 0 0 1 .2.952a1.8 1.8 0 0 1-.201.952m3.41-.031a.7.7 0 0 1-.131.164a.7.7 0 0 1-.2.131a.6.6 0 0 1-.263.033a.575.575 0 0 1-.558-.3a1.8 1.8 0 0 1-.2-.952v-.262c0-.1.033-.2.033-.3c.033-.1.033-.2.066-.263a.53.53 0 0 1 .131-.23a1 1 0 0 1 .2-.164a.6.6 0 0 1 .263-.066a.57.57 0 0 1 .427.164a1.1 1.1 0 0 1 .23.394l.755-.2a1.6 1.6 0 0 0-.23-.525a1.6 1.6 0 0 0-.328-.328a1.88 1.88 0 0 0-1.608-.033a1.55 1.55 0 0 0-.492.427a1.3 1.3 0 0 0-.164.656a2.7 2.7 0 0 0-.066.722a5 5 0 0 0 .066.722a1.8 1.8 0 0 0 .262.623a1.2 1.2 0 0 0 .492.427a1.7 1.7 0 0 0 .755.164a1.6 1.6 0 0 0 .919-.262a1.6 1.6 0 0 0 .328-.328a3.3 3.3 0 0 0 .263-.492l-.788-.2a.9.9 0 0 1-.162.278m-8.106 12.936h8.203v1.313h-8.203zm0-2.533h11.813v1.313H16.594zm0-3h11.813v1.313H16.594zm.055-5.8h11.813v1.313H16.649z"/>'},OH={width:32,height:32,body:'<path fill="#dc7a7a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dc7a7a" d="M4.3 26.5h25.2l-3.8-12.8H.5z"/><path fill="gray" d="M15.266 11.311v18.375h14.449v-15.1h-3.6v-3.275zm12.146.813l.008 1.158h1.252l-1.26-1.16Z"/><path fill="#c5c5c5" d="M27.028 10H15.281a1.316 1.316 0 0 0-1.312 1.313v18.375A1.316 1.316 0 0 0 15.281 31h14.438a1.316 1.316 0 0 0 1.313-1.312V13.642Zm.394 2.133l1.247 1.148h-1.247ZM15.281 29.688V11.313h10.828v3.281h3.609v15.094Z"/><path fill="#c5c5c5" d="M16.594 19.372h11.813v1.313H16.594zm1.842-6.8a1.4 1.4 0 0 0-.558-.394a2.05 2.05 0 0 0-.82-.131h-1.28v3.839h1.28a1.66 1.66 0 0 0 1.313-.492a1.8 1.8 0 0 0 .361-.591a3 3 0 0 0 .1-.82a3 3 0 0 0-.1-.788a1.6 1.6 0 0 0-.296-.623m-.459 1.837a1 1 0 0 1-.164.394a.8.8 0 0 1-.3.262a1.1 1.1 0 0 1-.492.1H16.6v-2.429h.459a.87.87 0 0 1 .722.3a1.2 1.2 0 0 1 .164.361a2.6 2.6 0 0 1 .066.525a2.2 2.2 0 0 1-.035.488Zm4.002-1.837a1.4 1.4 0 0 0-.525-.427a1.7 1.7 0 0 0-.755-.164a2 2 0 0 0-.788.164a1.7 1.7 0 0 0-.525.427a2.2 2.2 0 0 0-.3.623a2.94 2.94 0 0 0 0 1.509a1.8 1.8 0 0 0 .3.623a1.13 1.13 0 0 0 .525.427a1.9 1.9 0 0 0 .788.164a1.42 1.42 0 0 0 1.214-.525a2.1 2.1 0 0 0 .427-1.444a2.8 2.8 0 0 0-.1-.755a1.33 1.33 0 0 0-.261-.622M21.29 14.9a.7.7 0 0 1-.623.328a.64.64 0 0 1-.623-.328a1.87 1.87 0 0 1-.2-.952a1.8 1.8 0 0 1 .2-.952a.806.806 0 0 1 1.247 0a1.87 1.87 0 0 1 .2.952a1.8 1.8 0 0 1-.201.952m3.41-.031a.7.7 0 0 1-.131.164a.7.7 0 0 1-.2.131a.6.6 0 0 1-.263.033a.575.575 0 0 1-.558-.3a1.8 1.8 0 0 1-.2-.952v-.262c0-.1.033-.2.033-.3c.033-.1.033-.2.066-.263a.53.53 0 0 1 .131-.23a1 1 0 0 1 .2-.164a.6.6 0 0 1 .263-.066a.57.57 0 0 1 .427.164a1.1 1.1 0 0 1 .23.394l.755-.2a1.6 1.6 0 0 0-.23-.525a1.6 1.6 0 0 0-.328-.328a1.88 1.88 0 0 0-1.608-.033a1.55 1.55 0 0 0-.492.427a1.3 1.3 0 0 0-.164.656a2.7 2.7 0 0 0-.066.722a5 5 0 0 0 .066.722a1.8 1.8 0 0 0 .262.623a1.2 1.2 0 0 0 .492.427a1.7 1.7 0 0 0 .755.164a1.6 1.6 0 0 0 .919-.262a1.6 1.6 0 0 0 .328-.328a3.3 3.3 0 0 0 .263-.492l-.788-.2a.9.9 0 0 1-.162.278m-8.106 12.936h8.203v1.313h-8.203zm0-2.533h11.813v1.313H16.594zm0-3h11.813v1.313H16.594zm.055-5.8h11.813v1.313H16.649z"/>'},LH={width:32,height:32,body:'<path fill="#bf7f55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#cfcfcf" d="m18.008 24.674l-1.969-5.882l-2.021 5.882Zm5.046 6.126h-5.306v-1.287l.344-.021c.535-.035.694-.154.729-.191a.32.32 0 0 0 .109-.247a4.7 4.7 0 0 0-.314-1.316l-.609-1.816h-4.016l-.691 2.023a3.8 3.8 0 0 0-.262 1.088a.3.3 0 0 0 .115.227c.029.028.2.17.893.232l.336.031V30.8H10v-1.236l.3-.066c.589-.13.731-.273.754-.3a6.4 6.4 0 0 0 .885-1.942L16.116 15h.78l4.134 12.387a5.3 5.3 0 0 0 .791 1.726a1.3 1.3 0 0 0 .892.379l.34.026Zm4.827-2.573v-3.746a15 15 0 0 0-1.67.912a3.15 3.15 0 0 0-.968.988a2.25 2.25 0 0 0-.291 1.127a2.13 2.13 0 0 0 .368 1.281a1.05 1.05 0 0 0 .848.512a2.9 2.9 0 0 0 1.713-1.074M25.381 31a1.94 1.94 0 0 1-1.6-.84a3.5 3.5 0 0 1-.624-2.148a3.34 3.34 0 0 1 .311-1.482A4.24 4.24 0 0 1 24.806 25a16.4 16.4 0 0 1 2.713-1.493v-.07a3.3 3.3 0 0 0-.287-1.723a.9.9 0 0 0-.806-.387a.76.76 0 0 0-.612.245a.72.72 0 0 0-.208.5l.017.607a1.77 1.77 0 0 1-.3 1.089a.96.96 0 0 1-1.577-.018a1.8 1.8 0 0 1-.293-1.066a2.87 2.87 0 0 1 .887-2.047a3.13 3.13 0 0 1 2.344-.876a3.37 3.37 0 0 1 1.881.493a2.36 2.36 0 0 1 .909 1.265a7.5 7.5 0 0 1 .183 2.066v3.338c0 1.191.024 1.542.038 1.645a.7.7 0 0 0 .04.188c.064-.074.213-.212.648-.758l.617-.772v1.849l-.072.121c-.718 1.207-1.412 1.793-2.122 1.793a1.11 1.11 0 0 1-.943-.524a1.9 1.9 0 0 1-.269-.7a7.4 7.4 0 0 1-1.075.918a2.24 2.24 0 0 1-1.138.317"/>'},PH={width:32,height:32,body:'<path fill="#dba17b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dba17b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#cfcfcf" d="m18.008 24.674l-1.969-5.882l-2.021 5.882Zm5.046 6.126h-5.306v-1.287l.344-.021c.535-.035.694-.154.729-.191a.32.32 0 0 0 .109-.247a4.7 4.7 0 0 0-.314-1.316l-.609-1.816h-4.016l-.691 2.023a3.8 3.8 0 0 0-.262 1.088a.3.3 0 0 0 .115.227c.029.028.2.17.893.232l.336.031V30.8H10v-1.236l.3-.066c.589-.13.731-.273.754-.3a6.4 6.4 0 0 0 .885-1.942L16.116 15h.78l4.134 12.387a5.3 5.3 0 0 0 .791 1.726a1.3 1.3 0 0 0 .892.379l.34.026Zm4.827-2.573v-3.746a15 15 0 0 0-1.67.912a3.15 3.15 0 0 0-.968.988a2.25 2.25 0 0 0-.291 1.127a2.13 2.13 0 0 0 .368 1.281a1.05 1.05 0 0 0 .848.512a2.9 2.9 0 0 0 1.713-1.074M25.381 31a1.94 1.94 0 0 1-1.6-.84a3.5 3.5 0 0 1-.624-2.148a3.34 3.34 0 0 1 .311-1.482A4.24 4.24 0 0 1 24.806 25a16.4 16.4 0 0 1 2.713-1.493v-.07a3.3 3.3 0 0 0-.287-1.723a.9.9 0 0 0-.806-.387a.76.76 0 0 0-.612.245a.72.72 0 0 0-.208.5l.017.607a1.77 1.77 0 0 1-.3 1.089a.96.96 0 0 1-1.577-.018a1.8 1.8 0 0 1-.293-1.066a2.87 2.87 0 0 1 .887-2.047a3.13 3.13 0 0 1 2.344-.876a3.37 3.37 0 0 1 1.881.493a2.36 2.36 0 0 1 .909 1.265a7.5 7.5 0 0 1 .183 2.066v3.338c0 1.191.024 1.542.038 1.645a.7.7 0 0 0 .04.188c.064-.074.213-.212.648-.758l.617-.772v1.849l-.072.121c-.718 1.207-1.412 1.793-2.122 1.793a1.11 1.11 0 0 1-.943-.524a1.9 1.9 0 0 1-.269-.7a7.4 7.4 0 0 1-1.075.918a2.24 2.24 0 0 1-1.138.317"/>'},GH={width:32,height:32,body:'<path fill="#9b9b9b" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" fill-rule="evenodd" d="M31 20.5A10.5 10.5 0 1 1 20.5 10A10.5 10.5 0 0 1 31 20.5"/><path fill="#333" fill-rule="evenodd" d="M23.013 27.6a2.5 2.5 0 0 0-.713-1.944c2.339-.26 4.794-1.148 4.794-5.181a4.05 4.05 0 0 0-1.079-2.818a3.77 3.77 0 0 0-.105-2.779s-.88-.282-2.884 1.077a9.94 9.94 0 0 0-5.258 0c-2.005-1.359-2.887-1.077-2.887-1.077a3.78 3.78 0 0 0-.1 2.779A4.06 4.06 0 0 0 13.7 20.47c0 4.023 2.451 4.924 4.783 5.189a2.25 2.25 0 0 0-.667 1.4a2.234 2.234 0 0 1-3.055-.873a2.21 2.21 0 0 0-1.609-1.082s-1.025-.013-.072.639a2.78 2.78 0 0 1 1.166 1.535s.616 2.043 3.537 1.408c0 .876.014 1.537.014 1.786a.6.6 0 0 1-.032.177a10.2 10.2 0 0 0 5.27 0a.6.6 0 0 1-.035-.173c0-.344.013-1.476.013-2.876"/>'},HH={width:32,height:32,body:'<path fill="#bbb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v4H.5l3.8 12.8h25.2v-21Zm-7.2 2.1h7.1v2.1h-8.1Zm5.5 6.1H6.6v-1.9h20.8v7.626Z"/><path fill="#fff" fill-rule="evenodd" d="M31 20.5A10.5 10.5 0 1 1 20.5 10A10.5 10.5 0 0 1 31 20.5"/><path fill="#333" fill-rule="evenodd" d="M23.013 27.6a2.5 2.5 0 0 0-.713-1.944c2.339-.26 4.794-1.148 4.794-5.181a4.05 4.05 0 0 0-1.079-2.818a3.77 3.77 0 0 0-.105-2.779s-.88-.282-2.884 1.077a9.94 9.94 0 0 0-5.258 0c-2.005-1.359-2.887-1.077-2.887-1.077a3.78 3.78 0 0 0-.1 2.779A4.06 4.06 0 0 0 13.7 20.47c0 4.023 2.451 4.924 4.783 5.189a2.25 2.25 0 0 0-.667 1.4a2.234 2.234 0 0 1-3.055-.873a2.21 2.21 0 0 0-1.609-1.082s-1.025-.013-.072.639a2.78 2.78 0 0 1 1.166 1.535s.616 2.043 3.537 1.408c0 .876.014 1.537.014 1.786a.6.6 0 0 1-.032.177a10.2 10.2 0 0 0 5.27 0a.6.6 0 0 1-.035-.173c0-.344.013-1.476.013-2.876"/>'},VH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#61dbfb" d="M22.364 15.607c.463.77 1.395 1.172 1.934 1.357l.116.042c.156 4.532.117 5.029-.116 5.966c-.35 1.404-1.427 3.248-3.558 3.217c-2.13-.03-2.248-1.47-2.403-2.397s.008-3.05 0-3.1c-.015-.108.57.026 1.3 0q.782-.027 1.375 0q-2.01-2.271-2.157-2.417c-.006-.006-1.084-.856-2.55-2.548a63 63 0 0 0 0 2.661c.015.863-.036 3.071 0 4.408s.227 3.647 1.055 4.394c.827.746 1.285 1.236 3.652 1.303s3.747-1.661 4.438-2.303c.692-.643 1.186-2.212 1.279-3.218q.049-.537.024-5.516q-.012.476-.024-.45q.253-.105.282-.115c1-.401 1.174-.777 1.626-1.284c.453-.507.704-3.168 0-4.021c-.704-.854-.954-1.077-1.908-1.313s-1.741-.134-2.43 0s-1.371.658-1.935 1.313s-.465 3.25 0 4.02m2.214-.173c-.739-.366-1.177-1.186-1.063-1.979c.097-.646.49-1.19 1.063-1.474c.481-.239.955-.27 1.463-.104c.89.288 1.455 1.231 1.294 2.144c-.231 1.282-1.602 1.982-2.756 1.412"/>'},IH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#61dbfb" d="M22.364 15.607c.463.77 1.395 1.172 1.934 1.357l.116.042c.156 4.532.117 5.029-.116 5.966c-.35 1.404-1.427 3.248-3.558 3.217c-2.13-.03-2.248-1.47-2.403-2.397s.008-3.05 0-3.1c-.015-.108.57.026 1.3 0q.782-.027 1.375 0q-2.01-2.271-2.157-2.417c-.006-.006-1.084-.856-2.55-2.548a63 63 0 0 0 0 2.661c.015.863-.036 3.071 0 4.408s.227 3.647 1.055 4.394c.827.746 1.285 1.236 3.652 1.303s3.747-1.661 4.438-2.303c.692-.643 1.186-2.212 1.279-3.218q.049-.537.024-5.516q-.012.476-.024-.45q.253-.105.282-.115c1-.401 1.174-.777 1.626-1.284c.453-.507.704-3.168 0-4.021c-.704-.854-.954-1.077-1.908-1.313s-1.741-.134-2.43 0s-1.371.658-1.935 1.313s-.465 3.25 0 4.02m2.214-.173c-.739-.366-1.177-1.186-1.063-1.979c.097-.646.49-1.19 1.063-1.474c.481-.239.955-.27 1.463-.104c.89.288 1.455 1.231 1.294 2.144c-.231 1.282-1.602 1.982-2.756 1.412"/>'},UH={width:32,height:32,body:'<path fill="#55bfa0" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#2dcc9f" d="M31 15.778V31H10V15.777h21"/><path fill="#fff" d="M26.674 17.8a1.653 1.653 0 1 0 .845.467a1.66 1.66 0 0 0-.845-.467m-4.591 8.667L18 20.786l-6.062 8.428h8.174q.987-1.374 1.976-2.747m2.955-3.076l-4.188 5.824h8.377q-2.094-2.915-4.189-5.824"/>'},ZH={width:32,height:32,body:'<path fill="#7bdbc0" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7bdbc0" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#2dcc9f" d="M31 15.778V31H10V15.777h21"/><path fill="#fff" d="M26.674 17.8a1.653 1.653 0 1 0 .845.467a1.66 1.66 0 0 0-.845-.467m-4.591 8.667L18 20.786l-6.062 8.428h8.174q.987-1.374 1.976-2.747m2.955-3.076l-4.188 5.824h8.377q-2.094-2.915-4.189-5.824"/>'},$H={width:32,height:32,body:'<path fill="#c18053" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#59c2f2" d="m13.065 26.488l-.383-.365v-.753a4.48 4.48 0 0 0 5.557 0v.753l-.383.365a3.47 3.47 0 0 1-4.791 0"/><path fill="#59c2f2" d="M12.682 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#8abf4f" d="m23.968 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#8abf4f" d="M18.794 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.335v-1.111h-3.334Zm1.668 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#b533a5" d="m30.081 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#b533a5" d="M24.907 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/>'},qH={width:32,height:32,body:'<path fill="#dda27a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dda27a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#59c2f2" d="m13.065 26.488l-.383-.365v-.753a4.48 4.48 0 0 0 5.557 0v.753l-.383.365a3.47 3.47 0 0 1-4.791 0"/><path fill="#59c2f2" d="M12.682 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#8abf4f" d="m23.968 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#8abf4f" d="M18.794 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.335v-1.111h-3.334Zm1.668 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#b533a5" d="m30.081 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#b533a5" d="M24.907 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/>'},QH={width:32,height:32,body:'<path fill="#bfa855" d="M27.9 6h-9.8l-2 4H5v17h25V6Zm.1 4h-7.8l1-2H28Z"/><path fill="#40474d" d="M14.54 11.41a2.076 2.076 0 0 1 2.724-1.21c2.191 1.057 4.714 1.79 7.122 1.032q.556-.149 1.1-.347c1.023-.319 2.082-1.239 3.185-.689a4.54 4.54 0 0 1 1.847 3a21 21 0 0 1-.044 8.83a13.7 13.7 0 0 1-3.506 7.026A6.84 6.84 0 0 1 22.711 31q-.5 0-1-.016a6.78 6.78 0 0 1-4.744-2.419c-2.486-2.966-3.347-6.938-3.534-10.718a13.7 13.7 0 0 1 1.107-6.437m1.281 6.5a7.16 7.16 0 0 1 4.831-.014c-.29-2.344-4.52-2.317-4.831.014m7.908-.023a8.03 8.03 0 0 1 4.821-.05c-.408-2.271-4.46-2.242-4.821.05m-5.694 6.15a2.98 2.98 0 0 0 2.279 2.717a5.52 5.52 0 0 0 5.17-.792a2.9 2.9 0 0 0 .923-1.922a12.55 12.55 0 0 1-8.372.001Z"/><path fill="#fac502" d="M15.821 17.914c.311-2.331 4.541-2.358 4.831-.014a7.16 7.16 0 0 0-4.831.014m7.908-.023c.361-2.292 4.413-2.321 4.821-.05a8.03 8.03 0 0 0-4.821.05m-5.694 6.15a12.55 12.55 0 0 0 8.372 0a2.9 2.9 0 0 1-.923 1.922a5.52 5.52 0 0 1-5.17.792a2.98 2.98 0 0 1-2.279-2.714"/>'},YH={width:32,height:32,body:'<path fill="#dbc87b" d="M27.9 6h-9.7l-2 4H5v17h25V6Zm.1 18H7V12h21Zm.1-14h-7.8l1-2H28Z"/><path fill="#dbc87b" d="M25.9 14H.3l3.8 13h25.6z"/><path fill="#40474d" d="M14.54 11.41a2.076 2.076 0 0 1 2.724-1.21c2.191 1.057 4.714 1.79 7.122 1.032q.556-.149 1.1-.347c1.023-.319 2.082-1.239 3.185-.689a4.54 4.54 0 0 1 1.847 3a21 21 0 0 1-.044 8.83a13.7 13.7 0 0 1-3.506 7.026A6.84 6.84 0 0 1 22.711 31q-.5 0-1-.016a6.78 6.78 0 0 1-4.744-2.419c-2.486-2.966-3.347-6.938-3.534-10.718a13.7 13.7 0 0 1 1.107-6.437m1.281 6.5a7.16 7.16 0 0 1 4.831-.014c-.29-2.344-4.52-2.317-4.831.014m7.908-.023a8.03 8.03 0 0 1 4.821-.05c-.408-2.271-4.46-2.242-4.821.05m-5.694 6.15a2.98 2.98 0 0 0 2.279 2.717a5.52 5.52 0 0 0 5.17-.792a2.9 2.9 0 0 0 .923-1.922a12.55 12.55 0 0 1-8.372.001Z"/><path fill="#fac502" d="M15.821 17.914c.311-2.331 4.541-2.358 4.831-.014a7.16 7.16 0 0 0-4.831.014m7.908-.023c.361-2.292 4.413-2.321 4.821-.05a8.03 8.03 0 0 0-4.821.05m-5.694 6.15a12.55 12.55 0 0 0 8.372 0a2.9 2.9 0 0 1-.923 1.922a5.52 5.52 0 0 1-5.17.792a2.98 2.98 0 0 1-2.279-2.714"/>'},KH={width:32,height:32,body:'<path fill="#558dbf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#b2cde5" d="M20.62 10v5.999l-5.188-3"/><path fill="#b2cde5" d="m25.807 12.999l-5.187 3V10"/><path fill="#4c89c3" d="M25.807 12.999V19l-5.187-3.001"/><path fill="#0057a9" d="M15.432 12.999V19l5.188-3.001m0 0V22l-5.188-3"/><path fill="#4c89c3" d="M20.622 15.999L20.62 22l5.187-2.998"/><path fill="#b2cde5" d="M25.807 19v6l-5.187-3"/><path fill="#b2cde5" d="M15.432 19v6l5.188-3"/><path fill="#4c89c3" d="M20.62 22v6l-5.188-3"/><path fill="#0057a9" d="m20.622 22l-.002 6l5.187-2.998"/><path fill="#b2cde5" d="M15.432 19v6l-5.187-3"/><path fill="#0057a9" d="M10.245 22v6l5.187-3m0 0v6l-5.187-3"/><path fill="#4c89c3" d="m15.434 25l-.002 6l5.188-2.998"/><path fill="#b2cde5" d="M30.995 22.002L25.807 25l.003-6"/><path fill="#4c89c3" d="M30.995 22v6l-5.188-3"/><path fill="#0057a9" d="M25.807 25v6l-5.187-3"/><path fill="#4c89c3" d="m25.81 25l-.003 6l5.188-2.998"/>'},XH={width:32,height:32,body:'<path fill="#7baddb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7baddb" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#b2cde5" d="M20.62 10v5.999l-5.188-3"/><path fill="#b2cde5" d="m25.807 12.999l-5.187 3V10"/><path fill="#4c89c3" d="M25.807 12.999V19l-5.187-3.001"/><path fill="#0057a9" d="M15.432 12.999V19l5.188-3.001m0 0V22l-5.188-3"/><path fill="#4c89c3" d="M20.622 15.999L20.62 22l5.187-2.998"/><path fill="#b2cde5" d="M25.807 19v6l-5.187-3"/><path fill="#b2cde5" d="M15.432 19v6l5.188-3"/><path fill="#4c89c3" d="M20.62 22v6l-5.188-3"/><path fill="#0057a9" d="m20.622 22l-.002 6l5.187-2.998"/><path fill="#b2cde5" d="M15.432 19v6l-5.187-3"/><path fill="#0057a9" d="M10.245 22v6l5.187-3m0 0v6l-5.187-3"/><path fill="#4c89c3" d="m15.434 25l-.002 6l5.188-2.998"/><path fill="#b2cde5" d="M30.995 22.002L25.807 25l.003-6"/><path fill="#4c89c3" d="M30.995 22v6l-5.188-3"/><path fill="#0057a9" d="M25.807 25v6l-5.187-3"/><path fill="#4c89c3" d="m25.81 25l-.003 6l5.188-2.998"/>'},WH={width:32,height:32,body:'<path fill="#8ebf55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M21.688 31a1.6 1.6 0 0 1-.807-.216l-2.57-1.52c-.383-.215-.2-.291-.07-.335A5 5 0 0 0 19.4 28.4a.2.2 0 0 1 .191.015l1.974 1.172a.26.26 0 0 0 .239 0l7.7-4.442a.24.24 0 0 0 .118-.208v-8.881a.25.25 0 0 0-.119-.212l-7.692-4.438a.24.24 0 0 0-.238 0l-7.693 4.439a.25.25 0 0 0-.122.211v8.881a.24.24 0 0 0 .121.206l2.108 1.218c1.144.572 1.845-.1 1.845-.778v-8.769a.22.22 0 0 1 .223-.222h.976a.22.22 0 0 1 .222.222v8.769a2.132 2.132 0 0 1-2.278 2.4A3.3 3.3 0 0 1 15.2 27.5l-2.018-1.162a1.63 1.63 0 0 1-.807-1.4v-8.882a1.62 1.62 0 0 1 .807-1.4l7.7-4.447a1.69 1.69 0 0 1 1.617 0l7.7 4.447a1.62 1.62 0 0 1 .808 1.4v8.881a1.63 1.63 0 0 1-.808 1.4l-7.7 4.443a1.6 1.6 0 0 1-.811.22"/><path fill="#fff" d="M20.231 21.965a.22.22 0 0 1 .222-.222h1a.22.22 0 0 1 .221.188c.15 1.013.6 1.524 2.634 1.524c1.621 0 2.311-.367 2.311-1.227c0-.5-.2-.864-2.715-1.111c-2.106-.208-3.408-.674-3.408-2.358c0-1.553 1.309-2.479 3.5-2.479c2.466 0 3.685.856 3.84 2.691a.22.22 0 0 1-.221.242h-1a.22.22 0 0 1-.216-.174c-.239-1.066-.823-1.407-2.4-1.407c-1.77 0-1.975.617-1.975 1.079c0 .56.243.723 2.632 1.039c2.365.313 3.488.755 3.488 2.418s-1.4 2.637-3.836 2.637c-3.372.002-4.077-1.543-4.077-2.84"/>'},JH={width:32,height:32,body:'<path fill="#b1db7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#b1db7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M21.688 31a1.6 1.6 0 0 1-.807-.216l-2.57-1.52c-.383-.215-.2-.291-.07-.335A5 5 0 0 0 19.4 28.4a.2.2 0 0 1 .191.015l1.974 1.172a.26.26 0 0 0 .239 0l7.7-4.442a.24.24 0 0 0 .118-.208v-8.881a.25.25 0 0 0-.119-.212l-7.692-4.438a.24.24 0 0 0-.238 0l-7.693 4.439a.25.25 0 0 0-.122.211v8.881a.24.24 0 0 0 .121.206l2.108 1.218c1.144.572 1.845-.1 1.845-.778v-8.769a.22.22 0 0 1 .223-.222h.976a.22.22 0 0 1 .222.222v8.769a2.132 2.132 0 0 1-2.278 2.4A3.3 3.3 0 0 1 15.2 27.5l-2.018-1.162a1.63 1.63 0 0 1-.807-1.4v-8.882a1.62 1.62 0 0 1 .807-1.4l7.7-4.447a1.69 1.69 0 0 1 1.617 0l7.7 4.447a1.62 1.62 0 0 1 .808 1.4v8.881a1.63 1.63 0 0 1-.808 1.4l-7.7 4.443a1.6 1.6 0 0 1-.811.22"/><path fill="#fff" d="M20.231 21.965a.22.22 0 0 1 .222-.222h1a.22.22 0 0 1 .221.188c.15 1.013.6 1.524 2.634 1.524c1.621 0 2.311-.367 2.311-1.227c0-.5-.2-.864-2.715-1.111c-2.106-.208-3.408-.674-3.408-2.358c0-1.553 1.309-2.479 3.5-2.479c2.466 0 3.685.856 3.84 2.691a.22.22 0 0 1-.221.242h-1a.22.22 0 0 1-.216-.174c-.239-1.066-.823-1.407-2.4-1.407c-1.77 0-1.975.617-1.975 1.079c0 .56.243.723 2.632 1.039c2.365.313 3.488.755 3.488 2.418s-1.4 2.637-3.836 2.637c-3.372.002-4.077-1.543-4.077-2.84"/>'},eV={width:32,height:32,body:'<path fill="#00a23c" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#aaffa2" d="M22.6 16.3a3.79 3.79 0 0 1 1.8 2.8a3.048 3.048 0 1 0-1.8-2.8m-2 6.3a3.1 3.1 0 1 0-3.1-3.1a3.116 3.116 0 0 0 3.1 3.1m1.3.2h-2.6a3.9 3.9 0 0 0-3.9 3.9V30l.2.1a16.1 16.1 0 0 0 5.4.9a9.64 9.64 0 0 0 4.7-.9l.2-.1v-3.2a4.15 4.15 0 0 0-4-4m5.1-3.2h-2.6a3.23 3.23 0 0 1-1.2 2.6a4.62 4.62 0 0 1 3.3 4.5v1a9.8 9.8 0 0 0 4.1-.9l.2-.1v-3.2a3.82 3.82 0 0 0-3.8-3.9m-11.8-.2a3 3 0 0 0 1.6-.5a3.7 3.7 0 0 1 1.4-2.4v-.2a3.1 3.1 0 0 0-6.2 0a3.27 3.27 0 0 0 3.2 3.1m2.7 2.9a4.2 4.2 0 0 1-1.2-2.6h-2.9a3.9 3.9 0 0 0-3.9 3.9v3.2l.2.1a16.3 16.3 0 0 0 4.4.8v-1a4.81 4.81 0 0 1 3.4-4.4"/>'},tV={width:32,height:32,body:'<path fill="#33b563" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#33b563" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#aaffa2" d="M22.573 16.294a3.82 3.82 0 0 1 1.776 2.835a3.079 3.079 0 1 0-1.776-2.835M20.555 22.6a3.08 3.08 0 1 0-3.08-3.08a3.08 3.08 0 0 0 3.08 3.08m1.306.21h-2.613a3.95 3.95 0 0 0-3.948 3.943v3.2l.008.05l.22.069a18 18 0 0 0 5.362.865a11 11 0 0 0 4.682-.879l.206-.1h.022v-3.2a3.947 3.947 0 0 0-3.939-3.948m5.1-3.179h-2.6a3.8 3.8 0 0 1-1.171 2.644a4.69 4.69 0 0 1 3.347 4.484v.985a10.6 10.6 0 0 0 4.133-.868l.206-.1h.024v-3.2a3.95 3.95 0 0 0-3.943-3.946Zm-11.806-.21a3.06 3.06 0 0 0 1.638-.475a3.8 3.8 0 0 1 1.433-2.431c0-.058.009-.115.009-.173a3.08 3.08 0 1 0-3.081 3.079Zm2.766 2.853a3.8 3.8 0 0 1-1.171-2.629c-.1-.007-.191-.015-.289-.015h-2.618A3.95 3.95 0 0 0 9.9 23.573v3.2l.008.049l.22.069a18.5 18.5 0 0 0 4.441.835v-.965a4.69 4.69 0 0 1 3.348-4.487Z"/>'},nV={width:32,height:32,body:'<path fill="#bf5555" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#40e81c" d="M14.2 18.428a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#1c91e8" d="M26.8 25.38a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#eada1b" d="M16.187 31a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.8"/><path fill="#474756" d="M14.19 19.094a6 6 0 0 1-.645-.015l.519 3.306a4.9 4.9 0 0 1 2.1-.475a6 6 0 0 1 .668.042l-.517-3.3a4.9 4.9 0 0 1-2.125.442M22 22.158l-2.321 1.22a5 5 0 0 1 1.307 2.475l2.337-1.229A5.07 5.07 0 0 1 22 22.158m1.359-4.458l-4.38-2.422a4.9 4.9 0 0 1-1.355 2.448l4.388 2.432a5.05 5.05 0 0 1 1.347-2.458"/>'},aV={width:32,height:32,body:'<path fill="#db7b7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db7b7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#40e81c" d="M14.2 18.428a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#1c91e8" d="M26.8 25.38a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#eada1b" d="M16.187 31a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.8"/><path fill="#474756" d="M14.19 19.094a6 6 0 0 1-.645-.015l.519 3.306a4.9 4.9 0 0 1 2.1-.475a6 6 0 0 1 .668.042l-.517-3.3a4.9 4.9 0 0 1-2.125.442M22 22.158l-2.321 1.22a5 5 0 0 1 1.307 2.475l2.337-1.229A5.07 5.07 0 0 1 22 22.158m1.359-4.458l-4.38-2.422a4.9 4.9 0 0 1-1.355 2.448l4.388 2.432a5.05 5.05 0 0 1 1.347-2.458"/>'},rV={width:32,height:32,body:'<path fill="#828282" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#333" d="M16.012 10h11.642a3.14 3.14 0 0 1 1.913.817a4.73 4.73 0 0 1 1.363 2.833c.03.212.048.425.07.639v.368a.7.7 0 0 1-.306.491a1.2 1.2 0 0 1-.678.1h-1.637q-.009 6.069 0 12.138a3.57 3.57 0 0 1-.532 1.888A3.63 3.63 0 0 1 25.96 30.8a4.4 4.4 0 0 1-.972.2H13.92a4.04 4.04 0 0 1-2.216-.8a4.48 4.48 0 0 1-1.6-2.7c-.054-.258-.076-.522-.107-.784V26.3a.73.73 0 0 1 .3-.454a1.1 1.1 0 0 1 .639-.1h1.681v-12.14A3.6 3.6 0 0 1 13.744 11a3.64 3.64 0 0 1 2.268-1"/><path fill="gray" d="M14.092 12.777a4.6 4.6 0 0 0-.154 1.653v11.318c2.434.006 4.868 0 7.3 0a.65.65 0 0 1 .587.433a3 3 0 0 1 .051.572a3.42 3.42 0 0 0 1.038 2.278a2.66 2.66 0 0 0 1.806.652a2.3 2.3 0 0 0 2.338-2.252V13.889a2 2 0 0 1 .03-.466a4.6 4.6 0 0 1 .569-1.4a2.2 2.2 0 0 1 .673-.719q-6.051-.008-12.1 0a2.31 2.31 0 0 0-2.138 1.473"/><path fill="#333" d="M18.008 16.819a.7.7 0 0 1 .607-.258a.656.656 0 0 1 .582.722a.2.2 0 0 1-.009.056c-.045.256-.268.415-.437.591c-.638.641-1.293 1.265-1.924 1.912c.654.666 1.327 1.313 1.986 1.974a1.05 1.05 0 0 1 .375.53a.66.66 0 0 1-.466.761a.65.65 0 0 1-.629-.158c-.885-.865-1.757-1.744-2.64-2.611a.665.665 0 0 1-.043-.939v-.006q1.3-1.293 2.598-2.574m3.804.357a.66.66 0 0 1 .574-.609a.67.67 0 0 1 .547.188q1.3 1.285 2.595 2.573a.674.674 0 0 1 .105.947a1 1 0 0 1-.094.1q-1.259 1.244-2.512 2.491a.77.77 0 0 1-.475.277a.656.656 0 0 1-.719-.479a.66.66 0 0 1 .182-.646c.724-.722 1.456-1.434 2.174-2.162c-.711-.713-1.43-1.418-2.146-2.126a.69.69 0 0 1-.231-.554"/>'},lV={width:32,height:32,body:'<path fill="#bfbfbf" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Zm-1.7 4H.5l3.8 12.8h25.2Z"/><path fill="#333" d="M16.012 10h11.642a3.14 3.14 0 0 1 1.913.817a4.73 4.73 0 0 1 1.363 2.833c.03.212.048.425.07.639v.368a.7.7 0 0 1-.306.491a1.2 1.2 0 0 1-.678.1h-1.637q-.009 6.069 0 12.138a3.57 3.57 0 0 1-.532 1.888A3.63 3.63 0 0 1 25.96 30.8a4.4 4.4 0 0 1-.972.2H13.92a4.04 4.04 0 0 1-2.216-.8a4.48 4.48 0 0 1-1.6-2.7c-.054-.258-.076-.522-.107-.784V26.3a.73.73 0 0 1 .3-.454a1.1 1.1 0 0 1 .639-.1h1.681v-12.14A3.6 3.6 0 0 1 13.744 11a3.64 3.64 0 0 1 2.268-1"/><path fill="gray" d="M14.092 12.777a4.6 4.6 0 0 0-.154 1.653v11.318c2.434.006 4.868 0 7.3 0a.65.65 0 0 1 .587.433a3 3 0 0 1 .051.572a3.42 3.42 0 0 0 1.038 2.278a2.66 2.66 0 0 0 1.806.652a2.3 2.3 0 0 0 2.338-2.252V13.889a2 2 0 0 1 .03-.466a4.6 4.6 0 0 1 .569-1.4a2.2 2.2 0 0 1 .673-.719q-6.051-.008-12.1 0a2.31 2.31 0 0 0-2.138 1.473"/><path fill="#333" d="M18.008 16.819a.7.7 0 0 1 .607-.258a.656.656 0 0 1 .582.722a.2.2 0 0 1-.009.056c-.045.256-.268.415-.437.591c-.638.641-1.293 1.265-1.924 1.912c.654.666 1.327 1.313 1.986 1.974a1.05 1.05 0 0 1 .375.53a.66.66 0 0 1-.466.761a.65.65 0 0 1-.629-.158c-.885-.865-1.757-1.744-2.64-2.611a.665.665 0 0 1-.043-.939v-.006q1.3-1.293 2.598-2.574m3.804.357a.66.66 0 0 1 .574-.609a.67.67 0 0 1 .547.188q1.3 1.285 2.595 2.573a.674.674 0 0 1 .105.947a1 1 0 0 1-.094.1q-1.259 1.244-2.512 2.491a.77.77 0 0 1-.475.277a.656.656 0 0 1-.719-.479a.66.66 0 0 1 .182-.646c.724-.722 1.456-1.434 2.174-2.162c-.711-.713-1.43-1.418-2.146-2.126a.69.69 0 0 1-.231-.554"/>'},iV={width:32,height:32,body:'<defs><linearGradient id="SVGdWbdmbkP" x1="127.346" x2="125.823" y1="-116.408" y2="-119.26" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="SVG8lm6nc8b" x1="127.349" x2="125.824" y1="-116.274" y2="-119.127" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#6a6a6a"/></linearGradient><linearGradient id="SVGAPCDfbiV" x1="126.507" x2="128.647" y1="-131.222" y2="-131.222" gradientTransform="matrix(.864 0 0 -.864 -90.788 -94.496)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e7ebef"/><stop offset="1" stop-color="#c4ce00"/></linearGradient><linearGradient id="SVGAxOVFe2Z" x1="127.346" x2="125.823" y1="-117.409" y2="-120.262" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlZ3Pqc9R" x1="127.349" x2="125.824" y1="-117.276" y2="-120.128" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVG8lm6nc8b"/><linearGradient id="SVGbfvqkd4a" x1="127.346" x2="125.823" y1="-118.411" y2="-121.263" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVGdWbdmbkP"/><linearGradient id="SVG9bgFBcXH" x1="127.349" x2="125.824" y1="-118.277" y2="-121.13" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVG8lm6nc8b"/><linearGradient id="SVGjvhMwbEq" x1="127.346" x2="125.823" y1="-119.413" y2="-122.265" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVGdWbdmbkP"/><linearGradient id="SVGOpHcfeyf" x1="127.349" x2="125.824" y1="-119.279" y2="-122.131" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVG8lm6nc8b"/><linearGradient id="SVGy8DX5dGM" x1="127.346" x2="125.823" y1="-115.406" y2="-118.258" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlg3b5bBd" x1="127.349" x2="125.824" y1="-115.272" y2="-118.125" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVG8lm6nc8b"/></defs><path fill="#53c1b6" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#00608b" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.28" d="M29.374 12.871a324 324 0 0 1-4.66-1.331a1.3 1.3 0 0 0-.642-.038c-.113.038-6.883 4.008-7.11 4.121c-.038 0-.038.038-.076.076a.8.8 0 0 0-.264.567v0l.078 11.743c0 .189.038.264.189.34c0 0 4.912 1.965 5.479 2.116h.076c.264.038.34.038.453-.076l.038-.038c.113-.076 6.416-4.869 6.529-4.982a.57.57 0 0 0 .151-.3c0-.113.177-11.554.177-11.7v-.038a.51.51 0 0 0-.416-.453Zm-.118.567a2 2 0 0 0 .227-.189s-.113.076-.264.189c-.264.189-.6.416-.982.718c.642-.453 1.209-.831 1.36-.945a2.4 2.4 0 0 1-.336.227Z"/><path fill="#00608b" d="M24.7 11.5a1.3 1.3 0 0 0-.642-.038c-.113.038-6.867 4.051-7.094 4.2c-.189.113-.264.34 0 .453c.264.076 5.214 1.7 5.4 1.738a.82.82 0 0 0 .68-.038c.113-.076 6.516-4.453 6.63-4.566s-.111-.314-.27-.367c-.181-.06-4.518-1.346-4.744-1.422l.038.038Z"/><path fill="#00608b" d="M16.66 16.3c0-.189.113-.3.264-.264c.113.038 5.441 1.776 5.63 1.927c.189.113.3.189.3.34l-.076 11.932a.235.235 0 0 1-.34.227c-.567-.151-5.479-2.116-5.479-2.116c-.151-.076-.189-.151-.189-.34Z"/><path fill="#00608b" d="M22.969 30.389c-.113.076-.235-.013-.235-.226l.046-11.895a.47.47 0 0 1 .189-.378c.113-.076 6.53-4.528 6.681-4.642s.227.113.189.227c0 .113-.214 11.5-.214 11.616a.28.28 0 0 1-.151.264c-.113.113-6.467 4.958-6.543 5.071z"/><path fill="#00608b" d="M16.886 15.963c-.038 0 0-.189.113-.3a.83.83 0 0 0-.34.642a.236.236 0 0 1 .227-.189c.68.227 5.365 1.851 5.554 1.927s.3.144.3.333l.037.451l.068-.459c0-.189.126-.324.352-.475c.113-.076 2.969-2.095 3.775-2.815c-.766.408-3.8 2.777-4.216 2.777c-.321 0-5.831-1.889-5.869-1.889Z"/><path fill="#00608b" d="M26.521 15.4a2 2 0 0 1 .34-.227ZM23 30.365a.46.46 0 0 1-.533.109a.28.28 0 0 0 .281-.226s.029.205.252.118Zm6.58-17.056c.189-.091.269.007.275.169c.027-.167.021-.466-.451-.6c0 0 .379.188.176.428Z"/><path fill="url(#SVGdWbdmbkP)" d="m29.278 23.842l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVG8lm6nc8b)" d="M29.3 23.719L25.18 26.7v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGAPCDfbiV)" d="M18.51 18.444v.227l1.852.642v-.189z"/><path d="m18.51 18.671l-.113.075v-.453l2.04.718l-.075.113l-1.852-.68z" opacity=".22"/><path fill="#fff" d="M20.437 19.464v-.453l-.075.113v.189l-1.852-.642l-.113.075z" opacity=".72"/><path fill="url(#SVGAxOVFe2Z)" d="m29.278 23.169l-4.1 2.976v.155l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlZ3Pqc9R)" d="m29.3 23.047l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGbfvqkd4a)" d="m29.278 22.5l-4.1 2.976v.151l4.093-3.027z" opacity=".13"/><path fill="url(#SVG9bgFBcXH)" d="m29.3 22.374l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGjvhMwbEq)" d="M29.278 21.824L25.18 24.8v.151l4.091-3.027z" opacity=".13"/><path fill="url(#SVGOpHcfeyf)" d="m29.3 21.7l-4.12 2.987v.151l4.1-3.042z" opacity=".13"/><path fill="url(#SVGy8DX5dGM)" d="m29.278 24.514l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlg3b5bBd)" d="m29.3 24.392l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/>'},sV={width:32,height:32,body:'<defs><linearGradient id="SVGdWbdmbkP" x1="127.346" x2="125.823" y1="-116.408" y2="-119.26" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="SVG8lm6nc8b" x1="127.349" x2="125.824" y1="-116.274" y2="-119.127" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#6a6a6a"/></linearGradient><linearGradient id="SVGAPCDfbiV" x1="126.507" x2="128.647" y1="-131.222" y2="-131.222" gradientTransform="matrix(.864 0 0 -.864 -90.788 -94.496)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e7ebef"/><stop offset="1" stop-color="#c4ce00"/></linearGradient><linearGradient id="SVGAxOVFe2Z" x1="127.346" x2="125.823" y1="-117.409" y2="-120.262" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlZ3Pqc9R" x1="127.349" x2="125.824" y1="-117.276" y2="-120.128" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVG8lm6nc8b"/><linearGradient id="SVGbfvqkd4a" x1="127.346" x2="125.823" y1="-118.411" y2="-121.263" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVGdWbdmbkP"/><linearGradient id="SVG9bgFBcXH" x1="127.349" x2="125.824" y1="-118.277" y2="-121.13" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVG8lm6nc8b"/><linearGradient id="SVGjvhMwbEq" x1="127.346" x2="125.823" y1="-119.413" y2="-122.265" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVGdWbdmbkP"/><linearGradient id="SVGOpHcfeyf" x1="127.349" x2="125.824" y1="-119.279" y2="-122.131" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVG8lm6nc8b"/><linearGradient id="SVGy8DX5dGM" x1="127.346" x2="125.823" y1="-115.406" y2="-118.258" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlg3b5bBd" x1="127.349" x2="125.824" y1="-115.272" y2="-118.125" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVG8lm6nc8b"/></defs><path fill="#7addd3" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7addd3" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#00608b" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.28" d="M29.374 12.871a324 324 0 0 1-4.66-1.331a1.3 1.3 0 0 0-.642-.038c-.113.038-6.883 4.008-7.11 4.121c-.038 0-.038.038-.076.076a.8.8 0 0 0-.264.567v0l.078 11.743c0 .189.038.264.189.34c0 0 4.912 1.965 5.479 2.116h.076c.264.038.34.038.453-.076l.038-.038c.113-.076 6.416-4.869 6.529-4.982a.57.57 0 0 0 .151-.3c0-.113.177-11.554.177-11.7v-.038a.51.51 0 0 0-.416-.453Zm-.118.567a2 2 0 0 0 .227-.189s-.113.076-.264.189c-.264.189-.6.416-.982.718c.642-.453 1.209-.831 1.36-.945a2.4 2.4 0 0 1-.336.227Z"/><path fill="#00608b" d="M24.7 11.5a1.3 1.3 0 0 0-.642-.038c-.113.038-6.867 4.051-7.094 4.2c-.189.113-.264.34 0 .453c.264.076 5.214 1.7 5.4 1.738a.82.82 0 0 0 .68-.038c.113-.076 6.516-4.453 6.63-4.566s-.111-.314-.27-.367c-.181-.06-4.518-1.346-4.744-1.422l.038.038Z"/><path fill="#00608b" d="M16.66 16.3c0-.189.113-.3.264-.264c.113.038 5.441 1.776 5.63 1.927c.189.113.3.189.3.34l-.076 11.932a.235.235 0 0 1-.34.227c-.567-.151-5.479-2.116-5.479-2.116c-.151-.076-.189-.151-.189-.34Z"/><path fill="#00608b" d="M22.969 30.389c-.113.076-.235-.013-.235-.226l.046-11.895a.47.47 0 0 1 .189-.378c.113-.076 6.53-4.528 6.681-4.642s.227.113.189.227c0 .113-.214 11.5-.214 11.616a.28.28 0 0 1-.151.264c-.113.113-6.467 4.958-6.543 5.071z"/><path fill="#00608b" d="M16.886 15.963c-.038 0 0-.189.113-.3a.83.83 0 0 0-.34.642a.236.236 0 0 1 .227-.189c.68.227 5.365 1.851 5.554 1.927s.3.144.3.333l.037.451l.068-.459c0-.189.126-.324.352-.475c.113-.076 2.969-2.095 3.775-2.815c-.766.408-3.8 2.777-4.216 2.777c-.321 0-5.831-1.889-5.869-1.889Z"/><path fill="#00608b" d="M26.521 15.4a2 2 0 0 1 .34-.227ZM23 30.365a.46.46 0 0 1-.533.109a.28.28 0 0 0 .281-.226s.029.205.252.118Zm6.58-17.056c.189-.091.269.007.275.169c.027-.167.021-.466-.451-.6c0 0 .379.188.176.428Z"/><path fill="url(#SVGdWbdmbkP)" d="m29.278 23.842l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVG8lm6nc8b)" d="M29.3 23.719L25.18 26.7v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGAPCDfbiV)" d="M18.51 18.444v.227l1.852.642v-.189z"/><path d="m18.51 18.671l-.113.075v-.453l2.04.718l-.075.113l-1.852-.68z" opacity=".22"/><path fill="#fff" d="M20.437 19.464v-.453l-.075.113v.189l-1.852-.642l-.113.075z" opacity=".72"/><path fill="url(#SVGAxOVFe2Z)" d="m29.278 23.169l-4.1 2.976v.155l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlZ3Pqc9R)" d="m29.3 23.047l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGbfvqkd4a)" d="m29.278 22.5l-4.1 2.976v.151l4.093-3.027z" opacity=".13"/><path fill="url(#SVG9bgFBcXH)" d="m29.3 22.374l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGjvhMwbEq)" d="M29.278 21.824L25.18 24.8v.151l4.091-3.027z" opacity=".13"/><path fill="url(#SVGOpHcfeyf)" d="m29.3 21.7l-4.12 2.987v.151l4.1-3.042z" opacity=".13"/><path fill="url(#SVGy8DX5dGM)" d="m29.278 24.514l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlg3b5bBd)" d="m29.3 24.392l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/>'},oV={width:32,height:32,body:'<defs><radialGradient id="SVGe2Dq1sES" cx="20.365" cy="6.269" r="2.721" gradientTransform="matrix(-.148 .989 1.059 .158 11.812 -5.692)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bedcdc"/><stop offset=".5" stop-color="#8e9e9e" stop-opacity=".74"/><stop offset="1" stop-color="#404f5c" stop-opacity=".84"/></radialGradient><radialGradient id="SVGFdebDgyO" cx="6.566" cy="14.644" r="3.9" gradientTransform="matrix(-.148 .989 1.059 .158 9.451 15.181)" href="#SVGe2Dq1sES"/></defs><path fill="#55a1bf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="silver" d="m13.886 12.006l-1.803 1.803l-.901-1.803l.901-.901zm2.886-.094h-2.551L14.859 10h1.274zm2.105 1.974l-1.803-1.803l1.803-.901l.902.901zm.094 2.886v-2.551l1.912.638v1.274zm-1.974 2.105l1.803-1.803l.901 1.803l-.901.902zm-2.885.094h2.55l-.637 1.912H14.75zm-2.106-1.974l1.803 1.803l-1.803.901l-.901-.901zm-.094-2.885v2.55L10 16.025V14.75z"/><path fill="silver" d="M11.663 15.442a3.778 3.778 0 1 1 1.107 2.672a3.78 3.78 0 0 1-1.107-2.672m3.779 1.425a1.425 1.425 0 1 0-1.008-.418a1.43 1.43 0 0 0 1.008.418"/><path fill="#a9a9a9" d="M15.5 18.939a3.5 3.5 0 1 0-3.555-3.439a3.5 3.5 0 0 0 3.555 3.439m-.113-6.457a2.96 2.96 0 1 1-2.907 3.012a2.96 2.96 0 0 1 2.91-3.012Z"/><path fill="url(#SVGe2Dq1sES)" d="M15.489 18.162a2.721 2.721 0 1 0-2.767-2.673a2.72 2.72 0 0 0 2.767 2.673m-.075-4.275a1.555 1.555 0 1 1-1.528 1.583a1.555 1.555 0 0 1 1.528-1.583"/><path fill="#a9a9a9" d="M15.47 17a1.555 1.555 0 1 0-1.583-1.526A1.555 1.555 0 0 0 15.47 17m-.051-2.87a1.316 1.316 0 1 1-1.292 1.339a1.316 1.316 0 0 1 1.292-1.337Z"/><path fill="silver" d="m27.572 19.763l-1.706-.947l1.098-1.176l1.024.568zm1.636 2.356l-1.005-1.672l1.539-.47l.603 1.004zm.238 2.859l-.034-1.951l1.568.363l.02 1.17zm-1.223 2.594l.946-1.706l1.176 1.098l-.567 1.024zm-2.357 1.636l1.673-1.005l.469 1.539l-1.003.603zm-2.859.238l1.952-.034l-.363 1.568l-1.171.02zm-2.594-1.223l1.706.946l-1.098 1.176l-1.024-.567zm-1.636-2.357l1.005 1.673l-1.539.469l-.603-1.003zm-.238-2.859l.034 1.952l-1.567-.363l-.021-1.171zm1.224-2.594l-.947 1.706l-1.176-1.098l.568-1.024zm2.356-1.636l-1.672 1.005l-.47-1.539l1.004-.603zm2.859-.238l-1.951.034l.363-1.567l1.17-.021z"/><path fill="silver" d="M23.9 18.372a5.626 5.626 0 1 1-3.946 1.716a5.63 5.63 0 0 1 3.946-1.716m-2.017 5.658a2.112 2.112 0 1 0 .592-1.5a2.1 2.1 0 0 0-.592 1.5"/><path fill="#a9a9a9" d="M24.081 29.045a5.053 5.053 0 1 0-5.14-4.964a5.054 5.054 0 0 0 5.14 4.964m-.163-9.327a4.275 4.275 0 1 1-4.2 4.35a4.275 4.275 0 0 1 4.2-4.35"/><path fill="url(#SVGFdebDgyO)" d="M24.061 27.893a3.9 3.9 0 1 0-3.967-3.832a3.9 3.9 0 0 0 3.967 3.832m-.105-6.027a2.128 2.128 0 1 1-2.09 2.164a2.127 2.127 0 0 1 2.089-2.164Z"/><path fill="#a9a9a9" d="M24.033 26.324a2.331 2.331 0 1 0-2.372-2.291a2.33 2.33 0 0 0 2.372 2.291m-.075-4.3a1.973 1.973 0 1 1-1.938 2.007a1.97 1.97 0 0 1 1.938-2.007"/>'},cV={width:32,height:32,body:'<defs><radialGradient id="SVGe2Dq1sES" cx="20.365" cy="6.269" r="2.721" gradientTransform="matrix(-.148 .989 1.059 .158 11.812 -5.692)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bedcdc"/><stop offset=".5" stop-color="#8e9e9e" stop-opacity=".74"/><stop offset="1" stop-color="#404f5c" stop-opacity=".84"/></radialGradient><radialGradient id="SVGFdebDgyO" cx="6.566" cy="14.644" r="3.9" gradientTransform="matrix(-.148 .989 1.059 .158 9.451 15.181)" href="#SVGe2Dq1sES"/></defs><path fill="#7bbedb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v4H.5l3.8 12.8h25.2v-21Zm-7.2 2.1h7.1v2.1h-8.1Zm5.5 6.1H6.6v-1.9h20.8v7.626Z"/><path fill="silver" d="m13.886 12.006l-1.803 1.803l-.901-1.803l.901-.901zm2.886-.094h-2.551L14.859 10h1.274zm2.105 1.974l-1.803-1.803l1.803-.901l.902.901zm.094 2.886v-2.551l1.912.638v1.274zm-1.974 2.105l1.803-1.803l.901 1.803l-.901.902zm-2.885.094h2.55l-.637 1.912H14.75zm-2.106-1.974l1.803 1.803l-1.803.901l-.901-.901zm-.094-2.885v2.55L10 16.025V14.75z"/><path fill="silver" d="M11.663 15.442a3.778 3.778 0 1 1 1.107 2.672a3.78 3.78 0 0 1-1.107-2.672m3.779 1.425a1.425 1.425 0 1 0-1.008-.418a1.43 1.43 0 0 0 1.008.418"/><path fill="#a9a9a9" d="M15.5 18.939a3.5 3.5 0 1 0-3.555-3.439a3.5 3.5 0 0 0 3.555 3.439m-.113-6.457a2.96 2.96 0 1 1-2.907 3.012a2.96 2.96 0 0 1 2.91-3.012Z"/><path fill="url(#SVGe2Dq1sES)" d="M15.489 18.162a2.721 2.721 0 1 0-2.767-2.673a2.72 2.72 0 0 0 2.767 2.673m-.075-4.275a1.555 1.555 0 1 1-1.528 1.583a1.555 1.555 0 0 1 1.528-1.583"/><path fill="#a9a9a9" d="M15.47 17a1.555 1.555 0 1 0-1.583-1.526A1.555 1.555 0 0 0 15.47 17m-.051-2.87a1.316 1.316 0 1 1-1.292 1.339a1.316 1.316 0 0 1 1.292-1.337Z"/><path fill="silver" d="m27.572 19.763l-1.706-.947l1.098-1.176l1.024.568zm1.636 2.356l-1.005-1.672l1.539-.47l.603 1.004zm.238 2.859l-.034-1.951l1.568.363l.02 1.17zm-1.223 2.594l.946-1.706l1.176 1.098l-.567 1.024zm-2.357 1.636l1.673-1.005l.469 1.539l-1.003.603zm-2.859.238l1.952-.034l-.363 1.568l-1.171.02zm-2.594-1.223l1.706.946l-1.098 1.176l-1.024-.567zm-1.636-2.357l1.005 1.673l-1.539.469l-.603-1.003zm-.238-2.859l.034 1.952l-1.567-.363l-.021-1.171zm1.224-2.594l-.947 1.706l-1.176-1.098l.568-1.024zm2.356-1.636l-1.672 1.005l-.47-1.539l1.004-.603zm2.859-.238l-1.951.034l.363-1.567l1.17-.021z"/><path fill="silver" d="M23.9 18.372a5.626 5.626 0 1 1-3.946 1.716a5.63 5.63 0 0 1 3.946-1.716m-2.017 5.658a2.112 2.112 0 1 0 .592-1.5a2.1 2.1 0 0 0-.592 1.5"/><path fill="#a9a9a9" d="M24.081 29.045a5.053 5.053 0 1 0-5.14-4.964a5.054 5.054 0 0 0 5.14 4.964m-.163-9.327a4.275 4.275 0 1 1-4.2 4.35a4.275 4.275 0 0 1 4.2-4.35"/><path fill="url(#SVGFdebDgyO)" d="M24.061 27.893a3.9 3.9 0 1 0-3.967-3.832a3.9 3.9 0 0 0 3.967 3.832m-.105-6.027a2.128 2.128 0 1 1-2.09 2.164a2.127 2.127 0 0 1 2.089-2.164Z"/><path fill="#a9a9a9" d="M24.033 26.324a2.331 2.331 0 1 0-2.372-2.291a2.33 2.33 0 0 0 2.372 2.291m-.075-4.3a1.973 1.973 0 1 1-1.938 2.007a1.97 1.97 0 0 1 1.938-2.007"/>'},uV={width:32,height:32,body:'<path fill="#14622a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#06cc14" d="M19.146 30.989a1 1 0 0 1-.207-.025a1.04 1.04 0 0 1-.726-1.213l2.709-14.431a1.04 1.04 0 0 1 .444-.683a.9.9 0 0 1 .7-.122a1.043 1.043 0 0 1 .727 1.213L20.077 30.16a1.03 1.03 0 0 1-.442.681a.9.9 0 0 1-.489.148m5.432-2.045h-.068a.93.93 0 0 1-.668-.377a1.1 1.1 0 0 1 .1-1.419l4.658-4.553l-4.638-4.239a1.1 1.1 0 0 1-.141-1.416a.94.94 0 0 1 .661-.4a.9.9 0 0 1 .709.237l5.47 5a1.1 1.1 0 0 1 .144 1.416a1 1 0 0 1-.142.163l-5.447 5.324a.92.92 0 0 1-.638.264m-8.155.003a.9.9 0 0 1-.639-.267l-5.452-5.327a1 1 0 0 1-.132-.153a1.094 1.094 0 0 1 .141-1.414l5.471-5a.88.88 0 0 1 .7-.238a.94.94 0 0 1 .665.4a1.1 1.1 0 0 1-.14 1.417L12.4 22.6l4.659 4.551a1.09 1.09 0 0 1 .1 1.419a.93.93 0 0 1-.669.377Z"/>'},xV={width:32,height:32,body:'<path fill="#2a8243" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#2a8243" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#06cc14" d="M19.146 30.989a1 1 0 0 1-.207-.025a1.04 1.04 0 0 1-.726-1.213l2.709-14.431a1.04 1.04 0 0 1 .444-.683a.9.9 0 0 1 .7-.122a1.043 1.043 0 0 1 .727 1.213L20.077 30.16a1.03 1.03 0 0 1-.442.681a.9.9 0 0 1-.489.148m5.432-2.045h-.068a.93.93 0 0 1-.668-.377a1.1 1.1 0 0 1 .1-1.419l4.658-4.553l-4.638-4.239a1.1 1.1 0 0 1-.141-1.416a.94.94 0 0 1 .661-.4a.9.9 0 0 1 .709.237l5.47 5a1.1 1.1 0 0 1 .144 1.416a1 1 0 0 1-.142.163l-5.447 5.324a.92.92 0 0 1-.638.264m-8.155.003a.9.9 0 0 1-.639-.267l-5.452-5.327a1 1 0 0 1-.132-.153a1.094 1.094 0 0 1 .141-1.414l5.471-5a.88.88 0 0 1 .7-.238a.94.94 0 0 1 .665.4a1.1 1.1 0 0 1-.14 1.417L12.4 22.6l4.659 4.551a1.09 1.09 0 0 1 .1 1.419a.93.93 0 0 1-.669.377Z"/>'},dV={width:32,height:32,body:'<path fill="#5590bc" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#1572b6" d="M14.167 28.901L12.482 10h18.516l-1.686 18.898L21.729 31z"/><path fill="#33a9dc" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#ebebeb" d="M15.25 19.535c1.691 0 1.929-.685 1.929-1.3a7.7 7.7 0 0 0-.192-1.475a7.7 7.7 0 0 1-.187-1.46c0-1.616 1.429-2.3 3.453-2.3h.5v.967h-.428c-1.406 0-1.881.562-1.881 1.51a5.7 5.7 0 0 0 .167 1.247a6 6 0 0 1 .167 1.334c.023 1.124-.644 1.686-1.716 1.9v.034a1.8 1.8 0 0 1 1.716 1.915a6 6 0 0 1-.167 1.334a5.8 5.8 0 0 0-.167 1.266c0 .983.547 1.528 1.881 1.528h.428V27h-.5c-1.976 0-3.453-.632-3.453-2.406a7.5 7.5 0 0 1 .19-1.44a7 7 0 0 0 .192-1.423c0-.545-.238-1.3-1.929-1.3Z"/><path fill="#fff" d="M28.25 20.43c-1.691 0-1.929.755-1.929 1.3a7.3 7.3 0 0 0 .19 1.423a7.3 7.3 0 0 1 .192 1.44C26.7 26.366 25.2 27 23.25 27h-.5v-.967h.405c1.334-.017 1.9-.545 1.9-1.527a8 8 0 0 0-.167-1.266a6 6 0 0 1-.19-1.334a1.834 1.834 0 0 1 1.714-1.915v-.034a1.83 1.83 0 0 1-1.714-1.9a6 6 0 0 1 .19-1.334a8 8 0 0 0 .167-1.247c0-.948-.5-1.493-1.881-1.51h-.424V13h.477c2.024 0 3.476.685 3.476 2.3a7.5 7.5 0 0 1-.192 1.459a8 8 0 0 0-.19 1.475c0 .615.238 1.3 1.929 1.3Z"/>'},fV={width:32,height:32,body:'<path fill="#7cb0d8" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7cb0d8" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#1572b6" d="M14.167 28.901L12.482 10h18.516l-1.686 18.898L21.729 31z"/><path fill="#33a9dc" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#ebebeb" d="M15.25 19.535c1.691 0 1.929-.685 1.929-1.3a7.7 7.7 0 0 0-.192-1.475a7.7 7.7 0 0 1-.187-1.46c0-1.616 1.429-2.3 3.453-2.3h.5v.967h-.428c-1.406 0-1.881.562-1.881 1.51a5.7 5.7 0 0 0 .167 1.247a6 6 0 0 1 .167 1.334c.023 1.124-.644 1.686-1.716 1.9v.034a1.8 1.8 0 0 1 1.716 1.915a6 6 0 0 1-.167 1.334a5.8 5.8 0 0 0-.167 1.266c0 .983.547 1.528 1.881 1.528h.428V27h-.5c-1.976 0-3.453-.632-3.453-2.406a7.5 7.5 0 0 1 .19-1.44a7 7 0 0 0 .192-1.423c0-.545-.238-1.3-1.929-1.3Z"/><path fill="#fff" d="M28.25 20.43c-1.691 0-1.929.755-1.929 1.3a7.3 7.3 0 0 0 .19 1.423a7.3 7.3 0 0 1 .192 1.44C26.7 26.366 25.2 27 23.25 27h-.5v-.967h.405c1.334-.017 1.9-.545 1.9-1.527a8 8 0 0 0-.167-1.266a6 6 0 0 1-.19-1.334a1.834 1.834 0 0 1 1.714-1.915v-.034a1.83 1.83 0 0 1-1.714-1.9a6 6 0 0 1 .19-1.334a8 8 0 0 0 .167-1.247c0-.948-.5-1.493-1.881-1.51h-.424V13h.477c2.024 0 3.476.685 3.476 2.3a7.5 7.5 0 0 1-.192 1.459a8 8 0 0 0-.19 1.475c0 .615.238 1.3 1.929 1.3Z"/>'},hV={width:32,height:32,body:'<path fill="#bf8e55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#675f58" d="M29.025 14.38H11.974A1.98 1.98 0 0 0 10 16.354v12.675A1.98 1.98 0 0 0 11.974 31h17.051A1.98 1.98 0 0 0 31 29.026V16.354a1.98 1.98 0 0 0-1.975-1.974"/><path fill="#ccc" d="M29.925 29.026a.905.905 0 0 1-.9.9H11.974a.905.905 0 0 1-.9-.9V17.62h18.85v11.406Z"/><path fill="#ff931e" d="M14.9 24.446h2.8v2.8h-2.8zm0-4.2h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm-4.2 4.2h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8z"/>'},pV={width:32,height:32,body:'<path fill="#dbad7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dbad7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#675f58" d="M29.025 14.38H11.974A1.98 1.98 0 0 0 10 16.354v12.675A1.98 1.98 0 0 0 11.974 31h17.051A1.98 1.98 0 0 0 31 29.026V16.354a1.98 1.98 0 0 0-1.975-1.974"/><path fill="#ccc" d="M29.925 29.026a.905.905 0 0 1-.9.9H11.974a.905.905 0 0 1-.9-.9V17.62h18.85v11.406Z"/><path fill="#ff931e" d="M14.9 20.246h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm-8.4 4.2h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8z"/>'},mV={width:32,height:32,body:'<path fill="#b70b0b" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fac6c5" d="M28.3 27.423c-1.729-.4-2.332-2.482-1.329-4.583a8.95 8.95 0 0 1 2.217-2.779l.314-.26l.009.357a6.7 6.7 0 0 0 .748 2.425a14 14 0 0 1 .625 1.631a3.2 3.2 0 0 1-.073 1.958a2.67 2.67 0 0 1-1.111 1.087a2.8 2.8 0 0 1-1.4.164m.351-3.565c.124-.143.155-.332.164-1l.011-.825l-.2.158a1.68 1.68 0 0 0-.635 1.4c.07.214.286.448.411.446a.5.5 0 0 0 .249-.179m-15.527 7.087a3.85 3.85 0 0 1-3.031-4.563c.254-1.07.2-1.008 5.726-6.787l5.2-5.442l.738.7l.738.7l-3 3.132l-3 3.132l2.508-.054l2.508-.054l1.773-1.85l1.773-1.85l.735.707l.735.707l-5.213 5.43c-4.783 4.982-5.257 5.452-5.743 5.692a3.9 3.9 0 0 1-2.452.393Zm14.662-12.484c-.138-.082-1.546-1.4-3.129-2.921l-2.879-2.772l-.009-.421a.86.86 0 0 1 .194-.673A.99.99 0 0 1 23 11.3a69 69 0 0 1 6.277 6.023a1 1 0 0 1-1.492 1.133Z"/><path fill="#fac6c5" d="M11.578 26.851a2.1 2.1 0 0 0 2.579 2.614c.191-.2 2.407-2.515 7.387-7.737c-2.505.054-2.475-.055-4.98 0c-5.015 5.195-5.114 5.157-4.986 5.123"/>'},gV={width:32,height:32,body:'<path fill="#d32626" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d32626" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fac6c5" d="M28.3 27.423c-1.729-.4-2.332-2.482-1.329-4.583a8.95 8.95 0 0 1 2.217-2.779l.314-.26l.009.357a6.7 6.7 0 0 0 .748 2.425a14 14 0 0 1 .625 1.631a3.2 3.2 0 0 1-.073 1.958a2.67 2.67 0 0 1-1.111 1.087a2.8 2.8 0 0 1-1.4.164m.351-3.565c.124-.143.155-.332.164-1l.011-.825l-.2.158a1.68 1.68 0 0 0-.635 1.4c.07.214.286.448.411.446a.5.5 0 0 0 .249-.179m-15.527 7.087a3.85 3.85 0 0 1-3.031-4.563c.254-1.07.2-1.008 5.726-6.787l5.2-5.442l.738.7l.738.7l-3 3.132l-3 3.132l2.508-.054l2.508-.054l1.773-1.85l1.773-1.85l.735.707l.735.707l-5.213 5.43c-4.783 4.982-5.257 5.452-5.743 5.692a3.9 3.9 0 0 1-2.452.393Zm14.662-12.484c-.138-.082-1.546-1.4-3.129-2.921l-2.879-2.772l-.009-.421a.86.86 0 0 1 .194-.673A.99.99 0 0 1 23 11.3a69 69 0 0 1 6.277 6.023a1 1 0 0 1-1.492 1.133Z"/><path fill="#fac6c5" d="M11.578 26.851a2.1 2.1 0 0 0 2.579 2.614c.191-.2 2.407-2.515 7.387-7.737c-2.505.054-2.475-.055-4.98 0c-5.015 5.195-5.114 5.157-4.986 5.123"/>'},EV={width:32,height:32,body:'<path fill="#bf5e55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#e75749" d="M12.879 10.281A1.9 1.9 0 0 1 13.9 10h15.272a1.91 1.91 0 0 1 1.817 1.463a2.5 2.5 0 0 1 .054.646v8.381h-1.18a1 1 0 0 0-.165.016a4 4 0 0 0-.436-.008c-.225.005-.457-.01-.685.01a2 2 0 0 0-.3-.015h-3.553c-.15 0-.294.006-.44-.007l.075-.049l-4.764-2.859v2.916h-4.979a2 2 0 0 0-.188.016a3 3 0 0 0-.481-.012c-.213 0-.427-.011-.64.011a2 2 0 0 0-.19-.016H11.96q.007-4.089 0-8.174a3.6 3.6 0 0 1 .053-.848a1.9 1.9 0 0 1 .866-1.19m.4 1.641a.48.48 0 0 0-.367.454v.987a.48.48 0 0 0 .47.45h.982a.48.48 0 0 0 .45-.456v-.959a.48.48 0 0 0-.247-.431a.53.53 0 0 0-.268-.058h-.852a1 1 0 0 0-.163.013Zm15.254 0a.48.48 0 0 0-.355.455v.979a.48.48 0 0 0 .45.456h.981a.48.48 0 0 0 .47-.454v-.985a.48.48 0 0 0-.445-.466c-.261-.007-.525 0-.784 0a1.5 1.5 0 0 0-.316.018Zm-15.248 2.862a.48.48 0 0 0-.339.3a.8.8 0 0 0-.031.289v.851a.48.48 0 0 0 .45.45c.3.006.6 0 .894 0a.6.6 0 0 0 .3-.049a.48.48 0 0 0 .27-.43v-.959a.48.48 0 0 0-.45-.468c-.253-.006-.508 0-.762 0a2 2 0 0 0-.332.016m15.251 0a.48.48 0 0 0-.325.3a.8.8 0 0 0-.031.29v.848a.48.48 0 0 0 .456.455h.913a.55.55 0 0 0 .285-.058a.48.48 0 0 0 .251-.418v-.963a.48.48 0 0 0-.445-.466c-.262-.007-.525 0-.785 0a1.5 1.5 0 0 0-.321.016Zm-15.251 2.865a.48.48 0 0 0-.368.456v.986a.48.48 0 0 0 .47.45h.975a.48.48 0 0 0 .456-.455v-.98a.48.48 0 0 0-.454-.469c-.261-.005-.525 0-.784 0a1.6 1.6 0 0 0-.295.012m15.249 0a.48.48 0 0 0-.322.3a.8.8 0 0 0-.031.289v.848a.48.48 0 0 0 .455.456h.979a.48.48 0 0 0 .471-.454v-.985a.48.48 0 0 0-.444-.466c-.262-.007-.525 0-.784 0a1.4 1.4 0 0 0-.323.011Z"/><path fill="#fff" d="m19.6 17.574l4.764 2.859l-.075.049q-2.345 1.4-4.688 2.811v-2.8z"/><path fill="#c0392b" d="M11.96 20.49h1.156a2 2 0 0 1 .19.016a.48.48 0 0 0-.307.2a.66.66 0 0 0-.083.388v.784a.514.514 0 0 0 .512.517h.9a.51.51 0 0 0 .493-.427c.006-.335 0-.675 0-1.007a.474.474 0 0 0-.391-.46a2 2 0 0 1 .188-.016h4.979v2.8q2.345-1.4 4.688-2.811c.15.013.293.005.44.007h3.555a2 2 0 0 1 .3.015a.48.48 0 0 0-.356.289a.7.7 0 0 0-.034.305v.76a.51.51 0 0 0 .475.538h.913a.513.513 0 0 0 .514-.493v-.738a.8.8 0 0 0-.075-.442a.48.48 0 0 0-.315-.219a1 1 0 0 1 .165-.016h1.18c.008 1.291 0 2.582 0 3.873v4.719a1.93 1.93 0 0 1-.459 1.238a1.9 1.9 0 0 1-1.172.651a6 6 0 0 1-.736.025H14.547a7 7 0 0 1-1.026-.036a1.92 1.92 0 0 1-1.5-1.384a2 2 0 0 1-.067-.559v-7.84c.005-.225-.002-.452.006-.677m1.346 2.882a.46.46 0 0 0-.289.175a.57.57 0 0 0-.1.348v.871a.514.514 0 0 0 .514.493h.962a.515.515 0 0 0 .426-.537v-.892a.46.46 0 0 0-.15-.343a.53.53 0 0 0-.365-.127h-.852a1 1 0 0 0-.146.011Zm15.272 0a.465.465 0 0 0-.391.435v.916a.507.507 0 0 0 .474.538h1.003a.525.525 0 0 0 .421-.513v-.76a.68.68 0 0 0-.085-.425a.5.5 0 0 0-.4-.2h-.715a2 2 0 0 0-.3.008Zm-15.271 2.862a.46.46 0 0 0-.3.187a.57.57 0 0 0-.093.336v.849a.525.525 0 0 0 .45.516H14.4a.515.515 0 0 0 .425-.538v-.892a.46.46 0 0 0-.15-.344a.53.53 0 0 0-.363-.127h-.856a1 1 0 0 0-.149.013m15.269 0a.46.46 0 0 0-.369.32a.7.7 0 0 0-.022.247v.9a.51.51 0 0 0 .492.425h.895a.517.517 0 0 0 .515-.518v-.894a.5.5 0 0 0-.214-.409a1.1 1.1 0 0 0-.59-.082c-.234.007-.472-.015-.7.013Z"/>'},yV={width:32,height:32,body:'<path fill="#db847b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db847b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#e75749" d="M12.879 10.281A1.9 1.9 0 0 1 13.9 10h15.272a1.91 1.91 0 0 1 1.817 1.463a2.5 2.5 0 0 1 .054.646v8.381h-1.18a1 1 0 0 0-.165.016a4 4 0 0 0-.436-.008c-.225.005-.457-.01-.685.01a2 2 0 0 0-.3-.015h-3.553c-.15 0-.294.006-.44-.007l.075-.049l-4.764-2.859v2.916h-4.979a2 2 0 0 0-.188.016a3 3 0 0 0-.481-.012c-.213 0-.427-.011-.64.011a2 2 0 0 0-.19-.016H11.96q.007-4.089 0-8.174a3.6 3.6 0 0 1 .053-.848a1.9 1.9 0 0 1 .866-1.19m.4 1.641a.48.48 0 0 0-.367.454v.987a.48.48 0 0 0 .47.45h.982a.48.48 0 0 0 .45-.456v-.959a.48.48 0 0 0-.247-.431a.53.53 0 0 0-.268-.058h-.852a1 1 0 0 0-.163.013Zm15.254 0a.48.48 0 0 0-.355.455v.979a.48.48 0 0 0 .45.456h.981a.48.48 0 0 0 .47-.454v-.985a.48.48 0 0 0-.445-.466c-.261-.007-.525 0-.784 0a1.5 1.5 0 0 0-.316.018Zm-15.248 2.862a.48.48 0 0 0-.339.3a.8.8 0 0 0-.031.289v.851a.48.48 0 0 0 .45.45c.3.006.6 0 .894 0a.6.6 0 0 0 .3-.049a.48.48 0 0 0 .27-.43v-.959a.48.48 0 0 0-.45-.468c-.253-.006-.508 0-.762 0a2 2 0 0 0-.332.016m15.251 0a.48.48 0 0 0-.325.3a.8.8 0 0 0-.031.29v.848a.48.48 0 0 0 .456.455h.913a.55.55 0 0 0 .285-.058a.48.48 0 0 0 .251-.418v-.963a.48.48 0 0 0-.445-.466c-.262-.007-.525 0-.785 0a1.5 1.5 0 0 0-.321.016Zm-15.251 2.865a.48.48 0 0 0-.368.456v.986a.48.48 0 0 0 .47.45h.975a.48.48 0 0 0 .456-.455v-.98a.48.48 0 0 0-.454-.469c-.261-.005-.525 0-.784 0a1.6 1.6 0 0 0-.295.012m15.249 0a.48.48 0 0 0-.322.3a.8.8 0 0 0-.031.289v.848a.48.48 0 0 0 .455.456h.979a.48.48 0 0 0 .471-.454v-.985a.48.48 0 0 0-.444-.466c-.262-.007-.525 0-.784 0a1.4 1.4 0 0 0-.323.011Z"/><path fill="#fff" d="m19.6 17.574l4.764 2.859l-.075.049q-2.345 1.4-4.688 2.811v-2.8z"/><path fill="#c0392b" d="M11.96 20.49h1.156a2 2 0 0 1 .19.016a.48.48 0 0 0-.307.2a.66.66 0 0 0-.083.388v.784a.514.514 0 0 0 .512.517h.9a.51.51 0 0 0 .493-.427c.006-.335 0-.675 0-1.007a.474.474 0 0 0-.391-.46a2 2 0 0 1 .188-.016h4.979v2.8q2.345-1.4 4.688-2.811c.15.013.293.005.44.007h3.555a2 2 0 0 1 .3.015a.48.48 0 0 0-.356.289a.7.7 0 0 0-.034.305v.76a.51.51 0 0 0 .475.538h.913a.513.513 0 0 0 .514-.493v-.738a.8.8 0 0 0-.075-.442a.48.48 0 0 0-.315-.219a1 1 0 0 1 .165-.016h1.18c.008 1.291 0 2.582 0 3.873v4.719a1.93 1.93 0 0 1-.459 1.238a1.9 1.9 0 0 1-1.172.651a6 6 0 0 1-.736.025H14.547a7 7 0 0 1-1.026-.036a1.92 1.92 0 0 1-1.5-1.384a2 2 0 0 1-.067-.559v-7.84c.005-.225-.002-.452.006-.677m1.346 2.882a.46.46 0 0 0-.289.175a.57.57 0 0 0-.1.348v.871a.514.514 0 0 0 .514.493h.962a.515.515 0 0 0 .426-.537v-.892a.46.46 0 0 0-.15-.343a.53.53 0 0 0-.365-.127h-.852a1 1 0 0 0-.146.011Zm15.272 0a.465.465 0 0 0-.391.435v.916a.507.507 0 0 0 .474.538h1.003a.525.525 0 0 0 .421-.513v-.76a.68.68 0 0 0-.085-.425a.5.5 0 0 0-.4-.2h-.715a2 2 0 0 0-.3.008Zm-15.271 2.862a.46.46 0 0 0-.3.187a.57.57 0 0 0-.093.336v.849a.525.525 0 0 0 .45.516H14.4a.515.515 0 0 0 .425-.538v-.892a.46.46 0 0 0-.15-.344a.53.53 0 0 0-.363-.127h-.856a1 1 0 0 0-.149.013m15.269 0a.46.46 0 0 0-.369.32a.7.7 0 0 0-.022.247v.9a.51.51 0 0 0 .492.425h.895a.517.517 0 0 0 .515-.518v-.894a.5.5 0 0 0-.214-.409a1.1 1.1 0 0 0-.59-.082c-.234.007-.472-.015-.7.013Z"/>'},bV={width:32,height:32,body:'<path fill="#bf6d55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#e44f26" d="M14.167 28.901L12.482 10h18.516l-1.687 18.898L21.729 31z"/><path fill="#f1662a" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#fff" d="m20.99 24.011l-6-3.607v-1.307l6-3.608v2.023l-3.828 2.238l3.828 2.239zm1.5-.002v-2.021l3.855-2.238l-3.855-2.237v-2.022l6 3.591v1.336z"/>'},vV={width:32,height:32,body:'<path fill="#db917b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db917b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#e44f26" d="M14.167 28.901L12.482 10h18.516l-1.687 18.898L21.729 31z"/><path fill="#f1662a" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#fff" d="m20.99 24.011l-6-3.607v-1.307l6-3.608v2.023l-3.828 2.238l3.828 2.239zm1.5-.002v-2.021l3.855-2.238l-3.855-2.237v-2.022l6 3.591v1.336z"/>'},je=(e,t)=>({name:e,icon:t}),$o={file:je("file",JP),typescript:je("typescript",aH),"typescript-definition":je("typescript-definition",rH),"react-typescript":je("react-typescript",ZG),"react-javascript":je("react-javascript",UG),javascript:je("javascript",DG),json:je("json",FG),html:je("html",AG),css:je("css",fG),sass:je("sass",QG),vue:je("vue",oH),svelte:je("svelte",XG),markdown:je("markdown",TG),config:je("config",cG),env:je("env",mG),yaml:je("yaml",xH),shell:je("shell",YG),powershell:je("powershell",PG),docker:je("docker",pG),git:je("git",bG),npm:je("npm",zG),yarn:je("yarn",dH),pnpm:je("pnpm",LG),bun:je("bun",rG),vite:je("vite",iH),vitest:je("vitest",sH),eslint:je("eslint",EG),prettier:je("prettier",GG),biome:je("biome",aG),tailwind:je("tailwind",eH),image:je("image",BG),svg:je("svg",WG),audio:je("audio",nG),video:je("video",lH),font:je("font",yG),database:je("database",KG),prisma:je("prisma",HG),graphql:je("graphql",kG),python:je("python",IG),ruby:je("ruby",$G),go:je("go",vG),rust:je("rust",qG),cargo:je("cargo",iG),java:je("java",wG),gradle:je("gradle",CG),kotlin:je("kotlin",MG),swift:je("swift",JG),c:je("c",lG),"c-header":je("c-header",sG),cpp:je("cpp",uG),"cpp-header":je("cpp-header",xG),csharp:je("csharp",dG),php:je("php",OG),lua:je("lua",_G),dart:je("dart",hG),elixir:je("elixir",gG),wasm:je("wasm",cH),protobuf:je("protobuf",VG),xml:je("xml",uH),terraform:je("terraform",tH),notebook:je("notebook",SG),text:je("text",nH),pdf:je("pdf",RG),archive:je("archive",fH),license:je("license",NG),build:je("build",jG),cmake:je("cmake",oG)},CV=[[/\.d\.(?:ts|mts|cts)$/,"typescript-definition"],[/^(?:package|package-lock|npm-shrinkwrap)\.json$/,"npm"],[/^(?:pnpm-lock|pnpm-workspace)\.ya?ml$/,"pnpm"],[/^yarn\.lock$|^\.yarnrc(?:\.ya?ml)?$/,"yarn"],[/^bun\.lockb?$|^bunfig\.toml$/,"bun"],[/^tsconfig(?:\..+)?\.json$/,"typescript"],[/^jsconfig(?:\..+)?\.json$|^deno\.jsonc?$/,"javascript"],[/^vitest\.config\./,"vitest"],[/^vite\.config\./,"vite"],[/^tailwind\.config\./,"tailwind"],[/^eslint\.config\.|^\.eslintrc(?:\..+)?$/,"eslint"],[/^prettier\.config\.|^\.prettierrc(?:\..+)?$|^\.prettierignore$/,"prettier"],[/^biome\.jsonc?$/,"biome"],[/^dockerfile(?:\..+)?$|^(?:docker-)?compose(?:\.[^.]+)?\.ya?ml$/,"docker"],[/^\.git(?:ignore|attributes|modules|keep)$|^codeowners$/,"git"],[/^\.env(?:\..+)?$/,"env"],[/^(?:readme|changelog|changes|contributing|security|code_of_conduct)(?:\..+)?$/,"markdown"],[/^(?:license|licence|copying)(?:\..+)?$/,"license"],[/^cargo\.(?:toml|lock)$/,"cargo"],[/^go\.(?:mod|sum|work)$/,"go"],[/^(?:gemfile|rakefile)(?:\.lock)?$/,"ruby"],[/^(?:podfile|package\.swift)(?:\.lock)?$/,"swift"],[/^pyproject\.toml$|^poetry\.lock$|^pipfile(?:\.lock)?$|^requirements(?:\.[^.]+)?\.txt$/,"python"],[/^composer\.(?:json|lock)$/,"php"],[/^pom\.xml$/,"java"],[/^(?:build|settings)\.gradle(?:\.kts)?$|^gradlew(?:\.bat)?$/,"gradle"],[/^(?:makefile|justfile|taskfile\.ya?ml)$/,"build"],[/^cmakelists\.txt$/,"cmake"],[/^\.(?:bash|zsh|fish)(?:rc|_profile)?$/,"shell"]],kV=[["typescript",["ts","mts","cts"]],["react-typescript",["tsx"]],["react-javascript",["jsx"]],["javascript",["js","mjs","cjs"]],["json",["json","jsonc","json5","geojson","map"]],["html",["html","htm","astro","ejs","hbs","handlebars","liquid","njk","nunjucks","pug"]],["css",["css","pcss","less","styl","stylus"]],["sass",["scss","sass"]],["vue",["vue"]],["svelte",["svelte"]],["markdown",["md","mdx","markdown","mdown"]],["yaml",["yaml","yml"]],["config",["toml","ini","cfg","conf","config","properties"]],["shell",["sh","bash","zsh","fish"]],["powershell",["ps1","psm1","psd1"]],["image",["png","jpg","jpeg","gif","webp","avif","ico","bmp","tif","tiff"]],["svg",["svg"]],["audio",["mp3","m4a","wav","ogg","flac"]],["video",["mp4","m4v","mov","webm"]],["font",["woff","woff2","ttf","otf","eot"]],["database",["sql","sqlite","sqlite3","db"]],["prisma",["prisma"]],["graphql",["graphql","graphqls","gql"]],["python",["py","pyi","pyw"]],["ruby",["rb","erb"]],["go",["go"]],["rust",["rs"]],["java",["java","class","jar"]],["gradle",["gradle"]],["kotlin",["kt","kts"]],["swift",["swift"]],["c",["c","m"]],["c-header",["h"]],["cpp",["cc","cpp","cxx","mm"]],["cpp-header",["hh","hpp","hxx"]],["csharp",["cs","csx"]],["php",["php","phtml"]],["lua",["lua"]],["dart",["dart"]],["elixir",["ex","exs","heex"]],["wasm",["wasm","wat"]],["protobuf",["proto"]],["xml",["xml","xsl","xslt","plist","csproj","fsproj","vbproj"]],["terraform",["tf","tfvars","hcl"]],["notebook",["ipynb"]],["text",["txt","log","csv","tsv"]],["pdf",["pdf"]],["archive",["zip","tar","gz","tgz","bz2","xz","7z","rar"]],["license",["license"]],["build",["mk"]],["cmake",["cmake"]]],AV=new Map(kV.flatMap(([e,t])=>t.map(a=>[a,e])));function BV(e){const t=Ap(e).toLowerCase();for(const[s,o]of CV)if(s.test(t))return $o[o];const a=t.includes(".")?t.slice(t.lastIndexOf(".")+1):"",l=AV.get(a);return l?$o[l]:t.startsWith(".")&&t.length>1?$o.config:$o.file}const Ct=(e,t,a)=>({name:e,closedIcon:t,openedIcon:a}),t6={folder:Ct("folder",eG,tG),src:Ct("src",uV,xV),app:Ct("app",mH,gH),component:Ct("component",AH,BH),test:Ct("test",mV,gV),public:Ct("public",eV,tV),config:Ct("config",wH,DH),docs:Ct("docs",RH,OH),github:Ct("github",GH,HH),node:Ct("node",WH,JH),asset:Ct("asset",EH,yH),script:Ct("script",rV,lV),library:Ct("library",$H,qH),api:Ct("api",hH,pH),server:Ct("server",iV,sV),client:Ct("client",CH,kH),dist:Ct("dist",TH,zH),database:Ct("database",_H,jH),route:Ct("route",nV,aV),hook:Ct("hook",VH,IH),service:Ct("service",oV,cV),model:Ct("model",KH,XH),controller:Ct("controller",FH,SH),view:Ct("view",bV,vV),mock:Ct("mock",QH,YH),coverage:Ct("coverage",MH,NH),font:Ct("font",LH,PH),audio:Ct("audio",bH,vH),video:Ct("video",EV,yV),image:Ct("image",UH,ZH),style:Ct("style",dV,fV),template:Ct("template",hV,pV)},wV=new Map([...Bt("src",["src","source","sources"]),...Bt("app",["app","apps"]),...Bt("component",["component","components"]),...Bt("test",["test","tests","__tests__","spec","specs","e2e"]),...Bt("public",["public","static"]),...Bt("config",[".config","config","configs"]),...Bt("docs",["doc","docs","documentation"]),...Bt("github",[".github",".gitlab"]),...Bt("node",["node_modules"]),...Bt("asset",["asset","assets"]),...Bt("script",["bin","script","scripts"]),...Bt("library",["lib","libs","library","libraries"]),...Bt("api",["api","apis"]),...Bt("server",["backend","server","servers"]),...Bt("client",["client","clients","frontend"]),...Bt("dist",["build","dist","out","output"]),...Bt("database",["data","database","databases","db","migrations"]),...Bt("route",["route","router","routers","routes"]),...Bt("hook",["hook","hooks"]),...Bt("service",["service","services"]),...Bt("model",["model","models"]),...Bt("controller",["controller","controllers"]),...Bt("view",["view","views"]),...Bt("mock",["fixture","fixtures","mock","mocks"]),...Bt("coverage",["coverage"]),...Bt("font",["font","fonts"]),...Bt("audio",["audio"]),...Bt("video",["video","videos"]),...Bt("image",["image","images","img"]),...Bt("style",["css","style","styles"]),...Bt("template",["template","templates"])]);function DV(e){const t=wV.get(Ap(e).toLowerCase());return t?t6[t]:t6.folder}function Bt(e,t){return t.map(a=>[a,e])}function Ap(e){return e.split(/[/\\]/).filter(Boolean).at(-1)??""}function Bp({artwork:e,className:t,...a}){const l=e.width??16,s=e.height??16,o=e.left??0,c=e.top??0;return x.jsx("svg",{...a,"aria-hidden":"true",focusable:"false",viewBox:`${o} ${c} ${l} ${s}`,className:pe("inline-block size-4 shrink-0",t),dangerouslySetInnerHTML:{__html:e.body}})}function FV({path:e,...t}){const a=BV(e);return x.jsx(Bp,{...t,artwork:a.icon,"data-file-icon":a.name})}function SV({expanded:e,path:t,...a}){const l=DV(t);return x.jsx(Bp,{...a,artwork:e?l.openedIcon:l.closedIcon,"data-folder-expanded":e,"data-folder-icon":l.name})}function MV(e,t){if(e.pr_status==="merged")return"merged";if(t&&(t.dirty||t.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 NV={push:{label:"Uncommitted changes",tone:"text-working",icon:x.jsx(fC,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:x.jsx(Vr,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},checks:{label:"Checks running",tone:"text-working",icon:x.jsx(T0,{size:14,className:"animate-spin"})},failed:{label:"Checks failed",tone:"text-del",icon:x.jsx(iC,{size:14})},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:x.jsx(hx,{size:14})}},_V={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 jV({ws:e,local:t,sessionId:a}){return x.jsx(TV,{ws:e,local:t,sessionId:a},e.id)}function TV({ws:e,local:t,sessionId:a}){const l=L0(),[s,o]=w.useState(!1),[c,d]=w.useState(!1),[f,h]=w.useState(null);if(f?.ok&&(f.continued||e.pr_status!=="merged"))return x.jsxs(n6,{children:[x.jsx(na,{size:15,className:"shrink-0 text-add"}),x.jsx("span",{className:"truncate font-medium text-add",children:f.msg})]});const m=MV(e,t);if(!m)return null;const{label:p,tone:y,icon:b}=NV[m],v=async()=>{d(!0),h(null);try{const B=await Fe.merge(e.id);B.ok?(h({ok:!0,msg:`Merged${B.method?` (${B.method})`:""}`}),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["diff",e.id]})):(h({ok:!1,msg:B.error||"Merge failed"}),o(!1))}catch(B){h({ok:!1,msg:B instanceof Error?B.message:String(B)}),o(!1)}finally{d(!1)}},k=async()=>{d(!0),h(null);try{const B=await Fe.continueWorkspace(e.id,a);B.ok?(h({ok:!0,msg:B.workspace?.branch?`Continued on ${B.workspace.branch}`:"Continued on a new branch",continued:!0}),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["diff",e.id]})):h({ok:!1,msg:B.error||"Could not continue this workspace"})}catch(B){h({ok:!1,msg:B instanceof Error?B.message:String(B)})}finally{d(!1)}},C=async B=>{if(!e.active_session_id)return h({ok:!1,msg:"No active session to message"});d(!0),h(null);try{const N=await Fe.sendPrompt(e.active_session_id,_V[B],e.id);h(N.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:N.error||"Send failed"})}catch(N){h({ok:!1,msg:N instanceof Error?N.message:String(N)})}finally{d(!1)}};return x.jsxs(n6,{tint:m==="merge"?"add":m==="merged"?"merged":void 0,children:[e.pr_number?x.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:pe("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",m==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,x.jsx(Zb,{size:12})]}):null,x.jsxs("span",{className:pe("flex items-center gap-1 truncate font-medium",y),children:[b,p]}),x.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[f&&!f.ok?x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:f.msg}),Rr(f.msg)?x.jsx(Ma,{className:"shrink-0 text-[11px]"}):null]}):null,m==="merge"||m==="checks"?s?x.jsxs(x.Fragment,{children:[x.jsx(zV,{onClick:()=>o(!1)}),x.jsx(Vi,{onClick:v,busy:c,className:m==="merge"?"bg-add text-on-solid":"bg-working text-on-solid",children:"Confirm"})]}):x.jsxs(Vi,{onClick:()=>o(!0),className:m==="merge"?"bg-add text-on-solid":"border border-border bg-surface-2 text-text",children:[x.jsx(hx,{size:13}),"Merge"]}):m==="push"?x.jsx(Vi,{onClick:()=>C("push"),busy:c,className:"bg-working text-on-solid",children:"Commit & push"}):m==="resolve"?x.jsx(Vi,{onClick:()=>C("resolve"),busy:c,className:"border border-border bg-surface-2 text-text",children:"Resolve"}):m==="merged"?x.jsxs(Vi,{onClick:k,busy:c,title:"Continue on a new branch with the same chats",className:"border border-pr-merged/30 bg-surface-2 text-pr-merged",children:[x.jsx(Dk,{size:13}),"Continue"]}):null]})]})}function Vi({onClick:e,busy:t,title:a,className:l,children:s}){return x.jsxs("button",{type:"button",onClick:e,disabled:t,title:a,className:pe("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",l),children:[t?x.jsx(T0,{size:13,className:"animate-spin"}):null,s]})}function zV({onClick:e}){return x.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const RV={add:"bg-add/10",merged:"bg-pr-merged/10"};function n6({tint:e,children:t}){return x.jsx("div",{className:pe("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?RV[e]:"bg-surface/95"),children:t})}function a6({file:e,label:t,inset:a,alignWithFolders:l,selected:s,onSelectFile:o}){return x.jsx("li",{children:x.jsxs("button",{type:"button",title:e.path,"aria-label":e.path,onClick:()=>o(e.path),"aria-pressed":s,className:pe("grid min-h-8 w-full min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-md pr-2 text-left transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",s&&"bg-accent-soft"),style:{paddingLeft:a},children:[x.jsxs("span",{className:"flex min-w-0 items-center gap-1.5",children:[l?x.jsx("span",{className:"size-3.5 shrink-0","aria-hidden":"true"}):null,x.jsx(FV,{path:e.path}),x.jsx("span",{className:pe("truncate",s?"text-text":"text-muted"),children:t})]}),x.jsx("span",{className:"min-w-8 text-right text-add",children:e.added?`+${e.added}`:null}),x.jsx("span",{className:"min-w-8 text-right text-del",children:e.removed?`−${e.removed}`:null})]})})}function wp({review:e,sessionId:t,scope:a,showFolders:l,selectedFile:s,onSelectFile:o}){const{workspace:c,query:d,filesQuery:f}=e,{data:h,isLoading:m,isError:p,error:y}=d,b=h?{dirty:h.dirty,unpushed:h.unpushed}:void 0,v=w.useMemo(()=>kp(a,h?.files??[],f.data?.files??[]),[a,h?.files,f.data?.files]),k=a==="changed"?m:f.isLoading,C=a==="changed"?p:f.isError,B=a==="changed"?y:f.error,N=a==="changed"?!!h:!!f.data;return x.jsxs("div",{className:"min-h-0 flex flex-1 flex-col",children:[x.jsx(jV,{ws:c,local:b,sessionId:t}),k&&!N?x.jsx(pn,{label:a==="changed"?"Computing diff…":"Listing files…"}):null,C&&!N?x.jsx(Qt,{children:B?.message}):null,!k&&!C&&!N?x.jsx(Qt,{children:a==="changed"?"No diff.":"No file list."}):null,a==="changed"&&h?.files.length===0?x.jsxs(Qt,{children:["No changes vs ",x.jsx("span",{className:"font-mono",children:h.base}),"."]}):null,a==="all"&&f.data?.files.length===0?x.jsx(Qt,{children:"No previewable files in this workspace."}):null,N&&v.length>0?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"shrink-0 border-b border-border-soft px-3 py-2 text-xs text-muted",children:a==="changed"&&h?x.jsxs(x.Fragment,{children:["vs ",x.jsx("span",{className:"font-mono text-faint",children:h.base})," · ",v.length," file",v.length===1?"":"s"]}):x.jsxs(x.Fragment,{children:[v.length,f.data?.truncated?"+":""," previewable file",v.length===1?"":"s"]})}),x.jsx(OV,{files:v,scope:a,showFolders:l,selectedFile:s,onSelectFile:o})]}):null]})}function OV({files:e,scope:t,showFolders:a,selectedFile:l,onSelectFile:s}){const o=w.useMemo(()=>a?vp(e):[],[e,a]),c=w.useMemo(()=>a?[]:Cp(e),[e,a]),d=w.useMemo(()=>{if(!l)return[];const b=l.split("/");return b.pop(),b.map((v,k)=>b.slice(0,k+1).join("/"))},[l]),[f,h]=w.useState(()=>new Map(d.map(b=>[b,!0])));w.useEffect(()=>{d.length&&h(b=>{const v=new Map(b);let k=!1;for(const C of d)v.get(C)!==!0&&(v.set(C,!0),k=!0);return k?v:b})},[d]);const m=b=>f.get(b)??t==="changed",p=b=>{h(v=>{const k=new Map(v);return k.set(b,!(v.get(b)??t==="changed")),k})},y=(b,v)=>{const k=8+v*16;if(b.kind==="folder"){const C=m(b.path),B=!!l?.startsWith(`${b.path}/`);return x.jsxs("li",{children:[x.jsxs("button",{type:"button",onClick:()=>p(b.path),"aria-expanded":C,"aria-label":`${C?"Collapse":"Expand"} ${b.path}, ${b.fileCount} file${b.fileCount===1?"":"s"}`,className:"grid min-h-8 w-full min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-md pr-2 text-left transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",style:{paddingLeft:k},children:[x.jsxs("span",{className:"flex min-w-0 items-center gap-1.5",children:[x.jsx(r9,{size:14,className:pe("shrink-0 text-faint transition-transform",C&&"rotate-90")}),x.jsx(SV,{path:b.path,expanded:C}),x.jsx("span",{className:pe("truncate",B?"text-text":"text-muted"),children:b.name}),x.jsx("span",{className:"shrink-0 text-[10px] tabular-nums text-faint",children:b.fileCount})]}),x.jsx("span",{className:"min-w-8 text-right text-add",children:b.added?`+${b.added}`:null}),x.jsx("span",{className:"min-w-8 text-right text-del",children:b.removed?`−${b.removed}`:null})]}),C?x.jsx("ul",{children:b.children.map(N=>y(N,v+1))}):null]},b.path)}return x.jsx(a6,{file:b.file,label:b.name,inset:k,alignWithFolders:!0,selected:b.path===l,onSelectFile:s},b.path)};return a?x.jsx("ul",{"aria-label":`${t==="changed"?"Changed":"All"} files by folder`,className:"min-h-0 flex-1 overflow-y-auto overscroll-contain px-2 py-2 font-mono text-[12px]",children:o.map(b=>y(b,0))}):x.jsx("ul",{"aria-label":`${t==="changed"?"Changed":"All"} files`,className:"min-h-0 flex-1 overflow-y-auto overscroll-contain px-2 py-2 font-mono text-[12px]",children:c.map(b=>x.jsx(a6,{file:b,label:b.path,inset:8,selected:b.path===l,onSelectFile:s},b.path))})}function LV({review:e,filePath:t,scope:a,showFolders:l,onSelectFile:s,onShowFiles:o,onClose:c}){const{workspace:d,query:f,filesQuery:h,fileQuery:m}=e,{data:p,isLoading:y,isError:b,error:v}=f,k=w.useMemo(()=>{const Z=kp(a,p?.files??[],h.data?.files??[]);return l?KP(Z):Cp(Z)},[a,l,p?.files,h.data?.files]),C=k.findIndex(Z=>Z.path===t),B=C>=0?k[C]:void 0,N=w.useMemo(()=>a==="changed"&&p&&!p.truncated?WP(p.patch,p.files,t):null,[a,p,t]),M=a==="changed"&&!!p?.truncated,S=M&&m.data?.path===t?m.data:null,F=S?.patch??N,D=C>0?k[C-1]:void 0,R=C>=0&&C<k.length-1?k[C+1]:void 0,O=a==="all"&&d.worktree?`${d.worktree}/${t}`:null,P=sS(O,a==="all"),T=a==="changed"?"changed file":"file",H=a==="changed"?"changed files":"all files";return x.jsxs("section",{className:"min-h-0 flex flex-1 flex-col bg-bg","aria-label":a==="changed"?`Changes in ${t}`:`Source of ${t}`,children:[x.jsx(nd,{title:x.jsxs("span",{className:"flex items-baseline gap-2",children:[x.jsx("span",{children:a==="changed"?"Changes":"Source"}),a==="changed"&&B?.added?x.jsxs("span",{className:"text-xs font-normal text-add",children:["+",B.added]}):null,a==="changed"&&B?.removed?x.jsxs("span",{className:"text-xs font-normal text-del",children:["−",B.removed]}):null]}),subtitle:B?.path??t,actions:x.jsxs("div",{className:"flex shrink-0 items-center gap-0.5 lg:hidden",children:[x.jsx("button",{type:"button",onClick:()=>D&&s(D.path),disabled:!D,"aria-label":`Previous ${T}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-25",children:x.jsx(eC,{size:17})}),x.jsx("span",{className:"min-w-9 text-center text-[11px] tabular-nums text-faint",children:C>=0?`${C+1}/${k.length}`:"—"}),x.jsx("button",{type:"button",onClick:()=>R&&s(R.path),disabled:!R,"aria-label":`Next ${T}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-25",children:x.jsx(r9,{size:17})}),x.jsx("button",{type:"button",onClick:o,"aria-label":`Show ${H}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2",children:x.jsx(o9,{size:17})})]}),onClose:c,closeLabel:"Close file viewer"}),x.jsx("div",{className:"min-h-0 flex-1 overflow-auto overscroll-contain",children:a==="changed"?x.jsxs(x.Fragment,{children:[y&&!p?x.jsx(pn,{label:"Loading changes…"}):null,b?x.jsx(Qt,{children:v?.message}):null,p&&C<0?x.jsx(Qt,{children:"This file is no longer changed."}):null,p&&C>=0&&M&&m.isLoading&&!S?x.jsx(pn,{label:"Loading file changes…"}):null,p&&C>=0&&M&&m.isError&&!S?x.jsx(Qt,{children:m.error?.message}):null,p&&C>=0&&!M&&F===null?x.jsx(Qt,{children:"No textual patch is available for this file."}):null,S&&!F?x.jsx(Qt,{children:"No textual patch is available for this file."}):null,F?x.jsx(cp,{patch:F,fileName:t,hideFileHeader:!0,className:"p-4"}):null]}):x.jsxs(x.Fragment,{children:[P.isLoading&&!P.data?x.jsx(pn,{label:"Reading source…"}):null,P.isError&&!P.data?x.jsx(Qt,{children:P.error?.message}):null,!h.isLoading&&!d.worktree?x.jsx(Qt,{children:"Workspace files are unavailable."}):null,P.data?x.jsx(Ph,{preview:P.data}):null]})})]})}const PV=/^[a-z][a-z0-9_-]{0,63}$/,r6=["none","low","medium","high","xhigh","max","ultracode"],l6=e=>({version:1,roles:Object.fromEntries(Object.entries(e.roles).map(([t,a])=>[t,{...a}]))}),GV=e=>`You are the ${e} agent for this workspace. End your final answer with a \`## Baton\` section: Decision, Evidence, Files changed, Risks, Suggested next role.`;function HV(e,t){const l=[void 0,...t==="codex"?r6:r6.filter(o=>o!=="none")],s=l.indexOf(e);return l[(s+1)%l.length]}function VV(e,t){const a={...e};return t===void 0?delete a.effort:a.effort=t,a}function IV(e,t){const a={...e,model:t},l=Ll(t);return bx(l)||delete a.effort,vx(l)||delete a.fast,a}function UV(e,t){const a=Cx(t);if(!a||!C9(e.model,[a]))return"Choose an exact model from Conductor’s newest picker snapshot.";const l=Ll(e.model);return l?e.effort!==void 0&&!bx(l)?"Conductor does not expose a reasoning control for this provider. Select its model again to clear Effort.":e.effort==="none"&&l!=="codex"?"None effort is available only for Codex.":e.fast!==void 0&&!vx(l)?"Conductor does not expose a Fast control for this provider. Select its model again to clear Fast.":null:"This model label does not identify a supported provider."}function ZV(e,t){const a=Cx(t);return!a||!C9(e.model,[a])?null:Ll(e.model)??null}function i6(e,t,a,l){return e&&!t&&a!==void 0&&l===0}function Dp({name:e}){return x.jsx("span",{className:"max-w-20 shrink-0 truncate rounded bg-accent/10 px-1 py-0.5 font-mono text-[9px] uppercase tracking-wide text-accent",children:e})}function $V({name:e,role:t,models:a,agentType:l=null,invalid:s,onChange:o,onRemove:c,canRemove:d}){const f=l??Ll(t.model)??null,h=bx(f),m=vx(f);return x.jsxs("section",{className:pe("rounded-2xl border bg-surface p-3",s?"border-del/50":"border-border"),children:[x.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[x.jsx(Dp,{name:e}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:e}),x.jsx("button",{type:"button",disabled:!d,onClick:c,"aria-label":`Remove ${e} role`,className:"flex size-7 shrink-0 items-center justify-center rounded-lg text-faint active:bg-surface-2 disabled:invisible",children:x.jsx(aD,{size:14})})]}),x.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[x.jsx(hp,{value:t.model,models:a,placement:"below",empty:"No picker models are cached yet.",onSelect:p=>o(IV(t,p)),renderTrigger:({picking:p,toggle:y})=>x.jsxs("button",{type:"button",onClick:y,"aria-label":`Choose model for ${e}, currently ${t.model}`,"aria-haspopup":"menu","aria-expanded":p,className:pe("flex h-8 max-w-56 min-w-0 items-center gap-1.5 rounded-lg border px-2 text-xs active:bg-surface-2",s?"border-del text-del":"border-border text-muted"),children:[x.jsx(Lr,{agentType:l,model:t.model,className:"size-3.5"}),x.jsx("span",{className:"truncate",children:t.model})]})}),h?x.jsxs("button",{type:"button",onClick:()=>o(VV(t,HV(t.effort,f))),"aria-label":`Reasoning effort for ${e}: ${t.effort?as[t.effort]:"default"}`,className:"flex h-8 items-center gap-1.5 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2",children:[x.jsx(f7,{effort:t.effort??""}),t.effort?as[t.effort]:"Effort"]}):null,m?x.jsxs("button",{type:"button",onClick:()=>o({...t,fast:!t.fast}),"aria-label":`Fast mode for ${e} ${t.fast?"on":"off"}`,"aria-pressed":t.fast===!0,className:pe("flex h-8 items-center gap-1 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2",t.fast&&"bg-surface-2 text-text"),children:[x.jsx(yx,{size:13})," Fast"]}):null]}),s?x.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-del",children:[x.jsx(Vr,{size:13,className:"mt-0.5 shrink-0"}),x.jsx("span",{children:s})]}):null,x.jsxs("details",{className:"mt-2",children:[x.jsx("summary",{className:"cursor-pointer select-none text-[11px] text-faint",children:"Role preamble"}),x.jsx("textarea",{value:t.preamble??"",onChange:p=>o({...t,preamble:p.target.value}),rows:4,"aria-label":`${e} role preamble`,className:"mt-1.5 block w-full resize-y rounded-xl border border-border bg-bg px-2.5 py-2 text-base leading-relaxed outline-none focus:border-accent/60"})]})]})}function Fp({onClose:e}){const t=L0(),a=Fx(),l=E1(),[s,o]=w.useState(null),[c,d]=w.useState(!1),[f,h]=w.useState(!1),[m,p]=w.useState(null),[y,b]=w.useState("");w.useEffect(()=>{a.data&&!c&&o(l6(a.data))},[a.data,c]);const v=l.data?.groups,k=w.useMemo(()=>Cx(v??[])?.models??[],[v]),C=new Map(a.data?.issues.map(P=>[P.role,P.error.message])??[]),B=s,N=new Map;if(B)for(const[P,T]of Object.entries(B.roles)){const H=v?UV(T,v):C.get(P);H&&N.set(P,H)}const M=(P,T)=>{B&&(o({version:1,roles:{...B.roles,[P]:T}}),d(!0),p(null))},S=P=>{if(!B||Object.keys(B.roles).length<=1)return;const{[P]:T,...H}=B.roles;o({version:1,roles:H}),d(!0)},F=y.trim().toLowerCase().replace(/\s+/g,"-"),D=y&&!PV.test(F)?"Use lowercase letters, numbers, dashes, or underscores.":F&&B?.roles[F]?"That role already exists.":null,R=()=>{!B||!F||D||(o({version:1,roles:{...B.roles,[F]:{model:"Choose a model",fast:!1,preamble:GV(F)}}}),b(""),d(!0))},O=async()=>{if(!(!B||!i6(c,f,v,N.size))){h(!0),p(null);try{const P=await Fe.updateRoles(B);if(!P.ok){p(P.error.message);return}o(l6(P.config)),d(!1),await t.invalidateQueries({queryKey:["roles"]})}catch(P){p(P instanceof Error?P.message:String(P))}finally{h(!1)}}};return aa.createPortal(x.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",role:"dialog","aria-modal":"true","aria-label":"Roles settings",children:[x.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex items-center gap-1.5",children:[x.jsx("h2",{className:"text-[15px] font-semibold",children:"Roles"}),x.jsx(ld,{})]}),x.jsx("p",{className:"text-[11px] text-faint",children:"Cross-provider delegated chats"})]}),x.jsxs("button",{type:"button",disabled:!i6(c,f,v,N.size),onClick:()=>{O()},className:"flex h-9 items-center gap-1.5 rounded-xl bg-accent px-3 text-sm font-semibold text-white disabled:opacity-35",children:[f?x.jsx(T0,{size:15,className:"animate-spin"}):x.jsx(WB,{size:15}),"Save"]}),x.jsx("button",{type:"button",onClick:e,"aria-label":"Close roles settings",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(A0,{size:20})})]}),x.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto p-3",children:a.isLoading&&!B?x.jsx(pn,{label:"Loading roles…"}):a.isError&&!B?x.jsx("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-sm text-del",children:a.error instanceof Error?a.error.message:"Could not load roles."}):B?x.jsxs("div",{className:"mx-auto flex max-w-xl flex-col gap-2.5",children:[l.isError?x.jsxs("div",{className:"flex items-center gap-2 rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:[x.jsx("span",{className:"min-w-0 flex-1",children:"Could not load the saved Conductor model catalog."}),x.jsx("button",{type:"button",onClick:()=>{l.refetch()},className:"shrink-0 rounded-lg border border-del/40 px-2 py-1 font-semibold",children:"Retry"})]}):null,a.data?.warning?x.jsxs("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:[a.data.warning," The file was preserved; saving replaces it only after validation."]}):null,Object.entries(B.roles).map(([P,T])=>x.jsx($V,{name:P,role:T,models:k,agentType:v?ZV(T,v):null,invalid:N.get(P),onChange:H=>M(P,H),onRemove:()=>S(P),canRemove:Object.keys(B.roles).length>1},P)),x.jsxs("div",{className:"rounded-2xl border border-dashed border-border p-2.5",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("input",{value:y,onChange:P=>b(P.target.value),onKeyDown:P=>{P.key==="Enter"&&R()},placeholder:"Add a role","aria-label":"New role name",className:"min-w-0 flex-1 bg-transparent px-1 text-base outline-none placeholder:text-faint"}),x.jsxs("button",{type:"button",disabled:!F||!!D,onClick:R,className:"flex h-8 items-center gap-1 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2 disabled:opacity-35",children:[x.jsx(n1,{size:14})," Add"]})]}),D?x.jsx("p",{className:"mt-1.5 px-1 text-xs text-del",children:D}):null]}),N.size?x.jsx("p",{className:"text-xs text-del",children:"Choose the missing picker models before starting a Workflow."}):null,m?x.jsx("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:m}):null,x.jsx("p",{className:"px-1 text-[11px] leading-relaxed text-faint",children:"Roles configure future Workflow runs. Accepted jobs keep their frozen model and effort."})]}):null})]}),document.body)}function qV(e){const[t,a]=w.useState(null),[l,s]=w.useState(null),o=L0(),c=l&&l.workspaceId===e?l.message:null,d=w.useCallback(p=>s(p&&e?{workspaceId:e,message:p}:null),[e]),f=w.useCallback(async p=>{if(!(!e||t)){a(p),d(null);try{const y=await Fe.setStatus(e,p);y.ok||d(y.error??"status change failed"),await o.invalidateQueries({queryKey:["state"]})}catch(y){d(y instanceof Error?y.message:"status change failed")}finally{a(null)}}},[e,t,o,d]),h=w.useCallback(async p=>{if(!(!e||t)){a("archive"),d(null);try{const y=await Fe.archive(e,p);y.ok||d(y.error??"archiving failed"),await o.invalidateQueries({queryKey:["state"]}),await o.invalidateQueries({queryKey:["workspace",e]})}catch(y){d(y instanceof Error?y.message:"archiving failed")}finally{a(null)}}},[e,t,o,d]),m=w.useCallback(()=>s(null),[]);return{busy:t,error:c,setStatus:f,archive:h,dismissError:m}}function QV({workspace:e,agentsRunning:t,actions:a}){const[l,s]=w.useState(!1),[o,c]=w.useState(!1),d=be(C=>C.online),{busy:f,error:h}=a,m=B1(e),p=()=>{s(!1),c(!1)},y=C=>{p(),C!==m&&a.setStatus(C)},b=()=>{p(),a.archive(t>0)},k=f==="archive"?m:f??m;return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",onClick:()=>l?p():s(!0),disabled:!d||f!==null,"aria-label":`Workspace menu: ${u1(m)}`,"aria-expanded":l,className:pe("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",l&&"bg-surface-2 text-text"),children:f?x.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":YV(k)}}):x.jsx(s6,{status:k})}),l?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button","aria-label":"Close workspace menu",className:"fixed inset-0 z-20 cursor-default",onClick:p}),x.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:o?x.jsxs("div",{className:"p-3",children:[x.jsx("div",{className:"text-sm font-semibold",children:"Archive workspace?"}),x.jsx("p",{className:"mt-1 text-xs leading-snug text-muted",children:t>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."}),x.jsxs("div",{className:"mt-3 flex justify-end gap-2",children:[x.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"}),x.jsx("button",{type:"button",onClick:b,className:"rounded-lg bg-del px-2.5 py-1 text-xs font-semibold text-on-solid active:scale-95",children:t>0?"Stop agents and archive":"Archive"})]})]}):x.jsxs(x.Fragment,{children:[Vh.map(C=>x.jsxs("button",{type:"button",onClick:()=>y(C),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx(s6,{status:C}),x.jsx("span",{className:"flex-1",children:u1(C)}),C===m?x.jsx(na,{size:15,className:"text-accent"}):null]},C)),x.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:[x.jsx(xx,{size:15}),x.jsx("span",{className:"flex-1",children:"Archive workspace"})]})]})})]}):null,h?x.jsx("button",{type:"button",onClick:a.dismissError,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:h}):null]})}function YV(e){return Jx[e]??"var(--color-faint)"}function s6({status:e}){const t=Jx[e];return t?x.jsx("span",{className:"dot size-2.5",style:{background:t}}):x.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function KV(e,t,a,l){if(!t)return;const s=e.find(d=>d.rootSessionId===t);if(s)return s;const o=a[t]?.workflowId;if(o){const d=e.find(f=>f.id===o);if(d)return d}const c=l.find(d=>d.childSessionId===t&&d.workflowId)?.workflowId;return c?e.find(d=>d.id===c):void 0}function XV(e,t,a,l){if(!l)return;const s=e.find(p=>p.rootSessionId===l),o=t.filter(p=>p.parentSessionId===l),c=a[l],d=Object.values(a).some(p=>p.delegationId&&!p.workflowId),f=c?.role==="planning"&&!c.delegationId&&!c.workflowId&&d;if(!s&&!o.length&&!f)return;const h=new Set(o.filter(p=>!p.workflowId).map(p=>p.id)),m=Object.fromEntries(Object.entries(a).filter(([p,y])=>p===l?!0:y.workflowId?y.workflowId===s?.id:y.delegationId?f||h.has(y.delegationId):!1));return{workflow:s,jobs:o,roles:m}}function WV(){const{workspaceId:e}=Dy(),[t,a]=W6(),l=t.get("session"),s=t.get("subagent"),o=ge=>a({session:ge},{replace:!0}),[c,d]=w.useState(!1),[f,h]=w.useState("changed"),[m,p]=w.useState(null),[y,b]=w.useState(!1),v=m&&m.workspaceId===e?m.path:null,[k,C]=w.useState(!1),[B,N]=w.useState(null),[M,S]=w.useState(!1),[F,D]=w.useState(null),[R,O]=w.useState(null),[P,T]=w.useState(null),[H,Z]=w.useState(null),[J,W]=w.useState(null),$=L0(),G=Hr(),Y=qV(e),{data:re,isLoading:he}=Dx(),j=re?.workspaces.find(ge=>ge.id===e),L=lS(e,c&&!!j),Q=iS(e,v,c&&f==="changed"&&!!j&&!!L.data?.truncated),z=!!re&&!j,{data:le}=Z9(e,!z),Ee=be(ge=>ge.workingHints),de=be(ge=>ge.pending),Ce=be(ge=>ge.readMarks),Ie=be(ge=>ge.markRead),Se=be(ge=>ge.setDraft),et=be(ge=>ge.online),it=be(ge=>ge.view.showFolders),yt=be(ge=>ge.setView),we=j,oe=re?.actuator,{data:X,isLoading:De}=nS(e,z),He=aS(e,!!j?.worktree,c&&f==="all"),{data:st}=He,ot=j?.worktree??null,n0=st?.files,wt=w.useMemo(()=>({resolveMention:vh(ot,n0),worktree:ot}),[ot,n0]),Ft=le?.sessions??[],_e=we?.active_session_id&&Ft.some(ge=>ge.id===we.active_session_id)?we.active_session_id:null,ke=(l&&Ft.some(ge=>ge.id===l)?l:null)??_e??Ft[0]?.id??null,Et=Ft.find(ge=>ge.id===ke),se=ge=>{ke&&a(ge?{session:ke,subagent:ge}:{session:ke},{replace:!0})},ee={...le?.session_roles??{},...we?.session_roles??{}},Me=we?.delegations??[],Ke=Me.filter(ge=>!ge.workflowId),tt=(re?.workflows??[]).filter(ge=>ge.workspaceId===e);we?.workflow&&!tt.some(ge=>ge.id===we.workflow?.id)&&tt.push(we.workflow);const Vt=KV(tt,ke,ee,Me),y0=XV(tt,Me,ee,s?null:ke),Kt=ke?ee[ke]:void 0,It=ke?Me.find(ge=>ge.workflowId===Vt?.id&&ge.childSessionId===ke):void 0,i0=Kt&&Kt.workflowId===Vt?.id?Kt.role:It?.role,kt=Vt?.phase!=="completed"&&Vt?.phase!=="cancelled",gn=Vt&&kt&&ke===Vt.rootSessionId?"planning":i0==="planning"||i0==="exploration"||i0==="implementation"?i0:void 0,w0=w.useMemo(()=>new Set(Me.flatMap(ge=>ge.childSessionId?[ge.childSessionId]:[])),[Me]),la=Et?.updated_at;w.useEffect(()=>{we&&ke&&la&&document.visibilityState==="visible"&&Ie(ke,la)},[we,ke,la,Ie]),yS(ke,la);const En=w.useRef(null),On=we?B1(we):null,qn=!!we&&we.state==="ready"&&et&&!M,D0=!!we&&et&&!Y.busy,I=!!Et,ue=Y.setStatus,Be=w.useMemo(()=>On?[{id:"workspace.diff",label:c?"Hide changes":"Show changes",group:"Workspace",icon:m1,keywords:["diff","files","review","patch"],run:()=>En.current?.toggleDiff()},{id:"workspace.newChat",label:"New chat",group:"Workspace",icon:PA,keywords:["tab","session","same files"],enabled:qn,run:()=>En.current?.createChat()},{id:"workspace.context",label:"Context breakdown",group:"Workspace",icon:a9,keywords:["tokens","window","usage"],enabled:I,run:()=>En.current?.openContext()},...Vh.map(ge=>({id:`workspace.status.${ge}`,label:`Status: ${u1(ge)}`,group:"Workspace",keywords:["mark","move","sidebar","group"],checked:ge===On,enabled:D0,run:()=>{ge!==On&&ue(ge)}}))]:[],[On,c,qn,D0,I,ue]);if(rp("workspace",Be),!we)return X?x.jsx(jP,{workspace:X.workspace}):x.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[x.jsx(Qu,{title:"Session",menu:!0}),he||z&&De?x.jsx(pn,{}):x.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const Ze=ke?Ee[ke]:void 0,jt=Et?.status==="working"||Ze!==void 0&&Date.now()-Ze<Tu,Dt=Et?.turn_started_at?J0(Et.turn_started_at):null,Oe=(Et?.status==="working"?Dt??Ze:Ze??Dt)??null,Ne=Date.now(),qe=Object.fromEntries(Ft.map(ge=>{const b0=Ee[ge.id],V0=[...ge.id===ke&&we.pending_prompt?[we.pending_prompt]:[],...(we.parked_prompts??[]).filter(Wt=>Wt.sessionId===ge.id)];return[ge.id,S9(de.filter(Wt=>Wt.sessionId===ge.id),V0,b0!==void 0&&Ne-b0<Tu)]})),e0=[we.repo_name,we.branch,y9(we.model)].filter(Boolean).join(" · "),Lt=async()=>{if(!M){S(!0);try{const ge=await Fe.newChat(we.id);ge.ok&&(await $.invalidateQueries({queryKey:["sessions",we.id]}),ge.sessionId&&o(ge.sessionId))}finally{S(!1)}}},yn=async(ge,b0=!1)=>{if(F||!et)return;const V0=Ft.find(Wt=>Wt.id===ge);if((V0?.status==="working"||V0?.background_tasks.length)&&!b0){O(ge),T(null);return}D(ge),O(null),T(null);try{const Wt=await Fe.closeChat(ge,we.id,b0);if(!Wt.ok)throw new Error(Wt.error??"Could not close this chat");ke===ge&&(Wt.activeSessionId?o(Wt.activeSessionId):a({},{replace:!0})),await Promise.all([$.invalidateQueries({queryKey:["sessions",we.id]}),$.invalidateQueries({queryKey:["state"]})])}catch(Wt){Wt instanceof fn&&Wt.status===409&&/still working/i.test(Wt.message)?O(ge):T(Wt instanceof Error?Wt.message:"Could not close this chat")}finally{D(null)}},ia=async({thinking:ge,tools:b0,through:V0,only:Wt,destination:v0="chat"},Pn)=>{if(!ke)return;const a0=await Fe.splitChat(ke,we.id,ge,b0,V0,Wt,v0);if(!a0.ok)throw new Error(a0.error??"Could not fork this chat");const Gn=a0.sessionId??(v0==="workspace"?a0.workspaceId:null);if(!Gn)throw new Error("The new chat opened, but its id was not available");if(Se(Gn,[a0.text,Pn?.trim()].filter(Boolean).join(`
|
|
57
|
-
`)),a0.sessionId&&Z(a0.sessionId),v0==="workspace"){await $.invalidateQueries({queryKey:["state"]}),G(a0.sessionId?`/w/${a0.workspaceId}?session=${encodeURIComponent(a0.sessionId)}`:`/w/${a0.workspaceId}`);return}await $.invalidateQueries({queryKey:["sessions",we.id]}),a0.sessionId&&o(a0.sessionId)},Qn=()=>{d(!1),p(null),b(!1)},bn=()=>{p(null),b(!0)},Xt=()=>{c?Qn():(d(!0),b(!0))};En.current={toggleDiff:Xt,createChat:Lt,openContext:()=>{Et&&W({workspaceId:we.id,id:Et.id,title:Et.title})}};const u0=ge=>{p({workspaceId:we.id,path:ge}),b(!1)},Ln=ge=>{h(ge),ge==="all"&&we.worktree&&He.refetch()},sa={workspace:we,query:L,filesQuery:He,fileQuery:Q},Zr=async ge=>{N(null);try{const b0=await Fe.dismissDelegation(ge);if(!b0.ok)throw new Error(b0.error.message);await $.invalidateQueries({queryKey:["state"]})}catch(b0){N(b0 instanceof Error?b0.message:String(b0))}};return x.jsx(JR,{value:wt,children:x.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[x.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[x.jsx(Qu,{title:ta(we),subtitle:e0,menu:!0,right:x.jsxs(x.Fragment,{children:[x.jsx(QP,{workspaceId:we.id}),x.jsx("button",{type:"button",onClick:()=>C(!0),"aria-label":"Open delegated roles",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",children:x.jsx(_l,{size:18})}),x.jsx(QV,{workspace:we,agentsRunning:Ft.filter(ge=>ge.status==="working").length,actions:Y}),x.jsx(eI,{stats:we.change_stats,open:c,onToggle:Xt})]})}),Ft.length>0||we.state==="ready"?x.jsx(tI,{sessions:Ft,activeId:s?null:ke,readMarks:Ce,promptStates:qe,roles:ee,subtabSessionIds:w0,onSelect:o,onContext:ge=>W({workspaceId:we.id,id:ge.id,title:ge.title}),onNewChat:Lt,onClose:ge=>{yn(ge)},creating:M,closingId:F,online:et}):null,R?x.jsx(nI,{title:Ft.find(ge=>ge.id===R)?.title??"Untitled",busy:F===R,onCancel:()=>O(null),onConfirm:()=>{yn(R,!0)}}):P?x.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:[x.jsx("span",{className:"min-w-0 flex-1",children:P}),Rr(P)?x.jsx(Ma,{}):null,x.jsx("button",{type:"button",onClick:()=>T(null),"aria-label":"Dismiss close error",className:"p-1",children:x.jsx(A0,{size:14})})]}):null,y0?x.jsx(ML,{workflow:y0.workflow,jobs:y0.jobs,sessions:Ft,roles:y0.roles,activeSessionId:ke,onSelectSession:o}):null,we.delegation_warning||B?x.jsx("div",{className:"shrink-0 border-b border-del/30 bg-del/5 px-3 py-1.5 text-xs text-del",children:B??we.delegation_warning}):null,x.jsxs("div",{className:"relative min-h-0 flex flex-1 flex-col",children:[v?x.jsx(LV,{review:sa,filePath:v,scope:f,showFolders:it,onSelectFile:u0,onShowFiles:()=>b(!0),onClose:bn},v):x.jsx(up,{sessionId:ke,workspaceId:we.id,working:jt,workingSince:Oe,turnStartedAt:Et?.turn_started_at,waiting:Et?.background_tasks,delegations:Ke,agentType:Et?.agent_type,model:Et?.model,selectedSubagentId:s,queued:we.parked_prompts?.find(ge=>ge.sessionId===ke)??we.pending_prompt,onFork:ia,onSelectSession:o,onSelectSubagent:se,onDismissDelegation:ge=>{Zr(ge)},onOpenRoles:()=>C(!0)}),c&&(y||!v)?x.jsx(lI,{review:sa,sessionId:ke,scope:f,onScopeChange:Ln,showFolders:it,onShowFoldersChange:ge=>yt({showFolders:ge}),selectedFile:v,onSelectFile:u0,onClose:Qn}):null]}),s?x.jsx(JV,{title:Et?.title,onReturn:()=>se(null)}):x.jsx(VP,{session:Et,sessionId:ke,workspaceId:we.id,working:jt,actuator:oe,onFork:ge=>ia({thinking:!0,tools:!1},ge),onContext:Et?()=>W({workspaceId:we.id,id:Et.id,title:Et.title}):void 0,workflowStarted:!!(ke&&ee[ke])||!!(we.pending_prompt&&ke===we.active_session_id),workflow:Vt,workflowRole:gn,focusDraft:ke===H,onDraftFocused:()=>Z(null)},we.id)]}),c?x.jsx(rI,{review:sa,sessionId:ke,scope:f,onScopeChange:Ln,showFolders:it,onShowFoldersChange:ge=>yt({showFolders:ge}),selectedFile:v,onSelectFile:u0,onClose:Qn}):null,k?x.jsx(Fp,{onClose:()=>C(!1)}):null,J&&J.workspaceId===e?x.jsx($P,{sessionId:J.id,title:J.title,revision:Ft.find(ge=>ge.id===J.id)?.updated_at,onClose:()=>W(null)}):null]})})}function JV({title:e,onReturn:t}){return x.jsx("div",{className:"pb-safe flex shrink-0 items-center justify-center border-t border-border-soft px-4 py-3",children:x.jsxs("button",{type:"button",onClick:t,className:"flex min-w-0 items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium text-accent transition active:bg-surface-2",children:[x.jsx(e9,{size:14,className:"shrink-0"}),x.jsxs("span",{className:"truncate",children:["Return to ",e||"parent chat"," to reply"]})]})})}function eI({stats:e,open:t,onToggle:a}){const l=!!e&&(e.added>0||e.removed>0);return x.jsxs("button",{type:"button",onClick:a,"aria-label":l?"Toggle diff panel, changes available":"Toggle diff panel","aria-pressed":t,className:pe("relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",t&&"bg-surface-2 text-text"),children:[x.jsx(m1,{size:19}),l?x.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent","aria-hidden":"true"}):null]})}function tI({sessions:e,activeId:t,readMarks:a,promptStates:l,roles:s={},subtabSessionIds:o,onSelect:c,onContext:d,onNewChat:f,onClose:h,creating:m,closingId:p,online:y}){const b=w.useRef(null),v=e.filter(C=>!s[C.id]?.delegationId&&!o?.has(C.id)),k=v.some(C=>C.id===t);return w.useLayoutEffect(()=>{t&&k&&b.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[t,k]),x.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[x.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:v.map(C=>{const B=l[C.id],N=typeof C.context_used_percent=="number"&&C.context_used_percent>0;return x.jsxs("div",{ref:C.id===t?b:void 0,className:pe("flex shrink-0 items-center rounded-full text-sm font-medium text-muted transition",C.id===t&&"bg-surface-2 text-text"),children:[x.jsxs("button",{type:"button",onClick:()=>c(C.id),className:pe("flex min-w-0 items-center gap-1.5 py-1.5 pl-3.5",e.length>1||N?"pr-1":"pr-3.5"),children:[B?x.jsx(qh,{state:B,className:"size-3"}):C.status==="working"?x.jsx("span",{className:"dot-spinner size-3"}):C.background_tasks?.length?x.jsx(px,{size:11,className:"shrink-0 text-faint","aria-label":"Waiting for a background task"}):null,x.jsx("span",{className:"whitespace-nowrap",children:C.title||"Untitled"}),s[C.id]?x.jsx(Dp,{name:s[C.id].role}):null,gF(C,a)?x.jsx("span",{className:"dot size-1.5 bg-accent"}):null]}),x.jsx(aI,{session:C,onOpen:()=>d(C)}),e.length>1?x.jsx("button",{type:"button",onClick:()=>h(C.id),disabled:!y||p!==null,"aria-label":`Close ${C.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:p===C.id?x.jsx(T0,{size:12,className:"animate-spin"}):x.jsx(A0,{size:12})}):null]},C.id)})}),x.jsx("button",{type:"button",onClick:f,disabled:m,"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:x.jsx(n1,{size:18})})]})}function nI({title:e,busy:t,onCancel:a,onConfirm:l}){return x.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:[x.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[x.jsx("span",{className:"font-semibold",children:e})," is still working. Close the tab anyway?"]}),x.jsx("button",{type:"button",onClick:a,disabled:t,className:"rounded-lg px-2 py-1 text-muted active:bg-surface-2",children:"Cancel"}),x.jsxs("button",{type:"button",onClick:l,disabled:t,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:[t?x.jsx(T0,{size:12,className:"animate-spin"}):null,"Close anyway"]})]})}function aI({session:e,onOpen:t}){const a=e.context_used_percent;return typeof a!="number"||a<=0?null:x.jsxs("button",{type:"button",onClick:t,"aria-label":`Context for ${e.title||"Untitled"}: ${Math.round(a)}% used`,"aria-haspopup":"dialog",className:pe("flex h-7 min-w-10 shrink-0 items-center justify-center rounded-full px-2 text-[11px] tabular-nums transition active:bg-bg/70",a>=80?"text-working":"text-faint"),children:[Math.round(a),"%"]})}function Sp({scope:e,onChange:t}){return x.jsx("fieldset",{"aria-label":"Files shown",className:"flex shrink-0 rounded-full bg-surface-2 p-0.5 text-xs",children:["changed","all"].map(a=>x.jsx("button",{type:"button",onClick:()=>t(a),"aria-label":a==="changed"?"Changed files":"All files","aria-pressed":e===a,className:pe("rounded-full px-2.5 py-1 font-medium text-muted transition",e===a&&"bg-bg text-text shadow-sm"),children:a==="changed"?"Changed":"All"},a))})}function Mp({showFolders:e,onChange:t}){return x.jsx("button",{type:"button",onClick:()=>t(!e),"aria-label":"Group files into folders","aria-pressed":e,title:"Group files into folders",className:pe("flex size-8 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-surface-2",e&&"bg-surface-2 text-text"),children:x.jsx(i9,{size:16})})}function rI({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("aside",{className:"hidden flex-col bg-bg lg:flex lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[x.jsxs("header",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(Sp,{scope:a,onChange:l}),x.jsx(Mp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"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:x.jsx(A0,{size:20})})]}),x.jsx(wp,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}function lI({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("section",{className:"absolute inset-0 z-20 flex flex-col bg-bg lg:hidden","aria-label":"Workspace files",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(Sp,{scope:a,onChange:l}),x.jsx(Mp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"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:x.jsx(A0,{size:20})})]}),x.jsx(wp,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}var Jo={exports:{}},iI=Jo.exports,o6;function sI(){return o6||(o6=1,(function(e,t){(function(l,s){e.exports=s()})(typeof self<"u"?self:iI,function(){return(function(a){var l={};function s(o){if(l[o])return l[o].exports;var c=l[o]={i:o,l:!1,exports:{}};return a[o].call(c.exports,c,c.exports,s),c.l=!0,c.exports}return s.m=a,s.c=l,s.d=function(o,c,d){s.o(o,c)||Object.defineProperty(o,c,{configurable:!1,enumerable:!0,get:d})},s.n=function(o){var c=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(c,"a",c),c},s.o=function(o,c){return Object.prototype.hasOwnProperty.call(o,c)},s.p="",s(s.s=3)})([(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d,f){this.width=f,this.height=d.length/f,this.data=d}return c.createEmpty=function(d,f){return new c(new Uint8ClampedArray(d*f),d)},c.prototype.get=function(d,f){return d<0||d>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+d]},c.prototype.set=function(d,f,h){this.data[f*this.width+d]=h?1:0},c.prototype.setRegion=function(d,f,h,m,p){for(var y=f;y<f+m;y++)for(var b=d;b<d+h;b++)this.set(b,y,!!p)},c})();l.BitMatrix=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(2);function c(f,h){return f^h}l.addOrSubtractGF=c;var d=(function(){function f(h,m,p){this.primitive=h,this.size=m,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,b=0;b<this.size;b++)this.expTable[b]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var b=0;b<this.size-1;b++)this.logTable[this.expTable[b]]=b;this.zero=new o.default(this,Uint8ClampedArray.from([0])),this.one=new o.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,m){return h===0||m===0?0:this.expTable[(this.logTable[h]+this.logTable[m])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,m){if(h<0)throw new Error("Invalid monomial degree less than 0");if(m===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=m,new o.default(this,p)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();l.default=d}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=(function(){function d(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var m=h.length;if(m>1&&h[0]===0){for(var p=1;p<m&&h[p]===0;)p++;if(p===m)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(m-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},d.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var m=this.coefficients,p=f.coefficients;m.length>p.length&&(h=[p,m],m=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),b=p.length-m.length,v=0;v<b;v++)y[v]=p[v];for(var v=b;v<p.length;v++)y[v]=o.addOrSubtractGF(m[v-b],p[v]);return new d(this.field,y)},d.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,m=new Uint8ClampedArray(h),p=0;p<h;p++)m[p]=this.field.multiply(this.coefficients[p],f);return new d(this.field,m)},d.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,m=h.length,p=f.coefficients,y=p.length,b=new Uint8ClampedArray(m+y-1),v=0;v<m;v++)for(var k=h[v],C=0;C<y;C++)b[v+C]=o.addOrSubtractGF(b[v+C],this.field.multiply(k,p[C]));return new d(this.field,b)},d.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var m=this.coefficients.length,p=new Uint8ClampedArray(m+f),y=0;y<m;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new d(this.field,p)},d.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var m=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(y){h=o.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<m;p++)h=o.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[p]);return h},d})();l.default=c}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(4),c=s(5),d=s(11),f=s(12);function h(y){var b=f.locate(y);if(!b)return null;for(var v=0,k=b;v<k.length;v++){var C=k[v],B=d.extract(y,C),N=c.decode(B.matrix);if(N)return{binaryData:N.bytes,data:N.text,chunks:N.chunks,version:N.version,location:{topRightCorner:B.mappingFunction(C.dimension,0),topLeftCorner:B.mappingFunction(0,0),bottomRightCorner:B.mappingFunction(C.dimension,C.dimension),bottomLeftCorner:B.mappingFunction(0,C.dimension),topRightFinderPattern:C.topRight,topLeftFinderPattern:C.topLeft,bottomLeftFinderPattern:C.bottomLeft,bottomRightAlignmentPattern:C.alignmentPattern}}}return null}var m={inversionAttempts:"attemptBoth"};function p(y,b,v,k){k===void 0&&(k={});var C=m;Object.keys(C||{}).forEach(function(R){C[R]=k[R]||C[R]});var B=C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst",N=C.inversionAttempts==="onlyInvert"||C.inversionAttempts==="invertFirst",M=o.binarize(y,b,v,B),S=M.binarized,F=M.inverted,D=h(N?F:S);return!D&&(C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst")&&(D=h(N?S:F)),D}p.default=p,l.default=p}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=8,d=24;function f(p,y,b){return p<y?y:p>b?b:p}var h=(function(){function p(y,b){this.width=y,this.data=new Uint8ClampedArray(y*b)}return p.prototype.get=function(y,b){return this.data[b*this.width+y]},p.prototype.set=function(y,b,v){this.data[b*this.width+y]=v},p})();function m(p,y,b,v){if(p.length!==y*b*4)throw new Error("Malformed data passed to binarizer.");for(var k=new h(y,b),C=0;C<y;C++)for(var B=0;B<b;B++){var N=p[(B*y+C)*4+0],M=p[(B*y+C)*4+1],S=p[(B*y+C)*4+2];k.set(C,B,.2126*N+.7152*M+.0722*S)}for(var F=Math.ceil(y/c),D=Math.ceil(b/c),R=new h(F,D),O=0;O<D;O++)for(var P=0;P<F;P++){for(var T=0,H=1/0,Z=0,B=0;B<c;B++)for(var C=0;C<c;C++){var J=k.get(P*c+C,O*c+B);T+=J,H=Math.min(H,J),Z=Math.max(Z,J)}var W=T/Math.pow(c,2);if(Z-H<=d&&(W=H/2,O>0&&P>0)){var $=(R.get(P,O-1)+2*R.get(P-1,O)+R.get(P-1,O-1))/4;H<$&&(W=$)}R.set(P,O,W)}var G=o.BitMatrix.createEmpty(y,b),Y=null;v&&(Y=o.BitMatrix.createEmpty(y,b));for(var O=0;O<D;O++)for(var P=0;P<F;P++){for(var re=f(P,2,F-3),he=f(O,2,D-3),T=0,j=-2;j<=2;j++)for(var L=-2;L<=2;L++)T+=R.get(re+j,he+L);for(var Q=T/25,j=0;j<c;j++)for(var L=0;L<c;L++){var C=P*c+j,B=O*c+L,z=k.get(C,B);G.set(C,B,z<=Q),v&&Y.set(C,B,!(z<=Q))}}return v?{binarized:G,inverted:Y}:{binarized:G}}l.binarize=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=s(6),d=s(9),f=s(10);function h(S,F){for(var D=S^F,R=0;D;)R++,D&=D-1;return R}function m(S,F){return F<<1|S}var p=[{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(S){return(S.y+S.x)%2===0},function(S){return S.y%2===0},function(S){return S.x%3===0},function(S){return(S.y+S.x)%3===0},function(S){return(Math.floor(S.y/2)+Math.floor(S.x/3))%2===0},function(S){return S.x*S.y%2+S.x*S.y%3===0},function(S){return(S.y*S.x%2+S.y*S.x%3)%2===0},function(S){return((S.y+S.x)%2+S.y*S.x%3)%2===0}];function b(S){var F=17+4*S.versionNumber,D=o.BitMatrix.createEmpty(F,F);D.setRegion(0,0,9,9,!0),D.setRegion(F-8,0,8,9,!0),D.setRegion(0,F-8,9,8,!0);for(var R=0,O=S.alignmentPatternCenters;R<O.length;R++)for(var P=O[R],T=0,H=S.alignmentPatternCenters;T<H.length;T++){var Z=H[T];P===6&&Z===6||P===6&&Z===F-7||P===F-7&&Z===6||D.setRegion(P-2,Z-2,5,5,!0)}return D.setRegion(6,9,1,F-17,!0),D.setRegion(9,6,F-17,1,!0),S.versionNumber>6&&(D.setRegion(F-11,0,3,6,!0),D.setRegion(0,F-11,6,3,!0)),D}function v(S,F,D){for(var R=y[D.dataMask],O=S.height,P=b(F),T=[],H=0,Z=0,J=!0,W=O-1;W>0;W-=2){W===6&&W--;for(var $=0;$<O;$++)for(var G=J?O-1-$:$,Y=0;Y<2;Y++){var re=W-Y;if(!P.get(re,G)){Z++;var he=S.get(re,G);R({y:G,x:re})&&(he=!he),H=m(he,H),Z===8&&(T.push(H),Z=0,H=0)}}J=!J}return T}function k(S){var F=S.height,D=Math.floor((F-17)/4);if(D<=6)return f.VERSIONS[D-1];for(var R=0,O=5;O>=0;O--)for(var P=F-9;P>=F-11;P--)R=m(S.get(P,O),R);for(var T=0,P=5;P>=0;P--)for(var O=F-9;O>=F-11;O--)T=m(S.get(P,O),T);for(var H=1/0,Z,J=0,W=f.VERSIONS;J<W.length;J++){var $=W[J];if($.infoBits===R||$.infoBits===T)return $;var G=h(R,$.infoBits);G<H&&(Z=$,H=G),G=h(T,$.infoBits),G<H&&(Z=$,H=G)}if(H<=3)return Z}function C(S){for(var F=0,D=0;D<=8;D++)D!==6&&(F=m(S.get(D,8),F));for(var R=7;R>=0;R--)R!==6&&(F=m(S.get(8,R),F));for(var O=S.height,P=0,R=O-1;R>=O-7;R--)P=m(S.get(8,R),P);for(var D=O-8;D<O;D++)P=m(S.get(D,8),P);for(var T=1/0,H=null,Z=0,J=p;Z<J.length;Z++){var W=J[Z],$=W.bits,G=W.formatInfo;if($===F||$===P)return G;var Y=h(F,$);Y<T&&(H=G,T=Y),F!==P&&(Y=h(P,$),Y<T&&(H=G,T=Y))}return T<=3?H:null}function B(S,F,D){var R=F.errorCorrectionLevels[D],O=[],P=0;if(R.ecBlocks.forEach(function(he){for(var j=0;j<he.numBlocks;j++)O.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),P+=he.dataCodewordsPerBlock+R.ecCodewordsPerBlock}),S.length<P)return null;S=S.slice(0,P);for(var T=R.ecBlocks[0].dataCodewordsPerBlock,H=0;H<T;H++)for(var Z=0,J=O;Z<J.length;Z++){var W=J[Z];W.codewords.push(S.shift())}if(R.ecBlocks.length>1)for(var $=R.ecBlocks[0].numBlocks,G=R.ecBlocks[1].numBlocks,H=0;H<G;H++)O[$+H].codewords.push(S.shift());for(;S.length>0;)for(var Y=0,re=O;Y<re.length;Y++){var W=re[Y];W.codewords.push(S.shift())}return O}function N(S){var F=k(S);if(!F)return null;var D=C(S);if(!D)return null;var R=v(S,F,D),O=B(R,F,D.errorCorrectionLevel);if(!O)return null;for(var P=O.reduce(function(Y,re){return Y+re.numDataCodewords},0),T=new Uint8ClampedArray(P),H=0,Z=0,J=O;Z<J.length;Z++){var W=J[Z],$=d.decode(W.codewords,W.codewords.length-W.numDataCodewords);if(!$)return null;for(var G=0;G<W.numDataCodewords;G++)T[H++]=$[G]}try{return c.decode(T,F.versionNumber)}catch{return null}}function M(S){if(S==null)return null;var F=N(S);if(F)return F;for(var D=0;D<S.width;D++)for(var R=D+1;R<S.height;R++)S.get(D,R)!==S.get(R,D)&&(S.set(D,R,!S.get(D,R)),S.set(R,D,!S.get(R,D)));return N(S)}l.decode=M}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(7),c=s(8),d;(function(k){k.Numeric="numeric",k.Alphanumeric="alphanumeric",k.Byte="byte",k.Kanji="kanji",k.ECI="eci"})(d=l.Mode||(l.Mode={}));var f;(function(k){k[k.Terminator=0]="Terminator",k[k.Numeric=1]="Numeric",k[k.Alphanumeric=2]="Alphanumeric",k[k.Byte=4]="Byte",k[k.Kanji=8]="Kanji",k[k.ECI=7]="ECI"})(f||(f={}));function h(k,C){for(var B=[],N="",M=[10,12,14][C],S=k.readBits(M);S>=3;){var F=k.readBits(10);if(F>=1e3)throw new Error("Invalid numeric value above 999");var D=Math.floor(F/100),R=Math.floor(F/10)%10,O=F%10;B.push(48+D,48+R,48+O),N+=D.toString()+R.toString()+O.toString(),S-=3}if(S===2){var F=k.readBits(7);if(F>=100)throw new Error("Invalid numeric value above 99");var D=Math.floor(F/10),R=F%10;B.push(48+D,48+R),N+=D.toString()+R.toString()}else if(S===1){var F=k.readBits(4);if(F>=10)throw new Error("Invalid numeric value above 9");B.push(48+F),N+=F.toString()}return{bytes:B,text:N}}var m=["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 p(k,C){for(var B=[],N="",M=[9,11,13][C],S=k.readBits(M);S>=2;){var F=k.readBits(11),D=Math.floor(F/45),R=F%45;B.push(m[D].charCodeAt(0),m[R].charCodeAt(0)),N+=m[D]+m[R],S-=2}if(S===1){var D=k.readBits(6);B.push(m[D].charCodeAt(0)),N+=m[D]}return{bytes:B,text:N}}function y(k,C){for(var B=[],N="",M=[8,16,16][C],S=k.readBits(M),F=0;F<S;F++){var D=k.readBits(8);B.push(D)}try{N+=decodeURIComponent(B.map(function(R){return"%"+("0"+R.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:B,text:N}}function b(k,C){for(var B=[],N="",M=[8,10,12][C],S=k.readBits(M),F=0;F<S;F++){var D=k.readBits(13),R=Math.floor(D/192)<<8|D%192;R<7936?R+=33088:R+=49472,B.push(R>>8,R&255),N+=String.fromCharCode(c.shiftJISTable[R])}return{bytes:B,text:N}}function v(k,C){for(var B,N,M,S,F=new o.BitStream(k),D=C<=9?0:C<=26?1:2,R={text:"",bytes:[],chunks:[],version:C};F.available()>=4;){var O=F.readBits(4);if(O===f.Terminator)return R;if(O===f.ECI)F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(7)}):F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(14)}):F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(21)}):R.chunks.push({type:d.ECI,assignmentNumber:-1});else if(O===f.Numeric){var P=h(F,D);R.text+=P.text,(B=R.bytes).push.apply(B,P.bytes),R.chunks.push({type:d.Numeric,text:P.text})}else if(O===f.Alphanumeric){var T=p(F,D);R.text+=T.text,(N=R.bytes).push.apply(N,T.bytes),R.chunks.push({type:d.Alphanumeric,text:T.text})}else if(O===f.Byte){var H=y(F,D);R.text+=H.text,(M=R.bytes).push.apply(M,H.bytes),R.chunks.push({type:d.Byte,bytes:H.bytes,text:H.text})}else if(O===f.Kanji){var Z=b(F,D);R.text+=Z.text,(S=R.bytes).push.apply(S,Z.bytes),R.chunks.push({type:d.Kanji,bytes:Z.bytes,text:Z.text})}}if(F.available()===0||F.readBits(F.available())===0)return R}l.decode=v}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return c.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,m=d<h?d:h,p=h-m,y=255>>8-m<<p;f=(this.bytes[this.byteOffset]&y)>>p,d-=m,this.bitOffset+=m,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var p=8-d,y=255>>p<<p;f=f<<d|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=d}}return f},c.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},c})();l.BitStream=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.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,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=s(2);function d(p,y,b,v){var k;y.degree()<b.degree()&&(k=[b,y],y=k[0],b=k[1]);for(var C=y,B=b,N=p.zero,M=p.one;B.degree()>=v/2;){var S=C,F=N;if(C=B,N=M,C.isZero())return null;B=S;for(var D=p.zero,R=C.getCoefficient(C.degree()),O=p.inverse(R);B.degree()>=C.degree()&&!B.isZero();){var P=B.degree()-C.degree(),T=p.multiply(B.getCoefficient(B.degree()),O);D=D.addOrSubtract(p.buildMonomial(P,T)),B=B.addOrSubtract(C.multiplyByMonomial(P,T))}if(M=D.multiplyPoly(N).addOrSubtract(F),B.degree()>=C.degree())return null}var H=M.getCoefficient(0);if(H===0)return null;var Z=p.inverse(H);return[M.multiply(Z),B.multiply(Z)]}function f(p,y){var b=y.degree();if(b===1)return[y.getCoefficient(1)];for(var v=new Array(b),k=0,C=1;C<p.size&&k<b;C++)y.evaluateAt(C)===0&&(v[k]=p.inverse(C),k++);return k!==b?null:v}function h(p,y,b){for(var v=b.length,k=new Array(v),C=0;C<v;C++){for(var B=p.inverse(b[C]),N=1,M=0;M<v;M++)C!==M&&(N=p.multiply(N,o.addOrSubtractGF(1,p.multiply(b[M],B))));k[C]=p.multiply(y.evaluateAt(B),p.inverse(N)),p.generatorBase!==0&&(k[C]=p.multiply(k[C],B))}return k}function m(p,y){var b=new Uint8ClampedArray(p.length);b.set(p);for(var v=new o.default(285,256,0),k=new c.default(v,b),C=new Uint8ClampedArray(y),B=!1,N=0;N<y;N++){var M=k.evaluateAt(v.exp(N+v.generatorBase));C[C.length-1-N]=M,M!==0&&(B=!0)}if(!B)return b;var S=new c.default(v,C),F=d(v,v.buildMonomial(y,1),S,y);if(F===null)return null;var D=f(v,F[0]);if(D==null)return null;for(var R=h(v,F[1],D),O=0;O<D.length;O++){var P=b.length-1-v.log(D[O]);if(P<0)return null;b[P]=o.addOrSubtractGF(b[P],R[O])}return b}l.decode=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.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,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0);function c(m,p,y,b){var v=m.x-p.x+y.x-b.x,k=m.y-p.y+y.y-b.y;if(v===0&&k===0)return{a11:p.x-m.x,a12:p.y-m.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:m.x,a32:m.y,a33:1};var C=p.x-y.x,B=b.x-y.x,N=p.y-y.y,M=b.y-y.y,S=C*M-B*N,F=(v*M-B*k)/S,D=(C*k-v*N)/S;return{a11:p.x-m.x+F*p.x,a12:p.y-m.y+F*p.y,a13:F,a21:b.x-m.x+D*b.x,a22:b.y-m.y+D*b.y,a23:D,a31:m.x,a32:m.y,a33:1}}function d(m,p,y,b){var v=c(m,p,y,b);return{a11:v.a22*v.a33-v.a23*v.a32,a12:v.a13*v.a32-v.a12*v.a33,a13:v.a12*v.a23-v.a13*v.a22,a21:v.a23*v.a31-v.a21*v.a33,a22:v.a11*v.a33-v.a13*v.a31,a23:v.a13*v.a21-v.a11*v.a23,a31:v.a21*v.a32-v.a22*v.a31,a32:v.a12*v.a31-v.a11*v.a32,a33:v.a11*v.a22-v.a12*v.a21}}function f(m,p){return{a11:m.a11*p.a11+m.a21*p.a12+m.a31*p.a13,a12:m.a12*p.a11+m.a22*p.a12+m.a32*p.a13,a13:m.a13*p.a11+m.a23*p.a12+m.a33*p.a13,a21:m.a11*p.a21+m.a21*p.a22+m.a31*p.a23,a22:m.a12*p.a21+m.a22*p.a22+m.a32*p.a23,a23:m.a13*p.a21+m.a23*p.a22+m.a33*p.a23,a31:m.a11*p.a31+m.a21*p.a32+m.a31*p.a33,a32:m.a12*p.a31+m.a22*p.a32+m.a32*p.a33,a33:m.a13*p.a31+m.a23*p.a32+m.a33*p.a33}}function h(m,p){for(var y=d({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),b=c(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),v=f(b,y),k=o.BitMatrix.createEmpty(p.dimension,p.dimension),C=function(D,R){var O=v.a13*D+v.a23*R+v.a33;return{x:(v.a11*D+v.a21*R+v.a31)/O,y:(v.a12*D+v.a22*R+v.a32)/O}},B=0;B<p.dimension;B++)for(var N=0;N<p.dimension;N++){var M=N+.5,S=B+.5,F=C(M,S);k.set(N,B,m.get(Math.floor(F.x),Math.floor(F.y)))}return{matrix:k,mappingFunction:C}}l.extract=h}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=4,c=.5,d=1.5,f=function(M,S){return Math.sqrt(Math.pow(S.x-M.x,2)+Math.pow(S.y-M.y,2))};function h(M){return M.reduce(function(S,F){return S+F})}function m(M,S,F){var D,R,O,P,T=f(M,S),H=f(S,F),Z=f(M,F),J,W,$;return H>=T&&H>=Z?(D=[S,M,F],J=D[0],W=D[1],$=D[2]):Z>=H&&Z>=T?(R=[M,S,F],J=R[0],W=R[1],$=R[2]):(O=[M,F,S],J=O[0],W=O[1],$=O[2]),($.x-W.x)*(J.y-W.y)-($.y-W.y)*(J.x-W.x)<0&&(P=[$,J],J=P[0],$=P[1]),{bottomLeft:J,topLeft:W,topRight:$}}function p(M,S,F,D){var R=(h(b(M,F,D,5))/7+h(b(M,S,D,5))/7+h(b(F,M,D,5))/7+h(b(S,M,D,5))/7)/4;if(R<1)throw new Error("Invalid module size");var O=Math.round(f(M,S)/R),P=Math.round(f(M,F)/R),T=Math.floor((O+P)/2)+7;switch(T%4){case 0:T++;break;case 2:T--;break}return{dimension:T,moduleSize:R}}function y(M,S,F,D){var R=[{x:Math.floor(M.x),y:Math.floor(M.y)}],O=Math.abs(S.y-M.y)>Math.abs(S.x-M.x),P,T,H,Z;O?(P=Math.floor(M.y),T=Math.floor(M.x),H=Math.floor(S.y),Z=Math.floor(S.x)):(P=Math.floor(M.x),T=Math.floor(M.y),H=Math.floor(S.x),Z=Math.floor(S.y));for(var J=Math.abs(H-P),W=Math.abs(Z-T),$=Math.floor(-J/2),G=P<H?1:-1,Y=T<Z?1:-1,re=!0,he=P,j=T;he!==H+G;he+=G){var L=O?j:he,Q=O?he:j;if(F.get(L,Q)!==re&&(re=!re,R.push({x:L,y:Q}),R.length===D+1))break;if($+=W,$>0){if(j===Z)break;j+=Y,$-=J}}for(var z=[],le=0;le<D;le++)R[le]&&R[le+1]?z.push(f(R[le],R[le+1])):z.push(0);return z}function b(M,S,F,D){var R,O=S.y-M.y,P=S.x-M.x,T=y(M,S,F,Math.ceil(D/2)),H=y(M,{x:M.x-P,y:M.y-O},F,Math.ceil(D/2)),Z=T.shift()+H.shift()-1;return(R=H.concat(Z)).concat.apply(R,T)}function v(M,S){var F=h(M)/h(S),D=0;return S.forEach(function(R,O){D+=Math.pow(M[O]-R*F,2)}),{averageSize:F,error:D}}function k(M,S,F){try{var D=b(M,{x:-1,y:M.y},F,S.length),R=b(M,{x:M.x,y:-1},F,S.length),O={x:Math.max(0,M.x-M.y)-1,y:Math.max(0,M.y-M.x)-1},P=b(M,O,F,S.length),T={x:Math.min(F.width,M.x+M.y)+1,y:Math.min(F.height,M.y+M.x)+1},H=b(M,T,F,S.length),Z=v(D,S),J=v(R,S),W=v(P,S),$=v(H,S),G=Math.sqrt(Z.error*Z.error+J.error*J.error+W.error*W.error+$.error*$.error),Y=(Z.averageSize+J.averageSize+W.averageSize+$.averageSize)/4,re=(Math.pow(Z.averageSize-Y,2)+Math.pow(J.averageSize-Y,2)+Math.pow(W.averageSize-Y,2)+Math.pow($.averageSize-Y,2))/Y;return G+re}catch{return 1/0}}function C(M,S){for(var F=Math.round(S.x);M.get(F,Math.round(S.y));)F--;for(var D=Math.round(S.x);M.get(D,Math.round(S.y));)D++;for(var R=(F+D)/2,O=Math.round(S.y);M.get(Math.round(R),O);)O--;for(var P=Math.round(S.y);M.get(Math.round(R),P);)P++;var T=(O+P)/2;return{x:R,y:T}}function B(M){for(var S=[],F=[],D=[],R=[],O=function(L){for(var Q=0,z=!1,le=[0,0,0,0,0],Ee=function(Ce){var Ie=M.get(Ce,L);if(Ie===z)Q++;else{le=[le[1],le[2],le[3],le[4],Q],Q=1,z=Ie;var Se=h(le)/7,et=Math.abs(le[0]-Se)<Se&&Math.abs(le[1]-Se)<Se&&Math.abs(le[2]-3*Se)<3*Se&&Math.abs(le[3]-Se)<Se&&Math.abs(le[4]-Se)<Se&&!Ie,it=h(le.slice(-3))/3,yt=Math.abs(le[2]-it)<it&&Math.abs(le[3]-it)<it&&Math.abs(le[4]-it)<it&&Ie;if(et){var we=Ce-le[3]-le[4],oe=we-le[2],X={startX:oe,endX:we,y:L},De=F.filter(function(ot){return oe>=ot.bottom.startX&&oe<=ot.bottom.endX||we>=ot.bottom.startX&&oe<=ot.bottom.endX||oe<=ot.bottom.startX&&we>=ot.bottom.endX&&le[2]/(ot.bottom.endX-ot.bottom.startX)<d&&le[2]/(ot.bottom.endX-ot.bottom.startX)>c});De.length>0?De[0].bottom=X:F.push({top:X,bottom:X})}if(yt){var He=Ce-le[4],st=He-le[3],X={startX:st,y:L,endX:He},De=R.filter(function(wt){return st>=wt.bottom.startX&&st<=wt.bottom.endX||He>=wt.bottom.startX&&st<=wt.bottom.endX||st<=wt.bottom.startX&&He>=wt.bottom.endX&&le[2]/(wt.bottom.endX-wt.bottom.startX)<d&&le[2]/(wt.bottom.endX-wt.bottom.startX)>c});De.length>0?De[0].bottom=X:R.push({top:X,bottom:X})}}},de=-1;de<=M.width;de++)Ee(de);S.push.apply(S,F.filter(function(Ce){return Ce.bottom.y!==L&&Ce.bottom.y-Ce.top.y>=2})),F=F.filter(function(Ce){return Ce.bottom.y===L}),D.push.apply(D,R.filter(function(Ce){return Ce.bottom.y!==L})),R=R.filter(function(Ce){return Ce.bottom.y===L})},P=0;P<=M.height;P++)O(P);S.push.apply(S,F.filter(function(L){return L.bottom.y-L.top.y>=2})),D.push.apply(D,R);var T=S.filter(function(L){return L.bottom.y-L.top.y>=2}).map(function(L){var Q=(L.top.startX+L.top.endX+L.bottom.startX+L.bottom.endX)/4,z=(L.top.y+L.bottom.y+1)/2;if(M.get(Math.round(Q),Math.round(z))){var le=[L.top.endX-L.top.startX,L.bottom.endX-L.bottom.startX,L.bottom.y-L.top.y+1],Ee=h(le)/le.length,de=k({x:Math.round(Q),y:Math.round(z)},[1,1,3,1,1],M);return{score:de,x:Q,y:z,size:Ee}}}).filter(function(L){return!!L}).sort(function(L,Q){return L.score-Q.score}).map(function(L,Q,z){if(Q>o)return null;var le=z.filter(function(de,Ce){return Q!==Ce}).map(function(de){return{x:de.x,y:de.y,score:de.score+Math.pow(de.size-L.size,2)/L.size,size:de.size}}).sort(function(de,Ce){return de.score-Ce.score});if(le.length<2)return null;var Ee=L.score+le[0].score+le[1].score;return{points:[L].concat(le.slice(0,2)),score:Ee}}).filter(function(L){return!!L}).sort(function(L,Q){return L.score-Q.score});if(T.length===0)return null;var H=m(T[0].points[0],T[0].points[1],T[0].points[2]),Z=H.topRight,J=H.topLeft,W=H.bottomLeft,$=N(M,D,Z,J,W),G=[];$&&G.push({alignmentPattern:{x:$.alignmentPattern.x,y:$.alignmentPattern.y},bottomLeft:{x:W.x,y:W.y},dimension:$.dimension,topLeft:{x:J.x,y:J.y},topRight:{x:Z.x,y:Z.y}});var Y=C(M,Z),re=C(M,J),he=C(M,W),j=N(M,D,Y,re,he);return j&&G.push({alignmentPattern:{x:j.alignmentPattern.x,y:j.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:re.x,y:re.y},topRight:{x:Y.x,y:Y.y},dimension:j.dimension}),G.length===0?null:G}l.locate=B;function N(M,S,F,D,R){var O,P,T;try{O=p(D,F,R,M),P=O.dimension,T=O.moduleSize}catch{return null}var H={x:F.x-D.x+R.x,y:F.y-D.y+R.y},Z=(f(D,R)+f(D,F))/2/T,J=1-3/Z,W={x:D.x+J*(H.x-D.x),y:D.y+J*(H.y-D.y)},$=S.map(function(Y){var re=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,he=(Y.top.y+Y.bottom.y+1)/2;if(M.get(Math.floor(re),Math.floor(he))){var j=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(j)/j.length;var L=k({x:Math.floor(re),y:Math.floor(he)},[1,1,1],M),Q=L+f({x:re,y:he},W);return{x:re,y:he,score:Q}}}).filter(function(Y){return!!Y}).sort(function(Y,re){return Y.score-re.score}),G=Z>=15&&$.length?$[0]:W;return{alignmentPattern:G,dimension:P}}})]).default})})(Jo)),Jo.exports}var oI=sI();const cI=os(oI);function uI({onResult:e,onClose:t}){const a=w.useRef(null),[l,s]=w.useState(null);return w.useEffect(()=>{let o=null,c=0,d=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),m=()=>{const p=a.current;if(!(d||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){f.width=p.videoWidth,f.height=p.videoHeight,h.drawImage(p,0,0,f.width,f.height);const{data:y,width:b,height:v}=h.getImageData(0,0,f.width,f.height),k=cI(y,b,v,{inversionAttempts:"dontInvert"});if(k?.data){d=!0,e(k.data);return}}c=requestAnimationFrame(m)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(d){for(const b of p.getTracks())b.stop();return}o=p;const y=a.current;y&&(y.srcObject=p,y.play(),c=requestAnimationFrame(m))}).catch(p=>s(xI(p))),()=>{if(d=!0,cancelAnimationFrame(c),o)for(const p of o.getTracks())p.stop()}},[e]),x.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[x.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),x.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:x.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)]"})}),x.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[x.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),x.jsx("button",{type:"button",onClick:t,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:x.jsx(A0,{size:20})})]}),l?x.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:l}):null]})}function xI(e){const t=e instanceof DOMException?e.name:"";return t==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":t==="NotFoundError"||t==="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 dI(){const e=be(h=>h.setToken),[t,a]=w.useState(""),[l,s]=w.useState(!1),[o,c]=w.useState(!1),d=h=>{const m=rF(h);c(!1),m?e(m):s(!0)},f=h=>{h.preventDefault(),d(t)};return o?x.jsx(uI,{onResult:d,onClose:()=>c(!1)}):x.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:[x.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),x.jsxs("div",{children:[x.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),x.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),x.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 (",x.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",x.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),x.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[x.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:t,onChange:h=>{a(h.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"}),x.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),x.jsxs("button",{type:"button",onClick:()=>{s(!1),c(!0)},className:"pill justify-center gap-2 py-2.5",children:[x.jsx(Bu,{size:16}),"Scan QR"]}),l?x.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]}),x.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",x.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 du={voice:"marin",language:"auto"},Np="conductor-remote-voice";function fI(e=localStorage){try{const t=JSON.parse(e.getItem(Np)??"{}");return{voice:QD(t.voice)?t.voice:du.voice,language:YD(t.language)?t.language:du.language}}catch{return du}}function hI(e,t=localStorage){try{t.setItem(Np,JSON.stringify(e))}catch{}}function Mn(e,t){return typeof e[t]=="string"?e[t]:null}function pI(e){let t=e;if(typeof t=="string")try{t=JSON.parse(t)}catch{return null}if(!t||typeof t!="object")return null;const a=t,l=Mn(a,"type"),s=Mn(a,"item_id")??Mn(a,"call_id")??"voice-item";if(l==="conversation.item.input_audio_transcription.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"input-delta",itemId:s,text:o}}if(l==="conversation.item.input_audio_transcription.completed"){const o=Mn(a,"transcript");return o===null?null:{kind:"input-done",itemId:s,text:o}}if(l==="response.output_audio_transcript.delta"||l==="response.audio_transcript.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_audio_transcript.done"||l==="response.audio_transcript.done"){const o=Mn(a,"transcript");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.output_text.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_text.done"){const o=Mn(a,"text");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.function_call_arguments.done"){const o=Mn(a,"name");return o===null?null:{kind:"tool",itemId:s,name:o}}if(l==="input_audio_buffer.speech_started")return{kind:"speech-started"};if(l==="response.created")return{kind:"response-started"};if(l==="response.done"){const o=a.response&&typeof a.response=="object"?a.response:null,c=o?.error&&typeof o.error=="object"?o.error:null,d=c?Mn(c,"message"):null;return d?{kind:"response-done",error:d}:{kind:"response-done"}}if(l==="error"){const o=a.error&&typeof a.error=="object"?a.error:null;return{kind:"error",text:o&&Mn(o,"message")||"Voice call failed"}}return null}function mI(e){switch(e){case"voice_roll_call":return"Checking the fleet";case"voice_workspace_overview":return"Refreshing workspace overview";case"voice_next_decision":return"Opening the next decision";case"voice_send_preview":return"Preparing a guarded send";case"voice_send":return"Queueing the approved prompt";default:return"Working with the relay"}}const _p=w.createContext(null);function qo(e){return[...e.values()].join(" ").trimStart()}function gI(e){return e instanceof DOMException&&(e.name==="NotAllowedError"||e.name==="SecurityError")}function EI({children:e}){const[t,a]=w.useState(!1),[l,s]=w.useState("idle"),[o,c]=w.useState(!1),[d,f]=w.useState(null),[h,m]=w.useState([]),[p,y]=w.useState(""),[b,v]=w.useState(""),[k,C]=w.useState(fI),B=w.useRef("idle"),N=w.useRef(k),M=w.useRef(0),S=w.useRef(null),F=w.useRef(null),D=w.useRef(null),R=w.useRef(null),O=w.useRef(null),P=w.useRef(null),T=w.useRef(new Map),H=w.useRef(new Map),Z=w.useRef(new Set),J=w.useRef(new Set),W=w.useRef(new Set),$=w.useRef(null);N.current=k;const G=w.useCallback(oe=>{B.current=oe,s(oe)},[]),Y=w.useCallback(oe=>{m(X=>X.some(De=>De.id===oe.id)?X:[...X,oe])},[]),re=w.useCallback(()=>{T.current.clear(),H.current.clear(),y(""),v("")},[]),he=w.useCallback(()=>{M.current+=1,$.current&&clearTimeout($.current),$.current=null;try{F.current?.close()}catch{}try{S.current?.close()}catch{}for(const oe of D.current?.getTracks()??[])oe.stop();O.current&&(O.current.srcObject=null),S.current=null,F.current=null,D.current=null,R.current=null,O.current=null,P.current=null,re()},[re]),j=w.useCallback(oe=>{const X=P.current;he(),c(!1),G("idle"),f(oe),X&&Fe.voiceCallEnd(X).catch(()=>{})},[he,G]),L=w.useCallback(oe=>{const X=pI(oe);if(X)switch(X.kind){case"input-delta":T.current.set(X.itemId,(T.current.get(X.itemId)??"")+X.text),y(qo(T.current));return;case"input-done":{T.current.delete(X.itemId),y(qo(T.current)),!Z.current.has(X.itemId)&&X.text.trim()&&(Z.current.add(X.itemId),Y({id:`user:${X.itemId}`,role:"user",text:X.text.trim()})),B.current!=="speaking"&&G("thinking");return}case"output-delta":H.current.set(X.itemId,(H.current.get(X.itemId)??"")+X.text),v(qo(H.current)),G("speaking");return;case"output-done":{const De=(X.text||H.current.get(X.itemId)||"").trim();H.current.delete(X.itemId),v(qo(H.current)),!J.current.has(X.itemId)&&De&&(J.current.add(X.itemId),Y({id:`assistant:${X.itemId}`,role:"assistant",text:De}));return}case"tool":W.current.has(X.itemId)||(W.current.add(X.itemId),Y({id:`tool:${X.itemId}`,role:"activity",text:mI(X.name)})),G("thinking");return;case"speech-started":G("listening");return;case"response-started":G("thinking");return;case"response-done":X.error&&f(X.error),G("connected");return;case"error":f(X.text),B.current!=="idle"&&G("connected")}},[Y,G]),Q=w.useCallback(async()=>{if(B.current!=="idle")return;if(typeof RTCPeerConnection>"u"||!navigator.mediaDevices?.getUserMedia){f("This browser does not support WebRTC calling");return}a(!0),f(null),m([]),re(),Z.current.clear(),J.current.clear(),W.current.clear(),c(!1),G("connecting");const oe=++M.current;try{const X=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});if(oe!==M.current){for(const ke of X.getTracks())ke.stop();return}const De=X.getAudioTracks()[0];if(!De)throw new Error("No microphone was available");De.enabled=!1,D.current=X,R.current=De;const He=new RTCPeerConnection,st=He.createDataChannel("oai-events"),ot=document.createElement("audio");ot.autoplay=!0,ot.setAttribute("playsinline",""),S.current=He,F.current=st,O.current=ot,He.addTrack(De,X),He.addEventListener("track",ke=>{oe===M.current&&(ot.srcObject=ke.streams[0]??new MediaStream([ke.track]),ot.play().catch(()=>f("Tap the audio notice to hear this call")))}),st.addEventListener("message",ke=>{oe===M.current&&L(ke.data)}),st.addEventListener("close",()=>{oe===M.current&&B.current!=="idle"&&j("The control-room call closed")}),He.addEventListener("connectionstatechange",()=>{if(oe===M.current){if(He.connectionState==="connected"&&$.current&&(clearTimeout($.current),$.current=null),He.connectionState==="failed"||He.connectionState==="closed")return j("The control-room connection failed");He.connectionState==="disconnected"&&!$.current&&($.current=setTimeout(()=>{$.current=null,oe===M.current&&He.connectionState==="disconnected"&&j("The control-room connection was lost")},4e3))}});const n0=await He.createOffer();await He.setLocalDescription(n0);const wt=He.localDescription?.sdp;if(!wt)throw new Error("The browser did not create a WebRTC offer");const Ft=await Fe.voiceCall(wt,N.current.voice,N.current.language);if(oe!==M.current){Fe.voiceCallEnd(Ft.callId).catch(()=>{});return}if(P.current=Ft.callId,await He.setRemoteDescription({type:"answer",sdp:Ft.sdp}),await new Promise((ke,Et)=>{if(st.readyState==="open")return ke();const se=setTimeout(()=>Et(new Error("Voice event channel did not open")),8e3);st.addEventListener("open",()=>{clearTimeout(se),ke()},{once:!0})}),await Fe.voiceCallReady(Ft.callId),oe!==M.current)return;De.enabled=!0,B.current==="connecting"&&G("connected")}catch(X){if(oe!==M.current)return;j(gI(X)?"Microphone access was denied — allow it in this site’s settings and try again":X instanceof Error?X.message:String(X))}},[re,j,L,G]),z=w.useCallback(()=>{const oe=P.current;he(),c(!1),G("idle"),f(null),oe&&Fe.voiceCallEnd(oe).catch(()=>{})},[he,G]),le=w.useCallback(()=>{B.current==="idle"||B.current==="connecting"||c(oe=>{const X=!oe;return R.current&&(R.current.enabled=!X),X})},[]),Ee=w.useCallback(oe=>{const X=oe.trim(),De=F.current;if(!X||De?.readyState!=="open"||B.current!=="connected")return!1;const He=crypto.randomUUID();return Y({id:`typed:${He}`,role:"user",text:X}),De.send(JSON.stringify({type:"conversation.item.create",item:{type:"message",role:"user",content:[{type:"input_text",text:X}]}})),De.send(JSON.stringify({type:"response.create"})),G("thinking"),!0},[Y,G]),de=w.useCallback(oe=>{B.current==="idle"&&C(X=>{const De={...X,...oe};return N.current=De,hI(De),De})},[]),Ce=w.useCallback(()=>{O.current?.play().then(()=>f(null)).catch(()=>f("This browser is still blocking call audio"))},[]),Ie=w.useCallback(()=>a(!0),[]),Se=w.useCallback(()=>a(!1),[]),et=w.useCallback(()=>f(null),[]),it=w.useCallback(oe=>de({voice:oe}),[de]),yt=w.useCallback(oe=>de({language:oe}),[de]);w.useEffect(()=>()=>{const oe=P.current;he(),oe&&Fe.voiceCallEnd(oe).catch(()=>{})},[he]);const we=w.useMemo(()=>({panelOpen:t,status:l,muted:o,error:d,entries:h,inputPartial:p,outputPartial:b,preferences:k,openPanel:Ie,closePanel:Se,startCall:Q,endCall:z,toggleMute:le,sendText:Ee,dismissError:et,enableAudio:Ce,setVoice:it,setLanguage:yt}),[t,l,o,d,h,p,b,k,Ie,Se,Q,z,le,Ee,et,Ce,it,yt]);return x.jsx(_p.Provider,{value:we,children:e})}function jp(){const e=w.useContext(_p);if(!e)throw new Error("useVoiceCall must be used inside VoiceCallProvider");return e}const yI=[["auto","Auto detect"],["no","Norsk"],["en","English"]];function bI(e){return e[0].toUpperCase()+e.slice(1)}function c6(e,t){return e==="idle"?"Not connected":e==="connecting"?"Connecting…":e==="listening"?t?"Microphone muted":"Listening":e==="thinking"?"Checking the fleet…":e==="speaking"?"Orchestrator speaking":t?"Microphone muted":"Connected"}function vI(){const e=jp(),t=be(m=>m.online),[a,l]=w.useState(""),s=w.useRef(null),o=e.status!=="idle",c=e.status==="connected",d=`${e.entries.length}:${e.inputPartial}:${e.outputPartial}`;if(w.useEffect(()=>{if(!e.panelOpen)return;const m=p=>{p.key==="Escape"&&e.closePanel()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[e.panelOpen,e.closePanel]),w.useEffect(()=>{if(!e.panelOpen||!d)return;const m=s.current;m&&(m.scrollTop=m.scrollHeight)},[e.panelOpen,d]),!e.panelOpen)return null;const f=m=>{m.preventDefault(),e.sendText(a)&&l("")},h=e.error?.toLowerCase().includes("audio")??!1;return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/65 md:block",onClick:e.closePanel,"aria-hidden":!0}),x.jsxs("section",{role:"dialog","aria-modal":"true","aria-label":"Control room call",className:"app-height fade-in pt-safe pb-safe fixed inset-0 z-[60] flex flex-col bg-bg md:inset-x-auto md:inset-y-8 md:left-1/2 md:w-[32rem] md:-translate-x-1/2 md:rounded-3xl md:border md:border-border-soft md:shadow-2xl",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft px-4 py-3",children:[x.jsx("div",{className:pe("grid size-9 shrink-0 place-items-center rounded-full bg-surface-2 text-muted",o&&"bg-voice-soft text-voice"),children:x.jsx(qi,{size:18})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex items-center gap-1.5",children:[x.jsx("h2",{className:"text-[15px] font-semibold",children:"Control room"}),x.jsx(ld,{})]}),x.jsxs("p",{className:"flex items-center gap-1.5 text-xs text-muted",children:[o?x.jsx("span",{className:pe("size-1.5 rounded-full bg-voice",(e.status==="listening"||e.status==="speaking")&&"animate-pulse")}):null,x.jsxs("span",{className:"truncate",children:["All workspaces · ",c6(e.status,e.muted)]})]})]}),x.jsx("button",{type:"button",onClick:e.closePanel,"aria-label":o?"Hide call controls":"Close",className:"grid size-9 shrink-0 place-items-center rounded-full text-muted active:bg-surface-2 active:text-text",children:x.jsx(A0,{size:19})})]}),o?x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:s,className:"min-h-0 flex-1 overflow-y-auto px-4 py-5",children:x.jsxs("div",{className:"mx-auto flex max-w-xl flex-col gap-3",children:[e.entries.length===0&&!e.inputPartial&&!e.outputPartial?x.jsx("div",{className:"grid min-h-48 place-items-center text-center",children:x.jsxs("div",{children:[x.jsx(T0,{size:22,className:"mx-auto mb-3 animate-spin text-voice"}),x.jsx("p",{className:"text-sm text-muted",children:"Opening the fleet channel…"})]})}):null,e.entries.map(m=>m.role==="activity"?x.jsxs("div",{className:"flex items-center justify-center gap-2 py-1 text-xs text-voice",children:[x.jsx("span",{className:"size-1.5 rounded-full bg-voice"}),m.text]},m.id):x.jsx("div",{className:pe("max-w-[88%] rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed",m.role==="user"?"ml-auto rounded-br-md bg-voice-soft text-text":"mr-auto rounded-bl-md bg-surface-2 text-text"),children:m.text},m.id)),e.inputPartial?x.jsx("div",{className:"ml-auto max-w-[88%] rounded-2xl rounded-br-md border border-voice/25 bg-voice-soft/60 px-3.5 py-2.5 text-sm leading-relaxed text-muted",children:e.inputPartial}):null,e.outputPartial?x.jsxs("div",{className:"mr-auto max-w-[88%] rounded-2xl rounded-bl-md bg-surface-2 px-3.5 py-2.5 text-sm leading-relaxed text-text",children:[e.outputPartial,x.jsx("span",{className:"ml-1 inline-block size-1.5 animate-pulse rounded-full bg-voice align-middle"})]}):null]})}),x.jsxs("div",{className:"shrink-0 border-t border-border-soft bg-surface/80 px-4 pb-3 pt-3 backdrop-blur-xl",children:[e.error?x.jsx("button",{type:"button",onClick:h?e.enableAudio:e.dismissError,className:"mb-2 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("form",{onSubmit:f,className:"flex items-center gap-2",children:[x.jsx("input",{value:a,onChange:m=>l(m.target.value),disabled:!c,placeholder:c?"Type to the orchestrator…":c6(e.status,e.muted),"aria-label":"Message the orchestrator",className:"h-11 min-w-0 flex-1 rounded-xl border border-border bg-bg px-3 text-sm text-text outline-none placeholder:text-faint focus:border-voice/60 disabled:opacity-60"}),x.jsx("button",{type:"submit",disabled:!c||!a.trim(),"aria-label":"Send to orchestrator",className:"grid size-11 shrink-0 place-items-center rounded-xl bg-voice text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:x.jsx(lw,{size:18})})]}),x.jsxs("div",{className:"mt-3 flex items-center justify-center gap-5",children:[x.jsx("button",{type:"button",onClick:e.toggleMute,disabled:e.status==="connecting","aria-label":e.muted?"Unmute microphone":"Mute microphone","aria-pressed":e.muted,className:pe("grid size-12 place-items-center rounded-full bg-surface-2 text-text active:opacity-75 disabled:text-faint",e.muted&&"bg-voice-soft text-voice"),children:e.muted?x.jsx(IA,{size:20}):x.jsx(u9,{size:20})}),x.jsx("button",{type:"button",onClick:e.endCall,"aria-label":"End call",className:"grid size-12 place-items-center rounded-full bg-del text-white active:opacity-75",children:x.jsx(gB,{size:20})})]})]})]}):x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 py-7",children:x.jsxs("div",{className:"mx-auto flex max-w-sm flex-col items-center text-center",children:[x.jsx("div",{className:"mb-5 grid size-16 place-items-center rounded-full bg-voice-soft text-voice",children:x.jsx(qi,{size:27})}),x.jsx("h3",{className:"text-xl font-semibold tracking-tight",children:"Call your fleet"}),x.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted",children:"One orchestrator checks every workspace, brings you one decision at a time, and can queue an exact prompt only after reading it back for confirmation."}),x.jsxs("div",{className:"mt-7 grid w-full grid-cols-2 gap-3 text-left",children:[x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Voice",x.jsx("select",{value:e.preferences.voice,onChange:m=>e.setVoice(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:A9.map(m=>x.jsx("option",{value:m,children:bI(m)},m))})]}),x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Language",x.jsx("select",{value:e.preferences.language,onChange:m=>e.setLanguage(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:yI.map(([m,p])=>x.jsx("option",{value:m,children:p},m))})]})]}),e.error?x.jsx("button",{type:"button",onClick:e.dismissError,className:"mt-4 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("button",{type:"button",onClick:()=>{e.startCall()},disabled:!t,className:"mt-6 flex h-12 w-full items-center justify-center gap-2 rounded-xl bg-voice px-4 text-sm font-semibold text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:[x.jsx(qi,{size:18}),t?"Start fleet call":"Relay offline"]}),x.jsx("p",{className:"mt-3 text-[11px] leading-snug text-faint",children:"AI-generated voice. Microphone audio is sent to OpenAI for this live call."})]})})]})]}),document.body)}const Tp="conductor-remote-theme",CI={light:"#f5f6f8",dark:"#0a0b0e"};function kI(e){return e==="light"||e==="dark"||e==="system"?e:"system"}function x1(e){try{return kI((e??localStorage).getItem(Tp))}catch{return"system"}}function AI(e,t){return e==="system"?t?"dark":"light":e}function BI(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function zp(e,t=BI()){if(typeof document>"u")return;e==="system"?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e;const a=AI(e,t);document.querySelector('meta[name="theme-color"]')?.setAttribute("content",CI[a])}function Rp(e,t){try{(t??localStorage).setItem(Tp,e)}catch{}zp(e)}function wI(){if(typeof window>"u")return()=>{};const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>zp(x1(),e.matches);return e.addEventListener("change",t),t(),()=>e.removeEventListener("change",t)}const DI=new Intl.NumberFormat("en",{notation:"compact"});function u6(e){return DI.format(Math.max(0,e)).toLowerCase()}function x6(e,t){return`${e.toLocaleString("en")} ${e===1?"line":"lines"} ${t}`}function FI({stats:e,className:t}){if(!e||e.added<=0&&e.removed<=0)return null;const a=[e.added>0?x6(e.added,"added"):null,e.removed>0?x6(e.removed,"removed"):null].filter(Boolean).join(", ");return x.jsxs("span",{className:pe("flex shrink-0 items-center gap-1 font-mono text-[10px] font-medium leading-none tabular-nums",t),title:a,children:[x.jsx("span",{className:"sr-only",children:a}),e.added>0?x.jsxs("span",{className:"text-add","aria-hidden":"true",children:["+",u6(e.added)]}):null,e.removed>0?x.jsxs("span",{className:"text-del","aria-hidden":"true",children:["-",u6(e.removed)]}):null]})}const ss=new Uint8Array(512),Xu=new Uint8Array(256);let Ii=1;for(let e=0;e<255;e++)ss[e]=Ii,Xu[Ii]=e,Ii<<=1,Ii&256&&(Ii^=285);for(let e=255;e<512;e++)ss[e]=ss[e-255];function Op(e,t){return e===0||t===0?0:ss[Xu[e]+Xu[t]]}function SI(e){let t=[1];for(let a=0;a<e;a++){const l=new Array(t.length+1).fill(0);for(let s=0;s<t.length;s++)l[s]^=t[s],l[s+1]^=Op(t[s],ss[a]);t=l}return t}function MI(e,t){const a=SI(t),l=new Array(t).fill(0);for(const s of e){const o=s^l[0];if(l.shift(),l.push(0),o!==0)for(let c=0;c<t;c++)l[c]^=Op(a[c+1],o)}return l}const id={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 d6(e){return id[e].groups.reduce((t,[a,l])=>t+a*l,0)}function f6(e){return e<=9?8:16}function Ui(e,t,a){for(let l=a-1;l>=0;l--)e.push(t>>l&1)}function NI(e){const t=Array.from(new TextEncoder().encode(e));let a=0;for(let v=1;v<=10;v++)if(4+f6(v)+8*t.length<=d6(v)*8){a=v;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${t.length} bytes)`);const l=d6(a)*8,s=[];Ui(s,4,4),Ui(s,t.length,f6(a));for(const v of t)Ui(s,v,8);for(let v=0,k=Math.min(4,l-s.length);v<k;v++)s.push(0);for(;s.length%8!==0;)s.push(0);const o=[236,17];for(let v=0;s.length<l;v++)Ui(s,o[v%2],8);const c=[];for(let v=0;v<s.length;v+=8){let k=0;for(let C=0;C<8;C++)k=k<<1|s[v+C];c.push(k)}const{ec:d,groups:f}=id[a],h=[];let m=0;for(const[v,k]of f)for(let C=0;C<v;C++){const B=c.slice(m,m+k);m+=k,h.push({data:B,ec:MI(B,d)})}const p=[],y=Math.max(...h.map(v=>v.data.length));for(let v=0;v<y;v++)for(const k of h)v<k.data.length&&p.push(k.data[v]);for(let v=0;v<d;v++)for(const k of h)p.push(k.ec[v]);const b=[];for(const v of p)Ui(b,v,8);return{version:a,bits:b}}function _I(e,t){const a=e*4+17,l=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),o=(p,y)=>{for(let b=-1;b<=7;b++)for(let v=-1;v<=7;v++){const k=p+b,C=y+v;if(k<0||k>=a||C<0||C>=a)continue;const B=b>=0&&b<=6&&(v===0||v===6)||v>=0&&v<=6&&(b===0||b===6),N=b>=2&&b<=4&&v>=2&&v<=4;l[k][C]=B||N,s[k][C]=!0}};o(0,0),o(0,a-7),o(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;s[6][p]||(l[6][p]=y,s[6][p]=!0),s[p][6]||(l[p][6]=y,s[p][6]=!0)}const c=id[e].align;for(let p=0;p<c.length;p++)for(let y=0;y<c.length;y++){if(p===0&&y===0||p===0&&y===c.length-1||p===c.length-1&&y===0)continue;const v=c[p],k=c[y];for(let C=-2;C<=2;C++)for(let B=-2;B<=2;B++)l[v+C][k+B]=Math.max(Math.abs(C),Math.abs(B))!==1,s[v+C][k+B]=!0}for(let p=0;p<=8;p++)p!==6&&(s[8][p]=!0,s[p][8]=!0);for(let p=0;p<8;p++)s[8][a-1-p]=!0,s[a-1-p][8]=!0;if(s[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,b=Math.floor(p/3);s[b][y]=!0,s[y][b]=!0}let d=0,f=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const b=f?a-1-y:y;for(let v=0;v<2;v++){const k=p-v;s[b][k]||(l[b][k]=d<t.length?t[d]===1:!1,d++)}}f=!f}e>=7&&zI(l,e,a);let h=null,m=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=l.map(v=>v.slice());for(let v=0;v<a;v++)for(let k=0;k<a;k++)!s[v][k]&&jI(p,v,k)&&(y[v][k]=!y[v][k]);TI(y,p,a);const b=RI(y);b<m&&(m=b,h=y)}return h}function jI(e,t,a){switch(e){case 0:return(t+a)%2===0;case 1:return t%2===0;case 2:return a%3===0;case 3:return(t+a)%3===0;case 4:return(Math.floor(t/2)+Math.floor(a/3))%2===0;case 5:return t*a%2+t*a%3===0;case 6:return(t*a%2+t*a%3)%2===0;default:return((t+a)%2+t*a%3)%2===0}}function TI(e,t,a){const l=0|t;let s=l;for(let d=0;d<10;d++)s=s<<1^(s>>9&1?1335:0);const o=((l<<10|s&1023)^21522)&32767,c=d=>(o>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=c(d);e[7][8]=c(6),e[8][8]=c(7),e[8][7]=c(8);for(let d=9;d<15;d++)e[8][14-d]=c(d);for(let d=0;d<8;d++)e[8][a-1-d]=c(d);for(let d=8;d<15;d++)e[a-15+d][8]=c(d);e[a-8][8]=!0}function zI(e,t,a){let l=t;for(let o=0;o<12;o++)l=l<<1^(l>>11&1?7973:0);const s=t<<12|l&4095;for(let o=0;o<18;o++){const c=(s>>o&1)===1,d=a-11+o%3,f=Math.floor(o/3);e[f][d]=c,e[d][f]=c}}function RI(e){const t=e.length;let a=0;const l=f=>{let h=f(0),m=1;for(let p=1;p<t;p++)f(p)===h?m++:(m>=5&&(a+=m-2),h=f(p),m=1);m>=5&&(a+=m-2)};for(let f=0;f<t;f++)l(h=>e[f][h]);for(let f=0;f<t;f++)l(h=>e[h][f]);for(let f=0;f<t-1;f++)for(let h=0;h<t-1;h++){const m=e[f][h];m===e[f][h+1]&&m===e[f+1][h]&&m===e[f+1][h+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],o=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],c=(f,h,m)=>{for(let p=0;p<11;p++)if(f(h+p)!==m[p])return!1;return!0};for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[f][m],h,s)||c(m=>e[f][m],h,o))&&(a+=40);for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[m][f],h,s)||c(m=>e[m][f],h,o))&&(a+=40);let d=0;for(let f=0;f<t;f++)for(let h=0;h<t;h++)e[f][h]&&d++;return a+=Math.floor(Math.abs(d/(t*t)*100-50)/5)*10,a}function OI(e){const{version:t,bits:a}=NI(e);return _I(t,a)}function LI({text:e,size:t=220,className:a}){const l=OI(e),s=l.length,o=4,c=s+o*2;let d="";for(let f=0;f<s;f++)for(let h=0;h<s;h++)l[f][h]&&(d+=`M${h+o} ${f+o}h1v1h-1z`);return x.jsxs("svg",{width:t,height:t,viewBox:`0 0 ${c} ${c}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[x.jsx("title",{children:"QR code"}),x.jsx("rect",{width:c,height:c,fill:"#fff"}),x.jsx("path",{d,fill:"#000"})]})}function PI({version:e,onLogs:t,onClose:a}){const l=be(y=>y.token),s=be(y=>y.setToken),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=l?`${location.origin}/#token=${l}`:location.origin,m=!!e&&e!=="1.110.0",p=async()=>{try{await navigator.clipboard.writeText(h),c(!0),setTimeout(()=>c(!1),1500)}catch{}};return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),x.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:[x.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),x.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[x.jsx("button",{type:"button",onClick:()=>f(y=>!y),"aria-label":"Disconnect","aria-expanded":d,title:"Disconnect",className:pe("flex size-8 items-center justify-center rounded-full active:bg-surface-2",d?"bg-del/15 text-del":"text-del/80"),children:x.jsx(wA,{size:17})}),x.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:x.jsx(A0,{size:18})})]})]}),d?x.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:[x.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),x.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."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>f(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.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,x.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[x.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."}),x.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:x.jsx(LI,{text:h,size:216})}),x.jsxs("button",{type:"button",onClick:p,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:[o?x.jsx(na,{size:16}):x.jsx(fx,{size:16}),o?"Copied":"Copy link"]}),x.jsx(HI,{}),x.jsx(VI,{}),x.jsx(UI,{}),x.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[x.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",x.jsxs("span",{className:m?"text-working":void 0,children:["app v","1.110.0"]}),m?" · update pending":""]}),x.jsx("button",{type:"button",onClick:t,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}const GI=[["system","System"],["light","Light"],["dark","Dark"]];function HI(){const[e,t]=w.useState(x1),a=be(o=>o.view.showDiffs),l=be(o=>o.setView),s=o=>{t(o),Rp(o)};return x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("fieldset",{className:"flex w-full items-center justify-between gap-3 border-0 p-0",children:[x.jsx("legend",{className:"sr-only",children:"Theme"}),x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(m9,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Theme"})]}),x.jsx("div",{className:"flex shrink-0 rounded-lg border border-border bg-surface p-0.5",children:GI.map(([o,c])=>x.jsx("button",{type:"button","aria-pressed":e===o,onClick:()=>s(o),className:pe("rounded-md px-2 py-1 text-xs transition focus-visible:outline-2 focus-visible:outline-accent",e===o?"bg-accent-soft text-accent":"text-muted active:bg-surface-2"),children:c},o))})]}),x.jsxs("div",{className:"mt-2.5 flex items-center justify-between gap-3 border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(m1,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Sidebar diffs"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":a,"aria-label":"Show line changes in workspace rows",onClick:()=>l({showDiffs:!a}),className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",a?"bg-accent":"border border-border bg-surface"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",a?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:"Show line additions and deletions in workspace rows."})]})}function VI(){const e=pS(),t=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,l=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.":t?"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 x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(t9,{size:16,className:pe("shrink-0",e.enabled?"text-accent":"text-muted")}),x.jsx("span",{children:"Notifications"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||t||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||t||e.busy)&&"opacity-40"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:l}),e.error?x.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?x.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 II=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"10h",seconds:10*3600}];function fu(e){if(!e)return"until you turn it off";const t=new Date(e),a=t.toDateString()===new Date().toDateString(),l=t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${l}`:`until ${t.toLocaleDateString([],{weekday:"short"})} ${l}`}function UI(){const[e,t]=w.useState(null),[a,l]=w.useState(!1),[s,o]=w.useState(null),[c,d]=w.useState(!1),[f,h]=w.useState(!1),[m,p]=w.useState(""),[y,b]=w.useState(null),[v,k]=w.useState("idle"),[C,B]=w.useState(null),N=w.useCallback(async()=>{try{t(await Fe.settings()),o(null)}catch(T){o(T instanceof Error?T.message:String(T))}},[]);w.useEffect(()=>{N()},[N]);const M=async T=>{l(!0),o(null);try{return await T(),await N(),!0}catch(H){return o(H instanceof Error?H.message:String(H)),!1}finally{l(!1)}},S=async T=>{l(!0),o(null);try{const H=await Fe.restartConductor(T);B(H.ms??0),k("idle"),await N()}catch(H){H instanceof fn&&H.status===409&&k("agents"),o(H instanceof Error?H.message:String(H))}finally{l(!1)}},F=async T=>{T.preventDefault();const H=PD(m);if(H===null){b("Use a duration like 80h, 90m, or a number of seconds.");return}if(H<1){b("Choose a duration longer than zero.");return}const Z=e?.nosleep.maxSeconds??168*3600;if(H>Z){b(`Choose a duration up to ${Math.round(Z/3600)}h.`);return}b(null),d(!1),await M(()=>Fe.armNoSleep(H))&&h(!1)},D=e?.nosleep,R=e?.screenLocked===!0,O=e?.wifi.known??[],P=e?.settings.fallbackSsids[0]??"";return x.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:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(gx,{size:16,className:pe("shrink-0",D?.armed?"text-accent":"text-muted")}),x.jsx("span",{children:"Keep the Mac awake"})]}),D?.armed?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(async()=>{const T=await Fe.disarmNoSleep();d(T.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"}):x.jsxs("div",{className:"flex shrink-0 gap-1",children:[II.map(T=>x.jsx("button",{type:"button",disabled:a||!D?.available,onClick:()=>{M(()=>(h(!1),b(null),d(!1),Fe.armNoSleep(T.seconds)))},className:pe("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",T.className),children:T.label},T.seconds)),x.jsx("button",{type:"button",disabled:a||!D?.available,"aria-label":"Choose a custom keep-awake duration","aria-expanded":f,onClick:()=>{b(null),h(T=>!T)},className:pe("grid size-[30px] place-items-center rounded-lg border border-border active:bg-surface disabled:opacity-40",f&&"bg-surface text-accent"),children:x.jsx(l9,{size:14})})]})]}),!D?.armed&&f?x.jsxs("form",{onSubmit:F,className:"fade-in flex items-center justify-end gap-1.5",children:[x.jsx("label",{htmlFor:"awake-duration",className:"text-xs text-muted",children:"Keep awake for"}),x.jsx("input",{id:"awake-duration",type:"text",required:!0,value:m,disabled:a,placeholder:"e.g. 80h",autoCapitalize:"none",autoCorrect:"off",onChange:T=>{p(T.target.value),b(null)},className:"h-[30px] w-[6.5rem] rounded-lg border border-border bg-surface px-2 text-xs text-text disabled:opacity-40"}),x.jsx("button",{type:"submit",disabled:a||!m.trim(),className:"h-[30px] rounded-lg bg-accent px-2.5 text-xs font-medium text-on-solid active:opacity-80 disabled:opacity-40",children:a?"Setting…":"Set"})]}):null,y?x.jsx("p",{className:"text-right text-xs text-del",children:y}):null,x.jsx("p",{className:"text-xs text-muted",children:e?D?.available?D.armed?D.preventsScreenLock?R?`Awake ${fu(D.until)}, lid closed. It blocks the idle screen lock from starting; it can’t lift one already up.`:`Awake ${fu(D.until)}, lid closed. The idle screen lock is off; anyone at the Mac can use it.`:`Awake ${fu(D.until)}, lid closed. Sends park if macOS locks.`:c?"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…"}),R?x.jsxs("p",{className:"text-xs text-del",children:["The Mac is locked right now, so writes park until it’s unlocked. ",x.jsx(Ma,{})]}):null,x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(g9,{size:16,className:pe("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),x.jsx("span",{children:"Fallback network"})]}),P?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(()=>Fe.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]}),P?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Auto-joins ",x.jsx("span",{className:"text-fg",children:P})," when the primary network drops."]}):x.jsx(ZI,{known:O,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:T=>{M(()=>Fe.patchSettings({fallbackSsids:[T],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?x.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]}),x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(d9,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Restart Conductor"})]}),v==="idle"?x.jsx("button",{type:"button",disabled:a,onClick:()=>{B(null),o(null),k("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]}),C!==null?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Quit and reopened in ",(C/1e3).toFixed(1),"s. Send a prompt to check an agent answers."]}):null,v!=="idle"?x.jsxs("div",{className:"fade-in mt-2 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[x.jsx("p",{className:"text-sm font-medium",children:v==="agents"?"Agents are still working":"Restart Conductor?"}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:v==="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."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>{k("idle"),o(null)},className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.jsx("button",{type:"button",disabled:a,onClick:()=>{S(v==="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…":v==="agents"?"Stop agents and restart":"Restart"})]})]}):null]}),s?x.jsxs("p",{className:"text-xs text-del",children:[s," ",Rr(s)?x.jsx(Ma,{}):null]}):null]})}function ZI({known:e,hotspots:t,busy:a,onPick:l}){const[s,o]=w.useState("");if(e.length===0)return x.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const c=new Set(t),d=s.trim().toLowerCase(),f=e.filter(p=>!d||p.toLowerCase().includes(d)),h=f.find(p=>c.has(p)),m=(h?[h,...f.filter(p=>p!==h)]:f).slice(0,6);return x.jsxs(x.Fragment,{children:[x.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."}),x.jsx("input",{type:"search",value:s,disabled:a,onChange:p=>o(p.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"}),x.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[m.map(p=>x.jsxs("button",{type:"button",disabled:a,onClick:()=>l(p),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:[x.jsx("span",{className:"truncate",children:p}),c.has(p)?x.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),m.length===0?x.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!d&&e.length>m.length?x.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-m.length,"."]}):null]})}const $I={info:"text-muted",warn:"text-working",error:"text-del"};function ir(e){return String(e).padStart(2,"0")}function qI(e){if(e==null)return"·";const t=new Date(e);return`${ir(t.getHours())}:${ir(t.getMinutes())}:${ir(t.getSeconds())}`}function h6(e){if(e==null)return" ";const t=new Date(e);return`${t.getFullYear()}-${ir(t.getMonth()+1)}-${ir(t.getDate())} ${ir(t.getHours())}:${ir(t.getMinutes())}:${ir(t.getSeconds())}`}function QI(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function p6(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s ago`;const a=Math.round(t/60);if(a<60)return`${a}m ago`;const l=Math.round(a/60);return l<48?`${l}h ago`:`${Math.round(l/24)}d ago`}function YI({onClose:e}){const[t,a]=w.useState(null),[l,s]=w.useState(!1),[o,c]=w.useState(null),{data:d,isLoading:f,isError:h,error:m}=cS(t,!0),p=w.useRef(null),y=w.useRef(!0),b=w.useMemo(()=>(d?.entries??[]).filter(C=>!l||C.level!=="info"),[d,l]);w.useEffect(()=>{const C=p.current;C&&y.current&&b.length&&(C.scrollTop=C.scrollHeight)},[b]);const v=async()=>{const C=`# conductor-remote ${t??"live"} log · app v1.110.0 · copied ${h6(Date.now())}`,B=b.map(N=>`${h6(N.t)} ${N.level==="info"?"":N.level.toUpperCase()} ${N.text}`);try{await navigator.clipboard.writeText([C,...B].join(`
|
|
57
|
+
`)),a0.sessionId&&Z(a0.sessionId),v0==="workspace"){await $.invalidateQueries({queryKey:["state"]}),G(a0.sessionId?`/w/${a0.workspaceId}?session=${encodeURIComponent(a0.sessionId)}`:`/w/${a0.workspaceId}`);return}await $.invalidateQueries({queryKey:["sessions",we.id]}),a0.sessionId&&o(a0.sessionId)},Qn=()=>{d(!1),p(null),b(!1)},bn=()=>{p(null),b(!0)},Xt=()=>{c?Qn():(d(!0),b(!0))};En.current={toggleDiff:Xt,createChat:Lt,openContext:()=>{Et&&W({workspaceId:we.id,id:Et.id,title:Et.title})}};const u0=ge=>{p({workspaceId:we.id,path:ge}),b(!1)},Ln=ge=>{h(ge),ge==="all"&&we.worktree&&He.refetch()},sa={workspace:we,query:L,filesQuery:He,fileQuery:Q},Zr=async ge=>{N(null);try{const b0=await Fe.dismissDelegation(ge);if(!b0.ok)throw new Error(b0.error.message);await $.invalidateQueries({queryKey:["state"]})}catch(b0){N(b0 instanceof Error?b0.message:String(b0))}};return x.jsx(JR,{value:wt,children:x.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[x.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[x.jsx(Qu,{title:ta(we),subtitle:e0,menu:!0,right:x.jsxs(x.Fragment,{children:[x.jsx(QP,{workspaceId:we.id}),x.jsx("button",{type:"button",onClick:()=>C(!0),"aria-label":"Open delegated roles",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",children:x.jsx(_l,{size:18})}),x.jsx(QV,{workspace:we,agentsRunning:Ft.filter(ge=>ge.status==="working").length,actions:Y}),x.jsx(eI,{stats:we.change_stats,open:c,onToggle:Xt})]})}),Ft.length>0||we.state==="ready"?x.jsx(tI,{sessions:Ft,activeId:s?null:ke,readMarks:Ce,promptStates:qe,roles:ee,subtabSessionIds:w0,onSelect:o,onContext:ge=>W({workspaceId:we.id,id:ge.id,title:ge.title}),onNewChat:Lt,onClose:ge=>{yn(ge)},creating:M,closingId:F,online:et}):null,R?x.jsx(nI,{title:Ft.find(ge=>ge.id===R)?.title??"Untitled",busy:F===R,onCancel:()=>O(null),onConfirm:()=>{yn(R,!0)}}):P?x.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:[x.jsx("span",{className:"min-w-0 flex-1",children:P}),Rr(P)?x.jsx(Ma,{}):null,x.jsx("button",{type:"button",onClick:()=>T(null),"aria-label":"Dismiss close error",className:"p-1",children:x.jsx(A0,{size:14})})]}):null,y0?x.jsx(ML,{workflow:y0.workflow,jobs:y0.jobs,sessions:Ft,roles:y0.roles,activeSessionId:ke,onSelectSession:o}):null,we.delegation_warning||B?x.jsx("div",{className:"shrink-0 border-b border-del/30 bg-del/5 px-3 py-1.5 text-xs text-del",children:B??we.delegation_warning}):null,x.jsxs("div",{className:"relative min-h-0 flex flex-1 flex-col",children:[v?x.jsx(LV,{review:sa,filePath:v,scope:f,showFolders:it,onSelectFile:u0,onShowFiles:()=>b(!0),onClose:bn},v):x.jsx(up,{sessionId:ke,workspaceId:we.id,working:jt,workingSince:Oe,turnStartedAt:Et?.turn_started_at,waiting:Et?.background_tasks,delegations:Ke,agentType:Et?.agent_type,model:Et?.model,selectedSubagentId:s,queued:we.parked_prompts?.find(ge=>ge.sessionId===ke)??we.pending_prompt,onFork:ia,onSelectSession:o,onSelectSubagent:se,onDismissDelegation:ge=>{Zr(ge)},onOpenRoles:()=>C(!0)}),c&&(y||!v)?x.jsx(lI,{review:sa,sessionId:ke,scope:f,onScopeChange:Ln,showFolders:it,onShowFoldersChange:ge=>yt({showFolders:ge}),selectedFile:v,onSelectFile:u0,onClose:Qn}):null]}),s?x.jsx(JV,{title:Et?.title,onReturn:()=>se(null)}):x.jsx(VP,{session:Et,sessionId:ke,workspaceId:we.id,working:jt,actuator:oe,onFork:ge=>ia({thinking:!0,tools:!1},ge),onContext:Et?()=>W({workspaceId:we.id,id:Et.id,title:Et.title}):void 0,workflowStarted:!!(ke&&ee[ke])||!!(we.pending_prompt&&ke===we.active_session_id),workflow:Vt,workflowRole:gn,focusDraft:ke===H,onDraftFocused:()=>Z(null)},we.id)]}),c?x.jsx(rI,{review:sa,sessionId:ke,scope:f,onScopeChange:Ln,showFolders:it,onShowFoldersChange:ge=>yt({showFolders:ge}),selectedFile:v,onSelectFile:u0,onClose:Qn}):null,k?x.jsx(Fp,{onClose:()=>C(!1)}):null,J&&J.workspaceId===e?x.jsx($P,{sessionId:J.id,title:J.title,revision:Ft.find(ge=>ge.id===J.id)?.updated_at,onClose:()=>W(null)}):null]})})}function JV({title:e,onReturn:t}){return x.jsx("div",{className:"pb-safe flex shrink-0 items-center justify-center border-t border-border-soft px-4 py-3",children:x.jsxs("button",{type:"button",onClick:t,className:"flex min-w-0 items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium text-accent transition active:bg-surface-2",children:[x.jsx(e9,{size:14,className:"shrink-0"}),x.jsxs("span",{className:"truncate",children:["Return to ",e||"parent chat"," to reply"]})]})})}function eI({stats:e,open:t,onToggle:a}){const l=!!e&&(e.added>0||e.removed>0);return x.jsxs("button",{type:"button",onClick:a,"aria-label":l?"Toggle diff panel, changes available":"Toggle diff panel","aria-pressed":t,className:pe("relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",t&&"bg-surface-2 text-text"),children:[x.jsx(m1,{size:19}),l?x.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent","aria-hidden":"true"}):null]})}function tI({sessions:e,activeId:t,readMarks:a,promptStates:l,roles:s={},subtabSessionIds:o,onSelect:c,onContext:d,onNewChat:f,onClose:h,creating:m,closingId:p,online:y}){const b=w.useRef(null),v=e.filter(C=>!s[C.id]?.delegationId&&!o?.has(C.id)),k=v.some(C=>C.id===t);return w.useLayoutEffect(()=>{t&&k&&b.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[t,k]),x.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[x.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:v.map(C=>{const B=l[C.id],N=typeof C.context_used_percent=="number"&&C.context_used_percent>0;return x.jsxs("div",{ref:C.id===t?b:void 0,className:pe("flex shrink-0 items-center rounded-full text-sm font-medium text-muted transition",C.id===t&&"bg-surface-2 text-text"),children:[x.jsxs("button",{type:"button",onClick:()=>c(C.id),className:pe("flex min-w-0 items-center gap-1.5 py-1.5 pl-3.5",e.length>1||N?"pr-1":"pr-3.5"),children:[B?x.jsx(qh,{state:B,className:"size-3"}):C.status==="working"?x.jsx("span",{className:"dot-spinner size-3"}):C.background_tasks?.length?x.jsx(px,{size:11,className:"shrink-0 text-faint","aria-label":"Waiting for a background task"}):null,x.jsx("span",{className:"whitespace-nowrap",children:C.title||"Untitled"}),s[C.id]?x.jsx(Dp,{name:s[C.id].role}):null,gF(C,a)?x.jsx("span",{className:"dot size-1.5 bg-accent"}):null]}),x.jsx(aI,{session:C,onOpen:()=>d(C)}),e.length>1?x.jsx("button",{type:"button",onClick:()=>h(C.id),disabled:!y||p!==null,"aria-label":`Close ${C.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:p===C.id?x.jsx(T0,{size:12,className:"animate-spin"}):x.jsx(A0,{size:12})}):null]},C.id)})}),x.jsx("button",{type:"button",onClick:f,disabled:m,"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:x.jsx(n1,{size:18})})]})}function nI({title:e,busy:t,onCancel:a,onConfirm:l}){return x.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:[x.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[x.jsx("span",{className:"font-semibold",children:e})," is still working. Close the tab anyway?"]}),x.jsx("button",{type:"button",onClick:a,disabled:t,className:"rounded-lg px-2 py-1 text-muted active:bg-surface-2",children:"Cancel"}),x.jsxs("button",{type:"button",onClick:l,disabled:t,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:[t?x.jsx(T0,{size:12,className:"animate-spin"}):null,"Close anyway"]})]})}function aI({session:e,onOpen:t}){const a=e.context_used_percent;return typeof a!="number"||a<=0?null:x.jsxs("button",{type:"button",onClick:t,"aria-label":`Context for ${e.title||"Untitled"}: ${Math.round(a)}% used`,"aria-haspopup":"dialog",className:pe("flex h-7 min-w-10 shrink-0 items-center justify-center rounded-full px-2 text-[11px] tabular-nums transition active:bg-bg/70",a>=80?"text-working":"text-faint"),children:[Math.round(a),"%"]})}function Sp({scope:e,onChange:t}){return x.jsx("fieldset",{"aria-label":"Files shown",className:"flex shrink-0 rounded-full bg-surface-2 p-0.5 text-xs",children:["changed","all"].map(a=>x.jsx("button",{type:"button",onClick:()=>t(a),"aria-label":a==="changed"?"Changed files":"All files","aria-pressed":e===a,className:pe("rounded-full px-2.5 py-1 font-medium text-muted transition",e===a&&"bg-bg text-text shadow-sm"),children:a==="changed"?"Changed":"All"},a))})}function Mp({showFolders:e,onChange:t}){return x.jsx("button",{type:"button",onClick:()=>t(!e),"aria-label":"Group files into folders","aria-pressed":e,title:"Group files into folders",className:pe("flex size-8 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-surface-2",e&&"bg-surface-2 text-text"),children:x.jsx(i9,{size:16})})}function rI({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("aside",{className:"hidden flex-col bg-bg lg:flex lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[x.jsxs("header",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(Sp,{scope:a,onChange:l}),x.jsx(Mp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"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:x.jsx(A0,{size:20})})]}),x.jsx(wp,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}function lI({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("section",{className:"absolute inset-0 z-20 flex flex-col bg-bg lg:hidden","aria-label":"Workspace files",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(Sp,{scope:a,onChange:l}),x.jsx(Mp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"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:x.jsx(A0,{size:20})})]}),x.jsx(wp,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}var Jo={exports:{}},iI=Jo.exports,o6;function sI(){return o6||(o6=1,(function(e,t){(function(l,s){e.exports=s()})(typeof self<"u"?self:iI,function(){return(function(a){var l={};function s(o){if(l[o])return l[o].exports;var c=l[o]={i:o,l:!1,exports:{}};return a[o].call(c.exports,c,c.exports,s),c.l=!0,c.exports}return s.m=a,s.c=l,s.d=function(o,c,d){s.o(o,c)||Object.defineProperty(o,c,{configurable:!1,enumerable:!0,get:d})},s.n=function(o){var c=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(c,"a",c),c},s.o=function(o,c){return Object.prototype.hasOwnProperty.call(o,c)},s.p="",s(s.s=3)})([(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d,f){this.width=f,this.height=d.length/f,this.data=d}return c.createEmpty=function(d,f){return new c(new Uint8ClampedArray(d*f),d)},c.prototype.get=function(d,f){return d<0||d>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+d]},c.prototype.set=function(d,f,h){this.data[f*this.width+d]=h?1:0},c.prototype.setRegion=function(d,f,h,m,p){for(var y=f;y<f+m;y++)for(var b=d;b<d+h;b++)this.set(b,y,!!p)},c})();l.BitMatrix=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(2);function c(f,h){return f^h}l.addOrSubtractGF=c;var d=(function(){function f(h,m,p){this.primitive=h,this.size=m,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,b=0;b<this.size;b++)this.expTable[b]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var b=0;b<this.size-1;b++)this.logTable[this.expTable[b]]=b;this.zero=new o.default(this,Uint8ClampedArray.from([0])),this.one=new o.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,m){return h===0||m===0?0:this.expTable[(this.logTable[h]+this.logTable[m])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,m){if(h<0)throw new Error("Invalid monomial degree less than 0");if(m===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=m,new o.default(this,p)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();l.default=d}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=(function(){function d(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var m=h.length;if(m>1&&h[0]===0){for(var p=1;p<m&&h[p]===0;)p++;if(p===m)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(m-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},d.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var m=this.coefficients,p=f.coefficients;m.length>p.length&&(h=[p,m],m=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),b=p.length-m.length,v=0;v<b;v++)y[v]=p[v];for(var v=b;v<p.length;v++)y[v]=o.addOrSubtractGF(m[v-b],p[v]);return new d(this.field,y)},d.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,m=new Uint8ClampedArray(h),p=0;p<h;p++)m[p]=this.field.multiply(this.coefficients[p],f);return new d(this.field,m)},d.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,m=h.length,p=f.coefficients,y=p.length,b=new Uint8ClampedArray(m+y-1),v=0;v<m;v++)for(var k=h[v],C=0;C<y;C++)b[v+C]=o.addOrSubtractGF(b[v+C],this.field.multiply(k,p[C]));return new d(this.field,b)},d.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var m=this.coefficients.length,p=new Uint8ClampedArray(m+f),y=0;y<m;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new d(this.field,p)},d.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var m=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(y){h=o.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<m;p++)h=o.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[p]);return h},d})();l.default=c}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(4),c=s(5),d=s(11),f=s(12);function h(y){var b=f.locate(y);if(!b)return null;for(var v=0,k=b;v<k.length;v++){var C=k[v],B=d.extract(y,C),N=c.decode(B.matrix);if(N)return{binaryData:N.bytes,data:N.text,chunks:N.chunks,version:N.version,location:{topRightCorner:B.mappingFunction(C.dimension,0),topLeftCorner:B.mappingFunction(0,0),bottomRightCorner:B.mappingFunction(C.dimension,C.dimension),bottomLeftCorner:B.mappingFunction(0,C.dimension),topRightFinderPattern:C.topRight,topLeftFinderPattern:C.topLeft,bottomLeftFinderPattern:C.bottomLeft,bottomRightAlignmentPattern:C.alignmentPattern}}}return null}var m={inversionAttempts:"attemptBoth"};function p(y,b,v,k){k===void 0&&(k={});var C=m;Object.keys(C||{}).forEach(function(R){C[R]=k[R]||C[R]});var B=C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst",N=C.inversionAttempts==="onlyInvert"||C.inversionAttempts==="invertFirst",M=o.binarize(y,b,v,B),S=M.binarized,F=M.inverted,D=h(N?F:S);return!D&&(C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst")&&(D=h(N?S:F)),D}p.default=p,l.default=p}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=8,d=24;function f(p,y,b){return p<y?y:p>b?b:p}var h=(function(){function p(y,b){this.width=y,this.data=new Uint8ClampedArray(y*b)}return p.prototype.get=function(y,b){return this.data[b*this.width+y]},p.prototype.set=function(y,b,v){this.data[b*this.width+y]=v},p})();function m(p,y,b,v){if(p.length!==y*b*4)throw new Error("Malformed data passed to binarizer.");for(var k=new h(y,b),C=0;C<y;C++)for(var B=0;B<b;B++){var N=p[(B*y+C)*4+0],M=p[(B*y+C)*4+1],S=p[(B*y+C)*4+2];k.set(C,B,.2126*N+.7152*M+.0722*S)}for(var F=Math.ceil(y/c),D=Math.ceil(b/c),R=new h(F,D),O=0;O<D;O++)for(var P=0;P<F;P++){for(var T=0,H=1/0,Z=0,B=0;B<c;B++)for(var C=0;C<c;C++){var J=k.get(P*c+C,O*c+B);T+=J,H=Math.min(H,J),Z=Math.max(Z,J)}var W=T/Math.pow(c,2);if(Z-H<=d&&(W=H/2,O>0&&P>0)){var $=(R.get(P,O-1)+2*R.get(P-1,O)+R.get(P-1,O-1))/4;H<$&&(W=$)}R.set(P,O,W)}var G=o.BitMatrix.createEmpty(y,b),Y=null;v&&(Y=o.BitMatrix.createEmpty(y,b));for(var O=0;O<D;O++)for(var P=0;P<F;P++){for(var re=f(P,2,F-3),he=f(O,2,D-3),T=0,j=-2;j<=2;j++)for(var L=-2;L<=2;L++)T+=R.get(re+j,he+L);for(var Q=T/25,j=0;j<c;j++)for(var L=0;L<c;L++){var C=P*c+j,B=O*c+L,z=k.get(C,B);G.set(C,B,z<=Q),v&&Y.set(C,B,!(z<=Q))}}return v?{binarized:G,inverted:Y}:{binarized:G}}l.binarize=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=s(6),d=s(9),f=s(10);function h(S,F){for(var D=S^F,R=0;D;)R++,D&=D-1;return R}function m(S,F){return F<<1|S}var p=[{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(S){return(S.y+S.x)%2===0},function(S){return S.y%2===0},function(S){return S.x%3===0},function(S){return(S.y+S.x)%3===0},function(S){return(Math.floor(S.y/2)+Math.floor(S.x/3))%2===0},function(S){return S.x*S.y%2+S.x*S.y%3===0},function(S){return(S.y*S.x%2+S.y*S.x%3)%2===0},function(S){return((S.y+S.x)%2+S.y*S.x%3)%2===0}];function b(S){var F=17+4*S.versionNumber,D=o.BitMatrix.createEmpty(F,F);D.setRegion(0,0,9,9,!0),D.setRegion(F-8,0,8,9,!0),D.setRegion(0,F-8,9,8,!0);for(var R=0,O=S.alignmentPatternCenters;R<O.length;R++)for(var P=O[R],T=0,H=S.alignmentPatternCenters;T<H.length;T++){var Z=H[T];P===6&&Z===6||P===6&&Z===F-7||P===F-7&&Z===6||D.setRegion(P-2,Z-2,5,5,!0)}return D.setRegion(6,9,1,F-17,!0),D.setRegion(9,6,F-17,1,!0),S.versionNumber>6&&(D.setRegion(F-11,0,3,6,!0),D.setRegion(0,F-11,6,3,!0)),D}function v(S,F,D){for(var R=y[D.dataMask],O=S.height,P=b(F),T=[],H=0,Z=0,J=!0,W=O-1;W>0;W-=2){W===6&&W--;for(var $=0;$<O;$++)for(var G=J?O-1-$:$,Y=0;Y<2;Y++){var re=W-Y;if(!P.get(re,G)){Z++;var he=S.get(re,G);R({y:G,x:re})&&(he=!he),H=m(he,H),Z===8&&(T.push(H),Z=0,H=0)}}J=!J}return T}function k(S){var F=S.height,D=Math.floor((F-17)/4);if(D<=6)return f.VERSIONS[D-1];for(var R=0,O=5;O>=0;O--)for(var P=F-9;P>=F-11;P--)R=m(S.get(P,O),R);for(var T=0,P=5;P>=0;P--)for(var O=F-9;O>=F-11;O--)T=m(S.get(P,O),T);for(var H=1/0,Z,J=0,W=f.VERSIONS;J<W.length;J++){var $=W[J];if($.infoBits===R||$.infoBits===T)return $;var G=h(R,$.infoBits);G<H&&(Z=$,H=G),G=h(T,$.infoBits),G<H&&(Z=$,H=G)}if(H<=3)return Z}function C(S){for(var F=0,D=0;D<=8;D++)D!==6&&(F=m(S.get(D,8),F));for(var R=7;R>=0;R--)R!==6&&(F=m(S.get(8,R),F));for(var O=S.height,P=0,R=O-1;R>=O-7;R--)P=m(S.get(8,R),P);for(var D=O-8;D<O;D++)P=m(S.get(D,8),P);for(var T=1/0,H=null,Z=0,J=p;Z<J.length;Z++){var W=J[Z],$=W.bits,G=W.formatInfo;if($===F||$===P)return G;var Y=h(F,$);Y<T&&(H=G,T=Y),F!==P&&(Y=h(P,$),Y<T&&(H=G,T=Y))}return T<=3?H:null}function B(S,F,D){var R=F.errorCorrectionLevels[D],O=[],P=0;if(R.ecBlocks.forEach(function(he){for(var j=0;j<he.numBlocks;j++)O.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),P+=he.dataCodewordsPerBlock+R.ecCodewordsPerBlock}),S.length<P)return null;S=S.slice(0,P);for(var T=R.ecBlocks[0].dataCodewordsPerBlock,H=0;H<T;H++)for(var Z=0,J=O;Z<J.length;Z++){var W=J[Z];W.codewords.push(S.shift())}if(R.ecBlocks.length>1)for(var $=R.ecBlocks[0].numBlocks,G=R.ecBlocks[1].numBlocks,H=0;H<G;H++)O[$+H].codewords.push(S.shift());for(;S.length>0;)for(var Y=0,re=O;Y<re.length;Y++){var W=re[Y];W.codewords.push(S.shift())}return O}function N(S){var F=k(S);if(!F)return null;var D=C(S);if(!D)return null;var R=v(S,F,D),O=B(R,F,D.errorCorrectionLevel);if(!O)return null;for(var P=O.reduce(function(Y,re){return Y+re.numDataCodewords},0),T=new Uint8ClampedArray(P),H=0,Z=0,J=O;Z<J.length;Z++){var W=J[Z],$=d.decode(W.codewords,W.codewords.length-W.numDataCodewords);if(!$)return null;for(var G=0;G<W.numDataCodewords;G++)T[H++]=$[G]}try{return c.decode(T,F.versionNumber)}catch{return null}}function M(S){if(S==null)return null;var F=N(S);if(F)return F;for(var D=0;D<S.width;D++)for(var R=D+1;R<S.height;R++)S.get(D,R)!==S.get(R,D)&&(S.set(D,R,!S.get(D,R)),S.set(R,D,!S.get(R,D)));return N(S)}l.decode=M}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(7),c=s(8),d;(function(k){k.Numeric="numeric",k.Alphanumeric="alphanumeric",k.Byte="byte",k.Kanji="kanji",k.ECI="eci"})(d=l.Mode||(l.Mode={}));var f;(function(k){k[k.Terminator=0]="Terminator",k[k.Numeric=1]="Numeric",k[k.Alphanumeric=2]="Alphanumeric",k[k.Byte=4]="Byte",k[k.Kanji=8]="Kanji",k[k.ECI=7]="ECI"})(f||(f={}));function h(k,C){for(var B=[],N="",M=[10,12,14][C],S=k.readBits(M);S>=3;){var F=k.readBits(10);if(F>=1e3)throw new Error("Invalid numeric value above 999");var D=Math.floor(F/100),R=Math.floor(F/10)%10,O=F%10;B.push(48+D,48+R,48+O),N+=D.toString()+R.toString()+O.toString(),S-=3}if(S===2){var F=k.readBits(7);if(F>=100)throw new Error("Invalid numeric value above 99");var D=Math.floor(F/10),R=F%10;B.push(48+D,48+R),N+=D.toString()+R.toString()}else if(S===1){var F=k.readBits(4);if(F>=10)throw new Error("Invalid numeric value above 9");B.push(48+F),N+=F.toString()}return{bytes:B,text:N}}var m=["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 p(k,C){for(var B=[],N="",M=[9,11,13][C],S=k.readBits(M);S>=2;){var F=k.readBits(11),D=Math.floor(F/45),R=F%45;B.push(m[D].charCodeAt(0),m[R].charCodeAt(0)),N+=m[D]+m[R],S-=2}if(S===1){var D=k.readBits(6);B.push(m[D].charCodeAt(0)),N+=m[D]}return{bytes:B,text:N}}function y(k,C){for(var B=[],N="",M=[8,16,16][C],S=k.readBits(M),F=0;F<S;F++){var D=k.readBits(8);B.push(D)}try{N+=decodeURIComponent(B.map(function(R){return"%"+("0"+R.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:B,text:N}}function b(k,C){for(var B=[],N="",M=[8,10,12][C],S=k.readBits(M),F=0;F<S;F++){var D=k.readBits(13),R=Math.floor(D/192)<<8|D%192;R<7936?R+=33088:R+=49472,B.push(R>>8,R&255),N+=String.fromCharCode(c.shiftJISTable[R])}return{bytes:B,text:N}}function v(k,C){for(var B,N,M,S,F=new o.BitStream(k),D=C<=9?0:C<=26?1:2,R={text:"",bytes:[],chunks:[],version:C};F.available()>=4;){var O=F.readBits(4);if(O===f.Terminator)return R;if(O===f.ECI)F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(7)}):F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(14)}):F.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:F.readBits(21)}):R.chunks.push({type:d.ECI,assignmentNumber:-1});else if(O===f.Numeric){var P=h(F,D);R.text+=P.text,(B=R.bytes).push.apply(B,P.bytes),R.chunks.push({type:d.Numeric,text:P.text})}else if(O===f.Alphanumeric){var T=p(F,D);R.text+=T.text,(N=R.bytes).push.apply(N,T.bytes),R.chunks.push({type:d.Alphanumeric,text:T.text})}else if(O===f.Byte){var H=y(F,D);R.text+=H.text,(M=R.bytes).push.apply(M,H.bytes),R.chunks.push({type:d.Byte,bytes:H.bytes,text:H.text})}else if(O===f.Kanji){var Z=b(F,D);R.text+=Z.text,(S=R.bytes).push.apply(S,Z.bytes),R.chunks.push({type:d.Kanji,bytes:Z.bytes,text:Z.text})}}if(F.available()===0||F.readBits(F.available())===0)return R}l.decode=v}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return c.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,m=d<h?d:h,p=h-m,y=255>>8-m<<p;f=(this.bytes[this.byteOffset]&y)>>p,d-=m,this.bitOffset+=m,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var p=8-d,y=255>>p<<p;f=f<<d|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=d}}return f},c.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},c})();l.BitStream=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.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,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=s(2);function d(p,y,b,v){var k;y.degree()<b.degree()&&(k=[b,y],y=k[0],b=k[1]);for(var C=y,B=b,N=p.zero,M=p.one;B.degree()>=v/2;){var S=C,F=N;if(C=B,N=M,C.isZero())return null;B=S;for(var D=p.zero,R=C.getCoefficient(C.degree()),O=p.inverse(R);B.degree()>=C.degree()&&!B.isZero();){var P=B.degree()-C.degree(),T=p.multiply(B.getCoefficient(B.degree()),O);D=D.addOrSubtract(p.buildMonomial(P,T)),B=B.addOrSubtract(C.multiplyByMonomial(P,T))}if(M=D.multiplyPoly(N).addOrSubtract(F),B.degree()>=C.degree())return null}var H=M.getCoefficient(0);if(H===0)return null;var Z=p.inverse(H);return[M.multiply(Z),B.multiply(Z)]}function f(p,y){var b=y.degree();if(b===1)return[y.getCoefficient(1)];for(var v=new Array(b),k=0,C=1;C<p.size&&k<b;C++)y.evaluateAt(C)===0&&(v[k]=p.inverse(C),k++);return k!==b?null:v}function h(p,y,b){for(var v=b.length,k=new Array(v),C=0;C<v;C++){for(var B=p.inverse(b[C]),N=1,M=0;M<v;M++)C!==M&&(N=p.multiply(N,o.addOrSubtractGF(1,p.multiply(b[M],B))));k[C]=p.multiply(y.evaluateAt(B),p.inverse(N)),p.generatorBase!==0&&(k[C]=p.multiply(k[C],B))}return k}function m(p,y){var b=new Uint8ClampedArray(p.length);b.set(p);for(var v=new o.default(285,256,0),k=new c.default(v,b),C=new Uint8ClampedArray(y),B=!1,N=0;N<y;N++){var M=k.evaluateAt(v.exp(N+v.generatorBase));C[C.length-1-N]=M,M!==0&&(B=!0)}if(!B)return b;var S=new c.default(v,C),F=d(v,v.buildMonomial(y,1),S,y);if(F===null)return null;var D=f(v,F[0]);if(D==null)return null;for(var R=h(v,F[1],D),O=0;O<D.length;O++){var P=b.length-1-v.log(D[O]);if(P<0)return null;b[P]=o.addOrSubtractGF(b[P],R[O])}return b}l.decode=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.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,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0);function c(m,p,y,b){var v=m.x-p.x+y.x-b.x,k=m.y-p.y+y.y-b.y;if(v===0&&k===0)return{a11:p.x-m.x,a12:p.y-m.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:m.x,a32:m.y,a33:1};var C=p.x-y.x,B=b.x-y.x,N=p.y-y.y,M=b.y-y.y,S=C*M-B*N,F=(v*M-B*k)/S,D=(C*k-v*N)/S;return{a11:p.x-m.x+F*p.x,a12:p.y-m.y+F*p.y,a13:F,a21:b.x-m.x+D*b.x,a22:b.y-m.y+D*b.y,a23:D,a31:m.x,a32:m.y,a33:1}}function d(m,p,y,b){var v=c(m,p,y,b);return{a11:v.a22*v.a33-v.a23*v.a32,a12:v.a13*v.a32-v.a12*v.a33,a13:v.a12*v.a23-v.a13*v.a22,a21:v.a23*v.a31-v.a21*v.a33,a22:v.a11*v.a33-v.a13*v.a31,a23:v.a13*v.a21-v.a11*v.a23,a31:v.a21*v.a32-v.a22*v.a31,a32:v.a12*v.a31-v.a11*v.a32,a33:v.a11*v.a22-v.a12*v.a21}}function f(m,p){return{a11:m.a11*p.a11+m.a21*p.a12+m.a31*p.a13,a12:m.a12*p.a11+m.a22*p.a12+m.a32*p.a13,a13:m.a13*p.a11+m.a23*p.a12+m.a33*p.a13,a21:m.a11*p.a21+m.a21*p.a22+m.a31*p.a23,a22:m.a12*p.a21+m.a22*p.a22+m.a32*p.a23,a23:m.a13*p.a21+m.a23*p.a22+m.a33*p.a23,a31:m.a11*p.a31+m.a21*p.a32+m.a31*p.a33,a32:m.a12*p.a31+m.a22*p.a32+m.a32*p.a33,a33:m.a13*p.a31+m.a23*p.a32+m.a33*p.a33}}function h(m,p){for(var y=d({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),b=c(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),v=f(b,y),k=o.BitMatrix.createEmpty(p.dimension,p.dimension),C=function(D,R){var O=v.a13*D+v.a23*R+v.a33;return{x:(v.a11*D+v.a21*R+v.a31)/O,y:(v.a12*D+v.a22*R+v.a32)/O}},B=0;B<p.dimension;B++)for(var N=0;N<p.dimension;N++){var M=N+.5,S=B+.5,F=C(M,S);k.set(N,B,m.get(Math.floor(F.x),Math.floor(F.y)))}return{matrix:k,mappingFunction:C}}l.extract=h}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=4,c=.5,d=1.5,f=function(M,S){return Math.sqrt(Math.pow(S.x-M.x,2)+Math.pow(S.y-M.y,2))};function h(M){return M.reduce(function(S,F){return S+F})}function m(M,S,F){var D,R,O,P,T=f(M,S),H=f(S,F),Z=f(M,F),J,W,$;return H>=T&&H>=Z?(D=[S,M,F],J=D[0],W=D[1],$=D[2]):Z>=H&&Z>=T?(R=[M,S,F],J=R[0],W=R[1],$=R[2]):(O=[M,F,S],J=O[0],W=O[1],$=O[2]),($.x-W.x)*(J.y-W.y)-($.y-W.y)*(J.x-W.x)<0&&(P=[$,J],J=P[0],$=P[1]),{bottomLeft:J,topLeft:W,topRight:$}}function p(M,S,F,D){var R=(h(b(M,F,D,5))/7+h(b(M,S,D,5))/7+h(b(F,M,D,5))/7+h(b(S,M,D,5))/7)/4;if(R<1)throw new Error("Invalid module size");var O=Math.round(f(M,S)/R),P=Math.round(f(M,F)/R),T=Math.floor((O+P)/2)+7;switch(T%4){case 0:T++;break;case 2:T--;break}return{dimension:T,moduleSize:R}}function y(M,S,F,D){var R=[{x:Math.floor(M.x),y:Math.floor(M.y)}],O=Math.abs(S.y-M.y)>Math.abs(S.x-M.x),P,T,H,Z;O?(P=Math.floor(M.y),T=Math.floor(M.x),H=Math.floor(S.y),Z=Math.floor(S.x)):(P=Math.floor(M.x),T=Math.floor(M.y),H=Math.floor(S.x),Z=Math.floor(S.y));for(var J=Math.abs(H-P),W=Math.abs(Z-T),$=Math.floor(-J/2),G=P<H?1:-1,Y=T<Z?1:-1,re=!0,he=P,j=T;he!==H+G;he+=G){var L=O?j:he,Q=O?he:j;if(F.get(L,Q)!==re&&(re=!re,R.push({x:L,y:Q}),R.length===D+1))break;if($+=W,$>0){if(j===Z)break;j+=Y,$-=J}}for(var z=[],le=0;le<D;le++)R[le]&&R[le+1]?z.push(f(R[le],R[le+1])):z.push(0);return z}function b(M,S,F,D){var R,O=S.y-M.y,P=S.x-M.x,T=y(M,S,F,Math.ceil(D/2)),H=y(M,{x:M.x-P,y:M.y-O},F,Math.ceil(D/2)),Z=T.shift()+H.shift()-1;return(R=H.concat(Z)).concat.apply(R,T)}function v(M,S){var F=h(M)/h(S),D=0;return S.forEach(function(R,O){D+=Math.pow(M[O]-R*F,2)}),{averageSize:F,error:D}}function k(M,S,F){try{var D=b(M,{x:-1,y:M.y},F,S.length),R=b(M,{x:M.x,y:-1},F,S.length),O={x:Math.max(0,M.x-M.y)-1,y:Math.max(0,M.y-M.x)-1},P=b(M,O,F,S.length),T={x:Math.min(F.width,M.x+M.y)+1,y:Math.min(F.height,M.y+M.x)+1},H=b(M,T,F,S.length),Z=v(D,S),J=v(R,S),W=v(P,S),$=v(H,S),G=Math.sqrt(Z.error*Z.error+J.error*J.error+W.error*W.error+$.error*$.error),Y=(Z.averageSize+J.averageSize+W.averageSize+$.averageSize)/4,re=(Math.pow(Z.averageSize-Y,2)+Math.pow(J.averageSize-Y,2)+Math.pow(W.averageSize-Y,2)+Math.pow($.averageSize-Y,2))/Y;return G+re}catch{return 1/0}}function C(M,S){for(var F=Math.round(S.x);M.get(F,Math.round(S.y));)F--;for(var D=Math.round(S.x);M.get(D,Math.round(S.y));)D++;for(var R=(F+D)/2,O=Math.round(S.y);M.get(Math.round(R),O);)O--;for(var P=Math.round(S.y);M.get(Math.round(R),P);)P++;var T=(O+P)/2;return{x:R,y:T}}function B(M){for(var S=[],F=[],D=[],R=[],O=function(L){for(var Q=0,z=!1,le=[0,0,0,0,0],Ee=function(Ce){var Ie=M.get(Ce,L);if(Ie===z)Q++;else{le=[le[1],le[2],le[3],le[4],Q],Q=1,z=Ie;var Se=h(le)/7,et=Math.abs(le[0]-Se)<Se&&Math.abs(le[1]-Se)<Se&&Math.abs(le[2]-3*Se)<3*Se&&Math.abs(le[3]-Se)<Se&&Math.abs(le[4]-Se)<Se&&!Ie,it=h(le.slice(-3))/3,yt=Math.abs(le[2]-it)<it&&Math.abs(le[3]-it)<it&&Math.abs(le[4]-it)<it&&Ie;if(et){var we=Ce-le[3]-le[4],oe=we-le[2],X={startX:oe,endX:we,y:L},De=F.filter(function(ot){return oe>=ot.bottom.startX&&oe<=ot.bottom.endX||we>=ot.bottom.startX&&oe<=ot.bottom.endX||oe<=ot.bottom.startX&&we>=ot.bottom.endX&&le[2]/(ot.bottom.endX-ot.bottom.startX)<d&&le[2]/(ot.bottom.endX-ot.bottom.startX)>c});De.length>0?De[0].bottom=X:F.push({top:X,bottom:X})}if(yt){var He=Ce-le[4],st=He-le[3],X={startX:st,y:L,endX:He},De=R.filter(function(wt){return st>=wt.bottom.startX&&st<=wt.bottom.endX||He>=wt.bottom.startX&&st<=wt.bottom.endX||st<=wt.bottom.startX&&He>=wt.bottom.endX&&le[2]/(wt.bottom.endX-wt.bottom.startX)<d&&le[2]/(wt.bottom.endX-wt.bottom.startX)>c});De.length>0?De[0].bottom=X:R.push({top:X,bottom:X})}}},de=-1;de<=M.width;de++)Ee(de);S.push.apply(S,F.filter(function(Ce){return Ce.bottom.y!==L&&Ce.bottom.y-Ce.top.y>=2})),F=F.filter(function(Ce){return Ce.bottom.y===L}),D.push.apply(D,R.filter(function(Ce){return Ce.bottom.y!==L})),R=R.filter(function(Ce){return Ce.bottom.y===L})},P=0;P<=M.height;P++)O(P);S.push.apply(S,F.filter(function(L){return L.bottom.y-L.top.y>=2})),D.push.apply(D,R);var T=S.filter(function(L){return L.bottom.y-L.top.y>=2}).map(function(L){var Q=(L.top.startX+L.top.endX+L.bottom.startX+L.bottom.endX)/4,z=(L.top.y+L.bottom.y+1)/2;if(M.get(Math.round(Q),Math.round(z))){var le=[L.top.endX-L.top.startX,L.bottom.endX-L.bottom.startX,L.bottom.y-L.top.y+1],Ee=h(le)/le.length,de=k({x:Math.round(Q),y:Math.round(z)},[1,1,3,1,1],M);return{score:de,x:Q,y:z,size:Ee}}}).filter(function(L){return!!L}).sort(function(L,Q){return L.score-Q.score}).map(function(L,Q,z){if(Q>o)return null;var le=z.filter(function(de,Ce){return Q!==Ce}).map(function(de){return{x:de.x,y:de.y,score:de.score+Math.pow(de.size-L.size,2)/L.size,size:de.size}}).sort(function(de,Ce){return de.score-Ce.score});if(le.length<2)return null;var Ee=L.score+le[0].score+le[1].score;return{points:[L].concat(le.slice(0,2)),score:Ee}}).filter(function(L){return!!L}).sort(function(L,Q){return L.score-Q.score});if(T.length===0)return null;var H=m(T[0].points[0],T[0].points[1],T[0].points[2]),Z=H.topRight,J=H.topLeft,W=H.bottomLeft,$=N(M,D,Z,J,W),G=[];$&&G.push({alignmentPattern:{x:$.alignmentPattern.x,y:$.alignmentPattern.y},bottomLeft:{x:W.x,y:W.y},dimension:$.dimension,topLeft:{x:J.x,y:J.y},topRight:{x:Z.x,y:Z.y}});var Y=C(M,Z),re=C(M,J),he=C(M,W),j=N(M,D,Y,re,he);return j&&G.push({alignmentPattern:{x:j.alignmentPattern.x,y:j.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:re.x,y:re.y},topRight:{x:Y.x,y:Y.y},dimension:j.dimension}),G.length===0?null:G}l.locate=B;function N(M,S,F,D,R){var O,P,T;try{O=p(D,F,R,M),P=O.dimension,T=O.moduleSize}catch{return null}var H={x:F.x-D.x+R.x,y:F.y-D.y+R.y},Z=(f(D,R)+f(D,F))/2/T,J=1-3/Z,W={x:D.x+J*(H.x-D.x),y:D.y+J*(H.y-D.y)},$=S.map(function(Y){var re=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,he=(Y.top.y+Y.bottom.y+1)/2;if(M.get(Math.floor(re),Math.floor(he))){var j=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(j)/j.length;var L=k({x:Math.floor(re),y:Math.floor(he)},[1,1,1],M),Q=L+f({x:re,y:he},W);return{x:re,y:he,score:Q}}}).filter(function(Y){return!!Y}).sort(function(Y,re){return Y.score-re.score}),G=Z>=15&&$.length?$[0]:W;return{alignmentPattern:G,dimension:P}}})]).default})})(Jo)),Jo.exports}var oI=sI();const cI=os(oI);function uI({onResult:e,onClose:t}){const a=w.useRef(null),[l,s]=w.useState(null);return w.useEffect(()=>{let o=null,c=0,d=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),m=()=>{const p=a.current;if(!(d||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){f.width=p.videoWidth,f.height=p.videoHeight,h.drawImage(p,0,0,f.width,f.height);const{data:y,width:b,height:v}=h.getImageData(0,0,f.width,f.height),k=cI(y,b,v,{inversionAttempts:"dontInvert"});if(k?.data){d=!0,e(k.data);return}}c=requestAnimationFrame(m)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(d){for(const b of p.getTracks())b.stop();return}o=p;const y=a.current;y&&(y.srcObject=p,y.play(),c=requestAnimationFrame(m))}).catch(p=>s(xI(p))),()=>{if(d=!0,cancelAnimationFrame(c),o)for(const p of o.getTracks())p.stop()}},[e]),x.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[x.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),x.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:x.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)]"})}),x.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[x.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),x.jsx("button",{type:"button",onClick:t,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:x.jsx(A0,{size:20})})]}),l?x.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:l}):null]})}function xI(e){const t=e instanceof DOMException?e.name:"";return t==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":t==="NotFoundError"||t==="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 dI(){const e=be(h=>h.setToken),[t,a]=w.useState(""),[l,s]=w.useState(!1),[o,c]=w.useState(!1),d=h=>{const m=rF(h);c(!1),m?e(m):s(!0)},f=h=>{h.preventDefault(),d(t)};return o?x.jsx(uI,{onResult:d,onClose:()=>c(!1)}):x.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:[x.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),x.jsxs("div",{children:[x.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),x.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),x.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 (",x.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",x.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),x.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[x.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:t,onChange:h=>{a(h.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"}),x.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),x.jsxs("button",{type:"button",onClick:()=>{s(!1),c(!0)},className:"pill justify-center gap-2 py-2.5",children:[x.jsx(Bu,{size:16}),"Scan QR"]}),l?x.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]}),x.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",x.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 du={voice:"marin",language:"auto"},Np="conductor-remote-voice";function fI(e=localStorage){try{const t=JSON.parse(e.getItem(Np)??"{}");return{voice:QD(t.voice)?t.voice:du.voice,language:YD(t.language)?t.language:du.language}}catch{return du}}function hI(e,t=localStorage){try{t.setItem(Np,JSON.stringify(e))}catch{}}function Mn(e,t){return typeof e[t]=="string"?e[t]:null}function pI(e){let t=e;if(typeof t=="string")try{t=JSON.parse(t)}catch{return null}if(!t||typeof t!="object")return null;const a=t,l=Mn(a,"type"),s=Mn(a,"item_id")??Mn(a,"call_id")??"voice-item";if(l==="conversation.item.input_audio_transcription.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"input-delta",itemId:s,text:o}}if(l==="conversation.item.input_audio_transcription.completed"){const o=Mn(a,"transcript");return o===null?null:{kind:"input-done",itemId:s,text:o}}if(l==="response.output_audio_transcript.delta"||l==="response.audio_transcript.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_audio_transcript.done"||l==="response.audio_transcript.done"){const o=Mn(a,"transcript");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.output_text.delta"){const o=Mn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_text.done"){const o=Mn(a,"text");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.function_call_arguments.done"){const o=Mn(a,"name");return o===null?null:{kind:"tool",itemId:s,name:o}}if(l==="input_audio_buffer.speech_started")return{kind:"speech-started"};if(l==="response.created")return{kind:"response-started"};if(l==="response.done"){const o=a.response&&typeof a.response=="object"?a.response:null,c=o?.error&&typeof o.error=="object"?o.error:null,d=c?Mn(c,"message"):null;return d?{kind:"response-done",error:d}:{kind:"response-done"}}if(l==="error"){const o=a.error&&typeof a.error=="object"?a.error:null;return{kind:"error",text:o&&Mn(o,"message")||"Voice call failed"}}return null}function mI(e){switch(e){case"voice_roll_call":return"Checking the fleet";case"voice_workspace_overview":return"Refreshing workspace overview";case"voice_next_decision":return"Opening the next decision";case"voice_list_repos":return"Checking repositories";case"voice_create_workspace_preview":return"Preparing a workspace";case"voice_create_workspace":return"Creating the approved workspace";case"voice_send_preview":return"Preparing a guarded send";case"voice_send":return"Queueing the approved prompt";default:return"Working with the relay"}}const _p=w.createContext(null);function qo(e){return[...e.values()].join(" ").trimStart()}function gI(e){return e instanceof DOMException&&(e.name==="NotAllowedError"||e.name==="SecurityError")}function EI({children:e}){const[t,a]=w.useState(!1),[l,s]=w.useState("idle"),[o,c]=w.useState(!1),[d,f]=w.useState(null),[h,m]=w.useState([]),[p,y]=w.useState(""),[b,v]=w.useState(""),[k,C]=w.useState(fI),B=w.useRef("idle"),N=w.useRef(k),M=w.useRef(0),S=w.useRef(null),F=w.useRef(null),D=w.useRef(null),R=w.useRef(null),O=w.useRef(null),P=w.useRef(null),T=w.useRef(new Map),H=w.useRef(new Map),Z=w.useRef(new Set),J=w.useRef(new Set),W=w.useRef(new Set),$=w.useRef(null);N.current=k;const G=w.useCallback(oe=>{B.current=oe,s(oe)},[]),Y=w.useCallback(oe=>{m(X=>X.some(De=>De.id===oe.id)?X:[...X,oe])},[]),re=w.useCallback(()=>{T.current.clear(),H.current.clear(),y(""),v("")},[]),he=w.useCallback(()=>{M.current+=1,$.current&&clearTimeout($.current),$.current=null;try{F.current?.close()}catch{}try{S.current?.close()}catch{}for(const oe of D.current?.getTracks()??[])oe.stop();O.current&&(O.current.srcObject=null),S.current=null,F.current=null,D.current=null,R.current=null,O.current=null,P.current=null,re()},[re]),j=w.useCallback(oe=>{const X=P.current;he(),c(!1),G("idle"),f(oe),X&&Fe.voiceCallEnd(X).catch(()=>{})},[he,G]),L=w.useCallback(oe=>{const X=pI(oe);if(X)switch(X.kind){case"input-delta":T.current.set(X.itemId,(T.current.get(X.itemId)??"")+X.text),y(qo(T.current));return;case"input-done":{T.current.delete(X.itemId),y(qo(T.current)),!Z.current.has(X.itemId)&&X.text.trim()&&(Z.current.add(X.itemId),Y({id:`user:${X.itemId}`,role:"user",text:X.text.trim()})),B.current!=="speaking"&&G("thinking");return}case"output-delta":H.current.set(X.itemId,(H.current.get(X.itemId)??"")+X.text),v(qo(H.current)),G("speaking");return;case"output-done":{const De=(X.text||H.current.get(X.itemId)||"").trim();H.current.delete(X.itemId),v(qo(H.current)),!J.current.has(X.itemId)&&De&&(J.current.add(X.itemId),Y({id:`assistant:${X.itemId}`,role:"assistant",text:De}));return}case"tool":W.current.has(X.itemId)||(W.current.add(X.itemId),Y({id:`tool:${X.itemId}`,role:"activity",text:mI(X.name)})),G("thinking");return;case"speech-started":G("listening");return;case"response-started":G("thinking");return;case"response-done":X.error&&f(X.error),G("connected");return;case"error":f(X.text),B.current!=="idle"&&G("connected")}},[Y,G]),Q=w.useCallback(async()=>{if(B.current!=="idle")return;if(typeof RTCPeerConnection>"u"||!navigator.mediaDevices?.getUserMedia){f("This browser does not support WebRTC calling");return}a(!0),f(null),m([]),re(),Z.current.clear(),J.current.clear(),W.current.clear(),c(!1),G("connecting");const oe=++M.current;try{const X=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});if(oe!==M.current){for(const ke of X.getTracks())ke.stop();return}const De=X.getAudioTracks()[0];if(!De)throw new Error("No microphone was available");De.enabled=!1,D.current=X,R.current=De;const He=new RTCPeerConnection,st=He.createDataChannel("oai-events"),ot=document.createElement("audio");ot.autoplay=!0,ot.setAttribute("playsinline",""),S.current=He,F.current=st,O.current=ot,He.addTrack(De,X),He.addEventListener("track",ke=>{oe===M.current&&(ot.srcObject=ke.streams[0]??new MediaStream([ke.track]),ot.play().catch(()=>f("Tap the audio notice to hear this call")))}),st.addEventListener("message",ke=>{oe===M.current&&L(ke.data)}),st.addEventListener("close",()=>{oe===M.current&&B.current!=="idle"&&j("The control-room call closed")}),He.addEventListener("connectionstatechange",()=>{if(oe===M.current){if(He.connectionState==="connected"&&$.current&&(clearTimeout($.current),$.current=null),He.connectionState==="failed"||He.connectionState==="closed")return j("The control-room connection failed");He.connectionState==="disconnected"&&!$.current&&($.current=setTimeout(()=>{$.current=null,oe===M.current&&He.connectionState==="disconnected"&&j("The control-room connection was lost")},4e3))}});const n0=await He.createOffer();await He.setLocalDescription(n0);const wt=He.localDescription?.sdp;if(!wt)throw new Error("The browser did not create a WebRTC offer");const Ft=await Fe.voiceCall(wt,N.current.voice,N.current.language);if(oe!==M.current){Fe.voiceCallEnd(Ft.callId).catch(()=>{});return}if(P.current=Ft.callId,await He.setRemoteDescription({type:"answer",sdp:Ft.sdp}),await new Promise((ke,Et)=>{if(st.readyState==="open")return ke();const se=setTimeout(()=>Et(new Error("Voice event channel did not open")),8e3);st.addEventListener("open",()=>{clearTimeout(se),ke()},{once:!0})}),await Fe.voiceCallReady(Ft.callId),oe!==M.current)return;De.enabled=!0,B.current==="connecting"&&G("connected")}catch(X){if(oe!==M.current)return;j(gI(X)?"Microphone access was denied — allow it in this site’s settings and try again":X instanceof Error?X.message:String(X))}},[re,j,L,G]),z=w.useCallback(()=>{const oe=P.current;he(),c(!1),G("idle"),f(null),oe&&Fe.voiceCallEnd(oe).catch(()=>{})},[he,G]),le=w.useCallback(()=>{B.current==="idle"||B.current==="connecting"||c(oe=>{const X=!oe;return R.current&&(R.current.enabled=!X),X})},[]),Ee=w.useCallback(oe=>{const X=oe.trim(),De=F.current;if(!X||De?.readyState!=="open"||B.current!=="connected")return!1;const He=crypto.randomUUID();return Y({id:`typed:${He}`,role:"user",text:X}),De.send(JSON.stringify({type:"conversation.item.create",item:{type:"message",role:"user",content:[{type:"input_text",text:X}]}})),De.send(JSON.stringify({type:"response.create"})),G("thinking"),!0},[Y,G]),de=w.useCallback(oe=>{B.current==="idle"&&C(X=>{const De={...X,...oe};return N.current=De,hI(De),De})},[]),Ce=w.useCallback(()=>{O.current?.play().then(()=>f(null)).catch(()=>f("This browser is still blocking call audio"))},[]),Ie=w.useCallback(()=>a(!0),[]),Se=w.useCallback(()=>a(!1),[]),et=w.useCallback(()=>f(null),[]),it=w.useCallback(oe=>de({voice:oe}),[de]),yt=w.useCallback(oe=>de({language:oe}),[de]);w.useEffect(()=>()=>{const oe=P.current;he(),oe&&Fe.voiceCallEnd(oe).catch(()=>{})},[he]);const we=w.useMemo(()=>({panelOpen:t,status:l,muted:o,error:d,entries:h,inputPartial:p,outputPartial:b,preferences:k,openPanel:Ie,closePanel:Se,startCall:Q,endCall:z,toggleMute:le,sendText:Ee,dismissError:et,enableAudio:Ce,setVoice:it,setLanguage:yt}),[t,l,o,d,h,p,b,k,Ie,Se,Q,z,le,Ee,et,Ce,it,yt]);return x.jsx(_p.Provider,{value:we,children:e})}function jp(){const e=w.useContext(_p);if(!e)throw new Error("useVoiceCall must be used inside VoiceCallProvider");return e}const yI=[["auto","Auto detect"],["no","Norsk"],["en","English"]];function bI(e){return e[0].toUpperCase()+e.slice(1)}function c6(e,t){return e==="idle"?"Not connected":e==="connecting"?"Connecting…":e==="listening"?t?"Microphone muted":"Listening":e==="thinking"?"Checking the fleet…":e==="speaking"?"Orchestrator speaking":t?"Microphone muted":"Connected"}function vI(){const e=jp(),t=be(m=>m.online),[a,l]=w.useState(""),s=w.useRef(null),o=e.status!=="idle",c=e.status==="connected",d=`${e.entries.length}:${e.inputPartial}:${e.outputPartial}`;if(w.useEffect(()=>{if(!e.panelOpen)return;const m=p=>{p.key==="Escape"&&e.closePanel()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[e.panelOpen,e.closePanel]),w.useEffect(()=>{if(!e.panelOpen||!d)return;const m=s.current;m&&(m.scrollTop=m.scrollHeight)},[e.panelOpen,d]),!e.panelOpen)return null;const f=m=>{m.preventDefault(),e.sendText(a)&&l("")},h=e.error?.toLowerCase().includes("audio")??!1;return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/65 md:block",onClick:e.closePanel,"aria-hidden":!0}),x.jsxs("section",{role:"dialog","aria-modal":"true","aria-label":"Control room call",className:"app-height fade-in pt-safe pb-safe fixed inset-0 z-[60] flex flex-col bg-bg md:inset-x-auto md:inset-y-8 md:left-1/2 md:w-[32rem] md:-translate-x-1/2 md:rounded-3xl md:border md:border-border-soft md:shadow-2xl",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft px-4 py-3",children:[x.jsx("div",{className:pe("grid size-9 shrink-0 place-items-center rounded-full bg-surface-2 text-muted",o&&"bg-voice-soft text-voice"),children:x.jsx(qi,{size:18})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex items-center gap-1.5",children:[x.jsx("h2",{className:"text-[15px] font-semibold",children:"Control room"}),x.jsx(ld,{})]}),x.jsxs("p",{className:"flex items-center gap-1.5 text-xs text-muted",children:[o?x.jsx("span",{className:pe("size-1.5 rounded-full bg-voice",(e.status==="listening"||e.status==="speaking")&&"animate-pulse")}):null,x.jsxs("span",{className:"truncate",children:["All workspaces · ",c6(e.status,e.muted)]})]})]}),x.jsx("button",{type:"button",onClick:e.closePanel,"aria-label":o?"Hide call controls":"Close",className:"grid size-9 shrink-0 place-items-center rounded-full text-muted active:bg-surface-2 active:text-text",children:x.jsx(A0,{size:19})})]}),o?x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:s,className:"min-h-0 flex-1 overflow-y-auto px-4 py-5",children:x.jsxs("div",{className:"mx-auto flex max-w-xl flex-col gap-3",children:[e.entries.length===0&&!e.inputPartial&&!e.outputPartial?x.jsx("div",{className:"grid min-h-48 place-items-center text-center",children:x.jsxs("div",{children:[x.jsx(T0,{size:22,className:"mx-auto mb-3 animate-spin text-voice"}),x.jsx("p",{className:"text-sm text-muted",children:"Opening the fleet channel…"})]})}):null,e.entries.map(m=>m.role==="activity"?x.jsxs("div",{className:"flex items-center justify-center gap-2 py-1 text-xs text-voice",children:[x.jsx("span",{className:"size-1.5 rounded-full bg-voice"}),m.text]},m.id):x.jsx("div",{className:pe("max-w-[88%] rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed",m.role==="user"?"ml-auto rounded-br-md bg-voice-soft text-text":"mr-auto rounded-bl-md bg-surface-2 text-text"),children:m.text},m.id)),e.inputPartial?x.jsx("div",{className:"ml-auto max-w-[88%] rounded-2xl rounded-br-md border border-voice/25 bg-voice-soft/60 px-3.5 py-2.5 text-sm leading-relaxed text-muted",children:e.inputPartial}):null,e.outputPartial?x.jsxs("div",{className:"mr-auto max-w-[88%] rounded-2xl rounded-bl-md bg-surface-2 px-3.5 py-2.5 text-sm leading-relaxed text-text",children:[e.outputPartial,x.jsx("span",{className:"ml-1 inline-block size-1.5 animate-pulse rounded-full bg-voice align-middle"})]}):null]})}),x.jsxs("div",{className:"shrink-0 border-t border-border-soft bg-surface/80 px-4 pb-3 pt-3 backdrop-blur-xl",children:[e.error?x.jsx("button",{type:"button",onClick:h?e.enableAudio:e.dismissError,className:"mb-2 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("form",{onSubmit:f,className:"flex items-center gap-2",children:[x.jsx("input",{value:a,onChange:m=>l(m.target.value),disabled:!c,placeholder:c?"Type to the orchestrator…":c6(e.status,e.muted),"aria-label":"Message the orchestrator",className:"h-11 min-w-0 flex-1 rounded-xl border border-border bg-bg px-3 text-sm text-text outline-none placeholder:text-faint focus:border-voice/60 disabled:opacity-60"}),x.jsx("button",{type:"submit",disabled:!c||!a.trim(),"aria-label":"Send to orchestrator",className:"grid size-11 shrink-0 place-items-center rounded-xl bg-voice text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:x.jsx(lw,{size:18})})]}),x.jsxs("div",{className:"mt-3 flex items-center justify-center gap-5",children:[x.jsx("button",{type:"button",onClick:e.toggleMute,disabled:e.status==="connecting","aria-label":e.muted?"Unmute microphone":"Mute microphone","aria-pressed":e.muted,className:pe("grid size-12 place-items-center rounded-full bg-surface-2 text-text active:opacity-75 disabled:text-faint",e.muted&&"bg-voice-soft text-voice"),children:e.muted?x.jsx(IA,{size:20}):x.jsx(u9,{size:20})}),x.jsx("button",{type:"button",onClick:e.endCall,"aria-label":"End call",className:"grid size-12 place-items-center rounded-full bg-del text-white active:opacity-75",children:x.jsx(gB,{size:20})})]})]})]}):x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 py-7",children:x.jsxs("div",{className:"mx-auto flex max-w-sm flex-col items-center text-center",children:[x.jsx("div",{className:"mb-5 grid size-16 place-items-center rounded-full bg-voice-soft text-voice",children:x.jsx(qi,{size:27})}),x.jsx("h3",{className:"text-xl font-semibold tracking-tight",children:"Call your fleet"}),x.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted",children:"One orchestrator checks every workspace, brings you one decision at a time, and can create workspaces or queue exact prompts after reading them back for confirmation."}),x.jsxs("div",{className:"mt-7 grid w-full grid-cols-2 gap-3 text-left",children:[x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Voice",x.jsx("select",{value:e.preferences.voice,onChange:m=>e.setVoice(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:A9.map(m=>x.jsx("option",{value:m,children:bI(m)},m))})]}),x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Language",x.jsx("select",{value:e.preferences.language,onChange:m=>e.setLanguage(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:yI.map(([m,p])=>x.jsx("option",{value:m,children:p},m))})]})]}),e.error?x.jsx("button",{type:"button",onClick:e.dismissError,className:"mt-4 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("button",{type:"button",onClick:()=>{e.startCall()},disabled:!t,className:"mt-6 flex h-12 w-full items-center justify-center gap-2 rounded-xl bg-voice px-4 text-sm font-semibold text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:[x.jsx(qi,{size:18}),t?"Start fleet call":"Relay offline"]}),x.jsx("p",{className:"mt-3 text-[11px] leading-snug text-faint",children:"AI-generated voice. Microphone audio is sent to OpenAI for this live call."})]})})]})]}),document.body)}const Tp="conductor-remote-theme",CI={light:"#f5f6f8",dark:"#0a0b0e"};function kI(e){return e==="light"||e==="dark"||e==="system"?e:"system"}function x1(e){try{return kI((e??localStorage).getItem(Tp))}catch{return"system"}}function AI(e,t){return e==="system"?t?"dark":"light":e}function BI(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function zp(e,t=BI()){if(typeof document>"u")return;e==="system"?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e;const a=AI(e,t);document.querySelector('meta[name="theme-color"]')?.setAttribute("content",CI[a])}function Rp(e,t){try{(t??localStorage).setItem(Tp,e)}catch{}zp(e)}function wI(){if(typeof window>"u")return()=>{};const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>zp(x1(),e.matches);return e.addEventListener("change",t),t(),()=>e.removeEventListener("change",t)}const DI=new Intl.NumberFormat("en",{notation:"compact"});function u6(e){return DI.format(Math.max(0,e)).toLowerCase()}function x6(e,t){return`${e.toLocaleString("en")} ${e===1?"line":"lines"} ${t}`}function FI({stats:e,className:t}){if(!e||e.added<=0&&e.removed<=0)return null;const a=[e.added>0?x6(e.added,"added"):null,e.removed>0?x6(e.removed,"removed"):null].filter(Boolean).join(", ");return x.jsxs("span",{className:pe("flex shrink-0 items-center gap-1 font-mono text-[10px] font-medium leading-none tabular-nums",t),title:a,children:[x.jsx("span",{className:"sr-only",children:a}),e.added>0?x.jsxs("span",{className:"text-add","aria-hidden":"true",children:["+",u6(e.added)]}):null,e.removed>0?x.jsxs("span",{className:"text-del","aria-hidden":"true",children:["-",u6(e.removed)]}):null]})}const ss=new Uint8Array(512),Xu=new Uint8Array(256);let Ii=1;for(let e=0;e<255;e++)ss[e]=Ii,Xu[Ii]=e,Ii<<=1,Ii&256&&(Ii^=285);for(let e=255;e<512;e++)ss[e]=ss[e-255];function Op(e,t){return e===0||t===0?0:ss[Xu[e]+Xu[t]]}function SI(e){let t=[1];for(let a=0;a<e;a++){const l=new Array(t.length+1).fill(0);for(let s=0;s<t.length;s++)l[s]^=t[s],l[s+1]^=Op(t[s],ss[a]);t=l}return t}function MI(e,t){const a=SI(t),l=new Array(t).fill(0);for(const s of e){const o=s^l[0];if(l.shift(),l.push(0),o!==0)for(let c=0;c<t;c++)l[c]^=Op(a[c+1],o)}return l}const id={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 d6(e){return id[e].groups.reduce((t,[a,l])=>t+a*l,0)}function f6(e){return e<=9?8:16}function Ui(e,t,a){for(let l=a-1;l>=0;l--)e.push(t>>l&1)}function NI(e){const t=Array.from(new TextEncoder().encode(e));let a=0;for(let v=1;v<=10;v++)if(4+f6(v)+8*t.length<=d6(v)*8){a=v;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${t.length} bytes)`);const l=d6(a)*8,s=[];Ui(s,4,4),Ui(s,t.length,f6(a));for(const v of t)Ui(s,v,8);for(let v=0,k=Math.min(4,l-s.length);v<k;v++)s.push(0);for(;s.length%8!==0;)s.push(0);const o=[236,17];for(let v=0;s.length<l;v++)Ui(s,o[v%2],8);const c=[];for(let v=0;v<s.length;v+=8){let k=0;for(let C=0;C<8;C++)k=k<<1|s[v+C];c.push(k)}const{ec:d,groups:f}=id[a],h=[];let m=0;for(const[v,k]of f)for(let C=0;C<v;C++){const B=c.slice(m,m+k);m+=k,h.push({data:B,ec:MI(B,d)})}const p=[],y=Math.max(...h.map(v=>v.data.length));for(let v=0;v<y;v++)for(const k of h)v<k.data.length&&p.push(k.data[v]);for(let v=0;v<d;v++)for(const k of h)p.push(k.ec[v]);const b=[];for(const v of p)Ui(b,v,8);return{version:a,bits:b}}function _I(e,t){const a=e*4+17,l=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),o=(p,y)=>{for(let b=-1;b<=7;b++)for(let v=-1;v<=7;v++){const k=p+b,C=y+v;if(k<0||k>=a||C<0||C>=a)continue;const B=b>=0&&b<=6&&(v===0||v===6)||v>=0&&v<=6&&(b===0||b===6),N=b>=2&&b<=4&&v>=2&&v<=4;l[k][C]=B||N,s[k][C]=!0}};o(0,0),o(0,a-7),o(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;s[6][p]||(l[6][p]=y,s[6][p]=!0),s[p][6]||(l[p][6]=y,s[p][6]=!0)}const c=id[e].align;for(let p=0;p<c.length;p++)for(let y=0;y<c.length;y++){if(p===0&&y===0||p===0&&y===c.length-1||p===c.length-1&&y===0)continue;const v=c[p],k=c[y];for(let C=-2;C<=2;C++)for(let B=-2;B<=2;B++)l[v+C][k+B]=Math.max(Math.abs(C),Math.abs(B))!==1,s[v+C][k+B]=!0}for(let p=0;p<=8;p++)p!==6&&(s[8][p]=!0,s[p][8]=!0);for(let p=0;p<8;p++)s[8][a-1-p]=!0,s[a-1-p][8]=!0;if(s[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,b=Math.floor(p/3);s[b][y]=!0,s[y][b]=!0}let d=0,f=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const b=f?a-1-y:y;for(let v=0;v<2;v++){const k=p-v;s[b][k]||(l[b][k]=d<t.length?t[d]===1:!1,d++)}}f=!f}e>=7&&zI(l,e,a);let h=null,m=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=l.map(v=>v.slice());for(let v=0;v<a;v++)for(let k=0;k<a;k++)!s[v][k]&&jI(p,v,k)&&(y[v][k]=!y[v][k]);TI(y,p,a);const b=RI(y);b<m&&(m=b,h=y)}return h}function jI(e,t,a){switch(e){case 0:return(t+a)%2===0;case 1:return t%2===0;case 2:return a%3===0;case 3:return(t+a)%3===0;case 4:return(Math.floor(t/2)+Math.floor(a/3))%2===0;case 5:return t*a%2+t*a%3===0;case 6:return(t*a%2+t*a%3)%2===0;default:return((t+a)%2+t*a%3)%2===0}}function TI(e,t,a){const l=0|t;let s=l;for(let d=0;d<10;d++)s=s<<1^(s>>9&1?1335:0);const o=((l<<10|s&1023)^21522)&32767,c=d=>(o>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=c(d);e[7][8]=c(6),e[8][8]=c(7),e[8][7]=c(8);for(let d=9;d<15;d++)e[8][14-d]=c(d);for(let d=0;d<8;d++)e[8][a-1-d]=c(d);for(let d=8;d<15;d++)e[a-15+d][8]=c(d);e[a-8][8]=!0}function zI(e,t,a){let l=t;for(let o=0;o<12;o++)l=l<<1^(l>>11&1?7973:0);const s=t<<12|l&4095;for(let o=0;o<18;o++){const c=(s>>o&1)===1,d=a-11+o%3,f=Math.floor(o/3);e[f][d]=c,e[d][f]=c}}function RI(e){const t=e.length;let a=0;const l=f=>{let h=f(0),m=1;for(let p=1;p<t;p++)f(p)===h?m++:(m>=5&&(a+=m-2),h=f(p),m=1);m>=5&&(a+=m-2)};for(let f=0;f<t;f++)l(h=>e[f][h]);for(let f=0;f<t;f++)l(h=>e[h][f]);for(let f=0;f<t-1;f++)for(let h=0;h<t-1;h++){const m=e[f][h];m===e[f][h+1]&&m===e[f+1][h]&&m===e[f+1][h+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],o=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],c=(f,h,m)=>{for(let p=0;p<11;p++)if(f(h+p)!==m[p])return!1;return!0};for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[f][m],h,s)||c(m=>e[f][m],h,o))&&(a+=40);for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[m][f],h,s)||c(m=>e[m][f],h,o))&&(a+=40);let d=0;for(let f=0;f<t;f++)for(let h=0;h<t;h++)e[f][h]&&d++;return a+=Math.floor(Math.abs(d/(t*t)*100-50)/5)*10,a}function OI(e){const{version:t,bits:a}=NI(e);return _I(t,a)}function LI({text:e,size:t=220,className:a}){const l=OI(e),s=l.length,o=4,c=s+o*2;let d="";for(let f=0;f<s;f++)for(let h=0;h<s;h++)l[f][h]&&(d+=`M${h+o} ${f+o}h1v1h-1z`);return x.jsxs("svg",{width:t,height:t,viewBox:`0 0 ${c} ${c}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[x.jsx("title",{children:"QR code"}),x.jsx("rect",{width:c,height:c,fill:"#fff"}),x.jsx("path",{d,fill:"#000"})]})}function PI({version:e,onLogs:t,onClose:a}){const l=be(y=>y.token),s=be(y=>y.setToken),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=l?`${location.origin}/#token=${l}`:location.origin,m=!!e&&e!=="1.111.0",p=async()=>{try{await navigator.clipboard.writeText(h),c(!0),setTimeout(()=>c(!1),1500)}catch{}};return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),x.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:[x.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),x.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[x.jsx("button",{type:"button",onClick:()=>f(y=>!y),"aria-label":"Disconnect","aria-expanded":d,title:"Disconnect",className:pe("flex size-8 items-center justify-center rounded-full active:bg-surface-2",d?"bg-del/15 text-del":"text-del/80"),children:x.jsx(wA,{size:17})}),x.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:x.jsx(A0,{size:18})})]})]}),d?x.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:[x.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),x.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."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>f(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.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,x.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[x.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."}),x.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:x.jsx(LI,{text:h,size:216})}),x.jsxs("button",{type:"button",onClick:p,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:[o?x.jsx(na,{size:16}):x.jsx(fx,{size:16}),o?"Copied":"Copy link"]}),x.jsx(HI,{}),x.jsx(VI,{}),x.jsx(UI,{}),x.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[x.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",x.jsxs("span",{className:m?"text-working":void 0,children:["app v","1.111.0"]}),m?" · update pending":""]}),x.jsx("button",{type:"button",onClick:t,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}const GI=[["system","System"],["light","Light"],["dark","Dark"]];function HI(){const[e,t]=w.useState(x1),a=be(o=>o.view.showDiffs),l=be(o=>o.setView),s=o=>{t(o),Rp(o)};return x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("fieldset",{className:"flex w-full items-center justify-between gap-3 border-0 p-0",children:[x.jsx("legend",{className:"sr-only",children:"Theme"}),x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(m9,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Theme"})]}),x.jsx("div",{className:"flex shrink-0 rounded-lg border border-border bg-surface p-0.5",children:GI.map(([o,c])=>x.jsx("button",{type:"button","aria-pressed":e===o,onClick:()=>s(o),className:pe("rounded-md px-2 py-1 text-xs transition focus-visible:outline-2 focus-visible:outline-accent",e===o?"bg-accent-soft text-accent":"text-muted active:bg-surface-2"),children:c},o))})]}),x.jsxs("div",{className:"mt-2.5 flex items-center justify-between gap-3 border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(m1,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Sidebar diffs"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":a,"aria-label":"Show line changes in workspace rows",onClick:()=>l({showDiffs:!a}),className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",a?"bg-accent":"border border-border bg-surface"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",a?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:"Show line additions and deletions in workspace rows."})]})}function VI(){const e=pS(),t=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,l=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.":t?"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 x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(t9,{size:16,className:pe("shrink-0",e.enabled?"text-accent":"text-muted")}),x.jsx("span",{children:"Notifications"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||t||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||t||e.busy)&&"opacity-40"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:l}),e.error?x.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?x.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 II=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"10h",seconds:10*3600}];function fu(e){if(!e)return"until you turn it off";const t=new Date(e),a=t.toDateString()===new Date().toDateString(),l=t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${l}`:`until ${t.toLocaleDateString([],{weekday:"short"})} ${l}`}function UI(){const[e,t]=w.useState(null),[a,l]=w.useState(!1),[s,o]=w.useState(null),[c,d]=w.useState(!1),[f,h]=w.useState(!1),[m,p]=w.useState(""),[y,b]=w.useState(null),[v,k]=w.useState("idle"),[C,B]=w.useState(null),N=w.useCallback(async()=>{try{t(await Fe.settings()),o(null)}catch(T){o(T instanceof Error?T.message:String(T))}},[]);w.useEffect(()=>{N()},[N]);const M=async T=>{l(!0),o(null);try{return await T(),await N(),!0}catch(H){return o(H instanceof Error?H.message:String(H)),!1}finally{l(!1)}},S=async T=>{l(!0),o(null);try{const H=await Fe.restartConductor(T);B(H.ms??0),k("idle"),await N()}catch(H){H instanceof fn&&H.status===409&&k("agents"),o(H instanceof Error?H.message:String(H))}finally{l(!1)}},F=async T=>{T.preventDefault();const H=PD(m);if(H===null){b("Use a duration like 80h, 90m, or a number of seconds.");return}if(H<1){b("Choose a duration longer than zero.");return}const Z=e?.nosleep.maxSeconds??168*3600;if(H>Z){b(`Choose a duration up to ${Math.round(Z/3600)}h.`);return}b(null),d(!1),await M(()=>Fe.armNoSleep(H))&&h(!1)},D=e?.nosleep,R=e?.screenLocked===!0,O=e?.wifi.known??[],P=e?.settings.fallbackSsids[0]??"";return x.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:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(gx,{size:16,className:pe("shrink-0",D?.armed?"text-accent":"text-muted")}),x.jsx("span",{children:"Keep the Mac awake"})]}),D?.armed?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(async()=>{const T=await Fe.disarmNoSleep();d(T.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"}):x.jsxs("div",{className:"flex shrink-0 gap-1",children:[II.map(T=>x.jsx("button",{type:"button",disabled:a||!D?.available,onClick:()=>{M(()=>(h(!1),b(null),d(!1),Fe.armNoSleep(T.seconds)))},className:pe("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",T.className),children:T.label},T.seconds)),x.jsx("button",{type:"button",disabled:a||!D?.available,"aria-label":"Choose a custom keep-awake duration","aria-expanded":f,onClick:()=>{b(null),h(T=>!T)},className:pe("grid size-[30px] place-items-center rounded-lg border border-border active:bg-surface disabled:opacity-40",f&&"bg-surface text-accent"),children:x.jsx(l9,{size:14})})]})]}),!D?.armed&&f?x.jsxs("form",{onSubmit:F,className:"fade-in flex items-center justify-end gap-1.5",children:[x.jsx("label",{htmlFor:"awake-duration",className:"text-xs text-muted",children:"Keep awake for"}),x.jsx("input",{id:"awake-duration",type:"text",required:!0,value:m,disabled:a,placeholder:"e.g. 80h",autoCapitalize:"none",autoCorrect:"off",onChange:T=>{p(T.target.value),b(null)},className:"h-[30px] w-[6.5rem] rounded-lg border border-border bg-surface px-2 text-xs text-text disabled:opacity-40"}),x.jsx("button",{type:"submit",disabled:a||!m.trim(),className:"h-[30px] rounded-lg bg-accent px-2.5 text-xs font-medium text-on-solid active:opacity-80 disabled:opacity-40",children:a?"Setting…":"Set"})]}):null,y?x.jsx("p",{className:"text-right text-xs text-del",children:y}):null,x.jsx("p",{className:"text-xs text-muted",children:e?D?.available?D.armed?D.preventsScreenLock?R?`Awake ${fu(D.until)}, lid closed. It blocks the idle screen lock from starting; it can’t lift one already up.`:`Awake ${fu(D.until)}, lid closed. The idle screen lock is off; anyone at the Mac can use it.`:`Awake ${fu(D.until)}, lid closed. Sends park if macOS locks.`:c?"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…"}),R?x.jsxs("p",{className:"text-xs text-del",children:["The Mac is locked right now, so writes park until it’s unlocked. ",x.jsx(Ma,{})]}):null,x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(g9,{size:16,className:pe("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),x.jsx("span",{children:"Fallback network"})]}),P?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(()=>Fe.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]}),P?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Auto-joins ",x.jsx("span",{className:"text-fg",children:P})," when the primary network drops."]}):x.jsx(ZI,{known:O,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:T=>{M(()=>Fe.patchSettings({fallbackSsids:[T],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?x.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]}),x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(d9,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Restart Conductor"})]}),v==="idle"?x.jsx("button",{type:"button",disabled:a,onClick:()=>{B(null),o(null),k("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]}),C!==null?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Quit and reopened in ",(C/1e3).toFixed(1),"s. Send a prompt to check an agent answers."]}):null,v!=="idle"?x.jsxs("div",{className:"fade-in mt-2 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[x.jsx("p",{className:"text-sm font-medium",children:v==="agents"?"Agents are still working":"Restart Conductor?"}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:v==="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."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>{k("idle"),o(null)},className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.jsx("button",{type:"button",disabled:a,onClick:()=>{S(v==="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…":v==="agents"?"Stop agents and restart":"Restart"})]})]}):null]}),s?x.jsxs("p",{className:"text-xs text-del",children:[s," ",Rr(s)?x.jsx(Ma,{}):null]}):null]})}function ZI({known:e,hotspots:t,busy:a,onPick:l}){const[s,o]=w.useState("");if(e.length===0)return x.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const c=new Set(t),d=s.trim().toLowerCase(),f=e.filter(p=>!d||p.toLowerCase().includes(d)),h=f.find(p=>c.has(p)),m=(h?[h,...f.filter(p=>p!==h)]:f).slice(0,6);return x.jsxs(x.Fragment,{children:[x.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."}),x.jsx("input",{type:"search",value:s,disabled:a,onChange:p=>o(p.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"}),x.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[m.map(p=>x.jsxs("button",{type:"button",disabled:a,onClick:()=>l(p),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:[x.jsx("span",{className:"truncate",children:p}),c.has(p)?x.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),m.length===0?x.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!d&&e.length>m.length?x.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-m.length,"."]}):null]})}const $I={info:"text-muted",warn:"text-working",error:"text-del"};function ir(e){return String(e).padStart(2,"0")}function qI(e){if(e==null)return"·";const t=new Date(e);return`${ir(t.getHours())}:${ir(t.getMinutes())}:${ir(t.getSeconds())}`}function h6(e){if(e==null)return" ";const t=new Date(e);return`${t.getFullYear()}-${ir(t.getMonth()+1)}-${ir(t.getDate())} ${ir(t.getHours())}:${ir(t.getMinutes())}:${ir(t.getSeconds())}`}function QI(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function p6(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s ago`;const a=Math.round(t/60);if(a<60)return`${a}m ago`;const l=Math.round(a/60);return l<48?`${l}h ago`:`${Math.round(l/24)}d ago`}function YI({onClose:e}){const[t,a]=w.useState(null),[l,s]=w.useState(!1),[o,c]=w.useState(null),{data:d,isLoading:f,isError:h,error:m}=cS(t,!0),p=w.useRef(null),y=w.useRef(!0),b=w.useMemo(()=>(d?.entries??[]).filter(C=>!l||C.level!=="info"),[d,l]);w.useEffect(()=>{const C=p.current;C&&y.current&&b.length&&(C.scrollTop=C.scrollHeight)},[b]);const v=async()=>{const C=`# conductor-remote ${t??"live"} log · app v1.111.0 · copied ${h6(Date.now())}`,B=b.map(N=>`${h6(N.t)} ${N.level==="info"?"":N.level.toUpperCase()} ${N.text}`);try{await navigator.clipboard.writeText([C,...B].join(`
|
|
58
58
|
`)),c("ok")}catch{c("failed")}setTimeout(()=>c(null),2e3)},k=[{key:null,label:"Live",hint:d?`since ${p6(d.now-d.startedAt)}`:void 0},...(d?.files??[]).map(C=>({key:C.name,label:C.name,hint:QI(C.size)}))];return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),x.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:[x.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),x.jsx("p",{className:"truncate text-xs text-muted",children:d?`${b.length} line${b.length===1?"":"s"} · relay started ${p6(d.now-d.startedAt)}`:"Loading…"})]}),x.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:x.jsx(A0,{size:18})})]}),x.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:k.map(C=>x.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(C.key)},className:pe("pill shrink-0 whitespace-nowrap",C.key===t&&"pill-active"),children:[C.label,C.hint?x.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:C.hint}):null]},C.key??"live"))}),t&&d&&!d.managed?x.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,x.jsx("div",{ref:p,onScroll:C=>{const B=C.currentTarget;y.current=B.scrollHeight-B.scrollTop-B.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:f&&!d?x.jsx(pn,{label:"Reading logs…"}):h?x.jsx(Qt,{children:m?.message}):b.length===0?x.jsx(Qt,{children:l?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):b.map((C,B)=>x.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[x.jsx("span",{className:"shrink-0 text-faint",children:qI(C.t)}),x.jsx("span",{className:pe("min-w-0 flex-1",$I[C.level]),children:C.text})]},B))}),x.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[x.jsx("button",{type:"button",onClick:()=>s(C=>!C),className:pe("pill shrink-0",l&&"pill-active"),children:"Problems only"}),x.jsxs("button",{type:"button",onClick:v,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:[o==="ok"?x.jsx(na,{size:16}):x.jsx(fx,{size:16}),o==="ok"?"Copied":o==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}function KI(e){return e.online?e.repoStatus==="loading"?"Loading repositories…":e.repoStatus==="error"?"Couldn’t load repositories.":e.repoStatus==="empty"?"No Conductor repositories are available.":e.repoStatus==="required"?"Choose a repository to continue.":e.uploading?"Wait for attachments to finish uploading.":e.attachmentError?"Remove failed attachments to continue.":e.workflowMode?e.hasInitialPrompt?e.workflowLoading?"Loading Workflow roles…":e.workflowReady?null:e.workflowProblem??"Workflow roles are unavailable.":"Describe what the workflow should accomplish.":null:"Reconnect to the relay to continue."}const Lp="conductor-remote-send-immediately";function XI(){try{return localStorage.getItem(Lp)!=="off"}catch{return!0}}function WI(e){try{localStorage.setItem(Lp,e?"on":"off")}catch{}}function JI(e){e&&Fe.discardStagedAttachment(e).catch(()=>{})}function eU({onClose:e}){const t=U9(),{data:a}=t,l=E1(),s=$9(),{roles:o,planningRole:c,problem:d,ready:f}=Q9(),h=be(ee=>ee.lastNewWorkspaceRepo),m=be(ee=>ee.setLastNewWorkspaceRepo),[p,y]=w.useState(h),b=be(ee=>ee.drafts[wa]??""),v=be(ee=>ee.draftAttachments[wa]??gp),k=w.useMemo(()=>v.filter(ee=>!!ee.stageId),[v]),C=be(ee=>ee.setDraft),B=be(ee=>ee.addDraftAttachment),N=be(ee=>ee.removeDraftAttachment),M=be(ee=>ee.clearDraftContent),S=be(ee=>ee.workflowClientId),F=be(ee=>ee.finishWorkflowAttempt),D=be(ee=>ee.setFocusedDraft),R=ee=>C(wa,ee),[O,P]=w.useState({}),[T,H]=w.useState(!1),[Z,J]=w.useState(!1),[W,$]=w.useState(XI),[G,Y]=w.useState(!1),[re,he]=w.useState(null),j=Hr(),L=L0(),Q=I9(),z=be(ee=>ee.online),le=Ep({draftKey:wa,ready:k,enabled:z,upload:async(ee,Me)=>(await Fe.stageAttachment(Me)).attachment,accept:B,removeReady:N,discard:ee=>JI(ee.stageId)}),Ee=le.cancelPending;w.useEffect(()=>()=>{be.getState().focusedDraft===wa&&D(null),_u()},[D]);const de=a?.repos??[],Ce=de.find(ee=>ee.name===p);w.useEffect(()=>{de.length&&!de.some(ee=>ee.name===p)&&y(de[0].name)},[p,de]);const Ie=le.uploading,Se=le.hasError,et=!!b.trim()||k.length>0,it=l.data?.groups.flatMap(ee=>ee.models)??[],yt=l.data?.defaultModel,we=Ce?"selected":t.isLoading?"loading":t.isError?"error":de.length===0?"empty":"required",oe=KI({online:z,repoStatus:we,uploading:Ie,attachmentError:Se,workflowMode:T,hasInitialPrompt:et,workflowReady:f,workflowLoading:o.isLoading,workflowProblem:d}),X=G||oe!==null,De=O.model??yt??null,He=T?c?.model??"Planning role":De,st=Nx(null,De),ot=_x(null,De),n0=jx(null,De),wt=mM(De,s.data?.defaultEfforts),Ft=T?c?.effort:O.effort??wt,_e=Object.keys(O).length>0,ke=w.useCallback(ee=>P(Me=>{const Ke={...Me,...ee};return Object.fromEntries(Object.entries(Ke).filter(([,tt])=>tt!==void 0))}),[]);w.useEffect(()=>{T||!st&&O.plan!==void 0&&ke({plan:void 0})},[T,st,O.plan,ke]),w.useEffect(()=>{!ot&&O.effort!==void 0&&ke({effort:void 0}),!n0&&O.fast!==void 0&&ke({fast:void 0})},[O.effort,O.fast,ot,n0,ke]);const Et=w.useCallback(()=>{Ee(),e()},[Ee,e]),se=async()=>{const ee=b.trim();if(!X){Y(!0),he(null);try{if(T){const Ke=[...k.map(It=>It.token),ee].filter(Boolean).join(`
|
|
59
59
|
`),tt={kind:"new_workspace",repo:p,sendImmediately:W},Vt="workflow:new-workspace",y0=S(Vt,F9(Ke,tt)),Kt=await Q({clientId:y0,objective:Ke,target:tt});M(wa),F(Vt,y0),e(),Kt.workflow.workspaceId&&j(`/w/${Kt.workflow.workspaceId}`);return}const Me=await Fe.createWorkspace({repo:p,prompt:ee,sendImmediately:W,attachmentIds:k.flatMap(Ke=>Ke.stageId?[Ke.stageId]:[]),...O});if(!Me.ok||!Me.workspaceId){he(Me.error??"could not create the workspace");return}await L.invalidateQueries({queryKey:["state"]}),M(wa),e(),j(`/w/${Me.workspaceId}`)}catch(Me){he(Me instanceof Error?Me.message:"could not create the workspace")}finally{Y(!1)}}};return w.useEffect(()=>{const ee=Me=>{Me.key==="Escape"&&(Z?J(!1):Et())};return window.addEventListener("keydown",ee),()=>window.removeEventListener("keydown",ee)},[Et,Z]),aa.createPortal(x.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[x.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),x.jsx("button",{type:"button",onClick:Et,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(A0,{size:20})})]}),x.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[x.jsxs("div",{className:"relative",children:[x.jsxs("button",{type:"button",onClick:()=>J(ee=>!ee),"aria-haspopup":"menu","aria-expanded":Z,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:[Ce?x.jsx(is,{icon:Ce.icon,name:Ce.name,artwork:"inset"}):null,x.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:Ce?.name??"Choose a repo"}),x.jsx(Na,{size:18,className:pe("shrink-0 text-muted transition",Z&&"rotate-180")})]}),Z?x.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:de.map(ee=>x.jsx("li",{children:x.jsxs("button",{type:"button",onClick:()=>{y(ee.name),m(ee.name),J(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[x.jsx(is,{icon:ee.icon,name:ee.name,artwork:"inset"}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:ee.name}),ee.name===p?x.jsx(na,{size:16,className:"shrink-0 text-accent"}):null]})},ee.name))}):null]}),x.jsxs("fieldset",{"aria-label":"First message",...le.dropTargetProps,className:pe("relative m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",le.dragging&&"border-accent bg-accent-soft"),children:[x.jsx(yp,{uploads:le}),x.jsx("textarea",{value:b,onChange:ee=>R(ee.target.value),onFocus:()=>D(wa),onBlur:()=>{be.getState().focusedDraft===wa&&D(null),_u()},placeholder:T?"What should the workflow accomplish?":"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:le.onPaste,onKeyDown:ee=>{fp(ee)&&(ee.preventDefault(),se())}}),x.jsxs("div",{className:"mt-1 flex items-start gap-1 px-1",children:[x.jsx(pp,{model:He??"Model",providerModel:T?c?.model??null:He,agentType:T&&c?Ll(c.model)??null:null,models:it,modelsFetching:l.isFetching,modelsError:l.isError,defaultModel:yt,fast:T?c?.fast:O.fast,effort:Ft,plan:O.plan,planAvailable:st,showEmptyEffort:!0,modelStaged:!T&&O.model!==void 0,fastStaged:!T&&O.fast!==void 0,effortStaged:!T&&O.effort!==void 0,planStaged:O.plan!==void 0,onModelChange:ee=>ke({model:ee===(O.model??yt)?void 0:ee}),onFastChange:()=>ke({fast:O.fast===void 0?!0:O.fast?!1:void 0}),onEffortChange:()=>ke({effort:gM(Ft,wt)}),onPlanChange:()=>ke({plan:O.plan===void 0?!0:O.plan?!1:void 0}),freezeAgent:T,beforeModel:x.jsx(mp,{active:T,onChange:ee=>{H(ee),he(null)}}),status:T?f?"Planning role frozen for this Workflow":o.isLoading?"Loading Workflow roles…":void 0:_e?"Applies when the workspace opens":void 0}),x.jsx(bp,{uploads:le,disabled:!z})]}),T&&d?x.jsx("div",{className:"px-2 pb-1 text-xs text-del",children:d}):null]}),x.jsxs("label",{className:pe("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!et&&"opacity-40"),children:[x.jsx("input",{type:"checkbox",checked:W,disabled:!et,onChange:ee=>{$(ee.target.checked),WI(ee.target.checked)},className:"sr-only"}),x.jsx("span",{className:pe("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",W?"border-accent bg-accent text-bg":"border-border"),children:W?x.jsx(na,{size:13,strokeWidth:3}):null}),x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),x.jsx("span",{className:"block text-xs text-muted",children:W?"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."})]})]}),re?x.jsx("div",{className:"text-xs text-del",children:re}):null]}),x.jsxs("div",{className:"pb-safe border-t border-border-soft p-3",children:[x.jsx("div",{className:"mb-2 min-h-4 text-center text-xs leading-4 text-muted","aria-live":"polite",children:oe?x.jsx("span",{id:"new-workspace-create-reason",children:oe}):null}),x.jsx("button",{type:"button",onClick:se,disabled:X,"aria-describedby":oe?"new-workspace-create-reason":void 0,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:G?T?"Starting workflow…":"Creating…":T?"Start workflow":et?"Create & start":"Create empty workspace"})]})]}),document.body)}function tU(e){return e.replaceAll("_"," ").replace(/\b\w/g,t=>t.toUpperCase())}function nU(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]??tU(e)}function aU(e,t=Date.now()){if(e===null)return"Reset time unavailable";const a=e-t;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 rU({window:e}){const t=Math.round(e.usedPercent);return x.jsxs("div",{children:[x.jsxs("div",{className:"mb-1 flex items-baseline gap-2 text-xs",children:[x.jsxs("span",{className:"min-w-0 flex-1 truncate text-muted",children:[e.active?x.jsx("span",{className:"mr-1.5 inline-block size-1.5 rounded-full bg-working"}):null,e.label]}),x.jsxs("span",{className:"font-medium tabular-nums text-text",children:[t,"%"]})]}),x.jsx("div",{role:"progressbar","aria-label":`${e.label}: ${t}% used`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,className:"h-1.5 overflow-hidden rounded-full bg-surface",children:x.jsx("div",{className:pe("h-full rounded-full transition-[width]",t>=95?"bg-del":t>=80?"bg-working":"bg-accent"),style:{width:`${e.usedPercent}%`}})}),x.jsx("div",{className:"mt-1 text-[11px] text-faint",children:aU(e.resetsAt)})]})}const lU=[{provider:"claude",label:"Claude Code"},{provider:"codex",label:"Codex"},{provider:"cursor",label:"Cursor Agent"},{provider:"opencode",label:"OpenCode"}];function Pp(e){return e==="claude"||e==="codex"?e:null}function iU({usage:e,defaultEffort:t,defaultsLoading:a=!1,savingDefault:l=!1,onDefaultEffortChange:s}){const o=Pp(e.provider),c=t&&!Tr.includes(t)?t:null,d=e.buckets.filter(f=>f.label!=="GPT-5.3-Codex-Spark"||f.windows.some(h=>h.usedPercent!==0));return x.jsxs("section",{className:"rounded-2xl border border-border bg-surface-2 p-3.5",children:[x.jsxs("div",{className:pe("flex items-center gap-2",(o||d.length)&&"mb-3"),children:[x.jsx(Lr,{agentType:e.provider,model:null,className:"size-5"}),x.jsx("h3",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:e.label}),e.plan?x.jsx("span",{className:"pill shrink-0 text-[11px]",children:nU(e.plan)}):null]}),o?x.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:[x.jsxs("span",{className:"min-w-0",children:[x.jsx("span",{className:"block text-xs font-medium",children:"Default effort"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"New chats"})]}),x.jsxs("span",{className:"relative shrink-0",children:[x.jsxs("select",{"aria-label":`${e.label} default effort`,value:t??"",disabled:a||l||!s,onChange:f=>s?.(f.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:[x.jsx("option",{value:"",disabled:!0,children:a?"Reading…":"Choose effort"}),c?x.jsx("option",{value:c,children:c}):null,Tr.map(f=>x.jsx("option",{value:f,children:as[f]},f))]}),x.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-faint",children:l?x.jsx(ds,{size:12,className:"animate-spin"}):x.jsx(Na,{size:12})})]})]}):null,d.length?x.jsx("div",{className:"space-y-4",children:d.map(f=>x.jsxs("div",{className:"space-y-3",children:[d.length>1||f.label!==e.label?x.jsx("div",{className:"text-xs font-medium text-muted",children:f.label}):null,f.windows.map(h=>x.jsx(rU,{window:h},h.id))]},f.id))}):e.status==="error"&&o?x.jsx("p",{className:"text-xs text-del",children:e.message??"Could not read plan usage."}):null]})}function sU(e){return new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function oU({onClose:e}){const t=uS(!0),a=$9(),l=L0(),[s,o]=w.useState(!1),[c,d]=w.useState(),[f,h]=w.useState(),[m,p]=w.useState(),y=lU.map(k=>t.data?.providers.find(C=>C.provider===k.provider)??{...k,status:"unavailable",plan:null,buckets:[]}),b=async()=>{if(!s){o(!0),d(void 0);try{const k=await Fe.planUsage(!0);l.setQueryData(["plan-usage"],k)}catch(k){d(k instanceof Error?k.message:"Could not refresh plan usage.")}finally{o(!1)}}},v=async(k,C)=>{if(f)return;h(k),p(void 0);const B=a.data;B&&l.setQueryData(["model-defaults"],{defaultEfforts:{...B.defaultEfforts,[k]:C}});try{const N=await Fe.patchModelDefaults({[k]:C});l.setQueryData(["model-defaults"],N)}catch(N){B&&l.setQueryData(["model-defaults"],B),p(N instanceof Error?N.message:"Could not save the default effort.")}finally{h(void 0)}};return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),x.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:[x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Models"}),x.jsx("p",{className:"truncate text-xs text-muted",children:"Defaults and plan usage"})]}),x.jsx("button",{type:"button",onClick:()=>{b()},disabled:s||!t.data&&t.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:x.jsx(ds,{size:17,className:s?"animate-spin":void 0})}),x.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:x.jsx(A0,{size:18})})]}),x.jsxs("div",{className:"min-h-0 flex-1 space-y-3 overflow-y-auto overscroll-contain p-4",children:[y.map(k=>{const C=Pp(k.provider);return x.jsx(iU,{usage:k,defaultEffort:C?a.data?.defaultEfforts[C]:void 0,defaultsLoading:a.isLoading||f!==void 0,savingDefault:f===C,onDefaultEffortChange:C?B=>{v(C,B)}:void 0},k.provider)}),t.isLoading&&!t.data?x.jsx("p",{className:"text-center text-xs text-faint",children:"Reading plan usage…"}):t.isError&&!t.data?x.jsx(Qt,{children:t.error?.message??"Could not read plan usage."}):null,c?x.jsx("p",{className:"text-xs text-del",children:c}):null,m?x.jsx("p",{className:"text-xs text-del",children:m}):null,a.isError?x.jsx("p",{className:"text-xs text-del",children:a.error?.message??"Could not read model defaults."}):null]}),t.data?x.jsxs("div",{className:"shrink-0 border-t border-border-soft px-4 py-2.5 text-[11px] text-faint",children:["Updated ",sU(t.data.fetchedAt)," · cached for one minute"]}):null]})]}),document.body)}function Nl(e){return e.mode==="all"?"All repos":e.repos.length?e.repos.length===1?e.repos[0]:`${e.repos.length} repos`:"No repos"}function Gp({repos:e,selected:t,onChange:a}){const l=e.filter(d=>ju(t,d.name)).length,s=t.mode==="all"||e.length>0&&l===e.length,o=!s&&l>0,c=d=>{a($F(e.map(f=>f.name),t,d))};return x.jsxs(x.Fragment,{children:[x.jsx(m6,{checked:s,indeterminate:o,disabled:e.length===0,label:"All repos",className:"sticky top-0 z-[1] mb-0.5 border-b border-border-soft bg-inherit",onChange:()=>a(s?ZF():Or)}),e.map(d=>x.jsx(m6,{checked:ju(t,d.name),label:d.name,icon:x.jsx(is,{icon:d.icon,name:d.name,artwork:"inset"}),onChange:()=>c(d.name)},d.name))]})}function m6({checked:e,indeterminate:t=!1,disabled:a=!1,label:l,icon:s,className:o,onChange:c}){const d=w.useRef(null);return w.useEffect(()=>{d.current&&(d.current.indeterminate=t)},[t]),x.jsxs("label",{className:pe("flex min-w-0 items-center gap-2 px-2 py-0.5 text-left text-sm text-text",a?"cursor-default opacity-50":"cursor-pointer active:bg-surface",o),children:[x.jsx("input",{ref:d,type:"checkbox",checked:e,disabled:a,"aria-checked":t?"mixed":e,onChange:c,className:"peer sr-only"}),s??x.jsx("span",{className:"size-8 shrink-0"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:l}),x.jsx("span",{className:pe("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||t?"border-accent bg-accent text-on-solid":"border-faint bg-surface"),children:t?x.jsx(QA,{size:12,strokeWidth:3,"aria-hidden":!0}):e?x.jsx(na,{size:12,strokeWidth:3,"aria-hidden":!0}):null})]})}function cU({commands:e,grouped:t,apple:a,onRun:l}){if(!e.length)return null;const s=t?uU(e):[{label:"Actions",commands:e}];return x.jsx("div",{className:"flex flex-col gap-2 pb-2",children:s.map(o=>x.jsxs("section",{"aria-label":o.label,children:[x.jsx(Hp,{children:o.label}),x.jsx("div",{role:"menu","aria-label":o.label,className:"flex flex-col",children:o.commands.map(c=>x.jsx(xU,{command:c,apple:a,breadcrumb:!t,onRun:l},c.id))})]},o.label))})}function Hp({children:e}){return x.jsx("h3",{className:"px-2.5 pb-1 text-[11px] font-semibold uppercase tracking-wide text-faint",children:e})}function uU(e){const t=new Map;for(const a of e){const l=a.group??"Actions",s=t.get(l);s?s.push(a):t.set(l,[a])}return[...t].map(([a,l])=>({label:a,commands:l}))}function xU({command:e,apple:t,breadcrumb:a,onRun:l}){const s=e.icon,o=e.checked!==void 0;return x.jsxs("button",{type:"button",...o?{role:"menuitemcheckbox","aria-checked":!!e.checked}:{role:"menuitem"},"data-palette-row":"",onClick:()=>l(e),className:"flex w-full items-center gap-3 rounded-xl px-2.5 py-2 text-left text-sm text-text focus-visible:bg-surface-2 focus-visible:outline-none active:bg-surface-2",children:[s?x.jsx(s,{size:16,className:"shrink-0 text-muted","aria-hidden":!0}):x.jsx("span",{className:"size-4 shrink-0","aria-hidden":!0}),x.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[a&&e.group?x.jsxs("span",{className:"text-muted",children:[e.group," › "]}):null,e.label,e.detail?x.jsx("span",{className:"ml-2 text-xs text-faint",children:e.detail}):null]}),e.shortcut?x.jsx(dU,{parts:QL(e.shortcut,t)}):null,o?x.jsx(fU,{checked:!!e.checked}):null]})}function dU({parts:e}){return x.jsx("span",{className:"hidden shrink-0 items-center gap-0.5 md:flex",children:e.map(t=>x.jsx("kbd",{className:"min-w-5 rounded border border-border bg-surface-2 px-1 py-0.5 text-center font-sans text-[11px] text-muted",children:t},t))})}function fU({checked:e}){return x.jsx("span",{"aria-hidden":!0,className:pe("flex size-4 shrink-0 items-center justify-center rounded border",e?"border-accent bg-accent text-on-solid":"border-faint bg-surface"),children:e?x.jsx(na,{size:12,strokeWidth:3}):null})}function hU({query:e,repoSelection:t,includeArchived:a,live:l,selectedId:s,onOpen:o}){const c=eS(e.trim(),250),d=wx(t),f=t.mode==="selected"&&d.length===0,{data:h,isError:m,error:p,isFetching:y}=tS(f?"":c,d,a),b=w.useMemo(()=>E9(e),[e]),v=w.useMemo(()=>{const C=new Map;if(b.length)for(const B of l){if(t.mode==="selected"&&!(B.repo_name&&ju(t,B.repo_name)))continue;const N=[ta(B),B.branch,B.repo_name,B.directory_name,B.session_title].filter(Boolean).join(" ").toLowerCase();b.every(M=>N.includes(M))&&C.set(B.id,{workspace:B,archived:!1,sessionId:null,snippets:[],hits:0})}for(const B of f?[]:h?.results??[]){if(!a&&B.workspace.archived)continue;const N=C.get(B.workspace.id);if(N){N.sessionId=B.sessionId,N.snippets=B.snippets,N.hits=B.hits;continue}C.set(B.workspace.id,{workspace:B.workspace,archived:B.workspace.archived,sessionId:B.sessionId,snippets:B.snippets,hits:B.hits})}return[...C.values()]},[l,h,b,t,f,a]),k=h?.index;return x.jsxs(x.Fragment,{children:[k&&!k.ready?x.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(k.progress*100),"% — older conversations aren’t searchable yet."]}):null,k?.error?x.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",k.error,") — searching names only."]}):null,m?x.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",p?.message,") — showing name matches only."]}):null,v.length===0?y||c!==e.trim()?x.jsx(pn,{}):m?null:x.jsx(Qt,{children:f?"No repos selected.":`Nothing matches “${e.trim()}”${d.length?` in ${Nl(t)}`:""}.`}):x.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:v.map(C=>x.jsx("li",{className:"fade-in",children:x.jsx(mU,{row:C,tokens:b,selected:C.workspace.id===s,onOpen:o})},C.workspace.id))})]})}const pU="card w-full flex-col items-stretch gap-0";function mU({row:e,tokens:t,selected:a,onOpen:l}){const s=e.workspace,o=s.directory_name?.toLowerCase(),c=`${ta(s)} ${s.branch??""} ${s.repo_name??""}`.toLowerCase(),d=!!o&&t.some(h=>o.includes(h)&&!c.includes(h)),f=x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"flex items-start gap-3",children:[x.jsx(is,{icon:s.icon,name:s.repo_name||ta(s),artwork:"inset"}),x.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:ta(s)}),e.archived?x.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]}),x.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[s.repo_name?x.jsx("span",{className:"shrink-0 font-mono text-faint",children:s.repo_name}):null,s.branch?x.jsx(H4,{className:"min-w-0 flex-1 truncate",children:s.branch}):null,d?x.jsxs(H4,{className:"shrink-0 text-faint",children:["dir ",s.directory_name]}):null,x.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Zh(s.updated_at)})]})]})]}),e.snippets.length?x.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(h=>x.jsx(EU,{snippet:h},`${h.sessionId}:${h.at}:${h.text.slice(0,24)}`)),e.hits>e.snippets.length?x.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return x.jsx("button",{type:"button","data-palette-row":"",className:pe(pU,a&&"border-accent/50 bg-surface-2"),onClick:()=>l(s.id,e.sessionId),children:f})}const gU={user:"you",assistant:"agent",thinking:"thought"};function EU({snippet:e}){return x.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[x.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:gU[e.role]}),IO(e.text).map((t,a)=>t.hit?x.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:t.text},a):x.jsx("span",{children:t.text},a))]})}function yU({live:e,selectedId:t,onOpen:a,onClose:l}){const[s,o]=w.useState(""),[c,d]=w.useState(Or),[f,h]=w.useState(!0),[m,p]=w.useState(!1),y=w.useRef(null),b=w.useRef(null),v=U9().data?.repos??[],k=VL(),C=w.useMemo(()=>lp(),[]),B=v.map(H=>({name:H.name,icon:H.icon}));for(const H of e)H.repo_name&&!B.some(Z=>Z.name===H.repo_name)&&B.push({name:H.repo_name,icon:H.icon});w.useEffect(()=>y.current?.focus(),[]),w.useEffect(()=>{const H=Z=>{Z.key==="Escape"&&(m?p(!1):l())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[l,m]);const N=wx(c),M=c.mode==="selected",{commandsOnly:S,query:F}=IL(s),D=!F.trim(),R=w.useMemo(()=>ZL(k,F),[k,F]),O=D||S?R:R.slice(0,bU),P=H=>{l(),H.run()},T=H=>{if(H.nativeEvent.isComposing)return;const Z=y.current,J=[...b.current?.querySelectorAll("[data-palette-row]")??[]],W=document.activeElement,$=W instanceof HTMLElement?J.indexOf(W):-1;if(H.key==="ArrowDown"||H.key==="ArrowUp"){if(!J.length)return;H.preventDefault(),H.key==="ArrowDown"?J[$<0?0:Math.min($+1,J.length-1)]?.focus():$<=0?Z?.focus():J[$-1]?.focus();return}if(H.key==="Enter"&&W===Z&&F.trim()){const G=J[0];if(!G)return;H.preventDefault(),G.click();return}$>=0&&Z&&H.key.length===1&&!H.metaKey&&!H.ctrlKey&&!H.altKey&&(H.preventDefault(),o(G=>G+H.key),Z.focus())};return aa.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:l,"aria-hidden":!0}),x.jsxs("div",{ref:b,role:"dialog","aria-modal":"true","aria-label":"Search chats and actions",onKeyDown:T,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:[x.jsxs("div",{className:"relative flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsxs("div",{className:"relative min-w-0 flex-1",children:[x.jsx(f9,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),x.jsx("input",{ref:y,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:s,onChange:H=>o(H.target.value),placeholder:"Search chats and actions","aria-label":"Search chats and actions",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?x.jsx("button",{type:"button",onClick:()=>{o(""),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:x.jsx(A0,{size:15})}):null]}),x.jsx("button",{type:"button",onClick:()=>h(H=>!H),"aria-label":"Include archived workspaces","aria-pressed":f,title:f?"Search archived workspaces":"Archived workspaces excluded",className:pe("flex size-9 shrink-0 items-center justify-center rounded-full active:bg-surface-2",f?"border border-accent/50 bg-accent/10 text-text":"text-muted"),children:f?x.jsx(xx,{size:18}):x.jsx(Ob,{size:18})}),x.jsxs("button",{type:"button",onClick:()=>p(H=>!H),"aria-label":M?`Repo filter: ${Nl(c)}`:"Filter by repo","aria-haspopup":"menu","aria-expanded":m,className:pe("flex h-9 shrink-0 items-center justify-center gap-1 rounded-full text-sm active:bg-surface-2",M?"max-w-36 border border-accent/50 bg-accent/10 px-2.5 text-text":"size-9 text-muted"),children:[x.jsx(Ek,{size:M?14:18,className:"shrink-0"}),M?x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"min-w-0 truncate",children:Nl(c)}),x.jsx(Na,{size:14,className:pe("shrink-0 text-faint transition-transform",m&&"rotate-180")})]}):null]}),x.jsx("button",{type:"button",onClick:l,"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:x.jsx(A0,{size:20})}),m?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>p(!1),"aria-hidden":!0}),x.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:x.jsx(Gp,{repos:B,selected:c,onChange:d})})]}):null]}),x.jsxs("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:[x.jsx(cU,{commands:O,grouped:D||S,apple:C,onRun:P}),S?O.length?null:x.jsxs(Qt,{children:["No action matches “",F,"”. Drop the “>” to search chats too."]}):D?x.jsxs("p",{className:"px-2.5 pt-3 text-xs leading-relaxed text-faint",children:[M?N.length?`Workspaces and chats in ${Nl(c)}`:"No repos selected":"Every workspace on this Mac",f?", archived included":", excluding archived"," — by name, or by something said in the chat. Quote a “phrase” to require it word for word; start with “>” for actions alone."]}):x.jsxs(x.Fragment,{children:[O.length?x.jsx(Hp,{children:"Workspaces and chats"}):null,x.jsx(hU,{query:F,repoSelection:c,includeArchived:f,live:e,selectedId:t,onOpen:a})]})]})]})]}),document.body)}const bU=8,Vp=["planning","exploration","implementation"];function Ip(e){return e.workflow||e.workflow_identity||e.pending_prompt?.sessionRole==="planning"?!0:Object.values(e.session_roles??{}).some(t=>t.role==="planning"&&!t.delegationId)}const vU=e=>e==="creating_workspace"||e==="binding_root"||e==="pending_root"?"Accepted":e[0].toUpperCase()+e.slice(1),CU=e=>e==="planning"?"Planning":e==="exploration"?"Exploration":"Implementation";function kU(e,t){const a=e.workflow?.roles??e.workflow_identity?.roles??t;return Vp.flatMap(l=>{const s=a?.[l];return s?[[l,s]]:[]})}function AU(e,t){return e?.length?e.find(l=>l.agentType===(t??"unknown"))?.models??[...new Set(e.flatMap(l=>l.models))]:[]}function BU({workspace:e,modelGroups:t,configuredRoles:a}){if(Ip(e)){const s=e.workflow??e.workflow_identity,o=s?vU(s.phase):"Workflow",c=kU(e,a),d=[o==="Workflow"?o:`Workflow · ${o}`,...c.map(([f,h])=>`${CU(f)}: ${h.model}`)].join(" · ");return x.jsxs("span",{role:"img",title:d,"aria-label":d,className:"isolate ml-auto flex shrink-0 -space-x-1",children:[x.jsx("span",{"data-workflow-icon":!0,className:"relative z-40 flex size-[17px] shrink-0 items-center justify-center rounded-full bg-accent text-on-solid ring-1 ring-border",children:x.jsx(_l,{size:11,"aria-hidden":"true"})}),c.map(([f,h],m)=>x.jsx("span",{"data-workflow-role":f,className:"relative flex size-[17px] shrink-0 items-center justify-center rounded-full bg-surface text-text ring-1 ring-border",style:{zIndex:Vp.length-m},children:x.jsx(Lr,{agentType:"agentType"in h?h.agentType??null:null,model:h.model,className:"size-2.5"})},f))]})}const l=b9(e.model,AU(t,e.agent_type));return l?x.jsxs("span",{className:"ml-auto flex min-w-0 items-center gap-1 text-[11px]",children:[x.jsx(Lr,{agentType:e.agent_type,model:e.model,className:"size-3"}),x.jsx("span",{className:"truncate",children:l})]}):null}function wU(e,t){return[...e].sort((a,l)=>{const s=+!!l.pinned_at-+!!a.pinned_at;if(s)return s;if(t==="name")return ta(a).localeCompare(ta(l));const o=t==="created"?a.created_at:a.updated_at,c=t==="created"?l.created_at:l.updated_at,d=J0(c)-J0(o);return Number.isFinite(d)?d:c.localeCompare(o)})}function DU(e,t){return t==="status"?B1(e):t==="recent"?KO(e.updated_at):e.repo_name??""}function FU(e,t){if(t==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const l of e){const s=DU(l,t),o=a.get(s);o?o.push(l):a.set(s,[l])}return t==="status"?[...P4,...[...a.keys()].filter(s=>!P4.includes(s))].filter(s=>a.has(s)).map(s=>({key:`status:${s}`,label:u1(s),status:s,items:a.get(s)??[]})):t==="recent"?QO.filter(l=>a.has(l)).map(l=>({key:`recent:${l}`,label:YO(l),items:a.get(l)??[]})):[...a.keys()].sort((l,s)=>l.localeCompare(s)).map(l=>({key:`repo:${l}`,label:l||"No repo",items:a.get(l)??[]}))}function SU({selectedId:e}){const t=Hr(),a=jp(),l=be(oe=>oe.setSidebarOpen),s=be(oe=>oe.view),o=be(oe=>oe.readMarks),c=be(oe=>oe.pending),d=be(oe=>oe.workingHints),f=be(oe=>oe.toggleGroup),[h,m]=w.useState(!1),[p,y]=w.useState(!1),[b,v]=w.useState(!1),[k,C]=w.useState(!1),[B,N]=w.useState(!1),[M,S]=w.useState(!1),F=zl(oe=>oe.open),D=zl(oe=>oe.setOpen),[R,O]=w.useState(x1),{data:P,isLoading:T,isError:H,error:Z}=Dx(),J=P?.workspaces??[],W=(P?.workflows??[]).filter(oe=>!oe.workspaceId),$=E1().data?.groups,G=J.some(oe=>!oe.workflow&&!oe.workflow_identity&&Ip(oe)),Y=Fx(G).data?.roles;w.useEffect(()=>{F&&O(x1())},[F]);const re=new Map(J.map(oe=>[oe.repo_name,oe.icon])),he=wx(s.repoSelection),j=[...new Set([...J.map(oe=>oe.repo_name).filter(oe=>!!oe),...he])].sort().map(oe=>({name:oe,icon:re.get(oe)??null})),L=s.repoSelection.mode==="all"?J:J.filter(oe=>!!oe.repo_name&&he.includes(oe.repo_name)),Q=L.filter(oe=>oe.id===e||!(s.hideMerged&&$O(oe)||s.hideDone&&qO(oe))),z=L.length-Q.length,le=FU(wU(Q,s.sortBy),s.groupBy),Ee=(oe,X=null)=>{t(X?`/w/${oe}?session=${encodeURIComponent(X)}`:`/w/${oe}`),l(!1)},de=s.repoSelection.mode==="selected",Ce=de||s.hideMerged||s.hideDone,Ie=be(oe=>oe.setView),Se=a.status!=="idle",et=a.openPanel,it=w.useMemo(()=>{const oe=[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]],X=[["updated","Updated"],["created","Created"],["name","Name"]];return[{id:"app.search",label:"Search chats and actions",group:"App",hidden:!0,shortcut:{key:"k",mod:!0},run:()=>D(He=>!He)},{id:"app.newWorkspace",label:"New workspace",group:"App",icon:n1,keywords:["create","start","repo","branch"],run:()=>v(!0)},{id:"app.usage",label:"Plan usage",group:"App",icon:df,keywords:["models","quota","limits","rate","effort","defaults"],run:()=>N(!0)},{id:"app.connect",label:"Connect a device",group:"App",icon:Bu,keywords:["qr","token","link","phone","pair","disconnect","notifications","push"],run:()=>y(!0)},{id:"app.logs",label:"Relay logs",group:"App",icon:nw,keywords:["diagnostics","debug","errors"],run:()=>C(!0)},{id:"app.roles",label:"Delegated roles",group:"App",icon:_l,keywords:["workflow","planning","exploration","implementation","models"],run:()=>S(!0)},{id:"app.controlRoom",label:Se?"Open active call":"Control room",group:"App",icon:qi,keywords:["voice","call","fleet","orchestrator"],run:et},...[["system","System",m9],["light","Light",gx],["dark","Dark",x9]].map(([He,st,ot])=>({id:`app.theme.${He}`,label:`Theme: ${st}`,group:"App",icon:ot,keywords:["appearance","dark mode","light mode"],checked:R===He,run:()=>{Rp(He),O(He)}})),{id:"view.filters",label:"Workspace filters",group:"View",icon:ff,keywords:["view options","group","sort","repo"],run:()=>{l(!0),m(!0)}},{id:"view.hideMerged",label:"Hide merged",group:"View",icon:hx,keywords:["filter","pull request","pr","landed"],checked:s.hideMerged,run:()=>Ie({hideMerged:!be.getState().view.hideMerged})},{id:"view.hideDone",label:"Hide done",group:"View",icon:dx,keywords:["filter","status","finished"],checked:s.hideDone,run:()=>Ie({hideDone:!be.getState().view.hideDone})},{id:"view.showDiffs",label:"Sidebar diffs",group:"View",icon:m1,keywords:["additions","deletions","line changes","stats"],checked:s.showDiffs,run:()=>Ie({showDiffs:!be.getState().view.showDiffs})},{id:"view.showFolders",label:"Folders in the file rail",group:"View",icon:i9,keywords:["diff","files","tree","group"],checked:s.showFolders,run:()=>Ie({showFolders:!be.getState().view.showFolders})},{id:"view.repos.all",label:"Show all repos",group:"View",icon:bA,keywords:["repo filter","clear","reset"],enabled:de,run:()=>Ie({repoSelection:Or})},...oe.map(([He,st])=>({id:`view.groupBy.${He}`,label:`Group by: ${st}`,group:"View",icon:dA,keywords:["sections","sidebar"],checked:s.groupBy===He,run:()=>Ie({groupBy:He})})),...X.map(([He,st])=>({id:`view.sortBy.${He}`,label:`Sort by: ${st}`,group:"View",icon:Gb,keywords:["order","sidebar"],checked:s.sortBy===He,run:()=>Ie({sortBy:He})}))]},[R,s.hideMerged,s.hideDone,s.showDiffs,s.showFolders,s.groupBy,s.sortBy,de,Se,et,Ie,D,l]);rp("sidebar",it);const yt=Nl(s.repoSelection),we=IF({total:J.length,shown:Q.length,hidden:z,repoFiltered:de});return x.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[x.jsxs("div",{className:"relative",children:[x.jsx(ip,{children:x.jsxs("div",{role:"toolbar","aria-label":"Workspace controls",className:"flex w-full items-center justify-between px-3 pb-2.5",children:[x.jsx("button",{type:"button",onClick:()=>D(!0),"aria-label":"Search chats and actions",title:"Search and actions (⌘K)",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(f9,{size:18})}),x.jsx("button",{type:"button",onClick:()=>N(!0),"aria-label":"Models",title:"Models",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(df,{size:18})}),x.jsxs("button",{type:"button",onClick:()=>m(oe=>!oe),"aria-label":"View options",className:"relative flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:[x.jsx(ff,{size:18}),Ce?x.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),x.jsx("button",{type:"button",onClick:()=>y(!0),"aria-label":"Connect a device",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(Bu,{size:18})}),x.jsx("button",{type:"button",onClick:()=>S(!0),"aria-label":"Open delegated roles",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(_l,{size:18})}),x.jsxs("button",{type:"button",onClick:a.openPanel,"aria-label":a.status==="idle"?"Call fleet orchestrator":"Open active call",title:"Control room",className:pe("relative flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",a.status!=="idle"&&"bg-voice-soft text-voice"),children:[x.jsx(qi,{size:18}),a.status!=="idle"?x.jsx("span",{className:"absolute right-1 top-1 size-1.5 rounded-full bg-voice"}):null]}),x.jsx("button",{type:"button",onClick:()=>v(!0),"aria-label":"New workspace",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2 min-[360px]:size-9",children:x.jsx(n1,{size:20})})]})}),h?x.jsx(NU,{repos:j,view:s,summary:we,onClose:()=>m(!1)}):null]}),x.jsxs("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:[W.length?x.jsxs("section",{className:"mb-3 space-y-2","aria-label":"Accepted workflows waiting for a workspace",children:[x.jsx("div",{className:"px-1 text-xs font-semibold text-muted",children:"Accepted workflows"}),W.map(oe=>x.jsx(ep,{workflow:oe,compact:!0},oe.id))]}):null,T&&!P?x.jsx(pn,{label:"Loading workspaces…"}):H?x.jsx(uL,{error:Z}):J.length===0&&!W.length?x.jsx(Qt,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):J.length>0&&Q.length===0?x.jsxs(Qt,{children:[de?he.length?`No workspaces in ${yt}`:"No repos selected":"No workspaces",z?` — ${z} ${z===1?"one is":"ones are"} hidden.`:"."]}):le.map(oe=>{const X=!!oe.label&&s.collapsed.includes(oe.key);return x.jsxs("section",{children:[oe.label?x.jsxs("button",{type:"button",onClick:()=>f(oe.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[x.jsx(MU,{status:oe.status}),x.jsx("span",{className:"truncate",children:oe.label}),X?x.jsx("span",{className:"font-normal text-muted text-xs",children:oe.items.length}):null,x.jsx(Na,{size:14,className:pe("ml-auto shrink-0 text-faint transition-transform",X&&"-rotate-90")})]}):null,X?null:x.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:oe.items.map(De=>{const He=mF(De,o),st=De.active_session_id?d[De.active_session_id]:void 0,ot=S9(c.filter(n0=>n0.workspaceId===De.id),[...De.pending_prompt?[De.pending_prompt]:[],...De.parked_prompts??[]],st!==void 0&&Date.now()-st<Tu);return x.jsx("li",{className:"fade-in",children:x.jsx("button",{type:"button",className:pe("card w-full px-3 py-2.5",De.id===e?"border-accent/50 bg-surface-2":He&&"border-l-accent"),onClick:()=>Ee(De.id),children:x.jsx(jU,{w:De,unread:He,selected:De.id===e,modelGroups:$,workflowRoles:Y,promptState:ot,showDiffs:s.showDiffs})})},De.id)})})]},oe.key)})]}),p?x.jsx(PI,{version:P?.version,onLogs:()=>{y(!1),C(!0)},onClose:()=>y(!1)}):null,b?x.jsx(eU,{onClose:()=>v(!1)}):null,F?x.jsx(yU,{live:J,selectedId:e,onOpen:(oe,X)=>{D(!1),Ee(oe,X)},onClose:()=>D(!1)}):null,k?x.jsx(YI,{onClose:()=>C(!1)}):null,B?x.jsx(oU,{onClose:()=>N(!1)}):null,M?x.jsx(Fp,{onClose:()=>S(!1)}):null]})}function MU({status:e}){if(!e)return null;const t=Jx[e];return t?x.jsx("span",{className:"dot size-2",style:{background:t}}):x.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function NU({repos:e,view:t,summary:a,onClose:l}){const s=be(o=>o.setView);return x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-20",onClick:l,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-labelledby":"workspace-filters-title","aria-describedby":a?"workspace-filters-summary":void 0,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:[x.jsxs("div",{className:"border-b border-border-soft pb-2",children:[x.jsx("h2",{id:"workspace-filters-title",className:"text-sm font-semibold text-text",children:"Workspace filters"}),a?x.jsx("p",{id:"workspace-filters-summary",className:"mt-0.5 text-xs text-muted",children:a}):null]}),x.jsx($i,{id:"view-group",label:"Group by",children:x.jsx(E6,{id:"view-group",value:t.groupBy,onChange:o=>s({groupBy:o}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),x.jsx(_U,{repos:e,selected:t.repoSelection,onChange:o=>s({repoSelection:o})}),x.jsx($i,{id:"view-sort",label:"Sort by",children:x.jsx(E6,{id:"view-sort",value:t.sortBy,onChange:o=>s({sortBy:o}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),x.jsx($i,{id:"view-hide-merged",label:"Hide merged",children:x.jsx(g6,{id:"view-hide-merged",checked:t.hideMerged,label:"Hide workspaces whose PR has merged",onChange:o=>s({hideMerged:o})})}),x.jsx($i,{id:"view-hide-done",label:"Hide done",children:x.jsx(g6,{id:"view-hide-done",checked:t.hideDone,label:"Hide workspaces marked Done",onChange:o=>s({hideDone:o})})})]})]})}function _U({repos:e,selected:t,onChange:a}){const[l,s]=w.useState(!1);return x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx($i,{id:"view-repo",label:"Repo",children:x.jsxs("button",{id:"view-repo",type:"button",onClick:()=>s(o=>!o),"aria-expanded":l,"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:[x.jsx("span",{className:"truncate",children:Nl(t)}),x.jsx(Na,{size:14,className:pe("shrink-0 text-faint transition-transform",l&&"rotate-180")})]})}),l?x.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:x.jsx(Gp,{repos:e,selected:t,onChange:a})}):null]})}function g6({id:e,checked:t,label:a,onChange:l}){return x.jsx("button",{id:e,type:"button",role:"switch","aria-checked":t,"aria-label":a,onClick:()=>l(!t),className:pe("relative h-6 w-11 shrink-0 rounded-full transition-colors",t?"bg-accent":"border border-border bg-surface-2"),children:x.jsx("span",{className:pe("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",t?"translate-x-5":"translate-x-0")})})}function $i({id:e,label:t,children:a}){return x.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[x.jsx("label",{htmlFor:e,children:t}),a]})}function E6({id:e,value:t,options:a,onChange:l}){return x.jsx("select",{id:e,value:t,onChange:s=>l(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,o])=>x.jsx("option",{value:s,children:o},s))})}function jU({w:e,unread:t,selected:a,modelGroups:l,workflowRoles:s,promptState:o,showDiffs:c}){return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"relative shrink-0",children:[x.jsx(is,{icon:e.icon,name:e.repo_name||ta(e),artwork:"full-bleed"}),x.jsx(lL,{w:e,promptState:o,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"}),e.run_active?x.jsx(iL,{className:"absolute -top-0.5 -left-0.5"}):null]}),x.jsxs("div",{className:"min-w-0 flex-1 space-y-1.25 overflow-hidden",children:[x.jsxs("div",{className:"flex min-w-0 items-center justify-between gap-2",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[x.jsx("span",{className:pe("min-w-0 truncate text-sm leading-none",t?"font-bold":"font-medium",t||a?"text-text":"text-muted"),children:ta(e)}),e.pinned_at?x.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,t>1?x.jsx(cL,{children:t}):t?x.jsx("span",{className:"dot size-2 bg-accent"}):null]}),c?x.jsx(FI,{stats:e.change_stats}):null]}),x.jsxs("div",{className:"flex min-w-0 items-end gap-2 text-xs text-muted",children:[x.jsx("span",{className:"shrink-0 text-[11px] text-faint",children:$h(e.updated_at)}),x.jsx(BU,{workspace:e,modelGroups:l,configuredRoles:s})]})]})]})}function TU(){KF();const e=be(t=>t.token);return x.jsxs(x.Fragment,{children:[x.jsx(HL,{}),e?x.jsxs(Uy,{children:[x.jsxs(Zi,{element:x.jsx(zU,{}),children:[x.jsx(Zi,{index:!0,element:x.jsx(RU,{})}),x.jsx(Zi,{path:"/w/:workspaceId",element:x.jsx(WV,{})})]}),x.jsx(Zi,{path:"*",element:x.jsx(Hy,{to:"/",replace:!0})})]}):x.jsx(dI,{})]})}function zU(){const e=ky("/w/:workspaceId"),t=be(o=>o.sidebarOpen),a=be(o=>o.setSidebarOpen),l=w.useRef(null),{data:s}=Dx();return YF(l),ES(),hS(),JF(),KL(),x.jsxs(EI,{children:[x.jsxs("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[x.jsxs("div",{className:"flex min-h-0 flex-1 overflow-hidden",children:[t?x.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,x.jsx("aside",{ref:l,className:pe("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",t?"translate-x-0":"-translate-x-full"),children:x.jsx(SU,{selectedId:e?.params.workspaceId})}),x.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:x.jsx(Vy,{})})]}),s?.workflowWarning||s?.uiQuarantine?x.jsxs("div",{className:"pb-safe relative z-[60] shrink-0 border-t border-del/40",children:[x.jsx(SL,{warning:s.workflowWarning}),x.jsx(FL,{quarantine:s.uiQuarantine})]}):null]}),x.jsx(vI,{})]})}function RU(){const e=be(t=>t.setSidebarOpen);return x.jsxs("div",{className:"grid h-full place-items-center",children:[x.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),x.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});wI();const OU=new vE({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),Up=document.getElementById("root");if(!Up)throw new Error("#root missing");GE.createRoot(Up).render(x.jsx(w.StrictMode,{children:x.jsx(kE,{client:OU,children:x.jsx(pb,{children:x.jsx(TU,{})})})}));export{np as _,CM as a,LM as b,w4 as c,pe as d,TM as f,OM as h,x as j,LU as p,w as r,zx as s,DM as w};
|