PageSourceSearch

https://www.pewpewtactical.com/_next/static/chunks/3tlc4aah9zt28.js

js pewpewtactical.com collected 2026-10-02 05:00:29 UTC 55,581 bytes, 11 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68303,e=>{"use strict";var t=e.i(97247);e.s(["updateProfile",()=>t.al])},58690,e=>{"use strict";var t=e.i(71645);let r=t.forwardRef(function({title:e,titleId:r,...n},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z"}))});e.s(["BookmarkIcon",0,r],58690)},59030,e=>{"use strict";var t=e.i(71645);let r=t.forwardRef(function({title:e,titleId:r,...n},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.
1123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))});e.s(["ChatBubbleLeftIcon",0,r],59030)},39875,e=>{"use strict";var t=e.i(71645);let r=t.forwardRef(function({title:e,titleId:r,...n},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});e.s(["MagnifyingGlassIcon",0,r],39875)},85468,e=>{"use strict";var t=e.i(71645);let r=t.forwardRef(function({title:e,titleId:r,...n},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z",clipRule:"evenodd"}))});e.s(["MagnifyingGlassIcon",0,r],85468)},61316,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:l,dataNtpc:i=""}){return(0,a.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,n.jsxs)(n.Fragment,{children:[l,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=e.r(43476),a=e.r(71645)},54576,(e,t,r)=>{"use strict";let n;var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:a="dataLayer",nonce:o}=e;return void 0===n&&(n=a),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
2          window['${a}'] = window['${a}'] || [];
3          function gtag(){window['${a}'].push(arguments);}
4          gtag('js', new Date());
5
6          gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:o}),(0,l.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:o})]})},r.sendGAEvent=function(){void 0===n?console.warn("@next/third-parties: GA has not been initialized"):window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let l=e.r(43476),i=e.r(71645),s=a(e.r(3303))},19598,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:n="dataLayer",auth:o,preview:u,dataLayer:c,nonce:d}=e;s=n;let f=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==n&&f.searchParams.set("l",n),o&&f.searchParams.set("gtm_auth",o),u&&(f.searchParams.set("gtm_preview",u),f.searchParams.set("gtm_cookies_win","x")),(0,l.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
7      (function(w,l){
8        w[l]=w[l]||[];
9        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
10        ${c?`w[l].push(${JSON.stringify(c)})`:""}
11      })(window,'${n}');`},nonce:d}),(0,a.jsx)(i.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let a=e.r(43476),l=e.r(71645),i=n(e.r(3303)),s="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||s;window[r]=window[r]||[],window[r].push(e)}},86318,e=>{"use strict";var t=e.i(71645);e.i(43476);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},99682,e=>{"use strict";var t=e.i(71645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},25913,e=>{"use strict";var t=e.i(7670);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>a=>{var l;if((null==t?void 0:t.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(e=>{let t=null==a?void 0:a[e],n=null==s?void 0:s[e];if(null===t)return null;let l=r(t)||r(n);return i[e][l]}),u=a&&Object.entries(a).reduce((e,t)=>
11{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,o,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}])},7670,e=>{"use strict";function t(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",0,t,"default",0,t])},75254,e=>{"use strict";var t=e.i(71645);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:s="",children:o,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...a,width:r,height:r,stroke:e,strokeWidth:i?24*Number(l)/Number(r):l,className:n("lucide",s),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,a)=>{let i=(0,t.forwardRef)(({className:i,...s},o)=>(0,t.createElement)(l,{ref:o,iconNode:a,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...s}));return i.displayName=r(e),i}],75254)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return l.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(32120),i=e.r(92245),s=e.r(35326)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(90809),i=e.r(43476),s=l._(e.r(71645)),o=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550),p=e.r(88540),m=e.r(91949),h=e.r(73668),g=e.r(9396);function v(t){var r;let n,a,l,[v,y]=(0,s.useOptimistic)(m.IDLE_LINK_STATUS),b=(0,s.useRef)(null),{href:w,as:j,children:N,prefetch:_=null,passHref:E,replace:k,shallow:S,scroll:C,onClick:R,onMouseEnter:L,onTouchStart:O,legacyBehavior:P=!1,onNavigate:A,transitionTypes:T,ref:I,unstable_dynamicOnHover:M,...D}=t;n=N,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let $=s.default.useContext(u.AppRouterContext),U=!1!==_,z=!1===_?"none":!0===_?"full":"auto",F="none"!==z&&"full"===z?g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=j||w)?r:(0,o.formatUrl)(r);if(P){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});a=s.default.Children.only(n)}let V=P?a&&"object"==typeof a&&a.ref:I,G,H=s.default.useCallback(e=>(null!==$&&(b.current=(0,m.mountLinkInstance)(e,B,$,F,U,y,G)),()=>{b.current&&((0,m.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,m.unmountPrefetchableInstance)(e)}),[U,B,$,F,y,G]),W={ref:(0,c.useMergedRef)(H,V),onClick(t){P||"function"!=typeof R||R(t),P&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,a,l,i,o,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.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)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(99781);s.default.startTransition(()=>{f(r,a?"replace":"push",!1===l?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,o,u)})}}(t,B,b,k,C,A,T,z)},onMouseEnter(e){P||"function"!=typeof L||L(e),P&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),$&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){P||"function"!=typeof O||O(e),P&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),$&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(B)?W.href=B:P&&!E&&("a"!==a.type||"href"in a.props)||(W.href=(0,f.addBasePath)(B)),l=P?s.default.cloneElement(a,W):(0,i.jsx)("a",{...D,...W,children:n}),(0,i.jsx)(x.Provider,{value:v,children:l})}let x=(0,s.createContext)(m.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
11dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},19083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,s={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},o=/[&"'<>]/g;function u(e){return e.replace(i,e=>l[e])}function c(e){return e.replace(o,e=>s[e])}},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return x}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(55682),i=e.r(90809),s=e.r(43476),o=l._(e.r(74080)),u=i._(e.r(71645)),c=e.r(42732),d=e.r(22737),f=e.r(8341),p=e.r(19083),m=new Map,h=new Set,g=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:l,children:i="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,f=r||t;if(f&&h.has(f))return;if(m.has(t)){h.add(f),m.get(t).then(n,u);return}let p=()=>{a&&a(),h.add(f)},g=document.createElement("script"),v=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});l?(g.innerHTML=l.__html||"",p()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(g.src=t,m.set(t,v)),(0,d.setAttributesFromProps)(g,e),"worker"===s&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",s),c&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(g)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}):g(e)}function x(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:l="afterInteractive",onError:i,stylesheets:d,...m}=e,{updateScripts:v,scripts:x,getIsSsr:y,appDir:b,nonce:w}=(0,u.useContext)(c.HeadManagerContext);w=m.nonce||w;let j=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;j.current||(a&&e&&h.has(e)&&a(),j.current=!0)},[a,t,r]);let N=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!N.current){if("afterInteractive"===l)g(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}));N.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(v?(x[l]=(x[l]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:i,...m,nonce:w}]),v(x)):y&&y()?h.add(t||r):y&&!y()&&g({...e,nonce:w})),b){if(d&&d.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))})`}});else return o.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin}),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))})`}});"afterInteractive"===l&&r&&o.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
11dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=l(e,n)),t&&(a.current=l(t,n))},[e,t])}function l(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,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(18967),a=e.r(52817);function l(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return o},searchParamsToUrlQuery:function(){return l},urlQueryToSearchParams:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(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 s(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 o(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}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",o=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),o&&"object"==typeof o&&(o=String(l.urlQueryToSearchParams(o)));let c=e.search||o&&`?${o}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${a}${c}${s}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return x},PageNotFoundError:function(){return y},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return l},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return o},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return j}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(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&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}
11" 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]);class v extends Error{}class x extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b 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 j(e){return JSON.stringify({message:e.message,stack:e.stack})}},18566,(e,t,r)=>{t.exports=e.r(76562)},3303,(e,t,r)=>{t.exports=e.r(79520)},61849,e=>{"use strict";e.i(47167);var t=Symbol("NOT_FOUND"),r=e=>Array.isArray(e)?e:[e],n=0,a=class{revision=n;_value;_lastValue;_isEqual=l;constructor(e,t=l){this._value=this._lastValue=e,this._isEqual=t}get value(){return this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++n)}};function l(e,t){return e===t}function i(e){return e instanceof a||console.warn("Not a valid cell! ",e),e.value}var s=(e,t)=>!1;function o(){return function(e=l){return new a(null,e)}(s)}var u=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=o()),i(t)};Symbol();var c=0,d=Object.getPrototypeOf({}),f=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,p);tag=o();tags={};children={};collectionTag=null;id=c++},p={get:(e,t)=>(function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in d)return n;if("object"==typeof n&&null!==n){var a;let r=e.children[t];return void 0===r&&(r=e.children[t]=Array.isArray(a=n)?new m(a):new f(a)),r.tag&&i(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=o()).value=n),i(r),n}})(),ownKeys:e=>(u(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},m=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],h);tag=o();tags={};children={};collectionTag=null;id=c++},h={get:([e],t)=>("length"===t&&u(e),p.get(e,t)),ownKeys:([e])=>p.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>p.getOwnPropertyDescriptor(e,t),has:([e],t)=>p.has(e,t)},g=(e,t)=>e===t,v="u">typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function x(){return{s:0,v:void 0,o:null,p:null}}function y(e,t={}){let r,n=x(),{resultEqualityCheck:a}=t,l=0;function i(){let t,i=n,{length:s}=arguments;for(let e=0;e<s;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=i.o;null===e&&(i.o=e=new WeakMap);let r=e.get(t);void 0===r?(i=x(),e.set(t,i)):i=r}else{let e=i.p;null===e&&(i.p=e=new Map);let r=e.get(t);void 0===r?(i=x(),e.set(t,i)):i=r}}let o=i;if(1===i.s)t=i.v;else if(t=e.apply(null,arguments),l++,a){let e=r?.deref?.()??r;null!=e&&a(e,t)&&(t=e,0!==l&&l--),r="object"==typeof t&&null!==t||"function"==typeof t?new v(t):t}return o.s=1,o.v=t,t}return i.clearCache=()=>{n=x(),i.resetResultsCount()},i.resultsCount=()=>l,i.resetResultsCount=()=>{l=0},i}function b(e,...t){let n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,a=(...e)=>{let t,a,l=0,i=0,s={},o=e.pop();"object"==typeof o&&(s=o,o=e.pop()),function(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:u,memoizeOptions:c=[],argsMemoize:d=y,argsMemoizeOptions:f=[],devModeChecks:p={}}={...n,...s},m=r(c),h=r(f),g=(!function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}(t=Array.isArray(e[0])?e[0]:e,"createSelector expects all input-selectors to be functions, but received the following types: "),t),v=u(function(){return l++,o.apply(null,arguments)},...m);return Object.assign(d(function(){i++;let e=function(e,t){let r=[],{length:n}=e;for(let a=0;a<n;a++)r.push(e[a].apply(null,t));return r}(g,arguments);return a=v.apply(null,e)}
11,...h),{resultFunc:o,memoizedResultFunc:v,dependencies:g,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>a,recomputations:()=>l,resetRecomputations:()=>{l=0},memoize:u,argsMemoize:d})};return Object.assign(a,{withTypes:()=>a}),a}var w=b(y),j=Object.assign((e,t=w)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e);return t(r.map(t=>e[t]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>j});e.s(["createSelector",0,w,"createSelectorCreator",0,b,"lruMemoize",0,function(e,r){let n,{equalityCheck:a=g,maxSize:l=1,resultEqualityCheck:i}="object"==typeof r?r:{equalityCheck:r},s=function(e,t){if(null===e||null===t||e.length!==t.length)return!1;let{length:r}=e;for(let n=0;n<r;n++)if(!a(e[n],t[n]))return!1;return!0},o=0,u=l<=1?{get:e=>n&&s(n.key,e)?n.value:t,put(e,t){n={key:e,value:t}},getEntries:()=>n?[n]:[],clear(){n=void 0}}:function(e,r){let n=[];function a(e){let a=n.findIndex(t=>r(e,t.key));if(a>-1){let e=n[a];return a>0&&(n.splice(a,1),n.unshift(e)),e.value}return t}return{get:a,put:function(r,l){a(r)===t&&(n.unshift({key:r,value:l}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,s);function c(){let r=u.get(arguments);if(r===t){if(r=e.apply(null,arguments),o++,i){let e=u.getEntries().find(e=>i(e.value,r));e&&(r=e.value,0!==o&&o--)}u.put(arguments,r)}return r}return c.clearCache=()=>{u.clear(),c.resetResultsCount()},c.resultsCount=()=>o,c.resetResultsCount=()=>{o=0},c},"weakMapMemoize",0,y])},60240,e=>{"use strict";var t=e.i(71645),r=e.i(73488);let n=/^ga[A-Z]/;e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=e=>{let t=e.target?.closest?.("[data-ga-event]");if(!t)return;let{gaEvent:a,...l}=t.dataset;a&&(0,r.trackEvent)(a,Object.entries(l).reduce((e,[t,r])=>{if(!n.test(t))return e;let a=t.slice(2).replace(/^./,e=>e.toLowerCase()).replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return{...e,[a]:r}},{}))},t=t=>{1===t.button&&t.target?.closest?.("a[href]")&&e(t)};return document.addEventListener("click",e,!0),document.addEventListener("auxclick",t,!0),()=>{document.removeEventListener("click",e,!0),document.removeEventListener("auxclick",t,!0)}},[]),null}])},57625,e=>{"use strict";var t=e.i(71645),r=e.i(18566),n=e.i(73488),a=e.i(22543);let l=[10,25,50,75,90];e.s(["default",0,function(){let e=(0,r.usePathname)();return(0,t.useEffect)(()=>{let e=new Set,t=null,r=()=>{window.removeEventListener("scroll",s),window.removeEventListener("load",s),t&&window.cancelAnimationFrame(t)},i=()=>{t=null;let i=document.documentElement.scrollHeight;if(i<=window.innerHeight)return;let s=window.scrollY/(i-window.innerHeight)*100;l.filter(t=>s>=t&&!e.has(t)).forEach(t=>{e.add(t),(0,n.trackEvent)(a.GA_EVENTS.SCROLL_DEPTH,{percent_scrolled:t})}),e.size===l.length&&r()},s=()=>{t||(t=window.requestAnimationFrame(i))};return window.addEventListener("scroll",s,{passive:!0}),"complete"===document.readyState?s():window.addEventListener("load",s,{once:!0}),r},[e]),null}])},21438,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(7670),a=e.i(25913);let l={xs:"px-3! py-1! text-sm!",sm:"px-4! py-1! text-sm!",md:"px-4! py-2! text-base!",lg:"px-6! py-3! text-lg!"},i={xs:"md:px-3! md:py-1! md:text-sm!",sm:"md:px-4! md:py-1! md:text-sm!",md:"md:px-4! md:py-2! md:text-base!",lg:"md:px-6! md:py-3! md:text-lg!"};e.s(["default",0,function({variant:e="default",size:s="md",className:o="",children:u,disabled:c=!1,...d}){let f=(0,a.cva)(["font-semibold","rounded-full","text-center","cursor-pointer","press-cta","text-montserrat"],{variants:{variant:{default:["px-4 py-2","bg-ppt-red hover:bg-ppt-red-dark","text-white"],navItem:["px-4 py-2","border-2 border-white/50","hover:border-ppt-yellow hover:bg-black","text-white hover:text-ppt-yellow"],navItemRound:["flex items-center justify-center","border-2 border-white/50","hover:border-ppt-yellow hover:bg-black","text-white hover:text-ppt-yellow"],navItemRoundImg:["flex items-center justify-center","size-11","border-2 border-white/50","hover:border-ppt-yellow","p-0","overflow-hidden"],navItemRoundImgLight:["flex items-center justify-center","size-10","border-2 border-gray-200","hover:border-gray-400","p-0","overflow-hidden"],cta:["bg-ppt-red text-white","hover:bg-ppt-blue","uppercase"],"cta-blue":["bg-ppt-blue !text-white","hover:bg-ppt-red","text-center","uppercase"],"cta-yellow":["bg-ppt-yellow !text-ppt-black","hover:bg-ppt-black hover:!text-ppt-yellow","text-center","font-bold","uppercase"],"cta-affiliate":["inline-flex items-center justify-center gap-2","px-5 py-[15px]","bg-ppt-blue hover:bg-ppt-red","border-2 border-ppt-blue hover:border-ppt-red","text-white!","text-[14px]/[14px] font-bold!","active:bg-ppt-red-dark active:border-ppt-red-dark","active:ring-4 active:ring-ppt-red/30"],"cta-light":["inline-flex","bg-transparent","text-slate-50 hover:text-ppt-yellow","border-2 border-slate-50 hover:border-ppt-yellow","uppercase"],outline:["bg-transparent hover:bg-ppt-red","text-ppt-red hover:text-white","border-2 border-slate-400 hover:border-ppt-red"],pill:["p-2","rounded-full","bg-ppt-blue/10 text-ppt-blue","hover:bg-ppt-blue hover:text-white"],"pill-icon":["inline-flex items-center gap-2","px-4 py-2","rounded-full","bg-ppt-blue/10 text-ppt-blue","hover:bg-ppt-blue hover:text-white"],"pill-round":["inline-flex items-center justify-center","size-9","rounded-full","bg-ppt-blue/10 text-ppt-blue","hover:bg-ppt-blue hover:text-white"],chip:["inline-flex items-center justify-center","bg-transparent","border border-ppt-gray/30","text-ppt-black","hover:border-ppt-black hover:bg-ppt-gray-light/60"],"outline-neutral":["inline-flex items-center justify-center gap-3","px-3 py-2","rounded-xl!","bg-transparent","border border-ppt-gray/30","text-ppt-black font-normal!","text-sm","hover:border-ppt-blue hover:text-ppt-blue"],link:["bg-transparent","text-blue-600 hover:text-blue-700","py-2 px-0!","rounded-none","font-medium","inline"]},size:{xs:["px-3 py-1","text-sm"],sm:["px-4 py-1","text-sm"],md:["px-3 md:px-6 py-2","text-xs md:text-base"],lg:["text-lg","px-6 py-3"]}}}),p="",m=s,h=!["navItemRoundImg","navItemRoundImgLight","navItemRound","cta-affiliate","pill-round","outline-neutral","chip"].includes(e);if("object"==typeof s&&null!==s&&h){let e=s.mobile||"md",t=s.desktop||"md";p=(0,n.default)(l[e]??l.md,i[t]??i.md),m="md"}let g=(0,n.default)(f({variant:e,size:h?m:void 0}),p,o,c?"opacity-50 cursor-not-allowed":"");return d.href?(0,t.jsx)(r.default,{className:g,"aria-disabled":c||void 0,...d,children:u}):(0,t.jsx)("button",{className:g,disabled:c,...d,children:u})}])},21511,e=>{"use strict";var t=e.i(43476),r=e.i(57688),n=e.i(7670),a=e.i(72782),l=e.i(69012);e.s(["default",0,function({user:e,variant:i="dark"}){let{signOut:s}=(0,l.useAuth)(),o=e?.photoURL||"/images/logo-mark-black.png",u=e?.displayName||e?.email||"User",c="light"===i,d=async()=>{try{await s()}catch(e){console.error("Failed to sign out:",e)}};return(0,t.jsxs)("div",{className:"flex items-center relative group",children:[(0,t.jsx)(a.default,{variant:c?"navItemRoundImgLight":"navItemRoundImg","aria-label":"User menu",className:"shrink-0","aria-label":"User Menu",title:"User Menu",children:(0,t.jsx)(r.default,{src:o,alt:u,width:44,height:44,className:(0,n.default)("rounded-full","object-cover","w-full h-full")})}),c&&(0,t.jsx)("span",{className:(0,n.default)("ml-2","text-sm font-medium","text-gray-700","max-w-20 lg:max-w-[120px]","truncate","text-montserrat"),children:u}),(0,t.jsxs)("div",{className:(0,n.default)("absolute right-0 top-12","w-56","bg-white","border border-gray-200","rounded-lg","shadow-lg","py-2","z-80","opacity-0 invisible","group-hover:opacity-100 group-hover:visible","transition-[opacity,visibility] duration-200","text-montserrat"),children:[(0,t.jsxs)("div",{className:(0,n.default)("px-4 py-3","border-b border-gray-200"),children:[(0,t.jsx)("p",{className:(0,n.default)("text-sm font-semibold","text-gray-900","truncate"),children:u}),(0,t.jsx)("p",{className:(0,n.default)("text-xs","text-gray-500","truncate"),children:e?.email})]}),(0,t.jsxs)("div",{className:"py-1",children:[(0,t.jsx)("a",{href:"/account",className:(0,n.default)("block","px-4 py-2","text-sm text-gray-700","hover:bg-gray-100","transition-colors"),children:"My Profile"}),(0,t.jsx)("a",{href:"/account/bookmarks",className:(0,n.default)("block","px-4 py-2","text-sm text-gray-700","hover:bg-gray-100","transition-colors"),children:"My Bookmarks"})]}),(0,t.jsx)("div",{className:(0,n.default)("border-t border-gray-200","py-1"),
11children:(0,t.jsx)("button",{onClick:d,className:(0,n.default)("block w-full text-left","px-4 py-2","text-sm text-red-600","hover:bg-gray-100","transition-colors","cursor-pointer"),children:"Sign Out"})})]})]})}])},86647,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(7670),a=e.i(57688),l=e.i(55487),i=e.i(28950),s=e.i(54613),o=e.i(21438),u=e.i(58154);e.s(["default",0,function({open:e,onOpenChange:c,title:d="Your comment",itemName:f,onSubmit:p,showRating:m=!1,initialRating:h=0,placeholder:g="Share your thoughts...",submitButtonText:v="Add your comment",descriptionPrefix:x="You're commenting on"}){let y=(0,l.useSelector)(e=>e.auth.user),b=y?.photoURL,[w,j]=(0,r.useState)(""),[N,_]=(0,r.useState)(h),[E,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(""),[R,L]=(0,r.useState)("");(0,r.useEffect)(()=>{_(h)},[h]),(0,r.useEffect)(()=>{e&&(_(h),j(""),C(""),L(""))},[e,h]);let O=async e=>{if(e.preventDefault(),C(""),L(""),m&&0===N)return void C("Please select a rating");if(w.trim().length<20)return void C("Comment must be at least 20 characters long");if(w.trim().length>2e3)return void C("Comment must not exceed 2000 characters");if(p){k(!0);try{m?await p({comment:w,rating:N}):await p(w),L(m?"Review submitted successfully!":"Comment submitted successfully!"),j(""),_(0)}catch(e){C(e.message||"Failed to submit. Please try again.")}finally{k(!1)}}},P=()=>{j(""),_(0),C(""),L(""),c(!1)},A=w.trim().length>=20&&w.trim().length<=2e3;return(0,t.jsx)(s.Dialog,{open:e,onOpenChange:c,children:(0,t.jsxs)(s.DialogContent,{onClose:P,className:(0,n.default)("max-w-2xl","p-8"),children:[(0,t.jsxs)(s.DialogHeader,{children:[(0,t.jsx)(s.DialogTitle,{className:(0,n.default)("text-2xl","font-bold","text-ppt-black","mb-2"),children:d}),f&&(0,t.jsxs)(s.DialogDescription,{className:(0,n.default)("text-gray-600","mb-6"),children:[x," ",(0,t.jsx)("span",{className:"font-semibold",children:f})]})]}),m&&(0,t.jsxs)("div",{className:(0,n.default)("flex items-center gap-3","mb-6"),children:[(0,t.jsx)("div",{className:"relative w-10 h-10 shrink-0 rounded-full overflow-hidden bg-gray-200",children:b?(0,t.jsx)(a.default,{src:b,alt:y?.displayName||"User avatar",fill:!0,className:"object-cover"}):(0,t.jsx)(i.UserCircleIcon,{className:"w-full h-full text-gray-400"})}),(0,t.jsx)(u.default,{value:N,onChange:_,size:"lg",disabled:E||R})]}),R&&(0,t.jsx)("div",{className:(0,n.default)("p-4","bg-green-50","border border-green-200","rounded-lg","mb-4"),children:(0,t.jsx)("p",{className:"text-green-700 font-medium",children:R})}),(0,t.jsxs)("form",{onSubmit:O,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("textarea",{value:w,onChange:e=>j(e.target.value),placeholder:g,rows:6,maxLength:2e3,className:(0,n.default)("w-full","px-4 py-3","border border-gray-300","rounded-lg","focus:outline-none focus:ring-2 focus:ring-ppt-blue focus:border-transparent","resize-none","text-gray-900","placeholder:text-gray-400",S&&"border-red-500"),disabled:E||R}),(0,t.jsxs)("div",{className:(0,n.default)("flex justify-between items-center","mt-2"),children:[(0,t.jsxs)("span",{className:(0,n.default)("text-sm",w.length<20?"text-gray-500":"text-green-600"),children:["Minimum ",20," characters"]}),(0,t.jsxs)("span",{className:(0,n.default)("text-sm",w.length>1800?"text-orange-600":"text-gray-500"),children:[w.length,"/",2e3]})]}),S&&(0,t.jsx)("p",{className:(0,n.default)("text-sm","text-red-600","mt-2"),children:S})]}),(0,t.jsxs)("div",{className:(0,n.default)("flex justify-end","gap-3","pt-2"),children:[(0,t.jsx)(o.default,{type:"button",variant:"outline",size:"md",onClick:P,disabled:E,children:"Cancel"}),(0,t.jsx)(o.default,{type:"submit",variant:"cta",size:"md",disabled:E||!A||R,className:(0,n.default)(E&&"opacity-70 cursor-not-allowed"),children:E?(0,t.jsxs)("span",{className:(0,n.default)("flex items-center","gap-2"),children:[(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Submitting..."]}):v})]})]})]})})}])},28314,82633,36905,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(7670),a=e.i(54613),l=e.i(57688);let i=r.forwardRef(function({title:e,titleId:t,...n},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});var s=e.i(59030),o=e.i(21438),u=e.i(91951),c=e.i(69012),d=e.i(17808),f=e.i(22543);function p({rating:e,productId:a,onReplySubmit:m}){let{isAuthenticated:h,user:g}=(0,c.useAuth)(),{success:v,error:x}=(0,d.useToast)(),[y,b]=(0,r.useState)(!1),[w,j]=(0,r.useState)(""),[N,_]=(0,r.useState)(!1),E=[,,,,,].fill("0%").map((t,r)=>r<Math.floor(e.productScore)?"100%":r<e.productScore?`${e.productScore%1*100}%`:"0%"),k=e=>
11new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),S=async()=>{if(w.trim()&&!N){_(!0);try{await m?.({content:w,parentId:e.id,productId:a,authorName:g?.displayName||g?.email||"You",authorEmail:g?.email||"",authorAvatar:g?.photoURL||""}),j(""),b(!1),v("Reply submitted","Your reply has been added.")}catch(e){console.error("Failed to submit reply:",e),x("Failed to submit reply","Something went wrong. Please try again later.")}finally{_(!1)}}};return(0,t.jsxs)("div",{className:(0,n.default)("py-6","border-b border-gray-200","last:border-b-0"),children:[(0,t.jsx)("div",{className:"flex items-start mb-4",children:(0,t.jsx)(u.default,{stars:{value:e.productScore,widths:E},hideValue:!0})}),(0,t.jsxs)("div",{className:(0,n.default)("flex flex-wrap items-center gap-x-2 gap-y-1","mt-2","text-sm"),children:[(0,t.jsx)("div",{className:"relative w-6 h-6 shrink-0 rounded-full overflow-hidden bg-gray-200",children:e.authorAvatar?(0,t.jsx)(l.default,{src:e.authorAvatar,alt:e.author,fill:!0,className:"object-cover"}):(0,t.jsx)(i,{className:"w-full h-full text-gray-400"})}),(0,t.jsx)("span",{className:"text-gray-900 font-medium",children:e.author}),e.editor&&(0,t.jsx)("span",{className:(0,n.default)("px-2 py-0.5","bg-green-600 text-white","text-xs font-medium","rounded"),children:"Editor"}),(0,t.jsx)("span",{className:"block sm:hidden w-full sm:w-auto"}),(0,t.jsxs)("span",{className:"text-gray-500",children:["(",e.authorReviewsCount," ",1===e.authorReviewsCount?"rating":"ratings",")"]}),(0,t.jsx)("span",{className:"text-gray-400",children:"-"}),(0,t.jsx)("span",{className:"text-gray-500",children:k(e.date)})]}),(0,t.jsx)("p",{className:(0,n.default)("mt-4","text-gray-700","leading-relaxed"),children:e.content}),(0,t.jsxs)("button",{type:"button",onClick:()=>{!h&&window.openAuthPopup?window.openAuthPopup(f.GA_PLACEMENTS.PRODUCT_RATING):b(!y)},className:(0,n.default)("flex items-center gap-2","mt-4","px-3 py-1.5","border border-gray-300 rounded","text-sm text-gray-600","hover:bg-gray-50","transition-colors","cursor-pointer",y&&"bg-gray-50"),children:[(0,t.jsx)("span",{children:e.childReviews?.length||0}),(0,t.jsx)(s.ChatBubbleLeftIcon,{className:"w-4 h-4"})]}),y&&(0,t.jsxs)("div",{className:(0,n.default)("mt-4","pt-4","border-t border-gray-100"),children:[e.childReviews&&e.childReviews.length>0&&(0,t.jsx)("div",{className:"mb-4 space-y-3",children:e.childReviews.map(e=>(0,t.jsxs)("div",{className:(0,n.default)("pl-4","border-l-2 border-gray-200"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm mb-1",children:[(0,t.jsx)("span",{className:"font-medium text-gray-900",children:e.author}),(0,t.jsx)("span",{className:"text-gray-400",children:"-"}),(0,t.jsx)("span",{className:"text-gray-500",children:k(e.date)})]}),(0,t.jsx)("p",{className:"text-gray-700 text-sm",children:e.content})]},e.id))}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("textarea",{value:w,onChange:e=>j(e.target.value),placeholder:"Write your answer here",rows:4,className:(0,n.default)("w-full","px-4 py-3","border border-gray-300","rounded-lg","focus:outline-none focus:ring-2 focus:ring-ppt-red focus:border-transparent","resize-none","text-gray-900","placeholder:text-gray-400"),disabled:N}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(o.default,{variant:"cta",size:"md",onClick:S,disabled:!w.trim()||N,children:N?"Submitting...":"ADD YOUR ANSWER"})})]})]})]})}e.s(["default",0,p],82633);var m=e.i(81224);async function h({productId:e,content:t,rating:r,author:n,authorEmail:a,userId:l=0,parentId:i=0}){let s=await fetch("/api/v1/pew-pew-meter/reviews/add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({author:n,author_email:a,content:t,post_id:e,user_score:r,parent_id:i,user_id:l})});if(!s.ok)throw Error("Failed to submit review");return s.json()}async function g({productId:e,page:t=1,perPage:r=10,rating:n=null,sortType:a=null}){let l=new URLSearchParams({product_id:String(e),page:String(t),per_page:String(r)});null!==n&&l.set("rating",String(n)),null!==a&&l.set("sort_type",String(a));let i=await fetch(`/api/v1/pew-pew-meter/reviews?${l}`);if(!i.ok)throw Error("Failed to fetch reviews");return i.json()}e.s(["GetProductReviews",0,g,"SubmitProductReview",0,h],36905),e.s(["default",0,function({open:e,onOpenChange:l,productName:i,productId:s,initialReviews:o=[],initialTotalPages:u=1,ratingBreakdown:d=[],onClose:f,onReplyAdded:v}){let{user:x}=(0,c.useAuth)(),[y,b]=(0,r.useState)(o),[w,j]=(0,r.useState)(null),[N,_]=(0,r.useState)(1),[E,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(u>1),R=(0,r.useRef)(null),L=(0,r.useRef)(null),O=(0,r.useRef)(!0);(0,r.useEffect)(()=>{e&&(b(o),C(u>1),_(1),j(null),O.current=!0)},[e,o,u]),(0,r.useEffect)(()=>
11{if(e){if(O.current){O.current=!1;return}(async()=>{k(!0),_(1);try{let e=await g({productId:s,page:1,perPage:3,rating:w});b(e.reviews||[]),C(e.hasMore??!1)}catch(e){console.error("Failed to fetch reviews:",e)}finally{k(!1)}})()}},[w,s,e]);let P=(0,r.useCallback)(async()=>{if(E||!S)return;k(!0);let e=N+1;try{let t=await g({productId:s,page:e,perPage:3,rating:w});b(e=>[...e,...t.reviews||[]]),C(t.hasMore??!1),_(e)}catch(e){console.error("Failed to load more reviews:",e)}finally{k(!1)}},[E,S,N,s,w]);(0,r.useEffect)(()=>{if(!e||!L.current||!S||E)return;let t=new IntersectionObserver(e=>{e[0].isIntersecting&&P()},{root:R.current,rootMargin:"100px",threshold:0});return t.observe(L.current),()=>t.disconnect()},[e,S,E,P]);let A=async({content:e,parentId:t,productId:r,authorName:n,authorAvatar:a})=>{let l=await h({productId:r,content:e,rating:0,author:x?.displayName||x?.email||"Anonymous",authorEmail:x?.email||"",userId:0,parentId:t});if(l?.message){let r={id:`temp-${Date.now()}`,author:n||x?.displayName||"You",authorEmail:x?.email||"",authorAvatar:a||x?.photoURL||"",authorReviewsCount:1,editor:!1,date:new Date().toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),content:e,child:!0,childReviews:[],productScore:"",commentScore:0,commentUpVotes:0,commentDownVotes:0};b(e=>e.map(e=>String(e.id)===String(t)?{...e,child:!0,childReviews:[r,...e.childReviews||[]]}:e)),v?.({parentId:t,newReply:r})}return l};return(0,t.jsx)(a.Dialog,{open:e,onOpenChange:l,children:(0,t.jsxs)(a.DialogContent,{onClose:()=>{l(!1),f?.()},className:(0,n.default)("max-w-2xl","max-h-[90vh]","flex flex-col","p-0"),children:[(0,t.jsxs)(a.DialogHeader,{className:(0,n.default)("p-6 pb-4","border-b border-gray-200","shrink-0"),children:[(0,t.jsx)(a.DialogTitle,{className:(0,n.default)("text-2xl font-bold","text-ppt-black"),children:"Community ratings"}),(0,t.jsxs)(a.DialogDescription,{className:"text-gray-600",children:["You're viewing ratings of ",i]}),(0,t.jsx)(m.default,{breakdown:d,activeFilter:w,onFilterChange:j})]}),(0,t.jsxs)("div",{ref:R,className:(0,n.default)("flex-1","overflow-y-auto","px-6"),children:[0!==y.length||E?(0,t.jsx)("div",{className:"divide-y divide-gray-200",children:y.map(e=>(0,t.jsx)(p,{rating:e,productId:s,onReplySubmit:A},e.id))}):(0,t.jsxs)("div",{className:"py-12 text-center text-gray-500",children:["No reviews found",w?` with ${w} stars`:"","."]}),(0,t.jsx)("div",{ref:L,className:"h-1"}),E&&(0,t.jsx)("div",{className:"py-6 text-center text-gray-500",children:"Loading reviews..."}),!S&&y.length>0&&(0,t.jsx)("div",{className:"py-6 text-center text-gray-400 text-sm",children:"You've reached the end of reviews"})]})]})})}],28314)},81224,e=>{"use strict";var t=e.i(43476),r=e.i(7670),n=e.i(80373);e.s(["default",0,function({breakdown:e=[],activeFilter:a,onFilterChange:l}){return(0,t.jsx)("div",{className:(0,r.default)("flex flex-wrap gap-2","mt-4"),children:[5,4,3,2,1].map(i=>{let s=e.find(e=>e.value===i)||{count:0},o=a===i,u=0===s.count;return(0,t.jsxs)("button",{type:"button",onClick:()=>{0!==s.count&&(a===i?l(null):l(i))},disabled:u,className:(0,r.default)("flex items-center gap-1","px-3 py-1.5","rounded-full","border","text-sm font-medium","transition-colors",u?"border-gray-200 bg-gray-100 text-gray-400 cursor-not-allowed":"cursor-pointer",!u&&o&&"border-orange-400 bg-orange-400 text-white",!u&&!o&&"border-gray-300 bg-white text-gray-700 hover:border-gray-400"),children:[(0,t.jsx)("div",{className:"flex",children:Array.from({length:i}).map((e,a)=>(0,t.jsx)(n.default,{size:"sm",className:(0,r.default)(u&&"text-gray-300",!u&&o&&"text-white",!u&&!o&&"text-orange-400")},a))}),(0,t.jsx)("span",{className:"ml-1",children:s.count})]},i)})})}])},54613,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(37727),a=e.i(80064);let l=r.forwardRef(({className:e,children:r,onClose:l,...i},s)=>(0,t.jsxs)("div",{ref:s,className:(0,a.cn)("relative mx-auto w-full max-w-lg rounded-lg border bg-white p-6 shadow-lg","animate-in fade-in-0 zoom-in-95 slide-in-from-bottom-4",e),...i,children:[r,l&&(0,t.jsxs)("button",{onClick:l,className:"absolute h-10 w-10 flex items-center justify-center right-4 top-4 roun
11ded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none",children:[(0,t.jsx)(n.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]}));l.displayName="DialogContent";let i=({className:e,...r})=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});i.displayName="DialogHeader";let s=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)("h3",{ref:n,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",e),...r}));s.displayName="DialogTitle";let o=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-neutral-500",e),...r}));o.displayName="DialogDescription",e.s(["Dialog",0,({open:e,onOpenChange:n,children:l,zIndex:i="z-80",fullscreen:s=!1})=>(r.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[e]),e)?(0,t.jsxs)("div",{className:(0,a.cn)("fixed inset-0",!s&&"flex items-center justify-center",i),children:[(0,t.jsx)("div",{className:(0,a.cn)("fixed inset-0",s?"bg-white":"bg-black/50 backdrop-blur-sm"),onClick:()=>n(!1)}),(0,t.jsx)("div",{className:(0,a.cn)(s?"fixed inset-0":"relative w-full",i),children:l})]}):null,"DialogContent",0,l,"DialogDescription",0,o,"DialogHeader",0,i,"DialogTitle",0,s])},59750,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(80064);let a=r.createContext({value:"",onValueChange:()=>{}}),l=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-neutral-100 p-1 text-neutral-500",e),...r}));l.displayName="TabsList";let i=r.forwardRef(({className:e,value:l,...i},s)=>{let{value:o,onValueChange:u}=r.useContext(a),c=o===l;return(0,t.jsx)("button",{ref:s,type:"button",className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",c?"bg-white text-neutral-950 shadow-sm":"hover:bg-white/50",e),onClick:()=>u(l),...i})});i.displayName="TabsTrigger";let s=r.forwardRef(({className:e,value:l,...i},s)=>{let{value:o}=r.useContext(a);return o!==l?null:(0,t.jsx)("div",{ref:s,className:(0,n.cn)("mt-2 ring-offset-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-950 focus-visible:ring-offset-2",e),...i})});s.displayName="TabsContent",e.s(["Tabs",0,({value:e,onValueChange:n,defaultValue:l,children:i,className:s})=>{let[o,u]=r.useState(l||"");return(0,t.jsx)(a.Provider,{value:{value:void 0!==e?e:o,onValueChange:void 0!==e?n:u},children:(0,t.jsx)("div",{className:s,children:i})})},"TabsContent",0,s,"TabsList",0,l,"TabsTrigger",0,i])},94188,e=>{"use strict";var t=e.i(47167),r=e.i(43476),n=e.i(71645),a=e.i(7670);e.s(["default",0,function(){if("development"!==t.default.env.APP_ENV)return null;let[e,l]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=()=>l(window.innerWidth);return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),(0,r.jsxs)("div",{className:(0,a.default)("fixed bottom-25 left-0 z-99","w-18 pr-4 py-3","bg-blue-600 text-white","shadow-lg shadow-stone-900/50","rounded-r-lg","text-right"),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"block sm:hidden",children:"XS"}),(0,r.jsx)("span",{className:"hidden sm:block md:hidden",children:"SM"}),(0,r.jsx)("span",{className:"hidden md:block lg:hidden",children:"MD"}),(0,r.jsx)("span",{className:"hidden lg:block xl:hidden",children:"LG"}),(0,r.jsx)("span",{className:"hidden xl:block 2xl:hidden",children:"XL"}),(0,r.jsx)("span",{className:"hidden 2xl:block",children:"2XL"})]}),(0,r.jsxs)("div",{className:"text-xs",children:[e,"px"]})]})}])},43578,e=>{"use strict";var t=e.i(43476);e.i(3303);var r=e.i(71645);e.s(["default",0,function({name:e=null}){if(!e)return null;let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=n.current;if(e){let t=()=>{e.media="all"};return e.addEventListener("load",t),e.addEventListener("error",e=>console.error("Link failed",e)),()=>{e.removeEventListener("load",t)}}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("link",{rel:"preload",href:`/styles/${e}
11.css`,as:"style"}),(0,t.jsx)("link",{rel:"stylesheet",href:`/styles/${e}.css`,media:"all"})]})}])},69012,e=>{"use strict";var t=e.i(55487);e.i(51718);var r=e.i(97247),r=r,n=e.i(1853),a=e.i(65642),l=e.i(95187);let i=(0,l.createServerReference)("006aa1aa44ffe766ecadc9a9eb3accad56b78bdb9d",l.callServer,void 0,l.findSourceMapURL,"logoutAction");e.s(["useAuth",0,()=>{let e=(0,t.useSelector)(a.selectUser),l=(0,t.useSelector)(a.selectIsAuthenticated);return{user:e,isAuthenticated:l,isLoading:(0,t.useSelector)(a.selectIsLoading),signOut:async()=>{try{await (0,r.D)(n.auth)}catch(e){console.error("Firebase signOut failed:",e)}try{await i()}catch(e){console.error("Server logout failed:",e)}}}}],69012)},52356,e=>{"use strict";var t=e.i(71645);let r={isOpen:!1,source:null,listeners:new Set};e.s(["getAuthPopupSource",0,()=>r.source,"useAuthPopup",0,()=>{let[e,n]=t.useState(r.isOpen);return t.useEffect(()=>{let e=e=>n(e);return r.listeners.add(e),()=>r.listeners.delete(e)},[]),{isOpen:e,openAuthPopup:e=>{r.isOpen=!0,r.source="string"==typeof e?e:null,r.listeners.forEach(e=>e(!0))},closeAuthPopup:()=>{r.isOpen=!1,r.listeners.forEach(e=>e(!1))}}}])},63163,e=>{"use strict";var t=e.i(71645);e.s(["useScrolled",0,function(e=10,r=20){let[n,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=Math.max(0,e-r),n=()=>{let r=window.scrollY;a(n=>n?r>t:r>e)};return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[e,r]),n}])},48756,e=>{"use strict";var t=e.i(22543),r=e.i(73488),n=e.i(24168);function a({placement:e,linkType:t,productName:n,text:l,url:i}){return{placement:e,link_type:t,product_name:(0,r.gaText)(n),link_text:(0,r.gaText)(l),link_url:i}}e.s(["navAttrs",0,function(e){return function(e,{placement:t,linkType:a,text:l,url:i}){return(0,n.toDataAttrs)(e,{placement:t,link_type:a,link_text:(0,r.gaText)(l),link_url:i})}(t.GA_EVENTS.NAV_CLICK,e)},"reviewAttrs",0,function(e){return(0,n.toDataAttrs)(t.GA_EVENTS.REVIEW_CLICK,a(e))},"trackReviewClick",0,function(e){(0,r.trackEvent)(t.GA_EVENTS.REVIEW_CLICK,a(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.