1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13161],{25366:(e,l,t)=>{t.d(l,{q:()=>i});var a=t(29753),r=t(28509),s=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:s,isRefetching:n,isError:i,isRefetchError:c}=a,o=t.fetchMeta?.fetchMore?.direction,d=i&&"forward"===o,h=s&&"forward"===o,u=i&&"backward"===o,x=s&&"backward"===o;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,r.rB)(l,t.data),hasPreviousPage:(0,r.RQ)(l,t.data),isFetchNextPageError:d,isFetchingNextPage:h,isFetchPreviousPageError:u,isFetchingPreviousPage:x,isRefetchError:c&&!d&&!u,isRefetching:n&&!h&&!x}}},n=t(38764);function i(e,l){return(0,n.t)(e,s,l)}},61288:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),r=t(12115),s=t(86588),n=t(80870),i=t(90346),c=t(6576),o=t(80283),d=t(64490);let h=[{label:"بدÙÙ Ù¾ÛØ´âبارگذارÛ",value:"none"},{label:"ÙÙØ· Ø§Ø·ÙØ§Ø¹Ø§Øª اÙÙÛÙ",value:"metadata"},{label:"Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û Ú©Ø§Ù
Ù",value:"auto"}],u=[{label:"ÙÙ
Ø§ÛØ´ کاÙ
Ù",value:"contain"},{label:"پر Ú©Ø±Ø¯Ù ÙØ§Ø¨",value:"cover"}],x=[{label:"Û±Û¶:Û¹",value:16/9},{label:"Û´:Û³",value:4/3},{label:"Û±:Û±",value:1},{label:"Û¹:Û±Û¶",value:9/16}];function p(e){let l=(e??"").trim();if(l)return(0,c.IB)(l)}function m(){let e=(0,o.sr)(),l=(0,o.s0)().selectedWidget,[t]=i.lV.useForm(),c=i.lV.useWatch("autoplay",t),m=i.lV.useWatch("width",t),b=i.lV.useWatch("height",t),j=i.lV.useWatch("borderRadius",t);return(0,r.useEffect)(()=>{l?(t.resetFields(),t.setFieldsValue((0,d.r)(l.defaultProps))):t.resetFields()},[l?.id,t]),(0,a.jsx)(n.XR,{children:(0,a.jsxs)(i.lV,{form:t,layout:"vertical",autoComplete:"off",onValuesChange:function(a,r){if(!l)return;let s=(0,d.r)({...r,muted:!0===a.autoplay||r.muted,playsInline:!0===a.autoplay||r.playsInl
1ine});!0===a.autoplay&&t.setFieldsValue({muted:!0,playsInline:!0}),e.updateNode(l.id,{defaultProps:s})},className:"flex-1 overflow-y-auto",children:[(0,a.jsxs)(n.So,{title:"رساÙÙ",defaultOpen:!0,children:[(0,a.jsx)(n.xh,{label:"ÙØ§ÛÙ ÙÛØ¯Ø¦Ù",children:(0,a.jsx)(i.lV.Item,{name:"src",noStyle:!0,children:(0,a.jsx)(s.A,{multiselect:!1})})}),(0,a.jsx)(i.lV.Item,{shouldUpdate:(e,l)=>e.src!==l.src||e.poster!==l.poster,noStyle:!0,children:({getFieldValue:e})=>{let l=p(e("src")),t=p(e("poster"));return l?(0,a.jsx)("div",{className:"overflow-hidden rounded-[8px] border border-[var(--pc-panel-border)] bg-[var(--pc-control-bg)]",children:(0,a.jsx)("video",{src:l,poster:t,className:"h-36 w-full object-contain bg-black/10",controls:!0,muted:!0,playsInline:!0})}):(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)(n.xh,{label:"Ù¾ÙØ³ØªØ± ÙÛØ¯Ø¦Ù",children:(0,a.jsx)(i.lV.Item,{name:"poster",noStyle:!0,children:(0,a.jsx)(s.A,{multiselect:!1})})}),(0,a.jsx)(n.xh,{label:"Ù
ت٠جاÛگزÛÙ",children:(0,a.jsx)(i.lV.Item,{name:"alt",noStyle:!0,children:(0,a.jsx)(n.zA,{placeholder:"Ø¨Ø±Ø§Û Ø¯Ø³ØªØ±Ø³ÛâÙ¾Ø°ÛØ±Û ٠سئÙ"})})})]}),(0,a.jsxs)(n.So,{title:"ÚÛØ¯Ù
اÙ",children:[(0,a.jsxs)(n.Jg,{columns:2,children:[(0,a.jsx)(n.xh,{label:"عرض درصدÛ",children:(0,a.jsx)(i.lV.Item,{name:"width",noStyle:!0,children:(0,a.jsx)(n.UX,{min:10,max:100})})}),(0,a.jsx)(n.xh,{label:"Ø§Ø±ØªÙØ§Ø¹ rem",children:(0,a.jsx)(i.lV.Item,{name:"height",noStyle:!0,children:(0,a.jsx)(n.UX,{min:0,max:50,step:.5})})}),(0,a.jsx)(n.xh,{label:"ÙØ³Ø¨Øª تصÙÛØ±",children:(0,a.jsx)(i.lV.Item,{name:"aspectRatio",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...x]})})}),(0,a.jsx)(n.xh,{label:"ÙÙ
Ø§Û Ø¯Ø§Ø®Ù ÙØ§Ø¨",children:(0,a.jsx)(i.lV.Item,{name:"objectFit",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...u]})})}),(0,a.jsx)(n.xh,{label:"Ú¯Ø±Ø¯Û Ú¯ÙØ´Ù",children:(0,a.jsx)(i.lV.Item,{name:"borderRadius",noStyle:!0,children:(0,a.jsx)(n.UX,{min:0,max:64})})})]}),(0,a.jsxs)("div",{className:"rounded-[8px] border border-[var(--pc-panel-border)] bg-[var(--pc-control-muted)] px-3 py-2 font-yekan text-[10px] text-[var(--pc-panel-subtle)]",children:["عرض: ","number"==typeof m?`${m}%`:"100%"," | Ø§Ø±ØªÙØ§Ø¹:"," ","number"==typeof b&&b>0?`${b}rem`:"Ø®ÙØ¯Ú©Ø§Ø±"," | گردÛ:"," ","number"==typeof j?`${j}px`:"0px"]})]}),(0,a.jsxs)(n.So,{title:"پخش Ù Ú©ÙØªØ±ÙâÙØ§",children:[(0,a.jsx)(n.xh,{label:"Ù¾ÛØ´âبارگذارÛ",children:(0,a.jsx)(i.lV.Item,{name:"preload",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...h]})})}),(0,a.jsx)(n.RZ,{label:"ÙÙ
Ø§ÛØ´ Ú©ÙØªØ±ÙâÙØ§",children:(0,a.jsx)(i.lV.Item,{name:"controls",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"پخش Ø®ÙØ¯Ú©Ø§Ø±",children:(0,a.jsx)(i.lV.Item,{name:"autoplay",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"بÛâØµØ¯Ø§",children:(0,a.jsx)(i.lV.Item,{name:"muted",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{disabled:!0===c})})}),(0,a.jsx)(n.RZ,{label:"تکرار ÙÛØ¯Ø¦Ù",children:(0,a.jsx)(i.lV.Item,{name:"loop",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"پخش درÙÙ ØµÙØÙ",children:(0,a.jsx)(i.lV.Item,{name:"playsInline",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{disabled:!0===c})})})]})]})})}}}]);
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.