PageSourceSearch

https://varillisetpiilolinssit.fi/cdn/shopifycloud/checkout-web/assets/c1/dada7e07.DLvpJNXh.js

js varillisetpiilolinssit.fi collected 2026-10-10 01:56:47 UTC 2,381 bytes, 1 lines download raw bytes

1import{y as e,ah as n}from"./4b4bc88f.DkycdxSK.js";const t=1;class r extends Error{constructor(e){super(`Unknown event type: ${e}`),this.name="UnknownEventTypeError"}}function o(n){return{shopId:e(n.shopId),checkoutToken:n.checkoutSessionIdentifier?e(n.checkoutSessionIdentifier):void 0,customerId:n.customerId?e(n.customerId):void 0}}function a(t,a){try{switch(t.eventTypeName){case"shopify.apps.app_runtime.AppRuntimeClientEvent":return function(t,a){switch(t.type){case"UI_EXTENSION_ERROR":return function(t,r){const a=n(t.extensionTarget);return{event:{eventTypeName:t.eventTypeName,type:t.type,apiVersion:t.apiVersion,appId:e(t.appId),appApiKey:t.appApiKey,appVersion:t.appVersion,code:t.code,errorName:t.errorName,extensionId:t.extensionId?e(t.extensionId):void 0,registrationId:t.registrationId,message:t.message,schemaVersion:t.schemaVersion,extensionTarget:a,placementReference:t.placementReference,context:t.context},context:o(r),__brand:"PreparedEventRefineryPayload"}}(t,a);case"UI_EXTENSION_MOUNT_START":case"UI_EXTENSION_MOUNT_END":return function(t,r){const a=n(t.extensionTarget);return{event:{...t,appId:e(t.appId),extensionId:t.extensionId?e(t.extensionId):void 0,extensionTarget:a},context:o(r),__brand:"PreparedEventRefineryPayload"}}(t,a);case"UI_EXTENSION_FETCH":return function(t,r){const a=n(t.extensionTarget);return{event:{eventTypeName:t.eventTypeName,type:t.type,apiVersion:t.apiVersion,appId:e(t.appId),appApiKey:t.appApiKey,appVersion:t.appVersion,extensionId:t.extensionId?e(t.extensionId):void 0,registrationId:t.registrationId,extensionTarget:a,placementReference:t.placementReference,durationMs:t.durationMs,httpStatus:t.httpStatus,httpMethod:t.httpMethod,requestUrl:t.requestUrl,context:t.context},context:o(r),__brand:"PreparedEventRefineryPayload"}}(t,a);default:throw new r(t.type)}}(t,a);case"shopify.event.BuyerEvent":return function(e,n){return{event:{eventTypeName:e.eventTypeName,type:e.type,checkoutToken:e.checkoutToken},context:o(n),__brand:"PreparedEventRefineryPayload"}}(t,a);case"shopify.advertising.incentives.IncentivePresentedEvent":case"shopify.checkout.payment_approvals.AgentPaymentApprovalEnteredEvent":return function(e,n){return{event:e,context:o(n),__brand:"PreparedEventRefineryPayload"}}(t,a);default:throw new r(t.eventTypeName)}}catch(p){return{__brand:"PreparedEventRefineryPayload",error:p}}}export{t as A,a as c};

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.