PageSourceSearch

https://teknekirala.com/_next/static/chunks/pages/app-9f7672a7216cb8cc.js

js teknekirala.com collected 2026-10-02 20:40:57 UTC 8,301 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[961],{9358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return a},noSSR:function(){return l}});let n=r(51532);r(5640),r(50148);let o=n._(r(18201));function i(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function a(e,t){let r=o.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let a=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=a?a().then(i):Promise.resolve(i(()=>null))}):(delete n.webpack,delete n.modules,l(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(51532)._(r(50148)).default.createContext(null)},18201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(51532)._(r(50148)),o=r(16019),i=[],l=[],a=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function s(){if(!i){let t=new d(e,r);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!a){let e=r.webpack&&1?r.webpack():r.modules;e&&l.push(t=>{for(let r of e)if(t.includes(r))return s()})}function u(e,t){s();let l=n.default.useContext(o.LoadableContext);l&&Array.isArray(r.modules)&&r.modules.forEach(e=>{l(e)});let a=n.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:i.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return u.preload=()=>s(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(s,e)}function c(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return c(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{c(i).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(a=!0,t());c(l,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let p=u},29494:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app",function(){return r(78833)}])},74818:(e,t,r)=>{e.exports=r(9358)},78833:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(5640),o=r(50148),i=r(73784),l=r(74818),a=r.n(l),s=r(22793),d=r.n(s);
1let u="itms-apps://itunes.apple.com/app/id".concat("6749067356"),c="https://play.google.com/store/apps/details?id=com.teknekirala",p="intent://app#Intent;scheme=teknekirala;package=com.teknekirala;S.browser_fallback_url=".concat(encodeURIComponent(c),";end"),f=()=>{let e=(0,i.useRouter)(),t=(0,o.useRef)(!1),[r,l]=(0,o.useState)("unknown"),[a,s]=(0,o.useState)(!1),f={blue:"#4569fd",darkBlue:"#072947",white:"#ffffff"},h=()=>{var e;if("undefined"==typeof navigator)return"unknown";let t=navigator.userAgent||navigator.vendor||window.opera||"",r=/iPad|iPhone|iPod/.test(t)&&void 0===(null==(e=window)?void 0:e.MSStream),n=/Android/.test(t);return r?"ios":n?"android":"desktop"};return(0,o.useEffect)(()=>{let r=h();if(l(r),"desktop"===r)return void e.push("/");let n=()=>{!document.hidden&&t.current&&setTimeout(()=>{e.push("/")},500)},o=()=>{t.current&&setTimeout(()=>{e.push("/")},500)};if(document.addEventListener("visibilitychange",n),window.addEventListener("focus",o),!t.current){if(t.current=!0,"ios"===r){window.location.href=u;return}if("android"===r){window.location.href=c;return}let e=setTimeout(()=>{s(!0)},1e3);return()=>{clearTimeout(e),document.removeEventListener("visibilitychange",n),window.removeEventListener("focus",o)}}return()=>{document.removeEventListener("visibilitychange",n),window.removeEventListener("focus",o)}},[]),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100vh",background:"linear-gradient(135deg, ".concat(f.blue," 0%, ").concat(f.darkBlue," 100%)"),padding:"20px",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',textAlign:"center"},children:[(0,n.jsx)("img",{src:"/logo-white.svg",alt:"TekneKirala",style:{width:"auto",height:40,marginBottom:24,filter:"drop-shadow(0 4px 8px rgba(0,0,0,0.2))"}}),(0,n.jsx)("p",{style:{color:f.white,fontSize:16,fontWeight:500,margin:0,textShadow:"0 2px 4px rgba(0,0,0,0.2)"},children:a?"Uygulamayı nasıl a\xe7mak istersiniz?":"ios"===r?"App Store'a y\xf6nlendiriyoruz...":"android"===r?"Google Play'e y\xf6nlendiriyoruz...":"TekneKirala uygulamasına hoş geldiniz!"}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{onClick:()=>{let t=h();if("ios"===t){window.location.href="teknekirala://app",setTimeout(()=>{window.location.href=u},1500);return}if("android"===t){window.location.href=p,setTimeout(()=>{window.location.href=c},1500);return}e.push("/")},style:{marginTop:20,padding:"12px 24px",borderRadius:12,border:"none",cursor:"pointer",fontWeight:600,fontSize:16,backgroundColor:f.white,color:f.darkBlue,boxShadow:"0 4px 12px rgba(0,0,0,0.2)"},children:"Uygulamayı A\xe7"}),(0,n.jsxs)("div",{style:{marginTop:20,display:"flex",flexDirection:"column",gap:"10px"},children:["ios"===r?(0,n.jsx)(d(),{href:u,style:{color:f.white,opacity:.9,textDecoration:"underline",fontSize:14,padding:"8px 16px",borderRadius:8,backgroundColor:"rgba(255,255,255,0.1)",textAlign:"center"},children:"App Store'dan İndir"}):"android"===r?(0,n.jsx)(d(),{href:c,style:{color:f.white,opacity:.9,textDecoration:"underline",fontSize:14,padding:"8px 16px",borderRadius:8,backgroundColor:"rgba(255,255,255,0.1)",textAlign:"center"},children:"Google Play'den İndir"}):null,(0,n.jsx)(d(),{href:"/",style:{color:f.white,opacity:.7,textDecoration:"underline",fontSize:14,marginTop:10},children:"Web sitesine devam et"})]})]}),!a&&(0,n.jsxs)("div",{style:{marginTop:20},children:[(0,n.jsx)("div",{style:{width:24,height:24,border:"2px solid ".concat(f.white),borderRadius:"50%",borderTopColor:"transparent",animation:"spin 1s linear infinite",margin:"0 auto"}}),(0,n.jsx)("style",{children:"\n            @keyframes spin {\n              to {\n                transform: rotate(360deg);\n              }\n            }\n          "})]})]})},h=a()(()=>Promise.resolve(f),{ssr:!1})}},e=>{e.O(0,[2793,636,6593,8792],()=>e(e.s=29494)),_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.