PageSourceSearch

https://behmalt.com/_next/static/chunks/7687.14cbd0aa3e46622c.js

js behmalt.com collected 2026-09-25 10:25:32 UTC 19,650 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7687],{101:(e,t,r)=>{r.d(t,{Do:()=>u,H6:()=>m,I1:()=>s,NM:()=>f,at:()=>c,nE:()=>d,x9:()=>p,yy:()=>o});var i=r(26708),l=r(48934),a=r(22356),n=r(11917);function o(e,t){return(0,i.I)({queryKey:["public-product","getById",e],enabled:!!e,queryFn:async()=>(0,n.hY)(e),initialData:t??void 0})}function s(e){let t=(e.slug||"").trim();return(0,i.I)({queryKey:["public-posts",t,e.category||"",e.page??1,e.pageSize??9,e.isPhotoReport??null],enabled:!!t,queryFn:async()=>(0,n.dc)({slug:t,category:e.category,page:e.page,pageSize:e.pageSize,isPhotoReport:e.isPhotoReport})})}function d(e,t){let r=(t||"").trim();return(0,i.I)({queryKey:["public-form","getById",e,r],enabled:!!e&&!!r,queryFn:async()=>(0,n.oL)(e,r)})}function c(){return(0,l.n)({mutationFn:async e=>(await a.FH.post("/Home/SubmitForm",e)).data})}function m(e,t){let r=(t||"").trim();return(0,i.I)({queryKey:["public-flipbook","getById",e,r],enabled:!!e&&!!r,queryFn:async()=>(0,n.gX)(e,r)})}function u(e,t){let r=(t||"").trim();return(0,i.I)({queryKey:["public-survey","getById",e,r],enabled:!!e&&!!r,queryFn:async()=>(0,n.oD)(e,r)})}function p(){return(0,l.n)({mutationFn:async e=>await (0,n.yN)(e)})}function f(e,t,r){let l=(t||"").trim();return(0,i.I)({queryKey:["public-survey","reportById",e,l,r||""],enabled:!!e&&!!l,queryFn:async()=>(0,n.yL)(e,l)})}},4626:(e,t,r)=>{r.d(t,{A:()=>p});var i=r(95155),l=r(70972),a=r(5402),n=r.n(a),o=r(61938),s=r.n(o),d=r(2422),c=r.n(d),m=r(88780),u=r.n(m);function p({value:e,onChange:t,placeholder:r="انتخاب تاریخ",disabled:a=!1}){let o=function(e){if(!e)return null;let[t,r,i]=e.slice(0,10).split("-").map(Number);return t&&r&&i?new l.YG({calendar:s(),locale:u(),year:t,month:r,day:i,format:"YYYY-MM-DD"}).convert(n(),c()):null}(e);return(0,i.jsx)("div",{className:"font-iran w-full",children:(0,i.jsx)(l.Ay,{value:o,onChange:e=>(function(e){if(!e)return void t?.(null);let r=new l.YG(e).convert(s(),u());t?.(r.format("YYYY-MM-DD"))})(e),calendar:n(),locale:c(),format:"YYYY/MM/DD",disabled:a,editable:!1,calendarPosition:"bottom-right",monthYearSeparator:" / ",headerOrder:["LEFT_BUTTON","MONTH_YEAR","RIGHT_BUTTON"],inputClass:"font-iran w-full h-10 rounded-xl border border-slate-300 bg-white px-3 text-right text-sm text-slate-700 outline-none transition hover:border-emerald-300 focus:border-emerald-400 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-200 dark:hover:border-emerald-500",containerClassName:"w-full",placeholder:r,shadow:!0})})}},7687:(e,t,r)=>{r.r(t),r.d(t,{default:()=>w});var i=r(95155),l=r(39092),a=r.n(l),n=r(12115),o=r(37153),s=r(65725),d=r(77721),c=r(76368),m=r(80283),u=r(101),p=r(75914),f=r(6576),x=r(4626),h=r(55135);function g({name:e,placeholder:t,disabled:r}){let[l,a]=(0,n.useState)(null);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.A,{value:l,onChange:a,placeholder:t||"انتخاب تاریخ شمسی",disabled:r}),(0,i.jsx)("input",{type:"hidden",name:e,value:l||""})]})}function y(e){let t=e?.response?.data;if(!t)return e?.message||"Error";if("string"==typeof t)return t;if(t?.errors&&"object"==typeof t.errors){let e=Object.keys(t.errors)[0];return t.errors?.[e]?.[0]||t.title||"Error"}return t.title||t.message||"Error"}function b(e,t="var(--font-primary, sans-serif)"){return e?e.startsWith("font-")?(0,d.az)(e):e:t}function S(e){return String(e.id||e.key||e.name||"")}function F(e){return String(e.name||e.key||e.id||"")}function j(e){return e.label||e.title||S(e)}function N(e){return(e.type||e.fieldType||e.kind||"text").toLowerCase()}function v(e){return Array.isArray(e)?e.map(e=>"string"==typeof e?{label:e,value:e}:e&&"object"==typeof e?{label:e.label??e.title??e.name??String(e.value??e.id??""),value:e.value??e.id??e.key??e.label}:{label:String(e),value:e}):[]}function w({node:e,dir:t="rtl",template:r,language:l,page:d,theme:x,isDark:k=!1}){var T;let z,C=(0,h.c)(e.defaultProps||{}),B=(0,p.s6)("light"),$=k||"dark"===B,K=x===m.Jb.BEHMALT,I=l??d?.language??null,R="rtl"===t||"ltr"===t?t:I?.direction===s.h.LTR?"ltr":"rtl",q=
1I?.slug?.trim()||C.slug||("rtl"===R?"fa":"en"),H="fa"===q.toLowerCase().split(/[-_]/)[0],Y=(0,n.useMemo)(()=>(0,o.HM)(q),[q]),A=C.formId,L=(T=(z=String(C.logoSrc||h.Z.logoSrc||"").trim())&&"assets/img/logo/logo.png"!==z.replace(/^\/+/,"").toLowerCase()?z:"")?(0,f.IB)(T):"",M=C.logoWidth??h.Z.logoWidth??80,D=C.logoHeight??h.Z.logoHeight??80,E=C.breadcrumbTitle?.trim()||Y("pages","CooperationRequest"),W=C.headerDescription?.trim()||Y("pages","CooperationFormDescription"),_=C.submitText?.trim(),P=C.confirmInformationText?.trim()||Y("pages","ConfirmInformation"),O=C.successText?.trim()||Y("pages","SuccessMessage"),Z=(0,u.nE)(A,q),G=(0,u.at)(),[J,U]=(0,n.useState)(!1),[V,X]=(0,n.useState)(null),Q=(0,n.useMemo)(()=>{let e=function(e,t){try{if(!e)return t;if("string"==typeof e)return JSON.parse(e);if("object"==typeof e)return e;return t}catch{return t}}(Z.data?.fields,{version:1,fields:[]});return{...e,fields:Array.isArray(e?.fields)?e.fields:[]}},[Z.data]),ee="string"==typeof Q.submitText?Q.submitText.trim():"",et=_||ee||Y("pages","SubmitForm"),er=$?c.K.primary:r?.primaryColor||"#4fe50d",ei=C.sectionBackgroundColor||($?c.K.surfaceAlt:"transparent"),el=C.cardBackgroundColor||($?c.K.surface:"#ffffff"),ea=C.panelBorderColor||($?c.K.border:"rgba(5,50,98,0.1)"),en=C.titleColor||($?c.K.heading:"#053262"),eo=C.descriptionColor||($?c.K.muted:"#6b7b93"),es=C.labelColor||($?c.K.text:"#053262"),ed=C.inputTextColor||($?c.K.text:"#053262"),ec=C.inputBackgroundColor||($?"rgba(2, 6, 23, 0.72)":"#ffffff"),em=C.inputBorderColor||($?"rgba(148, 163, 184, 0.28)":"rgba(5,50,98,0.18)"),eu=C.helpTextColor||($?c.K.muted:"#7b8798"),ep=C.successTextColor||($?c.K.primary:"#059669"),ef=C.submitTextColor||"#ffffff",ex=C.submitBackgroundColor||er,eh=$?c.K.surfaceSoft:"rgba(5,50,98,0.05)",eg=C.cardBorderRadius??30,ey=C.submitBorderRadius??16,eb=b(C.titleFontFamily,"var(--font-primary, sans-serif)"),eS=b(C.descriptionFontFamily,"var(--font-secondary, sans-serif)"),eF=b(C.labelFontFamily,"var(--font-primary, sans-serif)"),ej=b(C.inputFontFamily,"var(--font-secondary, sans-serif)"),eN=b(C.helpTextFontFamily,"var(--font-secondary, sans-serif)"),ev=b(C.submitFontFamily,"var(--font-primary, sans-serif)"),ew=b(C.successFontFamily,"var(--font-secondary, sans-serif)"),ek=C.titleFontSize??28,eT=C.descriptionFontSize??14,ez=C.labelFontSize??14,eC=C.inputFontSize??14,eB=C.helpTextFontSize??12,e$=C.submitFontSize??14,eK=C.successFontSize??12;async function eI(e){e.preventDefault();let t=e.currentTarget;if(X(null),U(!1),!A)return void X(Y("pages","NoFormSelected"));try{let r=new FormData(e.currentTarget),i={},l=Q.fields.some(e=>!e.hidden&&"file"===N(e))?new FormData:null;for(let e of Q.fields){let t=F(e)||S(e);if(!t)continue;let a=N(e);if("file"===a){let a=r.get(t),n=a instanceof File&&a.size>0?a:null;if(!n){i[t]="";continue}if(!function(e,t){let r=String(t||"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean);if(0===r.length)return!0;let i=e.name.includes(".")?`.${e.name.split(".").pop().toLowerCase()}`:"",l=String(e.type||"").toLowerCase();return r.some(e=>e.startsWith(".")?e===i:e.endsWith("/*")?l.startsWith(e.slice(0,-1)):l===e)}(n,e.accept))throw Error(H?`نوع فایل \xab${j(e)}\xbb مجاز نیست.`:`The file type for “${j(e)}” is not allowed.`);let o=function(e){let t=Number(e.maxFileSizeMb||0);return Number.isFinite(t)&&t>0?1024*t*1024:0}(e);if(o>0&&n.size>o)throw Error(H?`حجم فایل \xab${j(e)}\xbb بیشتر از حد مجاز است.`:`The file selected for “${j(e)}” exceeds the size limit.`);i[t]={fileName:n.name,contentType:n.type,size:n.size},l?.append(t,n,n.name);continue}if("checkbox"===a&&Array.isArray(e.options)&&e.options.length>0){let e=r.getAll(t).map(String);i[t]=e,e.forEach(e=>l?.append(t,e));continue}if("checkbox"===a&&(!e.options||0===e.options.length)){let e=!!r.get(t);i[t]=e,l?.append(t,e?"true":"false");continue}let n=r.get(t);if(null===n){i[t]="";continue}if("number"===a){let e=Number(String(n));i[t]=Number.isFinite(e)?e:String(n),l?.append(t,String(n));continue}i[t]=String(n),l?.append(t,String(n))}let a=String(i.fullName||i.full_name||i.name||i.email||i.phone||i.mobile||i.completedBy||i.completed_by||"anonymous");l?(l.set("formId",A),l.set("completedBy",a),await G.mutateAsync(l)):await G.mutateAsync({formId:A,completedBy:a,fields:i}),U(!0),t?.reset?.()}catch(e){X(y(e))}}let eR={backgroundColor:ei},eq={border:`1px solid ${ea}`,backgroundColor:el,borderRadius:`${eg}px`},eH={color:en,fontFamily:eb,fontSize:`${ek}px`,lineHeight:1.4},eY={color:eo,fontFamily:eS,fontSize:`${eT}px`,lineHeight:1.95},eA={backgroundColor:ex,borderColor:ex,color:ef,fontFamily:ev,fontSize:`${e$}px`,borderRadius:`${ey}px`},eL={color:ep,fontFamily:ew,fontSize:`${eK}px`,lineHeight:1.9},eM=()=>(0,i.jsxs)(i.Fragment,{children:[Z.isLoading?(0,i.jsx)("div",{style:eY,children:Y("pages","Loading")}):null,Z.isError?(0,i.jsx)("div",{className:"text-sm text-red-500",children:y(Z.error)}):null,Z.isLoading||Z.isError?null:(0,i.jsxs)("form",{onSubmit:eI,className:"space-y-4",children:[(0,i.jsx)("div",{className:"grid grid-cols-12 gap-4",children:Q.fields.filter(e=>!e.hidden).map((e,t)=>{let r,l=function(e){if(e.hidden)return null;let t=S(e);if(!t)return null;let r=F(e)||t,l=N(e),a=j(e),n=e.placeholder||"",o=!!e.disabled,s=!!e.required,d={width:"100%",borderRadius:16,border:`1px solid ${em}`,backgroundColor:ec,color:ed,fontFamily:ej,fontSize:`${eC}px`,padding:"12px 16px",transition:"border-color .2s ease, box-shadow .2s ease, background-color .2s ease"},c={color:es,fontFamily:eF,fontSize:`${ez}px`,fontWeight:600},m={color:eu,fontFamily:eN,fontSize:`${eB}px`,lineHeight:1.8};if("textarea"===l)return(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)("textarea",{name:r,rows:4,placeholder:n,disabled:o,required:s,dir:R,style:d}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t);if("select"===l){let l=v(e.options);return(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsxs)("select",{name:r,disabled:o,required:s,dir:R,defaultValue:"",style:d,children:[(0,i.jsx)("option",{value:"",children:Y("pages","Select")}),l.map(e=>(0,i.jsx)("option",{value:String(e.value),children:String(e.label)},String(e.value)))]}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t)}if("checkbox"===l){let l=v(e.options);return l.length>0?(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)("div",{className:"space-y-2",children:l.map(e=>(0,i.jsxs)("label",{className:"flex items-center gap-2",children:[(0,i.jsx)("input",{type:"checkbox",name:r,value:String(e.value),className:"h-4 w-4"}),(0,i.jsx)("span",{style:{color:es,fontFamily:eF,fontSize:`${ez}px`},children:String(e.label)})]},String(e.value)))}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t):(0,i.jsxs)("label",{className:"flex items-center gap-2",children:[(0,i.jsx)("input",{type:"checkbox",name:r,className:"h-4 w-4"}),(0,i.jsx)("span",{style:{color:es,fontFamily:eF,fontSize:`${ez}px`},children:a}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t)}if("radio"===l){let l=v(e.options);return(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)("div",{className:"space-y-2",children:l.map(e=>(0,i.jsxs)("label",{className:"flex items-center gap-2",children:[(0,i.jsx)("input",{type:"radio",name:r,value:String(e.value),required:s,className:"h-4 w-4"}),(0,i.jsx)("span",{style:{color:es,fontFamily:eF,fontSize:`${ez}px`},children:String(e.label)})]},String(e.value)))}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t)}if("file"===l){let l=String(e.accept||"").trim()||void 0,n=Number(e.maxFileSizeMb||0),u=[e.helpText,l?H?`نوع فایل مجاز
1: ${l}`:`Allowed file types: ${l}`:"",Number.isFinite(n)&&n>0?H?`حداکثر حجم: ${n} مگابایت`:`Maximum size: ${n} MB`:""].filter(Boolean).join(" | ");return(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)("input",{type:"file",name:r,disabled:o,required:s,accept:l,dir:R,style:{...d,minHeight:52,cursor:o?"not-allowed":"pointer",padding:"10px 14px"}}),u?(0,i.jsx)("p",{style:m,children:u}):null]},t)}return"date"===l&&"jalali"===e.calendar?(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)(g,{name:r,placeholder:n,disabled:o}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t):(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("label",{className:"block",style:c,children:a}),(0,i.jsx)("input",{type:"email"===l?"email":"number"===l?"number":"date"===l?"date":"text",name:r,placeholder:n,disabled:o,required:s,dir:R,style:d}),e.helpText?(0,i.jsx)("p",{style:m,children:e.helpText}):null]},t)}(e);return l?(0,i.jsx)("div",{className:6===(r=Number(e.colSpan||12))?"col-span-12 md:col-span-6":4===r?"col-span-12 md:col-span-4":3===r?"col-span-12 md:col-span-3":"col-span-12",children:l},`${S(e)}_${t}`):null})}),(0,i.jsxs)("label",{className:"flex items-start gap-3 rounded-2xl p-4",style:{backgroundColor:eh,color:es},children:[(0,i.jsx)("input",{type:"checkbox",required:!0,className:"mt-1 h-4 w-4"}),(0,i.jsx)("span",{style:{color:es,fontFamily:eF,fontSize:`${ez}px`,lineHeight:1.9},children:P})]}),(0,i.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,i.jsx)("button",{type:"submit",className:"inline-flex min-h-[46px] min-w-[140px] cursor-pointer items-center justify-center border-0 px-5 text-center transition disabled:cursor-not-allowed disabled:opacity-60",style:eA,disabled:G.isPending,children:G.isPending?Y("pages","Submitting"):et}),V?(0,i.jsx)("div",{className:"text-sm text-red-500",children:V}):null,J?(0,i.jsx)("div",{style:eL,children:Y("pages","YourResponseWasSubmittedSuccessfully")}):null]})]})]});return A?K?(0,i.jsxs)("main",{dir:R,style:eR,"data-form-widget-theme":$?"dark":"light",className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" w-full",children:[(0,i.jsx)("div",{className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" py-16",children:(0,i.jsx)("div",{className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" container mx-auto max-w-3xl px-4",children:(0,i.jsxs)("div",{style:eq,className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" p-6 shadow-[var(--dcms-shadow)] md:p-8",children:[(0,i.jsxs)("div",{className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" mb-6 text-center",children:[L?(0,i.jsx)("img",{src:L,alt:E||"Logo",style:{width:`${M}px`,height:`${D}px`},className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" mx-auto object-contain"}):null,(0,i.jsx)("h2",{style:eH,className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" mt-4 font-bold",children:E}),(0,i.jsx)("p",{style:eY,className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" mt-3",children:W})]}),eM(),(0,i.jsx)("p",{style:eL,className:a().dynamic([["61e74394fc5a9c77",[ex,c.K.muted]]])+" mt-6 text-center",children:O})]})})}),(0,i.jsx)(a(),{id:"61e74394fc5a9c77",dynamic:[ex,c.K.muted],children:`[data-form-widget-theme="dark"] input,[data-form-widget-theme="dark"] textarea,[data-form-widget-theme="dark"] select{color-scheme:dark}[data-form-widget-theme="dark"] input,[data-form-widget-theme="dark"] textarea,[data-form-widget-theme="dark"] select,[data-form-widget-theme="dark"] label,[data-form-widget-theme="dark"] p,[data-form-widget-theme="dark"] h2,[data-form-widget-theme="dark"] h3{color:inherit}[data-form-widget-theme="dark"] input[type="checkbox"],[data-form-widget-theme="dark"] input[type="radio"]{accent-color:${ex}}[data-form-widget-theme="dark"] option{background:#0f172a;color:#e2e8f0}[data-form-widget-theme="dark"] input::placeholder,[data-form-widget-theme="dark"] textarea::placeholder{color:${c.K.muted}}`})]}):(0,i.jsx)("section",{className:"w-full px-4 py-10",dir:R,style:eR,"data-form-widget-theme":$?"dark":"light",children:(0,i.jsx)("div",{className:"mx-auto max-w-5xl overflow-hidden shadow-[var(--dcms-shadow)]",style:eq,children:(0,i.jsxs)("div",{className:"grid gap-0 lg:grid-cols-[1.05fr_1.3fr]",children:[(0,i.jsxs)("div",{className:"relative min-h-[260px] overflow-hidden p-8 text-white",style:{background:$?"linear-gradient(135deg, #0f172a 0%, #0f766e 100%)":"linear-gradient(135deg, #053262 0%, #4fe50d 100%)"},children:[L?(0,i.jsx)("img",{src:L,alt:E||"Logo",style:{width:`${M}px`,height:`${D}px`},className:"mb-6 object-contain"}):null,(0,i.jsx)("p",{className:"mb-3 text-sm font-medium uppercase tracking-[0.18em] text-white/75",children:Y("pages","DynamicForm")}),(0,i.jsx)("h2",{className:"max-w-md font-bold",style:{...eH,color:"#ffffff"},children:E}),(0,i.jsx)("p",{className:"mt-4 max-w-md",style:{...eY,color:"rgba(255,255,255,0.82)"},children:W}),(0,i.jsx)("div",{className:"mt-8 rounded-2xl border border-white/15 bg-white/10 p-4",style:{...eL,color:"rgba(255,255,255,0.92)"},children:O})]}),(0,i.jsx)("div",{className:"p-6 md:p-8",children:eM()})]})})}):(0,i.jsx)("section",{className:"w-full px-4 py-16",dir:R,style:eR,children:(0,i.jsxs)("div",{className:"mx-auto max-w-3xl p-8 text-center shadow-[var(--dcms-shadow-soft)]",style:eq,children:[L?(0,i.jsx)("img",{src:L,alt:E||"Logo",style:{width:`${M}px`,height:`${D}px`},className:"mx-auto object-contain"}):null,(0,i.jsx)("h3",{className:"mt-4 font-bold",style:eH,children:E}),(0,i.jsx)("p",{className:"mt-2",style:eY,children:Y("pages","PleaseSelectAFormInWidgetSettings")})]})})}},55135:(e,t,r)=>{r.d(t,{Z:()=>i,c:()=>l});let i={slug:"fa",formId:void 0,breadcrumbTitle:void 0,headerDescription:void 0,submitText:void 0,confirmInformationText:void 0,successText:void 0,logoSrc:"",logoWidth:80,logoHeight:80,cardBorderRadius:30,submitBorderRadius:16,titleFontFamily:"font-iran",descriptionFontFamily:"font-yekan",labelFontFamily:"font-iran",inputFontFamily:"font-yekan",helpTextFontFamily:"font-yekan",submitFontFamily:"font-iran",successFontFamily:"font-yekan",titleFontSize:28,descriptionFontSize:14,labelFontSize:14,inputFontSize:14,helpTextFontSize:12,submitFontSize:14,successFontSize:12,sectionBackgroun
1dColor:"",cardBackgroundColor:"",panelBorderColor:"",titleColor:"",descriptionColor:"",labelColor:"",inputTextColor:"",inputBackgroundColor:"",inputBorderColor:"",helpTextColor:"",successTextColor:"",submitTextColor:"",submitBackgroundColor:""};function l(e){return{...i,...e||{},slug:String(e?.slug||i.slug||"fa").trim()||"fa",submitText:String(e?.submitText??i.submitText??"").trim()||void 0,confirmInformationText:String(e?.confirmInformationText??i.confirmInformationText??"").trim()||void 0,successText:String(e?.successText??i.successText??"").trim()||void 0,logoSrc:String(e?.logoSrc??i.logoSrc??"").trim(),logoWidth:Number(e?.logoWidth??i.logoWidth??80),logoHeight:Number(e?.logoHeight??i.logoHeight??80),cardBorderRadius:Number(e?.cardBorderRadius??i.cardBorderRadius??30),submitBorderRadius:Number(e?.submitBorderRadius??i.submitBorderRadius??16),titleFontSize:Number(e?.titleFontSize??i.titleFontSize??28),descriptionFontSize:Number(e?.descriptionFontSize??i.descriptionFontSize??14),labelFontSize:Number(e?.labelFontSize??i.labelFontSize??14),inputFontSize:Number(e?.inputFontSize??i.inputFontSize??14),helpTextFontSize:Number(e?.helpTextFontSize??i.helpTextFontSize??12),submitFontSize:Number(e?.submitFontSize??i.submitFontSize??14),successFontSize:Number(e?.successFontSize??i.successFontSize??12)}}}}]);

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.