PageSourceSearch

https://www.rexall.ca/_next/static/chunks/1e8dg7khnp_x8.js

js rexall.ca collected 2026-09-25 03:55:28 UTC 19,203 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34246,(e,t,r)=>{"use strict";e.i(99309),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(56421),i=e.r(93373),u=a._(e.r(40409)),l=e.r(71308),s=e.r(10801),c=e.r(36814),f=e.r(80670),d=e.r(26304),p=e.r(66522),m=e.r(24940),h=e.r(51361),g=e.r(34094);function y(t){var r;let n,o,a,[y,b]=(0,u.useOptimistic)(m.IDLE_LINK_STATUS),_=(0,u.useRef)(null),{href:w,as:C,children:E,prefetch:P=null,passHref:R,replace:x,shallow:k,scroll:S,onClick:O,onMouseEnter:N,onTouchStart:T,legacyBehavior:j=!1,onNavigate:A,transitionTypes:I,ref:$,unstable_dynamicOnHover:L,...U}=t;n=E,j&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let F=u.default.useContext(s.AppRouterContext),M=!1!==P,D=!1===P?"none":!0===P?"full":"auto",B="none"!==D?"auto"===D?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(r=C||w)?r:(0,l.formatUrl)(r);if(j){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=u.default.Children.only(n)}let z=j?o&&"object"==typeof o&&o.ref:$,V,W=u.default.useCallback(e=>(null!==F&&(_.current=(0,m.mountLinkInstance)(e,K,F,B,M,b,V)),()=>{_.current&&((0,m.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,m.unmountPrefetchableInstance)(e)}),[M,K,F,B,b,V]),H={ref:(0,c.useMergedRef)(W,z),onClick(t){j||"function"!=typeof O||O(t),j&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,o,a,i,l,s="none"){if("u">typeof window){let c,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(93732);u.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,s)})}}(t,K,_,x,S,A,I,D)},onMouseEnter(e){j||"function"!=typeof N||N(e),j&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),F&&M&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){j||"function"!=typeof T||T(e),j&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),F&&M&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,f.isAbsoluteUrl)(K)?H.href=K:j&&!R&&("a"!==o.type||"href"in o.props)||(H.href=(0,d.addBasePath)(K)),a=j?u.default.cloneElement(o,H):(0,i.jsx)("a",{...U,...H,children:n}),(0,i.jsx)(v.Provider,{value:y,children:a})}let v=(0,u.createContext)(m.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},36814,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(40409);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51361,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(80670),o=e.r(34917);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},81806,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},71308,(e,t,r)=>{"use strict";e.i(99309),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return u},formatWithValidation:function(){return s},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(56421)._(e.r(81806)),i=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${u}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return u(e)}},80670,(e,t,r)=>{"use strict";e.i(99309),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return _},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return f},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return C}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&u.test(e)};function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class y extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class _ extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function C(e){return JSON.stringify({message:e.message,stack:e.stack})}},16297,e=>{"use strict";var t=e.i(93373),r=e.i(40409),n=e.i(27218),o=e.i(62011);let a={margin:0},i={position:"absolute",width:1,height:1,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap"};function u({gate:e,testId:r,className:n,style:l,messageStyle:s}){let{recaptchaSiteKey:c}=(0,o.usePublicRuntimeConfig)();return 0===c.length?null:(0,t.jsxs)("div",{className:e.message?n:void 0,"data-testid":r,role:"status",style:e.message?{...a,...l,...s}:{...a,...i},children:[e.message,e.blocked&&e.blockedFallback?(0,t.jsxs)(t.Fragment,{children:[" ",e.blockedFallback]}):null]})}let l=(0,r.forwardRef)(function({gate:e,variant:r,testId:o,className:a,statusTestId:i,statusClassName:l,statusStyle:s,statusMessageStyle:c},f){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.InternalRecaptcha,{className:a,onChange:e.onToken,onError:e.onError,onReady:e.onReady,ref:f,testId:o,variant:r}),(0,t.jsx)(u,{className:l,gate:e,messageStyle:c,style:s,testId:i})]})});e.s(["GatedRecaptcha",0,l,"useRecaptchaGate",0,function(e={}){let{blockedFallback:t}=e,[n,o]=(0,r.useState)(!1),[a,i]=(0,r.useState)(null),[u,l]=(0,r.useState)(null),s=(0,r.useRef)(!1),c=(0,r.useCallback)(e=>{e.permanent&&(s.current=!0,o(!0)),i(e.message)},[]),f=(0,r.useCallback)(e=>{l(e),e&&(s.current=!1,o(!1),i(null))},[]),d=(0,r.useCallback)(()=>{s.current=!1,o(!1),i(null)},[]),p=(0,r.useCallback)((e,t)=>{s.current?e.preventDefault():t(e)},[]),m=(0,r.useMemo)(()=>n?{"aria-disabled":!0}:{},[n]);return{onError:c,onToken:f,onReady:d,token:u,blocked:n,message:a,blockedFallback:t,guardSubmit:p,submitButtonProps:m}}])},27218,26173,e=>{"use strict";var t=e.i(93373),r=e.i(40409);let n="The security check couldn't load — a content blocker may be interfering. Please allow google.com/recaptcha and refresh the page.",o="We couldn't load the security check. Please wait a moment and try again.";e.s(["RECAPTCHA_BLOCKED_COPY",0,n,"RECAPTCHA_REQUIRED_COPY",0,"Please complete the reCAPTCHA verification.","RECAPTCHA_TOKEN_FIELD",0,"recaptchaToken","RECAPTCHA_TRANSIENT_COPY",0,o],26173);var a=e.i(62011);let i="__rexallRecaptchaOnload",u=null;function l(){return window.grecaptcha?.render?Promise.resolve(window.grecaptcha):u||(u=new Promise((e,t)=>{window[i]=()=>{window.grecaptcha?e(window.grecaptcha):(u=null,t(Error("recaptcha: grecaptcha missing after load")))};let r=document.createElement("script");r.src=`https://www.google.com/recaptcha/api.js?onload=${i}&render=explicit`,r.async=!0,r.defer=!0,r.onerror=()=>{u=null,t(Error("recaptcha: script failed to load"))},document.head.appendChild(r)}))}function s(e){return"blocked"===e?{reason:e,message:n,permanent:!0}:{reason:e,message:o,permanent:!1}}let c=(0,r.forwardRef)(function({onChange:e,onError:n,onReady:o,variant:i="checkbox",testId:u="recaptcha-widget",className:c},f){let{recaptchaSiteKey:d}=(0,a.usePublicRuntimeConfig)(),p=d.length>0,m=(0,r.useRef)(null),h=(0,r.useRef)(null),g=(0,r.useRef)(e);g.current=e;let y=(0,r.useRef)(n);y.current=n;let v=(0,r.useRef)(o);v.current=o;let b=(0,r.useRef)(null);function _(e,t){let r=b.current;r&&(b.current=null,clearTimeout(r.timer),e?r.resolve(e):r.reject(t??Error("recaptcha: execute failed")))}return((0,r.useImperativeHandle)(f,()=>({reset(){_(null,Error("recaptcha: reset")),null!==h.current&&window.grecaptcha&&(window.grecaptcha.reset(h.current),g.current(null))},async execute(){if("invisible"!==i)throw Error("recaptcha: execute is invisible-only");if(!p)throw Error("recaptcha: not configured");if(b.current)throw Error("recaptcha: execute already in flight");if(await l(),null===h.current||!window.grecaptcha)throw Error("recaptcha: widget not rendered");return window.grecaptcha.reset(h.current),new Promise((e,t)=>
1{b.current={resolve:e,reject:t,timer:setTimeout(()=>{_(null,Error("recaptcha: execute timed out"))},3e4)};try{window.grecaptcha.execute(h.current)}catch(e){_(null,e instanceof Error?e:Error("recaptcha: execute threw"))}})}}),[i,p]),(0,r.useEffect)(()=>{if(!p||!m.current)return;let e=!1;return l().then(t=>{if(!e&&m.current&&null===h.current)try{h.current=t.render(m.current,{sitekey:d,..."invisible"===i?{size:"invisible"}:{},callback:e=>{_(e),g.current(e)},"expired-callback":()=>{_(null,Error("recaptcha: token expired")),g.current(null)},"error-callback":()=>{_(null,Error("recaptcha: widget error")),g.current(null),y.current(s("error"))}}),v.current?.()}catch(t){console.error("recaptcha: grecaptcha.render failed",t),e||y.current(s("error"))}},()=>{e||y.current(s("blocked"))}),()=>{e=!0,_(null,Error("recaptcha: unmounted"))}},[p,d,i]),p)?(0,t.jsx)("div",{ref:m,className:c,"data-testid":u}):null});e.s(["InternalRecaptcha",0,c,"Recaptcha",0,c],27218)},26427,32282,e=>{"use strict";var t=e.i(59337),r=e.i(50261);let n={rexall_contact_submitted:{event:"form_submission",formName:"contact"},rexall_newsletter_submitted:{event:"form_submission",formName:"newsletter",formId:e=>`newsletter_${e.surface}`},rexall_sms_optin_submitted:{event:"form_submission",formName:"sms_optin"},rexall_unsubscribe_submitted:{event:"form_submission",formName:"unsubscribe"},rexall_mail_form_submitted:{event:"form_submission",formName:"mail_form",formId:e=>e.form},rexall_refill_submitted:{event:"form_submission",formName:"refill"},rexall_transfer_submitted:{event:"form_submission",formName:"transfer"},rexall_refill_step_completed:{event:"form_step_completion",formName:"refill",step:e=>e.step},rexall_refill_step_viewed:{event:"form_step_impression",formName:"refill",step:e=>e.step}};function o(e,t){if(!Object.hasOwn(n,e))return null;let r=n[e],o=r.formId?r.formId(t):r.formName,a=r.step?.(t);return{event:r.event,formName:r.formName,formId:o,...void 0!==a&&{step:a}}}e.s(["genericFormTwin",0,o,"safePagePath",0,function(e,t){return"standard"===t?e:(0,r.sensitivePathPrefixFor)(e)??"/(sensitive)"}],32282),e.s(["pushAnalyticsEvent",0,function(e,...r){if((0,t.readConsentRecord)()?.analytics!==!0)return;let n=r[0]??{},a=(0,t.ensureDataLayer)();a.push({event:e,...n});let i=o(e,n);null!==i&&a.push(i)}],26427)},86333,e=>{"use strict";e.i(99309);let t="".replace(/\/+$/,""),r=/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i;e.s(["APP_BASE_PATH",0,t,"withBasePath",0,function(e){return e?!t||!e.startsWith("/")||r.test(e)||e===t||e.startsWith(`${t}/`)?e:`${t}${e}`:e??void 0}])},59337,50261,e=>{"use strict";var t=e.i(40409),r=e.i(65731);let n="rx_consent";function o(e){return e.analytics||e.advertising,158112e5}let a=["analytics","advertising"],i={analytics:["analytics_storage"],advertising:["ad_storage","ad_user_data","ad_personalization"]},u=e=>e?"granted":"denied";function l(e){let t={};for(let r of a)for(let n of i[r])t[n]=u(e[r]);return{gtag:t,event:{event:"consent_update",consent_analytics:u(e.analytics),consent_advertising:u(e.advertising)}}}function s(e){return JSON.stringify(e)}function c(e){let t;if(!e)return null;try{t=JSON.parse(e)}catch{return null}if("object"!=typeof t||null===t)return null;let r=t;return"boolean"!=typeof r.analytics||"boolean"!=typeof r.advertising||"number"!=typeof r.timestamp||"number"!=typeof r.policyVersion||"number"!=typeof r.bannerVersion||r.policyVersion<1?null:{analytics:r.analytics,advertising:r.advertising,timestamp:r.timestamp,policyVersion:r.policyVersion,bannerVersion:r.bannerVersion}}function f(e){return{analytics:!1,advertising:!1,timestamp:e,policyVersion:1,bannerVersion:1}}let d=["/refill","/transfer","/articles","/article","/assessment","/auth","/medications","/account"],p=["/storelocator","/store","/search","/contact","/subscribe","/sms-join","/newsletter","/preferred-perks","/ppn","/carenetwork-funding"],m=["/variations"];function h(){let e=window;return e.dataLayer=e.dataLayer??[]}e.s(["CONSENT_CATEGORIES",0,a,"CONSENT_COOKIE",0,n,"buildConsentSignals",0,l,"classifyPathSensitivity",0,function(e){let t=("/"+e.split(/[?#]/,1)[0].replace(/^\/+/,"")).replace(/\/+$/,"")||"/";if("/"===t)return"standard";let r=e=>e.some(e=>t===e||t.startsWith(e+"/"));return r(d)?"sensitive":r(p)||m.includes(t)?"standard":null},"consentDurationFor",0,o,"deniedConsentRecord",0,f,"parseConsentRecord",0,c,"sensitivePathPrefixFor",0,function(e){let t=("/"+e.split(/[?#]/,1)[0].replace(/^\/+/,"")).replace(/\/+$/,"")||"/";return d.find(e=>t===e||t.startsWith(e+"/"))??null},"serializeConsentRecord",0,s],50261);let g="rexall:consent-changed";function y(){return"u"<typeof document?null:c((0,r.readCookie)(n))}function v(e){return void 0===e?"\0unread":e?s(e):"\0none"}e.s(["ensureDataLayer",0,h,"pushContentSensitivity",0,function(e){let t=h();for(let r=t.length-1;r>=0;r-=1){let n=t[r];
1if(n&&"object"==typeof n&&"content_sensitivity"in n){if(n.content_sensitivity===e)return;break}}t.push({content_sensitivity:e})},"readConsentRecord",0,y,"setConsent",0,function(e,t=Date.now()){let a;if("u"<typeof document)return{ok:!1,reason:"unavailable"};let i={...f(t),analytics:e.analytics,advertising:e.advertising},{gtag:u,event:c}=l(i);return(a=h(),function(e,t,r){a.push(arguments)}("consent","update",u),h().push(c),(0,r.writeCookie)(n,s(i),o(i)/864e5),null==y())?{ok:!1,reason:"blocked"}:(window.dispatchEvent(new CustomEvent(g,{detail:{record:i}})),{ok:!0})},"useConsent",0,function(e){let[r,n]=(0,t.useState)(e),[o,a]=(0,t.useState)(v(e)),i=v(e);return i!==o&&(a(i),n(e)),(0,t.useEffect)(()=>{void 0===e&&n(y())},[]),(0,t.useEffect)(()=>{let e=e=>{let t=e.detail;t?.record&&n(e=>e&&v(e)===v(t.record)?e:t.record)};return window.addEventListener(g,e),()=>window.removeEventListener(g,e)},[]),r}],59337)},65731,e=>{"use strict";e.s(["clearCookie",0,function(e){"u">typeof document&&(document.cookie=`${encodeURIComponent(e)}=; max-age=0; path=/; samesite=lax`)},"readCookie",0,function(e){if("u"<typeof document)return null;let t=`${encodeURIComponent(e)}=`,r=document.cookie.split("; ").find(e=>e.startsWith(t));if(!r)return null;try{return decodeURIComponent(r.slice(t.length))}catch{return null}},"writeCookie",0,function(e,t,r){if("u"<typeof document)return;let n=Math.round(24*r*3600);document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent(t)}; max-age=${n}; path=/; samesite=lax`}])},62011,e=>{"use strict";var t=e.i(93373),r=e.i(40409);let n=(0,r.createContext)({googleMapsApiKey:"",recaptchaSiteKey:""});e.s(["PublicRuntimeConfigProvider",0,function({config:e,children:r}){return(0,t.jsx)(n.Provider,{value:e,children:r})},"usePublicRuntimeConfig",0,function(){return(0,r.useContext)(n)}])}]);

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.