PageSourceSearch

http://behmalt.com/_next/static/chunks/97100.5fe0c321f67c798f.js

js behmalt.com collected 2026-10-02 23:55:05 UTC 4,351 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97100],{97100:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});var a=r(95155),l=r(98500),n=r.n(l),i=r(73321),o=r(72635),s=r(49398),d=r(12115),c=r(82842),x=r(76368),p=r(75073),f=r(35840);function u(e){return/^(https?:)?\/\//i.test(e)||e.startsWith("mailto:")||e.startsWith("tel:")}function b(e){let t=String(e||"").trim();if(!t)return"/";let r=t.split("?")[0]?.split("#")[0]||"/";return r.startsWith("/")?r.replace(/\/+$/,"")||"/":`/${r.replace(/^\/+/,"").replace(/\/+$/,"")}`}function m(e){let t=(0,i.usePathname)(),r=e.node.defaultProps,l=r&&Object.keys(r).length>0?(0,f.WH)(r):(0,f.WH)(e.editable?f.BK:{...f.BK,label:"",items:[]}),m=(0,p.ah)(e.dir,e.page,e.language),h=(0,p.I_)(e.dir,e.page,e.language),g="fa"===m.toLowerCase().split(/[-_]/)[0],v=!!e.isDark,w=t||window.location.pathname,y=(0,d.useMemo)(()=>{let e="solid"===l.surfaceStyle?l.backgroundColor:"soft"===l.surfaceStyle?v?"rgba(15, 23, 42, 0.95)":"rgba(255, 255, 255, 0.98)":l.backgroundColor;return{borderRadius:`${l.borderRadius}px`,padding:`${l.paddingY}px ${l.paddingX}px`,gap:`${l.itemGap}px`,background:"glass"===l.surfaceStyle?v?"linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.9))":"linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.88))":e,boxShadow:l.shadow?v?"0 20px 48px rgba(2, 6, 23, 0.48)":"0 18px 48px rgba(15, 23, 42, 0.16)":"none",backdropFilter:l.enableBackdropBlur?"blur(18px)":void 0,border:`1px solid ${v?"rgba(148,163,184,0.14)":"rgba(148,163,184,0.18)"}`,color:v?x.K.heading:l.textColor}},[v,l]),N=e.editable?"relative mx-auto flex w-full max-w-[420px] flex-col gap-2":"fixed inset-x-0 z-[90] flex justify-center md:hidden",j=e.editable?void 0:{bottom:`calc(env(safe-area-inset-bottom) + ${l.bottomOffset}px)`},k=e.editable?void 0:{width:`min(calc(100vw - ${2*l.sideOffset}px), 420px)`},$=Array.isArray(l.items)?l.items.filter(e=>e.title||e.href):[];return $.length?(0,a.jsxs)("div",{dir:h,className:N,style:j,children:[e.editable?(0,a.jsx)("div",{className:"rounded-full border border-dashed border-slate-300 px-3 py-1 text-center text-[11px] text-slate-500",children:g?"نمایش این ویجت فقط در موبایل فعال است.":"This widget is only visible on mobile screens."}):null,(0,a.jsx)("nav",{"aria-label":l.label||(g?"ناوبری موبایل":"Mobile navigation"),className:"w-full overflow-hidden",style:k,children:(0,a.jsx)("div",{className:"flex items-stretch justify-between overflow-x-auto no-scrollbar",style:y,children:$.map(e=>{let t,r,i,d=function(e,t){let r=String(e.href||"").trim();if(!r)return"#";if(u(r)||r.startsWith("#"))return r;let a=r.replace(/^\/+/,"");return(0,c.cO)(t||"fa",a)}(e,m),p=function(e,t,r){if(!t||"#"===t||u(t))return!1;let a=b(r),l=b(t);return"exact"===e.matchMode?a===l:a===l||a.startsWith(`${l}/`)}(e,d,w),f=(t=v?x.K.primary:l.activeColor,r=v?x.K.heading:l.textColor,i=v?x.K.muted:l.mutedColor,(0,a.jsxs)("div",{className:"relative flex min-w-[68px] flex-1 flex-col items-center justify-center gap-1.5 overflow-hidden rounded-[20px] px-2 py-2 text-center",children:[l.showTopIndicator?(0,a.jsx)(s.P.span,{layout:!0,className:"absolute inset-x-3 top-0 h-[3px] rounded-full",style:{backgroundColor:t,opacity:+!!p}}):null,(0,a.jsx)("span",{className:"inline-flex items-center justify-center transition-transform duration-200",style:{color:p?t:i,fontSize:`${l.iconSize}px`,transform:p?"translateY(-1px)":"none"},children:(0,a.jsx)(o.In,{icon:e.icon||"mdi:circle-outline"})}),l.showLabels?(0,a.jsx)("span",{className:"line-clamp-1 text-[12px] font-semibold leading-5",style:{color:p?t:r},children:e.title||"Item"}):null]}));return e.href?u(d)?(0,a.jsx)("a",{href:d,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"flex flex-1 no-underline",children:f},e.id):(0,a.jsx)(n(),{href:d,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"flex flex-1 no-underline",children:f},e.id):(0,a.jsx)("div",{className:"flex flex-1",children:f},e.id)})})})]}):(0,a.jsx)("div",{className:"rounded-[22px] border border-dashed border-slate-300 px-4 py-4 text-center text-sm text-slate-400",children:g?"هنوز آیتمی برای ناوبری موبایل تعریف نشده است.":"No mobile navigation item has been configured yet."})}}}]);

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.