PageSourceSearch

http://behmalt.com/_next/static/chunks/3973.8f2e50b2f0818b2e.js

js behmalt.com collected 2026-10-02 23:53:11 UTC 5,988 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3973],{25366:(e,l,t)=>{t.d(l,{q:()=>i});var a=t(29753),n=t(28509),r=class extends a.${constructor(e,l){super(e,l)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,l){let{state:t}=e,a=super.createResult(e,l),{isFetching:r,isRefetching:s,isError:i,isRefetchError:o}=a,c=t.fetchMeta?.fetchMore?.direction,d=i&&"forward"===c,h=r&&"forward"===c,x=i&&"backward"===c,u=r&&"backward"===c;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,n.rB)(l,t.data),hasPreviousPage:(0,n.RQ)(l,t.data),isFetchNextPageError:d,isFetchingNextPage:h,isFetchPreviousPageError:x,isFetchingPreviousPage:u,isRefetchError:o&&!d&&!x,isRefetching:s&&!h&&!u}}},s=t(38764);function i(e,l){return(0,s.t)(e,r,l)}},31068:(e,l,t)=>{t.r(l),t.d(l,{default:()=>f});var a=t(95155),n=t(12115),r=t(86588),s=t(80870),i=t(60502),o=t(90346),c=t(6576),d=t(80283),h=t(83399);let x=[{label:"بالا",value:"top"},{label:"پایین",value:"bottom"}],u=[{label:"خودکار",value:"w-auto"},{label:"تمام عرض",value:"w-full"}],m=[{label:"چپ",value:"text-left"},{label:"وسط",value:"text-center"},{label:"راست",value:"text-right"}],b=[{label:"پر کردن",value:"cover"},{label:"نمایش کامل",value:"contain"},{label:"کشیده",value:"fill"},{label:"اندازه اصلی",value:"none"}],j=[{label:"درصد",value:"%"},{label:"پیکسل",value:"px"},{label:"rem",value:"rem"}],p=[{label:"خودکار",value:"auto"},{label:"پیکسل",value:"px"},{label:"rem",value:"rem"}];function f(){let e=(0,d.sr)(),l=(0,d.s0)().selectedWidget,[t]=o.lV.useForm();return(0,n.useEffect)(()=>{l?(t.resetFields(),t.setFieldsValue((0,i.v)(l.defaultProps))):t.resetFields()},[l?.id,t]),(0,a.jsx)(s.XR,{children:(0,a.jsxs)(o.lV,{form:t,layout:"vertical",autoComplete:"off",onValuesChange:function(t,a){l&&e.updateNode(l.id,{defaultProps:(0,i.v)(a)})},className:"flex-1 overflow-y-auto",children:[(0,a.jsxs)(s.So,{title:"اطلاعات اصلی",defaultOpen:!0,children:[(0,a.jsx)(s.xh,{label:"انتخاب تصویر",children:(0,a.jsx)(o.lV.Item,{name:"src",noStyle:!0,children:(0,a.jsx)(r.A,{multiselect:!1})})}),(0,a.jsx)(o.lV.Item,{shouldUpdate:(e,l)=>e.src!==l.src,noStyle:!0,children:({getFieldValue:e})=>{let l,t=(l=String(e("src")||"").trim())?(0,c.IB)(l):"";return t?(0,a.jsx)("div",{className:"overflow-hidden rounded-[8px] border border-[var(--pc-panel-border)] bg-[var(--pc-control-bg)]",children:(0,a.jsx)("img",{src:t,alt:"preview",className:"h-28 w-full object-contain"})}):(0,a.jsx)("div",{className:"rounded-[8px] border border-dashed border-[var(--pc-panel-border)] py-3 text-center font-yekan text-[10px] text-[var(--pc-panel-subtle)]",children:"تصویری انتخاب نشده است"})}}),(0,a.jsx)(s.xh,{label:"نوشته جایگزین",children:(0,a.jsx)(o.lV.Item,{name:"alt",noStyle:!0,children:(0,a.jsx)(s.zA,{placeholder:"توضیحات تصویر برای سئو"})})}),(0,a.jsx)(s.xh,{label:"لینک مقصد",children:(0,a.jsx)(o.lV.Item,{name:"linkTo",noStyle:!0,children:(0,a.jsx)(h.A,{placeholder:"https://example.com"})})}),(0,a.jsx)(s.RZ,{label:"باز شدن در تب جدید",children:(0,a.jsx)(o.lV.Item,{name:"openInNewTab",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(s.xk,{})})})]}),(0,a.jsxs)(s.So,{title:"کپشن",children:[(0,a.jsx)(s.xh,{label:"متن کپشن",children:(0,a.jsx)(o.lV.Item,{name:"caption",noStyle:!0,children:(0,a.jsx)(s.tt,{rows:2,placeholder:"متن توضیحات..."})})}),(0,a.jsxs)(s.Jg,{columns:2,children:[(0,a.jsx)(s.xh,{label:"جایگاه",children:(0,a.jsx)(o.lV.Item,{name:"captionPosition",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:[...x]})})}),(0,a.jsx)(s.xh,{label:"عرض کپشن",children:(0,a.jsx)(o.lV.Item,{name:"captionWidth",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:[...u]})})}),(0,a.jsx)(s.xh,{label:"تراز متن",children:(0,a.jsx)(o.lV.Item,{name:"textAlign",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:[...m]}
1)})})]})]}),(0,a.jsx)(s.So,{title:"ظاهر تصویر",children:(0,a.jsxs)(s.Jg,{columns:2,children:[(0,a.jsx)(s.xh,{label:"عرض",children:(0,a.jsx)(o.lV.Item,{name:"width",noStyle:!0,children:(0,a.jsx)(s.UX,{min:1,max:2e3})})}),(0,a.jsx)(s.xh,{label:"واحد عرض",children:(0,a.jsx)(o.lV.Item,{name:"widthUnit",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:j})})}),(0,a.jsx)(s.xh,{label:"ارتفاع",children:(0,a.jsx)(o.lV.Item,{shouldUpdate:(e,l)=>e.heightUnit!==l.heightUnit,noStyle:!0,children:({getFieldValue:e})=>{let l=e("heightUnit");return(0,a.jsx)(o.lV.Item,{name:"height",noStyle:!0,children:(0,a.jsx)(s.UX,{min:0,max:2e3,step:"rem"===l?.5:1,disabled:"auto"===l})})}})}),(0,a.jsx)(s.xh,{label:"واحد ارتفاع",children:(0,a.jsx)(o.lV.Item,{name:"heightUnit",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:p})})}),(0,a.jsx)(s.xh,{label:"گردی گوشه",children:(0,a.jsx)(o.lV.Item,{name:"borderRadius",noStyle:!0,children:(0,a.jsx)(s.UX,{min:0,max:200})})}),(0,a.jsx)(s.xh,{label:"حالت نمایش تصویر",children:(0,a.jsx)(o.lV.Item,{name:"objectFit",noStyle:!0,children:(0,a.jsx)(s.Pl,{options:[...b]})})})]})})]})})}},83399:(e,l,t)=>{t.d(l,{A:()=>i});var a=t(95155),n=t(12115),r=t(80283),s=t(1789);function i({value:e,onChange:l,direction:t="ltr",placeholder:o="لینک",disabled:c=!1,languageId:d}){let h=(0,r.sr)(e=>e.pageProperties),x=(0,n.useMemo)(()=>d||h?.languageId||h?.language?.id||void 0,[d,h?.language?.id,h?.languageId]);return(0,a.jsx)(s.A,{value:e,onChange:e=>l?.(e),direction:t,placeholder:o,disabled:c,languageId:x})}}}]);

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.