PageSourceSearch

https://tropicallinkcanada.ca/cdn/shopifycloud/checkout-web/assets/c1/7d468a18.DQfDGoni.js

js tropicallinkcanada.ca collected 2026-10-04 02:31:59 UTC 2,499 bytes, 1 lines download raw bytes

1import{u as r,S as e}from"./2c1ab0fe.GMbxnz74.js";import{L as t,a9 as n,aa as i,c as l,J as c,ab as a,H as o}from"./164ad2e3.B4L1MRYB.js";import{S as s}from"./4c290a1e.DMQ9xOwP.js";import"./9f047e05.DwjCPgK0.js";import"./app.DGSHpWaV.js";import"./0a7dffce.BcNpdEJk.js";import"./5fda1420.BLaDhoyL.js";import"./60a453ce.Cg9T1Gj2.js";import"./21cc90a2.Ccyorzx_.js";import"./bb728e1c.CHt2JlPY.js";function u(r,{relativeUrlBase:e}={}){const t=function(r){if(!r)return null;if("string"!=typeof r)return r;try{const e=JSON.parse(r);return d(e)?e:null}catch{return null}}(r);return t?f(t,p(t),e):null}function d(r){return"object"==typeof r&&null!==r&&"type"in r&&"string"==typeof r.type}function h(t,n,i){return Array.isArray(t)?t.filter(d).map((t,l)=>r(e,{children:f(t,n,i)},l)):null}function f(n,i,l){switch(n.type){case"root":return r(e,{children:h(n.children,i,l)});case"paragraph":return r("p",{children:h(n.children,i,l)});case"heading":{const e=`h${function(r,e){const t=m(r)??e??1,n=e??t;return Math.min(6,4+Math.max(0,t-n))}(n.level,i)}`;return r(e,{children:h(n.children,i,l)})}case"list":return"ordered"===n.listType?r("ol",{children:h(n.children,i,l)}):r("ul",{children:h(n.children,i,l)});case"list-item":return r("li",{children:h(n.children,i,l)});case"link":{const c=function(r,e){if(r.startsWith("/")&&!r.startsWith("//")){if(!e)return null;try{return new URL(r,e).href}catch{return null}}let t;try{t=new URL(r)}catch{return null}return"http:"===t.protocol||"https:"===t.protocol?t.href:null}(n.url,l);return c?r(t,{href:c,target:"_blank"===n.target?"_blank":"auto",children:h(n.children,i,l)}):r(e,{children:h(n.children,i,l)})}case"text":return function(e){let t=e.value;return e.italic&&(t=r("em",{children:t})),e.bold&&(t=r("strong",{children:t})),t}(n);default:return null}}function p(r){let e="heading"===r.type?m(r.level):void 0;if("children"in r&&Array.isArray(r.children))for(const t of r.children){if(!d(t))continue;const r=p(t);void 0!==r&&(void 0===e||r<e)&&(e=r)}return e}function m(r){return void 0!==r&&r>=1&&r<=6?r:void 0}function g({content:e}){const{url:t}=s();return r(n,{children:u(e,{relativeUrlBase:t.storefront()})})}function y({disclosures:e}){return r(l,{gap:"large-200",children:e.map(e=>r(i,{children:r(l,{gap:"small-200",children:[r(c,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"center",children:[r(a,{disclosure:e,size:"large"}),r(o,{level:2,children:e.title})]}),r(i,{children:r(g,{content:e.content})})]})},e.id))})}export{y as default};

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.