PageSourceSearch

https://www.haier-europe.com/cs_CZ/cdn/shopifycloud/checkout-web/a…ds-consolidated-included-legacy.DrByqSiw.js

js haier-europe.com collected 2026-09-24 17:38:56 UTC 4,662 bytes, 1 lines download raw bytes

1!function(){function e(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){t(n,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}function t(e,n,t){return(n=function(e){var n=function(e){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof n?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}System.register(["./esnext-vendor-legacy.q2Oy34BX.js","./addresses-is-address-empty-legacy.TVJr8s2s.js","./hydrate-legacy.jop_EQoT.js"],(function(e,t){"use strict";var r,o,i,a,s,l,d,u,p,c,h,m,f,v;return{setters:[e=>{r=e.f},e=>{o=e.n,i=e.N,a=e.$,s=e.aA,l=e.aW,d=e.aG,u=e.aX,p=e.aY,c=e.aZ,h=e.a_,m=e.a$},e=>{f=e.aD,v=e.ag}],execute:function(){function t(e){if(void 0===e)return;if("number"==typeof e)return{lower:e,upper:e};const{lower:n,upper:t}=e;return void 0!==n&&void 0!==t?{lower:n,upper:t}:void 0}function g(e){let n,r;for(const{estimatedTimeInTransit:o}of e){const e=t(o);if(!e)return;n=void 0===n?e.lower:Math.min(n,e.lower),r=void 0===r?e.upper:Math.max(r,e.upper)}if(void 0!==n&&void 0!==r)return n===r?n:{lower:n,upper:r}}function b(e,n){if(!e)return`unresolved:${n}`;const t=e.deliveryPresentationGroupToken;return t?`token:${t}`:`no-token:${n}:${e.handle}`}function S(e){const t=new Map;return e.forEach((({line:e,method:n},r)=>{var o;const i=b(n,null!==(o=e.id)&&void 0!==o?o:`index-${r}`);let a=t.get(i);a||(a={key:i,methods:[],merchandiseLines:[],mergedTimeInTransit:void 0,availableOn:e.availableOn},t.set(i,a)),n&&a.methods.push(n),e.targetMerchandiseLines&&a.merchandiseLines.push(...e.targetMerchandiseLines)})),[...t.values()].map((e=>n(n({},e),{},{merchandiseLines:f(e.merchandiseLines),mergedTimeInTransit:g(e.methods)})))}function y({line:e,method:n}){return n?"SHIPPING"===n.methodType||"LOCAL"===n.methodType:0===e.methods.length||e.methods.some((({methodType:e})=>"SHIPPING"===e||"LOCAL"===e))}function O({line:e,method:n,localShopId:t,marketDrivenShippingEnabled:r,remoteShopsConfigMap:o,remoteMerchandiseDetails:i}){const a=m(n);if(!a)return;const s=M(e,i,t);return function({lineShopId:e,localShopId:n,marketDrivenShippingEnabled:t,remoteShopsConfigMap:r,method:o}){if(e===n)return t;const i=null==r?void 0:r.get(e);return i?i.marketDrivenShippingEnabled:!!o&&Boolean(m(o))}({lineShopId:s,localShopId:t,marketDrivenShippingEnabled:r,remoteShopsConfigMap:o,method:n})?`${s}:${a}`:void 0}function M(e,n,t){var r;const o=null===(r=e.targetMerchandiseLines)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.stableId;return o&&(null==n?void 0:n.stableIdToShopId.get(o))||t}e({a:function(e){return n(n({},e),{},{included:!0})},b:function(e){const n=e.map((e=>({line:e,method:o(e)}))),t=n.filter(y);return{groups:S(t),nonShippableCount:n.length-t.length}},c:S,i:y,m:g,o:function(e,n){return[...e.filter((e=>!n(e))),...e.filter(n)]},r:O,s:b,u:function(){const{shop:{id:e,marketDrivenShippingEnabled:t,remoteShopsConfigMap:o}}=i(),{deliveryNext:f,remoteMerchandiseDetails:g}=a(),{parts:b}=s();return r((()=>{const r={includedMethods:new Set,total:void 0,presentsConsolidatedShipping:!1,groups:[]},i=f.value;if(!i||"filled"!==i.status)return r;const{oneTimePurchaseLines:a}=v(l(i).filter(d));if(a.length<2)return r;const s=(n,r)=>O({line:n,method:r,localShopId:e,marketDrivenShippingEnabled:t,remoteShopsConfigMap:o,remoteMerchandiseDetails:g.value}),D=a.some((n=>function({line:e,localShopId:n,marketDrivenShippingEnabled:t,remoteShopsConfigMap:r,remoteMerchandiseDetails:o}){const i=M(e,o,n);if(i===n)return t;const a=null==r?void 0:r.get(i);return a?a.marketDrivenShippingEnabled:e.methods.some((e=>Boolean(m(e))))}({line:n,localShopId:e,marketDrivenShippingEnabled:t,remoteShopsConfigMap:o,remoteMerchandiseDetails:g.value})));if(!D)return r;const I=u(b.deliveryLines.value),j=p(a,I),w=j.filter((e=>Boolean(e.method))),P=w.length===a.length?c(w.map((({line:e,method:t})=>n(n({},t),{},{amountCombinabilityToken:s(e,t)})))):void 0,k=S(j.filter(y));return{includedMethods:h(a,j,s),total:P,presentsConsolidatedShipping:D,groups:k}}))}})}}}))}();

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.