PageSourceSearch

https://www.petxl.no/static/js/CheckoutNavbar.32903d45.chunk.js

js petxl.no collected 2026-10-10 02:13:51 UTC 11,067 bytes, 2 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3525],{13292:(t,e,n)=>{"use strict";var r=n(15360),o=n.n(r);o().string,o().oneOf(["flex-start","center","flex-end","stretch","space-between","space-around","space-evenly"]),o().oneOf(["normal","stretch","center","flex-start","flex-end"]),o().oneOf(["left","center","right"]),o().oneOf(["top","center","bottom"]),o().object,o().string},86386:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r,o=n(22119),l=(n(72176),n(53661)),i=(n(13292),n(36788)),s=n(80812);const c=(0,i.A)("div",{shouldForwardProp:t=>-1===["backgroundColor"].indexOf(t)})(r||(r=(0,o.A)(["\n    width: 100%;\n    height: 100%;\n    background-color: ",";\n"])),(t=>{let{backgroundColor:e}=t;return e})),a=t=>{let{color:e,children:n,...r}=t;const{colors:o}=(0,l.DP)(),i=o[e]||o.white;return(0,s.jsx)(c,{backgroundColor:i,...r,children:n})};a.defaultProps={color:"white"};const d=a},76802:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>P});var r,o=n(22119),l=(n(72176),n(89764)),i=n(46548),s=n(83758),c=n(58329),a=n(36788),d=n(54882),u=n(66086),h=n(42003),p=n(29372),x=n(97132),f=n(86386),g=n(80812);const v=(0,a.A)("div")(r||(r=(0,o.A)(["\n    text-align: center;\n    padding: 12px;\n"]))),m=t=>{let{backgroundColor:e,textColor:n,text:r}=t;return null!==r&&void 0!==r&&r.length?(0,g.jsx)(f.A,{color:(0,x.A)(e),children:(0,g.jsx)(v,{color:(0,x.A)(n),children:(0,g.jsx)(p.A,{data:r,textComponent:t=>(0,g.jsx)(h.A,{textStyles:["Rohn/12-120 Regular",null,null,"Rohn/14-120 Regular"],...t})})})}):null};var A,b,y,j,w;const O=(0,a.A)("header")(A||(A=(0,o.A)(["\n    position: sticky;\n    top: 0;\n    z-index: 10000;\n    width: 100%;\n    pointer-events: none;\n"]))),C=(0,a.A)("div")(b||(b=(0,o.A)(["\n    display: flex;\n    width: 100%;\n    flex-direction: column;\n    z-index: 10000;\n    pointer-events: initial;\n    box-shadow: 0px 2px 8px 0px ","1a;\n    background-color: ",";\n    border-radius: 0 0 8px 8px;\n    overflow: hidden;\n"])),(t=>{let{theme:e}=t;return e.colors.black}),(t=>{let{theme:e}=t;return e.colors.lightGreige})),_=(0,a.A)("div")(y||(y=(0,o.A)(["\n    display: flex;\n    justify-content: space-between;\n    width: 100%;\n    padding: 12px;\n\n    "," {\n        padding: 8px 12px;\n    }\n"])),(t=>{let{theme:e}=t;return e.above.mobileLg})),k=(0,a.A)("div")(j||(j=(0,o.A)(["\n    display: flex;\n\n    "," {\n        flex: 0 0 20%;\n    }\n"])),(t=>{let{theme:e}=t;return e.above.desktopSm})),T=(0,a.A)(c.A)(w||(w=(0,o.A)(["\n    display: flex;\n    align-items: center;
1\n"]))),P=()=>{const t=(0,s.G)((t=>{let{checkout:e}=t;return e.isLoading})),e=(0,s.G)((t=>{let{checkout:e}=t;return e.isRecreatingSubscription})),{t:n}=(0,l.Bd)(),r=(0,i.d4)((t=>{let{application:e}=t;return e.locale})),{background_color:o,enabled:a,text:p,text_color:x}=(0,i.d4)((t=>{var e,n;let{page:r}=t;return null===(e=r.data)||void 0===e||null===(n=e.checkout)||void 0===n?void 0:n.checkout_banner}))||{},f=u.A[r],{company_name:v}=(0,i.d4)((t=>{var e,n,r;let{application:o}=t;return null===o||void 0===o||null===(e=o.config)||void 0===e||null===(n=e.options)||void 0===n||null===(r=n.company_data)||void 0===r?void 0:r.organization}));return(0,g.jsx)(O,{children:(0,g.jsxs)(C,{children:[(0,g.jsxs)(_,{children:[(0,g.jsx)(k,{justifyContent:"flex-start",children:(0,g.jsx)(c.A,{"aria-label":v,to:t||e?null:"/",children:(0,g.jsx)(f,{height:["24px",null,"32px"],width:"auto"})})}),(0,g.jsx)(h.A,{display:["none",null,null,"initial"],my:"auto",textStyles:"Rohn/16-120 SemiBold",children:n("checkout.heading")}),(0,g.jsx)(k,{justifyContent:"flex-end",children:!t&&!e&&(0,g.jsxs)(T,{to:"/",children:[(0,g.jsx)(d.A,{mr:"8px",height:"12px",width:"12px",direction:"right"}),(0,g.jsx)(h.A,{textStyles:"Open Sans/16-120 SemiBold",children:n("checkout.continue_shopping")})]})})]}),a&&!e&&(0,g.jsx)(m,{backgroundColor:o,text:p,textColor:x})]})})}},66170:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(15360),o=n.n(r);const l=(0,n(36788).A)("svg")();l.propTypes={height:o().oneOfType([o().string,o().arrayOf(o().string)]).isRequired,viewBox:o().string.isRequired,width:o().oneOfType([o().string,o().arrayOf(o().string)]),xmlns:o().string},l.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:""};const i=l},29372:(t,e,n)=>{"use strict";n.d(e,{A:()=>W});var r,o=n(72176),l=n(22119),i=n(36788),s=n(80812);const c=(0,i.A)("strong")(r||(r=(0,l.A)(["\n    font-weight: 600;\n"]))),a=t=>{let{children:e}=t;return(0,s.jsx)(c,{children:e})};var d;const u=(0,i.A)("h1")(d||(d=(0,l.A)(["\n    font-weight: 600;\n"]))),h=t=>{let{children:e}=t;return(0,s.jsx)(u,{children:e})};var p;const x=(0,i.A)("h2")(p||(p=(0,l.A)(["\n    font-weight: 600;\n"]))),f=t=>{let{children:e}=t;return(0,s.jsx)(x,{children:e})};var g;const v=(0,i.A)("h3")(g||(g=(0,l.A)(["\n    font-weight: 600;\n"]))),m=t=>{let{children:e}=t;return(0,s.jsx)(v,{children:e})};var A;const b=(0,i.A)("h4")(A||(A=(0,l.A)(["\n    font-weight: 600;\n"]))),y=t=>{let{children:e}=t;return(0,s.jsx)(b,{children:e})};var j;const w=(0,i.A)("h5")(j||(j=(0,l.A)(["\n    font-weight: 600;\n"]))),O=t=>{let{children:e}=t;return(0,s.jsx)(w,{children:e})};var C;const _=(0,i.A)("h6")(C||(C=(0,l.A)(["\n    font-weight: 600;\n"]))),k=t=>{let{children:e}=t;return(0,s.jsx)(_,{children:e})},T=t=>{let{children:e}=t;return(0,s.jsx)("em",{children:e})};var P=n(42003);const E=t=>{let{children:e}=t;return(0,s.jsx)("li",{children:(0,s.jsx)(P.A,{as:"span",textStyles:"Quicksand/16-140 Medium",children:e})})};var S,R=n(86805);const I=(0,i.A)("ol")(S||(S=(0,l.A)(["\n    padding-left: 24px;\n    & > li {\n        margin-top: 12px;\n    }\n"]))),L=t=>{let{children:e}=t;const n=(0,R.A)("Rohn/16-140 Medium");return(0,s.jsx)(I,{...n,children:e})},B=t=>{let{attrs:e,children:n}=t;return(0,s.jsx)("span",{...e,children:n})};B.defaultProps={attrs:void 0,children:void 0};const D=B,N=t=>{let{children:e}=t;return(0,s.jsx)("u",{children:e})};var K;const U=(0,i.A)("ul")(K||(K=(0,l.A)(["\n    margin-left: 8px;\n    & > li {\n        margin-left: 1em;\n    }\n"]))),q=t=>{let{children:e}=t;return(0,s.jsx)(U,{children:e})};var V,z=n(58329);const F=(0,i.A)(z.A)(V||(V=(0,l.A)(["\n    color: inherit;\n    text-decoration: underline;\n"]))),G=t=>{let{attrs:e,children:n}=t;return(0,s.jsxs)(F,{to:e["data-url"],tabIndex:e.tabIndex,children:[n," "]})};class H extends o.PureComponent{constructor(t){var e;super(t),e=this,this.validTags=[],this.getComponent=t=>{if(-1!==this.validTags.indexOf(t)){const e=this.props.tagComponents[t];return e||null}return null},this.renderContent=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=t;if(0===r&&(o[n]||(o[n]=[])),void 0!==t){if(Array.isArray(t))i=t.map(((t,l)=>e.renderContent(t,n,r+1,o,l)));else if("object"===typeof t){const c=e.getComponent(t.tag);c?(o[n].push(t.tag),i=(0,s.jsx)(c,{attrs:t.attributes,children:e.renderContent(t.content,n,r+1,o)},"".concat(n,".").concat(r,".").concat(l))):i=e.renderContent(t.content,n,r+1,o)}const c=["ol","ul","h1","h2","h3","h4","h5","h6"];if(0===r&&!o[n].filter((t=>-1!==c.indexOf(t))).length){const t=e.props.textComponent;return(0,s.jsx)(t,{children:i})}return i}},this.validTags=Object.keys(t.tagComponents)}render(){let{data:t}=this.props;return"string"===typeof t&&(t=t.split("\n")),t.map(((t,e)=>(0,s.jsx)(o.Fragment,{children:this.renderContent(t,e)},e)))}}H.defaultProps={tagComponents:{}};const M=t=>{let{data:e,validTags:n=["url","i","b","u","ul","ol","li","h1","h2","h3","h4","h5","h6"],tagComponents:r={},textComponent:o=(t=>{let{children:e}=t;return(0,s.jsx)("p",{style:{margin:"0"},children:e})})}=t;const l={url:G,i:T,b:a,u:N,ul:q,ol:L,li:E,span:D,h1:h,h2:f,h3:m,h4:y,h5:O,h6:k,...r},i={};
1return n.forEach((t=>{l[t]&&(i[t]=l[t])})),(0,s.jsx)(H,{data:e,textComponent:o,tagComponents:i})};M.defaultProps={tagComponents:{},textComponent:t=>(0,s.jsx)("p",{...t}),validTags:["url","i","b","u","ul","ol","li","h1","h2","h3","h4","h5","h6"]};const W=M},50053:(t,e,n)=>{"use strict";n.d(e,{Vq:()=>x});var r=n(72176),o=(n(64885),n(58885)),l=function(){return l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},l.apply(this,arguments)};var i="",s=null,c=null,a=null;function d(){i="",null!==s&&s.disconnect(),null!==c&&(window.clearTimeout(c),c=null)}function u(t){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(t.tagName)&&!t.hasAttribute("disabled")||["A","AREA"].includes(t.tagName)&&t.hasAttribute("href")}function h(){var t=null;if("#"===i)t=document.body;else{var e=i.replace("#","");null===(t=document.getElementById(e))&&"#top"===i&&(t=document.body)}if(null!==t){a(t);var n=t.getAttribute("tabindex");return null!==n||u(t)||t.setAttribute("tabindex",-1),t.focus({preventScroll:!0}),null!==n||u(t)||(t.blur(),t.removeAttribute("tabindex")),d(),!0}return!1}function p(t){return r.forwardRef((function(e,n){var u="";"string"===typeof e.to&&e.to.includes("#")?u="#"+e.to.split("#").slice(1).join("#"):"object"===typeof e.to&&"string"===typeof e.to.hash&&(u=e.to.hash);var p={};t===o.k2&&(p.isActive=function(t,e){return t&&t.isExact&&e.hash===u});var x=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(e,["scroll","smooth","timeout","elementId"]);return r.createElement(t,l({},p,x,{onClick:function(t){var n;d(),i=e.elementId?"#"+e.elementId:u,e.onClick&&e.onClick(t),""===i||t.defaultPrevented||0!==t.button||e.target&&"_self"!==e.target||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(a=e.scroll||function(t){return e.smooth?t.scrollIntoView({behavior:"smooth"}):t.scrollIntoView()},n=e.timeout,window.setTimeout((function(){!1===h()&&(null===s&&(s=new MutationObserver(h)),s.observe(document,{attributes:!0,childList:!0,subtree:!0}),c=window.setTimeout((function(){d()}),n||1e4))}),0))},ref:n}),e.children)}))}var x=p(o.N_);p(o.k2)},48377:(t,e,n)=>{"use strict";var r=n(3746);function o(){}function l(){}l.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,l,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:l,resetWarningCache:o};return n.PropTypes=n,n}},64885:(t,e,n)=>{t.exports=n(48377)()},3746:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
2//# sourceMappingURL=CheckoutNavbar.32903d45.chunk.js.map

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.