1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a1031d-ec8f-71a2-98f5-074ed48a6330")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6762],{46762:function(e,t,o){o.r(t),o.d(t,{n:function(){return g},t:function(){return x}});var i=o(6702),s=o(85462),n=o(10040),l=o(73965),a=o(2265),r=o(17637),d=o(57437),g=(0,i.t)({ImagePositionDialog:()=>x});function x(e){let t,o,i,g,x,u,c,p,m,f,h,v,b,j,N,y,P,O,T,R,w,S,k,_,C,M,F,B,$,L,A,z,E,D,I,q,G,H,J,K,Q,U,V,W,X,Y,Z,ee,et,eo,ei,es,en,el,ea,er,ed,eg,ex,eu,ec,ep,em,ef,eh,ev,eb,ej,eN,ey,eP,eO,eT,eR,ew,eS,ek,e_,eC,eM,eF,eB,e$,eL,eA,ez,eE,eD,eI,eq,eG,eH;let eJ=(0,l.c)(277),{isOpen:eK,onClose:eQ,onApply:eU,currentData:eV}=e,{Root:eW,Portal:eX,Backdrop:eY,Popup:eZ,Title:e1,Close:e2}=(0,s.r)().Dialog,e0=(0,n.u)(eQ),e5=(0,r.T_)("folio"),e4=(0,a.useId)(),[e3,e6]=(0,a.useState)("align"),[e7,e9]=(0,a.useState)("center"),[e8,te]=(0,a.useState)("column"),[tt,to]=(0,a.useState)(0),[ti,ts]=(0,a.useState)("align"),[tn,tl]=(0,a.useState)("top"),[ta,tr]=(0,a.useState)("paragraph"),[td,tg]=(0,a.useState)(0),[tx,tu]=(0,a.useState)(0),[tc,tp]=(0,a.useState)(0),[tm,tf]=(0,a.useState)(0),[th,tv]=(0,a.useState)(0);eJ[0]!==eV?.distBottom||eJ[1]!==eV?.distLeft||eJ[2]!==eV?.distRight||eJ[3]!==eV?.distTop||eJ[4]!==eV?.horizontal||eJ[5]!==eV?.vertical||eJ[6]!==eK?(t=()=>{if(!eK)return;let e=eV?.horizontal,t=eV?.vertical;e?.align?(e6("align"),e9(e.align)):e?.posOffset!==void 0&&(e6("offset"),to(e.posOffset)),e?.relativeTo&&te(e.relativeTo),t?.align?(ts("align"),tl(t.align)):t?.posOffset!==void 0&&(ts("offset"),tg(t.posOffset)),t?.relativeTo&&tr(t.relativeTo),tu(eV?.distTop??0),tp(eV?.distBottom??0),tf(eV?.distLeft??0),tv(eV?.distRight??0)},eJ[0]=eV?.distBottom,eJ[1]=eV?.distLeft,eJ[2]=eV?.distRight,eJ[3]=eV?.distTop,eJ[4]=eV?.horizontal,eJ[5]=eV?.vertical,eJ[6]=eK,eJ[7]=t):t=eJ[7],eJ[8]!==eV||eJ[9]!==eK?(o=[eK,eV],eJ[8]=eV,eJ[9]=eK,eJ[10]=o):o=eJ[10],(0,a.useEffect)(t,o),eJ[11]!==tc||eJ[12]!==tm||eJ[13]!==th||eJ[14]!==tx||eJ[15]!==e7||eJ[16]!==e3||eJ[17]!==tt||eJ[18]!==e8||eJ[19]!==eU||eJ[20]!==eQ||eJ[21]!==tn||eJ[22]!==ti||eJ[23]!==td||eJ[24]!==ta?(i=()=>{let e={};e.horizontal={relativeTo:e8,..."align"===e3?{align:e7}:{posOffset:tt}},e.vertical={relativeTo:ta,..."align"===ti?{align:tn}:{posOffset:td}},e.distTop=tx,e.distBottom=tc,e.distLeft=tm,e.distRight=th,eU(e),eQ()},eJ[11]=tc,eJ[12]=tm,eJ[13]=th,eJ[14]=tx,eJ[15]=e7,eJ[16]=e3,eJ[17]=tt,eJ[18]=e8,eJ[19]=eU,eJ[20]=eQ,eJ[21]=tn,eJ[22]=ti,eJ[23]=td,eJ[24]=ta,eJ[25]=i):i=eJ[25];let tb=i,tj=`${e4}-img-pos-h-mode`,tN=`${e4}-img-pos-h-align`,ty=`${e4}-img-pos-h-offset`,tP=`${e4}-img-pos-h-rel`,tO=`${e4}-img-pos-v-mode`,tT=`${e4}-img-pos-v-align`,tR=`${e4}-img-pos-v-offset`,tw=`${e4}-img-pos-v-rel`,tS=`${e4}-img-pos-dist-top`,tk=`${e4}-img-pos-dist-bottom`,t_=`${e4}-img-pos-dist-left`,tC=`${e4}-img-pos-dist-right`;eJ[26]!==tR||eJ[27]!==tw||eJ[28]!==tS||eJ[29]!==tk||eJ[30]!==t_||eJ[31]!==tC||eJ[32]!==tj||eJ[33]!==tN||eJ[34]!==ty||eJ[35]!==tP||eJ[36]!==tO||eJ[37]!==tT?(g={hMode:tj,hAlign:tN,hOffset:ty,hRelativeTo:tP,vMode:tO,vAlign:tT,vOffset:tR,vRelativeTo:tw,distTop:tS,distBottom:tk,distLeft:t_,distRight:tC},eJ[26]=tR,eJ[27]=tw,eJ[28]=tS,eJ[29]=tk,eJ[30]=t_,eJ[31]=tC,eJ[32]=tj,eJ[33]=tN,eJ[34]=ty,eJ[35]=tP,eJ[36]=tO,eJ[37]=tT,eJ[38]=g):g=eJ[38];let tM=g;eJ[39]!==eY?(x=(0,d.jsx)(eY,{className:"fixed inset-0 z-[10000] bg-black/50"}),eJ[39]=eY,eJ[40]=x):x=eJ[40],eJ[41]!==e5?(u=e5("dialogs.imagePosition.title"),eJ[41]=e5,eJ[42]=u):u=eJ[42],eJ[43]!==e1||eJ[44]!==u?(c=(0,d.jsx)(e1,{className:"border-b px-5 py-3 text-base font-semibold",children:u}),eJ[43]=e1,eJ[44]=u,eJ[45]=c):c=eJ[45],eJ[46]!==e5?(p=e5("dialogs.imagePosition.horizontal"),eJ[46]=e5,eJ[47]=p):p=eJ[47],eJ[48]!==p?(m=(0,d.jsx)("div",{className:"text-foreground text-[13px] font-semibold",children:p}),eJ[48]=p,eJ[49]=m):m=eJ[49];let tF=tM.hMode;eJ[50]!==e5?(f=e5("dialogs.imagePosition.position"),eJ[50]=e5,eJ[51]=f):f=eJ[51],eJ[52]!==tM.hMode||eJ[53]!==f?(h=(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tF,children:f}),eJ[52]=tM.hMode,eJ[53]=f,eJ[54]=h):h=eJ[54];let tB=tM.hMode;eJ[55]===Symbol.for("react.memo_cache_sentinel")?(v=e=>e6(e.target.value),eJ[55]=v):v=eJ[55],eJ[56]!==e5?(b=e5("dialogs.imagePosition.alignment"),eJ[56]=e5,eJ[57]=b):b=eJ[57],eJ[58]!==b?(j=(0,d.jsx)("option",{value:"align",children:b}),eJ[58]=b,eJ[59]=j):j=eJ[59],eJ[60]!==e5?(N=e5("dialogs.imagePosition.offset"),eJ[60]=e5,eJ[61]=N):N=eJ[61],eJ[62]!==N?(y=(0,d.jsx)("option",{value:"offset",children:N}),eJ[62]=N,eJ[63]=y):y=eJ[63],eJ[64]!==tM.hMode||eJ[65]!==e3||eJ[66]!==j||eJ[67]!==y?(P=(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tB,value:e3,onChange:v,children:[j,y]}),eJ[64]=tM.hMode,eJ[65]=e3,eJ[66]=j,eJ[67]=y,eJ[68]=P):P=eJ[68],eJ[69]!==h||eJ[70]!==P?(O=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[h,P]}),eJ[69]=h,eJ[70]=P,eJ[71]=O):O=eJ[71],eJ[72]!==tM.hAlign||eJ[73]!==tM.hOffset||eJ[74]!==e7||eJ[75]!==e3||eJ[76]!==tt||eJ[77]!==e5?(T="align"===e3?(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tM.hAlign,children:e5("dialogs.imagePosition.align")}),(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.hAlign,value:e7,onChange:e=>e9(e.target.value),children:[(0,d.jsx)("option",{value:"left",children:e5("dialogs.imagePosition.alignOptions.left")}),(0,d.jsx)("option",{value:"center",children:e5("dialogs.imagePosition.alignOptions.center")}),(0,d.jsx)("option",{value:"right",children:e5("dialogs.imagePosition.alignOptions.right")})]})]}):(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tM.hOffset,children:e5("dialogs.imagePosition.offsetPx")}),(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.hOffset,type:"number",value:tt,onCh
1ange:e=>to(Number(e.target.value)||0)})]}),eJ[72]=tM.hAlign,eJ[73]=tM.hOffset,eJ[74]=e7,eJ[75]=e3,eJ[76]=tt,eJ[77]=e5,eJ[78]=T):T=eJ[78];let t$=tM.hRelativeTo;eJ[79]!==e5?(R=e5("dialogs.imagePosition.relativeTo"),eJ[79]=e5,eJ[80]=R):R=eJ[80],eJ[81]!==tM.hRelativeTo||eJ[82]!==R?(w=(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:t$,children:R}),eJ[81]=tM.hRelativeTo,eJ[82]=R,eJ[83]=w):w=eJ[83];let tL=tM.hRelativeTo;eJ[84]===Symbol.for("react.memo_cache_sentinel")?(S=e=>te(e.target.value),eJ[84]=S):S=eJ[84],eJ[85]!==e5?(k=e5("dialogs.imagePosition.relativeOptions.page"),eJ[85]=e5,eJ[86]=k):k=eJ[86],eJ[87]!==k?(_=(0,d.jsx)("option",{value:"page",children:k}),eJ[87]=k,eJ[88]=_):_=eJ[88],eJ[89]!==e5?(C=e5("dialogs.imagePosition.relativeOptions.column"),eJ[89]=e5,eJ[90]=C):C=eJ[90],eJ[91]!==C?(M=(0,d.jsx)("option",{value:"column",children:C}),eJ[91]=C,eJ[92]=M):M=eJ[92],eJ[93]!==e5?(F=e5("dialogs.imagePosition.relativeOptions.margin"),eJ[93]=e5,eJ[94]=F):F=eJ[94],eJ[95]!==F?(B=(0,d.jsx)("option",{value:"margin",children:F}),eJ[95]=F,eJ[96]=B):B=eJ[96],eJ[97]!==e5?($=e5("dialogs.imagePosition.relativeOptions.character"),eJ[97]=e5,eJ[98]=$):$=eJ[98],eJ[99]!==$?(L=(0,d.jsx)("option",{value:"character",children:$}),eJ[99]=$,eJ[100]=L):L=eJ[100],eJ[101]!==tM.hRelativeTo||eJ[102]!==e8||eJ[103]!==_||eJ[104]!==M||eJ[105]!==B||eJ[106]!==L?(A=(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tL,value:e8,onChange:S,children:[_,M,B,L]}),eJ[101]=tM.hRelativeTo,eJ[102]=e8,eJ[103]=_,eJ[104]=M,eJ[105]=B,eJ[106]=L,eJ[107]=A):A=eJ[107],eJ[108]!==w||eJ[109]!==A?(z=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[w,A]}),eJ[108]=w,eJ[109]=A,eJ[110]=z):z=eJ[110],eJ[111]!==m||eJ[112]!==O||eJ[113]!==T||eJ[114]!==z?(E=(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[m,O,T,z]}),eJ[111]=m,eJ[112]=O,eJ[113]=T,eJ[114]=z,eJ[115]=E):E=eJ[115],eJ[116]!==e5?(D=e5("dialogs.imagePosition.vertical"),eJ[116]=e5,eJ[117]=D):D=eJ[117],eJ[118]!==D?(I=(0,d.jsx)("div",{className:"text-foreground text-[13px] font-semibold",children:D}),eJ[118]=D,eJ[119]=I):I=eJ[119];let tA=tM.vMode;eJ[120]!==e5?(q=e5("dialogs.imagePosition.position"),eJ[120]=e5,eJ[121]=q):q=eJ[121],eJ[122]!==tM.vMode||eJ[123]!==q?(G=(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tA,children:q}),eJ[122]=tM.vMode,eJ[123]=q,eJ[124]=G):G=eJ[124];let tz=tM.vMode;eJ[125]===Symbol.for("react.memo_cache_sentinel")?(H=e=>ts(e.target.value),eJ[125]=H):H=eJ[125],eJ[126]!==e5?(J=e5("dialogs.imagePosition.alignment"),eJ[126]=e5,eJ[127]=J):J=eJ[127],eJ[128]!==J?(K=(0,d.jsx)("option",{value:"align",children:J}),eJ[128]=J,eJ[129]=K):K=eJ[129],eJ[130]!==e5?(Q=e5("dialogs.imagePosition.offset"),eJ[130]=e5,eJ[131]=Q):Q=eJ[131],eJ[132]!==Q?(U=(0,d.jsx)("option",{value:"offset",children:Q}),eJ[132]=Q,eJ[133]=U):U=eJ[133],eJ[134]!==tM.vMode||eJ[135]!==K||eJ[136]!==U||eJ[137]!==ti?(V=(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tz,value:ti,onChange:H,children:[K,U]}),eJ[134]=tM.vMode,eJ[135]=K,eJ[136]=U,eJ[137]=ti,eJ[138]=V):V=eJ[138],eJ[139]!==G||eJ[140]!==V?(W=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[G,V]}),eJ[139]=G,eJ[140]=V,eJ[141]=W):W=eJ[141],eJ[142]!==tM.vAlign||eJ[143]!==tM.vOffset||eJ[144]!==e5||eJ[145]!==tn||eJ[146]!==ti||eJ[147]!==td?(X="align"===ti?(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tM.vAlign,children:e5("dialogs.imagePosition.align")}),(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.vAlign,value:tn,onChange:e=>tl(e.target.value),children:[(0,d.jsx)("option",{value:"top",children:e5("dialogs.imagePosition.alignOptions.top")}),(0,d.jsx)("option",{value:"center",children:e5("dialogs.imagePosition.alignOptions.center")}),(0,d.jsx)("option",{value:"bottom",children:e5("dialogs.imagePosition.alignOptions.bottom")})]})]}):(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tM.vOffset,children:e5("dialogs.imagePosition.offsetPx")}),(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.vOffset,type:"number",value:td,onChange:e=>tg(Number(e.target.value)||0)})]}),eJ[142]=tM.vAlign,eJ[143]=tM.vOffset,eJ[144]=e5,eJ[145]=tn,eJ[146]=ti,eJ[147]=td,eJ[148]=X):X=eJ[148];let tE=tM.vRelativeTo;eJ[149]!==e5?(Y=e5("dialogs.imagePosition.relativeTo"),eJ[149]=e5,eJ[150]=Y):Y=eJ[150],eJ[151]!==tM.vRelativeTo||eJ[152]!==Y?(Z=(0,d.jsx)("label",{className:"w-[75px] text-muted-foreground text-xs",htmlFor:tE,children:Y}),eJ[151]=tM.vRelativeTo,eJ[152]=Y,eJ[153]=Z):Z=eJ[153];let tD=tM.vRelativeTo;eJ[154]===Symbol.for("react.memo_cache_sentinel")?(ee=e=>tr(e.target.value),eJ[154]=ee):ee=eJ[154],eJ[155]!==e5?(et=e5("dialogs.imagePosition.relativeOptions.page"),eJ[155]=e5,eJ[156]=et):et=eJ[156],eJ[157]!==et?(eo=(0,d.jsx)("option",{value:"page",children:et}),eJ[157]=et,eJ[158]=eo):eo=eJ[158],eJ[159]!==e5?(ei=e5("dialogs.imagePosition.relativeOptions.margin"),eJ[159]=e5,eJ[160]=ei):ei=eJ[160],eJ[161]!==ei?(es=(0,d.jsx)("option",{value:"margin",children:ei}),eJ[161]=ei,eJ[162]=es):es=eJ[162],eJ[163]!==e5?(en=e5("dialogs.imagePosition.relativeOptions.paragraph"),eJ[163]=e5,eJ[164]=en):en=eJ[164],eJ[165]!==en?(el=(0,d.jsx)("option",{value:"paragraph",children:en}),eJ[165]=en,eJ[166]=el):el=eJ[166],eJ[167]!==e5?(ea=e5("dialogs.imagePosition.relativeOptions.line"),eJ[167]=e5,eJ[168]=ea):ea=eJ[168],eJ[169]!==ea?(er=(0,d.jsx)("option",{value:"line",children:ea}),eJ[169]=ea,eJ[170]=er):er=eJ[170],eJ[171]!==tM.vRelativeTo||eJ[172]!==eo||eJ[173]!==es||eJ[174]!==el||eJ[175]!==er||eJ[176]!==ta?(ed=(0,d.jsxs)("select",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tD,value:ta,onChange:ee,children:[eo,es,el,er]}),eJ[171]=tM.vRelativeTo,eJ[172]=eo,eJ[173]=es,eJ[174]=el,eJ[175]=er,eJ[176
1]=ta,eJ[177]=ed):ed=eJ[177],eJ[178]!==Z||eJ[179]!==ed?(eg=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[Z,ed]}),eJ[178]=Z,eJ[179]=ed,eJ[180]=eg):eg=eJ[180],eJ[181]!==I||eJ[182]!==W||eJ[183]!==X||eJ[184]!==eg?(ex=(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[I,W,X,eg]}),eJ[181]=I,eJ[182]=W,eJ[183]=X,eJ[184]=eg,eJ[185]=ex):ex=eJ[185],eJ[186]!==e5?(eu=e5("dialogs.imagePosition.distanceFromText"),eJ[186]=e5,eJ[187]=eu):eu=eJ[187],eJ[188]!==eu?(ec=(0,d.jsx)("div",{className:"text-foreground text-[13px] font-semibold",children:eu}),eJ[188]=eu,eJ[189]=ec):ec=eJ[189];let tI=tM.distTop;eJ[190]!==e5?(ep=e5("dialogs.imagePosition.alignOptions.top"),eJ[190]=e5,eJ[191]=ep):ep=eJ[191],eJ[192]!==tM.distTop||eJ[193]!==ep?(em=(0,d.jsx)("label",{className:"w-[45px] text-muted-foreground text-xs",htmlFor:tI,children:ep}),eJ[192]=tM.distTop,eJ[193]=ep,eJ[194]=em):em=eJ[194],eJ[195]===Symbol.for("react.memo_cache_sentinel")?(ef=e=>tu(Number(e.target.value)||0),eJ[195]=ef):ef=eJ[195],eJ[196]!==tx||eJ[197]!==tM.distTop?(eh=(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.distTop,min:0,type:"number",value:tx,onChange:ef}),eJ[196]=tx,eJ[197]=tM.distTop,eJ[198]=eh):eh=eJ[198],eJ[199]!==em||eJ[200]!==eh?(ev=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[em,eh]}),eJ[199]=em,eJ[200]=eh,eJ[201]=ev):ev=eJ[201];let tq=tM.distBottom;eJ[202]!==e5?(eb=e5("dialogs.imagePosition.alignOptions.bottom"),eJ[202]=e5,eJ[203]=eb):eb=eJ[203],eJ[204]!==tM.distBottom||eJ[205]!==eb?(ej=(0,d.jsx)("label",{className:"w-[45px] text-muted-foreground text-xs",htmlFor:tq,children:eb}),eJ[204]=tM.distBottom,eJ[205]=eb,eJ[206]=ej):ej=eJ[206],eJ[207]===Symbol.for("react.memo_cache_sentinel")?(eN=e=>tp(Number(e.target.value)||0),eJ[207]=eN):eN=eJ[207],eJ[208]!==tc||eJ[209]!==tM.distBottom?(ey=(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.distBottom,min:0,type:"number",value:tc,onChange:eN}),eJ[208]=tc,eJ[209]=tM.distBottom,eJ[210]=ey):ey=eJ[210],eJ[211]!==ej||eJ[212]!==ey?(eP=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[ej,ey]}),eJ[211]=ej,eJ[212]=ey,eJ[213]=eP):eP=eJ[213];let tG=tM.distLeft;eJ[214]!==e5?(eO=e5("dialogs.imagePosition.alignOptions.left"),eJ[214]=e5,eJ[215]=eO):eO=eJ[215],eJ[216]!==tM.distLeft||eJ[217]!==eO?(eT=(0,d.jsx)("label",{className:"w-[45px] text-muted-foreground text-xs",htmlFor:tG,children:eO}),eJ[216]=tM.distLeft,eJ[217]=eO,eJ[218]=eT):eT=eJ[218],eJ[219]===Symbol.for("react.memo_cache_sentinel")?(eR=e=>tf(Number(e.target.value)||0),eJ[219]=eR):eR=eJ[219],eJ[220]!==tm||eJ[221]!==tM.distLeft?(ew=(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.distLeft,min:0,type:"number",value:tm,onChange:eR}),eJ[220]=tm,eJ[221]=tM.distLeft,eJ[222]=ew):ew=eJ[222],eJ[223]!==eT||eJ[224]!==ew?(eS=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[eT,ew]}),eJ[223]=eT,eJ[224]=ew,eJ[225]=eS):eS=eJ[225];let tH=tM.distRight;return eJ[226]!==e5?(ek=e5("dialogs.imagePosition.alignOptions.right"),eJ[226]=e5,eJ[227]=ek):ek=eJ[227],eJ[228]!==tM.distRight||eJ[229]!==ek?(e_=(0,d.jsx)("label",{className:"w-[45px] text-muted-foreground text-xs",htmlFor:tH,children:ek}),eJ[228]=tM.distRight,eJ[229]=ek,eJ[230]=e_):e_=eJ[230],eJ[231]===Symbol.for("react.memo_cache_sentinel")?(eC=e=>tv(Number(e.target.value)||0),eJ[231]=eC):eC=eJ[231],eJ[232]!==th||eJ[233]!==tM.distRight?(eM=(0,d.jsx)("input",{className:"border-input bg-background text-foreground flex-1 rounded border px-1.5 py-1 text-xs outline-none",id:tM.distRight,min:0,type:"number",value:th,onChange:eC}),eJ[232]=th,eJ[233]=tM.distRight,eJ[234]=eM):eM=eJ[234],eJ[235]!==e_||eJ[236]!==eM?(eF=(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[e_,eM]}),eJ[235]=e_,eJ[236]=eM,eJ[237]=eF):eF=eJ[237],eJ[238]!==eF||eJ[239]!==ev||eJ[240]!==eP||eJ[241]!==eS?(eB=(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[ev,eP,eS,eF]}),eJ[238]=eF,eJ[239]=ev,eJ[240]=eP,eJ[241]=eS,eJ[242]=eB):eB=eJ[242],eJ[243]!==eB||eJ[244]!==ec?(e$=(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[ec,eB]}),eJ[243]=eB,eJ[244]=ec,eJ[245]=e$):e$=eJ[245],eJ[246]!==e$||eJ[247]!==E||eJ[248]!==ex?(eL=(0,d.jsxs)("div",{className:"flex flex-col gap-4 px-5 py-4",children:[E,ex,e$]}),eJ[246]=e$,eJ[247]=E,eJ[248]=ex,eJ[249]=eL):eL=eJ[249],eJ[250]!==e5?(eA=e5("common.cancel"),eJ[250]=e5,eJ[251]=eA):eA=eJ[251],eJ[252]!==e2||eJ[253]!==eA?(ez=(0,d.jsx)(e2,{className:"border-input rounded border px-4 py-1.5 text-[13px]",children:eA}),eJ[252]=e2,eJ[253]=eA,eJ[254]=ez):ez=eJ[254],eJ[255]!==e5?(eE=e5("common.apply"),eJ[255]=e5,eJ[256]=eE):eE=eJ[256],eJ[257]!==tb||eJ[258]!==eE?(eD=(0,d.jsx)("button",{className:"bg-primary text-primary-foreground rounded px-4 py-1.5 text-[13px] font-medium",onClick:tb,type:"button",children:eE}),eJ[257]=tb,eJ[258]=eE,eJ[259]=eD):eD=eJ[259],eJ[260]!==ez||eJ[261]!==eD?(eI=(0,d.jsxs)("div",{className:"flex justify-end gap-2 border-t px-5 py-3",children:[ez,eD]}),eJ[260]=ez,eJ[261]=eD,eJ[262]=eI):eI=eJ[262],eJ[263]!==eZ||eJ[264]!==eL||eJ[265]!==eI||eJ[266]!==c?(eq=(0,d.jsxs)(eZ,{className:"bg-popover fixed start-1/2 top-1/2 z-[10001] w-full max-w-[480px] min-w-[400px] -translate-x-1/2 -translate-y-1/2 roun
1ded-lg border shadow-xl",children:[c,eL,eI]}),eJ[263]=eZ,eJ[264]=eL,eJ[265]=eI,eJ[266]=c,eJ[267]=eq):eq=eJ[267],eJ[268]!==eX||eJ[269]!==eq||eJ[270]!==x?(eG=(0,d.jsxs)(eX,{children:[x,eq]}),eJ[268]=eX,eJ[269]=eq,eJ[270]=x,eJ[271]=eG):eG=eJ[271],eJ[272]!==eW||eJ[273]!==e0||eJ[274]!==eK||eJ[275]!==eG?(eH=(0,d.jsx)(eW,{open:eK,onOpenChange:e0,children:eG}),eJ[272]=eW,eJ[273]=e0,eJ[274]=eK,eJ[275]=eG,eJ[276]=eH):eH=eJ[276],eH}},10040:function(e,t,o){o.d(t,{c:function(){return x},i:function(){return g},l:function(){return a},n:function(){return r},o:function(){return l},r:function(){return d},s:function(){return u},t:function(){return n},u:function(){return s}});var i=o(73965);function s(e){let t;let o=(0,i.c)(2);return o[0]!==e?(t=t=>{t||e()},o[0]=e,o[1]=t):t=o[1],t}o(2265);let n="fixed inset-0 z-[10000] bg-black/50",l="bg-popover fixed start-1/2 top-1/2 z-[10001] w-full max-w-[520px] min-w-[360px] -translate-x-1/2 -translate-y-1/2 rounded-lg border shadow-xl",a="border-b px-5 py-3 text-base font-semibold",r="flex flex-col gap-4 px-5 py-4",d="flex justify-end gap-2 border-t px-5 py-3",g="border-input bg-background text-foreground rounded border px-2 py-1.5 text-[13px] outline-none",x="border-input rounded border px-4 py-1.5 text-[13px]",u="bg-primary text-primary-foreground rounded px-4 py-1.5 text-[13px] font-medium disabled:cursor-not-allowed disabled:opacity-50"},6702:function(e,t,o){o.d(t,{t:function(){return s}});var i=Object.defineProperty;Object.prototype.hasOwnProperty;var s=(e,t)=>{let o={};for(var s in e)i(o,s,{get:e[s],enumerable:!0});return t||i(o,Symbol.toStringTag,{value:"Module"}),o}}}]); 2//# chunkId=01a1031d-ec8f-71a2-98f5-074ed48a6330
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.