1(()=>{"use strict";function e(e){let t=e;return"string"==typeof t?(t=parseFloat(t),isNaN(t)&&(t=0)):"number"!=typeof t&&(t=0),t=parseFloat(t.toFixed(2)),t}function t(t,n=["productlink","internal_id"]){try{const o=JSON.parse(t);if(o){if(o.price&&(o.price=e(o.price)),n&&n.length>0){const e=n.length;for(let t=0;t<e;t++)delete o[n[t]]}return o}}catch(e){console&&console.error&&console.error(e.message)}return!1}const n="gtm4wp_item_list_attr";function o(){try{const e=function(e){const t=("; "+document.cookie).split("; "+e+"=");return 2===t.length?t.pop().split(";").shift():""}(n);if(!e)return{};const t=JSON.parse(decodeURIComponent(e));return t&&"object"==typeof t?t:{}}catch(e){return{}}}function i(e,t){if(!e||!t||e.item_list_name)return e;const n=o()[t];return n&&n.item_list_name&&(e.item_list_name=n.item_list_name,n.item_list_id&&(e.item_list_id=n.item_list_id)),e}window.gtm4wp_make_sure_is_float=e,window.gtm4wp_push_ecommerce=function(e,t,n,o=!1,i=2e3){const r=n||{};r.items=t,gtm4wp_clear_ecommerce&&window[gtm4wp_datalayer_name].push({ecommerce:null});const s={event:e,ecommerce:r};o&&(s.eventCallback=o,s.eventTimeout=i),"undefined"!=typeof gtm4wp_console_log&>m4wp_console_log&&"undefined"!=typeof console&&console.log&&console.log("[GTM4WP] Pushing ecommerce event: "+e,s),window[gtm4wp_datalayer_name].push(s)},window.gtm4wp_read_from_json=t,window.gtm4wp_read_json_from_node=function(e,n,o=["productlink","internal_id"]){return!!(e&&e.dataset&&e.dataset[n])&&t(e.dataset[n],o)},window.gtm4wp_update_json_in_node=function(t,n,o,i){if(t&&t.dataset&&t.dataset[n])try{const r=JSON.parse(t.dataset[n]);if(r)return r.price&&(r.price=e(r.price)),r[o]=i,t.dataset[n]=JSON.stringify(r),!0}catch(e){console&&console.error&&console.error(e.message)}return!1},window.gtm4wp_read_item_list_cookie=o,window.gtm4wp_store_item_list_attribution=function(e,t,i){if(!e||!t)return;const r=o();delete r[e];const s=e=>r[e]&&parseInt(r[e].t,10)||0,c=Object.keys(r).sort((e,t)=>s(e)-s(t));for(;c.length>=20;)delete r[c.shift()];const m=Object.keys(r).reduce((e,t)=>Math.max(e,s(t)),0)+1;r[e]={item_list_name:t,t:m},i&&(r[e].item_list_id=i);const _=e=>21+e.length<=3900;let a=encodeURIComponent(JSON.stringify(r));for(;!_(a)&&c.length;)delete r[c.shift()],a=encodeURIComponent(JSON.stringify(r));_(a)&&function(e,t,n,o=!1){const i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),document.cookie=e+"="+t+";expires="+i.toUTCString()+";path=/"+(o?";SameSite=Lax":"")}(n,a,3,!0)},window.gtm4wp_apply_stored_item_list=i,window.gtm4wp_apply_stored_item_list_to_event=function(e,t){try{const n=e&&e.ecommerce&&Array.isArray(e.ecommerce.items)?e.ecommerce.items[0]:null;n&&i(n,t)}catch(e){}return e}})();
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.