0-d302ae29e7d2","timestamp":"2026-02-04T13:26:27.922Z"}
{"parentUuid":"b84ae85d-e510-454e-8650-d302ae29e7d2","isSidechain":false,"userType":"external","cwd":"/home/josie/development/personal/josiedot/health/services/discord-bot","sessionId":"3f08f44a-a461-4640-9708-b1cbc3b2257a","version":"2.1.31","gitBranch":"HEAD","slug":"cuddly-launching-garden","type":"progress","data":{"type":"bash_progress","output":"# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","fullOutput":"Uploading directory \".\" as binary input for the build ...\nUploading finished\nbuild.build.openshift.io/discord-bot-137 started\nReceiving source from STDIN as archive ...\ntime=\"2026-02-04T13:25:55Z\" level=info msg=\"Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled\"\nI0204 13:25:55.125328       1 defaults.go:112] Defaulting to storage driver \"overlay\" with options [mountopt=metacopy=on].\nCaching blobs under \"/var/cache/blobs\".\nPulling image alpine:latest ...\nResolving \"alpine\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/alpine:latest...\nTrying to pull registry.access.redhat.com/alpine:latest...\nTrying to pull quay.io/alpine:latest...\nTrying to pull docker.io/library/alpine:latest...\nGetting image source signatures\nCopying blob sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153\nCopying config sha256:a40c03cbb81c59bfb0e0887ab0b1859727075da7b9cc576a1cec2c771f38c5fb\nWriting manifest to image destination\nPulling image crystallang/crystal:1.15.0-alpine ...\nResolving \"crystallang/crystal\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull registry.access.redhat.com/crystallang/crystal:1.15.0-alpine...\nTrying to pull quay.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull docker.io/crystallang/crystal:1.15.0-alpine...\nGetting image source signatures\nCopying blob sha256:f840af8151a8771e4eaaa4a920445bb0c1f0dacdfa496c5fee84d3b7a573db39\nCopying blob sha256:66a3d608f3fa52124f8463e9467f170c784abd549e8216aa45c6960b00b4b79b\nCopying blob sha256:6fe2058237dfca1e598b42eb73ebf291c8d5b6550d5d88801b14879991dfb485\nCopying blob sha256:78523090adfa9280a89f17eed15e0886327972e67d4d60c09e16703ac585374f\nCopying config sha256:b2e27e39309fbab32ba3154490dcad73b79ad2e8b7288d7df7d4bfe75aa0e365\nWriting manifest to image destination\nAdding transient rw bind mount for /run/secrets/rhsm\n[1/2] STEP 1/6: FROM crystallang/crystal:1.15.0-alpine AS builder\n[1/2] STEP 2/6: WORKDIR /app\n--> 698b83cc0606\n[1/2] STEP 3/6: RUN apk add --no-cache libssh2-dev libssh2-static openssl-dev openssl-libs-static zlib-dev zlib-static git openssh-client &&     mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz\n(1/6) Installing libssh2 (1.11.0-r2)\n(2/6) Installing libssh2-dev (1.11.0-r2)\n(3/6) Installing libssh2-static (1.11.0-r2)\n(4/6) Installing openssh-keygen (9.7_p1-r5)\n(5/6) Installing openssh-client-common (9.7_p1-r5)\n(6/6) Installing openssh-client-default (9.7_p1-r5)\nExecuting busybox-1.36.1-r29.trigger\nOK: 273 MiB in 95 packages\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","elapsedTimeSeconds":41,"totalLines":50,"timeoutMs":600000},"toolUseID":"bash-progress-39","parentToolUseID":"toolu_01QDuHjKQYwP6hVQoMJ6kab7","uuid":"5a0819a8-975a-4f0e-b91c-b1165113f27c","timestamp":"2026-02-04T13:26:28.922Z"}
{"parentUuid":"5a0819a8-975a-4f0e-b91c-b1165113f27c","isSidechain":false,"userType":"external","cwd":"/home/josie/development/personal/josiedot/health/services/discord-bot","sessionId":"3f08f44a-a461-4640-9708-b1cbc3b2257a","version":"2.1.31","gitBranch":"HEAD","slug":"cuddly-launching-garden","type":"progress","data":{"type":"bash_progress","output":"# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","fullOutput":"Uploading directory \".\" as binary input for the build ...\nUploading finished\nbuild.build.openshift.io/discord-bot-137 started\nReceiving source from STDIN as archive ...\ntime=\"2026-02-04T13:25:55Z\" level=info msg=\"Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled\"\nI0204 13:25:55.125328       1 defaults.go:112] Defaulting to storage driver \"overlay\" with options [mountopt=metacopy=on].\nCaching blobs under \"/var/cache/blobs\".\nPulling image alpine:latest ...\nResolving \"alpine\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/alpine:latest...\nTrying to pull registry.access.redhat.com/alpine:latest...\nTrying to pull quay.io/alpine:latest...\nTrying to pull docker.io/library/alpine:latest...\nGetting image source signatures\nCopying blob sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153\nCopying config sha256:a40c03cbb81c59bfb0e0887ab0b1859727075da7b9cc576a1cec2c771f38c5fb\nWriting manifest to image destination\nPulling image crystallang/crystal:1.15.0-alpine ...\nResolving \"crystallang/crystal\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull registry.access.redhat.com/crystallang/crystal:1.15.0-alpine...\nTrying to pull quay.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull docker.io/crystallang/crystal:1.15.0-alpine...\nGetting image source signatures\nCopying blob sha256:f840af8151a8771e4eaaa4a920445bb0c1f0dacdfa496c5fee84d3b7a573db39\nCopying blob sha256:66a3d608f3fa52124f8463e9467f170c784abd549e8216aa45c6960b00b4b79b\nCopying blob sha256:6fe2058237dfca1e598b42eb73ebf291c8d5b6550d5d88801b14879991dfb485\nCopying blob sha256:78523090adfa9280a89f17eed15e0886327972e67d4d60c09e16703ac585374f\nCopying config sha256:b2e27e39309fbab32ba3154490dcad73b79ad2e8b7288d7df7d4bfe75aa0e365\nWriting manifest to image destination\nAdding transient rw bind mount for /run/secrets/rhsm\n[1/2] STEP 1/6: FROM crystallang/crystal:1.15.0-alpine AS builder\n[1/2] STEP 2/6: WORKDIR /app\n--> 698b83cc0606\n[1/2] STEP 3/6: RUN apk add --no-cache libssh2-dev libssh2-static openssl-dev openssl-libs-static zlib-dev zlib-static git openssh-client &&     mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz\n(1/6) Installing libssh2 (1.11.0-r2)\n(2/6) Installing libssh2-dev (1.11.0-r2)\n(3/6) Installing libssh2-static (1.11.0-r2)\n(4/6) Installing openssh-keygen (9.7_p1-r5)\n(5/6) Installing openssh-client-common (9.7_p1-r5)\n(6/6) Installing openssh-client-default (9.7_p1-r5)\nExecuting busybox-1.36.1-r29.trigger\nOK: 273 MiB in 95 packages\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","elapsedTimeSeconds":42,"totalLines":50,"timeoutMs":600000},"toolUseID":"bash-progress-40","parentToolUseID":"toolu_01QDuHjKQYwP6hVQoMJ6kab7","uuid":"8375ff16-ab83-41b8-a5c0-7f5e8bb6d2b2","timestamp":"2026-02-04T13:26:29.923Z"}
{"parentUuid":"8375ff16-ab83-41b8-a5c0-7f5e8bb6d2b2","isSidechain":false,"userType":"external","cwd":"/home/josie/development/personal/josiedot/health/services/discord-bot","sessionId":"3f08f44a-a461-4640-9708-b1cbc3b2257a","version":"2.1.31","gitBranch":"HEAD","slug":"cuddly-launching-garden","type":"progress","data":{"type":"bash_progress","output":"# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","fullOutput":"Uploading directory \".\" as binary input for the build ...\nUploading finished\nbuild.build.openshift.io/discord-bot-137 started\nReceiving source from STDIN as archive ...\ntime=\"2026-02-04T13:25:55Z\" level=info msg=\"Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled\"\nI0204 13:25:55.125328       1 defaults.go:112] Defaulting to storage driver \"overlay\" with options [mountopt=metacopy=on].\nCaching blobs under \"/var/cache/blobs\".\nPulling image alpine:latest ...\nResolving \"alpine\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/alpine:latest...\nTrying to pull registry.access.redhat.com/alpine:latest...\nTrying to pull quay.io/alpine:latest...\nTrying to pull docker.io/library/alpine:latest...\nGetting image source signatures\nCopying blob sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153\nCopying config sha256:a40c03cbb81c59bfb0e0887ab0b1859727075da7b9cc576a1cec2c771f38c5fb\nWriting manifest to image destination\nPulling image crystallang/crystal:1.15.0-alpine ...\nResolving \"crystallang/crystal\" using unqualified-search registries (/etc/containers/registries.conf)\nTrying to pull registry.redhat.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull registry.access.redhat.com/crystallang/crystal:1.15.0-alpine...\nTrying to pull quay.io/crystallang/crystal:1.15.0-alpine...\nTrying to pull docker.io/crystallang/crystal:1.15.0-alpine...\nGetting image source signatures\nCopying blob sha256:f840af8151a8771e4eaaa4a920445bb0c1f0dacdfa496c5fee84d3b7a573db39\nCopying blob sha256:66a3d608f3fa52124f8463e9467f170c784abd549e8216aa45c6960b00b4b79b\nCopying blob sha256:6fe2058237dfca1e598b42eb73ebf291c8d5b6550d5d88801b14879991dfb485\nCopying blob sha256:78523090adfa9280a89f17eed15e0886327972e67d4d60c09e16703ac585374f\nCopying config sha256:b2e27e39309fbab32ba3154490dcad73b79ad2e8b7288d7df7d4bfe75aa0e365\nWriting manifest to image destination\nAdding transient rw bind mount for /run/secrets/rhsm\n[1/2] STEP 1/6: FROM crystallang/crystal:1.15.0-alpine AS builder\n[1/2] STEP 2/6: WORKDIR /app\n--> 698b83cc0606\n[1/2] STEP 3/6: RUN apk add --no-cache libssh2-dev libssh2-static openssl-dev openssl-libs-static zlib-dev zlib-static git openssh-client &&     mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz\n(1/6) Installing libssh2 (1.11.0-r2)\n(2/6) Installing libssh2-dev (1.11.0-r2)\n(3/6) Installing libssh2-static (1.11.0-r2)\n(4/6) Installing openssh-keygen (9.7_p1-r5)\n(5/6) Installing openssh-client-common (9.7_p1-r5)\n(6/6) Installing openssh-client-default (9.7_p1-r5)\nExecuting busybox-1.36.1-r29.trigger\nOK: 273 MiB in 95 packages\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","elapsedTimeSeconds":43,"totalLines":50,"timeoutMs":600000},"toolUseID":"bash-progress-41","parentToolUseID":"toolu_01QDuHjKQYwP6hVQoMJ6kab7","uuid":"4f8b110e-07ed-4489-b375-36e120212c81","timestamp":"2026-02-04T13:26:30.927Z"}
{"parentUuid":"4f8b110e-07ed-4489-b375-36e120212c81","isSidechain":false,"userType":"external","cwd":"/home/josie/development/personal/josiedot/health/services/discord-bot","sessionId":"3f08f44a-a461-4640-9708-b1cbc3b2257a","version":"2.1.31","gitBranch":"HEAD","slug":"cuddly-launching-garden","type":"progress","data":{"type":"bash_progress","output":"# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932\n# github.com:22 SSH-2.0-ae0a932","fullOutput":"Uploading directory \".\" as binary input for the build ...\nUploading finished\nbuild.build.openshift.io/discord-bot-137 staus();return}let s=1===e?0:i.length-1;if(t&&n>=0){let t=n+e;t>=0&&t<i.length&&(s=t)}let r=i[s];if(r)for(let e of i)e.removeAttribute("data-combobox-option-default"),r===e?(this.input.setAttribute("aria-activedescendant",r.id),r.setAttribute("aria-selected","true"),r.dispatchEvent(new Event("combobox-select",{bubbles:!0})),r.scrollIntoView(this.scrollIntoViewOptions)):e.removeAttribute("aria-selected")}clearSelection(){for(let e of(this.input.removeAttribute("aria-activedescendant"),this.list.querySelectorAll('[aria-selected="true"], [data-combobox-option-default="true"]')))e.removeAttribute("aria-selected"),e.removeAttribute("data-combobox-option-default")}resetSelection(){this.clearSelection(),this.indicateDefaultOption()}}function s(e){var t,i;if(!(e.target instanceof Element))return;let n=e.target.closest('[role="option"]');n&&"true"!==n.getAttribute("aria-disabled")&&(t=n,i={event:e},t.dispatchEvent(new CustomEvent("combobox-commit",{bubbles:!0,detail:i})))}function r(e,t){let i=t.querySelector('[aria-selected="true"], [data-combobox-option-default="true"]');return!!i&&("true"===i.getAttribute("aria-disabled")||(i.click(),!0))}function a(e){return!e.hidden&&!(e instanceof HTMLInputElement&&"hidden"===e.type)&&(e.offsetWidth>0||e.offsetHeight>0)}},97088(e,t,i){i.d(t,{s:()=>r});let n=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];var s=i(36301);class r{constructor(e){this.options=e,this.eventBatch=[],this.idleCallbackId=null,this.waitTimerId=null,this.onVisibilityChange=()=>{"hidden"===document.visibilityState&&this.flushBatch()},this.boundFlush=()=>this.flushBatch(),"u">typeof document&&document.addEventListener("visibilitychange",this.onVisibilityChange),"u">typeof window&&window.addEventListener("pagehide",this.boundFlush)}get collectorUrl(){return this.options.collectorUrl}get clientId(){return this.options.clientId?this.options.clientId:(0,s.y)()}get maxBatchSize(){return this.options.maxBatchSize??10}get idleTimeout(){return this.options.idleTimeout??1e3}createEvent(e){return{page:location.href,title:document.title,context:{...this.options.baseContext,...function(){let e={};try{for(let[t,i]of new URLSearchParams(window.location.search)){let s=t.toLowerCase();n.includes(s)&&(e[s]=i)}return e}catch(e){return{}}}(),...e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let i={...this.createEvent(t),type:e};this.send({events:[i]})}sendBatchedEvent(e,t){let i={...this.createEvent(t),type:e};this.eventBatch.push(i),this.eventBatch.length>=this.maxBatchSize?this.flushBatch():this.scheduleFlush()}flushBatch(){if(0===this.eventBatch.length)return;this.cancelScheduledFlush();let e=this.eventBatch;this.eventBatch=[],this.send({events:e})}destroy(){this.flushBatch(),"u">typeof document&&document.removeEventListener("visibilitychange",this.onVisibilityChange),"u">typeof window&&window.removeEventListener("pagehide",this.boundFlush)}scheduleFlush(){null===this.idleCallbackId&&null===this.waitTimerId&&(this.waitTimerId=setTimeout(()=>{this.waitTimerId=null,"function"==typeof requestIdleCallback?this.idleCallbackId=requestIdleCallback(this.boundFlush):this.boundFlush()},this.idleTimeout))}cancelScheduledFlush(){null!==this.idleCallbackId&&("function"==typeof cancelIdleCallback&&cancelIdleCallback(this.idleCallbackId),this.idleCallbackId=null),null!==this.waitTimerId&&(clearTimeout(this.waitTimerId),this.waitTimerId=null)}send({page_views:e,events:t}){let i=JSON.stringify({client_id:this.clientId,page_views:e,events:t,request_context:{referrer:function(){let e;try{e=window.top.document.referrer}catch(t){if(window.parent)try{e=window.parent.document.referrer}catch(e){}}return""===e&&(e=document.referrer),e}(),user_agent:navigator.userAgent,screen_resolution:function(){try{return`${screen.width}x${screen.height}`}catch(e){return"unknown"}}(),browser_resolution:function(){let e=0,t=0;try{return"number"==typeof window.innerWidth?(t=window.innerWidth,e=window.innerHeight):null!=document.documentElement&&null!=document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):null!=document.body&&null!=document.body.clientWidth&&(t=document.body.clientWidth,e=document.body.clientHeight),`${t}x${e}`}catch(e){return"unknown"}}(),browser_languages:navigator.languages?navigator.languages.join(","):navigator.language||"",pixel_ratio:window.devicePixelRatio,timestamp:Date.now(),tz_seconds:-60*new Date().getTimezoneOffset()}});try{if(navigator.sendBeacon)return void navigator.sendBeacon(this.collectorUrl,i)}catch{}fetch(this.collectorUrl,{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:i,keepalive:!1})}}},70837(e,t,i){i.d(t,{O:()=>n});function n(e="ha"){let t,i={};for(let n of Array.from(document.head.querySelectorAll(`meta[name^="${e}-"]`))){let{name:s,content:r}=n,a=s.replace(`${e}-`,"").replace(/-/g,"_");"url"===a?t=r:i[a]=r}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,...Object.keys(i).length>0?{baseContext:i}:{}}}},81387(e,t,i){i.d(t,{XX:()=>k,qy:()=>L,_3:()=>O});let n=new Map;function s(e){if(n.has(e))return n.get(e);let t=e.length,i=0,s=0,r=0,a=[];for(let n=0;n<t;n+=1){let t=e[n],o=e[n+1],l=e[n-1];"{"===t&&"{"===o&&"\\"!==l?(1===(r+=1)&&(s=n),n+=1):"}"===t&&"}"===o&&"\\"!==l&&r&&0==(r-=1)&&(s>i&&(a.push(Object.freeze({type:"string",start:i,end:s,value:e.slice(i,s)})),i=s),a.push(Object.freeze({type:"part",start:s,end:n+2,value:e.slice(i+2,n).trim()})),n+=1,i=n+1)}return i<t&&a.push(Object.freeze({type:"string",start:i,end:t,value:e.slice(i,t)})),n.set(e,Object.freeze(a)),n.get(e)}let r=new WeakMap,a=new WeakMap;class o{constructor(e,t){this.expression=t,r.set(this,e),e.updateParent("")}get attributeName(){return r.get(this).attr.name}get attributeNamespace(){return r.get(this).attr.namespaceURI}get value(){return a.get(this)}set value(e){a.set(this,e||""),r.get(this).updateParent(e)}get element(){return r.get(this).element}get booleanValue(){return r.get(this).booleanValue}set booleanValue(e){r.get(this).booleanValue=e}}class l{constructor(e,t){this.element=e,this.attr=t,this.partList=[]}get booleanValue(){return this.element.hasAttributeNS(this.attr.namespaceURI,this.attr.name)}set booleanValue(e){if(1!==this.partList.length)throw new DOMException("Operation not supported","NotSupportedError");this.partList[0].value=e?"":null}append(e){this.partList.push(e)}updateParent(e){if(1===this.partList.length&&null===e)this.element.removeAttributeNS(this.attr.namespaceURI,this.attr.name);else{let e=this.partList.map(e=>"string"==typeof e?e:e.value).join("");this.element.setAttributeNS(this.attr.namespaceURI,this.attr.name,e)}}}let c=new WeakMap;class u{constructor(e,t){this.expression=t,c.set(this,[e]),e.textContent=""}get value(){return c.get(this).map(e=>e.textContent).join("")}set value(e){this.replace(e)}get previousSibling(){return c.get(this)[0].previousSibling}get nextSibling(){return c.get(this)[c.get(this).length-1].nextSibling}replace(...e){let t=e.map(e=>"string"==typeof e?new Text(e):e);for(let e of(t.length||t.push(new Text("")),c.get(this)[0].before(...t),c.get(this)))e.remove();c.set(this,t)}}function h(e){return{processCallback(t,i,n){var s;if("object"==typeof n&&n){for(let t of i)if(t.expression in n){let i=null!=(s=n[t.expression])?s:"";e(t,i)}}}}}function d(e,t){e.value=String(t)}function p(e,t){return"boolean"==typeof t&&e instanceof o&&"boolean"==typeof e.element[e.attributeName]&&(e.booleanValue=t,!0)}let m=h(d);h((e,t)=>{p(e,t)||d(e,t)});let f=new WeakMap,g=new WeakMap;class b extends DocumentFragment{constructor(e,t,i=m){var n,r;super(),Object.getPrototypeOf(this)!==b.prototype&&Object.setPrototypeOf(this,b.prototype),this.appendChild(e.content.cloneNode(!0)),g.set(this,Array.from(function*(e){let t,i=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,null,!1);for(;t=i.nextNode();)if(t instanceof Element&&t.hasAttributes())for(let e=0;e<t.attributes.length;e+=1){let i=t.attributes.item(e);if(i&&i.value.includes("{{")){let e=new l(t,i);for(let t of s(i.value))if("string"===t.type)e.append(t.value);else{let i=new o(e,t.value);e.append(i),yield i}}}else if(t instanceof Text&&t.textContent&&t.textContent.includes("{{")){let e=s(t.textContent);for(let i=0;i<e.length;i+=1){let n=e[i];n.end<t.textContent.length&&t.splitText(n.end),"part"===n.type&&(yield new u(t,n.value));break}}}(this))),f.set(this,i),null==(r=(n=f.get(this)).createCallback)||r.call(n,this,g.get(this),t),f.get(this).processCallback(this,g.get(this),t)}update(e){f.get(this).processCallback(this,g.get(this),e)}}let v=new WeakMap,y=new WeakMap,w=new WeakMap;class E{constructor(e,t,i){this.strings=e,this.values=t,this.processor=i}static setCSPTrustedTypesPolicy(e){E.cspTrustedTypesPolicy=e}get template(){var e,t;if(v.has(this.strings))return v.get(this.strings);{let i=document.createElement("template"),n=this.strings.length-1,s=this.strings.reduce((e,t,i)=>e+t+(i<n?`{{ ${i} }}`:""),"");return i.innerHTML=null!=(t=null==(e=E.cspTrustedTypesPolicy)?void 0:e.createHTML(s))?t:s,v.set(this.strings,i),i}}renderInto(e){let t=this.template;if(y.get(e)!==t){y.set(e,t);let i=new b(t,this.values,this.processor);w.set(e,i),e instanceof u?e.replace(...i.children):e.appendChild(i);return}w.get(e).update(this.values)}}function k(e,t){e.renderInto(t)}E.cspTrustedTypesPolicy=null;let S=new WeakSet;function A(e){return(...t)=>{let i=e(...t);return S.add(i),i}}let x=new WeakMap;class T{constructor(e,t){this.element=e,this.type=t,this.element.addEventListener(this.type,this),x.get(this.element).set(this.type,this)}set(e){"function"==typeof e?this.handleEvent=e.bind(this.element):"object"==typeof e&&"function"==typeof e.handleEvent?this.handleEvent=e.handleEvent.bind(e):(this.element.removeEventListener(this.type,this),x.get(this.element).delete(this.type))}static for(e){x.has(e.element)||x.set(e.element,new Map);let t=e.attributeName.slice(2),i=x.get(e.element);return i.has(t)?i.get(t):new T(e.element,t)}}function C(e,t){S.has(t)&&(t(e),1)||p(e,t)||e instanceof o&&e.attributeName.startsWith("on")&&(T.for(e).set(t),e.element.removeAttributeNS(e.attributeNamespace,e.attributeName),1)||t instanceof E&&e instanceof u&&(t.renderInto(e),1)||t instanceof DocumentFragment&&e instanceof u&&(t.childNodes.length&&e.replace(...t.childNodes),1)||function(e,t){if(!("object"==typeof t&&Symbol.iterator in t))return!1;if(!(e instanceof u))return e.value=Array.from(t).join(" "),!0;{let i=[];for(let e of t)if(e instanceof E){let t=document.createDocumentFragment();e.renderInto(t),i.push(...t.childNodes)}else e instanceof DocumentFragment?i.push(...e.childNodes):i.push(String(e));return i.length&&e.replace(...i),!0}}(e,t)||d(e,t)}let I=h(C);function L(e,...t){return new E(e,t,I)}let _=new WeakMap;A((...e)=>t=>{_.has(t)||_.set(t,{i:e.length});let i=_.get(t);for(let n=0;n<e.length;n+=1)e[n]instanceof Promise?Promise.resolve(e[n]).then(e=>{n<i.i&&(i.i=n,C(t,e))}):n<=i.i&&(i.i=n,C(t,e[n]))});let O=A(e=>t=>{var i,n;if(!(t instanceof u))return;let s=document.createElement("template");s.innerHTML=null!=(n=null==(i=E.cspTrustedTypesPolicy)?void 0:i.createHTML(e))?n:e;let r=document.importNode(s.content,!0);t.replace(...r.childNodes)})}}]);
//# sourceMappingURL=62758-a82ebda28357a9b1-4c964e9117e2fd76.js.mapӘ