PageSourceSearch

http://behmalt.com/_next/static/chunks/96163.e5a919710b04a9cc.js

js behmalt.com collected 2026-10-02 23:55:04 UTC 7,540 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[96163],{96163:(e,l,t)=>{t.r(l),t.d(l,{default:()=>j});var r=t(95155),a=t(39092),i=t.n(a),s=t(98500),n=t.n(s),o=t(12115),d=t(30677);t(33520);var c=t(76368),m=t(6576),x=t(80283),p=t(75073),h=t(69187);function u({item:e,children:l}){let t;if(!(t=String(e.href||"").trim())||"#"===t)return(0,r.jsx)("div",{className:"block h-full w-full",children:l});let a=String(e.href||"");return/^(https?:)?\/\//i.test(a)||a.startsWith("mailto:")||a.startsWith("tel:")?(0,r.jsx)("a",{href:a,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"block h-full w-full no-underline",children:l}):(0,r.jsx)(n(),{href:a,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"block h-full w-full no-underline",children:l})}function f({item:e,property:l,dir:t,isDark:a,emptyImageText:i}){var s;let n,o=(n=String(e.image||"").trim())?(0,m.IB)(n):"",d=a?c.K.heading:l.titleColor,x=a?"#5eead4":l.roleColor,p=a?c.K.muted:l.emailColor,h=a?"rgba(15,23,42,0.92)":l.cardBackgroundColor,b=a?"rgba(148,163,184,0.16)":l.cardBorderColor,g=`${l.imageAspectRatio}`,y=l.showEmail&&!!String(e.email||"").trim(),j=l.showRole&&!!String(e.role||"").trim(),v="center"===(s=l.textAlign)?"text-center items-center":"left"===s?"text-left items-start":"text-right items-end",k=l.textAlign,N=e.imageFit||l.imageFit,w=o?(0,r.jsx)("div",{"aria-label":e.title||"character",role:"img",className:"absolute inset-0",style:{backgroundImage:`url("${o.replace(/"/g,'\\"')}")`,backgroundPosition:"center top",backgroundRepeat:"no-repeat",backgroundSize:function(e){switch(e){case"fill":return"100% 100%";case"contain":case"scale-down":return"contain";default:return"cover"}}(N)}}):(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center px-4 text-center font-yekan text-xs text-slate-400",children:i}),$={backgroundColor:h,borderColor:b,borderRadius:`${l.cardBorderRadius}px`,padding:`${l.cardPaddingY}px ${l.cardPaddingX}px`,boxShadow:l.cardShadow?a?"0 18px 40px rgba(2,6,23,0.35)":"0 18px 40px rgba(15,23,42,0.08)":"none"},S=e.title?(0,r.jsx)("h3",{className:"font-yekan font-bold leading-7",style:{color:d,fontSize:`${l.titleFontSize}px`,textAlign:k},children:e.title}):null,D=j?(0,r.jsx)("div",{className:"font-yekan",style:{color:x,fontSize:`${l.roleFontSize}px`,textAlign:k},children:e.role}):null,M=y?(0,r.jsx)("a",{href:`mailto:${e.email}`,className:"break-all font-yekan hover:underline",style:{color:p,fontSize:`${l.emailFontSize}px`,textAlign:k},children:e.email}):null,I=(()=>{switch(l.variant){case"spotlight":return(0,r.jsxs)("article",{className:"group relative h-full overflow-hidden border transition-all duration-300 hover:-translate-y-1.5",style:{...$,padding:0},children:[(0,r.jsx)("div",{className:"relative overflow-hidden",style:{aspectRatio:g},children:w}),(0,r.jsxs)("div",{className:"absolute inset-x-0 bottom-0 z-[1] bg-gradient-to-t from-black/85 via-black/55 to-transparent px-5 pb-5 pt-14 text-white",children:[e.title?(0,r.jsx)("h3",{className:"font-yekan font-bold leading-7",style:{color:"#ffffff",fontSize:`${l.titleFontSize}px`,textAlign:k},children:e.title}):null,j?(0,r.jsx)("div",{className:"mt-1 font-yekan",style:{color:"#d1fae5",fontSize:`${l.roleFontSize}px`,textAlign:k},children:e.role}):null,y?(0,r.jsx)("a",{href:`mailto:${e.email}`,className:"mt-2 inline-block break-all font-yekan hover:underline",style:{color:"#e2e8f0",fontSize:`${l.emailFontSize}px`,textAlign:k},children:e.email}):null]})]});case"minimal":return(0,r.jsxs)("article",{className:"group flex h-full flex-col items-center overflow-hidden border text-center transition-all duration-300 hover:-translate-y-1.5",style:$,children:[(0,r.jsx)("div",{className:"relative mb-4 w-full max-w-[140px] overflow-hidden rounded-full border border-white/20",style:{aspectRatio:"1 / 1"},children:w}),S,j?(0,r.jsx)("div",{className:"mt-1",children:D}):null,y?(0,r.jsx)("div",{className:"mt-2",children:M}):null]});default:return(0,r.jsxs)("article",{className:"group h-full overflow-hidden border transition-all duration-300 hover:-translate-y-1.5",style:{...$,padding:0},children:[(0,r.jsx)("div",{className:"relative overflow-hidden",style:{aspectRatio:g},children:w}),(0,r.jsxs)("div",{className:`flex flex-col ${v}`,style:{padding:`${l.cardPaddingY}px ${l.cardPaddingX}px`},children:[S,j?(0,r.jsx)("div",{className:"mt-2",children:D}):null,y?(0,r.jsx)("div",{className:"mt-3 inline-block",children:M}):null]})]})}})();return(0,r.jsx)(u,{item:e,children:I})}function b({items:e,property:l,columns:t,dir:a,isDark:i,emptyImageText:s}){return(0,r.jsx)("div",{className:"grid",style:{gap:`${l.gap}
1px`,gridTemplateColumns:`repeat(${Math.max(1,t)}, minmax(0, 1fr))`},children:e.map((e,t)=>(0,r.jsx)("div",{className:"h-full",children:(0,r.jsx)(f,{item:e,property:l,dir:a,isDark:i,emptyImageText:s})},e.id||`${e.title||"character"}-${t}`))})}function g({items:e,property:l,columns:t,dir:a,isDark:i,emptyImageText:s}){let n={slidesPerView:Math.max(1,Math.min(t,e.length||1)),spaceBetween:l.gap};return(0,r.jsx)("div",{className:"characters-swiper",children:(0,r.jsx)(d.RC,{...n,children:e.map((e,t)=>(0,r.jsx)(d.qr,{className:"!h-auto pb-1",children:(0,r.jsx)("div",{className:"h-full",children:(0,r.jsx)(f,{item:e,property:l,dir:a,isDark:i,emptyImageText:s})})},e.id||`${e.title||"character"}-${t}`))})})}function y({items:e,property:l,columns:t,displayMode:a,dir:i,isDark:s,emptyImageText:n}){return"carousel"===a?(0,r.jsx)(g,{items:e,property:l,columns:t,dir:i,isDark:s,emptyImageText:n}):(0,r.jsx)(b,{items:e,property:l,columns:t,dir:i,isDark:s,emptyImageText:n})}function j({node:e,dir:l,page:t,language:a,isDark:s=!1,editable:n=!1}){let d=(0,x.s0)(e=>e.responsiveSelected),c=(0,p.I_)(l,t,a),m=(0,p.r9)(l,t,a),u=m?"تصویری انتخاب نشده است":"No image has been selected.",f=(0,h.a7)(e.defaultProps||{}),b=(0,o.useMemo)(()=>Array.isArray(f.items)?f.items.filter(Boolean):[],[f.items]);if(!b.length)return(0,r.jsx)("div",{dir:c,className:["rounded-2xl border px-5 py-8 text-center font-yekan text-sm",s?"border-slate-700 bg-slate-900/90 text-slate-300":"border-slate-200 bg-white text-slate-500"].join(" "),children:m?"هنوز شخصیتی برای نمایش ثبت نشده است.":"No people have been added yet."});let g="mobile"===d?f.columnsMobile:"tablet"===d?f.columnsTablet:f.columnsDesktop,v="mobile"===d?f.mobileDisplayMode:"tablet"===d?f.tabletDisplayMode:f.desktopDisplayMode;return(0,r.jsxs)("section",{dir:c,className:"jsx-76bb1d345ef80dea w-full px-5 py-7 md:px-8 md:py-9 lg:px-10",children:[!0===n?(0,r.jsx)(y,{items:b,property:f,columns:g,displayMode:v,dir:c,isDark:s,emptyImageText:u}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"jsx-76bb1d345ef80dea hidden xl:block",children:(0,r.jsx)(y,{items:b,property:f,columns:f.columnsDesktop,displayMode:f.desktopDisplayMode,dir:c,isDark:s,emptyImageText:u})}),(0,r.jsx)("div",{className:"jsx-76bb1d345ef80dea hidden md:block xl:hidden",children:(0,r.jsx)(y,{items:b,property:f,columns:f.columnsTablet,displayMode:f.tabletDisplayMode,dir:c,isDark:s,emptyImageText:u})}),(0,r.jsx)("div",{className:"jsx-76bb1d345ef80dea block md:hidden",children:(0,r.jsx)(y,{items:b,property:f,columns:f.columnsMobile,displayMode:f.mobileDisplayMode,dir:c,isDark:s,emptyImageText:u})})]}),(0,r.jsx)(i(),{id:"76bb1d345ef80dea",children:".characters-swiper .swiper{width:100%;overflow:visible}.characters-swiper .swiper-slide{height:auto}"})]})}}}]);

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.