PageSourceSearch

https://www.absinth-alandia.de/cdn/shopifycloud/checkout-web/assets/c1/27f09e31.DahwbqDd.js

js absinth-alandia.de collected 2026-10-03 00:43:21 UTC 6,844 bytes, 1 lines download raw bytes

1import{A as e,d as t,e as n,g as r,h as i,K as o,i as s,k as c,y as a,n as l,u as d,S as u,N as p,l as f,m,r as h}from"./2c1ab0fe.GMbxnz74.js";import{R as v}from"./66338e00.BFkksh37.js";const g=0,b=1,y=2,w=3,k="~";function $(o,s){const c=new Map;function a(e){for(const t of e){const[e,n]=t;switch(e){case 0:l(n,t[2],t[3]);break;case 1:d(n,t[2])}}o.mutate(e)}function l(e,t,n){if(c.has(e)||c.set(e,[]),c.get(e).splice(n,0,{id:t.id,slot:"attributes"in t?t.attributes?.slot:void 0}),"children"in t&&t.children)for(const[r,i]of t.children.entries())l(t.id,i,r)}function d(e,t){const n=c.get(e);if(!n?.[t])return;const r=n[t].id;n.splice(t,1),u(r)}function u(e){const t=c.get(e);if(t){for(const e of t)u(e.id);c.delete(e)}}return function(o,...l){switch(o){case i:{const[e]=l;a(e.map((e,t)=>[0,k,x(e,s),t]));break}case r:{const[e=k,t,n]=l,r=[],i=c.get(e);if(i){const t=i.findIndex(({id:e})=>e===n.id);t>=0&&r.push([1,e,t])}r.push([0,e,x(n,s),t]),a(r);break}case n:{const[e,t]=l;a([[1,e??k,t]]);break}case t:{const[e,t]=l;a([[2,e,t]]);break}case e:{const[e,t]=l,n=c.get(e),r=[];for(const[i,o]of Object.entries(t)){const t=n?.findIndex(({slot:e})=>e===i)??-1;N(o)?(t>=0&&r.push([1,e,t]),r.push([0,e,P(i,o,s),c.get(e)?.length??0])):t>=0?r.push([1,e,t]):r.push([3,e,i,o])}a(r);break}default:throw new Error(`Unsupported action type: ${o}`)}}}function x(e,t){switch(e.kind){case c:return function({id:e,text:t}){return{id:e,type:3,data:t}}(e);case s:return function({id:e,type:t,props:n,children:r},i){const o=i?.elements?.[t]??t,[s,c]=function(e){const t={},n={};for(const[r,i]of Object.entries(e))N(i)?t[r]=i:n[r]=i;return[t,n]}(n);return{id:e,type:1,element:o,properties:c,children:[...r.map(e=>x(e,i)),...j(s,i)]}}(e,t);default:return{id:e.id,type:8,data:"added by remote-ui legacy adaptor to replace a fragment rendered as a child"}}}function N(e){return null!=e&&"object"==typeof e&&"kind"in e&&e.kind===o}function j(e,t){return Object.entries(e).map(([e,n])=>P(e,n,t))}function P(e,t,n){return{id:t.id,element:n?.slotProps?.wrapper??"remote-fragment",attributes:{slot:e},type:1,children:t.children.map(e=>x(e,n))}}class C{root=(()=>({id:k,type:9,properties:a({}),attributes:a({}),eventListeners:a({}),children:a([])}))();attached=(()=>new Map([[k,this.root]]))();parents=(()=>new Map)();implementations=(()=>new Map)();constructor({retain:e,release:t}={}){const{attached:n,parents:r}=this,i=function({call:e,insertChild:t,removeChild:n,updateText:r,updateProperty:i}){const o={[g]:t,[b]:n,[y]:r,[w]:i};return{call:e,mutate(e){for(const[t,...n]of e)o[t](...n)}}}({call:(e,t,...n)=>{const r=this.implementations.get(e),i=r?.[t];if("function"!=typeof i)throw new Error(`Node ${e} does not implement the ${t}() method`);return i(...n)},insertChild:(e,t,r)=>{const i=n.get(e);if(!i)return;const s=[...i.children.peek()],c=o(t,i);r===s.length?s.push(c):s.splice(r,0,c),i.children.value=s},removeChild:(e,t)=>{const r=n.get(e);if(!r)return;const i=[...r.children.peek()],[o]=i.splice(t,1);o&&(r.children.value=i,s(o))},updateProperty:(r,i,o,s=1)=>{const c=n.get(r);if(!c)return;let a;switch(s){case 1:a=c.properties;break;case 2:a=c.attributes;break;case 3:a=c.eventListeners}const l=a.peek(),d=l[i];if(Object.is(d,o))return;e?.(o);const u={...l};if(u[i]=o,a.value=u,"slot"===i){const e=this.parents.get(r),t=null==e?e:n.get(e);t&&(t.children.value=[...t.children.peek()])}t?.(d)},updateText:(e,t)=>
1{const r=n.get(e);r&&(r.data.value=t)}});function o(t,i){let s;switch(t.type){case 3:case 8:{const{id:e,type:n,data:r}=t;s={id:e,type:n,data:a(r)};break}case 1:{const{id:n,type:r,element:i,children:c,properties:l,attributes:d,eventListeners:u}=t;e?.(l),e?.(u);const p=[];s={id:n,type:r,element:i,children:a(p),properties:a(l??{}),attributes:a(d??{}),eventListeners:a(u??{})};for(const e of c)p.push(o(e,s));break}default:throw new Error(`Unknown node type: ${JSON.stringify(t)}`)}return n.set(s.id,s),r.set(s.id,i.id),s}function s(e){if(n.delete(e.id),r.delete(e.id),t&&"properties"in e&&t(e.properties.peek()),"children"in e)for(const t of e.children.peek())s(t)}this.connection={call:i.call,mutate(e){l(()=>{i.mutate(e)})}}}implement({id:e},t){null==t?this.implementations.delete(e):this.implementations.set(e,t)}get({id:e}){return this.attached.get(e)}}function E(e,{receiver:t,components:n}){switch(e.type){case 1:{const r=n.get(e.element);if(null==r)throw new Error(`No component found for remote element: ${e.element}`);return d(r,{element:e,receiver:t,components:n},e.id)}case 3:return e.data;case 8:return null;default:throw new Error(`Unknown remote node type: ${String(e)}`)}}function O(e){return function(...t){if(1===t.length&&t[0]instanceof Event){const n=t[0];if(n.target!==n.currentTarget)return;return"detail"in n?e(n.detail):e()}return e(...t)}}const R=Symbol.for("remote-dom.element"),I=function(e){const{receiver:t}=e,n=t.root.children.value;return d(u,{children:n.map(t=>E(t,e))})},L=function(e,{name:t,eventProps:n}={}){const r=p(function({element:t,receiver:r,components:i}){const o=f(),{id:s}=t,c=function(e,t){if(!e)return;const{children:n,properties:r,attributes:i,eventListeners:o}=e,s=o.value,c=[],a={...r.value,...i.value};if(t.eventProps)for(const[l,d]of Object.entries(t.eventProps)){const e=d?.event;if(null==e)continue;const t=s[e];t&&(a[l]=O(t))}else for(const[l,d]of Object.entries(s))a[`on${l[0].toUpperCase()}${l.slice(1)}`]=O(d);for(const l of n.value){let e=1===l.type?l.attributes.peek().slot:void 0;if("string"!=typeof e&&(e=void 0),e){const n=E(l,t);a[e]=a[e]?d(u,{children:[a[e],n]}):n}else c.push(E(l,t))}return{...a,children:c}}(t,{receiver:r,components:i,eventProps:n});if(c[R]=t,null==o.current){const e={id:s,receiver:r};e.instanceRef=function(e){let t=null;return{get current(){return t},set current(n){t=n,e.receiver.implement(e,n)}}}(e),o.current=e}return o.current.id=s,o.current.receiver=r,m(()=>{const e={id:s};return r.implement(e,o.current?.instanceRef.current),()=>{r.implement(e,null)}},[s,r]),d(e,{ref:o.current.instanceRef,...c})});return r.displayName=t??`RemoteComponentRenderer(${e.displayName??e.name??"Component"})`,r},T=function({element:e,receiver:t,components:n}){const r={receiver:t,components:n};return d(u,{children:e.children.value.map(e=>E(e,r))})};class M extends C{constructor(e){super({retain:h,release:()=>{}});const t=this.connection.call;this.connection.call=(n,r,...i)=>{try{return t(n,r,...i)}catch(o){if(o instanceof Error&&o.message.includes("does not implement the")){const t=this.get({id:String(n)}),i=t&&"element"in t?t.element:void 0;throw new v(`${i?`Node ${n} (${i})`:`Node ${n}`} does not implement the ${r}() method. `,{metadata:{nodeId:n,method:r,nodeType:i,extensionId:e?.id,extensionName:e?.name,extensionTarget:e?.extensionPoint.target,appId:e?.appId,appName:e?.appName,apiVersion:e?.apiVersion}})}throw o}}}}export{M as L,I as R,$ as a,T as b,L as c,E as r};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.