PageSourceSearch

https://unblocksyria.com/_next/static/chunks/2-5k6ma82m9lb.js

js unblocksyria.com collected 2026-10-06 16:53:05 UTC 10,224 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6ef8f64f-0f88-336f-f010-57a6ec615167")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,517971,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(772382),i=e.i(263676);let o="i18n-preview";function a(e){return e.replace(/\s+/g," ").trim()}var s=e.i(406871);function l(){let e=new URL(window.location.href);e.searchParams.delete(o),window.location.assign(e.toString())}let c=["aria-label","alt","title","placeholder","aria-placeholder","aria-description"];e.s(["TranslationPreview",0,function({translationKey:e,translatedText:u}){let[d,f]=(0,r.useState)({visible:0,hidden:0,byMark:!1}),[h,m]=(0,r.useState)([]),p=(0,r.useRef)(!1),v=(0,r.useRef)({visible:[],hosts:[],outOfBand:0,byMark:!1}),g=(0,r.useCallback)(()=>{let{visible:e,hosts:t,outOfBand:r,byMark:n}=v.current,i=[],o=new Set,a=(e,t)=>{if(i.length>=300||!function(e){for(let t=e;t;t=t.parentElement){let e=getComputedStyle(t);if("none"===e.display||"hidden"===e.visibility||"collapse"===e.visibility||0===Number.parseFloat(e.opacity))return!1}return!0}(e))return;let r=e.getBoundingClientRect();r.width<1||r.height<1||(o.add(e),i.push({top:r.top,left:r.left,width:r.width,height:r.height,kind:t}))};for(let t of e)a(t,"visible");let s=new Set(e);for(let e of t)s.has(e)||a(e,"hidden");m(i);let l=e.filter(e=>o.has(e));f({visible:l.length,hidden:t.length+r+(e.length-l.length),byMark:n});let c=l[0];c&&!p.current&&(p.current=!0,c.scrollIntoView({behavior:"smooth",block:"center"}))},[]),b=(0,r.useCallback)(()=>{let e=e=>e instanceof Element?null!==e.closest("[data-i18n-preview-ui]"):(e?.parentElement?.closest("[data-i18n-preview-ui]")??null)!==null,t=[],r=[],n=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,{acceptNode(t){let r=t.parentElement;return!r||e(r)||r.closest("script, style, noscript, template")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});for(let e=n.nextNode();e;e=n.nextNode()){let n=e,i=n.textContent??"";(0,s.hasPreviewMark)(i)?t.push(n):function(e,t){let r=a(e),n=a(t);if(!r||!n)return!1;if(!/\{[^{}]+\}/.test(n))return r===n;let i=n.split(/\{[^{}]+\}/g).map(a).filter(e=>e.length>=2).sort((e,t)=>t.length-e.length);return i.length>0&&i.every(e=>r.includes(e))}(i,u)&&r.push(n)}let i=new Set;for(let t of document.querySelectorAll("*"))if(!e(t))for(let e of c){let r=t.getAttribute(e);if(r&&(0,s.hasPreviewMark)(r)){i.add(t);break}}let o=0;for(let e of document.head.querySelectorAll("title, meta[content]")){let t="TITLE"===e.tagName?e.textContent??"":e.getAttribute("content")??"";(0,s.hasPreviewMark)(t)&&(o+=1)}for(let e of document.querySelectorAll('script[type="application/ld+json"]'))(0,s.hasPreviewMark)(e.textContent??"")&&(o+=1);let l=o,d=t.length>0||i.size>0||o>0,f=new Set;for(let e of d?t:r){let t=e.parentElement;t&&f.add(t.closest("a, button, label, h1, h2, h3, h4, p, li, dt, dd, span")??t)}v.current={visible:[...f],hosts:[...i].filter(e=>!f.has(e)),outOfBand:l,byMark:d},g()},[u,g]);return(0,r.useEffect)(()=>{let e=0,t=!0,r=r=>{t=t||r,e||(e=window.requestAnimationFrame(()=>{e=0;let r=t;t=!1,r?b():g()}))},n=()=>r(!1);r(!0);let i=new MutationObserver(e=>{e.every(e=>e.target instanceof Element&&null!==e.target.closest("[data-i18n-preview-ui]"))||r(!0)});return i.observe(document.body,{childList:!0,characterData:!0,subtree:!0}),document.addEventListener("scroll",n,{capture:!0,passive:!0}),window.addEventListener("resize",n,{passive:!0}),document.addEventListener("transitionend",n,{capture:!0}),document.addEventListener("animationend",n,{capture:!0}),()=>{i.disconnect(),document.removeEventListener("scroll",n,{capture:!0}),window.removeEventListener("resize",n),document.removeEventListener("transitionend",n,{capture:!0}),document.removeEventListener("animationend",n,{capture:!0}),e&&window.cancelAnimationFrame(e)}},[b,g]),(0,r.useEffect)(()=>{let t=t=>{var r,n;let i,a;if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let s=t.target;if(!(s instanceof Element))return;let l=s.closest("a[href]");if(!(!l||l.closest("[data-i18n-preview-ui]"))&&(!l.target||"_self"===l.target)){try{i=new URL(l.href,window.location.href)}catch{return}i.origin===window.location.origin&&("http:"===i.protocol||"https:"===i.protocol)&&i.searchParams.get(o)!==e&&(r=i,n=new URL(window.location.href),(a=e=>{let t=new URL(e.toString());return t.searchParams.delete(o),`${t.pathname}?${t.searchParams.toString()}`})(r)!==a(n)&&(i.searchParams.set(o,e),t.preventDefault(),window.location.assign(i.toString())))}};return document.addEventListener("click",t,!0),()=>document.removeEventListener("click",t,!0)},[e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-i18n-preview-ui":!0,"aria-hidden":"true",className:"pointer-events-none fixed inset-0 z-[9998]",children:h.map((e,r)=>(0,t.jsx)("div",{className:"visible"===e.kind?"absolute rounded-[3px] outline outline-[3px] outline-offset-[3px] outline-emerald-500":"absolute rounded-[3px] outline outline-2 outline-offset-[3px] outline-dashed outline-emerald-500/70",style:{to
2p:e.top,left:e.left,width:e.width,height:e.height}},r))}),(0,t.jsxs)("aside",{"data-i18n-preview-ui":!0,dir:"ltr",role:"status","aria-live":"polite",className:"fixed inset-x-3 bottom-3 z-[9999] mx-auto flex max-w-2xl items-center gap-3 rounded-xl border border-emerald-500/40 bg-background/95 px-3 py-2.5 text-start shadow-2xl backdrop-blur sm:bottom-5 sm:px-4",children:[(0,t.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-emerald-500/15 text-emerald-600 dark:text-emerald-400",children:(0,t.jsx)(n.Eye,{className:"size-4"})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("code",{className:"block truncate text-[11px] text-muted-foreground",children:e}),(0,t.jsx)("span",{className:"block text-xs font-medium",children:function(e){let{visible:t,hidden:r,byMark:n}=e,i=(e,t)=>`${e} ${t}${1===e?"":"es"}`;return t>0&&r>0?`${i(t,"match")} on the page, and ${r} not readable from it`:t>0?n?`${i(t,"match")} — outlined`:`${i(t,"match")} with this wording`:r>0?1===r?"On this page, but not readable as text — an accessibility label, page metadata, or something not currently shown":`${r} places on this page, none readable as text — accessibility labels, page metadata, or parts not currently shown`:"Not on this page yet — it may need an action, an error, or an empty result to appear"}(d)})]}),(0,t.jsx)("button",{type:"button",onClick:l,"aria-label":"Exit translation preview",className:"flex size-9 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(i.X,{className:"size-4"})})]})]})}],517971)},559069,e=>{"use strict";var t=e.i(271645),r=e.i(618566),n=e.i(6725);e.s(["NavigationHistoryRecorder",0,function(){let e=(0,r.usePathname)();return(0,t.useEffect)(()=>(window.addEventListener("popstate",n.recordTraversal),()=>window.removeEventListener("popstate",n.recordTraversal)),[]),(0,t.useEffect)(()=>{(0,n.recordPathname)(e)},[e]),null}])},90263,e=>{"use strict";var t=e.i(843476);e.i(671673);var r=e.i(938429),n=e.i(261382);e.s(["SkipLink",0,function(){let{locale:e}=(0,r.useTranslationContext)(),i=(0,n.useTranslator)(e);return(0,t.jsx)("a",{href:"#main-content",className:"sr-only focus-visible:not-sr-only focus-visible:fixed focus-visible:top-4 focus-visible:left-4 focus-visible:rtl:left-auto focus-visible:rtl:right-4 focus-visible:z-[60] focus-visible:rounded-lg focus-visible:bg-syrian-gold focus-visible:px-4 focus-visible:py-2 focus-visible:font-medium focus-visible:text-syrian-dark-green focus-visible:shadow-lg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-syrian-dark-green/30",children:i("header.a11y.skipToContent")})}])},6725,e=>{"use strict";let t=null,r=!1,n=!1;e.s(["canGoBackInApp",0,function(e=globalThis.navigation){let t=e?.currentEntry?.index;return"number"==typeof t&&t>=0?t>0:r},"recordPathname",0,function(e){e!==t&&(n?n=!1:null!==t&&(r=!0),t=e)},"recordTraversal",0,function(){n=!0,r=!1}])},995428,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(586318);e.s(["DirectionProvider",0,function({direction:e,locale:i,children:o}){return(0,r.useLayoutEffect)(()=>{document.documentElement.dir=e,document.documentElement.lang=i??("rtl"===e?"ar":"en")},[e,i]),(0,t.jsx)(n.DirectionProvider,{dir:e,children:o})}])},540886,e=>{"use strict";var t=e.i(843476),r=e.i(699018),r=r,n=e.i(846696),i=e.i(294650),o=e.i(901954),a=e.i(606322),s=e.i(922707);e.i(671673);var l=e.i(261382),c=e.i(938429);e.s(["SWRProvider",0,function({children:e}){let{locale:u}=(0,c.useTranslationContext)(),d=(0,l.useTranslator)(u);return(0,t.jsx)(r.S,{value:{revalidateOnFocus:!1,revalidateOnReconnect:!0,dedupingInterval:s.SWR_CONFIG.dedupingIntervalMs,errorRetryCount:s.SWR_CONFIG.maxRetries,onError:(e,t)=>{(0,a.reportApiFailure)("data",e),e instanceof i.ApiError?e.status===s.HTTP_STATUS.TOO_MANY_REQUESTS?n.toast.error(d("toast.error.rateLimited",{seconds:e.retryAfter||s.SWR_CONFIG.defaultRetryAfterSeconds})):e.status>=s.HTTP_STATUS.SERVER_ERROR_THRESHOLD&&n.toast.error(d("toast.error.serverError")):(0,o.isNetworkFailure)(e)&&n.toast.error(d("toast.error.networkError"))},onErrorRetry:(e,t,r,n,{retryCount:o})=>{"u">typeof navigator&&!navigator.onLine||e instanceof i.ApiError&&s.SWR_CONFIG.noRetryStatusCodes.includes(e.status)||o>=s.SWR_CONFIG.maxRetries||setTimeout(()=>{("u"<typeof navigator||navigator.onLine)&&n({retryCount:o})},s.SWR_CONFIG.backoffMultiplierMs*Math.pow(2,o))}},children:e})}],540886)},772382,e=>{"use strict";var t=e.i(456420);let r={name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};r.node;let n=(0,t.default)(r);e.s(["Eye",0,n],772382)}]);
3
4//# debugId=6ef8f64f-0f88-336f-f010-57a6ec615167

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.