PageSourceSearch

https://edutime.ai/_next/static/chunks/97579.e13828fd46ea96b9.js

js edutime.ai collected 2026-10-05 12:14:24 UTC 3,694 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97579],{97579:(e,a,t)=>{t.r(a),t.d(a,{kagitOku:()=>g,okuyucuyuHazirla:()=>y});let i=JSON.parse('{"rE":"4.10.0-release.1"}');var n=t(9121);class l extends Error{}async function r(e){try{return await createImageBitmap(e,{imageOrientation:"from-image"})}catch(a){throw new l("image/heic"===e.type||"image/heif"===e.type?"Bu tarayıcı HEIC fotoğrafı a\xe7amıyor. Telefonun kamera ayarından “En Uyumlu” (JPEG) bi\xe7imini se\xe7in ya da fotoğrafı JPEG olarak g\xf6nderin.":"Fotoğraf a\xe7ılamadı; dosya bozuk ya da desteklenmeyen bir bi\xe7imde.")}}function o(e,a){let t=Math.max(1,Math.round(e.width*a)),i=Math.max(1,Math.round(e.height*a)),n=document.createElement("canvas");n.width=t,n.height=i;let r=n.getContext("2d",{willReadFrequently:!0});if(!r)throw new l("Tarayıcı g\xf6r\xfcnt\xfcy\xfc işleyemedi (canvas).");return r.imageSmoothingEnabled=!0,r.imageSmoothingQuality="high",r.drawImage(e,0,0,t,i),{data:r.getImageData(0,0,t,i).data,width:t,height:i}}async function u(e){let a=await r(e);try{var t;let e=Math.max(a.width,a.height);if(e<1400)throw new l("Fotoğraf \xe7ok k\xfc\xe7\xfck (".concat(a.width,"\xd7").concat(a.height,"). K\xe2ğıt kadrajı dolduracak şekilde, daha yakından ve y\xfcksek \xe7\xf6z\xfcn\xfcrl\xfckte \xe7ekin."));let i=Math.min(1,2340/e),n=o(a,i),r=o(a,.8*i),u=document.createElement("canvas");u.width=n.width,u.height=n.height,null==(t=u.getContext("2d"))||t.drawImage(a,0,0,n.width,n.height);let c=await new Promise((e,a)=>u.toBlob(t=>t?e(URL.createObjectURL(t)):a(new l("\xd6nizleme \xfcretilemedi.")),"image/jpeg",.85));return{asil:n,ikinci:r,onizlemeAdresi:c}}finally{a.close()}}async function c(e,a){let t=await fetch(e);if(!t.ok)throw new l("Optik form şablonu y\xfcklenemedi.");let i=await t.blob();if(a&&await (0,n.E3)(i)!==a)throw new l("Optik form şablonu s\xfcr\xfcm\xfc uyuşmuyor; sayfayı yenileyip tekrar deneyin.");let u=await r(i);try{return o(u,1)}finally{u.close()}}let k=null,h=null,m=null,d=new Map,s=null;function w(){return k||((k=new Worker(t.tu(new URL(t.p+t.u(13333),t.b)))).onmessage=e=>{let a=e.data;if("hazir"===a.tip){null==s||s.coz(),s=null;return}if("hata"===a.tip&&!a.kimlik){null==s||s.reddet(Error(a.mesaj)),s=null;return}let t="sonuc"===a.tip||"hata"===a.tip?a.kimlik:void 0;if(t&&d.has(t)){var i;null==(i=d.get(t))||i.coz(a),d.delete(t)}},k.onerror=()=>{for(let[e,a]of d)a.coz({tip:"hata",kimlik:e,mesaj:"Okuyucu beklenmedik bi\xe7imde durdu."});d.clear(),null==s||s.reddet(Error("Okuyucu başlatılamadı.")),s=null,null==k||k.terminate(),k=null,h=null,m=null}),k}function y(e){return h===e.kimlik&&m?m:(h=e.kimlik,m=(async()=>{let a=await c(e.sablonYolu,e.sablonSha256),t=w();await new Promise((n,l)=>{s={coz:n,reddet:l},t.postMessage({tip:"hazirla",opencvAdresi:"".concat(window.location.origin,"/vendor/opencv-").concat(i.rE,".js"),sablon:a,duzenKimligi:e.kimlik},[a.data.buffer])})})().catch(e=>{throw m=null,h=null,e}))}let f=0;async function g(e,a){let[t,i]=await Promise.all([(0,n.E3)(e),(0,n.E3)(a)]);await y(a);let{asil:l,ikinci:r,onizlemeAdresi:o}=await u(e),c={genislik:l.width,yukseklik:l.height};f+=1;let k="k".concat(Date.now(),"-").concat(f),h=await new Promise(e=>{d.set(k,{coz:e}),w().postMessage({tip:"oku",kimlik:k,asil:l,ikinci:r},[l.data.buffer,r.data.buffer])});if("hata"===h.tip)throw URL.revokeObjectURL(o),Error(h.mesaj);if("sonuc"!==h.tip)throw Error("Beklenmeyen okuyucu yanıtı.");let m=[...new Set([...h.okuma.supheli,...h.kararlilik.eklenecekKontroller])];return{kanit:{kaynakSha256:t,formSha256:i,okuyucuSurumu:n.yr},onizlemeAdresi:o,...c,okuma:h.okuma,kararlilik:h.kararlilik,kontrolListesi:m}}}}]);

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.