PageSourceSearch

https://yes.fit/_next/static/chunks/pages/OrderConfirmation-6d47c8b3d7340db8.js

js yes.fit collected 2026-10-01 14:46:59 UTC 8,695 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8578],{600:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/OrderConfirmation",function(){return r(15205)}])},48418:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l=[],a=!0,i=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(l.push(n.value),!t||l.length!==t);a=!0);}catch(s){i=!0,o=s}finally{try{a||null==r.return||r.return()}finally{if(i)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.default=void 0;var l,a=(l=r(67294))&&l.__esModule?l:{default:l},i=r(76273),s=r(90387),u=r(57190);var c={};function f(e,t,r,n){if(e&&i.isLocalURL(t)){e.prefetch(t,r,n).catch((function(e){0}));var o=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;c[t+"%"+r+(o?"%"+o:"")]=!0}}var d=function(e){var t,r=!1!==e.prefetch,n=s.useRouter(),l=a.default.useMemo((function(){var t=o(i.resolveHref(n,e.href,!0),2),r=t[0],l=t[1];return{href:r,as:e.as?i.resolveHref(n,e.as):l||r}}),[n,e.href,e.as]),d=l.href,p=l.as,m=e.children,h=e.replace,v=e.shallow,y=e.scroll,x=e.locale;"string"===typeof m&&(m=a.default.createElement("a",null,m));var g=(t=a.default.Children.only(m))&&"object"===typeof t&&t.ref,b=o(u.useIntersection({rootMargin:"200px"}),2),j=b[0],w=b[1],N=a.default.useCallback((function(e){j(e),g&&("function"===typeof g?g(e):"object"===typeof g&&(g.current=e))}),[g,j]);a.default.useEffect((function(){var e=w&&r&&i.isLocalURL(d),t="undefined"!==typeof x?x:n&&n.locale,o=c[d+"%"+p+(t?"%"+t:"")];e&&!o&&f(n,d,p,{locale:t})}),[p,d,w,x,r,n]);var _={ref:N,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,r,n,o,l,a,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(r))&&(e.preventDefault(),null==a&&n.indexOf("#")>=0&&(a=!1),t[o?"replace":"push"](r,n,{shallow:l,locale:s,scroll:a}))}(e,n,d,p,h,v,y,x)},onMouseEnter:function(e){t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),i.isLocalURL(d)&&f(n,d,p,{priority:!0})}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var A="undefined"!==typeof x?x:n&&n.locale,k=n&&n.isLocaleDomain&&i.getDomainLocale(p,A,n&&n.locales,n&&n.domainLocales);_.href=k||i.addBasePath(i.addLocale(p,A,n&&n.defaultLocale))}return a.default.cloneElement(t,_)};t.default=d},57190:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l=[],a=!0,i=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(l.push(n.value),!t||l.length!==t);a=!0);}catch(s){i=!0,o=s}finally{try{a||null==r.return||r.return()}finally{if(i)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,r=e.disabled||!i,n=l.useRef(),u=o(l.useState(!1),2),c=u[0],f=u[1],d=l.useCallback((function(e){n.current&&(n.current(),n.current=void 0),r||c||e&&e.tagName&&(n.current=function(e,t,r){var n=function(e){var t=e.rootMargin||"",r=s.get(t);if(r)return r;var n=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return s.set(t,r={id:t,observer:o,elements:n}),r}(r),o=n.id,l=n.observer,a=n.elements;return a.set(e,t),l.observe(e),function(){a.delete(e),l.unobserve(e),0===a.size&&(l.disconnect(),s.delete(o))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[r,t,c]);return l.useEffect((function(){if(!i&&!c){var e=a.requestIdleCallback((function(){return f(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[c]),[d,c]};var l=r(67294),a=r(9311),i="undefined"!==typeof IntersectionObserver;var s=new Map},15205:function(e,t,r){"use strict";r.r(t);var n=r(85893),o=r(41664),l=(r(67294),r(57345)),a=r(10006);t.default=function(){var e,t=(0,l.C)(a.mq);return(0,n.jsxs)("div",{className:"flex bg-404 flex-col h-[100vh] items-center justify-center",children:[(0,n.jsxs)("div",{className:"flex flex-col min-h-[14rem] md:min-h-[12rem] items-center justify-between px-4",children:[(0,n.jsxs)("div",{className:"flex flex-col text-center",children:[(0,n.jsx)("h1",{className:"font-bold text-[6rem] text-5xl",children:"Thank you!"}),(0,n.jsx)("p",{className:"font-medium text-xl",children:"Your order has been confirmed."})]}),(0,n.jsx)("div",{className:"max-w-1/4 my-4 p-6 text-medium rounded-md text-white bg-yf-purple-700",children:(0,n.jsx)("ul",{className:"ml-4 list-disc",children:null===(e=function(){var e,r,n,o=null!==(e=null===t||void 0===t?void 0:t.bundle.challenges.find((function(e){return!e.isSwag&&!e.isExercise})))&&void 0!==e?e:null,l=null!==(r=null===o||void 0===o?void 0:o.items.find((function(e){return!e.challengeAddonType.isReward})))&&void 0!==r?r:null,a=null!==(n=null===t||void 0===t?void 0:t.bundle.challenges.find((function(e){return e.isSwag})))&&void 0!==n?n:null,i=[];return o&&i.push("You have successfully joined the event and can start it from your Dashboard!"),(null===o||void 0===o?void 0:o.items.length)>0&&i.push("The rewards you selected for the event will be delivered upon its completion."),(a||l)&&i.push("We have started processing your merchandise order.","You will be notified when your items have shipped."),i}())||void 0===e?void 0:e.map((function(e,t){return(0,n.jsx)("li",{children:(0,n.jsx)("p",{className:"font-base text-xl my-2",children:e})},t)}))})}),(0,n.jsx)(o.default,{href:"/dashboard-new",children:(0,n.jsx)("button",{className:"px-5 py-2 bg-yf-green rounded-md",children:(0,n.jsx)("p",{className:"text-base font-medium text-white",children:"Take me to my Dashboard"})})})]}),(null===t||void 0===t?void 0:t.receiptUrl)?(0,n.jsx)("div",{className:"flex items-center justify-center mt-2",children:(0,n.jsx)("a",{href:t.receiptUrl,target:"_blank",className:"underline text-yf-purple font-medium text-center cursor-pointer",rel:"noreferrer",children:"Receipt Link"})}):null,(0,n.jsx)("p",{className:"text-xl text-yf-purple font-bold text-center mt-5",children:"Download the App & Start Tracking Your Activity"}),(0,n.jsxs)("div",{className:"flex flex-row justify-center mt-3 mx-auto md:mx-0 md:mt-6",children:[" ",(0,n.jsxs)("div",{className:"mx-0 mr-1",children:[" ",(0,n.jsx)("a",{href:"https://yesfit.app.link/app-store",target:"_blank",title:"view our Yes.Fit app on the App Store",className:"logo-ada-focus",role:"button",rel:"noreferrer",children:(0,n.jsx)("img",{className:"max-h-[40px] md:max-h-[50px]",alt:"Apple App Store Logo",title:"Apple App Store logo",src:"https://res.cloudinary.com/yes-fit/image/upload/q_auto/v1636126626/manual/YesFit-apple-app-store.svg"})})]}),(0,n.jsx)("div",{className:"mx-0",children:(0,n.jsx)("a",{href:"https://yesfit.app.link/google-play",target:"_blank",title:"view our Yes.Fit app on the Google Play Store",className:"logo-ada-focus",role:"button",rel:"noreferrer",children:(0,n.jsx)("img",{className:"max-h-[40px] md:max-h-[50px]",alt:"Google Play Store Logo",title:"Google Play Store logo",src:"https://res.cloudinary.com/yes-fit/image/upload/q_auto/v1636126626/manual/YesFit-google-play-store.svg"})})})]})]})}},41664:function(e,t,r){e.exports=r(48418)}},function(e){e.O(0,[9774,2888,179],(function(){return t=600,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.