1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{14482:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});let{useToken:r}=o(70445).A;function n(){let{token:e}=r();return{getColor:function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return e["".concat(t,"-").concat(o)]}}}},19610:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>f,_1:()=>g});var r=o(30832),n=o.n(r),s=o(91027),i=o.n(s),a=o(99758),l=o.n(a),d=o(54463),u=o.n(d),c=o(6420),p=o.n(c);o(32107),o(27742),o(37060),o(63088),o(60241),o(82091),o(65847),o(68445),o(11087),o(1308),n().extend(i()),n().extend(l()),n().extend(u()),n().extend(p()),n().locale("en");let g=e=>{let t={en:"en",tr:"tr",es:"es",pt:"pt",ja:"ja",ar:"ar",de:"de",ru:"ru",ro:"ro",fr:"fr"}[e]||"en";n().locale(t),"tr"===t&&n().updateLocale("tr",{formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},meridiem:e=>e<12?"\xd6\xd6":"\xd6S"})},f=n()},27296:(e,t,o)=>{Promise.resolve().then(o.bind(o,65392)),Promise.resolve().then(o.bind(o,79911)),Promise.resolve().then(o.t.bind(o,81231,23)),Promise.resolve().then(o.bind(o,46096)),Promise.resolve().then(o.t.bind(o,69243,23)),Promise.resolve().then(o.t.bind(o,52229,23)),Promise.resolve().then(o.bind(o,76825)),Promise.resolve().then(o.t.bind(o,63999,23))},41761:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var r=o(88468),n=o(95838);function s(){let{data:e,isLoading:t}=(0,n.useQuery)({queryKey:["currentUser"],queryFn:r.HW,staleTime:3e5,refetchOnWindowFocus:!0});return{currentUser:e,isLoading:t}}},46102:(e,t,o)=>{"use strict";o.d(t,{B:()=>a,Tooltip:()=>l,TooltipContent:()=>u,TooltipTrigger:()=>d});var r=o(95155),n=o(12115),s=o(12620),i=o(59434);let a=s.Kq,l=s.bL,d=s.l9,u=n.forwardRef((e,t)=>{let{className:o,sideOffset:n=4,...a}=e;return(0,r.jsx)(s.ZL,{children:(0,r.jsx)(s.UC,{ref:t,sideOffset:n,className:(0,i.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",o),...a})})});u.displayName=s.UC.displayName},59434:(e,t,o)=>{"use strict";o.d(t,{cn:()=>s});var r=o(52596),n=o(39688);function s(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return(0,n.QP)((0,r.$)(t))}},63999:()=>{},73921:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r={geekblue:"#101828",blue:"#65C7FE",green:"#4FE7A9",red:"#FF6A88",yellow:"#FFCB41",orange:"#FF9239",purple:"#7839FF",magenta:"#D697FF"}},76825:(e,t,o)=>{"use strict";let r;o.d(t,{Providers:()=>$});var n=o(95155),s=o(51251),i=o(12115),a=o(39820),l=o(75592),d=o(45321),u=o(13969),c=o(83731),p=o(72341),g=o(55028),f=o(52775),m=o(52020),h=o(26715),b=o(88902),F=o(50192);let y=(e,t)=>{if(e>=2)return!1;let o=(e=>{var t;return"object"!=typeof e||null===e?void 0:"number"==typeof e.statusCode?e.statusCode:"number"==typeof(null==(t=e.response)?void 0:t.status)?e.response.status:void 0})(t);return void 0===o||!(o>=400)||!(o<500)},v=(e,t)=>!(e>=1)&&"NETWORK_ERROR"===(null==t?void 0:t.errorCode),x=i.lazy(()=>o.e(6377).then(o.bind(o,6377)).then(e=>({default:e.ReactQueryDevtools})));function A(){return new f.E({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!1,retry:y},mutations:{retry:v}}})}function C(e){let{children:t,dehydratedState:o}=e,s=m.S$?A():(r||(r=A()),r),[a,l]=i.useState(!1);return i.useEffect(()=>{window.toggleDevtools=()=>l(e=>!e)},[]),(0,n.jsx)(h.QueryClientProvider,{client:s,children:(0,n.jsxs)(b.HydrationBoundary,{state:o,children:[t,(0,n.jsx)(F.E,{buttonPosition:"bottom-left",initialIsOpen:!1}),a&&(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(x,{})})]})})}var _=o(19610),S=o(73921),E=o(57845);function L(e){let{children:t}=e;return(0,n.jsx)(E.Ay,{theme:{token:{geekblue:S.A.geekblue,blue:S.A.blue,green:S.A.green,red:S.A.red,yellow:S.A.yellow,orange:S.A.orange,magenta:S.A.magenta,purple:S.A.purple}},children:t})}var j=o(72797),k=o(70445),w=o(69057),P=o(4076),R=o(47067),B=o(76689),M=o(24629),Y=o.n(M),D=o(14482);function T(e){let{children:t}=e,{getColor:o}=(0,D.A)(),r=(0,j.Ym)();return(0,n.jsx)(E.Ay,{locale:{tr:w.A,en:P.default,de:R.A,fr:B.A}[r],theme:{algorithm:k.A.defaultAlgorithm,token:{colorBgLayout:"#FFFFFF",fontFamily:Y().style.fontFamily,colorPrimary:"#F89234",colorInfo:S.A.blue,colorSuccess:S.A.green,colorWarning:S.A.yellow,colorError:S.A.red,controlOutlineWidth:1,controlOutline:"#F89234",colorText:"#101828",colorTextSecondary:"#475467",borderRadius:8,borderRadiusSM:4,borderRadiusLG:8,controlHeight:32,boxShadow:"0px 4px 4px rgba(58, 65, 131, 0.1)",colorLinkHover:o("geekblue"),colorLink:o("geekblue"),colorPrimaryBgHover:"#dbdbdb",colorPrimaryBg:"#E8E8E8"},components:{Radio:{padding:10},Menu:{itemSelectedColor:"#FFAC40",itemSelectedBg:"#FFF9F0",itemHoverBg:"#E8E8E8",linkHoverDecoration:"none",iconSize:20,collapsedIconSize:20},Layout:{headerBg:"#FFFFFF"},Input:{borderRadius:6}
1,Table:{colorBgContainer:"#FFFFFF",rowHoverBg:"#fffbf5",borderRadius:8,borderColor:"#f2f0ec",headerBg:"#fffbf5"},Segmented:{colorBgElevated:"#FFFFFF",borderRadius:6,colorBgLayout:"rgba(0, 0, 0, 0.06)"},Modal:{borderRadiusLG:16,borderRadius:16,borderRadiusSM:16},Badge:{borderRadius:8,borderRadiusSM:8,borderRadiusLG:8},Typography:{linkHoverDecoration:"underline"},Card:{colorBorderSecondary:"#D4DDED"}}},children:t})}function H(e){let{children:t}=e;return(0,n.jsx)(L,{children:(0,n.jsx)(T,{children:t})})}var O=o(51362),N=o(56671);let I=e=>{let{...t}=e,{theme:o="system"}=(0,O.D)();return(0,n.jsx)(N.l$,{theme:o,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})};var U=o(46102),z=o(41761),G=o(92968);function W(){let{currentUser:e}=(0,z.A)(),t=(0,G.Q)(e=>e.loadScopes),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{var r;if(!e)return;let n=[e.id,e.userRole,e.userStatus,null==(r=e.company)?void 0:r.packageDeal].join("|");o.current!==n&&(o.current=n,t(e))},[e,t]),null}(0,g.default)(()=>Promise.all([o.e(4919),o.e(9503),o.e(7371),o.e(1361),o.e(5704),o.e(82)]).then(o.bind(o,30082)),{loadableGenerated:{webpack:()=>[30082]},ssr:!1});let q=new d.vq({auth:{clientId:"3d3652ea-07fb-4bd9-aad7-9097b065e5b4",authority:"https://login.microsoftonline.com/common",redirectUri:"https://app.spiky.ai"},cache:{cacheLocation:"cookieStorage",storeAuthStateInCookie:!0}}),Q=q.getAllAccounts();Q.length>0&&q.setActiveAccount(Q[0]),q.addEventCallback(e=>{let t=e.payload,o=null==t?void 0:t.account;e.eventType===u.B.LOGIN_SUCCESS&&o&&q.setActiveAccount(o)});let K=()=>Promise.all([o.e(3479),o.e(4739),o.e(7567)]).then(o.bind(o,57567)).then(e=>e.default);function $(e){let{children:t}=e,o=(0,j.Ym)(),[r,d]=(0,i.useState)({distinct_id:null,session_id:null});return(0,i.useEffect)(()=>{{let e=new URLSearchParams(window.location.hash.substring(1));d({distinct_id:e.get("distinct_id"),session_id:e.get("session_id")})}},[]),(0,i.useEffect)(()=>{let e=new URLSearchParams(window.location.hash.substring(1)).get("__posthog");if(e)try{sessionStorage.setItem("posthogToolbarConfig",e)}catch(e){console.error("Error storing PostHog toolbar config:",e)}let t=sessionStorage.getItem("posthogToolbarConfig");p.Ay.init("phc_2m70xVenigl1M4tg2yTY6XzoCaZPO1F02xoHk2UAa1V",{api_host:"https://k.spiky.ai",ui_host:"https://us.posthog.com",autocapture:!0,capture_pageview:!0,capture_pageleave:!0,loaded:e=>{if(t)try{let o=JSON.parse(t);e.loadToolbar({...o,apiURL:"https://us.posthog.com"})}catch(e){console.error("Error loading PostHog toolbar:",e)}},opt_in_site_apps:!0,...r.distinct_id&&r.session_id&&{bootstrap:{distinctID:r.distinct_id,sessionID:r.session_id}}})},[r.distinct_id,r.session_id]),(0,i.useEffect)(()=>{(0,_._1)(o)},[o]),(0,n.jsx)(c.so,{client:p.Ay,children:(0,n.jsx)(a.r7,{instance:q,children:(0,n.jsx)(C,{children:(0,n.jsx)(s.F,{strict:!0,features:K,children:(0,n.jsx)(H,{children:(0,n.jsx)(l.N,{children:(0,n.jsx)(U.B,{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(W,{}),t,(0,n.jsx)(I,{}),!1]})})})})})})})})}},88468:(e,t,o)=>{"use strict";o.d(t,{CK:()=>c,E5:()=>d,G6:()=>i,Gl:()=>l,HW:()=>n,Pp:()=>u,eg:()=>s,pJ:()=>a});var r=o(15427);async function n(){return r.FC.get("/people/me")}function s(e){return r.FC.patch("/people/me",e)}function i(){return r.FC.post("/people/avatar")}function a(){return r.FC.delete("/people/avatar")}function l(e){return r.FC.patch("/people/settings",e)}function d(e){return r.FC.patch("/people/settings",e)}function u(e){return r.FC.patch("/people/settings",e)}function c(e){return Promise.all(e.map(e=>r.FC.patch("/people/".concat(e.id),{role:e.role,status:e.status})))}}},e=>{e.O(0,[8362,1974,8229,3211,2870,9597,5590,5178,4277,4562,6487,7845,2620,6751,2798,3568,8194,8441,5964,7358],()=>e(e.s=27296)),_N_E=e.O()}]);
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.